]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix implicit declaration
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a849e800
AS
12014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2
3 * nscd/nscd-client.h: Include <string.h>.
4
5331255b
DM
52014-05-01 David S. Miller <davem@davemloft.net>
6
7 [BZ #16885]
8 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9 multiple zero bytes exist at the end of a string.
10 Reported by Aurelien Jarno <aurelien@aurel32.net>
11
12 * string/test-strcmp.c (check): Add explicit test for situations where
13 there are multiple zero bytes after the first.
14
4fdfe821
AS
152014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16
17 [BZ #16890]
18 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19 when compiling wprintf.
20 * stdio-common/tstdiomisc.c (t3): New function.
21 (main): Call it.
22
0cdddc25
SE
232014-05-01 Steve Ellcey <sellcey@mips.com>
24
25 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
26 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
27 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29
6426d77e
SE
302014-05-01 Steve Ellcey <sellcey@mips.com>
31
32 * stdlib/longlong.h: Updated from GCC.
33
6d96f5e4
WN
342014-05-01 Will Newton <will.newton@linaro.org>
35 Bernard Ogden <bernie.ogden@linaro.org>
36
7470db0c
WN
37 * NEWS: Update fixed bug list.
38
6d96f5e4
WN
39 [BZ #15119]
40 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41
211d653c
DM
422014-04-30 David S. Miller <davem@davemloft.net>
43
4fa262fa
DM
44 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
45 (libc_feholdexcept_setround_sparc_ctx): New function.
46 (libc_fesetenv_sparc_ctx): Likewise.
47 (libc_feupdateenv_sparc_ctx): Likewise.
48 (libc_feholdsetround_sparc_ctx): Likewise.
49 (libc_feholdexcept_setround_ctx): Define.
50 (libc_feholdexcept_setroundf_ctx): Likewise.
51 (libc_feholdexcept_setroundl_ctx): Likewise.
52 (libc_fesetenv_ctx): Likewise.
53 (libc_fesetenvf_ctx): Likewise.
54 (libc_fesetenvl_ctx): Likewise.
55 (libc_feupdateenv_ctx): Likewise.
56 (libc_feupdateenvf_ctx): Likewise.
57 (libc_feupdateenvl_ctx): Likewise.
58 (libc_feresetround_ctx): Likewise.
59 (libc_feresetroundf_ctx): Likewise.
60 (libc_feresetroundl_ctx): Likewise.
61 (libc_feholdsetround_ctx): Likewise.
62 (libc_feholdsetroundf_ctx): Likewise.
63 (libc_feholdsetroundl_ctx): Likewise.
64
1d3d93ef
DM
65 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
66 with __USE_GNU instead of XOPEN cpp guards.
67
8aa583c3
DM
68 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
69 0.
70
211d653c
DM
71 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
72 with XOPEN cpp guards.
73
60c8f1f6
JB
742014-04-30 Julian Brown <julian@codesourcery.com>
75
76 [BZ #16888]
77 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
78 handling.
79
9a461d46
JM
802014-04-30 Joseph Myers <joseph@codesourcery.com>
81
d0f5b3f8
JM
82 [BZ #9894]
83 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
84 Change to 2.6.32.
85 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
86 * sysdeps/unix/sysv/linux/configure: Regenerated.
87 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
88 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
89 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
90 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
91 * README: Update reference to required Linux kernel version.
92 * manual/install.texi (Linux): Update reference to required Linux
93 kernel headers version.
94 * INSTALL: Regenerated.
95
9a461d46
JM
96 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
97 header inclusion.
98 [POSIX] (limits.h): Likewise.
99 [POSIX] (math.h): Likewise.
100 [POSIX] (sys/wait.h): Likewise.
101 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
102 function.
103 [POSIX] (stddef.h): Do not allow header inclusion.
104
1775babf
AZ
1052014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
106
57f41c40 107 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 108
8f630cca
YY
1092014-04-30 Yang Yingliang <yangyingliang@huawei.com>
110
111 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
112 Return immediately after lll_futex_wake.
113
1cdeb237
SP
1142014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
115
bc8f194c
SP
116 [BZ #16791]
117 * nscd/nscd-client.h (datahead_init_common): Initialize entire
118 structure.
119 (datahead_init_pos): Call datahead_init_common early.
120 (datahead_init_neg): Likewise.
121
1cdeb237
SP
122 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
123 datahead_init_neg): New functions.
124 * nscd/aicache.c (addhstaiX): Use them.
125 * nscd/grpcache.c (cache_addgr): Likewise.
126 * nscd/hstcache.c (cache_addhst): Likewise.
127 * nscd/initgrcache.c (addinitgroupsX): Likewise.
128 * nscd/netgroupcache.c (do_notfound): Likewise.
129 (addgetnetgrentX): Likewise.
130 (addinnetgrX): Likewise.
131 * nscd/pwdcache.c (cache_addpw): Likewise.
132 * nscd/servicescache.c (cache_addserv): Likewise.
133
16b293a7
SP
1342014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
135 Atsushi Onoe <atsushi@onoe.org>
136
137 [BZ #14308]
138 [BZ #12994]
139 [BZ #13651]
140 * resolv/res_query.c (__libc_res_nsearch): Return if at least
141 one response is valid.
142 * resolv/res_send.c (send_dg): Check for validity of other
143 response if the current response is a referral.
144
a28a9b94
SE
1452014-04-29 Steve Ellcey <sellcey@mips.com>
146
147 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
148
2ca180e9
SL
1492014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
150
151 [BZ #16823]
152 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
153 Always divide by positive zero when computing -Inf result.
154 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
155 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
156
18f2945a
AZ
1572014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
158
159 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
160 FPSCR if value do not change.
161 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
162 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
163 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
164 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
165 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
166 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
167 function.
168
5abebba4
CD
1692014-05-29 Carlos O'Donell <carlos@systemhalted.org>
170
171 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
172 * sysdeps/unix/sysv/linux/hppa: Move directory from
173 ports/systeps/unix/sysv/linux/hppa.
174 * README: Update listing for hppa-*-linux-gnu.
175
f7ed60c2
OB
1762014-04-28 Ondřej Bílka <neleai@seznam.cz>
177
fff763a5
OB
178 [BZ #16754]
179 * manual/stdio.texi (Hook functions): Fix types of stream hook
180 functions.
f7ed60c2
OB
181 [BZ #16854]
182 * socket/sys/socket.h: Fix typo in comment.
183
df639d73
WD
1842014-04-28 Wilco <wdijkstr@arm.com>
185
f7ed60c2 186 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
187 * sysdeps/arm/math_private.h: New file.
188 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
189
48332d82
L
1902014-04-25 H.J. Lu <hongjiu.lu@intel.com>
191
192 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
193 with __int128_t.
194 (La_x86_64_retval): Likewise.
195
e5e0d9a4
IB
1962014-04-24 Ian Bolton <ian.bolton@arm.com>
197
198 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
199 fpsr if value didn't change.
200 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
201 to fpcr if value didn't change.
202 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
203 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
204 fpsr or fpcr if value didn't change.
205 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
206 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
207 fpcr if value didn't change.
208 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
209 to fpsr if value didn't change.
210
bacc75f7
SP
2112014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
212
213 * nptl/tst-sem3.c: Use test-skeleton.c
214 (main): Rename to do_test. Use return instead of
215 exit.
216 * nptl/tst-sem4.c: Use test-skeleton.c
217 (main): Rename to do_test.
218
a059d359
DM
2192014-04-22 David S. Miller <davem@davemloft.net>
220
221 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
222 (struct sigaction): New struct member __glibc_reserved0, change
223 type of sa_flags to int.
224
ea6c92f3
YZ
2252014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
226
227 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
228 (COUNT_LEADING_ZEROS_0): Define for AArch64.
229
766c4a36
SP
2302014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
231
232 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
233 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
234
140cc7ab
VK
2352014-04-22 Will Newton <will.newton@linaro.org>
236 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
237
238 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
239 (__longjmp): Add longjmp and longjmp_target SystemTap
240 probes.
241 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
242 (__sigsetjmp): Add setjmp SystemTap probe.
243
c54e5cf7
CD
2442014-04-17 Carlos O'Donell <carlos@redhat.com>
245
246 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
247 match manual order.
248
75ffb047
AZ
2492014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
250
251 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
252
2cd925f7
AZ
253 * sysdeps/powerpc/fpu/fenv_private.h
254 (libc_feholdexcept_setroundl_ctx): Define to
255 libc_feholdexcept_setround_ppc_ctx.
256 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
257 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
258 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
259 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
260
39e6cd8d
IB
2612014-04-17 Ian Bolton <ian.bolton@arm.com>
262
263 * sysdeps/aarch64/math-tests.h: New file.
264
f9281df9
SY
2652014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
266
267 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
268 New.
269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
270 Check and set bit_AVX2_Usable.
271 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
272 macro.
273 (bit_AVX2): Likewise.
274 (index_AVX2_Usable): Likewise.
275 (CPUID_AVX2): Likewise.
276 (HAS_AVX2): Likewise.
277
37d35007
WN
2782014-04-17 Will Newton <will.newton@linaro.org>
279
7c677662
WN
280 * manual/setjmp.texi (System V contexts): Add note that
281 calling setcontext on a context created by a call to a
282 signal handler is undefined. Update text to note that
283 setcontext from a signal handler is possible but not
284 recommended.
285
37d35007 286 [BZ #16629]
e04a4e9d
WN
287 * stdlib/tst-setcontext.c: Include signal.h.
288 (main): Check that the signal stack before and
289 after swapcontext is the same.
290
37d35007
WN
291 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
292 Re-implement to restore registers in user code and avoid
293 rt_sigreturn system call.
294
423a7160
W
2952014-04-17 Wilco <wdijkstr@arm.com>
296
297 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
298 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
299 * math/test-fenv.c: Skip exception trap tests on targets which only
300 support non-stop mode.
301
bc93ab29
IB
3022014-04-17 Ian Bolton <ian.bolton@arm.com>
303 Wilco Dijkstra <wilco.dijkstra@arm.com>
304
305 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
306 (libc_feholdsetround_aarch64_ctx)
307 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
308 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
309 (libc_feresetround_ctx, libc_feresetroundf_ctx)
310 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
311 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
312 (libc_feresetround_noexl_ctx): Define.
313
95fc5fa3
RH
3142014-04-16 Richard Henderson <rth@redhat.com>
315
ddb04724
RH
316 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
317
d77c0899
RH
318 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
319 unwind tables.
320
a3df56fc
RH
321 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
322 const from the non-libc, non-ldso copy.
323
95fc5fa3
RH
324 * sysdeps/alpha/libm-test-ulps: Regenerate.
325
7e0b6763
IB
3262014-04-16 Ian Bolton <ian.bolton@arm.com>
327 Wilco Dijkstra <wilco.dijkstra@arm.com>
328
329 * sysdeps/aarch64/fpu/math_private.h: New file.
330
a9ea2e0c
MS
3312014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
332
333 * sysdeps/aarch64/libm-test-ulps: Regenerate.
334
ea8ba7cd
IZ
3352014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
336
337 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
338 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
339 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
340 Intel MPX bound registers before _dl_profile_fixup.
341 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
342 registers after _dl_profile_fixup. Save and restore bound
343 registers bnd0/bnd1 when calling _dl_call_pltexit.
344 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
345 (LR_BND_OFFSET): Likewise.
346 (LRV_BND0_OFFSET): Likewise.
347 (LRV_BND1_OFFSET): Likewise.
348
9f2a4fbc
ST
3492014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
350
351 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
352 to...
353 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
354 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
355 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
356 fields.
9f2a4fbc 357
fd15a59b
ST
3582014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
359
360 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
361
f19dfa0a
SL
3622014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
363
364 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
365
4fa8bc3b
SL
3662014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
367
368 [BZ #14770]
369 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
370 * sysdeps/s390/configure: Regenerate.
371
8ea587db
SL
372 [BZ #16824]
373 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
374 Set round-to-nearest internally to reduce error accumulation.
375
aa5f0ff1
AM
3762014-04-16 Alan Modra <amodra@gmail.com>
377
378 [BZ #16740]
379 [BZ #16619]
380 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
381 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 382 * NEWS: Update fixed bug list.
aa5f0ff1 383
bb9c256f
SP
3842014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
385
386 * benchtests/Makefile: Depend on libraries in build directory.
387 (bench-math): Separate out math tests.
388 (bench-pthread): Separate out pthread tests.
389 (bench): Include math and pthread tests.
390
f737dfd0
CD
3912014-04-14 Carlos O'Donell <carlos@redhat.com>
392
393 [BZ #16831]
394 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
395 _dl_debug_initialize.
396
0699f766
CD
397 * configure.ac: Remove SELinux header check.
398 * configure: Regenerate.
399 * nscd/selinux.c (perms): Array of const char* to permission names.
400 (nscd_request_avc_has_perm): Call security_deny_unknown to find
401 default policy. Call string_to_security_class and string_to_av_perm to
402 translate strings. Enforce default policy and call avs_has_perm with
403 results of translated strings.
404
809bd45f
DM
4052014-04-13 David S. Miller <davem@davemloft.net>
406
407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
408
89e691f2
AM
4092014-04-12 Allan McRae <allan@archlinux.org>
410
411 [BZ #16838]
412 * manual/string.texi (Collation Functions): Fix qsort argument
413 order in example.
414 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
415
9c9daaeb
CM
4162014-04-11 Chris Metcalf <cmetcalf@tilera.com>
417
418 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
419 Make the test a no-op if there are no exceptions defined.
420
95561fb9
PP
4212014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
422
fe8d072c 423 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
424 enable-hardcoded-path-in-tests
425
970c602a
WN
4262014-04-11 Will Newton <will.newton@linaro.org>
427
428 * benchtests/Makefile (extra-objs): Add json-lib.o.
429 (bench-func): Tidy up JSON output.
430 * benchtests/bench-skeleton.c: Include json-lib.h.
431 (main): Use JSON library functions to do output of
432 benchmark results.
433 * benchtests/bench-timing-type.c (main): Output the
434 timing type simply, leaving formatting to the user.
435 * benchtests/json-lib.c: New file.
436 * benchtests/json-lib.h: Likewise.
437
36875b06
TR
4382014-04-11 Torvald Riegel <triegel@redhat.com>
439
440 [BZ #15215]
441 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
442 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
443 memory barriers. Add comments.
444 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
445 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
446 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
447 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
448 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
449 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
450
579db35a
SL
4512014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
452
453 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
454 * sysdeps/s390/s390-64/configure.ac: ... this ...
455 * sysdeps/s390/configure.ac: ... to here.
456 * sysdeps/s390/s390-32/configure: Delete file.
457 * sysdeps/s390/s390-64/configure: Delete file.
458 * sysdeps/s390/configure: Regenerate.
459
c12e9f37
JAPH
4602014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
461
462 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
463
439bda32
WN
4642014-04-11 Will Newton <will.newton@linaro.org>
465
466 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
467 to zero if it is not defined elsewhere. (mtrim): Test
468 the value of MALLOC_DEBUG with #if rather than #ifdef.
469
6a5d6ea1
TR
4702014-04-10 Torvald Riegel <triegel@redhat.com>
471
472 * benchtests/pthread_once-inputs: New file.
473 * benchtests/pthread_once-source.c: New file.
474 * benchtests/README: Update documentation.
475
a4c75cfd
IZ
4762014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
477 H.J. Lu <hongjiu.lu@intel.com>
478
479 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
480 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
481 * sysdeps/x86_64/configure: Regenerated.
482 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
483 macro.
484 (REGISTER_SAVE_RAX): Likewise.
485 (REGISTER_SAVE_RCX): Likewise.
486 (REGISTER_SAVE_RDX): Likewise.
487 (REGISTER_SAVE_RSI): Likewise.
488 (REGISTER_SAVE_RDI): Likewise.
489 (REGISTER_SAVE_R8): Likewise.
490 (REGISTER_SAVE_R9): Likewise.
491 (REGISTER_SAVE_BND0): Likewise.
492 (REGISTER_SAVE_BND1): Likewise.
493 (REGISTER_SAVE_BND2): Likewise.
494 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
495 bound registers when calling _dl_fixup.
496
27822ce6
AZ
4972014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
498
499 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
500 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
501 of its definition.
27822ce6
AZ
502 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
503 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
504 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
505 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
506 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
507 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
508 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
509
a88ddc90
PTB
5102014-04-09 Peter Brett <peter@peter-b.co.uk>
511
512 [BZ #15514]
513 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
514 pathconf(_PC_NAME_MAX).
515
01f8eac2
AZ
5162014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
517
518 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
519 Remove macro usage.
520 (__PTHREAD_SPINS): Move definition to ...
521 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
522 (__PTHREAD_SPINS): ... here.
523 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
524 (__PTHREAD_SPIN): Likewise.
525 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
526 (__PTHREAD_SPIN): Likewise.
527 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
528 (__PTHREAD_SPIN): Likewise.
529 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
530 (__PTHREAD_SPIN): Likewise.
531 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
532 (__PTHREAD_SPIN): Likewise.
533 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
534 (__PTHREAD_SPIN): Likewise.
535 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
536 (__PTHREAD_SPIN): Likewise.
537 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
538 (__PTHREAD_SPIN): Likewise.
539 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
540 (__PTHREAD_SPIN): Likewise.
541 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
542 (__PTHREAD_SPIN): Likewise.
543 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
544 (__PTHREAD_SPIN): Likewise.
545 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
546 (__PTHREAD_SPIN): Likewise.
547
de21c33c
AZ
548 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
549 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
550 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
551 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
552 imply folder.
553 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
554 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
555 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
556 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
557 correct imply path.
558 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
559 strlen symbol for non multi-arch builds.
560 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
561 missing hidden_def and weak_alias.
562
862c472e
CD
5632014-04-08 Carlos O'Donell <carlos@redhat.com>
564
565 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
566
8667f90e
WN
5672014-04-07 Will Newton <will.newton@linaro.org>
568
569 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
570 and contents. [!_LIBC] Remove #ifndef and contents.
571 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
572 * string/memccpy.c (__memccpy): Use ANSI prototype.
573 * string/memfrob.c (memfrob): Likewise.
574 * string/strcoll.c (STRCOLL): Likewise.
575 * string/strlen.c (strlen): Likewise.
576 * string/strtok.c (STRTOK): Likewise.
577 * string/strcat.c: Remove unused #include of memcopy.h.
578 (strcat): Use ANSI prototype.
579 * string/strchr.c: Remove unused #include of memcopy.h.
580 (strchr): Use ANSI prototype.
581 * string/strcmp.c: Remove unused #include of memcopy.h.
582 (strcmp): Use ANSI prototype.
583 * string/strcpy.c: Remove unused #include of memcopy.h.
584 (strcpy): Use ANSI prototype.
585
7ffa9423
AZ
5862014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
587
588 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
589 * config.make.in (config-extra-cppflags): Set it from
590 libc_extra_cppflags.
591 * configure.ac (libc_extra_cflags): Make it accumulate over
592 configure fragments.
593 (libc_extra_cppflags): New flag.
594 * configure. Regenerate.
595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
596 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
597 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
599
8bd70862
AZ
600 [BZ #16815]
601 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
602 result for FE_DOWNWARD rounding mode.
603 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
604 Likewise.
605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
606
d42f3448
CM
6072014-04-04 Chris Metcalf <cmetcalf@tilera.com>
608
609 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
610 in function argument name.
611
1c21d115
DS
6122014-04-03 David Svoboda <svoboda@cert.org>
613
614 [BZ #5666]
615 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
616 explicitly.
617
fcccd512
RM
6182014-04-03 Roland McGrath <roland@hack.frob.com>
619
620 * elf/dl-unmap-segments.h: New file.
621 * sysdeps/generic/ldsodefs.h
622 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
623 * elf/dl-close.c: Include <dl-unmap-segments.h>.
624 * elf/dl-fptr.c: Likewise.
625 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
626 * sysdeps/aarch64/tlsdesc.c: Likewise.
627 * sysdeps/arm/tlsdesc.c: Likewise.
628 * sysdeps/i386/tlsdesc.c: Likewise.
629 * sysdeps/tile/dl-runtime.c: Likewise.
630 * sysdeps/x86_64/tlsdesc.c: Likewise.
631 * elf/dl-load.h: New file.
632 * elf/dl-load.c: Include it.
633 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
634 Macros moved to dl-load.h.
635 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
636 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
637 Use _dl_unmap_segments in place of __munmap.
638 Break out segment-mapping loop into ...
639 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
640
f6488e2b
WN
6412014-04-03 Will Newton <will.newton@linaro.org>
642
643 * elf/dl-lookup.c (do_lookup_x): Remove comment
644 referring to nested function and move variable
645 declarations down to before first use.
646
6f05bafe
JM
6472014-04-02 Joseph Myers <joseph@codesourcery.com>
648
a84e78c8
JM
649 [BZ #16799]
650 [BZ #16800]
651 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
652 with 0 numerator.
653 * math/s_catanf.c (__catanf): Likewise.
654 * math/s_catanh.c (__catanh): Likewise.
655 * math/s_catanhf.c (__catanhf): Likewise.
656 * math/s_catanhl.c (__catanhl): Likewise.
657 * math/s_catanl.c (__catanl): Likewise.
658 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
659 by positive zero when computing -Inf result.
660 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
661 (catanh_test): Likewise.
662 * sysdeps/i386/fpu/libm-test-ulps: Update.
663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
664
6f05bafe
JM
665 [BZ #16789]
666 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
667 instead of using underflowing value in computing result.
668 * math/s_clog10.c (__clog10): Likewise.
669 * math/s_clog10f.c (__clog10f): Likewise.
670 * math/s_clog10l.c (__clog10l): Likewise.
671 * math/s_clogf.c (__clogf): Likewise.
672 * math/s_clogl.c (__clogl): Likewise.
673 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
674 (clog10_test): Likewise.
675 * sysdeps/i386/fpu/libm-test-ulps: Update.
676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
677
b0abbc21
AM
6782014-04-02 Alan Modra <amodra@gmail.com>
679
680 [BZ #16739]
681 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
682 output when value is near a power of two. Use int64_t for lx and
683 remove casts. Use decimal rather than hex exponent constants.
684 Don't use long double multiplication when double will suffice.
685 * math/libm-test.inc (nextafter_test_data): Add tests.
686 * NEWS: Add 16739 and 16786 to bug list.
687
af6b1797
AM
688 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
689
483818d7
AM
690 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
691
f6c55796
WN
6922014-04-01 Will Newton <will.newton@linaro.org>
693
694 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
695 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
696
13f7fe35
FW
6972014-04-01 Florian Weimer <fweimer@redhat.com>
698
699 [BZ #13347]
700 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
701 * nptl/tst-setuid2.c: New file.
702 * nptl/Makefile (xtests): Add tst-setuid2.
703
c859b32e
AM
7042014-04-01 Alan Modra <amodra@gmail.com>
705
706 [BZ #16786]
707 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
708
54fa2475
JM
7092014-03-31 Joseph Myers <joseph@codesourcery.com>
710
8795b4a4
JM
711 [BZ #6803]
712 [BZ #6804]
713 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
714 set errno as appropriate.
715 * math/w_scalbf.c (__scalbf): Likewise.
716 * math/w_scalbl.c (__scalbl): Likewise.
717 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
718 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
719 * math/libm-test.inc (scalb_test_data): Add errno expectations.
720 Add more NaN tests.
721
54fa2475
JM
722 [BZ #16349]
723 * math/w_atan2.c: Include <errno.h>.
724 (__atan2): Set errno for result underflowing to zero.
725 * math/w_atan2f.c: Include <errno.h>.
726 (__atan2f): Set errno for result underflowing to zero.
727 * math/w_atan2l.c: Include <errno.h>.
728 (__atan2l): Set errno for result underflowing to zero.
729 * math/auto-libm-test-in: Don't allow missing errno for some atan2
730 tests.
731 * math/auto-libm-test-out: Regenerated.
732
757d9dd5
AZ
7332014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
734
735 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
736 Encode instruction correctly in little endian.
737 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
738 Likewise.
739 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
740 Likewise.
741 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
742 Likewise.
743 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
744 Likewise.
745
d7a68734
JM
7462014-03-31 Joseph Myers <joseph@codesourcery.com>
747
47c5adeb
JM
748 [BZ #9894]
749 * sysdeps/unix/sysv/linux/kernel-features.h
750 [__sparc__ && !__arch64__ && !__sparc_v9__]
751 (__ASSUME_SET_ROBUST_LIST): Do not define.
752 [__sparc__ && !__arch64__ && !__sparc_v9__]
753 (__ASSUME_FUTEX_LOCK_PI): Likewise.
754 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
755 Likewise.
756 * sysdeps/unix/sysv/linux/arm/kernel-features.h
757 (__ASSUME_FUTEX_LOCK_PI): Undefine.
758 (__ASSUME_REQUEUE_PI): Likewise.
759 (__ASSUME_SET_ROBUST_LIST): Likewise.
760 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
761 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
762 Undefine.
763 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
764 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
765 Likewise.
766 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
767 Likewise.
768 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
769 Likewise.
770 * sysdeps/unix/sysv/linux/mips/kernel-features.h
771 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
772 Undefine.
773 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
774 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
775 Likewise.
776
d7a68734
JM
777 [BZ #16648]
778 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
779 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
780 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
781
c760f5c2
WN
7822014-03-31 Will Newton <will.newton@linaro.org>
783
784 * benchtests/Makefile (bench): Add ffs and ffsll to list
785 of tests.
786 * benchtests/ffs-inputs: New file.
787 * benchtests/ffsll-inputs: Likewise.
788
ea6029b1
JM
7892014-03-29 Joseph Myers <joseph@codesourcery.com>
790
791 [BZ #16770]
792 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
793 too large before casting to int.
794 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
795 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
796 * math/libm-test.inc (scalb_test_data): Add more tests.
797
cf806aff
SP
7982014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
799
56737508
SP
800 * benchtests/Makefile (DETAILED_OPT): New make option.
801 (bench-func): Run benchmark program with -d if DETAILED_OPT is
802 set.
803 * benchtests/bench-skeleton.c: Include stdbool.h.
804 (main): Store and print timings per input.
805 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
806 member to each argument value.
807 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
808 (_print_arg_data): Initialize per-input timing to 0.
809
cb5e4aad
SP
810 * benchtests/Makefile (timing-type): New binary.
811 (bench-clean): Also remove bench-timing-type.
812 (bench): New target for timing-type.
813 (bench-func): Print output in JSON format.
814 * benchtests/bench-skeleton.c (main): Print output in JSON
815 format.
816 * benchtests/bench-timing-type.c: New file.
817 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
818 (TIMING_PRINT_STATS): Remove.
819 * benchtests/scripts/bench.py (_print_arg_data): Store variant
820 name separately.
821
cf806aff
SP
822 * benchtests/bench-modf.c: Remove.
823 * benchtests/modf-inputs: New inputs file.
824
289e0779
JM
8252014-03-28 Joseph Myers <joseph@codesourcery.com>
826
827 [BZ #16362]
828 * math/s_clog10.c (M_PI_LOG10E): New macro.
829 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
830 imaginary parts are 0.
831 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
832 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
833 imaginary parts are 0.
834 * math/s_clog10l.c (M_PI_LOG10El): New macro.
835 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
836 imaginary parts are 0.
837 * math/libm-test.inc (clog10_test_data): Update expected results
838 for when real and imaginary parts are 0.
839
277ae3f1
PP
8402014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
841
842 * elf/dl-load.c: Finish conversion of __builtin_expect into
843 __glibc_{un}likely.
844
03a7091f
JM
8452014-03-27 Joseph Myers <joseph@codesourcery.com>
846
847 [BZ #16348]
848 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
849 1+x for argument with exponent below -67.
850 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
851 Likewise.
852 * math/auto-libm-test-in: Add more tests of exp.
853 * math/auto-libm-test-out: Regenerated.
854
ea7d8b95
SP
8552014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
856
dd3022d7
SP
857 [BZ #16759]
858 * inet/getnetgrent_r.c (get_nonempty_val): New function.
859 (nscd_getnetgrent): Use it.
860
ea7d8b95
SP
861 [BZ #16760]
862 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
863 of stpcpy.
864
df5b85da
AK
8652014-03-27 Andi Kleen <ak@linux.intel.com>
866
57f41c40
AS
867 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
868 (lll_robust_lock, lll_cond_lock, lll_timedlock)
869 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
870 (lll_robust_unlock): Remove out of line section. Use cfi
871 intrinsics.
df5b85da 872 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
873 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
874 (lll_robust_lock, lll_cond_lock, lll_timedlock)
875 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
876 (lll_robust_unlock): Remove out of line section. Use cfi
877 intrinsics.
df5b85da
AK
878 (LLL_STUB_UNWIND_INFO*): Remove.
879
fbd6b5a4
SP
8802014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
881
882 [BZ #16758]
883 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
884 blank values.
885
1b26b855
PP
8862014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
887
888 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
889
9be36fb8
JM
8902014-03-26 Joseph Myers <joseph@codesourcery.com>
891
892 [BZ #16198]
893 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
894 fnstenv.
895 * math/test-fenv-preserve.c: New file.
896 * math/Makefile (tests): Add test-fenv-preserve.
897
60a2f3c1
WN
8982014-03-26 Will Newton <will.newton@linaro.org>
899
900 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
901
a5e5f1e2
RM
9022014-03-25 Roland McGrath <roland@hack.frob.com>
903
904 * scripts/versionlist.awk: Partition the version sets and emit all
905 GLIBC_* (sorted) before all others (sorted).
906
00f4012a
JM
9072014-03-25 Joseph Myers <joseph@codesourcery.com>
908
909 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
910 GLIBC_2.2.5 version.
911
7bc5a741
AZ
9122014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
913
914 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
915 calls.
916
7578473b
AZ
917 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
918 previous change.
919
f3f1dab3
AZ
920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
921
6da36183
AS
9222014-03-25 Andreas Schwab <schwab@suse.de>
923
924 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
925 label to be used after in6ailist is initialized.
926
f3f1dab3 9272014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 928
7578473b 929 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
930 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
931
046651c1
JM
9322014-03-25 Joseph Myers <joseph@codesourcery.com>
933
934 [BZ #16357]
935 [BZ #16599]
936 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
937 min_plus_half.
938 (fp_formats): Update initializers.
939 (init_fp_formats): Initialize new field.
940 (output_for_one_input_case): Allow underflow for results up to
941 min_plus_half.
942 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
943 * math/auto-libm-test-in: Don't mark some underflows from asin and
944 atanh as spurious.
945 * math/auto-libm-test-out: Regenerated.
946 * sysdeps/i386/fpu/libm-test-ulps: Update.
947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
948
003e49ed
AS
9492014-03-25 Andreas Schwab <schwab@suse.de>
950
951 * libio/Makefile (tst-ftell-partial-wide-ENV)
952 (tst-ftell-active-handler-ENV): Define.
953
de031874
SL
9542014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
955
956 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
957
55a81e3b
PP
9582014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
959
960 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
961
f3426898
JM
9622014-03-24 Joseph Myers <joseph@codesourcery.com>
963
964 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
965 * sysdeps/x86_64/fpu/multiarch/e_exp.c
966 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
967
a42faf59
PP
9682014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
969
970 [BZ #16634]
a42faf59 971 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
972 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
973 (open_path): Change from boolean 'secure' to complete flag 'mode'
974 (_dl_map_object): Adjust.
a42faf59
PP
975 * elf/Makefile (tests): Add tst-dlopen-aout.
976 * elf/tst-dlopen-aout.c: New test.
977
50936127
SL
9782014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
979
980 [BZ #16714]
981 * sysdeps/unix/sysv/linux/s390/bits/stat.h
982 (struct stat): Rename member pad0 to __glibc_reserved0.
983
26011b5c
SL
984 [BZ #16712]
985 * sysdeps/s390/s390-32/bits/wordsize.h
986 (__WORDSIZE32_SIZE_ULONG): New define.
987 * sysdeps/s390/s390-64/bits/wordsize.h
988 (__WORDSIZE32_SIZE_ULONG): Likewise.
989 * sysdeps/generic/stdint.h (SIZE_MAX):
990 Define as UL if __WORDSIZE32_SIZE_ULONG.
991
a2d86bf1
SL
992 [BZ #16713]
993 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
994 (__glibc_reserved0): New variable.
995 (sa_flags): Change type to int.
996
78b6eebc
SL
997 * posix/Makefile (before-compile): Use += before-compile instead
998 of a :=.
999
f1399b5a
SL
1000 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1001 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1002
a071766e
AS
10032014-03-20 Andreas Schwab <schwab@suse.de>
1004
1005 [BZ #16743]
1006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1007 non-matching result from nscd.
1008
27c673b8
SP
10092014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1010
1011 * scripts/bench.py: Moved to ...
1012 * benchtests/scripts/bench.py: ... here.
1013 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1014
44152e4b
AS
10152014-03-24 Andreas Schwab <schwab@suse.de>
1016
1017 [BZ #16002]
1018 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1019 alloca_account and account alloca use for struct in6ailist.
1020
b376a11a
JM
10212014-03-24 Joseph Myers <joseph@codesourcery.com>
1022
1023 [BZ #16284]
1024 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1025 rounding mode to recompute results that overflow to infinity or
1026 underflow to zero.
1027 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1028 bug 16284.
1029 * math/auto-libm-test-out: Regenerated.
1030 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1031 (ccosh_test): Likewise.
1032 (csin_test_data): Use plus_oflow.
1033 (csin_test): Use ALL_RM_TEST.
1034 (csinh_test_data): Use plus_oflow.
1035 (csinh_test): Use ALL_RM_TEST.
1036 * sysdeps/i386/fpu/libm-test-ulps: Update.
1037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1038
f7be7376
JM
10392014-03-21 Joseph Myers <joseph@codesourcery.com>
1040
1ca2d03e
JM
1041 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1042 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1043 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1044
f7be7376
JM
1045 [BZ #16731]
1046 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1047 when x - 1 is zero.
1048 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1049 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1050 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1051 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1052 argument is 1.
1053 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1054 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1055 zero.
1056 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1057 * sysdeps/i386/fpu/libm-test-ulps: Update.
1058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1059
fdf4534d
SP
10602014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1061
df26ea53
SP
1062 * scripts/bench.pl: Remove file.
1063 * scripts/bench.py: New benchmark script.
1064 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1065 * benchtests/README: Mention python dependency.
1066 * scripts/pylintrc: New file.
1067 * scripts/pylint: New file.
1068
fdf4534d
SP
1069 * bits/mathdef.h: Use #ifdef instead of #if.
1070 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1071 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1072 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1073 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1074 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1075 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1076
6f23d093
AZ
10772014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1078 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1079
1080 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1082 and strpbrk-ppc64 objects.
1083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1084 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1085 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1086 multiarch strpbrk for POWER7.
1087 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1088 multiarch strpbrk for PPC64.
1089 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1090 ifunc selector.
1091 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1092 strpbrk for POWER7.
1093
8c92dfff
JM
10942014-03-20 Joseph Myers <joseph@codesourcery.com>
1095
1096 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1097 (atan_test): Likewise.
1098 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1099 (atanh_test): Use ALL_RM_TEST.
1100 (atan2_test_data): Likewise.
1101 (cabs_test): Likewise.
1102 (cacosh_test): Likewise.
1103 (carg_test): Likewise.
1104 (casin_test): Likewise.
1105 (casinh_test): Likewise.
1106 (cbrt_test): Likewise.
1107 (csqrt_test): Likewise.
1108 (erf_test): Likewise.
1109 (erfc_test): Likewise.
1110 (pow10_test): Likewise.
1111 (exp2_test): Likewise.
1112 (hypot_test): Likewise.
1113 (j0_test): Likewise.
1114 (j1_test): Likewise.
1115 (lgamma_test): Likewise.
1116 (gamma_test): Likewise.
1117 (sincos_test): Likewise.
1118 (tanh_test): Likewise.
1119 (y0_test): Likewise.
1120 (y1_test): Likewise.
1121 * sysdeps/i386/fpu/libm-test-ulps: Update.
1122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1123
6eaf95cb
AZ
11242014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1125
a387428c
SP
1126 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1128 and strcspn-ppc64 objects.
1129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1130 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1131 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1132 multiarch strcspn for POWER7.
1133 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1134 multiarch strcspn for PPC64.
1135 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1136 ifunc selector.
1137 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1138 strcspn for POWER7.
1139
ae3a5dff
JM
11402014-03-20 Joseph Myers <joseph@codesourcery.com>
1141
1142 * math/gen-libm-test.pl (generate_testfile): Expect only function
1143 name as argument to AUTO_TESTS_* and pass results for all rounding
1144 modes to parse_args.
1145 (parse_auto_input): Separate inputs of automatic tests from
1146 outputs before storing in %auto_tests.
1147 * math/libm-test.inc (acos_test_data): Update call to
1148 AUTO_TESTS_f_f.
1149 (acos_test): Use ALL_RM_TEST.
1150 (acos_tonearest_test_data): Remove.
1151 (acos_test_tonearest): Likewise.
1152 (acos_towardzero_test_data): Likewise.
1153 (acos_test_towardzero): Likewise.
1154 (acos_downward_test_data): Likewise.
1155 (acos_test_downward): Likewise.
1156 (acos_upward_test_data): Likewise.
1157 (acos_test_upward): Likewise.
1158 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1159 (asin_test_data): Likewise.
1160 (asin_test): Use ALL_RM_TEST.
1161 (asin_tonearest_test_data): Remove.
1162 (asin_test_tonearest): Likewise.
1163 (asin_towardzero_test_data): Likewise.
1164 (asin_test_towardzero): Likewise.
1165 (asin_downward_test_data): Likewise.
1166 (asin_test_downward): Likewise.
1167 (asin_upward_test_data): Likewise.
1168 (asin_test_upward): Likewise.
1169 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1170 (atan_test_data): Likewise.
1171 (atanh_test_data): Likewise.
1172 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1173 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1174 (carg_test_data): Likewise.
1175 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1176 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1177 (ccosh_test_data): Likewise.
1178 (cexp_test_data): Likewise.
1179 (clog_test_data): Likewise.
1180 (clog10_test_data): Likewise.
1181 (cos_test_data): Update call to AUTO_TESTS_f_f.
1182 (cos_test): Use ALL_RM_TEST.
1183 (cos_tonearest_test_data): Remove.
1184 (cos_test_tonearest): Likewise.
1185 (cos_towardzero_test_data): Likewise.
1186 (cos_test_towardzero): Likewise.
1187 (cos_downward_test_data): Likewise.
1188 (cos_test_downward): Likewise.
1189 (cos_upward_test_data): Likewise.
1190 (cos_test_upward): Likewise.
1191 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1192 (cosh_test): Use ALL_RM_TEST.
1193 (cosh_tonearest_test_data): Remove.
1194 (cosh_test_tonearest): Likewise.
1195 (cosh_towardzero_test_data): Likewise.
1196 (cosh_test_towardzero): Likewise.
1197 (cosh_downward_test_data): Likewise.
1198 (cosh_test_downward): Likewise.
1199 (cosh_upward_test_data): Likewise.
1200 (cosh_test_upward): Likewise.
1201 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1202 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1203 (ctan_test_data): Likewise.
1204 (ctan_test): Use ALL_RM_TEST.
1205 (ctan_tonearest_test_data): Remove.
1206 (ctan_test_tonearest): Likewise.
1207 (ctan_towardzero_test_data): Likewise.
1208 (ctan_test_towardzero): Likewise.
1209 (ctan_downward_test_data): Likewise.
1210 (ctan_test_downward): Likewise.
1211 (ctan_upward_test_data): Likewise.
1212 (ctan_test_upward): Likewise.
1213 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1214 (ctanh_test): Use ALL_RM_TEST.
1215 (ctanh_tonearest_test_data): Remove.
1216 (ctanh_test_tonearest): Likewise.
1217 (ctanh_towardzero_test_data): Likewise.
1218 (ctanh_test_towardzero): Likewise.
1219 (ctanh_downward_test_data): Likewise.
1220 (ctanh_test_downward): Likewise.
1221 (ctanh_upward_test_data): Likewise.
1222 (ctanh_test_upward): Likewise.
1223 (erf_test_data): Update call to AUTO_TESTS_f_f.
1224 (erfc_test_data): Likewise.
1225 (exp_test_data): Likewise.
1226 (exp_test): Use ALL_RM_TEST.
1227 (exp_tonearest_test_data): Remove.
1228 (exp_test_tonearest): Likewise.
1229 (exp_towardzero_test_data): Likewise.
1230 (exp_test_towardzero): Likewise.
1231 (exp_downward_test_data): Likewise.
1232 (exp_test_downward): Likewise.
1233 (exp_upward_test_data): Likewise.
1234 (exp_test_upward): Likewise.
1235 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1236 (exp10_test): Use ALL_RM_TEST.
1237 (exp10_tonearest_test_data): Remove.
1238 (exp10_test_tonearest): Likewise.
1239 (exp10_towardzero_test_data): Likewise.
1240 (exp10_test_towardzero): Likewise.
1241 (exp10_downward_test_data): Likewise.
1242 (exp10_test_downward): Likewise.
1243 (exp10_upward_test_data): Likewise.
1244 (exp10_test_upward): Likewise.
1245 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1246 (expm1_test_data): Likewise.
1247 (expm1_test): Use ALL_RM_TEST.
1248 (expm1_tonearest_test_data): Remove.
1249 (expm1_test_tonearest): Likewise.
1250 (expm1_towardzero_test_data): Likewise.
1251 (expm1_test_towardzero): Likewise.
1252 (expm1_downward_test_data): Likewise.
1253 (expm1_test_downward): Likewise.
1254 (expm1_upward_test_data): Likewise.
1255 (expm1_test_upward): Likewise.
1256 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1257 (fma_test): Use ALL_RM_TEST.
1258 (fma_towardzero_test_data): Remove.
1259 (fma_test_towardzero): Likewise.
1260 (fma_downward_test_data): Likewise.
1261 (fma_test_downward): Likewise.
1262 (fma_upward_test_data): Likewise.
1263 (fma_test_upward): Likewise.
1264 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1265 (j0_test_data): Update call to AUTO_TESTS_f_f.
1266 (j1_test_data): Likewise.
1267 (jn_test_data): Update call to AUTO_TESTS_if_f.
1268 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1269 (log_test_data): Update call to AUTO_TESTS_f_f.
1270 (log10_test_data): Likewise.
1271 (log1p_test_data): Likewise.
1272 (log2_test_data): Likewise.
1273 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1274 (pow_tonearest_test_data): Likewise.
1275 (sin_test_data): Update call to AUTO_TESTS_f_f.
1276 (sin_test): Use ALL_RM_TEST.
1277 (sin_tonearest_test_data): Remove.
1278 (sin_test_tonearest): Likewise.
1279 (sin_towardzero_test_data): Likewise.
1280 (sin_test_towardzero): Likewise.
1281 (sin_downward_test_data): Likewise.
1282 (sin_test_downward): Likewise.
1283 (sin_upward_test_data): Likewise.
1284 (sin_test_upward): Likewise.
1285 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1286 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1287 (sinh_test): Use ALL_RM_TEST.
1288 (sinh_tonearest_test_data): Remove.
1289 (sinh_test_tonearest): Likewise.
1290 (sinh_towardzero_test_data): Likewise.
1291 (sinh_test_towardzero): Likewise.
1292 (sinh_downward_test_data): Likewise.
1293 (sinh_test_downward): Likewise.
1294 (sinh_upward_test_data): Likewise.
1295 (sinh_test_upward): Likewise.
1296 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1297 (sqrt_test): Use ALL_RM_TEST.
1298 (sqrt_tonearest_test_data): Remove.
1299 (sqrt_test_tonearest): Likewise.
1300 (sqrt_towardzero_test_data): Likewise.
1301 (sqrt_test_towardzero): Likewise.
1302 (sqrt_downward_test_data): Likewise.
1303 (sqrt_test_downward): Likewise.
1304 (sqrt_upward_test_data): Likewise.
1305 (sqrt_test_upward): Likewise.
1306 (tan_test_data): Update call to AUTO_TESTS_f_f.
1307 (tan_test): Use ALL_RM_TEST.
1308 (tan_tonearest_test_data): Remove.
1309 (tan_test_tonearest): Likewise.
1310 (tan_towardzero_test_data): Likewise.
1311 (tan_test_towardzero): Likewise.
1312 (tan_downward_test_data): Likewise.
1313 (tan_test_downward): Likewise.
1314 (tan_upward_test_data): Likewise.
1315 (tan_test_upward): Likewise.
1316 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1317 (tgamma_test_data): Likewise.
1318 (y0_test_data): Likewise.
1319 (y1_test_data): Likewise.
1320 (yn_test_data): Update call to AUTO_TESTS_if_f.
1321 (main): Do not call removed functions.
1322
d71aeee8
JM
13232014-03-19 Joseph Myers <joseph@codesourcery.com>
1324
1325 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1326 (ldexp_test_data): Remove.
1327 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1328 scalbn_test_data.
1329 (scalb_test): Use ALL_RM_TEST.
1330
baaf1ded
AS
13312014-03-19 Andreas Schwab <schwab@suse.de>
1332
1333 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1334
b1115e91
JM
13352014-03-19 Joseph Myers <joseph@codesourcery.com>
1336
1337 [BZ #16649]
1338 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1339 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1340 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1341 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1342 (__ASSUME_PREADV): Undefine.
1343 (__ASSUME_PWRITEV): Likewise.
1344
0283ecca
RM
13452014-03-18 Roland McGrath <roland@hack.frob.com>
1346
7d375303
RM
1347 * bits/mman-linux.h: Add comment about non-Linux use.
1348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1349 bits/mman-linux.h resting place.
1350
0283ecca
RM
1351 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1352 * bits/mman-linux.h: ... here.
1353
aebe1003
AZ
13542014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1355
1356 * conform/conformtest.pl: Add standard definition when calling C
1357 preprocessor on data files.
1358 (checknamespace): Remove unused variable.
1359
b29b6bb8
JM
13602014-03-18 Joseph Myers <joseph@codesourcery.com>
1361
1362 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1363 minus_oflow, plus_uflow and minus_uflow in expected results.
1364 * math/libm-test.inc (scalbn_test_data): Add more tests of
1365 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1366 minus_uflow.
1367 (scalbn_test): Use ALL_RM_TEST.
1368 (scalbln_test_data): Add more tests of negative arguments. Use
1369 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1370 (scalbln_test): Use ALL_RM_TEST.
1371
c8f8fa15
RM
13722014-03-18 Roland McGrath <roland@hack.frob.com>
1373
1374 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1375
fede7a5f
WN
13762014-03-18 Will Newton <will.newton@linaro.org>
1377
1378 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1379 inaccurate comment.
1380
80cf0a58
JM
13812014-03-18 Joseph Myers <joseph@codesourcery.com>
1382
1383 * Makerules [!subdir] (check-abi): Exit with error status if a
1384 test failed.
1385
b3620862
JM
13862014-03-17 Joseph Myers <joseph@codesourcery.com>
1387
1388 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1389 for rint. Include results for all rounding modes.
1390 (nearbyint_test): Use ALL_RM_TEST.
1391 (rint_test_data): Include all tests used for nearbyint.
1392
788bba36
WN
13932014-03-17 Will Newton <will.newton@linaro.org>
1394
04ec140a
WN
1395 * nptl/sysdeps/pthread/pthread.h: Revert previous
1396 change.
1397
7579d8d5
WN
1398 * sysdeps/generic/ldsodefs.h: Revert previous
1399 change.
1400
c15cf13a
WN
1401 * libio/genops.c: Revert previous change.
1402 * libio/libioP.h: Likewise.
1403 * stdio-common/vfprintf.c: Likewise.
1404
d0ac1324
WN
1405 * sysdeps/generic/math_private.h: Revert previous
1406 change.
1407
9290130a
WN
1408 * sysdeps/generic/math_private.h: Check whether
1409 HAVE_RM_CTX is defined with #ifdef rather
1410 than #if.
1411
afb466fc
WN
1412 * argp/argp-fmtstream.h: Check whether
1413 __STRICT_ANSI__ is defined with #ifdef rather
1414 than #if.
1415 * argp/argp.h: Likewise.
1416
f7efd7c3
WN
1417 * libio/genops.c: Check whether
1418 _IO_JUMPS_OFFSET is defined with #ifdef rather
1419 than #if.
1420 * libio/libioP.h: Likewise.
1421 * stdio-common/vfprintf.c: Likewise.
1422
53f1bed3
WN
1423 * sysdeps/generic/ldsodefs.h: Check whether
1424 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1425 than #if.
1426
788bba36
WN
1427 * nptl/sysdeps/pthread/pthread.h: Check
1428 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1429 its value.
1430
fcd89ebe
SP
14312014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1432
ae42bbc5
SP
1433 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1434 setting O_APPEND.
1435 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1436 test case.
1437
ea33158c
SP
1438 [BZ #16680]
1439 * libio/fileops.c (_IO_file_open): Seek to end of file but
1440 don't cache the offset.
1441 (get_file_offset): Remove function.
1442 (do_ftell): Use cached offset when available.
1443 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1444 don't cache the offset.
1445 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1446 case.
1447 (do_one_test): Call it.
1448 (do_ftell_test): Fix up expected old offset for a+ mode.
1449 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1450 available.
1451
b1dbb426
SP
1452 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1453 up test status with function return status.
1454 (do_write_test): Likewise.
1455 (do_append_test): Likewise.
1456
fcd89ebe
SP
1457 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1458 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1459 Remove.
1460
9962a2d3
JM
14612014-03-17 Joseph Myers <joseph@codesourcery.com>
1462
1463 * math/gen-libm-test.pl (parse_args): Handle results specified for
1464 each rounding mode separately.
1465 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1466 tests and results from lrint_tonearest_test_data,
1467 lrint_towardzero_test_data, lrint_downward_test_data and
1468 lrint_upward_test_data.
1469 (lrint_test): Use ALL_RM_TEST.
1470 (lrint_tonearest_test_data): Remove.
1471 (lrint_test_tonearest): Likewise.
1472 (lrint_towardzero_test_data): Likewise.
1473 (lrint_test_towardzero): Likewise.
1474 (lrint_downward_test_data): Likewise.
1475 (lrint_test_downward): Likewise.
1476 (lrint_upward_test_data): Likewise.
1477 (lrint_test_upward): Likewise.
1478 (llrint_test_data): Merge in per-rounding-mode tests and results
1479 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1480 llrint_downward_test_data and llrint_upward_test_data.
1481 (llrint_test): Use ALL_RM_TEST.
1482 (llrint_tonearest_test_data): Remove.
1483 (llrint_test_tonearest): Likewise.
1484 (llrint_towardzero_test_data): Likewise.
1485 (llrint_test_towardzero): Likewise.
1486 (llrint_downward_test_data): Likewise.
1487 (llrint_test_downward): Likewise.
1488 (llrint_upward_test_data): Likewise.
1489 (llrint_test_upward): Likewise.
1490 (rint_test_data): Merge in per-rounding-mode tests and results
1491 from rint_tonearest_test_data, rint_towardzero_test_data,
1492 rint_downward_test_data and rint_upward_test_data. Add
1493 per-rounding-mode results for tests not in those arrays.
1494 (rint_test): Use ALL_RM_TEST.
1495 (rint_tonearest_test_data): Remove.
1496 (rint_test_tonearest): Likewise.
1497 (rint_towardzero_test_data): Likewise.
1498 (rint_test_towardzero): Likewise.
1499 (rint_downward_test_data): Likewise.
1500 (rint_test_downward): Likewise.
1501 (rint_upward_test_data): Likewise.
1502 (rint_test_upward): Likewise.
1503 (main): Don't call removed functions.
1504
5006148e
RM
15052014-03-14 Roland McGrath <roland@hack.frob.com>
1506
1507 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1508 "Compiled on ..." crapola. It is anti-useful.
1509
d6fe5e58
JM
15102014-03-14 Joseph Myers <joseph@codesourcery.com>
1511
1512 * scripts/evaluate-test.sh: Handle fourth argument to determine
1513 whether test run should stop on failure.
1514 * Makeconfig (stop-on-test-failure): New variable.
1515 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1516 $(stop-on-test-failure).
1517 * Makefile (tests): Give a summary of results from testing and
1518 exit with failure status if they include an ERROR or FAIL.
1519 (xtests): Likewise.
1520 * manual/install.texi (Configuring and compiling): Mention
1521 stop-on-test-failure=y.
1522 * INSTALL: Regenerated.
1523
498a2233
RM
15242014-03-14 Roland McGrath <roland@hack.frob.com>
1525
22dbc19d
RM
1526 * scripts/versionlist.awk: New file.
1527 * Makerules [$(build-shared) = yes]
1528 (postclean-generated): Add Versions.def, not Versions.def.v and
1529 Versions.def.v.i.
1530 ($(common-objpfx)Versions.def.v.i): Target removed.
1531 ($(common-objpfx)Versions.def): New target.
1532 ($(common-objpfx)Versions.all): Depend on that rather that
1533 $(common-objpfx)Versions.def.v.
1534 * Versions.def: File removed.
1535
498a2233
RM
1536 * Makeconfig (+gccwarn): Add -Wundef.
1537 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1538 a dl-sysdep.h breaking its contract.
1539 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1540 * include/stackinfo.h: New file.
1541 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1542 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1543 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1544 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1545 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1546 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1547 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1548 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1549 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1550 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1551 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1552 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1553 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1554 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1555 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1556
c7de5025
AZ
15572014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1558
1559 [BZ #16707]
1560 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1561 implementation.
1562 * math/libm-test.inc (round_test_data): Add more tests.
1563
98fb27a3
AZ
1564 [BZ #16706]
1565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1566 implementation.
1567 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1568
374f7f61
AZ
1569 [BZ #16701]
1570 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1571 implementation.
1572 * math/libm-test.inc (ceil_test_data): Add more tests.
1573
4655c291
AZ
1574 * math/libm-test.inc (trunc_test_data): Add more tests related to
1575 BZ#16414.
1576
d7329d4b
RM
15772014-03-14 Roland McGrath <roland@hack.frob.com>
1578
1579 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1580 with #if rather than #ifdef.
1581 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1582
aa4de9ce
L
15832014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1584
1585 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1586 first. Disable AVX-512 GCC support if assembler doesn't support
1587 it.
1588 * sysdeps/x86_64/configure: Regenerated.
1589
2e03fae7
CD
15902014-03-13 Carlos O'Donell <carlos@redhat.com>
1591
1592 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1593 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1594 (__old_pthread_attr_setstack): Likewise.
1595 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1596 [!_STACK_GROWS_DOWN]: Likewise.
1597
43ca83ec
MF
15982014-03-13 Mike Frysinger <vapier@gentoo.org>
1599
1600 * config.make.in (have-bash2): Delete.
1601 * configure.ac (libc_cv_have_bash2): Delete.
1602 * configure: Regenerate.
1603 * elf/Makefile (common-ldd-rewrite): Rename to ...
1604 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1605 (sh-ldd-rewrite): Delete.
1606 (bash-ldd-rewrite): Delete.
1607 (have-bash2): Delete checks.
57f41c40
AS
1608 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1609 ldd-rewrite.
c66e48b4
MF
1610
1611 * config.make.in (have-ksh): Delete.
1612 (KSH): Delete.
1613 * configure.ac (libc_cv_have_ksh): Delete.
1614 * configure: Regenerate.
1615
b93834ef
MF
1616 * elf/Makefile: Delete $(have-ksh) check.
1617 ($(objpfx)sotruss): Change KSH to BASH.
1618 * elf/sotruss.ksh: Rename to ...
1619 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1620 function style to match POSIX. Drop ksh vim mode setting.
1621
f3a4632a
MF
1622 * manual/time.texi (Specifying the Time Zone with TZ): Change
1623 Tuesday to Thursday.
1624
5896c8bd
MF
1625 * debug/tst-longjmp_chk2.c: Update header comment.
1626 (stackoverflow_handler): Add comment. Call assert on pass value.
1627
2d63a517
IZ
16282014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1629
1630 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1631 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1632 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1633 (La_x86_64_vector): Add zmm.
1634 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1635 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1636 ($(objpfx)tst-audit10): New target.
1637 ($(objpfx)tst-audit10.out): Likewise.
1638 (tst-audit10-ENV): New.
1639 (AVX512-CFLAGS): Likewise.
1640 (CFLAGS-tst-audit10.c): Likewise.
1641 (CFLAGS-tst-auditmod10a.c): Likewise.
1642 (CFLAGS-tst-auditmod10b.c): Likewise.
1643 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1644 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1645 * sysdeps/x86_64/configure: Regenerated.
1646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1647 AVX-512 zmm register support.
1648 (_dl_x86_64_save_sse): Likewise.
1649 (_dl_x86_64_restore_sse): Likewise.
1650 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1651 size vector registers.
1652 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1653 (ZMM_SIZE): Likewise.
1654 * sysdeps/x86_64/tst-audit10.c: New file.
1655 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1656 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1657
44c4e5d5
RM
16582014-03-13 Roland McGrath <roland@hack.frob.com>
1659
1660 * configure.ac (HAVE_EHDR_START): New check.
1661 * configure: Regenerated.
1662 * config.h.in (HAVE_EHDR_START): New #undef.
1663 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1664 assuming the lowest-addressed segment maps the start of the file.
1665
acd6e389
JM
16662014-03-13 Joseph Myers <joseph@codesourcery.com>
1667
1668 * INSTALL: Regenerated.
1669
6f918f36
WN
16702014-03-13 Will Newton <will.newton@linaro.org>
1671
1672 * manual/setjmp.texi (System V contexts): Improve
1673 clarity and grammar of documentation.
1674
798212a0
PP
16752014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1676
1677 [BZ #16381]
798212a0 1678 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1679 (tests-pie): Add tst-pie2.
798212a0
PP
1680 * elf/tst-pie2.c: New file.
1681 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1682 for ET_EXEC.
1683 * elf/rtld.c (map_doit): Load executable as lt_executable.
1684 (dl_main): Likewise.
1685
abe6d90c
JM
16862014-03-12 Joseph Myers <joseph@codesourcery.com>
1687
1688 [BZ #16642]
1689 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1690 (__ASSUME_PSELECT): Undefine.
1691
dd3946c6
AZ
16922014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1693
1694 [BZ #16689]
1695 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1696 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1697 static build.
1698 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1699 selector for static builds.
1700
c44496df
SP
17012014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1702
1703 [BZ #16695]
1704 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1705 key in the buffer.
1706
27c7220a
AZ
17072014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1708
57f41c40
AS
1709 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1710 IFUNC selector for static builds.
27c7220a 1711
600fa361
JM
17122014-03-11 Joseph Myers <joseph@codesourcery.com>
1713
76c96cf7
JM
1714 * sysdeps/mips/math_private.h [__mips_hard_float]
1715 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1716 libc_feresetround_mips_ctx.
1717 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1718 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1719 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1720
600fa361
JM
1721 [BZ #16677]
1722 * math/s_nextafter.c (__nextafter): Do not return value from
1723 overflowing computation.
1724 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1725 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1726 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1727 Likewise.
1728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1729 Likewise.
1730 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1731 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1732
d7706c32
RM
17332014-03-11 Roland McGrath <roland@hack.frob.com>
1734
1735 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1736 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1737 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1738 the new mov targetting sp.
1739
4facea47
AZ
17402014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1741
1742 [BZ #16683]
1743 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1744 Define it for static builds as well.
1745 (NO_BZERO_IMPL): Likewise.
1746
e65caf1f
VR
17472014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1748
1749 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1750 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1751 multiarch strspn for PPC64.
1752 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1753 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1754 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1755 (__libc_ifunc_impl_list): Likewise.
1756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1757 multiarch optimizations
1758 * string/strspn.c (strspn): Using macro to redefine symbol name.
1759
ba9cc071
AZ
17602014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1761 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1762
1763 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1764 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1765 multiarch strncat for PPC64.
1766 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1767 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1769 (__libc_ifunc_impl_list): Likewise.
1770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1771 multiarch optimizations
1772
8b4ff974
SP
17732014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1774
1775 [BZ #16639]
1776 * nscd/nscd.service: Make service type forking.
1777
54b46a4b
AZ
17782014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1779
1780 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1781 sign in non default rounding modes.
1782 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1783
e9996ef7
JM
17842014-03-08 Joseph Myers <joseph@codesourcery.com>
1785
1786 * math/libm-test.inc (ALL_RM_TEST): New macro.
1787 (ceil_test): Use ALL_RM_TEST.
1788 (cimag_test): Likewise.
1789 (conj_test): Likewise.
1790 (copysign_test): Likewise.
1791 (cproj_test): Likewise.
1792 (creal_test): Likewise.
1793 (fabs_test): Likewise.
1794 (floor_test): Likewise.
1795 (fmax_test): Likewise.
1796 (fmin_test): Likewise.
1797 (fmod_test): Likewise.
1798 (fpclassify_test): Likewise.
1799 (frexp_test): Likewise.
1800 (ilogb_test): Likewise.
1801 (isfinite_test): Likewise.
1802 (finite_test): Likewise.
1803 (isgreater_test): Likewise.
1804 (isgreaterequal_test): Likewise.
1805 (isinf_test): Likewise.
1806 (isless_test): Likewise.
1807 (islessequal_test): Likewise.
1808 (islessgreater_test): Likewise.
1809 (isnan_test): Likewise.
1810 (isnormal_test): Likewise.
1811 (issignaling_test): Likewise.
1812 (isunordered_test): Likewise.
1813 (logb_test): Likewise.
1814 (logb_downward_test_data): Remove.
1815 (logb_test_downward): Likewise.
1816 (lround_test): Use ALL_RM_TEST.
1817 (llround_test): Likewise.
1818 (modf_test): Likewise.
1819 (nexttoward_test): Likewise.
1820 (remainder_test): Likewise.
1821 (drem_test): Likewise.
1822 (remainder_tonearest_test_data): Likewise.
1823 (remainder_test_tonearest): Likewise.
1824 (drem_test_tonearest): Likewise.
1825 (remainder_towardzero_test_data): Likewise.
1826 (remainder_test_towardzero): Likewise.
1827 (drem_test_towardzero): Likewise.
1828 (remainder_downward_test_data): Likewise.
1829 (remainder_test_downward): Likewise.
1830 (drem_test_downward): Likewise.
1831 (remainder_upward_test_data): Likewise.
1832 (remainder_test_upward): Likewise.
1833 (drem_test_upward): Likewise.
1834 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1835 (round_test): Use ALL_RM_TEST.
1836 (signbit_test): Likewise.
1837 (trunc_test): Likewise.
1838 (significand_test): Likewise.
1839 (main): Don't call removed functions.
1840
bc61d27c
JM
18412014-03-07 Joseph Myers <joseph@codesourcery.com>
1842
5c780849
JM
1843 [BZ #16674]
1844 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1845 || __USE_XOPEN2K8].
1846 (ILL_ILLOPN): Likewise.
1847 (ILL_ILLADR): Likewise.
1848 (ILL_ILLTRP): Likewise.
1849 (ILL_PRVOPC): Likewise.
1850 (ILL_PRVREG): Likewise.
1851 (ILL_COPROC): Likewise.
1852 (ILL_BADSTK): Likewise.
1853 (FPE_INTDIV): Likewise.
1854 (FPE_INTOVF): Likewise.
1855 (FPE_FLTDIV): Likewise.
1856 (FPE_FLTOVF): Likewise.
1857 (FPE_FLTUND): Likewise.
1858 (FPE_FLTRES): Likewise.
1859 (FPE_FLTINV): Likewise.
1860 (FPE_FLTSUB): Likewise.
1861 (SEGV_MAPERR): Likewise.
1862 (SEGV_ACCERR): Likewise.
1863 (BUS_ADRALN): Likewise.
1864 (BUS_ADRERR): Likewise.
1865 (BUS_OBJERR): Likewise.
1866 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1867 (TRAP_TRACE): Likewise.
1868 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1869 __USE_XOPEN2K8].
1870 (CLD_KILLED): Likewise.
1871 (CLD_DUMPED): Likewise.
1872 (CLD_TRAPPED): Likewise.
1873 (CLD_STOPPED): Likewise.
1874 (CLD_CONTINUED): Likewise.
1875 (POLL_IN): Likewise.
1876 (POLL_OUT): Likewise.
1877 (POLL_MSG): Likewise.
1878 (POLL_ERR): Likewise.
1879 (POLL_PRI): Likewise.
1880 (POLL_HUP): Likewise.
1881 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1882 Likewise.
1883 (ILL_ILLOPN): Likewise.
1884 (ILL_ILLADR): Likewise.
1885 (ILL_ILLTRP): Likewise.
1886 (ILL_PRVOPC): Likewise.
1887 (ILL_PRVREG): Likewise.
1888 (ILL_COPROC): Likewise.
1889 (ILL_BADSTK): Likewise.
1890 (FPE_INTDIV): Likewise.
1891 (FPE_INTOVF): Likewise.
1892 (FPE_FLTDIV): Likewise.
1893 (FPE_FLTOVF): Likewise.
1894 (FPE_FLTUND): Likewise.
1895 (FPE_FLTRES): Likewise.
1896 (FPE_FLTINV): Likewise.
1897 (FPE_FLTSUB): Likewise.
1898 (SEGV_MAPERR): Likewise.
1899 (SEGV_ACCERR): Likewise.
1900 (BUS_ADRALN): Likewise.
1901 (BUS_ADRERR): Likewise.
1902 (BUS_OBJERR): Likewise.
1903 (BUS_MCEERR_AR): Likewise.
1904 (BUS_MCEERR_AO): Likewise.
1905 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1906 (TRAP_TRACE): Likewise.
1907 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1908 __USE_XOPEN2K8].
1909 (CLD_KILLED): Likewise.
1910 (CLD_DUMPED): Likewise.
1911 (CLD_TRAPPED): Likewise.
1912 (CLD_STOPPED): Likewise.
1913 (CLD_CONTINUED): Likewise.
1914 (POLL_IN): Likewise.
1915 (POLL_OUT): Likewise.
1916 (POLL_MSG): Likewise.
1917 (POLL_ERR): Likewise.
1918 (POLL_PRI): Likewise.
1919 (POLL_HUP): Likewise.
1920 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1921 (ILL_ILLOPN): Likewise.
1922 (ILL_ILLADR): Likewise.
1923 (ILL_ILLTRP): Likewise.
1924 (ILL_PRVOPC): Likewise.
1925 (ILL_PRVREG): Likewise.
1926 (ILL_COPROC): Likewise.
1927 (ILL_BADSTK): Likewise.
1928 (FPE_INTDIV): Likewise.
1929 (FPE_INTOVF): Likewise.
1930 (FPE_FLTDIV): Likewise.
1931 (FPE_FLTOVF): Likewise.
1932 (FPE_FLTUND): Likewise.
1933 (FPE_FLTRES): Likewise.
1934 (FPE_FLTINV): Likewise.
1935 (FPE_FLTSUB): Likewise.
1936 (SEGV_MAPERR): Likewise.
1937 (SEGV_ACCERR): Likewise.
1938 (BUS_ADRALN): Likewise.
1939 (BUS_ADRERR): Likewise.
1940 (BUS_OBJERR): Likewise.
1941 (BUS_MCEERR_AR): Likewise.
1942 (BUS_MCEERR_AO): Likewise.
1943 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1944 (TRAP_TRACE): Likewise.
1945 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1946 __USE_XOPEN2K8].
1947 (CLD_KILLED): Likewise.
1948 (CLD_DUMPED): Likewise.
1949 (CLD_TRAPPED): Likewise.
1950 (CLD_STOPPED): Likewise.
1951 (CLD_CONTINUED): Likewise.
1952 (POLL_IN): Likewise.
1953 (POLL_OUT): Likewise.
1954 (POLL_MSG): Likewise.
1955 (POLL_ERR): Likewise.
1956 (POLL_PRI): Likewise.
1957 (POLL_HUP): Likewise.
1958 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1959 Likewise.
1960 (ILL_ILLOPN): Likewise.
1961 (ILL_ILLADR): Likewise.
1962 (ILL_ILLTRP): Likewise.
1963 (ILL_PRVOPC): Likewise.
1964 (ILL_PRVREG): Likewise.
1965 (ILL_COPROC): Likewise.
1966 (ILL_BADSTK): Likewise.
1967 (ILL_BADIADDR): Likewise.
1968 (ILL_BREAK): Likewise.
1969 (FPE_INTDIV): Likewise.
1970 (FPE_INTOVF): Likewise.
1971 (FPE_FLTDIV): Likewise.
1972 (FPE_FLTOVF): Likewise.
1973 (FPE_FLTUND): Likewise.
1974 (FPE_FLTRES): Likewise.
1975 (FPE_FLTINV): Likewise.
1976 (FPE_FLTSUB): Likewise.
1977 (FPE_DECOVF): Likewise.
1978 (FPE_DECDIV): Likewise.
1979 (FPE_DECERR): Likewise.
1980 (FPE_INVASC): Likewise.
1981 (FPE_INVDEC): Likewise.
1982 (SEGV_MAPERR): Likewise.
1983 (SEGV_ACCERR): Likewise.
1984 (SEGV_PSTKOVF): Likewise.
1985 (BUS_ADRALN): Likewise.
1986 (BUS_ADRERR): Likewise.
1987 (BUS_OBJERR): Likewise.
1988 (BUS_MCEERR_AR): Likewise.
1989 (BUS_MCEERR_AO): Likewise.
1990 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1991 (TRAP_TRACE): Likewise.
1992 (TRAP_BRANCH): Likewise.
1993 (TRAP_HWBKPT): Likewise.
1994 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1995 __USE_XOPEN2K8].
1996 (CLD_KILLED): Likewise.
1997 (CLD_DUMPED): Likewise.
1998 (CLD_TRAPPED): Likewise.
1999 (CLD_STOPPED): Likewise.
2000 (CLD_CONTINUED): Likewise.
2001 (POLL_IN): Likewise.
2002 (POLL_OUT): Likewise.
2003 (POLL_MSG): Likewise.
2004 (POLL_ERR): Likewise.
2005 (POLL_PRI): Likewise.
2006 (POLL_HUP): Likewise.
2007 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2008 (ILL_ILLOPN): Likewise.
2009 (ILL_ILLADR): Likewise.
2010 (ILL_ILLTRP): Likewise.
2011 (ILL_PRVOPC): Likewise.
2012 (ILL_PRVREG): Likewise.
2013 (ILL_COPROC): Likewise.
2014 (ILL_BADSTK): Likewise.
2015 (FPE_INTDIV): Likewise.
2016 (FPE_INTOVF): Likewise.
2017 (FPE_FLTDIV): Likewise.
2018 (FPE_FLTOVF): Likewise.
2019 (FPE_FLTUND): Likewise.
2020 (FPE_FLTRES): Likewise.
2021 (FPE_FLTINV): Likewise.
2022 (FPE_FLTSUB): Likewise.
2023 (SEGV_MAPERR): Likewise.
2024 (SEGV_ACCERR): Likewise.
2025 (BUS_ADRALN): Likewise.
2026 (BUS_ADRERR): Likewise.
2027 (BUS_OBJERR): Likewise.
2028 (BUS_MCEERR_AR): Likewise.
2029 (BUS_MCEERR_AO): Likewise.
2030 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2031 (TRAP_TRACE): Likewise.
2032 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2033 __USE_XOPEN2K8].
2034 (CLD_KILLED): Likewise.
2035 (CLD_DUMPED): Likewise.
2036 (CLD_TRAPPED): Likewise.
2037 (CLD_STOPPED): Likewise.
2038 (CLD_CONTINUED): Likewise.
2039 (POLL_IN): Likewise.
2040 (POLL_OUT): Likewise.
2041 (POLL_MSG): Likewise.
2042 (POLL_ERR): Likewise.
2043 (POLL_PRI): Likewise.
2044 (POLL_HUP): Likewise.
2045 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2046 (ILL_ILLOPN): Likewise.
2047 (ILL_ILLADR): Likewise.
2048 (ILL_ILLTRP): Likewise.
2049 (ILL_PRVOPC): Likewise.
2050 (ILL_PRVREG): Likewise.
2051 (ILL_COPROC): Likewise.
2052 (ILL_BADSTK): Likewise.
2053 (FPE_INTDIV): Likewise.
2054 (FPE_INTOVF): Likewise.
2055 (FPE_FLTDIV): Likewise.
2056 (FPE_FLTOVF): Likewise.
2057 (FPE_FLTUND): Likewise.
2058 (FPE_FLTRES): Likewise.
2059 (FPE_FLTINV): Likewise.
2060 (FPE_FLTSUB): Likewise.
2061 (SEGV_MAPERR): Likewise.
2062 (SEGV_ACCERR): Likewise.
2063 (BUS_ADRALN): Likewise.
2064 (BUS_ADRERR): Likewise.
2065 (BUS_OBJERR): Likewise.
2066 (BUS_MCEERR_AR): Likewise.
2067 (BUS_MCEERR_AO): Likewise.
2068 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2069 (TRAP_TRACE): Likewise.
2070 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2071 __USE_XOPEN2K8].
2072 (CLD_KILLED): Likewise.
2073 (CLD_DUMPED): Likewise.
2074 (CLD_TRAPPED): Likewise.
2075 (CLD_STOPPED): Likewise.
2076 (CLD_CONTINUED): Likewise.
2077 (POLL_IN): Likewise.
2078 (POLL_OUT): Likewise.
2079 (POLL_MSG): Likewise.
2080 (POLL_ERR): Likewise.
2081 (POLL_PRI): Likewise.
2082 (POLL_HUP): Likewise.
2083 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2084 (ILL_ILLOPN): Likewise.
2085 (ILL_ILLADR): Likewise.
2086 (ILL_ILLTRP): Likewise.
2087 (ILL_PRVOPC): Likewise.
2088 (ILL_PRVREG): Likewise.
2089 (ILL_COPROC): Likewise.
2090 (ILL_BADSTK): Likewise.
2091 (FPE_INTDIV): Likewise.
2092 (FPE_INTOVF): Likewise.
2093 (FPE_FLTDIV): Likewise.
2094 (FPE_FLTOVF): Likewise.
2095 (FPE_FLTUND): Likewise.
2096 (FPE_FLTRES): Likewise.
2097 (FPE_FLTINV): Likewise.
2098 (FPE_FLTSUB): Likewise.
2099 (SEGV_MAPERR): Likewise.
2100 (SEGV_ACCERR): Likewise.
2101 (BUS_ADRALN): Likewise.
2102 (BUS_ADRERR): Likewise.
2103 (BUS_OBJERR): Likewise.
2104 (BUS_MCEERR_AR): Likewise.
2105 (BUS_MCEERR_AO): Likewise.
2106 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2107 (TRAP_TRACE): Likewise.
2108 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2109 __USE_XOPEN2K8].
2110 (CLD_KILLED): Likewise.
2111 (CLD_DUMPED): Likewise.
2112 (CLD_TRAPPED): Likewise.
2113 (CLD_STOPPED): Likewise.
2114 (CLD_CONTINUED): Likewise.
2115 (POLL_IN): Likewise.
2116 (POLL_OUT): Likewise.
2117 (POLL_MSG): Likewise.
2118 (POLL_ERR): Likewise.
2119 (POLL_PRI): Likewise.
2120 (POLL_HUP): Likewise.
2121 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2122 (ILL_ILLOPN): Likewise.
2123 (ILL_ILLADR): Likewise.
2124 (ILL_ILLTRP): Likewise.
2125 (ILL_PRVOPC): Likewise.
2126 (ILL_PRVREG): Likewise.
2127 (ILL_COPROC): Likewise.
2128 (ILL_BADSTK): Likewise.
2129 (ILL_DBLFLT): Likewise.
2130 (ILL_HARDWALL): Likewise.
2131 (FPE_INTDIV): Likewise.
2132 (FPE_INTOVF): Likewise.
2133 (FPE_FLTDIV): Likewise.
2134 (FPE_FLTOVF): Likewise.
2135 (FPE_FLTUND): Likewise.
2136 (FPE_FLTRES): Likewise.
2137 (FPE_FLTINV): Likewise.
2138 (FPE_FLTSUB): Likewise.
2139 (SEGV_MAPERR): Likewise.
2140 (SEGV_ACCERR): Likewise.
2141 (BUS_ADRALN): Likewise.
2142 (BUS_ADRERR): Likewise.
2143 (BUS_OBJERR): Likewise.
2144 (BUS_MCEERR_AR): Likewise.
2145 (BUS_MCEERR_AO): Likewise.
2146 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2147 (TRAP_TRACE): Likewise.
2148 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2149 __USE_XOPEN2K8].
2150 (CLD_KILLED): Likewise.
2151 (CLD_DUMPED): Likewise.
2152 (CLD_TRAPPED): Likewise.
2153 (CLD_STOPPED): Likewise.
2154 (CLD_CONTINUED): Likewise.
2155 (POLL_IN): Likewise.
2156 (POLL_OUT): Likewise.
2157 (POLL_MSG): Likewise.
2158 (POLL_ERR): Likewise.
2159 (POLL_PRI): Likewise.
2160 (POLL_HUP): Likewise.
2161 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2162 (ILL_ILLOPN): Likewise.
2163 (ILL_ILLADR): Likewise.
2164 (ILL_ILLTRP): Likewise.
2165 (ILL_PRVOPC): Likewise.
2166 (ILL_PRVREG): Likewise.
2167 (ILL_COPROC): Likewise.
2168 (ILL_BADSTK): Likewise.
2169 (FPE_INTDIV): Likewise.
2170 (FPE_INTOVF): Likewise.
2171 (FPE_FLTDIV): Likewise.
2172 (FPE_FLTOVF): Likewise.
2173 (FPE_FLTUND): Likewise.
2174 (FPE_FLTRES): Likewise.
2175 (FPE_FLTINV): Likewise.
2176 (FPE_FLTSUB): Likewise.
2177 (SEGV_MAPERR): Likewise.
2178 (SEGV_ACCERR): Likewise.
2179 (BUS_ADRALN): Likewise.
2180 (BUS_ADRERR): Likewise.
2181 (BUS_OBJERR): Likewise.
2182 (BUS_MCEERR_AR): Likewise.
2183 (BUS_MCEERR_AO): Likewise.
2184 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2185 (TRAP_TRACE): Likewise.
2186 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2187 __USE_XOPEN2K8].
2188 (CLD_KILLED): Likewise.
2189 (CLD_DUMPED): Likewise.
2190 (CLD_TRAPPED): Likewise.
2191 (CLD_STOPPED): Likewise.
2192 (CLD_CONTINUED): Likewise.
2193 (POLL_IN): Likewise.
2194 (POLL_OUT): Likewise.
2195 (POLL_MSG): Likewise.
2196 (POLL_ERR): Likewise.
2197 (POLL_PRI): Likewise.
2198 (POLL_HUP): Likewise.
2199 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2200 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2201
bc61d27c
JM
2202 [BZ #16670]
2203 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2204 before #include of <time.h>.
2205 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2206 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2207 (test-xfail-UNIX98/sched.h/conform): Likewise.
2208
302949e2
MS
22092014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2210
2211 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2212 error absence of trapping exception support.
2213 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2214
a00f522a
JM
22152014-03-07 Joseph Myers <joseph@codesourcery.com>
2216
6f99f280
JM
2217 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2218 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2219 * timezone/Makefile (testdata): Move definition above include of
2220 Rules.
2221 (test-zones): New variable.
2222 (tests-special): Add zone files.
2223 (build-testdata): Use $(evaluate-test).
2224
0b20a9e8
JM
2225 * elf/Makefile (tests-special): Rename tests to end with .out.
2226 ($(objpfx)noload-mem): Likewise.
2227 ($(objpfx)tst-leaks1-mem): Likewise.
2228 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2229 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2230 $(objpfx)test-iconvconfig.out.
2231 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2232 set -e inside subshell and redirect output to file.
2233 * iconvdata/Makefile (generated): Rename tests to end with .out.
2234 Correct type.
2235 (tests-special): Rename tests to end with .out.
2236 ($(objpfx)mtrace-tst-loading): Likewise.
2237 * intl/Makefile (generated): Likewise.
2238 (tests-special): Likewise.
2239 ($(objpfx)mtrace-tst-gettext): Likewise.
2240 * misc/Makefile (generated): Likewise.
2241 (tests-special): Likewise.
2242 ($(objpfx)tst-error1-mem): Likewise.
2243 * nptl/Makefile (tests-special): Likewise.
2244 ($(objpfx)tst-stack3-mem): Likewise.
2245 (generated): Likewise.
2246 * posix/Makefile (generated): Likewise.
2247 (tests-special): Likewise.
2248 (xtests-special): Likewise.
2249 ($(objpfx)tst-fnmatch-mem): Likewise.
2250 ($(objpfx)bug-regex2-mem): Likewise.
2251 ($(objpfx)bug-regex14-mem): Likewise.
2252 ($(objpfx)bug-regex21-mem): Likewise.
2253 ($(objpfx)bug-regex31-mem): Likewise.
2254 ($(objpfx)tst-vfork3-mem): Likewise.
2255 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2256 ($(objpfx)tst-pcre-mem): Likewise.
2257 ($(objpfx)tst-boost-mem): Likewise.
2258 ($(objpfx)bug-ga2-mem): Likewise.
2259 ($(objpfx)bug-glob2-mem): Likewise.
2260 * resolv/Makefile (generate): Likewise.
2261 (tests-special): Likewise.
2262 (xtests-special): Likewise.
2263 (generated): Likewise.
2264 ($(objpfx)mtrace-tst-leaks): Likewise.
2265 ($(objpfx)mtrace-tst-leaks2): Likewise.
2266
265d52ab
JM
2267 * scripts/merge-test-results.sh: New file.
2268 * Makefile (tests-special-notdir): New variable.
2269 (tests): Run merge-test-results.sh.
2270 (xtests): Likewise.
2271 * Rules (tests-special-notdir): New variable.
2272 (xtests-special-notdir): Likewise.
2273 (tests): Run merge-test-results.sh
2274 (xtests): Likewise.
2275
54ee292d
JM
2276 * Makeconfig (test-xfail-name): New variable.
2277 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2278 compute variable name for expected failures.
2279 * conform/Makefile (conformtest-headers-data): New variable.
2280 (conformtest-standards): Likewise.
2281 (conformtest-headers-ISO): Likewise.
2282 (conformtest-headers-ISO99): Likewise.
2283 (conformtest-headers-ISO11): Likewise.
2284 (conformtest-headers-POSIX): Likewise.
2285 (conformtest-headers-XPG3): Likewise.
2286 (conformtest-headers-XPG4): Likewise.
2287 (conformtest-headers-UNIX98): Likewise.
2288 (conformtest-headers-XOPEN2K): Likewise.
2289 (conformtest-headers-POSIX2008): Likewise.
2290 (conformtest-headers-XOPEN2K8): Likewise.
2291 (conformtest-header-list-base): Likewise.
2292 (conformtest-header-list-tests): Likewise.
2293 (conformtest-header-base): Likewise.
2294 (conformtest-header-tests): Likewise.
2295 (tests-special): Add $(conformtest-header-list-tests). If
2296 [$(fast-check) && !$(cross-compiling)], add
2297 $(conformtest-header-tests) instead of
2298 $(objpfx)run-conformtest.out.
2299 (generated): Add $(conformtest-header-list-base). If
2300 [$(fast-check) && !$(cross-compiling)], add
2301 $(conformtest-header-base). Remove previous setting.
2302 ($(conformtest-header-list-tests)): New target.
2303 (test-xfail-run-conformtest): Remove variable.
2304 ($(objpfx)run-conformtest.out): Remove target.
2305 (test-xfail-ISO11/complex.h/conform): New variable.
2306 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2307 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2308 (test-xfail-XPG3/varargs.h/conform): Likewise.
2309 (test-xfail-XPG4/varargs.h/conform): Likewise.
2310 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2311 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2312 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2313 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2314 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2315 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2316 (test-xfail-XPG3/ftw.h/conform): Likewise.
2317 (test-xfail-XPG3/grp.h/conform): Likewise.
2318 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2319 (test-xfail-XPG3/limits.h/conform): Likewise.
2320 (test-xfail-XPG3/pwd.h/conform): Likewise.
2321 (test-xfail-XPG3/search.h/conform): Likewise.
2322 (test-xfail-XPG3/signal.h/conform): Likewise.
2323 (test-xfail-XPG3/stdio.h/conform): Likewise.
2324 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2325 (test-xfail-XPG3/string.h/conform): Likewise.
2326 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2327 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2328 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2329 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2330 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2331 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2332 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2333 (test-xfail-XPG3/termios.h/conform): Likewise.
2334 (test-xfail-XPG3/time.h/conform): Likewise.
2335 (test-xfail-XPG3/unistd.h/conform): Likewise.
2336 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2337 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2338 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2339 (test-xfail-XPG4/netdb.h/conform): Likewise.
2340 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2341 (test-xfail-XPG4/signal.h/conform): Likewise.
2342 (test-xfail-XPG4/stdio.h/conform): Likewise.
2343 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2344 (test-xfail-XPG4/stropts.h/conform): Likewise.
2345 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2346 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2347 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2348 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2349 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2350 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2351 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2352 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2353 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2354 (test-xfail-XPG4/termios.h/conform): Likewise.
2355 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2356 (test-xfail-XPG4/unistd.h/conform): Likewise.
2357 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2358 (test-xfail-POSIX/sched.h/conform): Likewise.
2359 (test-xfail-POSIX/signal.h/conform): Likewise.
2360 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2361 (test-xfail-POSIX/tar.h/conform): Likewise.
2362 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2363 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2364 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2365 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2366 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2367 (test-xfail-UNIX98/sched.h/conform): Likewise.
2368 (test-xfail-UNIX98/signal.h/conform): Likewise.
2369 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2370 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2371 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2372 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2373 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2374 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2375 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2376 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2377 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2378 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2379 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2380 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2381 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2382 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2383 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2384 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2385 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2386 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2387 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2388 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2389 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2390 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2391 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2392 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2393 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2394 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2395 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2396 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2397 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2398 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2399 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2400 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2401 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2402 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2403 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2404 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2405 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2406 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2407 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2408 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2409 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2410 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2411 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2412 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2413 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2414 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2415 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2416 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2417 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2418 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2419 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2420 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2421 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2422 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2423 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2424 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2425 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2426 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2427 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2428 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2429 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2430 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2431 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2432 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2433 (conformtest-cc-flags): Likewise.
2434 ($(conformtest-header-tests): New target.
2435 * conform/check-header-lists.sh: New file.
2436 * conform/run-conformtest.sh: Remove.
2437
a00f522a
JM
2438 * conform/conformtest.pl: Allow ' and \ in values given for
2439 constants.
2440 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2441 inclusion.
2442 [POSIX] (sys/types.h): Likewise.
2443 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2444 inclusion.
2445 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2446 inclusion.
2447 * conform/data/signal.h-data (SIGIO): Remove expectation.
2448 [XPG3] (SIGBUS): Do not expect.
2449 [POSIX || XPG3] (SIGPOLL): Likewise.
2450 [POSIX || XPG3] (SIGPROF): Likewise.
2451 [POSIX || XPG3] (SIGSYS): Likewise.
2452 [XPG3] (SIGTRAP): Likewise.
2453 [POSIX || XPG3] (SIGURG): Likewise.
2454 [POSIX || XPG3] (SIGVTALRM): Likewise.
2455 [POSIX || XPG3] (SIGXCPU): Likewise.
2456 [POSIX || XPG3] (SIGXFSZ): Likewise.
2457 [POSIX] (SA_SIGINFO): Expect.
2458 [XPG3] (siginfo_t): Do not expect type or contents.
2459 [POSIX] (si_pid): Do not expect element.
2460 [POSIX] (si_uid): Likewise.
2461 [POSIX] (si_addr): Likewise.
2462 [POSIX] (si_status): Likewise.
2463 [POSIX] (si_band): Likewise.
2464 [XPG4] (si_value): Likewise.
2465 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2466 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2467 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2468 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2469 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2470 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2471 [POSIX || XPG3] (ILL_COPROC): Likewise.
2472 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2473 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2474 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2475 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2476 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2477 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2478 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2479 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2480 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2481 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2482 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2483 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2484 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2485 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2486 [POSIX || XPG3] (CLD_EXITED): Likewise.
2487 [POSIX || XPG3] (CLD_KILLED): Likewise.
2488 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2489 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2490 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2491 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2492 [POSIX || XPG3] (POLL_IN): Likewise.
2493 [POSIX || XPG3] (POLL_OUT): Likewise.
2494 [POSIX || XPG3] (POLL_MSG): Likewise.
2495 [POSIX || XPG3] (POLL_ERR): Likewise.
2496 [POSIX || XPG3] (POLL_PRI): Likewise.
2497 [POSIX || XPG3] (POLL_HUP): Likewise.
2498 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2499 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2500 (SIG*): Do not allow.
2501 [XPG3] (si_*): Likewise.
2502 [XPG3] (SI_*): Likewise.
2503 [XPG3 || XPG4] (sigev_*): Likewise.
2504 [XPG3 || XPG4] (SIGEV_*): Likewise.
2505 [XPG3 || XPG4] (sival_*): Likewise.
2506 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2507 [POSIX || XPG3] (BUS_*): Likewise.
2508 [POSIX || XPG3] (CLD_*): Likewise.
2509 [POSIX || XPG3] (FPE_*): Likewise.
2510 [POSIX || XPG3] (ILL_*): Likewise.
2511 [POSIX || XPG3] (POLL_*): Likewise.
2512 [POSIX || XPG3] (SEGV_*): Likewise.
2513 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2514 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2515 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2516 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2517 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2518 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2519 Specify type and value.
2520 (TVERSLEN): Likewise.
2521 (REGTYPE): Likewise.
2522 (AREGTYPE): Likewise.
2523 (LNKTYPE): Likewise.
2524 (SYMTYPE): Likewise.
2525 (CHRTYPE): Likewise.
2526 (BLKTYPE): Likewise.
2527 (DIRTYPE): Likewise.
2528 (FIFOTYPE): Likewise.
2529 (CONTTYPE): Likewise.
2530 (TSUID): Likewise.
2531 (TSGID): Likewise.
2532 (TSVTX): Likewise.
2533 (TUREAD): Likewise.
2534 (TUWRITE): Likewise.
2535 (TUEXEC): Likewise.
2536 (TGREAD): Likewise.
2537 (TGWRITE): Likewise.
2538 (TGEXEC): Likewise.
2539 (TOREAD): Likewise.
2540 (TOWRITE): Likewise.
2541 (TOEXEC): Likewise.
2542 [POSIX] (TSVTX): Expect constant.
2543
aa97dee1
JM
25442014-03-06 Joseph Myers <joseph@codesourcery.com>
2545
f214606a
JM
2546 * Makefile (tests): Change dependencies to ....
2547 (tests-special): ... additions to this variable.
2548 (tests): Depend on $(tests-special).
2549 * Makerules (check-abi-list): New variable.
2550 (check-abi): Depend on $(check-abi-list).
2551 [$(subdir) = elf] (tests-special): Add
2552 $(objpfx)check-abi-libc.out.
2553 [$(build-shared) = yes && subdir] (tests-special): Add
2554 $(check-abi-list).
2555 [$(build-shared) = yes && subdir] (tests): Do not depend on
2556 check-abi.
2557 * Rules (tests): Depend on $(tests-special).
2558 (xtests): Depend on $(xtests-special).
2559 * catgets/Makefile (tests): Change dependencies to ....
2560 (tests-special): ... additions to this variable.
2561 * conform/Makefile (tests): Change dependencies to ....
2562 (tests-special): ... additions to this variable.
2563 * elf/Makefile (tests): Change dependencies to ....
2564 (tests-special): ... additions to this variable.
2565 * grp/Makefile (tests): Change dependencies to ....
2566 (tests-special): ... additions to this variable.
2567 * iconv/Makefile (xtests): Change dependencies to ....
2568 (xtests-special): ... additions to this variable.
2569 * iconvdata/Makefile (tests): Change dependencies to ....
2570 (tests-special): ... additions to this variable.
2571 * intl/Makefile (tests): Change dependencies to ....
2572 (tests-special): ... additions to this variable. Also add
2573 $(objpfx)tst-gettext.out.
2574 * io/Makefile (tests): Change dependencies to ....
2575 (tests-special): ... additions to this variable.
2576 * libio/Makefile (tests): Change dependencies to ....
2577 (tests-special): ... additions to this variable.
2578 * malloc/Makefile (tests): Change dependencies to ....
2579 (tests-special): ... additions to this variable.
2580 * misc/Makefile (tests): Change dependencies to ....
2581 (tests-special): ... additions to this variable.
2582 * nptl/Makefile (tests): Change dependencies to ....
2583 (tests-special): ... additions to this variable.
2584 * nptl_db/Makefile (tests): Change dependencies to ....
2585 (tests-special): ... additions to this variable.
2586 * posix/Makefile (tests): Change dependencies to ....
2587 (tests-special): ... additions to this variable.
2588 (xtests): Change dependencies to ....
2589 (xtests-special): ... additions to this variable.
2590 * resolv/Makefile (tests): Change dependencies to ....
2591 (tests-special): ... additions to this variable.
2592 (xtests): Change dependencies to ....
2593 (xtests-special): ... additions to this variable.
2594 * stdio-common/Makefile (tests): Change dependencies to ....
2595 (tests-special): ... additions to this variable.
2596 (do-tst-unbputc): Remove target.
2597 (do-tst-printf): Likewise.
2598 * stdlib/Makefile (tests): Change dependencies to ....
2599 (tests-special): ... additions to this variable.
2600 * string/Makefile (tests): Change dependencies to ....
2601 (tests-special): ... additions to this variable.
2602 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2603 (tests-special): ... additions to this variable.
2604
81700b53
JM
2605 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2606 whole file.
2607 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2608 whole file.
2609 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2610 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2611
2ea18461
JM
2612 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2613 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2614 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2615 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2616 * conform/data/libgen.h-data [XPG3]: Likewise.
2617 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2618 * conform/data/ndbm.h-data [XPG3]: Likewise.
2619 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2620 * conform/data/netdb.h-data [XPG3]: Likewise.
2621 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2622 * conform/data/poll.h-data [XPG3]: Likewise.
2623 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2624 * conform/data/strings.h-data [XPG3]: Likewise.
2625 * conform/data/stropts.h-data [XPG3]: Likewise.
2626 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2627 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2628 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2629 Likewise.
2630 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2631 * conform/data/sys/time.h-data [XPG3]: Likewise.
2632 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2633 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2634 * conform/data/sys/un.h-data [XPG3]: Likewise.
2635 * conform/data/syslog.h-data [XPG3]: Likewise.
2636 * conform/data/ucontext.h-data [XPG3]: Likewise.
2637 * conform/data/utmpx.h-data [XPG3]: Likewise.
2638 * conform/data/varargs.h-data [UNIX98]: Enable file.
2639
355bc986
JM
2640 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2641
215db402
JM
2642 * math/libm-test.inc (struct test_f_f_data): Move expected results
2643 into structure for each rounding mode.
2644 (struct test_ff_f_data): Likewise.
2645 (struct test_ff_f_data_nexttoward): Likewise.
2646 (struct test_fi_f_data): Likewise.
2647 (struct test_fl_f_data): Likewise.
2648 (struct test_if_f_data): Likewise.
2649 (struct test_fff_f_data): Likewise.
2650 (struct test_c_f_data): Likewise.
2651 (struct test_f_f1_data): Likewise.
2652 (struct test_fF_f1_data): Likewise.
2653 (struct test_ffI_f1_data): Likewise.
2654 (struct test_c_c_data): Likewise.
2655 (struct test_cc_c_data): Likewise.
2656 (struct test_f_i_data): Likewise.
2657 (struct test_ff_i_data): Likewise.
2658 (struct test_f_l_data): Likewise.
2659 (struct test_f_L_data): Likewise.
2660 (struct test_fFF_11_data): Likewise.
2661 (RM_): New macro.
2662 (RM_FE_DOWNWARD): Likewise.
2663 (RM_FE_TONEAREST): Likewise.
2664 (RM_FE_TOWARDZERO): Likewise.
2665 (RM_FE_UPWARD): Likewise.
2666 (RUN_TEST_LOOP_f_f): Update references to expected results.
2667 (RUN_TEST_LOOP_2_f): Likewise.
2668 (RUN_TEST_LOOP_fff_f): Likewise.
2669 (RUN_TEST_LOOP_c_f): Likewise.
2670 (RUN_TEST_LOOP_f_f1): Likewise.
2671 (RUN_TEST_LOOP_fF_f1): Likewise.
2672 (RUN_TEST_LOOP_fI_f1): Likewise.
2673 (RUN_TEST_LOOP_ffI_f1): Likewise.
2674 (RUN_TEST_LOOP_c_c): Likewise.
2675 (RUN_TEST_LOOP_cc_c): Likewise.
2676 (RUN_TEST_LOOP_f_i): Likewise.
2677 (RUN_TEST_LOOP_f_i_tg): Likewise.
2678 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2679 (RUN_TEST_LOOP_f_b): Likewise.
2680 (RUN_TEST_LOOP_f_b_tg): Likewise.
2681 (RUN_TEST_LOOP_f_l): Likewise.
2682 (RUN_TEST_LOOP_f_L): Likewise.
2683 (RUN_TEST_LOOP_fFF_11): Likewise.
2684 * math/gen-libm-test.pl (parse_args): Output four copies of
2685 expected results for each test.
2686
67737b8f
JM
2687 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2688 (__ASSUME_UTIMES): Remove.
2689 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2690 (__ASSUME_UTIMES): Likewise.
2691
aa97dee1
JM
2692 * math/gen-auto-libm-tests.c: Update comment on output format.
2693 (output_for_one_input_case): Generate before-rounding and
2694 after-rounding information as conditions on output flags not
2695 floating-point format.
2696 * math/auto-libm-test-out: Regenerated.
2697 * math/gen-libm-test.pl (cond_value): New function.
2698 (or_cond_value): Use cond_value.
2699 (generate_testfile): Handle conditional exceptions.
2700
e6b6a857
JM
27012014-03-05 Joseph Myers <joseph@codesourcery.com>
2702
2f0a0f44
JM
2703 * math/libm-test.inc (max_valid_error): New variable.
2704 (init_max_error): Take new argument specifying whether function
2705 results are exactly determined. Set max_valid_error and bound
2706 other variables for errors based on this argument.
2707 (set_max_error): Do not record results above max_valid_error.
2708 (check_float_internal): Only accept errors of up to 0.5ulps if
2709 also at most max_valid_error.
2710 (START): Take new argument EXACT and pass it to init_max_error.
2711 (acos_test): Update call to START.
2712 (acos_test_tonearest): Likewise.
2713 (acos_test_towardzero): Likewise.
2714 (acos_test_downward): Likewise.
2715 (acos_test_upward): Likewise.
2716 (acosh_test): Likewise.
2717 (asin_test): Likewise.
2718 (asin_test_tonearest): Likewise.
2719 (asin_test_towardzero): Likewise.
2720 (asin_test_downward): Likewise.
2721 (asin_test_upward): Likewise.
2722 (asinh_test): Likewise.
2723 (atan_test): Likewise.
2724 (atanh_test): Likewise.
2725 (atan2_test): Likewise.
2726 (cabs_test): Likewise.
2727 (cacos_test): Likewise.
2728 (cacosh_test): Likewise.
2729 (carg_test): Likewise.
2730 (casin_test): Likewise.
2731 (casinh_test): Likewise.
2732 (catan_test): Likewise.
2733 (catanh_test): Likewise.
2734 (cbrt_test): Likewise.
2735 (ccos_test): Likewise.
2736 (ccosh_test): Likewise.
2737 (ceil_test): Likewise.
2738 (cexp_test): Likewise.
2739 (cimag_test): Likewise.
2740 (clog_test): Likewise.
2741 (clog10_test): Likewise.
2742 (conj_test): Likewise.
2743 (copysign_test): Likewise.
2744 (cos_test): Likewise.
2745 (cos_test_tonearest): Likewise.
2746 (cos_test_towardzero): Likewise.
2747 (cos_test_downward): Likewise.
2748 (cos_test_upward): Likewise.
2749 (cosh_test): Likewise.
2750 (cosh_test_tonearest): Likewise.
2751 (cosh_test_towardzero): Likewise.
2752 (cosh_test_downward): Likewise.
2753 (cosh_test_upward): Likewise.
2754 (cpow_test): Likewise.
2755 (cproj_test): Likewise.
2756 (creal_test): Likewise.
2757 (csin_test): Likewise.
2758 (csinh_test): Likewise.
2759 (csqrt_test): Likewise.
2760 (ctan_test): Likewise.
2761 (ctan_test_tonearest): Likewise.
2762 (ctan_test_towardzero): Likewise.
2763 (ctan_test_downward): Likewise.
2764 (ctan_test_upward): Likewise.
2765 (ctanh_test): Likewise.
2766 (ctanh_test_tonearest): Likewise.
2767 (ctanh_test_towardzero): Likewise.
2768 (ctanh_test_downward): Likewise.
2769 (ctanh_test_upward): Likewise.
2770 (erf_test): Likewise.
2771 (erfc_test): Likewise.
2772 (exp_test): Likewise.
2773 (exp_test_tonearest): Likewise.
2774 (exp_test_towardzero): Likewise.
2775 (exp_test_downward): Likewise.
2776 (exp_test_upward): Likewise.
2777 (exp10_test): Likewise.
2778 (exp10_test_tonearest): Likewise.
2779 (exp10_test_towardzero): Likewise.
2780 (exp10_test_downward): Likewise.
2781 (exp10_test_upward): Likewise.
2782 (pow10_test): Likewise.
2783 (exp2_test): Likewise.
2784 (expm1_test): Likewise.
2785 (expm1_test_tonearest): Likewise.
2786 (expm1_test_towardzero): Likewise.
2787 (expm1_test_downward): Likewise.
2788 (expm1_test_upward): Likewise.
2789 (fabs_test): Likewise.
2790 (fdim_test): Likewise.
2791 (floor_test): Likewise.
2792 (fma_test): Likewise.
2793 (fma_test_towardzero): Likewise.
2794 (fma_test_downward): Likewise.
2795 (fma_test_upward): Likewise.
2796 (fmax_test): Likewise.
2797 (fmin_test): Likewise.
2798 (fmod_test): Likewise.
2799 (fpclassify_test): Likewise.
2800 (frexp_test): Likewise.
2801 (hypot_test): Likewise.
2802 (ilogb_test): Likewise.
2803 (isfinite_test): Likewise.
2804 (finite_test): Likewise.
2805 (isgreater_test): Likewise.
2806 (isgreaterequal_test): Likewise.
2807 (isinf_test): Likewise.
2808 (isless_test): Likewise.
2809 (islessequal_test): Likewise.
2810 (islessgreater_test): Likewise.
2811 (isnan_test): Likewise.
2812 (isnormal_test): Likewise.
2813 (issignaling_test): Likewise.
2814 (isunordered_test): Likewise.
2815 (j0_test): Likewise.
2816 (j1_test): Likewise.
2817 (jn_test): Likewise.
2818 (ldexp_test): Likewise.
2819 (lgamma_test): Likewise.
2820 (gamma_test): Likewise.
2821 (lrint_test): Likewise.
2822 (lrint_test_tonearest): Likewise.
2823 (lrint_test_towardzero): Likewise.
2824 (lrint_test_downward): Likewise.
2825 (lrint_test_upward): Likewise.
2826 (llrint_test): Likewise.
2827 (llrint_test_tonearest): Likewise.
2828 (llrint_test_towardzero): Likewise.
2829 (llrint_test_downward): Likewise.
2830 (llrint_test_upward): Likewise.
2831 (log_test): Likewise.
2832 (log10_test): Likewise.
2833 (log1p_test): Likewise.
2834 (log2_test): Likewise.
2835 (logb_test): Likewise.
2836 (logb_test_downward): Likewise.
2837 (lround_test): Likewise.
2838 (llround_test): Likewise.
2839 (modf_test): Likewise.
2840 (nearbyint_test): Likewise.
2841 (nextafter_test): Likewise.
2842 (nexttoward_test): Likewise.
2843 (pow_test): Likewise.
2844 (pow_test_tonearest): Likewise.
2845 (pow_test_towardzero): Likewise.
2846 (pow_test_downward): Likewise.
2847 (pow_test_upward): Likewise.
2848 (remainder_test): Likewise.
2849 (drem_test): Likewise.
2850 (remainder_test_tonearest): Likewise.
2851 (drem_test_tonearest): Likewise.
2852 (remainder_test_towardzero): Likewise.
2853 (drem_test_towardzero): Likewise.
2854 (remainder_test_downward): Likewise.
2855 (drem_test_downward): Likewise.
2856 (remainder_test_upward): Likewise.
2857 (drem_test_upward): Likewise.
2858 (remquo_test): Likewise.
2859 (rint_test): Likewise.
2860 (rint_test_tonearest): Likewise.
2861 (rint_test_towardzero): Likewise.
2862 (rint_test_downward): Likewise.
2863 (rint_test_upward): Likewise.
2864 (round_test): Likewise.
2865 (scalb_test): Likewise.
2866 (scalbn_test): Likewise.
2867 (scalbln_test): Likewise.
2868 (signbit_test): Likewise.
2869 (sin_test): Likewise.
2870 (sin_test_tonearest): Likewise.
2871 (sin_test_towardzero): Likewise.
2872 (sin_test_downward): Likewise.
2873 (sin_test_upward): Likewise.
2874 (sincos_test): Likewise.
2875 (sinh_test): Likewise.
2876 (sinh_test_tonearest): Likewise.
2877 (sinh_test_towardzero): Likewise.
2878 (sinh_test_downward): Likewise.
2879 (sinh_test_upward): Likewise.
2880 (sqrt_test): Likewise.
2881 (sqrt_test_tonearest): Likewise.
2882 (sqrt_test_towardzero): Likewise.
2883 (sqrt_test_downward): Likewise.
2884 (sqrt_test_upward): Likewise.
2885 (tan_test): Likewise.
2886 (tan_test_tonearest): Likewise.
2887 (tan_test_towardzero): Likewise.
2888 (tan_test_downward): Likewise.
2889 (tan_test_upward): Likewise.
2890 (tanh_test): Likewise.
2891 (tgamma_test): Likewise.
2892 (trunc_test): Likewise.
2893 (y0_test): Likewise.
2894 (y1_test): Likewise.
2895 (yn_test): Likewise.
2896 (significand_test): Likewise.
2897
e6b6a857
JM
2898 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2899 individual tests in comment.
2900 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2901 (prev_max_error): New variable.
2902 (prev_real_max_error): Likewise.
2903 (prev_imag_max_error): Likewise.
2904 (compare_ulp_data): Don't refer to test names in comment.
2905 (find_test_ulps): Remove function.
2906 (find_function_ulps): Likewise.
2907 (find_complex_function_ulps): Likewise.
2908 (init_max_error): Take function name as argument. Look up ulps
2909 for that function.
2910 (print_ulps): Remove function.
2911 (print_max_error): Use prev_max_error instead of calling
2912 find_function_ulps.
2913 (print_complex_max_error): Use prev_real_max_error and
2914 prev_imag_max_error instead of calling find_complex_function_ulps.
2915 (check_float_internal): Take max_ulp parameter instead of calling
2916 find_test_ulps. Don't call print_ulps.
2917 (check_float): Update call to check_float_internal.
2918 (check_complex): Update calls to check_float_internal.
2919 (START): Pass argument to init_max_error.
2920 * math/gen-libm-test.pl (%results): Don't include "kind"
2921 information.
2922 (parse_ulps): Don't handle ulps of individual tests.
2923 (print_ulps_file): Likewise.
2924 (output_ulps): Likewise.
2925 * math/README.libm-test: Update.
2926 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2927 individual tests.
2928 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2929 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2930 * sysdeps/arm/libm-test-ulps: Likewise.
2931 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2932 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2933 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2934 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2935 * sysdeps/microblaze/libm-test-ulps: Likewise.
2936 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2937 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2938 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2939 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2940 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2941 * sysdeps/sh/libm-test-ulps: Likewise.
2942 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2943 * sysdeps/tile/libm-test-ulps: Likewise.
2944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2945
45adef3c
JM
29462014-03-04 Joseph Myers <joseph@codesourcery.com>
2947
2948 * math/libm-test.inc (print_complex_max_error): Check separately
2949 whether real and imaginary errors are within allowed range and
2950 pass 0 to print_complex_function_ulps instead of value within
2951 allowed range.
2952
000232b9
SP
29532014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2954
d4b17258
SP
2955 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2956 formatting.
2957 (get_handles_fopen): Likewise.
2958 (do_write_test): Likewise.
2959
091eff71
SP
2960 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2961
fa3cd248
SP
2962 * libio/fileops.c (do_ftell): Use cached offset when
2963 available.
2964 * libio/iofwide.c (do_ftell_wide): Likewise.
2965 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2966 _IO_file_attach.
2967 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2968
000232b9
SP
2969 [BZ #16532]
2970 * libio/libioP.h (get_file_offset): New function.
2971 * libio/fileops.c (get_file_offset): Likewise.
2972 (do_ftell): Likewise.
2973 (_IO_new_file_seekoff): Split out ftell logic.
2974 * libio/wfileops.c (do_ftell_wide): Likewise.
2975 (_IO_wfile_seekoff): Split out ftell logic.
2976 * libio/tst-ftell-active-handler.c: New test case.
2977 * libio/Makefile (tests): Add it.
2978
116f4d1a
RM
29792014-03-03 Roland McGrath <roland@hack.frob.com>
2980
2981 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2982 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2983
532a6035
SP
29842014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2985
2986 [BZ #16639]
2987 * nscd/connections.c (nscd_init): Call do_exit.
2988 (start_threads): Call do_exit and notify_parent.
2989 (begin_drop_privileges): Call do_exit.
2990 (finish_drop_privileges): Likewise.
2991 * nscd/selinux.c (preserve_capabilities): Likewise.
2992 (install_real_capabilities): Likewise.
2993 (nscd_selinux_enabled): Likewise.
2994 (avc_create_thread): Likewise.
2995 (avc_alloc_lock): Likewise.
2996 (nscd_avc_init): Likewise.
2997 * nscd/nscd.c (parent_fd): New static variable.
2998 (main): Create a pipe between parent and child processes.
2999 Skip closing parent_fd.
3000 (monitor_child): New function.
3001 (do_exit): Likewise.
3002 (notify_parent): Likewise.
3003 * nscd/nscd.h (notify_parent): Likewise.
3004 (do_exit): Likewise.
3005
d6285c9f
CD
30062014-03-03 Carlos O'Donell <carlos@redhat.com>
3007
3008 * malloc/malloc.c (__libc_calloc): Revert last change.
3009
2b85d2a0
AZ
30102014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3011
3012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3013
c7debbdf
RS
30142014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3015
3016 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3018 implementation.
3019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3020 (__libc_ifunc_impl_list): Likewise.
3021 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3022 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3023 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3024 * string/strrchr.c: Define STRRCHR.
3025
235eed86
OB
30262014-02-28 Ondřej Bílka <neleai@seznam.cz>
3027
3028 * benchtest/bench-strtok.c (simple_strtok): Delete.
3029 (strtok_string): Use as benchmark.
3030 * string/strtok (STRTOK): New macro.
3031
8e25d1e7
CD
30322014-02-28 Carlos O'Donell <carlos@redhat.com>
3033
ef563f92
CD
3034 * manual/threads.texi: Add header and standard comments to all
3035 functions.
3036
8e25d1e7
CD
3037 * elf/dl-lookup.c (check_match): New function.
3038 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3039 (do_lookup_x): Remove nested function check_match. Use non-nested
3040 function check_match.
3041
ff71cc37
RM
30422014-02-28 Roland McGrath <roland@hack.frob.com>
3043
f08e9a26
RM
3044 * csu/Makefile (generated, before-compile): Use += rather than =.
3045 * catgets/Makefile (generated, generated-dirs): Likewise.
3046 * debug/Makefile (generated): Likewise.
3047 * dlfcn/Makefile (generated): Likewise.
3048 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3049 * iconvdata/Makefile (before-compile, generated): Likewise.
3050 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3051 * libio/Makefile (generated): Likewise.
3052 * malloc/Makefile (generated): Likewise.
3053 * manual/Makefile (generated, generated-dirs): Likewise.
3054 * misc/Makefile (generated): Likewise.
3055 * posix/Makefile (generated): Likewise.
3056 * resolv/Makefile (generated): Likewise.
3057 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3058 * timezone/Makefile (generated, generated-dirs): Likewise.
3059
ff71cc37
RM
3060 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3061
fe13a20c
AZ
30622014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3063
57f41c40
AS
3064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3065 power8 implementation.
3066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3067 file: POWER8 llround ifunc implementation.
3068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3069 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3070 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3071 POWER8 llround implementation.
3072
57f41c40
AS
3073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3074 power8 implementation.
3075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3076 file: POWER8 llrint ifunc implementation.
3077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3078 Add POWER8 implementation.
1ad8950a
AZ
3079 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3080 POWER8 llrint implementation.
3081
57f41c40
AS
3082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3083 power8 implementation.
3084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3085 file: POWER8 finite ifunc implementation.
3086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3087 Add POWER8 implementation.
cac626d6
AZ
3088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3089 Likewise.
3090 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3091 POWER8 finite implementation.
3092 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3093
57f41c40
AS
3094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3095 power8 implementation.
3096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3097 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3099 POWER8 implementation.
3100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3101 Likewise.
57f41c40
AS
3102 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3103 isinf implementation.
4393fc11
AZ
3104 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3105
57f41c40
AS
3106 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3107 (INIT_ARCH): Add hwcap2 initialization.
3108 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3109 power8 implementation.
3110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3111 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3113 POWER8 implementation.
3114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3115 Likewise.
57f41c40
AS
3116 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3117 isnan implementation.
487972ae
AZ
3118 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3119
7d92b787
JY
31202014-02-27 Joey Ye <joey.ye@arm.com>
3121
3122 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3123 (_FP_NANFRAC_Q): Set to zero.
3124
1cadc858
SP
31252014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3126
3127 [BZ #16623]
3128 * math/auto-libm-test-in: New test inputs.
3129 * math/auto-libm-test-out: Regenerate.
3130 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3131 and DA.
3132 (__cos): Likewise.
3133 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3134
f8c17e79
JM
31352014-02-27 Joseph Myers <joseph@codesourcery.com>
3136
3137 * scripts/evaluate-test.sh: Take new argument indicating whether
3138 failure is expected.
3139 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3140 indicating whether failure is expected.
3141 * conform/Makefile (test-xfail-run-conformtest): New variable.
3142 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3143 level.
3144 * posix/Makefile (test-xfail-annexc): New variable.
3145 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3146
a5f891ac
JM
31472014-02-26 Joseph Myers <joseph@codesourcery.com>
3148
3149 * argp/Makefile: Include Makeconfig immediately after defining
3150 subdir.
3151 * assert/Makefile: Likewise.
3152 * benchtests/Makefile: Likewise.
3153 * catgets/Makefile: Likewise.
3154 * conform/Makefile: Likewise.
3155 * crypt/Makefile: Likewise.
3156 * csu/Makefile: Likewise.
3157 (all): Remove target.
3158 * ctype/Makefile: Include Makeconfig immediately after defining
3159 subdir.
3160 * debug/Makefile: Likewise.
3161 * dirent/Makefile: Likewise.
3162 * dlfcn/Makefile: Likewise.
3163 * gmon/Makefile: Likewise.
3164 * gnulib/Makefile: Likewise.
3165 * grp/Makefile: Likewise.
3166 * gshadow/Makefile: Likewise.
3167 * hesiod/Makefile: Likewise.
3168 * hurd/Makefile: Likewise.
3169 (all): Remove target.
3170 * iconvdata/Makefile: Include Makeconfig immediately after
3171 defining subdir.
3172 * inet/Makefile: Likewise.
3173 * intl/Makefile: Likewise.
3174 * io/Makefile: Likewise.
3175 * libio/Makefile: Likewise.
3176 (all): Remove target.
3177 * locale/Makefile: Include Makeconfig immediately after defining
3178 subdir.
3179 * login/Makefile: Likewise.
3180 * mach/Makefile: Likewise.
3181 (all): Remove target.
3182 * malloc/Makefile: Include Makeconfig immediately after defining
3183 subdir.
3184 (all): Remove target.
3185 * manual/Makefile: Include Makeconfig immediately after defining
3186 subdir.
3187 * math/Makefile: Likewise.
3188 * misc/Makefile: Likewise.
3189 * nis/Makefile: Likewise.
3190 * nss/Makefile: Likewise.
3191 * po/Makefile: Likewise.
3192 (all): Remove target.
3193 * posix/Makefile: Include Makeconfig immediately after defining
3194 subdir.
3195 * pwd/Makefile: Likewise.
3196 * resolv/Makefile: Likewise.
3197 * resource/Makefile: Likewise.
3198 * rt/Makefile: Likewise.
3199 * setjmp/Makefile: Likewise.
3200 * shadow/Makefile: Likewise.
3201 * signal/Makefile: Likewise.
3202 * socket/Makefile: Likewise.
3203 * soft-fp/Makefile: Likewise.
3204 * stdio-common/Makefile: Likewise.
3205 * stdlib/Makefile: Likewise.
3206 * streams/Makefile: Likewise.
3207 * string/Makefile: Likewise.
3208 * sunrpc/Makefile: Likewise.
3209 (all): Remove target.
3210 * sysvipc/Makefile: Include Makeconfig immediately after defining
3211 subdir.
3212 * termios/Makefile: Likewise.
3213 * time/Makefile: Likewise.
3214 * timezone/Makefile: Likewise.
3215 (all): Remove target.
3216 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3217 subdir.
3218 * wctype/Makefile: Likewise.
3219
5b456e9d
SE
32202014-02-26 Steve Ellcey <sellcey@mips.com>
3221
3222 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3223 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3224 (libc_feholdexcept_setround_mips): Ditto.
3225 (libc_feholdsetround): New.
3226 (libc_feholdsetroundf): New.
3227 (libc_feholdsetroundl): New.
3228 (libc_feupdateenv_test_mips): New.
3229 (libc_feupdateenv_test): New.
3230 (libc_feupdateenv_testf): New.
3231 (libc_feupdateenv_testl): New.
3232 (libc_feresetround): New.
3233 (libc_feresetroundf): New.
3234 (libc_feresetroundl): New.
3235 (libc_fetestexcept_mips): New.
3236 (libc_fetestexcept): New.
3237 (libc_fetestexceptf): New.
3238 (libc_fetestexceptl): New.
3239 (HAVE_RM_CTX): New.
3240 (libc_feholdexcept_setround_mips_ctx): New.
3241 (libc_feholdexcept_setround_ctx): New.
3242 (libc_feholdexcept_setroundf_ctx): New.
3243 (libc_feholdexcept_setroundl_ctx): New.
3244 (libc_fesetenv_mips_ctx): New.
3245 (libc_fesetenv_ctx): New.
3246 (libc_fesetenv_ctxf): New.
3247 (libc_fesetenv_ctxl): New.
3248 (libc_feupdateenv_mips_ctx): New.
3249 (libc_feupdateenv_ctx): New.
3250 (libc_feupdateenvf_ctx): New.
3251 (libc_feupdateenvl_ctx): New.
3252 (libc_feholdsetround_mips_ctx): New.
3253 (libc_feholdsetround_ctx): New.
3254 (libc_feholdsetroundf_ctx): New.
3255 (libc_feholdsetroundl_ctx): New.
3256 (libc_feresetround_mips_ctx): New.
3257 (libc_feresetround_ctx): New.
3258 (libc_feresetroundf_ctx): New.
3259 (libc_feresetroundl_ctx): New.
3260
085d0e35
CD
32612014-02-26 Carlos O'Donell <carlos@redhat.com>
3262
f067bf1f
CD
3263 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3264
085d0e35
CD
3265 * manual/ipc.texi: New file.
3266 * manual/Makefile (chapters): Add ipc.
3267 * manual/job.texi: Add "Inter-Process Communication" to next.
3268 * manual/process.texi: Add "Inter-Process Communication" to prev.
3269
86e58c08
AZ
32702014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3271
3272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3273
4248f0da
OB
32742014-02-26 Ondřej Bílka <neleai@seznam.cz>
3275
3276 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3277
cf822e3c
OB
3278 * manual/arith.texi: Fix spaces after sentences.
3279 * manual/charset.texi: Likewise.
3280 * manual/errno.texi: Likewise.
3281 * manual/install.texi: Likewise.
3282 * manual/llio.texi: Likewise.
3283 * manual/locale.texi: Likewise.
3284 * manual/maint.texi: Likewise.
3285 * manual/math.texi: Likewise.
3286 * manual/memory.texi: Likewise.
3287 * manual/message.texi: Likewise.
3288 * manual/probes.texi: Likewise.
3289 * manual/resource.texi: Likewise.
3290 * manual/signal.texi: Likewise.
3291 * manual/socket.texi: Likewise.
3292 * manual/stdio.texi: Likewise.
3293 * manual/string.texi: Likewise.
3294 * manual/time.texi: Likewise.
3295 * manual/users.texi: Likewise.
3296
ade40b10
CD
32972014-02-25 Carlos O'Donell <carlos@redhat.com>
3298
3299 [BZ #16632]
3300 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3301 _DEFAULT_SOURCE is defined.
3302
d0503676
CD
33032014-02-25 Ulrich Drepper <drepper@gmail.com>
3304 Carlos O'Donell <carlos@redhat.com>
3305
3306 [BZ #16613]
3307 * elf/dl-tls.c (_dl_count_modids): New function.
3308 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3309 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3310 audit library and increment generation counter.
3311 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3312 * elf/tst-audit9.c: New file.
3313 * elf/tst-auditmod9a.c: New file.
3314 * elf/tst-auditmod9b.c: New file.
3315 * elf/Makefile: Add rules to build and run tst-audit9.
3316
4cbf380c
FW
33172014-02-25 Florian Weimer <fweimer@redhat.com>
3318
3319 [BZ #15347]
3320 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3321
80a56cc3
WN
33222014-02-25 Will Newton <will.newton@linaro.org>
3323
3324 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3325 (__longjmp): Restore sp and lr before restoring callee
3326 saved registers. Add longjmp and longjmp_target
3327 SystemTap probe point.
3328 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3329 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3330 Define to zero to match jmpbuf layout.
3331 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3332 (__sigsetjmp): Save sp and lr before saving callee
3333 saved registers. Add setjmp SystemTap probe point.
3334
3ea0f74e
SL
33352014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3336
3337 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3338
b04acb26
AS
33392014-02-24 Andreas Schwab <schwab@suse.de>
3340
3341 [BZ #15804]
3342 * elf/pldd.c (wait_for_ptrace_stop): New function.
3343 (main): Call it after attaching.
3344
098ad55c
RM
33452014-02-22 Roland McGrath <roland@hack.frob.com>
3346
d4ec6ae1
RM
3347 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3348 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3349 Versions files is now verboten.
3350 * hurd/Versions (libc: GLIBC_2.0):
3351 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3352 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3353 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3354 * mach/Versions: Likewise.
3355
098ad55c
RM
3356 * csu/Versions: Remove unused %include.
3357 * resolv/Versions: Likewise.
3358
acd7f096
JM
33592014-02-21 Joseph Myers <joseph@codesourcery.com>
3360
f0881698
JM
3361 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3362 ($(objpfx)check-local-headers.out): Likewise.
3363 ($(objpfx)begin-end-check.out): Likewise.
3364 * Makerules (check-abi-%.out): Likewise.
3365 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3366 ($(objpfx)test2.cat): Likewise.
3367 ($(objpfx)de/libc.cat): Likewise.
3368 ($(objpfx)test-gencat.out): Likewise.
3369 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3370 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3371 ($(objpfx)noload-mem): Likewise.
3372 ($(objpfx)tst-pathopt.out): Likewise.
3373 ($(objpfx)tst-rtld-load-self.out): Likewise.
3374 ($(objpfx)tst-array1-cmp.out): Likewise.
3375 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3376 ($(objpfx)tst-array2-cmp.out): Likewise.
3377 ($(objpfx)tst-array3-cmp.out): Likewise.
3378 ($(objpfx)tst-array4-cmp.out): Likewise.
3379 ($(objpfx)tst-array5-cmp.out): Likewise.
3380 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3381 ($(objpfx)check-textrel.out): Likewise.
3382 ($(objpfx)check-execstack.out): Likewise.
3383 ($(objpfx)check-localplt.out): Likewise.
3384 ($(objpfx)order2-cmp.out): Likewise.
3385 ($(objpfx)tst-leaks1-mem): Likewise.
3386 ($(objpfx)tst-leaks1-static-mem): Likewise.
3387 ($(objpfx)tst-initorder-cmp.out): Likewise.
3388 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3389 ($(objpfx)tst-unused-dep.out): Likewise.
3390 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3391 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3392 * iconv/Makefile (test-iconvconfig): Likewise.
3393 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3394 ($(objpfx)iconv-test.out): Likewise.
3395 ($(objpfx)tst-tables.out): Likewise.
3396 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3397 ($(objpfx)tst-gettext.out): Likewise.
3398 ($(objpfx)tst-translit.out): Likewise.
3399 ($(objpfx)tst-gettext2.out): Likewise.
3400 ($(objpfx)tst-gettext4.out): Likewise.
3401 ($(objpfx)tst-gettext6.out): Likewise.
3402 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3403 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3404 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3405 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3406 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3407 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3408 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3409 ($(objpfx)wordexp-tst.out): Likewise.
3410 ($(objpfx)annexc.out): Likewise.
3411 ($(objpfx)tst-fnmatch-mem): Likewise.
3412 ($(objpfx)bug-regex2-mem): Likewise.
3413 ($(objpfx)bug-regex14-mem): Likewise.
3414 ($(objpfx)bug-regex21-mem): Likewise.
3415 ($(objpfx)bug-regex31-mem): Likewise.
3416 ($(objpfx)tst-vfork3-mem): Likewise.
3417 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3418 ($(objpfx)tst-pcre-mem): Likewise.
3419 ($(objpfx)tst-boost-mem): Likewise.
3420 ($(objpfx)tst-getconf.out): Likewise.
3421 ($(objpfx)bug-ga2-mem): Likewise.
3422 ($(objpfx)bug-glob2-mem): Likewise.
3423 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3424 ($(objpfx)mtrace-tst-leaks2): Likewise.
3425 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3426 ($(objpfx)tst-printf.out): Likewise.
3427 ($(objpfx)tst-setvbuf1.out): Likewise.
3428 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3429 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3430 ($(objpfx)tst-fmtmsg.out): Likewise.
3431 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3432 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3433
acd7f096
JM
3434 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3435 * bits/sigaction.h [__USE_MISC]: Likewise.
3436 * bits/waitstatus.h: Update #endif comments.
3437 * ctype/ctype.h: Likewise.
3438 * dirent/dirent.h: Likewise.
3439 [__USE_MISC]: Remove redundant conditionals.
3440 * grp/grp.h: Update #endif comments.
3441 [__USE_GNU]: Remove redundant conditionals.
3442 [__USE_MISC]: Likewise.
3443 * inet/netinet/in.h [__USE_GNU]: Likewise.
3444 * io/sys/stat.h [__USE_MISC]: Likewise.
3445 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3446 * libio/bits/stdio.h: Update #endif comments.
3447 [__USE_MISC]: Remove redundant conditionals.
3448 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3449 * libio/stdio.h: Update #endif comments.
3450 [__USE_MISC]: Remove redundant conditionals.
3451 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3452 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3453 * math/math.h: Update #else and #endif comments.
3454 [__USE_MISC]: Remove redundant conditionals.
3455 * misc/sys/uio.h: Update #endif comments.
3456 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3457 * posix/glob.h [__USE_MISC]: Likewise.
3458 * posix/sys/types.h: Update #endif comments.
3459 [__USE_MISC]: Remove redundant conditionals.
3460 * posix/sys/wait.h: Update #endif comments.
3461 [__USE_MISC]: Remove redundant conditionals.
3462 * posix/unistd.h: Update #endif comments.
3463 [__USE_MISC]: Remove redundant conditionals.
3464 * pwd/pwd.h [__USE_GNU]: Likewise.
3465 [__USE_MISC]: Likewise.
3466 * resolv/netdb.h [__USE_GNU]: Likewise.
3467 * signal/signal.h: Update #endif comments.
3468 [__USE_MISC]: Remove redundant conditionals.
3469 * stdlib/stdlib.h: Update #else and #endif comments.
3470 [__USE_MISC]: Remove redundant conditionals.
3471 [__USE_GNU]: Likewise.
3472 * string/bits/string2.h [__USE_MISC]: Likewise.
3473 * string/string.h: Update #endif comments.
3474 [__USE_MISC]: Remove redundant conditionals.
3475 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3476 Likewise.
3477 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3478 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3479 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3480 Likewise.
3481 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3482 Likewise.
3483 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3484 comments.
3485 [__USE_MISC]: Remove redundant conditionals.
3486 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3487 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3488 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3489 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3490 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3491 Likewise.
3492 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3493 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3494 Likewise.
3495 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3496 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3497 Likewise.
3498 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3499 Likewise.
3500 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3501 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3502 Likewise.
3503 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3504 Likewise.
3505 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3506 * sysdeps/x86/bits/string.h: Update #endif comments.
3507 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3508 conditionals.
3509 * time/sys/time.h: Update #endif comments.
3510 * time/time.h: Likewise.
3511 [__USE_MISC]: Remove redundant conditionals.
3512
a5d82e4e
YG
35132014-02-21 Yury Gribov <y.gribov@samsung.com>
3514
3515 [BZ #16600]
3516 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3517
9a80491d
AS
35182014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3519
3520 * Versions.def (librt): Add GLIBC_2.17.
3521
105fa381
AC
35222014-02-21 Adam Conrad <adconrad@0c3.net>
3523
3524 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3525 synonym for _SYS_AUXV_H to allow direct inclusion.
3526 * sysdeps/sparc/bits/hwcap.h: Likewise.
3527 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3528 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3529 * sysdeps/sparc/sysdep.h: Likewise.
3530
b8cd1c4e
SP
35312014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3532
3533 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3534
bd939d23
RS
35352014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3536
3537 * benchtests/bench-strrchr.c: Print length instead of position.
3538
5d7b57ca
JM
35392014-02-20 Joseph Myers <joseph@codesourcery.com>
3540
bc688c10
JM
3541 [BZ #16611]
3542 * sysdeps/unix/sysv/linux/kernel-features.h
3543 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3544 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3545 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3546 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3547 Likewise.
3548 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3549 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3550 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3551 (__ASSUME_SENDMMSG): Define instead of using previous
3552 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3553 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3554 (__ASSUME_SENDMMSG_SYSCALL): Define.
3555 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3556 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3557 Likewise.
3558 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3559 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3560 Likewise.
3561 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3562 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3563 Likewise.
3564 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3565 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3566 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3567 [__ASSUME_SENDMMSG]: Change conditionals to
3568 [__ASSUME_SENDMMSG_SOCKETCALL].
3569 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3570 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3571 Define.
3572 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3573 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3574 Likewise.
3575 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3576 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3577 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3578 [!__ASSUME_SENDMMSG]: Change conditional to
3579 [!__ASSUME_SENDMMSG_SOCKETCALL].
3580 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3581 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3582 Define.
3583
0e31b18c
JM
3584 [BZ #16610]
3585 * sysdeps/unix/sysv/linux/kernel-features.h
3586 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3587 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3588 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3589 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3590 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3591 [__i386__ || __sparc__]
3592 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3593 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3594 (__ASSUME_RECVMMSG): Define instead of using previous
3595 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3596 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3597 (__ASSUME_RECVMMSG_SYSCALL): Define.
3598 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3599 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3600 Likewise.
3601 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3602 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3603 Likewise.
3604 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3605 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3606 Likewise.
3607 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3608 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3609 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3610 [__ASSUME_RECVMMSG]: Change condition to
3611 [__ASSUME_RECVMMSG_SOCKETCALL].
3612 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3613 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3614 Define.
3615 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3616 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3617 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3618 Likewise.
3619 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3620 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3621 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3622 [!__ASSUME_RECVMMSG]: Change condition to
3623 [!__ASSUME_RECVMMSG_SOCKETCALL].
3624 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3625 (__ASSUME_RECVMMSG_SYSCALL): Define.
3626
dd481ccf
JM
3627 [BZ #16609]
3628 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3629 __powerpc__ || __s390__ || __sh__ || __sparc__]
3630 (__ASSUME_SOCKETCALL): Define.
3631 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3632 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3633 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3634 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3635 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3636 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3637 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3638 (__ASSUME_ACCEPT4): Define instead of using previous
3639 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3640 __powerpc__ || __sparc__ || __s390__)] condition.
3641 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3642 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3643 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3644 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3645 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3646 [!__ASSUME_ACCEPT4]: Change condition to
3647 [!__ASSUME_ACCEPT4_SOCKETCALL].
3648 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3649 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3650 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3651 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3652 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3653 __ASSUME_ACCEPT4_SYSCALL.
3654 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3655 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3656 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3657 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3658 __ASSUME_ACCEPT4_SYSCALL.
3659 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3660 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3661 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3662 [__ASSUME_ACCEPT4]: Change condition to
3663 [__ASSUME_ACCEPT4_SOCKETCALL].
3664 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3665 (__ASSUME_SOCKETCALL): Define.
3666 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3668 (__ASSUME_SOCKETCALL): Define.
3669 (__ASSUME_ACCEPT4): Remove.
3670 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3671 Define.
3672 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3673 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3674 Likewise.
3675 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3676 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3677
5d7b57ca
JM
3678 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3679 macro.
3680 (HWCAP_ARM_LPAE): Likewise.
3681 (HWCAP_ARM_EVTSTRM): Likewise.
3682 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3683 Add vpfd32, lpae and evtstrm.
3684 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3685 Increase to 22.
3686
63689d61
JM
36872014-02-19 Joseph Myers <joseph@codesourcery.com>
3688
3689 * math/auto-libm-test-in: Add tests of clog10.
3690 * math/auto-libm-test-out: Regenerated.
3691 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3692 * sysdeps/i386/fpu/libm-test-ulps: Update.
3693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3694
ab09bf61
AS
36952014-02-18 Andreas Schwab <schwab@suse.de>
3696
3697 [BZ #16574]
3698 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3699 Store non-zero if the second buffer was newly allocated.
3700 (send_dg): Likewise.
3701 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3702 to send_vc and send_dg.
3703 (res_nsend): Pass NULL for ansp2_malloced.
3704 * resolv/res_query.c (__libc_res_nquery): Add parameter
3705 answerp2_malloced and pass it down to __libc_res_nsend.
3706 (res_nquery): Pass additional NULL to __libc_res_nquery.
3707 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3708 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3709 second answer buffer if answerp2_malloced was set.
3710 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3711 (__libc_res_nquerydomain): Add parameter
3712 answerp2_malloced and pass it down to __libc_res_nquery.
3713 (res_nquerydomain): Pass additional NULL to
3714 __libc_res_nquerydomain.
3715 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3716 additional NULL to __libc_res_nsend and __libc_res_nquery.
3717 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3718 additional NULL to __libc_res_nsearch.
3719 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3720 parameter of __libc_res_nsearch to check for separately allocated
3721 second buffer.
3722 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3723 __libc_res_nquery.
3724 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3725 additional NULL to __libc_res_nquery.
3726 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3727 __libc_res_nsearch.
3728 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3729 * include/resolv.h: Update prototypes of __libc_res_nquery,
3730 __libc_res_nsearch, __libc_res_nsend.
3731
a4fb7861
JM
37322014-02-18 Joseph Myers <joseph@codesourcery.com>
3733
c6af2d89
JM
3734 * math/auto-libm-test-in: Add tests of fma.
3735 * math/auto-libm-test-out: Regenerated.
3736 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3737 (fma_towardzero_test_data): Likewise.
3738 (fma_downward_test_data): Likewise.
3739 (fma_upward_test_data): Likewise.
3740 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3741 mpc_mode.
3742 (rounding_modes): Add values for new field.
3743 (func_calc_method): Add value mpfr_fff_f.
3744 (func_calc_desc): Add mpfr_fff_f union field.
3745 (test_function): Add field exact_args.
3746 (FUNC): Add macro argument EXACT_ARGS.
3747 (FUNC_mpfr_f_f): Update call to FUNC.
3748 (FUNC_mpfr_f_f): Likewise.
3749 (FUNC_mpfr_ff_f): Likewise.
3750 (FUNC_mpfr_if_f): Likewise.
3751 (FUNC_mpc_c_f): Likewise.
3752 (FUNC_mpc_c_c): Likewise.
3753 (test_functions): Add fma. Update calls to FUNC.
3754 (handle_input_arg): Add argument exact_args.
3755 (add_test): Update call to handle_input_arg.
3756 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3757 (output_for_one_input_case): Update call to calc_generic_results.
3758 Recalculate exact zero results in each rounding mode.
3759
a4fb7861
JM
3760 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3761 non-negative before setting low bit.
3762 * math/auto-libm-test-in: Mark one asin test possibly having
3763 spurious underflow.
3764 * math/auto-libm-test-out: Regenerated.
3765 * sysdeps/i386/fpu/libm-test-ulps: Update.
3766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3767
ef114eaf
DH
37682014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3769
2b7f4f2c
SP
3770 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3771 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3772 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3773 * README: Add missing listing for microblaze*-*-linux-gnu.
3774
c70a4b1d
MF
37752014-02-16 Mike Frysinger <vapier@gentoo.org>
3776
3777 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3778 * sysdeps/unix/sysv/linux/ia64: Move directory from
3779 ports/sysdeps/unix/sysv/linux/ia64.
3780 * README: Update listing for ia64-*-linux-gnu.
3781
591aeaf7
TD
37822014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3783 Joseph Myers <joseph@codesourcery.com>
3784
3785 * Makeconfig (test-name): New variable.
3786 (evaluate-test): Likewise.
3787 * Makerules (do-test-clean): Remove .test-result files.
3788 (common-mostlyclean): Likewise.
3789 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3790 * scripts/evaluate-test.sh: New file.
3791
6e89caf1
JM
37922014-02-14 Joseph Myers <joseph@codesourcery.com>
3793
7f98f180
JM
3794 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3795 separate $(objpfx)tst-fopenloc-cmp.out and
3796 $(objpfx)tst-fopenloc-mem.out targets.
3797 (tests): Update dependencies.
3798 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3799 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3800 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3801 (tst-rxspencer-no-utf8-ARGS): New variable.
3802 (tst-rxspencer-no-utf8-ENV): Likewise.
3803 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3804 instead of $(objpfx)tst-rxspencer-mem.
3805 ($(objpfx)tst-rxspencer-mem): Change target to
3806 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3807 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3808 * posix/tst-rxspencer-no-utf8.c: New file.
3809
6e89caf1
JM
3810 * elf/Makefile ($(objpfx)order.out): Remove rule.
3811 [$(run-built-tests) = yes] (tests): Depend on
3812 $(objpfx)order-cmp.out.
3813 ($(objpfx)order-cmp.out): New rule.
3814 [$(run-built-tests) = yes] (tests): Depend on
3815 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3816 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3817 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3818 $(objpfx)tst-array5-static-cmp.out.
3819 ($(objpfx)tst-array1.out): Remove rule.
3820 ($(objpfx)tst-array1-cmp.out): New rule.
3821 ($(objpfx)tst-array1-static.out): Remove rule.
3822 ($(objpfx)tst-array1-static-cmp.out): New rule.
3823 ($(objpfx)tst-array2.out): Remove rule.
3824 ($(objpfx)tst-array2-cmp.out): New rule.
3825 ($(objpfx)tst-array3.out): Remove rule.
3826 ($(objpfx)tst-array3-cmp.out): New rule.
3827 ($(objpfx)tst-array4.out): Remove rule.
3828 ($(objpfx)tst-array4-cmp.out): New rule.
3829 ($(objpfx)tst-array5.out): Remove rule.
3830 ($(objpfx)tst-array5-cmp.out): New rule.
3831 ($(objpfx)tst-array5-static.out): Remove rule.
3832 ($(objpfx)tst-array5-static-cmp.out): New rule.
3833 [$(run-built-tests) = yes] (tests): Depend on
3834 $(objpfx)order2-cmp.out.
3835 ($(objpfx)order2.out): Remove rule.
3836 ($(objpfx)order2-cmp.out): New rule.
3837 ($(objpfx)tst-initorder.out): Remove rule.
3838 [$(run-built-tests) = yes] (tests): Depend on
3839 $(objpfx)tst-initorder-cmp.out.
3840 ($(objpfx)tst-initorder-cmp.out): New rule.
3841 ($(objpfx)tst-initorder2.out): Remove rule.
3842 [$(run-built-tests) = yes] (tests): Depend on
3843 $(objpfx)tst-initorder2-cmp.out.
3844 ($(objpfx)tst-initorder2-cmp.out): New rule.
3845 [$(run-built-tests) = yes] (tests): Depend on
3846 $(objpfx)tst-unused-dep-cmp.out.
3847 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3848 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3849 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3850 on $(objpfx)tst-setvbuf1-cmp.out.
3851 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3852 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3853 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3854 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3855 ($(objpfx)tst-svc.out): Remove rule.
3856 ($(objpfx)tst-svc-cmp.out): New rule.
3857
ed9a38e2
JM
38582014-02-13 Joseph Myers <joseph@codesourcery.com>
3859
3860 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3861 * ctype/ctype.h [__USE_MISC]: Likewise.
3862 * dirent/dirent.h [__USE_MISC]: Likewise.
3863 * grp/grp.h [__USE_MISC]: Likewise.
3864 * io/fcntl.h [__USE_MISC]: Likewise.
3865 * io/sys/stat.h [__USE_MISC]: Likewise.
3866 * libio/stdio.h [__USE_MISC]: Likewise.
3867 * posix/unistd.h [__USE_MISC]: Likewise.
3868 * pwd/pwd.h [__USE_MISC]: Likewise.
3869 * stdlib.h [__USE_MISC]: Likewise.
3870 * string/bits/string2.h [__USE_MISC]: Likewise.
3871 * string/string.h [__USE_MISC]: Likewise.
3872 * time/time.h [__USE_MISC]: Likewise.
3873
d6680619
AS
38742014-02-13 Andreas Schwab <schwab@suse.de>
3875
3876 [BZ #16574]
3877 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3878 second answer buffer if it was separately allocated.
3879
ace614b8
JM
38802014-02-12 Joseph Myers <joseph@codesourcery.com>
3881
743151ae
JM
3882 * sysdeps/mips/math-tests.h: Include <features.h>.
3883 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3884 (ROUNDING_TESTS_long_double): Do not define.
3885 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3886 (EXCEPTION_TESTS_long_double): Likewise.
3887 * sysdeps/mips/mips64/libm-test-ulps: Update.
3888
498afc54
JM
3889 * include/features.h (__USE_BSD): Remove macro definitions.
3890 (__USE_SVID): Likewise.
3891 (_BSD_SOURCE): Likewise.
3892 (_SVID_SOURCE): Likewise.
3893 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3894 from definition of _DEFAULT_SOURCE.
3895 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3896 [_DEFAULT_SOURCE].
3897 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3898 * bits/mman.h [__USE_BSD]: Likewise.
3899 * bits/termios.h [__USE_BSD]: Likewise.
3900 * bits/waitstatus.h [__USE_BSD]: Likewise.
3901 * ctype/ctype.h [__USE_SVID]: Likewise.
3902 * dirent/dirent.h [__USE_BSD]: Likewise.
3903 * grp/grp.h [__USE_SVID]: Likewise.
3904 [__USE_BSD]: Likewise.
3905 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3906 * io/fcntl.h [__USE_BSD]: Likewise.
3907 * io/ftw.h [__USE_BSD]: Likewise.
3908 * io/sys/stat.h [__USE_BSD]: Likewise.
3909 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3910 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3911 * libio/stdio.h [__USE_SVID]: Likewise.
3912 [__USE_BSD]: Likewise.
3913 * math/math.h [__USE_SVID]: Likewise.
3914 [__USE_BSD]: Likewise.
3915 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3916 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3917 * misc/search.h [__USE_SVID]: Likewise.
3918 * misc/sys/mman.h [__USE_BSD]: Likewise.
3919 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3920 * misc/sys/uio.h [__USE_BSD]: Likewise.
3921 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3922 * posix/glob.h [__USE_BSD]: Likewise.
3923 * posix/regex.h [__USE_BSD]: Likewise.
3924 * posix/sys/types.h [__USE_BSD]: Likewise.
3925 [__USE_SVID]: Likewise.
3926 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3927 * posix/sys/wait.h [__USE_BSD]: Likewise.
3928 [__USE_SVID]: Likewise.
3929 * posix/unistd.h [__USE_BSD]: Likewise.
3930 [__USE_SVID]: Likewise.
3931 * pwd/pwd.h [__USE_SVID]: Likewise.
3932 * resolv/netdb.h [__USE_BSD]: Likewise.
3933 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3934 * signal/signal.h [__USE_BSD]: Likewise.
3935 [__USE_SVID]: Likewise.
3936 * socket/sys/socket.h [__USE_BSD]: Likewise.
3937 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3938 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3939 [__USE_SVID]: Likewise.
3940 * string/bits/string2.h [__USE_BSD]: Likewise.
3941 [__USE_SVID]: Likewise.
3942 * string/bits/string3.h [__USE_BSD]: Likewise.
3943 * string/endian.h [__USE_BSD]: Likewise.
3944 * string/string.h [__USE_SVID]: Likewise.
3945 [__USE_BSD]: Likewise.
3946 * string/strings.h [__USE_BSD]: Likewise.
3947 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3948 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3949 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3950 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3951 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3952 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3953 Likewise.
3954 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3955 Likewise.
3956 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3957 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3958 Likewise.
3959 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3960 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3961 Likewise.
3962 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3963 Likewise.
3964 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3965 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3966 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3967 Likewise.
3968 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3969 Likewise.
3970 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3971 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3972 * termios/termios.h [__USE_BSD]: Likewise.
3973 * time/sys/time.h [__USE_BSD]: Likewise.
3974 * time/time.h [__USE_BSD]: Likewise.
3975 [__USE_SVID]: Likewise.
3976
dd7b064c
JM
3977 * Makefile (subdir_targets): Remove subdir_lint.out.
3978
a2c4c199
JM
3979 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3980 (do-tst-printf): Likewise.
3981 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3982 $(objpfx)tst-printf.out.
3983
8756f740
JM
3984 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3985
1b6dd3f1
JM
3986 * Makerules (check-abi-%): Change target to
3987 $(objpfx)check-abi-%.out.
3988 (check-abi target): Update dependencies.
3989 (check-abi-pattern variable): Redirect output of diff to $@.
3990 (check-abi variable): Likewise.
3991 * elf/Makefile (check-abi): Update dependencies.
3992
ace614b8
JM
3993 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3994 unused.
3995 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3996 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3997 subnormal range.
3998 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3999 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4000 value has largest subnormal exponent.
4001 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4002 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4003 * sysdeps/aarch64/soft-fp/sfp-machine.h
4004 (_FP_TININESS_AFTER_ROUNDING): New macro.
4005 * sysdeps/alpha/soft-fp/sfp-machine.h
4006 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4007 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4008 Likewise.
4009 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4010 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4011 * sysdeps/mips/soft-fp/sfp-machine.h
4012 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4013 * sysdeps/powerpc/soft-fp/sfp-machine.h
4014 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4015 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4016 Likewise.
4017 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4018 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4019 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4020 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4021 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4022 Likewise.
4023
fbfdf9cb
DAS
40242014-02-12 Dylan Alex Simon <dylan@dylex.net>
4025
4026 [BZ #16545]
4027 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4028 model 1.
4029
68b7efaa
RH
40302014-02-12 Richard Henderson <rth@redhat.com>
4031
c70a4b1d 4032 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4033 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4034 * sysdeps/unix/sysv/linux/alpha: Move directory from
4035 ports/sysdeps/unix/sysv/linux/alpha.
4036 * README: Update listing for alpha-*-linux-gnu.
4037
cb4a2928
JM
40382014-02-11 Joseph Myers <joseph@codesourcery.com>
4039
c941736c
JM
4040 * include/features.h: Update comment documenting feature test
4041 macros.
4042 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4043 _DEFAULT_SOURCE.
4044 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4045 (_SVID_SOURCE): Likewise.
4046 (_DEFAULT_SOURCE): Update description of default features.
4047 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4048 with _GNU_SOURCE.
4049 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4050 (S_ISVTX): Likewise.
4051 * manual/math.texi (Mathematical Constants): Likewise.
4052 * manual/signal.texi (Interrupted Primitives): Likewise.
4053 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4054 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4055 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4056 Don't refer to _SVID_SOURCE in warning text.
4057
e8d8d7ec
JM
4058 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4059
cb4a2928
JM
4060 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4061 already defined.
4062 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4063 * sysdeps/mips/dl-lookup.c: Remove.
4064 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4065
7e6424e3
AK
40662014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4067
4068 [BZ #16447]
4069 * math/auto-libm-test-in: Add testcase for expl.
4070 * math/auto-libm-test-out: Regenerate.
4071 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4072 calculation of unsafe.
4073 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4074
75eff3fe
MS
40752014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4076
4077 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4078 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4079 ports/sysdeps/unix/sysv/linux/aarch64.
4080 * README: Update listing for aarch64*-*-linux-gnu.
4081
d35f1e80
WN
40822014-02-11 Will Newton <will.newton@linaro.org>
4083
4084 * manual/probes.texi (Mathematical Function Probes): Use
4085 "triggered" instead of "hit".
4086
7b3436d4
WN
4087 * manual/probes.texi (Internal Probes): Add documentation
4088 of setjmp, longjmp and longjmp_target probes.
4089
b4f12ca3
WN
4090 * include/stap-probe.h: Add comment about probe argument
4091 format.
4092
c13a72b7
WN
4093 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4094 definition. (tr_where, tr_freehook, tr_mallochook,
4095 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4096
195b8165
DM
40972014-02-11 David S. Miller <davem@davemloft.net>
4098
4099 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4100 processing int_tests.
4101
2ad7600b
JM
41022014-02-10 Joseph Myers <joseph@codesourcery.com>
4103
4104 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4105 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4106 * sysdeps/unix/sysv/linux/mips: Move directory from
4107 ports/sysdeps/unix/sysv/linux/mips.
4108 * README: Update listing for mips-*-linux-gnu and
4109 mips64-*-linux-gnu.
4110
73588a72
AS
41112014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4112
4113 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4114 * sysdeps/unix/sysv/linux/m68k: Move directory from
4115 ports/sysdeps/unix/sysv/linux/m68k.
4116 * README: Update listing for m68k-*-linux-gnu.
4117
4372980f
CM
41182014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4119
4120 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4121 * sysdeps/unix/sysv/linux/generic: Move directory from
4122 ports/sysdeps/unix/sysv/linux/generic.
4123 * sysdeps/unix/sysv/linux/tile: Move directory from
4124 ports/sysdeps/unix/sysv/linux/tile.
4125 * README: Update listing for tile*-*-linux-gnu.
4126
a1ffb40e
OB
41272014-02-10 Ondřej Bílka <neleai@seznam.cz>
4128
57f41c40
AS
4129 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4130 __builtin_expect.
a1ffb40e
OB
4131 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4132 * catgets/open_catalog.c (__open_catalog): Likewise.
4133 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4134 * debug/confstr_chk.c: Likewise.
4135 * debug/fread_chk.c (__fread_chk): Likewise.
4136 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4137 * debug/getgroups_chk.c: Likewise.
4138 * debug/mbsnrtowcs_chk.c: Likewise.
4139 * debug/mbsrtowcs_chk.c: Likewise.
4140 * debug/mbstowcs_chk.c: Likewise.
4141 * debug/memcpy_chk.c: Likewise.
4142 * debug/memmove_chk.c: Likewise.
4143 * debug/mempcpy_chk.c: Likewise.
4144 * debug/memset_chk.c: Likewise.
4145 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4146 * debug/strcat_chk.c (__strcat_chk): Likewise.
4147 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4148 * debug/strncat_chk.c (__strncat_chk): Likewise.
4149 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4150 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4151 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4152 * debug/wcpncpy_chk.c: Likewise.
4153 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4154 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4155 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4156 * debug/wcsncpy_chk.c: Likewise.
4157 * debug/wcsnrtombs_chk.c: Likewise.
4158 * debug/wcsrtombs_chk.c: Likewise.
4159 * debug/wcstombs_chk.c: Likewise.
4160 * debug/wmemcpy_chk.c: Likewise.
4161 * debug/wmemmove_chk.c: Likewise.
4162 * debug/wmempcpy_chk.c: Likewise.
4163 * debug/wmemset_chk.c: Likewise.
4164 * dirent/scandirat.c (SCANDIRAT): Likewise.
4165 * dlfcn/dladdr1.c (dladdr1): Likewise.
4166 * dlfcn/dladdr.c (dladdr): Likewise.
4167 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4168 * dlfcn/dlerror.c (__dlerror): Likewise.
4169 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4170 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4171 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4172 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4173 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4174 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4175 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4176 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4177 Likewise.
4178 * elf/dl-conflict.c: Likewise.
4179 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4180 * elf/dl-dst.h: Likewise.
4181 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4182 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4183 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4184 * elf/dl-init.c (call_init, _dl_init): Likewise.
4185 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4186 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4187 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4188 Likewise.
a1ffb40e
OB
4189 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4190 Likewise.
4191 * elf/dl-minimal.c (__libc_memalign): Likewise.
4192 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4193 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4194 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4195 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4196 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4197 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4198 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4199 * elf/dl-writev.h (_dl_writev): Likewise.
4200 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4201 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4202 (dl_main): Likewise.
a1ffb40e
OB
4203 * elf/setup-vdso.h (setup_vdso): Likewise.
4204 * grp/compat-initgroups.c (compat_call): Likewise.
4205 * grp/fgetgrent.c (fgetgrent): Likewise.
4206 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4207 * grp/putgrent.c (putgrent): Likewise.
4208 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4209 Likewise.
4210 * hurd/hurdinit.c: Likewise.
4211 * iconvdata/8bit-gap.c (struct): Likewise.
4212 * iconvdata/ansi_x3.110.c : Likewise.
4213 * iconvdata/big5.c : Likewise.
4214 * iconvdata/big5hkscs.c : Likewise.
4215 * iconvdata/cp1255.c: Likewise.
4216 * iconvdata/cp1258.c : Likewise.
4217 * iconvdata/cp932.c : Likewise.
4218 * iconvdata/euc-cn.c: Likewise.
4219 * iconvdata/euc-jisx0213.c : Likewise.
4220 * iconvdata/euc-jp.c: Likewise.
4221 * iconvdata/euc-jp-ms.c : Likewise.
4222 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4223 * iconvdata/gb18030.c : Likewise.
4224 * iconvdata/gbbig5.c (const): Likewise.
4225 * iconvdata/gbgbk.c: Likewise.
4226 * iconvdata/gbk.c : Likewise.
4227 * iconvdata/ibm1364.c : Likewise.
4228 * iconvdata/ibm930.c : Likewise.
4229 * iconvdata/ibm932.c: Likewise.
4230 * iconvdata/ibm933.c : Likewise.
4231 * iconvdata/ibm935.c : Likewise.
4232 * iconvdata/ibm937.c : Likewise.
4233 * iconvdata/ibm939.c : Likewise.
4234 * iconvdata/ibm943.c: Likewise.
4235 * iconvdata/iso_11548-1.c: Likewise.
4236 * iconvdata/iso-2022-cn.c : Likewise.
4237 * iconvdata/iso-2022-cn-ext.c : Likewise.
4238 * iconvdata/iso-2022-jp-3.c: Likewise.
4239 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4240 * iconvdata/iso-2022-kr.c : Likewise.
4241 * iconvdata/iso646.c (gconv_end): Likewise.
4242 * iconvdata/iso_6937-2.c : Likewise.
4243 * iconvdata/iso_6937.c : Likewise.
4244 * iconvdata/iso8859-1.c: Likewise.
4245 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4246 * iconvdata/shift_jisx0213.c : Likewise.
4247 * iconvdata/sjis.c : Likewise.
4248 * iconvdata/t.61.c : Likewise.
4249 * iconvdata/tcvn5712-1.c : Likewise.
4250 * iconvdata/tscii.c: Likewise.
4251 * iconvdata/uhc.c : Likewise.
4252 * iconvdata/unicode.c (gconv_end): Likewise.
4253 * iconvdata/utf-16.c (gconv_end): Likewise.
4254 * iconvdata/utf-32.c (gconv_end): Likewise.
4255 * iconvdata/utf-7.c (base64): Likewise.
4256 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4257 * iconv/gconv_close.c (__gconv_close): Likewise.
4258 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4259 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4260 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4261 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4262 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4263 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4264 * iconv/iconv.c (iconv): Likewise.
4265 * iconv/iconv_close.c: Likewise.
4266 * iconv/loop.c (SINGLE): Likewise.
4267 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4268 * include/atomic.h: Likewise.
4269 * inet/inet6_option.c (option_alloc): Likewise.
4270 * intl/bindtextdom.c (set_binding_values): Likewise.
4271 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4272 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4273 * intl/localealias.c (read_alias_file): Likewise.
4274 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4275 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4276 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4277 * libio/fmemopen.c (fmemopen): Likewise.
4278 * libio/iofgets.c (_IO_fgets): Likewise.
4279 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4280 * libio/iofgetws.c (fgetws): Likewise.
4281 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4282 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
4283 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4284 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
4285 * locale/findlocale.c (_nl_find_locale): Likewise.
4286 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4287 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4288 Likewise.
4289 * locale/setlocale.c (setlocale): Likewise.
4290 * login/programs/pt_chown.c (main): Likewise.
4291 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4292 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
4293 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4294 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
4295 * math/e_exp2l.c: Likewise.
4296 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4297 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4298 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4299 * math/s_catan.c (__catan): Likewise.
4300 * math/s_catanf.c (__catanf): Likewise.
4301 * math/s_catanh.c (__catanh): Likewise.
4302 * math/s_catanhf.c (__catanhf): Likewise.
4303 * math/s_catanhl.c (__catanhl): Likewise.
4304 * math/s_catanl.c (__catanl): Likewise.
4305 * math/s_ccosh.c (__ccosh): Likewise.
4306 * math/s_ccoshf.c (__ccoshf): Likewise.
4307 * math/s_ccoshl.c (__ccoshl): Likewise.
4308 * math/s_cexp.c (__cexp): Likewise.
4309 * math/s_cexpf.c (__cexpf): Likewise.
4310 * math/s_cexpl.c (__cexpl): Likewise.
4311 * math/s_clog10.c (__clog10): Likewise.
4312 * math/s_clog10f.c (__clog10f): Likewise.
4313 * math/s_clog10l.c (__clog10l): Likewise.
4314 * math/s_clog.c (__clog): Likewise.
4315 * math/s_clogf.c (__clogf): Likewise.
4316 * math/s_clogl.c (__clogl): Likewise.
4317 * math/s_csin.c (__csin): Likewise.
4318 * math/s_csinf.c (__csinf): Likewise.
4319 * math/s_csinh.c (__csinh): Likewise.
4320 * math/s_csinhf.c (__csinhf): Likewise.
4321 * math/s_csinhl.c (__csinhl): Likewise.
4322 * math/s_csinl.c (__csinl): Likewise.
4323 * math/s_csqrt.c (__csqrt): Likewise.
4324 * math/s_csqrtf.c (__csqrtf): Likewise.
4325 * math/s_csqrtl.c (__csqrtl): Likewise.
4326 * math/s_ctan.c (__ctan): Likewise.
4327 * math/s_ctanf.c (__ctanf): Likewise.
4328 * math/s_ctanh.c (__ctanh): Likewise.
4329 * math/s_ctanhf.c (__ctanhf): Likewise.
4330 * math/s_ctanhl.c (__ctanhl): Likewise.
4331 * math/s_ctanl.c (__ctanl): Likewise.
4332 * math/w_pow.c: Likewise.
4333 * math/w_powf.c: Likewise.
4334 * math/w_powl.c: Likewise.
4335 * math/w_scalb.c (sysv_scalb): Likewise.
4336 * math/w_scalbf.c (sysv_scalbf): Likewise.
4337 * math/w_scalbl.c (sysv_scalbl): Likewise.
4338 * misc/error.c (error_tail): Likewise.
4339 * misc/pselect.c (__pselect): Likewise.
4340 * nis/nis_callback.c (__nis_create_callback): Likewise.
4341 * nis/nis_call.c (__nisfind_server): Likewise.
4342 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4343 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4344 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4345 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4346 * nis/nis_lookup.c (nis_lookup): Likewise.
4347 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
4348 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4349 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 4350 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
4351 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4352 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4353 * nis/nss_compat/compat-initgroups.c (add_group)
4354 (internal_getgrent_r): Likewise.
4355 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4356 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4357 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4358 (internal_getspnam_r): Likewise.
4359 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4360 (_nss_nis_getaliasbyname_r): Likewise.
4361 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4362 (_nss_nis_getntohost_r): Likewise.
4363 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4364 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4365 (_nss_nis_getgrgid_r): Likewise.
4366 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4367 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4368 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4369 (_nss_nis_gethostbyname4_r): Likewise.
4370 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4371 (initgroups_netid): Likewise.
a1ffb40e 4372 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
4373 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4374 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4375 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4376 (_nss_nis_getprotobynumber_r): Likewise.
4377 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4378 (_nss_nis_getsecretkey): Likewise.
4379 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4380 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4381 (_nss_nis_getpwuid_r): Likewise.
4382 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4383 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4384 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4385 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4386 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4387 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
4388 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4389 Likewise.
57f41c40
AS
4390 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4391 (_nss_nisplus_getntohost_r): Likewise.
4392 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4393 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4394 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4395 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 4396 Likewise.
57f41c40
AS
4397 * nis/nss_nisplus/nisplus-initgroups.c
4398 (_nss_nisplus_initgroups_dyn): Likewise.
4399 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4400 (_nss_nisplus_getnetbyaddr_r): Likewise.
4401 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4402 (_nss_nisplus_getprotobynumber_r): Likewise.
4403 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4404 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
4405 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4406 Likewise.
57f41c40
AS
4407 * nis/nss_nisplus/nisplus-service.c
4408 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4409 (_nss_nisplus_getservbyport_r): Likewise.
4410 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4411 (_nss_nisplus_getspnam_r): Likewise.
4412 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4413 Likewise.
a1ffb40e
OB
4414 * nscd/aicache.c (addhstaiX): Likewise.
4415 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
4416 * nscd/connections.c (register_traced_file, send_ro_fd)
4417 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4418 (main_loop_epoll): Likewise.
a1ffb40e
OB
4419 * nscd/grpcache.c (addgrbyX): Likewise.
4420 * nscd/hstcache.c (addhstbyX): Likewise.
4421 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4422 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
4423 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4424 (addinnetgrX): Likewise.
4425 * nscd/nscd-client.h (__nscd_acquire_maplock)
4426 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
4427 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4428 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4429 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4430 Likewise.
4431 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4432 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
4433 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4434 (__nscd_get_map_ref): Likewise.
a1ffb40e 4435 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
4436 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4437 Likewise.
a1ffb40e
OB
4438 * nscd/pwdcache.c (addpwbyX): Likewise.
4439 * nscd/selinux.c (preserve_capabilities): Likewise.
4440 * nscd/servicescache.c (addservbyX): Likewise.
4441 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4442 * posix/fnmatch.c (fnmatch): Likewise.
4443 * posix/getopt.c (_getopt_internal_r): Likewise.
4444 * posix/glob.c (glob, glob_in_dir): Likewise.
4445 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
4446 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4447 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
4448 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4449 * resolv/res_init.c: Likewise.
4450 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4451 * resolv/res_query.c (__libc_res_nquery): Likewise.
4452 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4453 Likewise.
4454 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4455 * stdio-common/perror.c (perror): Likewise.
4456 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4457 * stdio-common/tmpnam.c (tmpnam): Likewise.
4458 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4459 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
4460 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4461 Likewise.
a1ffb40e
OB
4462 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4463 * stdlib/putenv.c (putenv): Likewise.
4464 * stdlib/setenv.c (__add_to_environ): Likewise.
4465 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4466 * stdlib/strtol_l.c (INTERNAL): Likewise.
4467 * string/memmem.c (memmem): Likewise.
4468 * string/strerror.c (strerror): Likewise.
4469 * string/strnlen.c (__strnlen): Likewise.
4470 * string/test-memmem.c (simple_memmem): Likewise.
4471 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4472 * sunrpc/pm_getport.c (__get_socket): Likewise.
4473 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4474 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
4475 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4476 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
4477 Likewise.
4478 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4479 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4480 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4481 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4482 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
4483 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4484 Likewise.
4485 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4486 Likewise.
a1ffb40e
OB
4487 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4488 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4489 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4490 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4491 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4493 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4494 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4495 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4496 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4497 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4498 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4499 Likewise.
4500 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4501 Likewise.
4502 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4503 Likewise.
4504 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4505 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4506 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4507 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4508 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4509 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4510 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4511 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4512 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4513 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4514 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4515 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4516 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4517 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
4519 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4520 Likewise.
a1ffb40e
OB
4521 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4522 Likewise.
4523 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4524 Likewise.
4525 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4526 Likewise.
4527 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4529 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4530 Likewise.
4531 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4532 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4533 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4534 * sysdeps/posix/sleep.c: Likewise.
4535 * sysdeps/posix/tempname.c: Likewise.
4536 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4537 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4538 Likewise.
57f41c40
AS
4539 * sysdeps/powerpc/powerpc32/dl-machine.h
4540 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
4541 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4542 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4543 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4544 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4545 Likewise.
4546 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4547 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4548 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4549 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4550 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4551 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4552 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4553 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4554 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4555 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4556 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4557 (elf_machine_lazy_rel): Likewise.
a1ffb40e 4558 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4559 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4560 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4561 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4562 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4563 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4564 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4565 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4566 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4567 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4568 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4569 Likewise.
4570 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4571 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4572 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4573 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4574 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4575 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4576 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4577 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4578 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4579 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4580 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4581 Likewise.
4582 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4583 (__posix_fallocate64_l64): Likewise.
4584 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4585 (posix_fallocate): Likewise.
57f41c40
AS
4586 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4587 Likewise.
a1ffb40e 4588 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
4589 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4590 (getifaddrs_internal): Likewise.
a1ffb40e
OB
4591 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4592 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4593 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4594 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4595 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4596 (__posix_fallocate64_l64): Likewise.
4597 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4598 Likewise.
4599 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
4600 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4601 (__get_clockfreq): Likewise.
a1ffb40e
OB
4602 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4603 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4604 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4605 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4606 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4607 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4608 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4609 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4610 Likewise.
4611 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4612 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4613 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4614 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4615 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4616 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4617 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4618 Likewise.
4619 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4620 (posix_fallocate): Likewise.
4621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4622 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4623 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4624 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4625 (elf_machine_rela, elf_machine_rela_relative)
4626 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4627 * time/asctime.c (asctime_internal): Likewise.
4628 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4629 * time/tzset.c (__tzset_parse_tz): Likewise.
4630 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4631 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4632 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4633 * wcsmbs/wcsmbsload.h: Likewise.
4634
f3d338c9
OB
4635 [BZ #15894]
4636 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4637
57f41c40
AS
4638 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4639 (arena_get2): Remove THREAD_STATS conditionals.
4640 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4641 (__malloc_stats, int): Likewise.
bdfe308a 4642
d674667c
MF
46432014-02-08 Mike Frysinger <vapier@gentoo.org>
4644
4645 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4646 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4647
6349768c
MF
4648 * manual/setjmp.texi: Fix typos/grammar errors.
4649
0b7c7473
MF
4650 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4651 Only return early when n is <= 0. Delete unused return statement.
4652
ac8cc9e3
MF
4653 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4654 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4655 * debug/tst-longjmp_chk3.c: New file.
4656
c5bb8e23
MF
4657 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4658 (test_main): Replace code with set_fortify_handler call.
4659 * debug/test-strcpy_chk.c: Likewise.
4660 * debug/tst-chk1.c: Likewise.
4661 * debug/tst-longjmp_chk.c: Likewise.
4662 * test-skeleton.c: Include fcntl.h & paths.h
4663 (set_fortify_handler): Define.
4664
10444e42
MF
4665 * debug/tst-longjmp_chk.c: Add header comment and include
4666 ../test-skeleton.c.
4667 (do_test): Mark static.
4668 (TEST_FUNCTION): Define.
4669
1e805e8d
MF
4670 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4671 (IP_PMTUDISC_INTERFACE): Likewise.
4672 (IP_MULTICAST_IF): Likewise.
4673 (IP_MULTICAST_TTL): Likewise.
4674 (IP_MULTICAST_LOOP): Likewise.
4675 (IP_ADD_MEMBERSHIP): Likewise.
4676 (IP_DROP_MEMBERSHIP): Likewise.
4677 (IP_UNBLOCK_SOURCE): Likewise.
4678 (IP_BLOCK_SOURCE): Likewise.
4679 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4680 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4681 (IP_MSFILTER): Likewise.
4682 (MCAST_JOIN_GROUP): Likewise.
4683 (MCAST_BLOCK_SOURCE): Likewise.
4684 (MCAST_UNBLOCK_SOURCE): Likewise.
4685 (MCAST_LEAVE_GROUP): Likewise.
4686 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4687 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4688 (MCAST_MSFILTER): Likewise.
4689 (IP_MULTICAST_ALL): Likewise.
4690 (IP_UNICAST_IF): Likewise.
4691
73f79bb7
MF
4692 * timezone/Makefile: Delete $(have-ksh) check.
4693 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4694 * timezone/tzselect.ksh: Add +x mode bits.
4695
8da79b60
MF
4696 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4697 (ANON_INODE_FS_MAGIC): Likewise.
4698 (BDEVFS_MAGIC): Likewise.
4699 (BINFMTFS_MAGIC): Likewise.
4700 (BTRFS_TEST_MAGIC): Likewise.
4701 (CRAMFS_MAGIC_WEND): Likewise.
4702 (DEBUGFS_MAGIC): Likewise.
4703 (ECRYPTFS_SUPER_MAGIC): Likewise.
4704 (EXT3_SUPER_MAGIC): Likewise.
4705 (EXT4_SUPER_MAGIC): Likewise.
4706 (FUTEXFS_SUPER_MAGIC): Likewise.
4707 (HOSTFS_SUPER_MAGIC): Likewise.
4708 (HUGETLBFS_MAGIC): Likewise.
4709 (MINIX3_SUPER_MAGIC): Likewise.
4710 (MTD_INODE_FS_MAGIC): Likewise.
4711 (NILFS_SUPER_MAGIC): Likewise.
4712 (OPENPROM_SUPER_MAGIC): Likewise.
4713 (PIPEFS_MAGIC): Likewise.
4714 (PSTOREFS_MAGIC): Likewise.
4715 (QNX6_SUPER_MAGIC): Likewise.
4716 (RAMFS_MAGIC): Likewise.
4717 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4718 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4719 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4720 (SECURITYFS_MAGIC): Likewise.
4721 (SELINUX_MAGIC): Likewise.
4722 (SMACK_MAGIC): Likewise.
4723 (SOCKFS_MAGIC): Likewise.
4724 (SQUASHFS_MAGIC): Likewise.
4725 (STACK_END_MAGIC): Likewise.
4726 (TMPFS_MAGIC): Likewise.
4727 (USBDEVICE_SUPER_MAGIC): Likewise.
4728 (V9FS_MAGIC): Likewise.
4729 (XENFS_SUPER_MAGIC): Likewise.
4730 (CRAMFS_MAGIC): Fix typo in comment.
4731 (EXT2_SUPER_MAGIC): Update comment.
4732 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4733
464263cc
JM
47342014-02-08 Joseph Myers <joseph@codesourcery.com>
4735
c6bfe5c4
JM
4736 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4737 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4738 * sysdeps/unix/sysv/linux/arm: Move directory from
4739 ports/sysdeps/unix/sysv/linux/arm.
4740 * README: Update listing for arm-*-linux-gnueabi.
4741
464263cc
JM
4742 * README: Remove mention of am33.
4743
32749f6c
RM
47442014-02-07 Roland McGrath <roland@hack.frob.com>
4745
4746 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4747 than the comma operator, to avoid "rhs of comma has no effect"
4748 compiler warnings.
4749 (__sigfillset, __sigandset, __sigorset): Likewise.
4750 * include/signal.h (__sigemptyset): Likewise.
4751 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4752
d5b396c1
AM
47532014-02-07 Allan McRae <allan@archlinux.org>
4754
4755 * version.h (RELEASE): Set to "development".
4756 (VERSION): Set to "2.19.90"
4757 * NEWS: Add 2.20 section.
4758
3bfff2ed
CD
47592014-02-06 Carlos O'Donell <carlos@redhat.com>
4760
4761 [BZ #16529]
4762 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4763
ee7cc385
SP
47642014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4765
4766 * manual/contrib.texi: Update entry for Carlos O'Donell,
4767 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4768
f877c4f2
CD
47692014-02-05 Carlos O'Donell <carlos@rehdat.com>
4770
27e839f6
CD
4771 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4772
f877c4f2
CD
4773 * sysdeps/unix/sysv/linux/kernel-features.h
4774 [__LINUX_KERNEL_VERSION >= 0x020621]
4775 (__ASSUME_PROC_PID_TASK_COMM): Define.
4776
68159946
SP
47772014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4778
ba17cdbd
SP
4779 [BZ #16398]
4780 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4781 conversion when destination buffer does not have enough space.
4782 * libio/tst-ftell-partial-wide.c: New test case.
4783 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4784
68159946
SP
4785 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4786 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4787 Leonard and Allan McRae.
4788
2b528732
DM
47892014-02-04 David S. Miller <davem@davemloft.net>
4790
4791 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4792 32-bit.
4793
0ff82463
AZ
47942014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4795
57f41c40
AS
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4797 New file
c01603f7
AZ
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4799 New file
57f41c40
AS
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4801 New file.
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4803 New file.
c01603f7
AZ
4804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4805 New file.
57f41c40
AS
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4807 New file.
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4809 New file.
c01603f7
AZ
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4811 New file.
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4813 New file.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4815 New file.
4816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4817 New file.
4818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4819 New file.
4820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4821 New file.
4822
48232014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4824
0ff82463
AZ
4825 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4826 * shlib-versions: Likewise.
4827
1695c773
AZ
48282014-02-04 Roland McGrath <roland@hack.frob.com>
4829 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4830
4831 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4832 (abilist-pattern): New variable, set to %-le.abilist.
4833
4834 * Makerules (abilist-pattern): New variable.
4835 (vpath): Use $(abilist-pattern) in place of %.abilist.
4836 (check-abi-% pattern rule): Likewise.
4837 (check-abi, update-abi): Likewise.
4838
6c0ce4b4
EW
48392014-02-04 Eric Wong <normalperson@yhbt.net>
4840
4841 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4842
481e3524
CD
48432014-02-03 Carlos O'Donell <carlos@redhat.com>
4844
4845 * manual/startup.texi: Add next, previous, and top entries for
4846 the `Program Arguments' and `Environment Variables' nodes.
4847
375592d3
AO
48482014-02-03 Alexandre Oliva <aoliva@redhat.com>
4849
4850 * manual/macros.texi: Add comments before MTASC-safety macros.
4851
f54838ba
AO
4852 * manual/users.texi: Document MTASC-safety properties.
4853
57f41c40
AS
4854 * manual/threads.texi (pthread_key_create, pthread_key_delete)
4855 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
4856 @deftypefun, and add @safety note.
4857 * manual/signal.texi: Move comments that analyze the above
4858 functions to their home place.
4859
fd3daba4
AM
48602014-02-03 Allan McRae <allan@archlinux.org>
4861
4862 * po/sl.po: Update Slovenian translation from translation project.
4863
597636d7
AO
48642014-02-02 Alexandre Oliva <aoliva@redhat.com>
4865
4866 * manual/time.texi (timegm): Add missing blank after @c.
4867 Reported by Joseph Myers <joseph@codesourcery.com>.
4868
ee196e3c
AO
48692014-02-01 Alexandre Oliva <aoliva@redhat.com>
4870
4871 * manual/check-safety.sh: New.
4872 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4873
f8d529d5
AO
4874 * manual/terminal.texi: Document MTASC-safety properties.
4875
de55fdf4
AO
4876 * manual/filesys.texi: Document MTASC-safety properties.
4877
c3299c08
AO
4878 * manual/errno.texi: Document MTASC-safety properties.
4879
06e90b14
AO
4880 * manual/intro.texi: Document safety identifiers and
4881 conditionals.
4882
1acd4371
AO
4883 * manual/string.texi (wcstok): Fix prototype.
4884 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4885
23e5b8cb
AO
4886 * manual/time.texi: Document MTASC-safety properties.
4887
11087373
AO
4888 * manual/string.texi: Document MTASC-safety properties.
4889
5da2c93d
AO
4890 * manual/threads.texi: Document MTASC-safety properties.
4891
171e9210
AO
4892 * manual/stdio.texi: Document MTASC-safety properties.
4893
d9e02532
AO
4894 * manual/syslog.texi: Document MTASC-safety properties.
4895
6af8bab7
AO
4896 * manual/sysinfo.texi: Document MTASC-safety properties.
4897
663b02d7
AO
4898 * manual/startup.texi: Document MTASC-safety properties.
4899
973f180b
AO
4900 * manual/socket.texi: Document MTASC-safety properties.
4901
8f3c25c8
AO
4902 * manual/signal.texi: Document MTASC-safety properties.
4903
542210fb
AO
49042014-01-31 Alexandre Oliva <aoliva@redhat.com>
4905
4906 * manual/setjmp.texi: Document MTASC-safety properties.
4907
433c45a2
AO
4908 * manual/search.texi: Document MTASC-safety properties.
4909
c8ce789c
AO
4910 * manual/resource.texi: Document MTASC-safety properties.
4911
19f5d29c
AO
4912 * manual/process.texi: Document MTASC-safety properties.
4913
e2dfb7f4
AO
4914 * manual/platform.texi: Document MTASC-safety properties.
4915
8c1413f5
AO
4916 * manual/pipe.texi: Document MTASC-safety properties.
4917
03483ada
AO
4918 * manual/pattern.texi: Document MTASC-safety properties.
4919
29e7e2df
AO
4920 * manual/message.texi: Document MTASC-safety properties.
4921
9f529d7c
AO
4922 [BZ #12751]
4923 * manual/memory.texi: Document MTASC-safety properties.
4924
27aaa791
AO
4925 * manual/math.texi: Document MTASC-safety properties.
4926
f2d58726
AO
4927 * manual/locale.texi: Document MTASC-safety properties.
4928
2cc3615c
AO
4929 * manual/llio.texi: Document MTASC-safety properties.
4930
d9f0ec97
AO
4931 * manual/libdl.texi: New.
4932
e7c4409a
AO
4933 * manual/lang.texi: Document MTASC-safety properties.
4934
27bdc63c
AO
4935 * manual/job.texi: Document MTASC-safety properties.
4936
a7b90ea9
AO
4937 * manual/getopt.texi: Document MTASC-safety properties.
4938
c49130e3
AO
4939 * manual/ctype.texi: Document MTASC-safety properties.
4940
0d23a5c1
MR
49412014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4942
4943 [BZ #16046]
4944 * csu/libc-tls.c (static_map): Remove variable.
4945 (__libc_setup_tls): Use main executable's link map for TLS data.
4946 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4947 casing for LM_ID_BASE and GL(dl_nns).
4948 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4949 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4950 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4951 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4952 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4953 member.
4954 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4955 l_phnum members.
4956
0037bb60
AO
49572014-01-30 Alexandre Oliva <aoliva@redhat.com>
4958
4959 * manual/debug.texi: Document MTASC-safety properties.
4960
409e00bd
L
49612014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4962
4963 [BZ #16510]
4964 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4965 of __x86_64__ when disabling x87 inline functions.
4966
86e60666
AO
49672014-01-29 Alexandre Oliva <aoliva@redhat.com>
4968
4969 * manual/charset.texi: Document MTASC-safety properties.
4970
76167637
AO
4971 * manual/crypt.texi: Document MTASC-safety properties.
4972
e567f2a0
AO
4973 * manual/conf.texi: Document MTASC-safety properties.
4974
b719dafd
AO
4975 * manual/arith.texi: Document MTASC-safety properties.
4976
4a16c662
AO
4977 * manual/argp.texi: Document MTASC-safety properties.
4978
0a57b83e
AO
4979 * manual/macros.texi: Introduce macros to document multi
4980 thread, asynchronous signal and asynchronous cancellation
4981 safety properties.
4982 * manual/intro.texi: Introduce the properties themselves.
4983
feab2397
KK
49842014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4985
4986 * sysdeps/sh/sh4/Makefile: New file.
4987
1c0d11bc
AS
49882014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4989
4990 * math/gen-libm-test.pl ($srcdir): New variable.
4991 ($auto_input): Use it.
4992
af37a8a3
SP
49932014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4994
d7b00f98
SP
4995 [BZ #16506]
4996 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4997 access beyond array bounds when parsing netgroups file.
4998
af37a8a3
SP
4999 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5000 the old buffer before realloc.
5001
0c00f062
AM
50022014-01-27 Allan McRae <allan@archlinux.org>
5003
5004 * po/fr.po: Update French translation from translation project.
5005
7d69a1b0
KK
50062014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5007
5008 * sysdeps/sh/libm-test-ulps: Regenerate.
5009
6e697ff7
DM
50102014-01-24 David S. Miller <davem@davemloft.net>
5011
5012 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5013
9cadb35c
KK
50142014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5015
5016 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5017 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5018
5d41dadf
SP
50192013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5020
5021 [BZ #16474]
5022 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5023 string pointers after reallocation.
5024
0bad441c
KK
50252014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5026
5027 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5028 __SH4A__ instead of __SH_FPU_ANY__.
5029
7007c661
KK
50302014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5031
5032 * sysdeps/sh/fpu_control.h: New file.
5033 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5034 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5035 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5036 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5037 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5038 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5039 * sysdeps/sh/sys/ucontext.h: Remove.
5040 * sysdeps/sh/sys: Remove directory.
5041
0f0c35e4
AK
50422014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5043
5044 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5045 s390/sys/ucontext.h.
5046 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5047 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5048
4959e284
L
50492014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5050
5051 [BZ #15605]
5052 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5053
d98720e0
AZ
50542014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5055
5056 [BZ#16431]
5057 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5058 Adjust the vDSO correctly for internal calls.
5059 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5060
91cbd0bc
AM
50612014-01-20 Allan McRae <allan@archlinux.org>
5062
5063 * po/ca.po: Update Catalan translation from translation project.
5064
7a02cfad
MF
50652014-01-16 Mike Frysinger <vapier@gentoo.org>
5066
5067 * sysdeps/s390/sotruss-lib.c: New file.
5068
736c304a
AZ
50692014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5070
5071 [BZ#16430]
6e077ee5 5072 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5073 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5074 local calls issues by not having a PLT stub required for IFUNC calls.
5075 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5076
94d0cea0
JM
50772014-01-16 Joseph Myers <joseph@codesourcery.com>
5078
5079 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5080 * math/test-fpucw-static.c: Likewise.
5081
980cb518
SP
50822013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5083
5084 [BZ #16453]
5085 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5086
2393fc01
AZ
50872014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5088
5089 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5090 implementation for powerpc.
5091
d359bcc2
OB
50922014-01-15 Ondřej Bílka <neleai@seznam.cz>
5093
5094 [BZ #14782]
5095 * sysdeps/posix/system.c (__libc_system): Do not enable
5096 asynchronous cancellation.
5097
7beb48cb
AK
50982014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5099
5100 [BZ #16427]
5101 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5102 handling only for numbers special also in the IEEE case.
5103
c20d5bf5
AK
51042014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5105
5106 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5107
e83bd4ee
AM
51082014-01-11 Allan McRae <allan@archlinux.org>
5109
76d0ea69
AM
5110 * po/bg.po: Update Bulgarian translation from translation project.
5111
e83bd4ee
AM
5112 * po/de.po: Update German translation from translation project.
5113
bc2ba20a
RM
51142014-01-10 Roland McGrath <roland@hack.frob.com>
5115
5116 * sysdeps/generic/gcc-compat.h: New file.
5117
649ecea2
SP
51182014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5119
5120 * benchtests/asin-inputs: Correct slow inputs.
5121 * benchtests/acos-inputs: Likewise.
5122
1b19c006
AM
51232014-01-10 Allan McRae <allan@archlinux.org>
5124
a46dab08
AM
5125 * po:sv.po: Update Swedish translation from translation project.
5126
421df74a
AM
5127 * po/vi.po: Update Vietnamese translation from translation project.
5128
d61c51a7
AM
5129 * po/eo.po: Update Esperanto translation from translation project.
5130
0339a319
AM
5131 * po/cs.po: Update Czech translation from translation project.
5132
94ad3e99
AM
5133 * po/nl.po: Update Dutch translation from translation project.
5134
e349ca71
AM
5135 * po/pl.po: Update Polish translation from translation project.
5136
ddf930c1
AM
5137 * po/ru.po: Update Russian translation from translation project.
5138
1b19c006
AM
5139 * po/uk.po: Update Ukrainian translation from translation project.
5140
9f236c49
BM
51412014-01-08 Brooks Moses <bmoses@google.com>
5142
5143 * elf/dl-load.c: Fix comment typo.
5144
cd6701cf
CD
51452014-01-08 Carlos O'Donell <carlos@redhat.com>
5146
5147 * po/header.pot: Rename to...
5148 * po/pot.header: ... this.
5149 * po/Makefile: Use pot.header.
5150
66671c84
YK
51512014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5152 Maxim Kuvyrkov <maxim@kugelworks.com>
5153
5154 [BZ #16394]
cd6701cf
CD
5155 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5156 SRC and DEST against LEN.
66671c84 5157
38f34581
AZ
51582014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5159
5160 [BZ #16414]
5161 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5162 implementation.
5163 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5164
51652014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5166
5167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5168
4c327f2a
JM
51692014-01-08 Joseph Myers <joseph@codesourcery.com>
5170
5171 [BZ #16408]
5172 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5173 for large positive arguments.
5174
b821f414
JM
51752014-01-07 Joseph Myers <joseph@codesourcery.com>
5176
1f0f2067
JM
5177 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5178
a5a326f6
JM
5179 * math/auto-libm-test-in: Mark various tests with
5180 xfail-rounding:ldbl-128ibm.
5181 * math/auto-libm-test-out: Regenerated.
5182
b821f414
JM
5183 [BZ #16407]
5184 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5185 Increase overflow threshold.
5186
94c8a4bc
OB
51872014-01-07 Ondřej Bílka <neleai@seznam.cz>
5188
5189 [BZ #14286]
5190 * stdio-common/vfprintf.c: Check for integer overflow.
5191
87ded0c3
AK
51922014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5193
5194 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5195 the first argument and return value of __tls_get_addr_internal.
5196
c5eebdd0
AK
51972014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5198
5199 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5200 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5201
05d138ef
AK
52022014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5203
5204 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5205 * sysdeps/s390/rtld-global-offsets.sym: New file.
5206 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5207 GLIBC_2.19 symbol.
5208 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5209 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5210 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5211 ... this.
5212 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5213 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5214 ... this.
5215 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5216 Regenerate.
5217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5218 Regenerate.
5219 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5220 halfs of GPRs for high_gprs contexts.
5221 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5222 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5223 field.
5224 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5225 uc_flags field.
5226 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5227 64 bit versions:
5228 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5229 for high GPRs (uc_high_gprs) and for future extensions
5230 (__reserved).
5231 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5232 for future extensions (__reserved).
5233 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5234 64 bit versions:
5235 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5236 SC_HIGHGPRS offset definition.
5237 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5238 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5239
93a45ff1
AK
5240 * Versions.def: Add GLIBC_2.19 for libpthread.
5241 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5242 siglongjmp for libpthread with GLIBC_2.19 symver.
5243 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5244 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5245 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5246 * sysdeps/s390/__longjmp.c: New file.
5247 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5248 * sysdeps/s390/longjmp.c: New file.
5249 * sysdeps/s390/setjmp.S: New file.
5250 * sysdeps/s390/sigjmp.S: New file.
5251 * sysdeps/s390/v1-longjmp.c: New file.
5252 * sysdeps/s390/v1-setjmp.h: New file.
5253 * sysdeps/s390/v1-sigjmp.c: New file.
5254 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5255 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5256 GLIBC_2.19 version.
5257 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5258 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5259 versioned symbols for ____longjmp_chk.
5260 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5261 Likewise.
5262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5263 Regenerate.
5264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5265 Regenerate.
5266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5267 Regenerate.
5268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5269 Regenerate.
5270 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5271 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5272 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5273 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5274 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5275 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5276 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5277 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5278 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5279 * sysdeps/s390/rtld-__longjmp.c: New file.
5280 * sysdeps/s390/rtld-setjmp.S: New file.
5281
eb3fc44b
JM
52822014-01-06 Joseph Myers <joseph@codesourcery.com>
5283
5284 [BZ #16400]
5285 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5286 Return -__logl (x) for small positive arguments without evaluating
5287 a polynomial.
5288
9341dde4
MF
52892014-01-06 Mike Frysinger <vapier@gentoo.org>
5290
5291 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5292 Rename to ...
5293 (__ptrace_peeksiginfo_args): ... this.
5294 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5295 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5296 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5297
4cff0293
AM
52982014-01-06 Allan McRae <allan@archlinux.org>
5299
5300 * inet/netinet/in.h: Fix typo in comment.
5301
75595dcf
AJ
53022014-01-05 Andreas Jaeger <aj@suse.de>
5303
5304 * sysdeps/i386/fpu/libm-test-ulps: Update.
5305
79c1e109
AM
53062014-01-05 Allan McRae <allan@archlinux.org>
5307
dd804818
AM
5308 * po/libc.pot: Regenerated.
5309
79c1e109
AM
5310 * malloc/memusagestat.c: Fix gettext call formatting.
5311
0c813d1f
SK
53122014-01-04 Sami Kerola <kerolasa@iki.fi>
5313
5314 * nscd/nscd.c: Improve usage() output.
5315
20f4a8d9
MF
53162014-01-04 Mike Frysinger <vapier@gentoo.org>
5317
5318 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5319 * sysdeps/unix/sysv/linux/configure: Regenerated.
5320 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5321 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5322
22562bb2
JM
53232014-01-03 Joseph Myers <joseph@codesourcery.com>
5324
5325 [BZ #16390]
5326 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5327 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5328
d7ad2d9b
AZ
53292014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5330
5331 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5332 extra tokens at end of #undef directive.
5333 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5334 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5335 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5336
7dd009d8
JM
53372014-01-03 Joseph Myers <joseph@codesourcery.com>
5338
24db925a
JM
5339 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5340
7dd009d8
JM
5341 * math/auto-libm-test-in: Mark various tests with
5342 xfail-rounding:ldbl-128ibm.
5343 * math/auto-libm-test-out: Regenerated.
5344
396e3ecf
JM
53452014-01-02 Joseph Myers <joseph@codesourcery.com>
5346
819e5d50
JM
5347 [BZ #16386]
5348 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5349 numbers with subnormal high part when calculating exponent.
5350
90b6a1e5
JM
5351 [BZ #16385]
5352 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5353 fabs.
5354
396e3ecf
JM
5355 [BZ #16384]
5356 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5357 M_LN2l.
5358 (__ieee754_acoshl): Use __log1pl not __log1p.
5359
6c8dbf00
OB
53602013-01-02 Ondřej Bílka <neleai@seznam.cz>
5361
57f41c40
AS
5362 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5363 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5364 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5365 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5366 (reused_arena, arena_get2): Convert to GNU style.
5367 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5368 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5369 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 5370 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
5371 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5372 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5373 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5374 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5375 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5376 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 5377 * malloc/malloc.h: Likewise.
57f41c40
AS
5378 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5379 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 5380 * malloc/mcheck.h: Likewise.
57f41c40
AS
5381 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5382 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
5383 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5384 * malloc/morecore.c (__default_morecore): Likewise.
5385 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
5386 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5387 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5388 (print_and_abort): Likewise.
6c8dbf00
OB
5389 * malloc/obstack.h: Likewise.
5390 * malloc/set-freeres.c (__libc_freeres): Likewise.
5391 * malloc/tst-mallocstate.c (main): Likewise.
5392 * malloc/tst-mtrace.c (main): Likewise.
5393 * malloc/tst-realloc.c (do_test): Likewise.
5394
d4124212
SP
53952013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5396
9a3c6a6f
SP
5397 [BZ #16366]
5398 * nscd/netgroupcache.c (do_notfound): New function.
5399 (addgetnetgrentX): Use it.
5400
d4124212
SP
5401 [BZ # 16365]
5402 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5403 NSS_STATUS_NOTFOUND.
5404
97b9a009
JM
54052014-01-01 Joseph Myers <joseph@codesourcery.com>
5406
5407 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5409
d4697bc9
AM
54102014-01-01 Allan McRae <allan@archlinux.org>
5411
ddb3687f
AM
5412 * scripts/update-copyrights: Update configure input file suffix.
5413
88726d48
AM
5414 * NEWS: Update copyright year.
5415 * catgets/gencat.c: Likewise.
5416 * csu/version.c: Likewise.
5417 * debug/catchsegv.sh: Likewise.
5418 * debug/pcprofiledump.c: Likewise.
5419 * debug/xtrace.sh: Likewise.
5420 * elf/ldconfig.c: Likewise.
5421 * elf/ldd.bash.in: Likewise.
5422 * elf/pldd.c: Likewise.
5423 * elf/sotruss.ksh: Likewise.
5424 * elf/sprof.c: Likewise.
5425 * iconv/iconv_prog.c: Likewise.
5426 * iconv/iconvconfig.c: Likewise.
5427 * locale/programs/locale.c: Likewise.
5428 * locale/programs/localedef.c: Likewise.
5429 * login/programs/pt_chown.c: Likewise.
5430 * malloc/memusage.sh: Likewise.
5431 * malloc/memusagestat.c: Likewise.
5432 * malloc/mtrace.pl: Likewise.
5433 * manual/libc.texinfo: Likewise.
5434 * nscd/nscd.c: Likewise.
5435 * nss/getent.c: Likewise.
5436 * nss/makedb.c: Likewise.
5437 * posix/getconf.c: Likewise.
5438 * scripts/test-installation.pl: Likewise.
5439
d4697bc9
AM
5440 * All files with FSF copyright notices: Update copyright dates
5441 using scripts/update-copyrights.
5442 * intl/plural.c: Regenerated.
5443 * locale/programs/charmap-kw.h: Likewise.
5444 * locale/programs/locfile-kw.h: Likewise.
5445
c8590f9d
MF
54462013-12-31 Mike Frysinger <vapier@gentoo.org>
5447
5448 * sysdeps/unix/sysv/linux/configure: Regenerated.
5449 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5450 the linux/fanotify.h header.
5451 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5452 HAVE_LINUX_FANOTIFY_H is defined.
5453
b19221b9
SP
54542013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5455
dd1d85e5
SP
5456 * benchtests/cos-inputs: New inputs.
5457 * benchtests/sin-inputs: Likewise.
5458
1acbb90f
SP
5459 * benchtests/atan-inputs: New inputs. Fix name of multiple
5460 precision fallback inputs.
5461
4c012ed3
SP
5462 * benchtests/atanh-inputs: New inputs.
5463 * benchtests/tanh-inputs: Likewise.
5464
eff98324
SP
5465 * benchtests/acosh-inputs: New inputs.
5466 * benchtests/asinh-inputs: Likewise.
5467
ce641152
SP
5468 * benchtests/cosh-inputs: New inputs.
5469 * benchtests/sinh-inputs: Likewise.
5470
b19221b9
SP
5471 * benchtests/acos-inputs: Add more inputs.
5472 * benchtests/asin-inputs: Likewise.
5473
030a4976 54742013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5475
030a4976 5476 [BZ #16375]
9dcc8f11
VS
5477 * manual/arith.texi: Fix spelling.
5478 * manual/charset.texi: Likewise.
5479 * manual/errno.texi: Likewise.
5480 * manual/filesys.texi: Likewise.
5481 * manual/lang.texi: Likewise.
5482 * manual/llio.texi: Likewise.
5483 * manual/locale.texi: Likewise.
5484 * manual/message.texi: Likewise.
5485 * manual/resource.texi: Likewise.
5486 * manual/search.texi: Likewise.
5487 * manual/setjmp.texi: Likewise.
5488 * manual/stdio.texi: Likewise.
5489 * manual/string.texi: Likewise.
5490 * manual/sysinfo.texi: Likewise.
5491 * manual/time.texi: Likewise.
5492
11520a57
CD
54932013-12-27 Carlos O'Donell <carlos@redhat.com>
5494
5495 * po/sl.po: New file.
5496
471103ae
MF
54972013-12-27 Mike Frysinger <vapier@gentoo.org>
5498
5499 * .gitignore: Add core/.gdbinit/.gdb_history.
5500
6c9642ed
AM
55012013-12-27 Allan McRae <allan@archlinux.org>
5502
5503 [BZ #16369]
5504 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5505 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5506
3f637079
BM
55072013-12-24 Brooks Moses <bmoses@google.com>
5508
5509 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5510 all compilers that claim C++98 compliance, not just GCC.
5511 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5512 Likewise.
5513
abc26e99
MK
55142013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5515
5516 * NEWS: Restore accidentally deleted bug-fix entries.
5517
362b47fe
MK
55182013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5519 Ondřej Bílka <neleai@seznam.cz>
5520
5521 [BZ #15073]
5522 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5523 have_lock.
362b47fe 5524
b9bcbbcb
OB
55252013-12-23 Ondřej Bílka <neleai@seznam.cz>
5526
5527 [BZ #12986]
5528 * manual/stdio.texi (String Input Conversions): Clarify that character
5529 classes are not supported.
5530
fb55fcd2
AZ
55312013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5532
5533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5534
ef7344f0
JM
55352013-12-22 Joseph Myers <joseph@codesourcery.com>
5536
4f40e4b3
JM
5537 [BZ #16337]
5538 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5539 Calculate results for small negative arguments directly rather
5540 than using reflection formula with special underflow handling.
5541
ef7344f0
JM
5542 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5543 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5544 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5545 (fchflags): Likewise.
5546 (revoke): Likewise.
5547 (setlogin): Likewise.
5548 (sigaltstack): Likewise.
5549 (wait4): Likewise.
5550 (sigblock): Remove.
5551 (sigsetmask): Likewise.
5552 (wait3): Likewise.
5553 (waitpid): Likewise.
5554 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5555 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5556 file.
5557 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5558 * sysdeps/unix/bsd/Makefile: ... here.
5559 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5560 * sysdeps/unix/bsd/Versions: ... here.
5561 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5562 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5563 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5564 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5565 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5566 * sysdeps/unix/bsd/sigblock.c: ... here.
5567 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5568 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5569 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5570 * sysdeps/unix/bsd/sigvec.c: ... here.
5571 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5572 * sysdeps/unix/bsd/tcdrain.c: ... here.
5573 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5574 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5575 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5576 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5577 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5578 * sysdeps/unix/bsd/wait.c: ... here.
5579 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5580 * sysdeps/unix/bsd/wait3.c: ... here.
5581 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5582 * sysdeps/unix/bsd/waitpid.c: ... here.
5583
5b0626b9
JM
55842013-12-21 Joseph Myers <joseph@codesourcery.com>
5585
5586 [BZ #16356]
5587 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5588 round-to-nearest for [!USE_AS_EXPM1L].
5589 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5590 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5591 more tests of exp and exp10. Expect some exp10 tests to miss
5592 exceptions or fail in directed rounding modes.
5593 * math/auto-libm-test-out: Regenerated.
5594 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5595 (exp10_test_tonearest): New function.
5596 (exp10_towardzero_test_data): New array.
5597 (exp10_test_towardzero): New function.
5598 (exp10_downward_test_data): New array.
5599 (exp10_test_downward): New function.
5600 (exp10_upward_test_data): New array.
5601 (exp10_test_upward): New function.
5602 (main): Call the new functions.
5603 * sysdeps/i386/fpu/libm-test-ulps: Update.
5604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5605
7fda5682
JM
56062013-12-20 Joseph Myers <joseph@codesourcery.com>
5607
31e3a405
JM
5608 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5609 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5610 * math/auto-libm-test-out: Regenerated.
5611 * math/libm-test.inc (acosh_test_data): Add more tests.
5612 (atanh_test_data): Likewise.
5613 (ceil_test_data): Likewise.
5614 (copysign_test_data): Likewise.
5615 * sysdeps/i386/fpu/libm-test-ulps: Update.
5616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5617
85bff96a
JM
5618 * timezone/checktab.awk: Update from tzcode 2013i.
5619 * timezone/private.h: Likewise.
5620 * timezone/scheck.c: Likewise.
5621 * timezone/tzfile.h: Likewise.
5622 * timezone/tzselect.ksh: Likewise.
5623 * timezone/zdump.c: Likewise.
5624 * timezone/zic.c: Likewise.
5625
b7867a3b
JM
5626 * math/auto-libm-test-in: Add tests of cpow.
5627 * math/auto-libm-test-out: Regenerated.
5628 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 5629 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
5630 mpc_cc_c.
5631 (func_calc_desc): Add mpc_cc_c union field.
5632 (test_functions): Add cpow.
5633 (special_fill_2pi): New function.
5634 (special_real_inputs): Add 2pi.
5635 (calc_generic_results): Handle mpc_cc_c.
5636 * sysdeps/i386/fpu/libm-test-ulps: Update.
5637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5638
7fda5682
JM
5639 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5640 csqrt, ctan and ctanh.
5641 * math/auto-libm-test-out: Regenerated.
5642 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5643 (TEST_COND_x86): Likewise.
5644 (ccos_test_data): Use AUTO_TESTS_c_c.
5645 (ccosh_test_data): Likewise.
5646 (cexp_test_data): Likewise.
5647 (clog_test_data): Likewise.
5648 (csqrt_test_data): Likewise.
5649 (ctan_test_data): Likewise.
5650 (ctan_tonearest_test_data): Likewise.
5651 (ctan_towardzero_test_data): Likewise.
5652 (ctan_downward_test_data): Likewise.
5653 (ctan_upward_test_data): Likewise.
5654 (ctanh_test_data): Likewise.
5655 (ctanh_tonearest_test_data): Likewise.
5656 (ctanh_towardzero_test_data): Likewise.
5657 (ctanh_downward_test_data): Likewise.
5658 (ctanh_upward_test_data): Likewise.
5659 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5660 mpc_c_c.
5661 (func_calc_desc): Add mpc_c_c union field.
5662 (FUNC_mpc_c_c): New macro.
5663 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5664 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5665 ctanh.
5666 (special_fill_min_subnorm_p120): New function.
5667 (special_real_inputs): Add min_subnorm_p120.
5668 (calc_generic_results): Handle mpc_c_c.
5669 * sysdeps/i386/fpu/libm-test-ulps: Update.
5670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5671
5ff8d60e
SP
56722013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5673
57f41c40
AS
5674 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5675 (do_sin_slow): New functions.
5676 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5677 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 5678
84ba214c
SP
5679 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5680 Use M to change sign of result instead of X. Assume X is
5681 positive.
5682 (csloww1): Likewise.
5683 (__sin): Adjust.
5684 (__cos): Adjust.
5685
975195e4
SP
5686 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5687 arguments A and DA.
5688 (__sin): Adjust.
5689 (__cos): Likewise.
5690
5ff8d60e
SP
5691 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5692 (__cos): Likewise.
5693 (sloww1): Don't adjust sign of DX.
5694 (csloww1): Likewise.
5695 (sloww2): Use X directly and don't adjust sign of DX.
5696 (csloww2): Likewise.
5697
eb983568
JM
56982013-12-19 Joseph Myers <joseph@codesourcery.com>
5699
64a17f1a
JM
5700 * math/auto-libm-test-in: Add tests of cabs and carg.
5701 * math/auto-libm-test-out: Regenerated.
5702 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5703 (carg_test_data): Likewise.
5704 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5705 mpc_c_f.
5706 (func_calc_desc): Add mpc_c_f union field.
5707 (test_functions): Add cabs and carg.
5708 (calc_generic_results): Handle mpc_c_f.
5709
eb983568
JM
5710 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5711 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5712 as a macro and a compat symbol.
5713 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5714 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5715 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5716 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5717 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5718 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5719 not use .hidden.
5720 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5721 Likewise.
5722 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5723 Likewise.
5724 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5725 Likewise.
5726 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5727 Likewise.
5728 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5729 Likewise.
5730 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5731 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5732 from GLIBC_2.3.2.
5733
6eeb678a
AZ
57342013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5735
5736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5737
6f6fc482
JM
57382013-12-19 Joseph Myers <joseph@codesourcery.com>
5739
21fea2e2
JM
5740 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5741 trailing whitespace removed.
5742 * scripts/config.guess: Update to version 2013-11-29.
5743 * scripts/config.sub: Update to version 2013-10-01.
5744
6f6fc482
JM
5745 * math/auto-libm-test-in: Add tests of sincos.
5746 * math/auto-libm-test-out: Regenerated.
5747 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5748 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5749 mpfr_f_11.
5750 (func_calc_desc): Add mpfr_f_11 union field.
5751 (test_functions): Add sincos.
5752 (calc_generic_results): Handle mpfr_f_11.
5753 * sysdeps/i386/fpu/libm-test-ulps: Update.
5754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5755
83f5c32d
AS
57562013-12-19 Andreas Schwab <schwab@suse.de>
5757
5758 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5759 CALL_MCOUNT.
5760 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5761 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5762 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5763
c688b419
JM
57642013-12-19 Joseph Myers <joseph@codesourcery.com>
5765
335ee092
JM
5766 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5767 * sysdeps/i386/fpu/libm-test-ulps: Update.
5768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5769
f88acd39
JM
5770 [BZ #16293]
5771 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5772 round-to-nearest mode when using frndint.
5773 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5774 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5775 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5776 Likewise.
5777 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5778 sinh test to fail.
5779 * math/auto-libm-test-out: Regenerated.
5780 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5781 (TEST_COND_x86): Likewise.
5782 (expm1_tonearest_test_data): New array.
5783 (expm1_test_tonearest): New function.
5784 (expm1_towardzero_test_data): New array.
5785 (expm1_test_towardzero): New function.
5786 (expm1_downward_test_data): New array.
5787 (expm1_test_downward): New function.
5788 (expm1_upward_test_data): New array.
5789 (expm1_test_upward): New function.
5790 (main): Run the new test functions.
5791 * sysdeps/i386/fpu/libm-test-ulps: Update.
5792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5793
c688b419
JM
5794 * include/features.h: Update comment documenting feature test
5795 macros. Mention _DEFAULT_SOURCE in comment.
5796 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5797 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5798 _BSD_SOURCE and _SVID_SOURCE.
5799 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5800 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5801 !_SVID_SOURCE]: Likewise.
5802 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5803 (__USE_POSIX_IMPLICITLY): Define.
5804 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5805 (_POSIX_SOURCE): Undefine and redefine.
5806 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5807 (_POSIX_C_SOURCE): Likewise.
5808 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5809 (Feature Test Macros): Update documentation of default features.
5810
9f6e964c
RS
58112013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5812
5813 * benchtests/Makefile: Add bench-strtok.
5814 * benchtests/bench-strtok.c: New file: strtok benchtest.
5815
ee0a148a
AM
58162013-12-19 Allan McRae <allan@archlinux.org>
5817
5818 * manual/install.texi: Suppress menu for plain text output.
5819 * INSTALL: Regenerated.
5820
b9ab448f
BM
58212013-12-18 Brooks Moses <bmoses@google.com>
5822
5823 [BZ #15846]
5824 * misc/getauxval.c: Include errno.h.
5825 (__getauxval): Set errno to ENOENT if the requested type is not
5826 found.
5827 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5828 don't declare with __attribute_const__.
5829 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5830 * manual/startup.texi: Document that getauxval sets errno.
5831
23776487
JM
58322013-12-18 Joseph Myers <joseph@codesourcery.com>
5833
f889953b
JM
5834 * math/auto-libm-test-in: Add tests of jn and yn.
5835 * math/auto-libm-test-out: Regenerated.
5836 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5837 (yn_test_data): Likewise.
5838 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5839 mpfr_if_f.
5840 (func_calc_desc): Add mpfr_if_f union field.
5841 (FUNC_mpfr_if_f): New macro.
5842 (test_functions): Add jn and yn.
5843 (calc_generic_results): Assert type of second input for
5844 mpfr_ff_f. Handle mpfr_if_f.
5845 (output_for_one_input_case): Disable all checking for arguments
5846 fitting floating-point types in case of an integer argument.
5847 * sysdeps/i386/fpu/libm-test-ulps: Update.
5848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5849
23776487
JM
5850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5851 Don't expect fegetround reference in libm.so.
5852
cb756c6d
MS
58532013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5854
5855 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5856 $(config-cflags-nofma).
5857
2dec468f
JM
58582013-12-18 Joseph Myers <joseph@codesourcery.com>
5859
5953eb3a
JM
5860 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5861 * math/auto-libm-test-out: Regenerated.
5862
2dec468f
JM
5863 [BZ #16338]
5864 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5865 to determine exponent and adjust argument to have exponent of -1.
5866 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5867 log2.
5868 * math/auto-libm-test-out: Regenerated.
5869 * sysdeps/i386/fpu/libm-test-ulps: Update.
5870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5871
4d84e6ad
OB
58722013-12-18 Ondřej Bílka <neleai@seznam.cz>
5873
5874 * manual/probes.texi: Remove cases when per-thread arenas are
5875 disabled.
5876
1818483b
AS
58772013-12-18 Andreas Schwab <schwab@suse.de>
5878
5879 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5880 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5881 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5882 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5883 * sysdeps/i386/i686/multiarch/Makefile: Update.
5884 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5885
25de95bf
JM
58862013-12-17 Joseph Myers <joseph@codesourcery.com>
5887
5888 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5889 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5890
674762d9
PE
58912013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5892
ed27ed83 5893 [BZ #15968]
0748546f
PE
5894 Support TZ transition times < 00:00:00.
5895 This is needed for version-3 tz-format files; it supports time
5896 stamps past 2037 for America/Godthab (the only entry in the tz
5897 database for which this change is relevant).
5898 * manual/time.texi (TZ Variable): Document transition times
5899 from -167:59:59 through -00:00:01.
5900 * time/tzset.c (tz_rule): Time of day is now signed.
5901 (__tzset_parse_tz): Parse negative time of day.
5902
4480e934
PE
5903 Document TZ transition times >= 25:00:00.
5904 * manual/time.texi (TZ Variable): Document transition times from
5905 25:00:00 through 167:59:59. These are already supported, and this
5906 support will help with version-3 tz-format files.
5907
69947401
PE
5908 * manual/time.texi (TZ Variable): Modernize North America example
5909 to reflect current (i.e., 2007-and-later) daylight saving rules.
5910
674762d9
PE
5911 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5912
7011c262
JM
59132013-12-17 Joseph Myers <joseph@codesourcery.com>
5914
2fc6557e
JM
5915 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5916 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5918 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5919 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5920 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5921 * sysdeps/unix/bsd/clock.c: Likewise.
5922 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5923 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5924 * sysdeps/unix/bsd/init-posix.c: Likewise.
5925 * sysdeps/unix/bsd/poll.c: Likewise.
5926 * sysdeps/unix/bsd/ptsname.c: Likewise.
5927 * sysdeps/unix/bsd/seekdir.c: Likewise.
5928 * sysdeps/unix/bsd/setegid.c: Likewise.
5929 * sysdeps/unix/bsd/seteuid.c: Likewise.
5930 * sysdeps/unix/bsd/setgid.c: Likewise.
5931 * sysdeps/unix/bsd/setrgid.c: Likewise.
5932 * sysdeps/unix/bsd/setruid.c: Likewise.
5933 * sysdeps/unix/bsd/setsid.c: Likewise.
5934 * sysdeps/unix/bsd/setuid.c: Likewise.
5935 * sysdeps/unix/bsd/sigaction.c: Likewise.
5936 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5937 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5938 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5939 * sysdeps/unix/bsd/telldir.c: Likewise.
5940 * sysdeps/unix/bsd/times.c: Likewise.
5941 * sysdeps/unix/bsd/usleep.c: Likewise.
5942
029c7b25
JM
5943 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5944 ($(objpfx)libbsd-compat.a): Remove rule.
5945
7011c262
JM
5946 * include/features.h (__FAVOR_BSD): Do not define.
5947 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5948 features conflicting with POSIX.
5949 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5950 (_BSD_SOURCE): Remove description of not being a subset of other
5951 feature test macros.
5952 * manual/job.texi (getpgrp): Do not document BSD version.
5953 (getpgid): Do not document by reference to BSD getpgrp.
5954 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5955 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5956 * signal/signal.h [__FAVOR_BSD]: Likewise.
5957 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5958 instead of making contents conditional on [__FAVOR_BSD].
5959 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5960
affb6f78
AZ
59612013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5962
5963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5964
c88769dd
JM
59652013-12-17 Joseph Myers <joseph@codesourcery.com>
5966
6432a540
JM
5967 [BZ #16314]
5968 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5969 values below 2**-450, not 2**-500.
5970 * math/auto-libm-test-in: Don't allow spurious underflow from
5971 hypot.
5972 * math/auto-libm-test-out: Regenerated.
5973
c88769dd
JM
5974 [BZ #16316]
5975 [BZ #16330]
5976 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5977 values of ha and hb and sort them after adjusting subnormal
5978 arguments.
5979 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5980 Likewise.
5981 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5982 values of ea and eb and sort them after adjusting subnormal
5983 arguments.
5984 * math/auto-libm-test-in: Do not expect some hypot tests of
5985 subnormals to fail. Add more hypot tests.
5986 * math/auto-libm-test-out: Regenerated.
5987
29618f6b
KK
59882013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5989
5990 [BZ #13304]
5991 * sysdeps/sh/s_fma.c: New file.
5992 * sysdeps/sh/s_fmaf.c: New file.
5993 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5994 version.
5995 * sysdeps/sh/Implies: Add sh/soft-fp.
5996
eacfdfbf
RM
59972013-12-16 Roland McGrath <roland@hack.frob.com>
5998
5999 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6000 level of indirection to members `objname', `errstring', `malloced'.
6001 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6002 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6003 it as the __longjmp argument (just pass 1 instead).
6004 (_dl_catch_error): Initialize C with argument pointers and address of
6005 volatile local ERRCODE rather than copying values out of C at return.
6006
ff362e5b
JM
60072013-12-16 Joseph Myers <joseph@codesourcery.com>
6008
6009 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6010 * math/auto-libm-test-out: Regenerated.
6011 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6012 (hypot_test_data): Likewise.
6013 (pow_test_data): Likewise.
6014 (pow_tonearest_test_data): Likewise.
6015 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6016 mpfr_ff_f.
6017 (func_calc_desc): Add mpfr_ff_f union field.
6018 (FUNC_mpfr_ff_f): New macro.
6019 (test_functions): Add atan2, hypot and pow.
6020 (special_fill_min): New function.
6021 (special_fill_minus_min): Likewise.
6022 (special_fill_min_subnorm): Likewise.
6023 (special_fill_minus_min_subnorm): Likewise.
6024 (special_real_inputs): Add min, -min, min_subnorm and
6025 -min_subnorm.
6026 (calc_generic_results): Handle mpfr_ff_f.
6027 * sysdeps/i386/fpu/libm-test-ulps: Update.
6028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6029
5764c27f
WN
60302013-12-16 Will Newton <will.newton@linaro.org>
6031
6032 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6033 (Aligned Memory Blocks): Add documentation for aligned_alloc
6034 and suggest it as an alternative to posix_memalign.
6035 (Hooks for Malloc): Document __memalign_hook is also called
6036 for aligned_alloc. (Summary of Malloc): Add summary for
6037 aligned alloc. Document __memalign_hook is also called
6038 for aligned_alloc.
6039
0a096e44
WN
60402013-12-16 Will Newton <will.newton@linaro.org>
6041
6042 * manual/memory.texi (Malloc Examples): Clarify default
6043 alignment documentation. Suggest posix_memalign rather
6044 than memalign or valloc.
6045 (Aligned Memory Blocks): Remove suggestion to use memalign
6046 or valloc. Remove obsolete comment about BSD.
6047 Document memalign errno values and mark the function obsolete.
6048 Document posix_memalign returned error codes. Mark valloc
6049 as obsolete. (Hooks for Malloc): __memalign_hook is also
6050 called for posix_memalign and valloc.
6051 (Summary of Malloc): Add posix_memalign to function summary.
6052 __memalign_hook is also called for posix_memalign and valloc.
6053
8d561986
SP
60542013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6055
6056 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6057 TAYLOR_SIN.
6058 (__sin): Adjust.
6059 (__cos): Likewise.
6060 (sloww): Use mynumber union. Expand ternary operator into
6061 if-else statements.
6062 (cslow): use mynumber union.
6063
73616a74
AM
60642013-12-16 Allan McRae <allan@archlinux.org>
6065
9e8ac24b
AM
6066 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6067 * configure: Regenerated.
6068
6f8e37eb
AM
6069 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6070
8894bad3
AM
6071 [BZ #14120]
6072 * configure.ac: Added --enable-maintainer-mode. Check for
6073 autoconf when enabled.
6074 * configure: Regenerated.
6075
73616a74
AM
6076 * nscd/nscd.service: New file.
6077 * nscd/nscd.tmpfiles: New file.
6078
584b18eb
OB
60792013-12-14 Ondřej Bílka <neleai@seznam.cz>
6080
6081 [BZ #12100]
6082 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6083 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6084 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6085 (strstr): Add __strstr_sse2_unaligned ifunc.
6086 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6087 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6088 (strcasestr): Remove __strcasestr_sse42 ifunc.
6089 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6090 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6092
8a5c7897
KK
60932013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6094
6095 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6096 * sysdeps/sh/bits/fenv.h: ... here.
6097 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6098
fd712ef3
AZ
60992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6100
6101 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6102
42fcb46c
AZ
6103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6104 hypotf multiarch implementations.
6105 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6106 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6107 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6108 multiarch hypot for PPC64.
6109 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6110 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6111 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6112 multiarch hypotf for PPC64.
6113
83efded4
AZ
6114 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6115 modff multiarch implementations.
6116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6119 multiarch modf for PPC64.
6120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6123 multiarch modff for PPC64.
6124
43e246d2
AZ
6125 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6126 and logl multiarch implementations.
6127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6130 multiarch logb for PPC64.
6131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6134 multiarch logb for PPC64.
6135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6138 multiarch logb for PPC64.
6139
8fdad123
AZ
6140 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6141 isinff multiarch implementation.
6142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6143 file.
6144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6146 multiarch isinf for PPC64.
6147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6148 file.
6149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6150 multiarch isinff for PPC64.
6151
1481d706
AZ
6152 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6153 finitef multiarch implementation.
6154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6155 file.
6156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6158 multiarch finite for PPC64.
6159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6160 file.
6161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6162 multiarch finitef for PPC64.
6163
5ccd5fc8
AZ
6164 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6165 lrint multiarch implementation.
6166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6167 file.
6168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6170 multiarch llrint for PPC64.
6171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6172 multiarch lrint for PPC64.
6173
2568f3fa
AZ
6174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6175 copysignf multiarch implementation.
6176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6177 file.
6178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6179 file.
6180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6181 multiarch copysign for PPC64.
6182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6183 multiarch copysignf for PPC64.
6184
1cb341fd
AZ
6185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6186 multiarch implementation.
6187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6188 file.
6189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6190 file.
6191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6192 file.
6193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6194 file.
6195 multiarch llround for PPC64.
6196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6197 multiarch trunc for PPC64.
6198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6199 multiarch truncf for PPC64.
6200
59a3e194
AZ
6201 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6202 multiarch implementation.
6203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6204 file.
6205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6206 file.
6207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6208 file.
6209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6210 file.
6211 multiarch llround for PPC64.
6212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6213 multiarch round for PPC64.
6214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6215 multiarch roundf for PPC64.
6216
357fd3b4
AZ
6217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6218 multiarch implementation.
6219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6220 file.
6221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6222 file.
6223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6224 file.
6225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6226 file.
6227 multiarch llround for PPC64.
6228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6229 multiarch floor for PPC64.
6230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6231 multiarch floorf for PPC64.
6232
96770f12
AZ
6233 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6234 multiarch implementation.
6235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6236 file.
6237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6238 file.
6239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6240 file.
6241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6242 file.
6243 multiarch llround for PPC64.
6244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6245 multiarch ceil for PPC64.
6246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6247 multiarch ceilf for PPC64.
6248
c3627f6e
AZ
6249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6250 multiarch implementation.
6251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6252 file.
6253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6254 file.
6255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6256 file.
6257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6258 multiarch llround for PPC64.
6259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6260 multiarch lround for PPC64.
6261
b2284ad7
AZ
6262 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6263 multiarch implementation.
6264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6267 file.
6268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6271 multiarch isnan for PPC64.
6272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6273 multiarch isnanf for PPC64.
6274
69bbc63d
AZ
6275 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6276 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6277 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6278 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6279 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6281
c24517c9
AZ
6282 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6283 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6284 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6285 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6286
a52374e8
AZ
6287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6288 multiarch implementations.
6289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6290 (__libc_ifunc_impl_list): Likewise.
6291 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6292 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6293 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6294 multiarch stpcpy for PPC64.
6295
7f5ec113
AZ
6296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6297 multiarch implementations.
6298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6299 (__libc_ifunc_impl_list): Likewise.
6300 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6301 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6302 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6303 multiarch strcpy for PPC64.
6304
e28bcd42
AZ
6305 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6306 redefine function name.
6307 (_wordcopy_fwd_dest_aligned): Likewise.
6308 (_wordcopy_bwd_aligned): Likewise.
6309 (_wordcopy_bwd_dest_aligned): Likewise.
6310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6311 multiarch implementations.
6312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6313 (__libc_ifunc_impl_list): Likewise.
6314 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6315 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6316 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6317 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6318 multiarch wcscpy for PPC64.
6319
92cacfce
AZ
6320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6321 multiarch implementations.
6322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6323 (__libc_ifunc_impl_list): Likewise.
6324 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6325 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6326 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6327 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6328 multiarch wcscpy for PPC64.
6329
7b714620
AZ
6330 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6331 multiarch implementations.
6332 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6333 (__libc_ifunc_impl_list): Likewise.
6334 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6335 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6336 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6337 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6338 multiarch wcsrchr for PPC64.
6339
16fd2ae3
AZ
6340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6341 multiarch implementations.
6342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6343 (__libc_ifunc_impl_list): Likewise.
6344 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6345 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6346 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6347 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6348 multiarch wcschr for PPC64.
6349
9ee2969b
AZ
6350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6351 multiarch implementations.
6352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6353 (__libc_ifunc_impl_list): Likewise.
6354 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6355 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6356 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6357 multiarch strchrnul for PPC64.
6358
372dc060
AZ
6359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6360 implementations.
6361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6362 (__libc_ifunc_impl_list): Likewise.
6363 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6364 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6365 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6366 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6367 strchr for PPC64.
6368
24c2c3b9
AZ
6369 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6370 implementations.
6371 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6372 (__libc_ifunc_impl_list): Likewise.
6373 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6374 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6375 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6376 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6377 strncmp for PPC64.
6378
1c92d9a0
AZ
6379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6380 multiarch implementations.
6381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6382 (__libc_ifunc_impl_list): Likewise.
6383 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6384 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6385 strncasecmp for PPC64.
6386 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6387 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6388 multiarch strncasecmp_l for PPC64.
6389
17de3ee3
AZ
6390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6391 multiarch implementations.
6392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6393 (__libc_ifunc_impl_list): Likewise.
6394 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6395 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6396 multiarch strcasecmp for PPC64.
6397 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6398 file.
6399 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6400 multiarch strcasecmp_l for PPC64.
6401
62982bf9
AZ
6402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6403 implementations.
6404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6405 (__libc_ifunc_impl_list): Likewise.
6406 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6407 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6408 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6409 strnlen for PPC64.
6410
a65f4904
AZ
6411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6412 implementations.
6413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6414 (__libc_ifunc_impl_list): Likewise.
6415 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6416 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6417 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6418 strlen for PPC64.
6419
1fd005ad
AZ
6420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6421 implementations.
6422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6423 (__libc_ifunc_impl_list): Likewise.
6424 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6425 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6426 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6427 rawmemrchr for PPC64.
6428
cd05ba91
AZ
6429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6430 implementation.
6431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6432 (__libc_ifunc_impl_list): Likewise.
6433 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6434 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6435 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6436 memrchr for PPC64.
6437
870f8676
AZ
6438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6439 implementation.
6440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6441 (__libc_ifunc_impl_list): Likewise.
6442 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6443 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6444 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6445 memchr for PPC64.
6446
f00be62b
AZ
6447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6448 implementation.
6449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6450 (__libc_ifunc_impl_list): Likewise.
6451 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6452 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6453 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6454 mempcpy for PPC64.
6455
8a29a3d0
AZ
6456 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6457 avoid cretion of __bzero symbol.
6458 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6459 Likewise.
6460 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6461 Likewise.
6462 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6463 Likewise.
6464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6465 multiarch implementations.
6466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6467 (__libc_ifunc_impl_list): Likewise.
6468 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6469 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6470 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6471 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6472 bzero for PPC32.
6473 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6474 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6475 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6476 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6477 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6478 memset for PPC64.
6479 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6480
07253fcf
AZ
6481 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6483 implementations.
6484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6485 (__libc_ifunc_impl_list): Likewise.
6486 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6487 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6488 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6489 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6490 memcmp for PPC64.
6491
b5beafbc
AZ
6492 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6493 multiarch for POWER/PPC64.
6494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6495 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6496 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6497 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6498 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6499 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6500 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6501 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6502 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6503 memcpy for PPC64.
6504
5e6a4d4b
AZ
6505 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6506 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6507 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6508 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6509 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6510 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6511 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6512 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6513 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6514 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6515 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6516 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6517 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6518 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6519 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6527
ddfab6dc
KK
65282013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6529
6530 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6531
19b5525e
SP
65322013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6533
6534 * benchtests/Makefile (bench): Add exp2 and log2.
6535 (LDLIBS-bench-exp2): Add -lm.
6536 (LDLIBS-bench-log2): Likewise.
6537 * benchtests/exp2-inputs: New inputs file.
6538 * benchtests/log2-inputs: New inputs file.
6539 * benchtests/log-inputs: Add new inputs.
6540 * benchtests/tan-inputs: Likewise.
6541
196f7f5d
SP
65422013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6543
7a74607f
SP
6544 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6545 definition...
57f41c40
AS
6546 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6547 (csloww2): ... from here.
7a74607f 6548
196f7f5d
SP
6549 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6550 instead of structures.
6551 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6552 (POLYNOMIAL): Likewise.
6553 (TAYLOR_SLOW): Likewise.
6554 (__sin): Likewise.
6555 (__cos): Likewise.
6556 (slow1): Likewise.
6557 (slow2): Likewise.
6558 (sloww): Likewise.
6559 (sloww1); Likewise.
6560 (sloww2): Likewise.
6561 (bsloww1): Likewise.
6562 (bsloww2): Likewise.
6563 (cslow2): Likewise.
6564 (csloww): Likewise.
6565 (csloww1): Likewise.
6566 (csloww2): Likewise.
6567
0dfa665c
OB
65682013-12-10 Ondřej Bílka <neleai@seznam.cz>
6569
6570 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
6571 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6572 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
6573 * malloc/hooks.c (realloc_check): Likewise.
6574
5782a80f
OB
6575 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6576 * malloc/arena.c: Remove PER_THREAD conditional.
6577 [!PER_THREAD]: Remove code.
6578 (ptmalloc_unlock_all2): Likewise.
6579 (ptmalloc_init): Likewise.
6580 (_int_new_arena): Likewise.
6581 (arena_get2): Likewise.
6582 * malloc/hooks.c (__malloc_get_state): Likewise.
6583 (__malloc_set_state): Likewise.
6584 * malloc/malloc.c: Likewise.
6585 (struct malloc_state): Likewise.
6586 (struct malloc_par): Likewise.
6587 (__libc_realloc): Likewise.
6588 (__libc_mallopt): Likewise.
6589
aeb95445
AZ
65902013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6591
6592 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6593
e8349efd
OB
65942013-12-09 Ondřej Bílka <neleai@seznam.cz>
6595
6596 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6597 macro to a function. Check for zero perturb_byte.
6598 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6599
f3eeb3fc 6600 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
6601 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6602 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
6603 force_reg by atomic_forced_read.
6604 * malloc/arena.c (ptmalloc_init): Likewise.
6605 * malloc/hooks.c (top_check): Likewise.
6606
be2f9009
AZ
66072013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6608
6609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6610
e7b914bd
MT
66112013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6612
6613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6614
9f0be4f8
JM
66152013-12-08 Joseph Myers <joseph@codesourcery.com>
6616
6617 * math/auto-libm-test-in: Add tests of lgamma.
6618 * math/auto-libm-test-out: Regenerated.
6619 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6620 (M_LOG_2_SQRT_PIl): Likewise.
6621 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6622 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6623 mpfr_f_f1.
6624 (func_calc_desc): Add mpfr_f_f1 union field.
6625 (ARGS1): New macro.
6626 (ARGS2): Likewise.
6627 (ARGS3): Likewise.
6628 (ARGS4): Likewise.
6629 (RET1): Likewise.
6630 (RET2): Likewise.
6631 (CALC): Likewise.
6632 (FUNC): Likewise.
6633 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6634 (test_functions): Add lgamma.
6635 (calc_generic_results): Handle mpfr_f_f1.
6636 * sysdeps/i386/fpu/libm-test-ulps: Update.
6637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6638
24eeafdb
AZ
66392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6640
6641 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6642 __mpn_add_n for PowerPC64/POWER7.
6643 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6644 __mpn_sub_n for PowerPC64/POWER7.
6645
4a2c0fd4
AZ
6646 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6647 __mpn_addmul_1 for PowerPC64.
6648 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6649 __mpn_submul_1 for PowerPC64.
6650 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6651 for PowerPC64.
6652 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6653 for PowerPC64.
6654
4b5b548c
FS
66552013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6656
6657 [BZ #15089]
6658 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6659
0a3ac0aa
AZ
66602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6661
6662 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6663
ccdc8438
AZ
6664 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6665 add multiarch folders.
6666 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6667 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6668 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6669 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6670 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6671 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6672 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6673 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6674 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6675 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6676 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6683
2e973d99
AZ
6684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6685 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6687 New file.
6688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6689 New file.
6690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6691 multiarch __ieee754_hypot for PowerPC32.
6692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6693 New file.
6694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6695 New file.
6696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6697 multiarch __ieee754_hypotf for PowerPC32.
6698
2d9470b2
AZ
6699 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6700 long_double_symbol only if __logbl is defined.
6701 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6702 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6703 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6704 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6705 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6706 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6707 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6708 path for implementation.
6709 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6710 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6712 logb, and logbl multiarch implementations for PowerPC32.
6713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6714 file.
6715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6716 file.
6717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6718 multiarch logb for PowerPC32.
6719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6720 file.
6721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6722 file.
6723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6724 multiarch logbf for PowerPC32.
6725 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6727 file.
6728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6729 multiarch logbl implementation for PowerPC32.
6730
5212ffce
AZ
6731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6732 and modff multiarch implementations.
6733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6734 New file.
6735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6736 New file.
6737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6738 multiarch modf for PowerPC32.
6739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6740 New file.
6741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6742 New file.
6743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6744 multiarch modff for PowerPC32.
6745
79dccf31
AZ
6746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6747 and lrintf multiarch implementations.
6748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6749 New file.
6750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6751 New file.
6752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6753 multiarch lrint for PowerPC32.
6754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6755 file: multiarch lrintf for PowerPC32.
6756
deb66480
AZ
6757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6758 and lroundf multiarch implementations.
6759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6760 New file.
6761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6762 New file.
6763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6764 New file.
6765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6766 multiarch lround for PowerPC32.
6767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6768 file: multiarch lroundf for PowerPC32.
6769
264b036b
AZ
6770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6771 copysign and copysignf multiarch implementations.
6772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6773 New file.
6774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6775 New file.
6776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6777 file: multiarch copysign for PowerPC32.
6778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6779 file: multiarch copysignf for PowerPC32.
6780
d47db6c9
AZ
6781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6782 and truncf multiarch implementations.
6783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6784 New file.
6785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6786 file.
6787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6788 multiarch trunc for PowerPC32.
6789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6790 New file.
6791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6792 New file.
6793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6794 multiarch truncf for PowerPC32.
6795
ddb60b5a
AZ
6796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6797 and roundf multiarch implementations.
6798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6799 New file.
6800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6801 file.
6802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6803 multiarch round for PowerPC32.
6804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6805 New file.
6806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6807 New file.
6808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6809 multiarch roundf for PowerPC32.
6810
bedcf49b
AZ
6811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6812 and floorf multiarch implementations.
6813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6814 New file.
6815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6816 file.
6817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6818 multiarch floor for PowerPC32.
6819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6820 New file.
6821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6822 New file.
6823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6824 multiarch floorf for PowerPC32.
6825
35ae5b40
AZ
6826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6827 and ceilf multiarch implementations.
6828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6829 New file.
6830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6831 file.
6832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6833 multiarch ceil for PowerPC32.
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6835 New file.
6836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6837 file.
6838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6839 multiarch ceilf for PowerPC32.
6840
ae1a4cd9
AZ
6841 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6842 is defined.
6843 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6844 FINITEF is defined.
6845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6846 and finitef multiarch implementations.
6847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6848 New file.
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6850 file.
6851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6852 multiarch finite for PowerPC32.
6853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6854 New file.
6855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6856 file: multiarch finitef for PowerPC32.
6857
64fffd65
AZ
6858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6859 and isinff multiarch implementations.
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6861 file.
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6863 file.
6864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6865 multiarch isinf for PowerPC32.
6866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6867 New file.
6868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6869 multiarch isinff for PowerPC32.
6870
8e4e7ba2
AZ
6871 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6872 alias when __isnan is defined.
6873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6874 and isnanf multiarch implementations.
6875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6876 file.
6877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6878 file.
6879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6880 file.
6881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6882 file.
6883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6884 multiarch isnan for PowerPC32.
6885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6886 New file.
6887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6888 New file.
6889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6890 multiarch isnanf for PowerPC32.
6891
ddba588e
AZ
6892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6893 and sqrtf multiarch implementations.
6894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6895 file.
6896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6897 file.
6898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6899 multiarch sqrt for PowerPC32.
6900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6901 file.
6902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6903 file.
6904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6905 multiarch sqrtf for PowerPC32.
6906
0f96a2f0
AZ
6907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6908 and llroundf multiarch implementations.
6909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6910 New file.
6911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6912 New file.
6913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6914 New file.
6915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6916 file: multiarch llround for PowerPC32.
6917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6918 file: multiarch llroundf for PowerPC32.
6919
c9b5d79e
AZ
6920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6921 multiarch PowerPC32 fpu implementations.
6922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6923 New file.
6924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6925 New file.
6926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6927 multiarch llrint for PowerPC32.
6928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6929 New file.
6930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6931 New file.
6932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6933 file.
6934
9cbb3aab
AZ
6935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6936
ea5a72f8
AZ
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6938 file.
6939 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6940 file.
6941 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6942 file.
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6944 multiarch wordcopy for PPC32.
6945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6946 wordcopy objects.
6947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6948 (__libc_ifunc_impl_list): Likewise.
6949 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6950 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6951 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6952 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6953 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6954 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6955
93be09e7
AZ
6956 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6958 file.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6960 file.
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6962 file.
6963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6964 multiarch wcscpy for PPC32.
6965 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6966 multiarch objects.
6967 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6968 (__libc_ifunc_impl_list): Likewise.
6969 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6970 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6971 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6972 sysdeps/powerpc/power6/wcscpy.c.
6973
bb04e529
AZ
6974 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6975 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6976 file.
6977 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6978 file.
6979 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6980 file.
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6982 multiarch wcsrchr for PPC32.
6983 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6984 multiarch objects.
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6986 (__libc_ifunc_impl_list): Likewise.
6987 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6988 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6989 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6990 sysdeps/powerpc/power6/wcsrchr.c.
6991
05b5cd1c
AZ
6992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6993 file.
6994 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6995 file.
6996 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6997 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6998 multiarch wcschr for PPc32.
6999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7000 multiarch objects.
7001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7002 (__libc_ifunc_impl_list): Likewise.
7003 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7004 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7005 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7006 sysdeps/powerpc/power6/wcschr.c.
7007
ba964147
AZ
7008 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7009 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7010 file.
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7012 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7013 file: multiarch strchr for PPC32.
7014 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7015 multiarch objects.
7016 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7017 (__libc_ifunc_impl_list): Likewise.
7018
31c81aaa
AZ
7019 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7020 name.
7021 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7022 file.
7023 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7024 file.
7025 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7026 multiarch strchrnul for PPC32.
7027 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7028 multiarch objects.
7029 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7030 (__libc_ifunc_impl_list): Likewise.
7031
0d0607d9
AZ
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7033 file.
7034 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7035 multiarch strncasecmp for PPC32.
7036 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7037 file.
7038 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7039 multiarch strncasecmp_l for PPC32.
7040 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7041 strncasecmp multiarch objects.
7042 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7043 (__libc_ifunc_impl_list): Likewise.
7044
4dfd5c86
AZ
7045 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7046 file.
7047 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7048 multiarch strncasecmp for PPC32.
7049 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7050 New file.
7051 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7052 multiarch strcasecmp_l for PPC32.
7053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7054 multiarch objects.
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7056 (__libc_ifunc_impl_list): Likewise.
7057
a19e01a3
AZ
7058 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7059 file.
7060 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7061 file.
7062 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7063 multiarch strncmp for PPC32.
7064 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7065 multiarch objects.
7066 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7067 (__libc_ifunc_impl_list): Likewise.
7068
ae9cf7a2
AZ
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7070 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7071 file.
7072 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7073 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7074 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7075 multiarch objects.
7076 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7077 (__libc_ifunc_impl_list): Likewise.
7078
3148bb7d
AZ
7079 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7080 file.
7081 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7082 file.
7083 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7084 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7085 multiarch objects.
7086 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7087 (__libc_ifunc_impl_list): Likewise.
7088
7af8b946
AZ
7089 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7090 file.
7091 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7092 file.
7093 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7094 multiarch rawmemchr for PPC32.
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7096 multiarch objects.
7097 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7098 (__libc_ifunc_impl_list): Likewise.
7099
03a6aa6a
AZ
7100 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7101 file.
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7103 file.
7104 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7105 file: memrchr multiarch for PPC32.
7106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7107 multiarch objects.
7108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7109 (__libc_ifunc_impl_list): Likewise.
7110
1c62e6d9
AZ
7111 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7112 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7113 file.
7114 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7115 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7116 multiarch memchr for PPC32.
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7118 multiarch objects.
7119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7120 (__libc_ifunc_impl_list): Likewise.
7121
87da8bdb
AZ
7122 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7123 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7124 file.
7125 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7126 file.
7127 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7128 file: multiarch mempcpy for PPC32.
7129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7130 multiarch objects.
7131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7132 (__libc_ifunc_impl_list): Likewise.
7133
20ed4714
AZ
7134 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7135 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7136 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7137 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7138 multiarch bzero for PPC32.
7139 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7140 file.
7141 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7142 file.
7143 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7144 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7145 file: multiarch memset for PPC32.
7146 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7147 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7148 memset multiarch objects.
7149 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7150 (__libc_ifunc_impl_list): Likewise.
7151
ab3e3a46
AZ
7152 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7153 file.
7154 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7155 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7156 memcmp for PPC32.
7157 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7159 multiarch objects.
7160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7161 (__libc_ifunc_impl_list): Likewise.
7162
930de6f0
AZ
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7164 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7165 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7166 file.
7167 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7168 file.
7169 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7170 file.
7171 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7172 multiarch memcpy for PPC32.
7173 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7174 multiarch objects.
7175 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7176 (__libc_ifunc_impl_list): Likewise.
7177
4c628e00
AZ
7178 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7179 support multiarch for POWER/PPC32.
7180 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7181 Likewise.
7182 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7184 Implies file to make multiarch folder appers before the fpu and
7185 default folder for power4 configuration.
7186
f4479220
SP
71872013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7188
7189 * scripts/bench.pl: Append volatile keyword to type.
7190
8517800f
KK
71912013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7192
7193 * sysdeps/sh/sotruss-lib.c: New file.
7194 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7195
180138f1
AZ
71962013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7197
7198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7199
bbf37bdc
JM
72002013-12-05 Joseph Myers <joseph@codesourcery.com>
7201
e47cc4e0
JM
7202 [BZ #6810]
7203 * math/w_tgamma.c: Include <errno.h>.
7204 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7205 * math/w_tgammaf.c: Include <errno.h>.
7206 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7207 * math/w_tgammal.c: Include <errno.h>.
7208 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7209 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7210 underflow. Add more tgamma tests.
7211 * math/auto-libm-test-out: Regenerated.
7212 * sysdeps/i386/fpu/libm-test-ulps: Update.
7213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7214
bbf37bdc
JM
7215 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7216 sin, sinh, tan, tanh, tgamma, y0 and y1.
7217 * math/auto-libm-test-out: Regenerated.
7218 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7219 (TEST_COND_x86): Likewise.
7220 (M_E2l): Remove macro.
7221 (M_E3l): Likewise.
7222 (M_2_SQRT_PIl): Likewise.
7223 (M_SQRT_PIl): Likewise.
7224 (M_1_DIV_El): Likewise.
7225 (log_test_data): Use AUTO_TESTS_f_f.
7226 (log10_test_data): Likewise.
7227 (log1p_test_data): Likewise.
7228 (log2_test_data): Likewise.
7229 (sin_test_data): Likewise.
7230 (sin_tonearest_test_data): Likewise.
7231 (sin_towardzero_test_data): Likewise.
7232 (sin_downward_test_data): Likewise.
7233 (sin_upward_test_data): Likewise.
7234 (sinh_test_data): Likewise.
7235 (sinh_tonearest_test_data): Likewise.
7236 (sinh_towardzero_test_data): Likewise.
7237 (sinh_downward_test_data): Likewise.
7238 (sinh_upward_test_data): Likewise.
7239 (tan_test_data): Likewise.
7240 (tan_tonearest_test_data): Likewise.
7241 (tan_towardzero_test_data): Likewise.
7242 (tan_downward_test_data): Likewise.
7243 (tan_upward_test_data): Likewise.
7244 (tanh_test_data): Likewise.
7245 (tgamma_test_data): Likewise.
7246 (y0_test_data): Likewise.
7247 (y1_test_data): Likewise.
7248 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7249 (special_real_inputs): Add pi/4.
7250 * sysdeps/i386/fpu/libm-test-ulps: Update.
7251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7252
eb5ad6b9
AZ
72532013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7254
7255 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7256 "longjmp_target" static probes.
7257 (__longjmp): Rename to __longjmp_symbol.
7258 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7259 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7260 on which longjmp to generate.
7261 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7262 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7263 probe.
7264 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7265 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7266 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7267 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7268 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7269 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7271 __longjmp_symbol based on which __longjmp to generate.
7272 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7273 probe.
7274 (setjmp): Rename to setjmp_symbol.
7275 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7276 (_setjmp): Rename to _setjmp_symbol.
7277 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7278 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7279 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7280 which setjmp to generate.
7281 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7282 "longjmp_target" static probes.
7283
d136c6dc
SP
72842013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7285
9298ecba
SP
7286 * benchtests/README: Add note about output arguments.
7287 * benchtests/bench-sincos.c: Remove file.
7288 * benchtests/sincos-inputs: New file.
7289 * scripts/bench.pl: Identify output arguments and define
7290 static variables for them.
7291
232983e9
SP
7292 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7293
d136c6dc
SP
7294 [BZ #15941]
7295 * Makefile (INSTALL): Add install-plain.texi as the primary
7296 dependency.
7297 * manual/install-plain.texi: New file.
7298 * manual/install.texi: Include node directive only for
7299 non-plaintext output.
7300
699ff837
JM
73012013-12-04 Joseph Myers <joseph@codesourcery.com>
7302
ab07cea8
JM
7303 * stdlib/longlong.h: Update from GCC.
7304
699ff837
JM
7305 [BZ #6807]
7306 [BZ #15901]
7307 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7308 * math/w_j0f.c (y0f): Likewise.
7309 * math/w_j0l.c (__y0l): Likewise.
7310 * math/w_j1.c (y1): Likewise.
7311 * math/w_j1f.c (y1f): Likewise.
7312 * math/w_j1l.c (__y1l): Likewise
7313 * math/w_jn.c (yn): Likewise.
7314 * math/w_jnf.c (ynf): Likewise.
7315 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7316 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7317 value for Bessel function domain errors outside _SVID_ mode.
7318 Adjust sign of return value for yn (negative integer, 0).
7319 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7320 by zero in return for negative x and set sign appropriately for
7321 negative n.
7322 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7323 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7324 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7325 expectations in error cases.
7326 (y1_test_data): Likewise.
7327 (yn_test_data): Likewise.
7328 * sysdeps/i386/fpu/libm-test-ulps: Update.
7329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7330
5b118558
UW
73312013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7332
7333 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7334 "64" to "64-v1". Add "64-v2".
7335 (abi-64-options): Rename to ...
7336 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7337 (abi-64-condition): Rename to ...
7338 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7339 (abi-64-ld-soname): Rename to ...
7340 (abi-64-v1-ld-soname): ... this.
7341 (abi-64-v2-options): Define.
7342 (abi-64-v2-condition): Likewise.
7343 (abi-64-v2-ld-soname): Likewise.
7344 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7345 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7349
61cd8fe4
UW
73502013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7351 Alan Modra <amodra@gmail.com>
7352
7353 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7354 New versions for use with the ELFv2 ABI.
7355 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7356 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7357 declaration.
7358 (struct La_ppc64v2_retval): Likewise.
7359 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7360 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7361 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7362 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7363 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7364 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7365 Do not save or restore CR.
7366 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7367 (_dl_profile_resolve): Do no save or restore CR. Support extended
7368 return values for ELFv2 ABI. Fix location of FPR return registers.
7369 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7370 updated values for _CALL_ELF == 2.
7371 (La_regs, La_retval, int_retval): Likewise.
7372
8b8a692c
UW
73732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7374
7375 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7376 (FRAME_MIN_SIZE_PARM): Likewise.
7377 (FRAME_BACKCHAIN): Likewise.
7378 (FRAME_CR_SAVE): Likewise.
7379 (FRAME_LR_SAVE): Likewise.
7380 (FRAME_TOC_SAVE): Likewise.
7381 (FRAME_PARM_SAVE): Likewise.
7382 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7383 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7384 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7385 (call_mcount_parm_offset): New macro.
7386 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7387 (PROF): Use symbolic stack frame offsets.
7388 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7389 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7390 Redefine in terms of FRAME_MIN_SIZE.
7391 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7392 (_dl_profile_resolve): Likewise. Update comment.
7393 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7394 symbols stack frame offsets.
7395 (__sigsetjmp): Likewise.
7396 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7397 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7398 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7399 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7400
7401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7402 (FRAME_BACKCHAIN): Remove.
7403 (FRAME_CR_SAVE): Likewise.
7404 (FRAME_LR_SAVE): Likewise.
7405 (FRAME_COMPILER_DW): Likewise.
7406 (FRAME_LINKER_DW): Likewise.
7407 (FRAME_TOC_SAVE): Likewise.
7408 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
7409 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7410 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7411 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
7412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7413 (CHECK_SP): Use symbolic stack frame offsets.
7414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7415 zone" instead of caller's parameter save area for temp storage.
7416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7417 Likewise. Also, use symbolic stack frame offsets.
7418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7419 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7420 our own stack frame instead of the caller's.
7421 (__socket): Use symbolic stack frame offsets.
7422
122b66de
UW
74232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7424 Alan Modra <amodra@gmail.com>
7425
7426 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7427 Define.
57f41c40
AS
7428 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7429 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
7430 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7431 New function.
7432 (elf_machine_fixup_plt): Call it.
7433 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7434 reloc arguments.
7435 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
7436 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7437 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7438 r2 before calling target.
7439
696caf1d
UW
74402013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7441 Alan Modra <amodra@gmail.com>
7442
7443 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7444 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7445 versions of macros to support ELFv2 ABI.
7446 (LOCALENTRY): New macro.
7447 (ENTRY, EALIGN): Use it.
7448 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7449 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7450 fall through into ENTRY entry point.
7451 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7452 Only define if _CALL_ELF != 2.
7453
7454 (elf_machine_matches_host): Verify ABI version matches.
7455 (RTLD_START): Use LOCALENTRY.
7456 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7457 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7458 (PLT_ENTRY_WORDS): New macro.
7459 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7460 (elf_machine_runtime_setup): Support ELFv2 ABI.
7461 (elf_machine_fixup_plt): Likewise.
7462 (elf_machine_plt_conflict): Likewise.
7463 (resolve_ifunc): Likewise.
7464 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7465 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7466 Likewise.
7467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7468 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7470 (makecontext): Support ELFv2 ABI.
7471 * elf/elf.h (EF_PPC64_ABI): Define.
7472
d31beafa
UW
74732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7474
57f41c40
AS
7475 * sysdeps/powerpc/powerpc64/sysdep.h
7476 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7477 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7478 (ENTRY) [ASSEMBLER]: ... but instead here ...
7479 (EALIGN) [ASSEMBLER]: ... and here.
7480 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7481 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7482 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
7483 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7484 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
7485 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7486 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
7487 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7489 Use PPC64_LOAD_FUNCPTR.
7490
b525166b
UW
7491 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7492
7ec07d9a
AM
74932013-12-04 Alan Modra <amodra@gmail.com>
7494
7495 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7496 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7497 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7498 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7499
7500 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7501 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7502 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7503 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7504 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7505 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7506
5162e7dd
UW
75072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7508
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7510 (__makecontext): Fix incorrect CFI when backtracing out of
7511 context created via makecontext.
7512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7513 (__setcontext): Fix incorrect CFI during switch to new context.
7514 (__novec_setcontext): Likewise.
7515
19e3372b
OB
75162013-12-04 Ondřej Bílka <neleai@seznam.cz>
7517
7518 [BZ #4772]
7519 * time/strptime_l.c (__strptime_internal): Allow modifiers
7520 in strptime.
7521 * time/tst-strptime.c (day_tests): Add testcase.
7522
ecaf142d
SP
75232013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7524
7525 * scripts/bench.pl: Skip over blank lines.
7526
fbf964ae
PE
75272013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7528
7529 [BZ #926]
7530 * manual/time.texi (Calendar Time): Clarify what timezone functions
7531 use.
7532
fa60a674
AZ
75332013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7534
7535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7536
d674f0ef
OB
75372013-12-04 Ondřej Bílka <neleai@seznam.cz>
7538
7539 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7540 implementation.
7541 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7542 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7543 * debug/memset_chk.c (__memset_chk): Likewise.
7544 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7545 * debug/strncpy_chk.c: Likewise.
7546
17dea188
JM
75472013-12-03 Joseph Myers <joseph@codesourcery.com>
7548
749008ff
JM
7549 [BZ #15268]
7550 [BZ #15425]
7551 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7552 (__ieee754_exp): For possibly underflowing results, check size of
7553 result and force underflow exception if required.
7554 * math/auto-libm-test-in: Add more tests of exp.
7555 * math/auto-libm-test-out: Regenerated.
7556 * sysdeps/i386/fpu/libm-test-ulps: Update.
7557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7558
17dea188
JM
7559 [BZ #16283]
7560 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7561 * math/w_exp2f.c (__exp2f): Likewise.
7562 * math/w_exp2l.c (__exp2l): Likewise.
7563 * math/auto-libm-test-in: Do not allow missing errno on exp2
7564 underflow.
7565 * math/auto-libm-test-out: Regenerated.
7566
b20de2c3
OB
75672013-12-03 Ondřej Bílka <neleai@seznam.cz>
7568
7569 [BZ #16274]
7570 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7571 handle filename validation.
7572 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7573 (do_open): Delete.
7574
d8e2dbe3
JM
75752013-12-03 Joseph Myers <joseph@codesourcery.com>
7576
34e16df5
JM
7577 [BZ #6786]
7578 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7579 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7580 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7581 <float.h>.
7582 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7583 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7584 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7585 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7586 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7587 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7588 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7589 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7590 Add more erfc tests.
7591 * math/auto-libm-test-out: Regenerated.
7592 * sysdeps/i386/fpu/libm-test-ulps: Update.
7593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7594
d8e2dbe3
JM
7595 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7596 exp2, expm1, j0 and j1.
7597 * math/auto-libm-test-out: Regenerated.
7598 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7599 (erfc_test_data): Likewise.
7600 (exp_test_data): Likewise.
7601 (exp_tonearest_test_data): Likewise.
7602 (exp_towardzero_test_data): Likewise.
7603 (exp_downward_test_data): Likewise.
7604 (exp_upward_test_data): Likewise.
7605 (exp10_test_data): Likewise.
7606 (exp2_test_data): Likewise.
7607 (expm1_test_data): Likewise.
7608 (j0_test_data): Likewise.
7609 (j1_test_data): Likewise.
7610 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7611 (input_flag_type): Add flag_xfail_rounding.
7612 (input_flags): Add xfail-rounding.
7613 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7614 (output_for_one_input_case): Handle flag_xfail_rounding.
7615 * sysdeps/i386/fpu/libm-test-ulps: Update.
7616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7617
18d14251
AJ
76182013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7619
3d2e6075 7620 [BZ #16289]
18d14251
AJ
7621 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7622 division by 0.
7623
520d437b
SP
76242013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7625
7626 [BZ #16195]
7627 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7628 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7629 (STAP_PROBE0): New macro.
7630 (STAP_PROBE1): Likewise.
7631 (STAP_PROBE2): Likewise.
7632 (STAP_PROBE3): Likewise.
7633 (STAP_PROBE4): Likewise.
7634
416e0145
OB
76352013-12-02 Ondřej Bílka <neleai@seznam.cz>
7636
7637 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7638
9d17796a
SE
76392013-12-02 Steve Ellcey <sellcey@mips.com>
7640
7641 * benchtests/Makefile (bench): Add sqrt.
7642 (LDLIBS-bench-sqrt): New.
7643 * benchtests/sqrt-input: New.
7644
f524d6a8
PS
76452013-12-02 Pavel Simerda <psimerda@redhat.com>
7646
639a0ef8
PS
7647 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7648 (GAIH_EAI): Likewise.
7649 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7650 (gaih_inet): Likewise.
7651 (getaddrinfo): Don't use GAIH_EAI.
7652
f524d6a8
PS
7653 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7654 (struct gaih): Remove definition.
7655
df3aedaf
SP
76562013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7657
7658 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7659 Use HERRNOP directly.
7660
1ab19dec
AZ
76612013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7662
b42ad38d 7663 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7664
176b0c79
JM
76652013-11-30 Joseph Myers <joseph@codesourcery.com>
7666
7667 * math/gen-auto-libm-tests.c (test_functions): Add more
7668 single-argument functions.
7669 (special_fill_pi_2): New function.
7670 (special_fill_minus_pi_2): Likewise.
7671 (special_fill_pi_6): Likewise.
7672 (special_fill_minus_pi_6): Likewise.
7673 (special_fill_pi_3): Likewise.
7674 (special_fill_2pi_3): Likewise.
7675 (special_fill_e): Likewise.
7676 (special_fill_1_e): Likewise.
7677 (special_fill_e_minus_1): Likewise.
7678 (special_real_inputs): Add more special inputs.
7679 (output_for_one_input_case): Do not require ERANGE on underflow to
7680 zero if round-to-nearest result does not underflow to zero, unless
7681 exact results required.
7682 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7683 atan, atanh, cbrt, cos and cosh.
7684 * math/auto-libm-test-out: Regenerated.
7685 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7686 (acos_tonearest_test_data): Likewise.
7687 (acos_towardzero_test_data): Likewise.
7688 (acos_downward_test_data): Likewise.
7689 (acos_upward_test_data): Likewise.
7690 (acosh_test_data): Likewise.
7691 (asin_test_data): Likewise.
7692 (asin_tonearest_test_data): Likewise.
7693 (asin_towardzero_test_data): Likewise.
7694 (asin_upward_test_data): Likewise.
7695 (asinh_test_data): Likewise.
7696 (atan_test_data): Likewise.
7697 (atanh_test_data): Likewise.
7698 (cbrt_test_data): Likewise.
7699 (cos_test_data): Likewise.
7700 (cos_tonearest_test_data): Likewise.
7701 (cos_towardzero_test_data): Likewise.
7702 (cos_downward_test_data): Likewise.
7703 (cos_upward_test_data): Likewise.
7704 (cosh_test_data): Likewise.
7705 (cosh_tonearest_test_data): Likewise.
7706 (cosh_towardzero_test_data): Likewise.
7707 (cosh_downward_test_data): Likewise.
7708 (cosh_upward_test_data): Likewise.
7709 * sysdeps/i386/fpu/libm-test-ulps: Update.
7710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7711
ffb536d0
JM
77122013-11-29 Joseph Myers <joseph@codesourcery.com>
7713
2a77a467
JM
7714 [BZ #6787]
7715 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7716 * math/w_exp10f.c (__exp10f): Likewise.
7717 * math/w_exp10l.c (__exp10l): Likewise.
7718 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7719 errno settings in existing tests.
7720
ea3bc4e8
JM
7721 [BZ #14032]
7722 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7723 precision control set to double precision.
7724 * sysdeps/i386/fpu/w_sqrt.c: New file.
7725 * math/auto-libm-test-in: Add more tests.
7726 * math/auto-libm-test-out: Update.
7727
0712c9d8
JM
7728 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7729 (sqrt_test_tonearest): New function.
7730 (sqrt_towardzero_test_data): New variable.
7731 (sqrt_test_towardzero): New function.
7732 (sqrt_downward_test_data): New variable.
7733 (sqrt_test_downward): New function.
7734 (sqrt_upward_test_data): New variable.
7735 (sqrt_test_upward): New function.
7736 (main): Call the new functions.
7737
ffb536d0
JM
7738 * math/gen-auto-libm-tests.c: New file.
7739 * math/auto-libm-test-in: Likewise.
7740 * math/auto-libm-test-out: New generated file.
7741 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7742 variables.
7743 (%beautify): Add generated representations of zero.
7744 (top level): Set $auto_input and call parse_auto_input.
7745 (beautify): Remove trailing "f" from hex float constants.
7746 (parse_args): Handle XFAIL_TEST.
7747 (convert_condition): New function.
7748 (or_value): Likewise.
7749 (or_cond_value): Likewise.
7750 (generate_testfile): Handle AUTO_TESTS_* lines.
7751 (parse_auto_input): New function.
7752 * math/libm-test.inc (XFAIL_TEST): New macro.
7753 (ERRNO_UNCHANGED): Update value.
7754 (ERRNO_EDOM): Likewise.
7755 (ERRNO_ERANGE): Likewise.
7756 (IGNORE_RESULT): Likewise.
7757 (TEST_COND_flt_32): New macro.
7758 (TEST_COND_dbl_64): Likewise.
7759 (TEST_COND_ldbl_96_intel): Likewise.
7760 (TEST_COND_ldbl_96_m68k): Likewise.
7761 (TEST_COND_ldbl_128): Likewise.
7762 (TEST_COND_ldbl_128ibm): Likewise.
7763 (TEST_COND_long32): Likewise.
7764 (TEST_COND_long64): Likewise.
7765 (TEST_COND_before_rounding): Likewise.
7766 (TEST_COND_after_rounding): Likewise.
7767 (enable_test): Handle XFAIL_TEST flag.
7768 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7769 with finite results.
7770 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7771 auto-libm-test-out.
7772
acd98a8e
AK
77732013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7774 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7775
7776 [BZ #16214]
7777 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7778 __tls_get_addr_internal instead of __tls_get_offset in order to
7779 avoid GOT pointer dependency. Make rtld export
7780 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7781 __tls_get_addr since we are a __tls_get_offset platform.
7782 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7783 GOT pointer being set up before.
7784 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7785
3c1c46a6
JM
77862013-11-28 Joseph Myers <joseph@codesourcery.com>
7787
7475aef5
JM
7788 * manual/math.texi (Errors in Math Functions): Document accuracy
7789 goals.
7790
8bca7cd8
JM
7791 [BZ #15004]
7792 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7793 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7794 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7796 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7798 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7799 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7800 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7801 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7802 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7803 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7804 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7806 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7807 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7808
91a1f3fe
JM
7809 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7810 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7811 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7812 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7813 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7814 Likewise.
7815 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7816 Likewise.
7817 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7818 Likewise.
7819 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7820 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7821 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7822 atomic-feupdateenv and flt-rounds.
7823 * sysdeps/powerpc/nofpu/Versions (libc): Add
7824 __atomic_feholdexcept, __atomic_feclearexcept,
7825 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7826 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7827 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7828 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7829 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7830 here.
7831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7832 Update.
7833
c5df7609
JM
7834 * manual/arith.texi (FP Exceptions): Document that exceptions may
7835 not be raised when matherr is used.
7836 (Math Error Reporting): Document overflow in directed rounding
7837 modes. Document that errno may not be set when finite values are
7838 returned on overflow. Document intent to set errno on underflow
7839 only for underflow to zero.
7840
3c1c46a6
JM
7841 [BZ #16271]
7842 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7843 round-to-nearest then adjust result for other rounding modes.
7844 * include/fenv.h (fegetround): Use libm_hidden_proto.
7845 * math/fegetround.c (fegetround): Use libm_hidden_def.
7846 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7847 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7848 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7849 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7850 Likewise.
7851 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7852 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7853 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7854 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7855
5a4c6d53
SP
78562013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7857
7858 [BZ #16077]
7859 * nss/Versions (libnss_files): Add
7860 _nss_files_gethostbyname3_r.
7861 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7862 New function.
7863 (HOST_DB_LOOKUP): Remove macro.
7864 (_nss_files_gethostbyname_r): Implement function without the
7865 HOST_DB_LOOKUP macro.
7866 (_nss_files_gethostbyname2_r): Likewise.
7867
897b98ba
OB
78682013-11-28 Ondřej Bílka <neleai@seznam.cz>
7869
7870 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7871
6f476861
UB
78722013-11-26 Uros Bizjak <ubizjak@gmail.com>
7873
7874 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7875 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7876 warning.
7877
bd12ab55
AZ
78782013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7879
7880 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7881 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7882 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7883 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7884 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7885 __fe_nomask_env_priv and attribute_hidden.
7886 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7887 (libc_feupdateenv_test_ppc): Likewise.
7888 (libc_feresetround_ppc): Likewise.
7889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7890 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7891 compat_symbol macro.
7892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7893 (__fe_nomask_env): Likewise.
7894 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7895
52bb6543
OB
78962013-11-26 Ondřej Bílka <neleai@seznam.cz>
7897
7898 * string/Makefile: Remove ifunc tests.
7899 * string/test-string.h: Define TEST_IFUNC.
7900 * string/test-bcopy-ifunc.c: Remove.
7901 * string/test-bzero-ifunc.c: Likewise.
7902 * string/test-memccpy-ifunc.c: Likewise.
7903 * string/test-memchr-ifunc.c: Likewise.
7904 * string/test-memcmp-ifunc.c: Likewise.
7905 * string/test-memcpy-ifunc.c: Likewise.
7906 * string/test-memmem-ifunc.c: Likewise.
7907 * string/test-memmove-ifunc.c: Likewise.
7908 * string/test-mempcpy-ifunc.c: Likewise.
7909 * string/test-memrchr-ifunc.c: Likewise.
7910 * string/test-memset-ifunc.c: Likewise.
7911 * string/test-rawmemchr-ifunc.c: Likewise.
7912 * string/test-stpcpy-ifunc.c: Likewise.
7913 * string/test-stpncpy-ifunc.c: Likewise.
7914 * string/test-strcasecmp-ifunc.c: Likewise.
7915 * string/test-strcasestr-ifunc.c: Likewise.
7916 * string/test-strcat-ifunc.c: Likewise.
7917 * string/test-strchr-ifunc.c: Likewise.
7918 * string/test-strchrnul-ifunc.c: Likewise.
7919 * string/test-strcmp-ifunc.c: Likewise.
7920 * string/test-strcpy-ifunc.c: Likewise.
7921 * string/test-strcspn-ifunc.c: Likewise.
7922 * string/test-strlen-ifunc.c: Likewise.
7923 * string/test-strncasecmp-ifunc.c: Likewise.
7924 * string/test-strncat-ifunc.c: Likewise.
7925 * string/test-strncmp-ifunc.c: Likewise.
7926 * string/test-strncpy-ifunc.c: Likewise.
7927 * string/test-strnlen-ifunc.c: Likewise.
7928 * string/test-strpbrk-ifunc.c: Likewise.
7929 * string/test-strrchr-ifunc.c: Likewise.
7930 * string/test-strspn-ifunc.c: Likewise.
7931 * string/test-strstr-ifunc.c: Likewise.
7932
ab260039 79332013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7934
7935 * benchtests/Makefile: Remove ifunc tests.
7936 * benchtests/bench-string.h: Define TEST_IFUNC.
7937 * benchtests/bench-bcopy-ifunc.c: Remove.
7938 * benchtests/bench-bzero-ifunc.c: Likewise.
7939 * benchtests/bench-memccpy-ifunc.c: Likewise.
7940 * benchtests/bench-memchr-ifunc.c: Likewise.
7941 * benchtests/bench-memcmp-ifunc.c: Likewise.
7942 * benchtests/bench-memcpy-ifunc.c: Likewise.
7943 * benchtests/bench-memmem-ifunc.c: Likewise.
7944 * benchtests/bench-memmove-ifunc.c: Likewise.
7945 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7946 * benchtests/bench-memrchr-ifunc.c: Likewise.
7947 * benchtests/bench-memset-ifunc.c: Likewise.
7948 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7949 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7950 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7951 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7952 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7953 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7954 * benchtests/bench-strcat-ifunc.c: Likewise.
7955 * benchtests/bench-strchr-ifunc.c: Likewise.
7956 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7957 * benchtests/bench-strcmp-ifunc.c: Likewise.
7958 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7959 * benchtests/bench-strcpy-ifunc.c: Likewise.
7960 * benchtests/bench-strcspn-ifunc.c: Likewise.
7961 * benchtests/bench-strlen-ifunc.c: Likewise.
7962 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7963 * benchtests/bench-strncat-ifunc.c: Likewise.
7964 * benchtests/bench-strncmp-ifunc.c: Likewise.
7965 * benchtests/bench-strncpy-ifunc.c: Likewise.
7966 * benchtests/bench-strnlen-ifunc.c: Likewise.
7967 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7968 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7969 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7970 * benchtests/bench-strspn-ifunc.c: Likewise.
7971 * benchtests/bench-strstr-ifunc.c: Likewise.
7972
79732013-11-26 Ondřej Bílka <neleai@seznam.cz>
7974
ab260039
OB
7975 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7976
d1d9eaf4 79772013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7978
d1d9eaf4
OB
7979 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7980 * rt/aio.h: Likewise.
7981 * sysdeps/gnu/bits/utmp.h: Likewise.
7982 * sysdeps/gnu/bits/utmpx.h: Likewise.
7983 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7984 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7985 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7986 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7987 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7988 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7989 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7990 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7991 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7992 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7993 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7994 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7995 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7997 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7998 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7999 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8000 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8001 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8002 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8003 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8004 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8005 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8006 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8007 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8008 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8009 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8010 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8011 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8012 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8013 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8014 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8015 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8016 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8017 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8018 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8019 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8020 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8021 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8022 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8023 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8024 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8025
a7624ed9
CD
80262013-11-25 Carlos O'Donell <carlos@redhat.com>
8027
8028 [BZ #16245]
8029 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8030 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8031
63cfe52b
JM
80322013-11-25 Joseph Myers <joseph@codesourcery.com>
8033
8034 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8035 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8036 Likewise.
8037
41e8926a
AZ
80382013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8039
8040 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8041 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8042 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8043 (__fesetround): Remove define.
8044 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8045 rounding and exceptions handling.
8046 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8047 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8048 (__fe_nomask_env): Likewise.
8049 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8050 __fegetround instead of fegetround.
8051 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8052 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8053
6851bd4d
RM
80542013-11-21 Roland McGrath <roland@hack.frob.com>
8055
070906ff
RM
8056 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8057 it's there.
8058
6851bd4d
RM
8059 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8060
84ae135d
MI
80612013-11-21 Meador Inge <meadori@codesourcery.com>
8062
8063 [BZ #11157]
8064 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8065 (encrypt_r): Likewise.
8066 * malloc/obstack.h (obstack_free): Likewise.
8067 * posix/unistd.h (encrypt): Likewise.
8068
daf75146
GM
80692013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8070
8071 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8072 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8073 DL_CALL_DT_FINI() that call the functions directly.
8074 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8075 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8076 * elf/dl-fini.c: Likewise.
8077
10ad46bc
OB
80782013-11-20 Ondřej Bílka <neleai@seznam.cz>
8079
8080 * malloc/hooks.c (memalign_check): Add alignment rounding.
8081 * malloc/malloc.c (_mid_memalign): New function.
8082 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8083 Implement by calling _mid_memalign.
8084 * manual/probes.texi (Memory Allocation Probes): Remove
8085 memory_valloc_retry and memory_pvalloc_retry.
8086
f3fd2628
SP
80872013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8088
4712799f
SP
8089 * locale/programs/locarchive.c (open_archive): Add const
8090 qualifier to ARCHIVEFNAME and copy default fname to
8091 DEFAULT_FNAME.
8092
0417b20f
SP
8093 [BZ #15601]
8094 * libio/tst-widetext.input: Rename Oriya to Odia.
8095 * locale/iso-639.def: Likewise.
8096
f3fd2628
SP
8097 * manual/probes.texi (Mathematical Function Probes): Add
8098 documentation for sin, cos, asin and acos probes.
8099 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8100 (__sin32): Add slowasin probe.
8101 (__cos32): Add slowacos probe.
8102 (__mpsin): Add slowsin probe.
8103 (__mpcos): Add slowcos probe.
8104
73c1ce4f
JM
81052013-11-19 Joseph Myers <joseph@codesourcery.com>
8106
8107 [BZ #15483]
8108 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8109 thread-local __sim_exceptions_thread and global
8110 __sim_exceptions_global.
8111 (__sim_disabled_exceptions): Change to thread-local
8112 __sim_disabled_exceptions_thread and global
8113 __sim_disabled_exceptions_global.
8114 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8115 and global __sim_round_mode_global.
8116 (__simulate_exceptions): Use thread-local floating-point state and
8117 set global state from it as needed.
8118 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8119 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8120 __sim_round_mode_thread.
8121 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8122 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8123 and global __sim_exceptions_global.
8124 (__sim_disabled_exceptions): Change to thread-local
8125 __sim_disabled_exceptions_thread and global
8126 __sim_disabled_exceptions_global.
8127 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8128 and global __sim_round_mode_global.
8129 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8130 (SIM_SET_GLOBAL): Likewise.
8131 * sysdeps/powerpc/soft-fp/sfp-machine.h
8132 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8133 __sim_round_mode_thread.
8134 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8135 __sim_disabled_exceptions_thread.
8136 (__sim_exceptions): Change to __sim_exceptions_thread.
8137 (__sim_disabled_exceptions): Change to
8138 __sim_disabled_exceptions_thread.
8139 (__sim_round_mode): Change to __sim_round_mode_thread.
8140 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8141 thread-local floating-point state and set global state from it as
8142 needed.
8143 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8144 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8145 (__sim_disabled_exceptions): Remove extern declaration.
8146 (feenableexcept): Use thread-local floating-point state and set
8147 global state from it as needed.
8148 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8149 extern declaration.
8150 (__sim_disabled_exceptions): Likewise.
8151 (__sim_round_mode): Likewise.
8152 (__fegetenv): Use thread-local floating-point state.
8153 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8154 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8155 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8156 floating-point state and set global state from it as needed.
8157 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8158 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8159 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8160 Likewise.
8161 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8162 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8163 Likewise.
8164 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8165 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8166 Use __sim_round_mode_thread.
8167 * math/test-fenv-tls.c: New file.
8168 * math/Makefile (tests): Add test-fenv-tls.
8169 ($(objpfx)test-fenv-tls): Depend on
8170 $(common-objpfx)nptl/libpthread.so.
8171
b5449b12
AS
81722013-11-19 Andreas Schwab <schwab@suse.de>
8173
8174 * locale/programs/locale.c (show_info): Decode wordarray elements.
8175 * locale/categories.def (LC_MONETARY): Add element for
8176 _NL_MONETARY_CRNCYSTR.
8177 * locale/C-monetary.c (conversion_rate): New variable.
8178 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8179 element.
8180
e186536b
CM
81812013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8182
8183 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8184 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8185
5c349950
PP
81862013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8187
8188 * elf/Makefile (tst-auxv): New test.
8189 * elf/tst-auxv.c: New
8190 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8191
699df45b
JM
81922013-11-18 Joseph Myers <joseph@codesourcery.com>
8193
8194 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8195 (hidden_proto): Caller changed.
8196 (hidden_tls_proto): New macro.
8197 (libc_hidden_tls_proto): Likewise.
8198 (rtld_hidden_tls_proto): Likewise.
8199 (libm_hidden_tls_proto): Likewise.
8200 (libresolv_hidden_tls_proto): Likewise.
8201 (librt_hidden_tls_proto): Likewise.
8202 (libdl_hidden_tls_proto): Likewise.
8203 (libnss_files_hidden_tls_proto): Likewise.
8204 (libnsl_hidden_tls_proto): Likewise.
8205 (libnss_nisplus_hidden_tls_proto): Likewise.
8206 (libutil_hidden_tls_proto): Likewise.
8207
b7589107
OB
82082013-11-18 Ondřej Bílka <neleai@seznam.cz>
8209
8210 [BZ #10253]
8211 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8212 (decompose_rpath): Defer expansion to fillin_rpath.
8213 (_dl_init_paths): Pass linkmap to fillin_rpath.
8214
250c23bd
RS
82152013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8216
8217 * benchtests/Makefile: Add strsep.
8218 * benchtests/bench-strsep.c: New file: strsep benchtest.
8219 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8220
a7931fcf
AS
82212013-11-18 Andreas Schwab <schwab@suse.de>
8222
8223 * locale/programs/locale.c (show_info) [case byte]: Check for
8224 '\377' instead of '\177'.
8225 * locale/C-monetary.c (not_available): Always use "\377".
8226 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8227 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8228 detect unavailable sign_posn locale elements.
8229 * locale/localeconv.c (__localeconv): For grouping and
8230 mon_grouping handle "\177" and "\377" like no grouping.
8231 (INT_ELEM): New macro. Use it to set all numeric members.
8232 * locale/programs/ld-monetary.c (monetary_read)
8233 <tok_mon_grouping>: Normalize single -1 to the empty string.
8234 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8235 Likewise.
8236
728dab0e
OB
82372013-11-07 Ondřej Bílka <neleai@seznam.cz>
8238
8239 [BZ #16055]
8240 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8241 when we match (nil).
8242 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8243
66294491
JM
82442013-11-16 Joseph Myers <joseph@codesourcery.com>
8245
ce665817
JM
8246 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8247 (NO_TEST_INLINE): Update value.
8248 (ERRNO_UNCHANGED): Likewise.
8249 (ERRNO_EDOM): Likewise.
8250 (ERRNO_ERANGE): Likewise.
8251 (IGNORE_RESULT): Likewise.
8252 (check_float_internal): Check signs of NaN results if
8253 TEST_NAN_SIGN used.
8254 (check_complex): Pass TEST_NAN_SIGN flag through to second
8255 check_float_internal call.
8256 (copysign_test_data): Add tests with quiet NaNs as second
8257 argument. Use TEST_NAN_SIGN.
8258 (fabs_test_data): Add test of negative quiet NaN argument. Use
8259 TEST_NAN_SIGN.
8260 (signbit_test_data): Add tests of quiet NaN argument.
8261 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8262
ee1466a9
JM
8263 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8264 $ignore_result.
8265 (parse_args): Handle function results specified as IGNORE.
8266 * math/libm-test.inc (IGNORE_RESULT): New macro.
8267 (check_float_internal): Do not check numerical result if flag
8268 IGNORE_RESULT set.
8269 (check_complex): Pass through IGNORE_RESULT to second
8270 check_float_internal call.
8271 (check_int): Do not check numerical result if flag IGNORE_RESULT
8272 set.
8273 (check_long): Likewise.
8274 (check_bool): Likewise.
8275 (check_longlong): Likewise.
8276 (lrint_test_data): Add tests of infinite and NaN arguments.
8277 (lrint_tonearest_test_data): Likewise.
8278 (lrint_towardzero_test_data): Likewise.
8279 (lrint_downward_test_data): Likewise.
8280 (lrint_upward_test_data): Likewise.
8281 (llrint_test_data): Likewise.
8282 (llrint_tonearest_test_data): Likewise.
8283 (llrint_towardzero_test_data): Likewise.
8284 (llrint_downward_test_data): Likewise.
8285 (llrint_upward_test_data): Likewise.
8286 (lround_test_data): Likewise.
8287 (llround_test_data): Likewise.
8288
14407b7e
JM
8289 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8290 (ERRNO_UNCHANGED): Update value.
8291 (ERRNO_EDOM): Likewise.
8292 (ERRNO_ERANGE): Likewise.
8293 (NO_TEST_INLINE_FLOAT): New macro.
8294 (NO_TEST_INLINE_DOUBLE): Likewise.
8295 (enable_test): New function.
8296 (RUN_TEST_f_f): Check enable_test before running test.
8297 (RUN_TEST_2_f): Likewise.
8298 (RUN_TEST_fff_f): Likewise.
8299 (RUN_TEST_c_f): Likewise.
8300 (RUN_TEST_f_f1): Likewise.
8301 (RUN_TEST_fF_f1): Likewise.
8302 (RUN_TEST_fI_f1): Likewise.
8303 (RUN_TEST_ffI_f1): Likewise.
8304 (RUN_TEST_c_c): Likewise.
8305 (RUN_TEST_cc_c): Likewise.
8306 (RUN_TEST_f_i): Likewise.
8307 (RUN_TEST_f_i_tg): Likewise.
8308 (RUN_TEST_ff_i_tg): Likewise.
8309 (RUN_TEST_f_b): Likewise.
8310 (RUN_TEST_f_b_tg): Likewise.
8311 (RUN_TEST_f_l): Likewise.
8312 (RUN_TEST_f_L): Likewise.
8313 (RUN_TEST_fFF_11): Likewise.
8314 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8315 conditionals.
8316 (cosh_test_data): Likewise.
8317 (exp_test_data): Likewise.
8318 (expm1_test_data): Likewise.
8319 (hypot_test_data): Likewise.
8320 (pow_test_data): Likewise.
8321 (sinh_test_data): Likewise.
8322 (tanh_test_data): Likewise.
8323 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8324 flags argument.
8325
ca07f197
JM
8326 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8327 tests with quiet NaN input and output.
8328 (acosh_test_data): Likewise.
8329 (asin_test_data): Likewise.
8330 (asinh_test_data): Likewise.
8331 (atan_test_data): Likewise.
8332 (atanh_test_data): Likewise.
8333 (atan2_test_data): Likewise.
8334 (cbrt_test_data): Likewise.
8335 (cos_test_data): Likewise.
8336 (cosh_test_data): Likewise.
8337 (erf_test_data): Likewise.
8338 (erfc_test_data): Likewise.
8339 (exp_test_data): Likewise.
8340 (exp10_test_data): Likewise.
8341 (exp2_test_data): Likewise.
8342 (expm1_test_data): Likewise.
8343 (hypot_test_data): Likewise.
8344 (j0_test_data): Likewise.
8345 (j1_test_data): Likewise.
8346 (jn_test_data): Likewise.
8347 (lgamma_test_data): Likewise.
8348 (log_test_data): Likewise.
8349 (log10_test_data): Likewise.
8350 (log1p_test_data): Likewise.
8351 (log2_test_data): Likewise.
8352 (pow_test_data): Likewise.
8353 (scalb_test_data): Likewise.
8354 (sin_test_data): Likewise.
8355 (sincos_test_data): Likewise.
8356 (sinh_test_data): Likewise.
8357 (tan_test_data): Likewise.
8358 (tanh_test_data): Likewise.
8359 (tgamma_test_data): Likewise.
8360 (y0_test_data): Likewise.
8361 (y1_test_data): Likewise.
8362 (yn_test_data): Likewise.
8363
66294491
JM
8364 [BZ #16167]
8365 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8366 argument being NaN and avoid computations with second argument in
8367 that case.
8368 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8369 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8370 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8371
1820b143
CL
83722013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8373
8374 * locale/iso-639.def: Add Chitwani Tharu (the).
8375
714bd261
AS
83762013-11-14 Andreas Schwab <schwab@suse.de>
8377
8378 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8379 word instead of empty string.
8380
7ab44563
AZ
83812013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8382
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8384 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8386 (__fe_nomask_env): Likewise.
8387
e8470ea2
SE
83882013-11-13 Steve Ellcey <sellcey@mips.com>
8389
8390 * benchtests/bench-timing.h: Include time.h.
8391
17c1d9f0
L
83922013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8393
8394 [BZ #15997]
8395 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8396 to 3.4.0 for x32.
8397 * sysdeps/unix/sysv/linux/configure: Regenerated.
8398
9310c284
JM
83992013-11-13 Joseph Myers <joseph@codesourcery.com>
8400
8401 [BZ #16151]
8402 * stdlib/strtod_l.c (round_and_return): Do not consider
8403 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8404 exponent one less than half the least subnormal exponent.
8405 * stdlib/test-strtod-round-data: Add more tests.
8406 * stdlib/tst-strtod-round.c (tests): Regenerated.
8407
7a2ad8cf
AZ
84082013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8409
8410 [BZ #14143]
8411 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8412 (__fe_mask_env): Likewise.
8413 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8414 libm_hidden_proto and add function prototype.
8415 (__fe_mask_env): Add function prototype.
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8417 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8419 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8421 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8422
50727aa7
MS
84232013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8424
b2f386c1 8425 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8426 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8427
a615be46
MS
84282013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8429
8430 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8431 of htab_find_slot().
8432
7ddace62
DM
84332013-11-11 David S. Miller <davem@davemloft.net>
8434
8435 [BZ #16150]
8436 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8437 symbol in the non-vis3 case in static builds.
8438 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8439 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8440 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8441 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8442
9182aa67
JK
84432013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8444
8445 [BZ #387]
8446 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8447 it is empty.
8448
450a2e2d
AZ
84492013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8450
b2f386c1
SP
8451 * benchtests/Makefile: Add bench-strtod.
8452 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8453
8ec3f656
AS
84542013-11-11 Andreas Schwab <schwab@suse.de>
8455
8456 [BZ #16153]
8457 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8458 terminating NUL in key length.
8459
76a9b998
AZ
84602013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8461
8462 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8463 Add artificial ODP entry for vDSO symbol for PPC64.
8464 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8465 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8466
e4368156
OB
84672013-11-07 Ondřej Bílka <neleai@seznam.cz>
8468
8469 [BZ #15374]
8470 * nss/getent.c (services_keys): Recognize services starting with digit.
8471
8d6bb57c
DM
84722013-11-06 David S. Miller <davem@davemloft.net>
8473
8474 [BZ #15985]
8475 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8476 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8477
e256c421
WN
84782013-11-06 Will Newton <will.newton@linaro.org>
8479
8480 * manual/memory.texi (Malloc Examples): Remove register
8481 keyword from examples.
8482
f6e12daa 84832013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8484
f6e12daa 8485 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8486
9d880655
AS
84872013-11-04 Joseph Myers <joseph@codesourcery.com>
8488
fd2f9486 8489 [BZ #6981]
9d880655
AS
8490 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8491 depending on [__GCC_IEC_559 > 0].
8492 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8493 depending on [__GCC_IEC_559_COMPLEX > 0].
8494
ae129d3c
CL
84952013-11-03 Chris Leonard <cjl@sugarlabs.org>
8496
8497 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8498 to iso-639.def.
8499
4a15c2a4 85002013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8501
8502 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8503
8b35e35d
OB
85042013-11-01 Ondřej Bílka <neleai@seznam.cz>
8505
8506 [BZ #16112]
8507 * malloc/malloc (malloc_info): Do not handle first bin as
8508 special case.
8509
1d70fd6c
CL
85102013-11-01 Chris Leonard <cjl@sugarlabs.org>
8511
8512 * locale/iso-639.def: Add Central Nahuatl (nhn).
8513
8c5c2600
BH
85142013-11-01 Bruno Haible <bruno@clisp.org>
8515
8516 [BZ #7003]
8517 * manual/math.texi (BSD Random): Specify range upper bound as
8518 in POSIX.
8519
da5579c2
CL
85202013-10-31 Chris Leonard <cjl@sugarlabs.org>
8521
8522 * locale/iso-639.def: Add Meadow Mari (mhr).
8523
5d30d853
OB
85242013-10-31 Ondřej Bílka <neleai@seznam.cz>
8525
8526 [BZ #14752], [BZ #15763]
8527 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8528 Validate name.
8529 * rt/tst_shm.c: Add test for escaping directory.
8530
a4966c61
AS
85312013-10-31 Andreas Schwab <schwab@suse.de>
8532
8a43e768 8533 [BZ #15917]
a4966c61
AS
8534 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8535 followed by 'x' as part of digit sequence.
8536 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8537
28d708c4
MAP
85382013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8539
8540 [BZ #16037]
8541 * configure.ac: allow GNU Make 4.0 and greater.
8542 * configure: Regenerated.
8543
a56ee40b
WN
85442013-10-30 Will Newton <will.newton@linaro.org>
8545
8546 [BZ #16038]
8547 * malloc/hooks.c (memalign_check): Limit alignment to the
8548 maximum representable power of two.
8549 * malloc/malloc.c (__libc_memalign): Likewise.
8550 * malloc/tst-memalign.c (do_test): Add test for very
8551 large alignment values.
8552 * malloc/tst-posix_memalign.c (do_test): Likewise.
8553
c6e4925d
OB
85542013-10-30 Ondřej Bílka <neleai@seznam.cz>
8555
8556 [BZ #11087]
8557 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8558 (munmap_chunk): Likewise.
8559 (mremap_chunk): Likewise.
8560
85612013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8562
8a43e768 8563 [BZ #15799]
bbea82f7
OB
8564 * stdlib/div.c (div): Remove obsolete code.
8565 * stdlib/ldiv.c (ldiv): Likewise.
8566 * stdlib/lldiv.c (lldiv): Likewise.
8567
977f4b31
SP
85682013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8569
8570 [BZ #16071]
8571 * nss/nss_files/files-XXX.c (get_contents_ret): New
8572 enumerator.
8573 (get_contents): New function.
8574 (internal_getent): Use it. Expand size of LINEBUFLEN.
8575
cb8a6dbd
MF
85762013-10-30 Mike Frysinger <vapier@gentoo.org>
8577
8578 * configure.in: Moved to ...
8579 * configure.ac: ... here. Change reference to configure.in
8580 to configure.ac.
8581 * sysdeps/arm/preconfigure.ac: ... here.
8582 configure.in to configure.ac.
8583 * sysdeps/gnu/configure.in: Moved to ...
8584 * sysdeps/gnu/configure.ac: ... here.
8585 * sysdeps/i386/configure.in: Moved to ...
8586 * sysdeps/i386/configure.ac: ... here.
8587 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8588 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8589 * sysdeps/mach/configure.in: Moved to ...
8590 * sysdeps/mach/configure.ac: ... here.
8591 * sysdeps/mach/hurd/configure.in: Moved to ...
8592 * sysdeps/mach/hurd/configure.ac: ... here.
8593 * sysdeps/powerpc/configure.in: Moved to ...
8594 * sysdeps/powerpc/configure.ac: ... here.
8595 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8596 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8597 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8598 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8599 * sysdeps/s390/s390-32/configure.in: Moved to ...
8600 * sysdeps/s390/s390-32/configure.ac: ... here.
8601 * sysdeps/s390/s390-64/configure.in: Moved to ...
8602 * sysdeps/s390/s390-64/configure.ac: ... here.
8603 * sysdeps/sh/configure.in: Moved to ...
8604 * sysdeps/sh/configure.ac: ... here.
8605 * sysdeps/sparc/configure.in: Moved to ...
8606 * sysdeps/sparc/configure.ac: ... here.
8607 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8608 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8609 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8610 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8611 * sysdeps/x86_64/configure.in: Moved to ...
8612 * sysdeps/x86_64/configure.ac: ... here.
8613 * sysdeps/x86_64/preconfigure.in: Moved to ...
8614 * sysdeps/x86_64/preconfigure.ac: ... here.
8615 * aclocal.m4: Change reference to configure.in to configure.ac.
8616 * config.h.in: Likewise.
8617 * manual/install.texi: Likewise.
8618 * manual/maint.texi: Likewise.
8619 * Makefile: Likewise.
8620 * malloc/Makefile: Likewise.
8621 * nscd/Makefile: Likewise.
8622 * Makeconfig: Change reference to configure.in and
8623 preconfigure.in to configure.ac and preconfigure.ac
8624 respectively.
8625 * INSTALL: Regenerated.
8626 * configure: Likewise.
8627 * sysdeps/gnu/configure: Likewise.
8628 * sysdeps/i386/configure: Likewise.
8629 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8630 * sysdeps/mach/configure: Likewise.
8631 * sysdeps/mach/hurd/configure: Likewise.
8632 * sysdeps/powerpc/configure: Likewise.
8633 * sysdeps/powerpc/powerpc32/configure: Likewise.
8634 * sysdeps/powerpc/powerpc64/configure: Likewise.
8635 * sysdeps/s390/s390-32/configure: Likewise.
8636 * sysdeps/s390/s390-64/configure: Likewise.
8637 * sysdeps/sh/configure: Likewise.
8638 * sysdeps/sparc/configure: Likewise.
8639 * sysdeps/unix/sysv/linux/configure: Likewise.
8640 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8641 * sysdeps/x86_64/configure: Likewise.
8642 * sysdeps/x86_64/preconfigure: Likewise.
8643
36a4953a
AS
86442013-10-29 Andreas Schwab <schwab@suse.de>
8645
8646 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8647
c79a1204
SP
86482013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8649
dfa1b402
SP
8650 * benchtests/pow-inputs: Add new inputs.
8651
54f73d9c
SP
8652 * benchtests/exp-inputs: Add new inputs.
8653
c79a1204
SP
8654 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8655 conditional check for return value.
8656 (__cos32): Likewise.
8657
67beb545 86582013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8659
8660 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8661 to provide a boost for large inputs with word alignment.
8662 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8663 implementation based on optimized PPC64 strcpy.
8664 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8665 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8666 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8667 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8668
151659f6
OB
86692013-10-25 Ondřej Bílka <neleai@seznam.cz>
8670
482a077e 8671 [BZ #2801]
151659f6
OB
8672 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8673
10b0f26b
OB
86742013-10-25 Ondřej Bílka <neleai@seznam.cz>
8675
8676 [BZ #14876]
8677 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8678 * time/tst-strptime.c (day_tests): Add testcase.
8679
ca42d35e
OB
86802013-10-25 Ondřej Bílka <neleai@seznam.cz>
8681
482a077e 8682 [BZ #14029]
ca42d35e
OB
8683 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8684
52e6d801
FB
86852013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8686
8687 [BZ #16074]
8688 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8689 MAP_FAILED on error.
8690
7cbcdb36
SP
86912013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8692
8693 [BZ #16072]
8694 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8695 heap for large requests.
8696
894f3f10
AM
86972013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8698
8699 [BZ #9954]
8700 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8701 result if the result has no associated interface.
8702 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8703 interface for all 127.X.Y.Z addresses.
8704
b85545a6
CL
87052013-10-24 Chris Leonard <cjl@sugarlabs.org>
8706
8707 * locale/iso-639.def: Add Ligurian (lij)
8708
d1f23d46
OB
87092013-10-21 Ondřej Bílka <neleai@seznam.cz>
8710
8711 [BZ #15825]
8712 * sunrpc/rpc_main.c: Document rpcgen -5.
8713
4db5b08f
MS
87142013-10-19 Michael Stahl <mstahl@redhat.com>
8715
8716 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8717
a471e96a
OB
87182013-10-19 Ondřej Bílka <neleai@seznam.cz>
8719
d1f23d46 8720 [BZ #10278]
a471e96a
OB
8721 * posix/glob.c: Match only directories when trailing slash is present.
8722 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8723 (main): Add testcase.
8724
45c30c61
OB
87252013-10-19 Ondřej Bílka <neleai@seznam.cz>
8726
8727 [BZ #15670]
8728 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8729
484c12fb
CD
87302013-10-18 Carlos O'Donell <carlos@redhat.com>
8731
3d7dc513
CD
8732 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8733 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8734 AUTH_DES and cindex for FIPS 140-2.
8735 (DES Encryption): Add cindex FIPS 46-3.
8736
484c12fb
CD
8737 * locale/locarchive.h (struct locarhandle): Add fname.
8738 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8739 if an optional argument was specified to --list-archive,
8740 otherwise NULL.
8741 * locale/programs/locarchive.c (show_archive_content): Take new
8742 argument fname and pass it via ah.fname to open_archive.
8743 * locale/programs/localedef.h: Update decl.
8744 (open_archive): If AH->fname is non-null, open that file
8745 rather than the default file name, and don't ignore ENOENT.
8746 (create_archive): Set AH.fname to NULL.
8747 (delete_locales_from_archive): Likewise.
8748 (add_locales_to_archive): Likewise.
8749 * locale/programs/locfile.c (write_all_categories): Likewise.
8750
3c8325fb
JM
87512013-10-18 Joseph Myers <joseph@codesourcery.com>
8752 Aldy Hernandez <aldyh@redhat.com>
8753
8754 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8755 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8756 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8757 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8758 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8759 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8760 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8761 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8762 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8763 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8764 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8765 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8766 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8767 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8768 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8769 Likewise.
8770 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8771 Likewise.
8772 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8773 Likewise.
8774 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8775 Likewise.
8776 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8777 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8778 Likewise.
8779 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8780 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8781 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8782 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8783 Likewise.
8784 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8785 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8786 * sysdeps/powerpc/preconfigure: Likewise.
8787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8788 Likewise.
8789 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8790 Replace contents of file by #include of <fenv_libc.h>.
8791 * sysdeps/powerpc/soft-fp/sfp-machine.h
8792 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8793 and <sys/prctl.h>.
8794 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8795 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8796 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8797 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8798 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8799 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8801 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8802 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8803 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8804 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8805 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8807 Allow copysignl PLT reference to be missing.
8808
5abe0682
RS
88092013-10-18 Richard Sandiford <richard@codesourcery.com>
8810 Joseph Myers <joseph@codesourcery.com
8811
8812 [BZ #15948]
8813 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8814 single character.
8815 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8816
c7738d08
SP
88172013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8818
8819 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8820 * elf/tst-tls1.c: Likewise.
8821 * elf/tst-tls10.h: Likewise.
8822 * elf/tst-tls14.c: Likewise.
8823 * elf/tst-tls2.c: Likewise.
8824 * elf/tst-tls3.c: Likewise.
8825 * elf/tst-tls4.c: Likewise.
8826 * elf/tst-tls5.c: Likewise.
8827 * elf/tst-tls6.c: Likewise.
8828 * elf/tst-tls7.c: Likewise.
8829 * elf/tst-tls8.c: Likewise.
8830 * elf/tst-tls9.c: Likewise.
8831 * elf/tst-tlsmod1.c: Likewise.
8832 * elf/tst-tlsmod13.c: Likewise.
8833 * elf/tst-tlsmod13a.c: Likewise.
8834 * elf/tst-tlsmod14a.c: Likewise.
8835 * elf/tst-tlsmod16a.c: Likewise.
8836 * elf/tst-tlsmod16b.c: Likewise.
8837 * elf/tst-tlsmod2.c: Likewise.
8838 * elf/tst-tlsmod3.c: Likewise.
8839 * elf/tst-tlsmod4.c: Likewise.
8840 * elf/tst-tlsmod5.c: Likewise.
8841 * elf/tst-tlsmod6.c: Likewise.
8842
0bfcf2c7
OB
88432013-10-18 Ondřej Bílka <neleai@seznam.cz>
8844
8845 [BZ #12486]
8846 * malloc/malloc.c: remove checks for statistics.
8847
264aad1e
OB
88482013-10-17 Ondřej Bílka <neleai@seznam.cz>
8849
8850 [BZ #15277]
8851 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8852 * inet/tst-network.c: Add testcase.
8853
b957ced8
AS
88542013-10-17 Andreas Schwab <schwab@suse.de>
8855
8856 [BZ #15218]
8857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8858 to determine canonical name.
8859
c5d5d574
OB
88602013-10-17 Ondřej Bílka <neleai@seznam.cz>
8861
8862 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8863 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8864 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8865 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8866 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8867 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8868 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8869 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8871 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8872 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8873 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8875 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8876 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8877 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8880 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8881 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8882 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8884 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8885 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8886 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8887 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8888 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8889 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8890 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8891 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8892 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8893 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8894 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8899 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8900 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8902 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8903 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8904 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8905 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8906 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8907 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8908 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8911 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8912 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8913 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8916 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8917 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8918 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8919 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8920
e5c2c2d0
JM
89212013-10-17 Joseph Myers <joseph@codesourcery.com>
8922
8923 [BZ #16041]
8924 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8925 make result into a quiet NaN.
8926
51ca9e29
JM
89272013-10-16 Joseph Myers <joseph@codesourcery.com>
8928
8929 * soft-fp/adddf3.c: Fix horizontal whitespace.
8930 * soft-fp/addsf3.c: Likewise.
8931 * soft-fp/addtf3.c: Likewise.
8932 * soft-fp/divdf3.c: Likewise.
8933 * soft-fp/divsf3.c: Likewise.
8934 * soft-fp/divtf3.c: Likewise.
8935 * soft-fp/double.h: Likewise.
8936 * soft-fp/eqdf2.c: Likewise.
8937 * soft-fp/eqsf2.c: Likewise.
8938 * soft-fp/eqtf2.c: Likewise.
8939 * soft-fp/extenddftf2.c: Likewise.
8940 * soft-fp/extended.h: Likewise.
8941 * soft-fp/extendsfdf2.c: Likewise.
8942 * soft-fp/extendsftf2.c: Likewise.
8943 * soft-fp/extendxftf2.c: Likewise.
8944 * soft-fp/fixdfdi.c: Likewise.
8945 * soft-fp/fixdfsi.c: Likewise.
8946 * soft-fp/fixdfti.c: Likewise.
8947 * soft-fp/fixsfdi.c: Likewise.
8948 * soft-fp/fixsfsi.c: Likewise.
8949 * soft-fp/fixsfti.c: Likewise.
8950 * soft-fp/fixtfdi.c: Likewise.
8951 * soft-fp/fixtfsi.c: Likewise.
8952 * soft-fp/fixtfti.c: Likewise.
8953 * soft-fp/fixunsdfdi.c: Likewise.
8954 * soft-fp/fixunsdfsi.c: Likewise.
8955 * soft-fp/fixunsdfti.c: Likewise.
8956 * soft-fp/fixunssfdi.c: Likewise.
8957 * soft-fp/fixunssfsi.c: Likewise.
8958 * soft-fp/fixunssfti.c: Likewise.
8959 * soft-fp/fixunstfdi.c: Likewise.
8960 * soft-fp/fixunstfsi.c: Likewise.
8961 * soft-fp/fixunstfti.c: Likewise.
8962 * soft-fp/floatdidf.c: Likewise.
8963 * soft-fp/floatdisf.c: Likewise.
8964 * soft-fp/floatditf.c: Likewise.
8965 * soft-fp/floatsidf.c: Likewise.
8966 * soft-fp/floatsisf.c: Likewise.
8967 * soft-fp/floatsitf.c: Likewise.
8968 * soft-fp/floattidf.c: Likewise.
8969 * soft-fp/floattisf.c: Likewise.
8970 * soft-fp/floattitf.c: Likewise.
8971 * soft-fp/floatundidf.c: Likewise.
8972 * soft-fp/floatundisf.c: Likewise.
8973 * soft-fp/floatunditf.c: Likewise.
8974 * soft-fp/floatunsidf.c: Likewise.
8975 * soft-fp/floatunsisf.c: Likewise.
8976 * soft-fp/floatunsitf.c: Likewise.
8977 * soft-fp/floatuntidf.c: Likewise.
8978 * soft-fp/floatuntisf.c: Likewise.
8979 * soft-fp/floatuntitf.c: Likewise.
8980 * soft-fp/fmadf4.c: Likewise.
8981 * soft-fp/fmasf4.c: Likewise.
8982 * soft-fp/fmatf4.c: Likewise.
8983 * soft-fp/gedf2.c: Likewise.
8984 * soft-fp/gesf2.c: Likewise.
8985 * soft-fp/getf2.c: Likewise.
8986 * soft-fp/ledf2.c: Likewise.
8987 * soft-fp/lesf2.c: Likewise.
8988 * soft-fp/letf2.c: Likewise.
8989 * soft-fp/muldf3.c: Likewise.
8990 * soft-fp/mulsf3.c: Likewise.
8991 * soft-fp/multf3.c: Likewise.
8992 * soft-fp/negdf2.c: Likewise.
8993 * soft-fp/negsf2.c: Likewise.
8994 * soft-fp/negtf2.c: Likewise.
8995 * soft-fp/op-1.h: Likewise.
8996 * soft-fp/op-2.h: Likewise.
8997 * soft-fp/op-4.h: Likewise.
8998 * soft-fp/op-8.h: Likewise.
8999 * soft-fp/op-common.h: Likewise.
9000 * soft-fp/quad.h: Likewise.
9001 * soft-fp/single.h: Likewise.
9002 * soft-fp/soft-fp.h: Likewise.
9003 * soft-fp/sqrtdf2.c: Likewise.
9004 * soft-fp/sqrtsf2.c: Likewise.
9005 * soft-fp/sqrttf2.c: Likewise.
9006 * soft-fp/subdf3.c: Likewise.
9007 * soft-fp/subsf3.c: Likewise.
9008 * soft-fp/subtf3.c: Likewise.
9009 * soft-fp/truncdfsf2.c: Likewise.
9010 * soft-fp/trunctfdf2.c: Likewise.
9011 * soft-fp/trunctfsf2.c: Likewise.
9012 * soft-fp/trunctfxf2.c: Likewise.
9013 * soft-fp/unorddf2.c: Likewise.
9014 * soft-fp/unordsf2.c: Likewise.
9015 * soft-fp/unordtf2.c: Likewise.
9016
9ebb0332
JM
90172013-10-15 Joseph Myers <joseph@codesourcery.com>
9018
9019 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9020 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9021
4b1a6d8b
OB
90222013-10-15 Ondřej Bílka <neleai@seznam.cz>
9023
9024 * elf/dl-libc.c: Clear initfini list after freeing.
9025
1e145589
JM
90262013-10-14 Joseph Myers <joseph@codesourcery.com>
9027
9028 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9029 * soft-fp/addsf3.c: Likewise.
9030 * soft-fp/addtf3.c: Likewise.
9031 * soft-fp/divdf3.c: Likewise.
9032 * soft-fp/divsf3.c: Likewise.
9033 * soft-fp/divtf3.c: Likewise.
9034 * soft-fp/double.h: Likewise.
9035 * soft-fp/eqdf2.c: Likewise.
9036 * soft-fp/eqsf2.c: Likewise.
9037 * soft-fp/eqtf2.c: Likewise.
9038 * soft-fp/extenddftf2.c: Likewise.
9039 * soft-fp/extended.h: Likewise.
9040 * soft-fp/extendsfdf2.c: Likewise.
9041 * soft-fp/extendsftf2.c: Likewise.
9042 * soft-fp/extendxftf2.c: Likewise.
9043 * soft-fp/fixdfdi.c: Likewise.
9044 * soft-fp/fixdfsi.c: Likewise.
9045 * soft-fp/fixdfti.c: Likewise.
9046 * soft-fp/fixsfdi.c: Likewise.
9047 * soft-fp/fixsfsi.c: Likewise.
9048 * soft-fp/fixsfti.c: Likewise.
9049 * soft-fp/fixtfdi.c: Likewise.
9050 * soft-fp/fixtfsi.c: Likewise.
9051 * soft-fp/fixtfti.c: Likewise.
9052 * soft-fp/fixunsdfdi.c: Likewise.
9053 * soft-fp/fixunsdfsi.c: Likewise.
9054 * soft-fp/fixunsdfti.c: Likewise.
9055 * soft-fp/fixunssfdi.c: Likewise.
9056 * soft-fp/fixunssfsi.c: Likewise.
9057 * soft-fp/fixunssfti.c: Likewise.
9058 * soft-fp/fixunstfdi.c: Likewise.
9059 * soft-fp/fixunstfsi.c: Likewise.
9060 * soft-fp/fixunstfti.c: Likewise.
9061 * soft-fp/floatdidf.c: Likewise.
9062 * soft-fp/floatdisf.c: Likewise.
9063 * soft-fp/floatditf.c: Likewise.
9064 * soft-fp/floatsidf.c: Likewise.
9065 * soft-fp/floatsisf.c: Likewise.
9066 * soft-fp/floatsitf.c: Likewise.
9067 * soft-fp/floattidf.c: Likewise.
9068 * soft-fp/floattisf.c: Likewise.
9069 * soft-fp/floattitf.c: Likewise.
9070 * soft-fp/floatundidf.c: Likewise.
9071 * soft-fp/floatundisf.c: Likewise.
9072 * soft-fp/floatunsidf.c: Likewise.
9073 * soft-fp/floatunsisf.c: Likewise.
9074 * soft-fp/floatuntidf.c: Likewise.
9075 * soft-fp/floatuntisf.c: Likewise.
9076 * soft-fp/floatuntitf.c: Likewise.
9077 * soft-fp/fmadf4.c: Likewise.
9078 * soft-fp/fmasf4.c: Likewise.
9079 * soft-fp/fmatf4.c: Likewise.
9080 * soft-fp/gedf2.c: Likewise.
9081 * soft-fp/gesf2.c: Likewise.
9082 * soft-fp/getf2.c: Likewise.
9083 * soft-fp/ledf2.c: Likewise.
9084 * soft-fp/lesf2.c: Likewise.
9085 * soft-fp/letf2.c: Likewise.
9086 * soft-fp/muldf3.c: Likewise.
9087 * soft-fp/mulsf3.c: Likewise.
9088 * soft-fp/multf3.c: Likewise.
9089 * soft-fp/negdf2.c: Likewise.
9090 * soft-fp/negsf2.c: Likewise.
9091 * soft-fp/negtf2.c: Likewise.
9092 * soft-fp/op-1.h: Likewise.
9093 * soft-fp/op-2.h: Likewise.
9094 * soft-fp/op-4.h: Likewise.
9095 * soft-fp/op-8.h: Likewise.
9096 * soft-fp/op-common.h: Likewise.
9097 * soft-fp/quad.h: Likewise.
9098 * soft-fp/single.h: Likewise.
9099 * soft-fp/soft-fp.h: Likewise.
9100 * soft-fp/sqrtdf2.c: Likewise.
9101 * soft-fp/sqrtsf2.c: Likewise.
9102 * soft-fp/sqrttf2.c: Likewise.
9103 * soft-fp/subdf3.c: Likewise.
9104 * soft-fp/subsf3.c: Likewise.
9105 * soft-fp/subtf3.c: Likewise.
9106 * soft-fp/truncdfsf2.c: Likewise.
9107 * soft-fp/trunctfdf2.c: Likewise.
9108 * soft-fp/trunctfsf2.c: Likewise.
9109 * soft-fp/trunctfxf2.c: Likewise.
9110 * soft-fp/unorddf2.c: Likewise.
9111 * soft-fp/unordsf2.c: Likewise.
9112 * soft-fp/unordtf2.c: Likewise.
9113
17c48a60
OB
91142013-10-14 Ondřej Bílka <neleai@seznam.cz>
9115
9116 [BZ #15672]
9117 * misc/error.c (error_tail): Fix possible buffer overflow.
9118
cabba934
OB
91192013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9120
9121 [BZ #13028]
9122 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9123 address.
9124
94bf958a
PM
91252013-10-14 P. J. McDermott <pj@pehjota.net>
9126
9127 [BZ #832]
9128 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9129 testing pipefail option.
9130
71b4dea7
JM
91312013-10-12 Joseph Myers <joseph@codesourcery.com>
9132
9133 * soft-fp/double.h: Indent preprocessor directives inside #if.
9134 * soft-fp/extended.h: Likewise.
9135 * soft-fp/op-2.h: Likewise.
9136 * soft-fp/op-4.h: Likewise.
9137 * soft-fp/op-common.h: Likewise.
9138 * soft-fp/quad.h: Likewise.
9139 * soft-fp/single.h: Likewise.
9140 * soft-fp/soft-fp.h: Likewise.
9141
55602758
YC
91422013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9143
9144 * iconv/iconv_prog.c: Fix typos.
9145 * stdio-common/psiginfo-data.h: Likewise.
9146
9cd83302
RT
91472013-10-12 Reuben Thomas <rrt@sc3d.org>
9148
9149 [BZ #15764]
9150 * locale/setlocale.c: Fix typo.
9151
99fd9f47
JM
91522013-10-12 Joseph Myers <joseph@codesourcery.com>
9153
b7ea74f0
JM
9154 [BZ #16036]
9155 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9156 signaling NaN arguments.
9157 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9158 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9159
8a509447
JM
9160 [BZ #14910]
9161 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9162 unordered operands.
9163 * soft-fp/gesf2.c (__gesf2): Likewise.
9164 * soft-fp/getf2.c (__getf2): Likewise.
9165 * soft-fp/ledf2.c (__ledf2): Likewise.
9166 * soft-fp/lesf2.c (__lesf2): Likewise.
9167 * soft-fp/letf2.c (__letf2): Likewise.
9168
98998e9f
JM
9169 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9170 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9171 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9172 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9173 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9174 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9175 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9176 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9177 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9178 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9179 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9180 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9181 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9182 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9183 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9184 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9185 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9186 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9187 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9188 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9189 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9190 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9191 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9192 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9193 * soft-fp/floattidf.c (__floattidf): Likewise.
9194 * soft-fp/floattisf.c (__floattisf): Likewise.
9195 * soft-fp/floattitf.c (__floattitf): Likewise.
9196 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9197 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9198 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9199 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9200 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9201 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9202 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9203 * soft-fp/gesf2.c (__gesf2): Likewise.
9204 * soft-fp/getf2.c (__getf2): Likewise.
9205 * soft-fp/ledf2.c (__ledf2): Likewise.
9206 * soft-fp/lesf2.c (__lesf2): Likewise.
9207 * soft-fp/letf2.c (__letf2): Likewise.
9208
8edc4a11
JM
9209 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9210 Undefine and redefine.
9211 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9212 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9213 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9214 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9215 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9216 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9217 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9218 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9219 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9220 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9221 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9222 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9223 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9224 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9225 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9226
8399acaf
JM
9227 [BZ #16032]
9228 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9229 without decrementing exponent if mantissa >= that for the
9230 denominator, not >.
9231 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9232 denominator, not >. Decrement exponent in < case instead of
9233 incrementing in >= case.
9234 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9235 without decrementing exponent if mantissa >= that for the
9236 denominator, not >.
9237
99fd9f47
JM
9238 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9239 computing saturated result for unsigned overflow.
9240
10e1cf6b
SP
92412013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9242 Jeff Law <law@redhat.com>
9243
9244 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9245 (atan2Mp): Add systemtap probe marker.
9246 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9247 (__ieee754_log): Add systemtap probe marker.
9248 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9249 (atanMp): Add systemtap probe marker.
9250 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9251 (tanMp): Add systemtap probe marker.
9252 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9253 (__slowexp): Add systemtap probe marker.
9254 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9255 (__slowpow): Add systemtap probe marker.
9256 * manual/probes.texi: Document probes.
9257
3d110c7c
EB
92582013-10-11 Eric Biggers <ebiggers3@gmail.com>
9259
9260 [BZ #15362]
9261 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9262 written.
9263 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9264 written.
9265 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9266 written to buffer but not flushed.
9267 * libio/iofwrite_u.c: Likewise.
9268 * libio/iopadn.c: Return bytes returned even if EOF was
9269 encountered.
9270 * libio/iowpadn.c: Likewise.
9271 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9272 if _IO_padn does not write the whole buffer.
9273 [!COMPILE_WPRINTF] (PAD): Likewise.
9274
75b4202a
DM
92752013-10-10 David S. Miller <davem@davemloft.net>
9276
9277 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9278 directory block.
9279
6c6352e6
JM
92802013-10-10 Joseph Myers <joseph@codesourcery.com>
9281
33b853c3
JM
9282 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9283 instead of FSF address.
9284 * soft-fp/fixdfti.c: Likewise.
9285 * soft-fp/fixsfti.c: Likewise.
9286 * soft-fp/fixtfti.c: Likewise.
9287 * soft-fp/fixunsdfti.c: Likewise.
9288 * soft-fp/fixunssfti.c: Likewise.
9289 * soft-fp/fixunstfti.c: Likewise.
9290 * soft-fp/floattidf.c: Likewise.
9291 * soft-fp/floattisf.c: Likewise.
9292 * soft-fp/floattitf.c: Likewise.
9293 * soft-fp/floatuntidf.c: Likewise.
9294 * soft-fp/floatuntisf.c: Likewise.
9295 * soft-fp/floatuntitf.c: Likewise.
9296 * soft-fp/trunctfxf2.c: Likewise.
9297
6c6352e6
JM
9298 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9299 * soft-fp/fixdfti.c: Likewise.
9300 * soft-fp/fixsfti.c: Likewise.
9301 * soft-fp/fixtfti.c: Likewise.
9302 * soft-fp/fixunsdfti.c: Likewise.
9303 * soft-fp/fixunssfti.c: Likewise.
9304 * soft-fp/fixunstfti.c: Likewise.
9305 * soft-fp/floattidf.c: Likewise.
9306 * soft-fp/floattisf.c: Likewise.
9307 * soft-fp/floattitf.c: Likewise.
9308 * soft-fp/floatuntidf.c: Likewise.
9309 * soft-fp/floatuntisf.c: Likewise.
9310 * soft-fp/floatuntitf.c: Likewise.
9311 * soft-fp/trunctfxf2.c: Likewise.
9312
3bf78b71
DM
93132013-10-10 David S. Miller <davem@davemloft.net>
9314
9315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9316
6f10289e
JM
93172013-10-10 Joseph Myers <joseph@codsourcery.com>
9318
bd878fc0
JM
9319 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9320 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9321 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9322 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9323 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9324 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9325 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9326
6f10289e
JM
9327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9328 for NaNs before doing comparisons on argument.
9329 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9330 Likewise.
9331
321e2684
WN
93322013-10-10 Will Newton <will.newton@linaro.org>
9333
9334 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9335 passed to _int_memalign does not overflow.
9336
40fefba1
TR
93372013-10-10 Torvald Riegel <triegel@redhat.com>
9338
9339 * scripts/bench.pl: Add include-sources directive.
9340 * benchtests/README: Update documentation.
9341
2ae21ed2
JM
93422013-10-10 Joseph Myers <joseph@codesourcery.com>
9343
dcc2dd3f
JM
9344 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9345 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9346 instead of FP_INIT_ROUNDMODE.
9347 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9348 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9349
2ae21ed2
JM
9350 [BZ #16034]
9351 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9352 copy class of input value.
9353 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9354 not handle exceptions.
9355 * soft-fp/negsf2.c (__negsf2): Likewise.
9356 * soft-fp/negtf2.c (__negtf2): Likewise.
9357 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9358
cb8f9562
JM
93592013-10-09 Joseph Myers <joseph@codesourcery.com>
9360
9361 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9362 semicolon. From Linux kernel.
9363
5b60c59d
AB
93642013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9365
9366 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9367
b86835ca
YC
93682013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9369
9370 [BZ #156]
9371 * manual/socket.texi: Added statement about buffer
9372 for gethostbyname2_r.
9373
e7044ea7
OB
93742013-10-08 Ondřej Bílka <neleai@seznam.cz>
9375
9376 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9377 Use .p2align directive instead, throughout.
9378 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9379 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9380 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9381 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9382 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9383 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9384 * sysdeps/x86_64/strchr.S: Likewise.
9385 * sysdeps/x86_64/strrchr.S: Likewise.
9386
09544cbc
SP
93872013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9388
88576635
SP
9389 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9390
e7b2d1dd
SP
9391 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9392
09544cbc
SP
9393 * sysdeps/generic/math_private.h (__mpsin1): Remove
9394 declaration.
9395 (__mpcos1): Likewise.
9396 (__mpsin): New argument __range_reduce.
9397 (__mpcos): Likewise.
9398 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9399 (slow): Use __mpsin and __mpcos.
9400 (slow1): Likewise.
9401 (slow2): Likewise.
9402 (sloww): Likewise.
9403 (sloww1): Likewise.
9404 (sloww2): Likewise.
9405 (bsloww): Likewise.
9406 (bsloww1): Likewise.
9407 (bsloww2): Likewise.
9408 (cslow2): Likewise.
9409 (csloww): Likewise.
9410 (csloww1): Likewise.
9411 (csloww2): Likewise.
9412 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9413 range_reduce. Merge in __mpsin1.
9414 (__mpcos): Likewise.
9415 (__mpsin1): Remove.
9416 (__mpcos1): Likewise.
9417
7602d070
JM
94182013-10-07 Joseph Myers <joseph@codesourcery.com>
9419
9420 * locale/loadlocale.c (_nl_intern_locale_data): Use
9421 LOCFILE_ALIGNED_P.
9422 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9423 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9424 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9425 obstack data is appropriately aligned.
9426 (obstack_int32_grow_fast): Likewise.
9427 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9428 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9429 (add_locale_uint32_array): Likewise.
9430
a357259b
SP
94312013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9432
9433 * benchtests/Makefile: Remove ARGLIST and RET variables.
9434 ($(objpfx)bench-%.c): Pass only function name to the script.
9435 * benchtests/README: Update documentation.
9436 * benchtests/acos-inputs: Add new directives.
9437 * benchtests/acosh-inputs: Likewise.
9438 * benchtests/asin-inputs: Likewise.
9439 * benchtests/asinh-inputs: Likewise.
9440 * benchtests/atan-inputs: Likewise.
9441 * benchtests/atanh-inputs: Likewise.
9442 * benchtests/cos-inputs: Likewise.
9443 * benchtests/cosh-inputs: Likewise.
9444 * benchtests/exp-inputs: Likewise.
9445 * benchtests/log-inputs: Likewise.
9446 * benchtests/pow-inputs: Likewise.
9447 * benchtests/rint-inputs: Likewise.
9448 * benchtests/sin-inputs: Likewise.
9449 * benchtests/sinh-inputs: Likewise.
9450 * benchtests/tan-inputs: Likewise.
9451 * benchtests/tanh-inputs: Likewise.
9452 * scripts/bench.pl: Add support for new directives.
9453
9ec1b13d
AM
94542013-10-07 Alan Modra <amodra@gmail.com>
9455
9456 * README: Fix careless merge.
9457
8b7d57cd
AM
94582013-10-05 Alan Modra <amodra@gmail.com>
9459
9460 * NEWS: Mention powerpc64le support and bugs fixed.
9461 * README: Both big-endian and little-endian powerpc64 supported.
9462
7b7bab13
ST
94632013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9464
57f41c40
AS
9465 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9466 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
9467 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9468 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9469
d39baad1
RA
94702013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9471
9472 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9473 match prototype.
9474
cd78f7e7
JM
94752013-10-04 Joseph Myers <joseph@codesourcery.com>
9476
29d73d86
JM
9477 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9478 Move -mhard-float appending from
9479 ports/sysdeps/powerpc/powerpc32/Makefile.
9480 [$(with-fp) = yes] (ASFLAGS): Likewise.
9481 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9482 * sysdeps/powerpc/nofpu: Move directory from
9483 ports/sysdeps/powerpc/nofpu.
9484 * sysdeps/powerpc/soft-fp: Move directory from
9485 ports/sysdeps/powerpc/soft-fp.
9486 * sysdeps/powerpc/powerpc32/405: Move directory from
9487 ports/sysdeps/powerpc/powerpc32/405.
9488 * sysdeps/powerpc/powerpc32/440: Move directory from
9489 ports/sysdeps/powerpc/powerpc32/440.
9490 * sysdeps/powerpc/powerpc32/464: Move directory from
9491 ports/sysdeps/powerpc/powerpc32/464.
9492 * sysdeps/powerpc/powerpc32/476: Move directory from
9493 ports/sysdeps/powerpc/powerpc32/476.
9494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9495 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9497 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9499 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9501 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9503 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9504 * README: Update for powerpc-*-linux-gnu software floating point
9505 support in libc.
9506
e246b347
JM
9507 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9508 case to powerpc/powerpc32*.
9509 * sysdeps/unix/sysv/linux/configure: Regenerated.
9510
89c2003e
JM
9511 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9512 (_FPU_MASK_OM): Define as 0x04.
9513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9515 0x00c10080.
9516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9517 0x0000003c.
9518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9519
cd78f7e7
JM
9520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9521 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9522 getcontext_e500.
9523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9524 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9525 setcontext_e500.
9526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9527 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9528 and setcontext_e500.
9529
c755294d
CL
95302013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9531
9532 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9533
e16d221c
SP
95342013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9535
9536 * manual/threads.texi (Default Thread Attributes): Fix typo.
9537
215c7d43
WN
95382013-10-04 Will Newton <will.newton@linaro.org>
9539
9540 * malloc/Makefile: Add tst-memalign.
9541 * malloc/tst-memalign.c: New file.
9542
27d0461b
WN
9543 * malloc/tst-posix_memalign.c: Add comments.
9544 (do_test): Add comments and call free on all potentially
9545 allocated pointers. Add space after cast.
9546
1bc92709
WN
9547 * malloc/tst-pvalloc.c: Add comments.
9548 (do_test): Add comments and call free on all potentially
9549 allocated pointers. Remove duplicate check for NULL pointer.
9550 Add space after cast.
9551
66a9be9d
WN
9552 * malloc/tst-valloc.c: Add comments.
9553 (do_test): Add comments and call free on all potentially
9554 allocated pointers. Remove duplicate check for NULL pointer.
9555 Add space after cast.
9556
4cb81307
AM
95572013-10-04 Alan Modra <amodra@gmail.com>
9558
9559 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9560 Use stdint types in rather than __attribute__((mode())).
9561 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9562
f8e3e9f3
AM
95632013-10-04 Alan Modra <amodra@gmail.com>
9564
9565 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9566 Correct handling of unaligned relocs for little-endian.
9567 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9568
8f9ebb08
AM
95692013-10-04 Alan Modra <amodra@gmail.com>
9570
9571 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9572 * configure: Regenerate.
9573 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9574 * shlib-versions: Likewise.
9575
0edf96c2
AM
95762013-10-04 Alan Modra <amodra@gmail.com>
9577
9578 * string/tester.c (test_memrchr): Increment reported test cycle.
9579
e0f7a380
AM
95802013-10-04 Alan Modra <amodra@gmail.com>
9581
9582 * string/test-memcpy.c (do_one_test): When reporting errors, print
9583 string address and don't overrun end of string.
9584
466b0393
AM
95852013-10-04 Alan Modra <amodra@gmail.com>
9586
9587 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9588 insrdi. Make better use of reg selection to speed exit slightly.
9589 Schedule entry path a little better. Remove useless "are we done"
9590 checks on entry to main loop. Handle wrapping around zero address.
9591 Correct main loop count. Handle single left-over word from main
9592 loop inline rather than by using loop_small. Remove extra word
9593 case in loop_small caused by wrong loop count. Add little-endian
9594 support.
9595 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9596 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9597 cache hint.
9598 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9599 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9600 support. Avoid rlwimi.
9601 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9602
3be87c77
AM
96032013-10-04 Alan Modra <amodra@gmail.com>
9604
9605 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9606 insrdi. Formatting.
3be87c77
AM
9607 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9608 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9609 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9610 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9611 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9612 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9613
759cfef3
AM
96142013-10-04 Alan Modra <amodra@gmail.com>
9615
9616 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9617 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9618 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9619 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9620 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9621 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9622 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9623 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9624 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9625 use of regs. Use power7 mtocrf. Tidy function tails.
9626
fe6e95d7
AM
96272013-10-04 Alan Modra <amodra@gmail.com>
9628
9629 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9630 Formatting. Consistently use rXXX register defines or rN defines.
9631 Use early exit labels that avoid restoring unused non-volatile regs.
9632 Make cr field use more consistent with rWORDn compares. Rename
9633 regs used as shift registers for unaligned loop, using rN defines
9634 for short lifetime/multiple use regs.
9635 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9636 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9637 addi 1,1,64 to pop stack frame. Simplify return value code.
9638 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9639
664318c3
AM
96402013-10-04 Alan Modra <amodra@gmail.com>
9641
9642 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9643 support. Correct typos, formatting. Optimize tail. Use insrdi
9644 rather than rlwimi.
9645 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9646 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9647 little-endian support. Correct typos.
9648 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9649 rather than rlwimi.
9650 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9651 in loop and entry code to keep "and." results.
9652 (strchr): Add little-endian support. Comment. Move cntlzd
9653 earlier in tail.
9654 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9655
43b84013
AM
96562013-10-04 Alan Modra <amodra@gmail.com>
9657
9658 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9659 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9660 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9661 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9662
8a7413f9
AM
96632013-10-04 Alan Modra <amodra@gmail.com>
9664
9665 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9666 (rTMP): Define as r11.
9667 (strcmp): Add little-endian support. Optimise tail.
9668 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9669 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9670 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9671 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9672 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9673 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9675
33ee81de
AM
96762013-10-04 Alan Modra <amodra@gmail.com>
9677
9678 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9679 little-endian support. Remove unnecessary "are we done" tests.
9680 Handle "s" wrapping around zero and extremely large "size".
9681 Correct main loop count. Handle single left-over word from main
9682 loop inline rather than by using small_loop. Correct comments.
9683 Delete "zero" tail, use "end_max" instead.
9684 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9685
db9b4570
AM
96862013-10-04 Alan Modra <amodra@gmail.com>
9687
9688 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9689 support. Don't branch over align.
9690 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9691 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9692 support. Rearrange tmp reg use to suit. Comment.
9693 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9694
f7c399cf
AM
96952013-10-04 Alan Modra <amodra@gmail.com>
9696
9697 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9698
0b2c2ace
AM
96992013-10-04 Alan Modra <amodra@gmail.com>
9700
9701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9702 conditional form of branch and link when obtaining pc.
9703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9704
02f04a6c
AM
97052013-10-04 Alan Modra <amodra@gmail.com>
9706
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9708 HIWORD/LOWORD.
9709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9711
9b874b2f
AM
97122013-10-04 Alan Modra <amodra@gmail.com>
9713
9714 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9715 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9716 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9717 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9718 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9719 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9720 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9721 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9722 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9723 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9724
be1e5d31
AB
97252013-10-04 Anton Blanchard <anton@au1.ibm.com>
9726 Alistair Popple <alistair@ozlabs.au.ibm.com>
9727 Alan Modra <amodra@gmail.com>
9728
9729 [BZ #15723]
9730 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9731 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9732 _dl_hwcap access for little-endian.
9733 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9734 destroy vmx regs when saving unaligned.
9735 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9736 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9737 destroy vmx regs when saving unaligned.
9738
fef13a78
AM
97392013-10-04 Alan Modra <amodra@gmail.com>
9740
9741 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9742 Don't use a union to pack hi/low value.
9743
76a66d51
AB
97442013-10-04 Anton Blanchard <anton@au1.ibm.com>
9745
9746 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9747 for little-endian.
9748 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9750 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9751 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9752 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9753
6a31fe7f
AM
97542013-10-04 Alan Modra <amodra@gmail.com>
9755
9756 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9757 constants to usual value for .cst8 section, and remove redundant
9758 high address load.
9759 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9760 constant for 0x1p52. Load little-endian words of double from
9761 correct stack offsets.
9762
7b88401f
AM
97632013-10-04 Alan Modra <amodra@gmail.com>
9764
9765 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9766 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9767 words of double from correct stack offsets.
9768 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9769 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9770 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9771 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9772 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9773 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9774 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9775 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9776 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9777 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9778 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9779 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9780 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9781 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9782 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9783 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9784 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9785
9c008155
AM
97862013-10-04 Alan Modra <amodra@gmail.com>
9787
9788 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9789 64-bit int/double union.
9790 (_FPU_SETCW): Likewise.
9791 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9792 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9793
da13146d
AM
97942013-10-04 Alan Modra <amodra@gmail.com>
9795
9796 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9797 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9798
603e8410
AM
97992013-10-04 Alan Modra <amodra@gmail.com>
9800
9801 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9802 use vector int constants.
9803 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9804
4a28b3ca
AB
98052013-10-04 Anton Blanchard <anton@au1.ibm.com>
9806
9807 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9808 array with long long.
9809 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9810 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9811 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9812 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9813 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9814 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9815 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9816 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9817 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9818 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9819 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9820 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9821 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9822
2ca85d2b
AB
98232013-10-04 Anton Blanchard <anton@au1.ibm.com>
9824
9825 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9826 (__signbit): Likewise. Correct for little-endian.
9827 (__signbitl): Call __signbit.
9828 (lrint): Correct for little-endian.
9829 (lrintf): Call lrint.
9830
62a728ae
AM
98312013-10-04 Alan Modra <amodra@gmail.com>
9832
9833 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9834 union 32-bit int array member with 64-bit int array.
9835 (t515, tm256): Double rather than long double.
9836 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9837
32c301df
AM
98382013-10-04 Alan Modra <amodra@gmail.com>
9839
9840 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9841 Delete.
9842 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9843 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9844 version of math_ldbl.h.
9845
650ef4bd
AM
98462013-10-04 Alan Modra <amodra@gmail.com>
9847
9848 [BZ #15734], [BZ #15735]
9849 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9850 all uses of ieee875 long double macros and unions. Simplify test
9851 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9852 ldbl_extract_mantissa value for ix,iy exponents. Properly
9853 normalize after ldbl_extract_mantissa, and don't add hidden bit
9854 already handled. Don't treat low word of ieee854 mantissa like
9855 low word of IBM long double and mask off bit when testing for
9856 zero.
9857 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9858 all uses of ieee875 long double macros and unions. Simplify tests
9859 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9860 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9861 two1022, instead use their values. Recognise that tests for large
9862 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9863 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9864 Rewrite all uses of ieee875 long double macros and unions. Simplify
9865 test for 0.0L and nan. Correct negation.
9866 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9867 ieee875 long double macros and unions. Correct output for large
9868 magnitude x. Correct absolute value calculation.
9869 (__erfcl): Likewise.
9870 * math/libm-test.inc: Add tests for errors discovered in IBM long
9871 double versions of fmodl, remainderl, erfl and erfcl.
9872
765714ca
AM
98732013-10-04 Alan Modra <amodra@gmail.com>
9874
9875 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9876 all uses of ieee854 long double macros and unions. Simplify tests
9877 for long doubles that are fully specified by the high double.
9878 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9879 Likewise.
9880 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9881 Remove dead code too.
9882 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9883 (__ieee754_ynl): Likewise.
9884 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9885 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9886 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9887 Remove dead code too.
9888 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9889 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9890 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9891 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9892 Simplify.
9893 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9894 Simplify.
9895 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9897 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9898 Comment on variable precision.
9899 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9901 Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9903 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9904 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9905 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9906 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9907
4ebd120c
AM
99082013-10-04 Alan Modra <amodra@gmail.com>
9909
9910 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9911 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9912 all uses of ieee854 long double macros and unions.
9913 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9914 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9915 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9916 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9917 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9918 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9919 Likewise.
9920 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9921 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9922 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9923 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9924 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9925 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9926 Simplify sign and nan test too.
9927 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9928 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9929 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9930 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9931 Likewise.
9932 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9933 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9934 Likewise.
9935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9936 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9937 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9938 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9939 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9940 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9941
1b6adf88
AM
99422013-10-04 Alan Modra <amodra@gmail.com>
9943
9944 * stdio-common/printf_size.c (__printf_size): Don't use
9945 union ieee854_long_double in fpnum union.
9946 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9947 signbit macro to retrieve sign from long double.
9948 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9949 retrieve sign from long double.
9950 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9951 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9952 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9953 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9954 * math/test-misc.c (main): Don't use union ieee854_long_double.
9955
4cf69995
AM
99562013-10-04 Alan Modra <amodra@gmail.com>
9957
9958 [BZ #15680]
9959 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9960 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9961 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9962 calculation. Remove unnecessary test for denormal exponent.
9963 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9964 Correct handling of denormals. Avoid undefined shift behaviour.
9965 Correct normalisation of low mantissa when low double is denormal.
9966 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9967 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9968 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9969 Correct normalisation of low mantissa. Test for overflow of high
9970 mantissa and normalise.
9971 (ldbl_nearbyint): Use more readable constant for two52.
9972 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9973 (__mpn_construct_long_double): Fix test for overflow of high
9974 mantissa and correct normalisation. Avoid undefined shift.
9975
9605ca6c
AM
99762013-10-04 Alan Modra <amodra@gmail.com>
9977
9978 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9979 (union ibm_extended_long_double): Define as an array of ieee754_double.
9980 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9981 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9982 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9983 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9984 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9985 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9986 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9987 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9988 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9989 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9990 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9991
975569d0
JM
99922013-10-03 Joseph Myers <joseph@codesourcery.com>
9993
d3d23756
JM
9994 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9995 page size instead of calling getpagesize.
9996
975569d0
JM
9997 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9998 (LOCFILE_ALIGN_MASK): Likewise.
9999 (LOCFILE_ALIGN_UP): Likewise.
10000 (LOCFILE_ALIGNED_P): Likewise.
10001 * locale/programs/ld-collate.c (collate_output): Use the new
10002 macros instead of __alignof__ (int32_t).
10003 * locale/weight.h (findidx): Likewise.
10004
b1fe1f2b
OB
100052013-10-03 Ondřej Bílka <neleai@seznam.cz>
10006
10007 [BZ #431]
10008 * manual/string.texi: Fix strncat and wcsncat.
10009
5f855e35
BM
100102013-10-03 Brooks Moses <bmoses@google.com>
10011
10012 [BZ #15915]
10013 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10014 * Makerules: ...here, and adjust associated comments.
10015
3cef6009
WN
100162013-10-02 Will Newton <will.newton@linaro.org>
10017
10018 * malloc/Makefile: Add tst-pvalloc.
10019 * malloc/tst-pvalloc.c: New file.
10020
7815420b
WN
100212013-10-02 Will Newton <will.newton@linaro.org>
10022
10023 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10024 improve test coverage.
10025
4868b204
WN
100262013-10-02 Will Newton <will.newton@linaro.org>
10027
10028 * malloc/Makefile: Add tst-posix_memalign.
10029 * malloc/tst-posix_memalign.c: New file.
10030
29c793b3
EB
100312013-10-01 Eric Blake <eblake@redhat.com>
10032
10033 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10034 Use __THROWNL rather than __THROW on static functions.
10035
fd967522
PM
100362013-09-30 Petr Machata <pmachata@redhat.com>
10037
10038 * elf/elf.h (R_AARCH64_ABS16): New macro.
10039 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10040 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10041 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10042 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10043 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10044 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10045 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10046 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10047 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10048 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10049 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10050 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10051 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10052 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10053 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10054 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10055 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10056 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10057 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10058 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10059 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10060 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10061 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10062 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10063 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10064 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10065 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10066 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10067 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10068 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10069 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10070 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10071 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10072 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10073 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10074 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10075 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10076 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10077 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10078 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10079 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10080 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10081 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10082 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10083 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10084 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10085 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10086 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10087 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10088 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10089 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10090 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10091 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10092 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10093 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10094 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10095 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10096 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10097 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10098 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10099 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10100 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10101 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10102 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10103 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10104 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10105 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10106 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10107 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10108 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10109 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10110 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10111 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10112 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10113 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10114 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10115 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10116 (R_AARCH64_TLSDESC_LDR): Likewise.
10117 (R_AARCH64_TLSDESC_ADD): Likewise.
10118 (R_AARCH64_TLSDESC_CALL): Likewise.
10119
b2179107
AS
101202013-09-30 Andreas Schwab <schwab@suse.de>
10121
10122 [BZ #15048]
10123 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10124 the nss database lookup.
10125 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10127
47f28d0a
MF
101282013-09-28 Mike Frysinger <vapier@gentoo.org>
10129
10130 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10131
101322013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10133
10134 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10135 ${Bash-specific parameter/pattern/string} parameter expansion.
10136 * sysdeps/unix/make-syscalls.sh: Likewise.
10137
f4518a17
KK
101382013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10139
10140 * sysdeps/sh/stackguard-macros.h: New file.
10141
dc1a95c7
OB
101422013-09-26 Ondřej Bílka <neleai@seznam.cz>
10143
10144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10145 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10146 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10147 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10148 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10149 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10150
5ebbff8f
AZ
101512013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10152
10153 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10154 Fix thread ID register.
10155
4fd2cf9f
JM
101562013-09-25 Joseph Myers <joseph@codesourcery.com>
10157
10158 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10159 [POSIX || UNIX98]: Require rather than permitting all symbols from
10160 <time.h>.
10161 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10162 element of struct sched_param.
10163 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10164 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10165 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10166 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10167 constant.
10168
12c22bc4
OL
101692013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10170
10171 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10172 argument calculation.
10173
a03d8ea7
JM
101742013-09-24 Joseph Myers <joseph@codesourcery.com>
10175
10176 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10177 Expect macro.
10178 [POSIX] (pthread_attr_t): Do not require type.
10179 [POSIX] (pthread_cond_t): Likewise.
10180 [POSIX] (pthread_condattr_t): Likewise.
10181 [POSIX] (pthread_key_t): Likewise.
10182 [POSIX] (pthread_mutex_t): Likewise.
10183 [POSIX] (pthread_mutexattr_t): Likewise.
10184 [POSIX] (pthread_once_t): Likewise.
10185 [POSIX] (pthread_t): Likewise.
10186 [POSIX-based standards] (pthread_atfork): Expect function.
10187
6055173a
JM
101882013-09-24 Joseph Myers <joseph@codesourcery.com>
10189 Richard Sandiford <richard@codesourcery.com>
10190
10191 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10192 (swap_endianness_p): New extern variable.
10193 (set_big_endian): New inline function.
10194 (maybe_swap_uint32): Likewise.
10195 (maybe_swap_uint32_array): Likewise.
10196 (maybe_swap_uint32_obstack): Likewise.
10197 * locale/programs/locfile.c: Include <stdbool.h>.
10198 (swap_endianness_p): New variable.
10199 (add_locale_uint32): Call maybe_swap_uint32.
10200 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10201 (write_locale_data): Call maybe_swap_uint32_array.
10202 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10203 maybe_swap_uint32.
10204 (obstack_int32_grow_fast): Likewise.
10205 (output_weightwc): Call maybe_swap_uint32_obstack.
10206 (collate_output): Likewise.
10207 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10208 (OPT_LITTLE_ENDIAN): Likewise.
10209 (options): Add --little-endian and --big-endian options.
10210 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10211 * locale/programs/locarchive.c: Include "locfile.h".
10212 (GET): New macro.
10213 (SET): Likewise.
10214 (INC): Likewise.
10215 (create_archive): Use the new macros to access fields of
10216 structures directly mapped from or written to locale archives.
10217 (oldlocrecentcmp): Likewise.
10218 (enlarge_archive): Likewise.
10219 (insert_name): Likewise.
10220 (add_alias): Likewise.
10221 (add_locale): Likewise.
10222 (delete_locales_from_archive): Likewise.
10223 (show_archive_content): Likewise.
10224 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10225 locale data.
10226
39bf0bb4
RM
102272013-09-24 Roland McGrath <roland@hack.frob.com>
10228
10229 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10230 http://www.gnu.org/doc/freemanuals.texi.
10231 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10232
f02eed10
WN
102332013-09-24 Will Newton <will.newton@linaro.org>
10234
10235 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10236 macro.
10237
a3a6c312
JM
102382013-09-23 Joseph Myers <joseph@codesourcery.com>
10239
10240 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10241 unsigned char.
10242
107375ac
MR
102432013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10244
10245 * manual/threads.texi (POSIX Threads): Fix a typo.
10246
141f3a77
SP
102472013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10248
303e567a
SP
10249 [BZ #14547]
10250 * string/tst-strcoll-overflow.c: New test case.
10251 * string/Makefile (xtests): Add tst-strcoll-overflow.
10252 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10253 cache if string sizes may cause integer overflow.
10254
141f3a77
SP
10255 [BZ #14547]
10256 * string/strcoll_l.c (coll_seq): New members rule, idx,
10257 save_idx and back_us.
10258 (get_next_seq_nocache): New function.
10259 (do_compare_nocache): New function.
10260 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10261 when malloc fails.
10262
c61b4d41
CD
102632013-09-23 Carlos O'Donell <carlos@redhat.com>
10264
0b1f8e35
CD
10265 [BZ #15754]
10266 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10267 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10268 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10269
c61b4d41
CD
10270 [BZ #15754]
10271 * elf/Makefile (tests): Add tst-ptrguard1.
10272 (tests-static): Add tst-ptrguard1-static.
10273 (tst-ptrguard1-ARGS): Define.
10274 (tst-ptrguard1-static-ARGS): Define.
10275 * elf/tst-ptrguard1.c: New file.
10276 * elf/tst-ptrguard1-static.c: New file.
10277 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10278 * sysdeps/i386/stackguard-macros.h: Likewise.
10279 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10280 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10281 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10282 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10283 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10284 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10285
102862013-09-23 Hector Marco <hecmargi@upv.es>
10287 Ismael Ripoll <iripoll@disca.upv.es>
10288 Carlos O'Donell <carlos@redhat.com>
10289
10290 [BZ #15754]
10291 * sysdeps/generic/stackguard-macros.h: Define
10292 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10293 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10294 Define __pointer_chk_guard_local.
10295 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10296 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10297
f5f4e7b4
VV
102982013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10299
10300 [BZ #15859]
10301 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10302
5bb43a43
AS
103032013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10304
10305 * include/string.h (__ffs): Declare as hidden.
10306 * string/ffs.c (__ffs): Define as hidden.
10307 * sysdeps/i386/ffs.c (__ffs): Likewise.
10308 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10309 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10310 * sysdeps/s390/ffs.c (__ffs): Likewise.
10311 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10312
3ea5be54
AO
103132013-09-20 Alexandre Oliva <aoliva@redhat.com>
10314
ffb89e53
AO
10315 * NEWS: Mention malloc probes.
10316
322dea08
AO
10317 * malloc/arena.c (new_heap): New memory_heap_new probe.
10318 (grow_heap): New memory_heap_more probe.
10319 (shrink_heap): New memory_heap_less probe.
10320 (heap_trim): New memory_heap_free probe.
10321 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10322 (systrim): New memory_sbrk_less probe.
10323 * manual/probes.texi: Document them.
10324
655673f3
AO
10325 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10326 * manual/probes.texi: Document it.
10327
35fed6f1
AO
10328 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10329 (__libc_realloc): Add memory_realloc_retry probe.
10330 (__libc_memalign): Add memory_memalign_retry probe.
10331 (__libc_valloc): Add memory_valloc_retry probe.
10332 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10333 (__libc_calloc): Add memory_calloc_retry probe.
10334 * manual/probes.texi: Document them.
10335
6999d38c
AO
10336 * malloc/arena.c (get_free_list): Add probe
10337 memory_arena_reuse_free_list.
10338 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10339 and memory_arena_reuse.
10340 (arena_get2) [!PER_THREAD]: Likewise.
10341 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10342 memory_arena_reuse_realloc.
10343 * manual/probes.texi: Document them.
10344
0653427f
AO
10345 * malloc/malloc.c (__libc_free): Add
10346 memory_mallopt_free_dyn_thresholds probe.
10347 (__libc_mallopt): Add multiple memory_mallopt probes.
10348 * manual/probes.texi: Document them.
10349
3ea5be54
AO
10350 * malloc/malloc.c: Include stap-probe.h.
10351 (__libc_mallopt): Add memory_mallopt probe.
10352 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10353 * manual/probes.texi: New.
10354 * manual/Makefile (chapters): Add probes.
10355 * manual/threads.texi: Set next node.
10356
e35696c3 103572013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10358
e35696c3
CL
10359 [BZ #15963, #13985]
10360 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10361 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10362 Add `Chinese' to `nan' entry name.
10363
4aafb73c
SP
103642013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10365
10366 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10367 (POLYNOMIAL): Likewise.
10368 (TAYLOR_SINCOS): Likewise.
10369 (TAYLOR_SLOW): Likewise.
10370 (__sin): Use TAYLOR_SINCOS.
10371 (__cos): Likewise.
10372 (slow): Use TAYLOR_SLOW.
10373 (sloww): Likewise.
10374 (bsloww): Likewise.
10375 (csloww): Likewise.
10376
d84f25c7
LD
103772013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10378
10379 * stdlib/strtod_l.c: Fix buffer overrun.
10380
5eea0404
SP
103812013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10382
7849ff93
SP
10383 * benchtests/Makefile (bench): Add sincos.
10384 * benchtests/bench-sincos.c: New file.
10385
cfa3c886
SP
10386 * math/libm-test.inc (cos_test_data): New test inputs.
10387 (sin_test_data): Likewise.
10388
b348e1e3
SP
10389 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10390 macro.
10391 (__sin): Use it.
10392 (__cos): Likewise.
10393 (slow1): Likewise.
10394 (slow2): Likewise.
10395 (sloww1): Likewise.
10396 (sloww2): Likewise.
10397 (bsloww1): Likewise.
10398 (bsloww2): Likewise.
10399 (cslow2): Likewise.
10400 (csloww1): Likewise.
10401 (csloww2): Likewise.
10402
6cce25f8
SP
10403 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10404 function.
10405 (__sin): Use it.
10406 (__cos): Likewise.
10407
5eea0404
SP
10408 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10409 gotos.
10410 (__cos): Likewise.
10411
9c21573c
MR
104122013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10413
10414 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10415 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10416 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10417 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10418 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10419 * elf/cache.c (print_entry): Handle the new cache flags.
10420
24d22e65
JM
104212013-09-18 Joseph Myers <joseph@codesourcery.com>
10422 Aldy Hernandez <aldyh@redhat.com>
10423
10424 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10425 Change condition to [_SOFT_FLOAT].
10426 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10428 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10429 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10430 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10433 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10435 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10437 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10438 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10439 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10440 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10441 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10442 declaration.
10443
d13ef066
JM
104442013-09-18 Joseph Myers <joseph@codesourcery.com>
10445
2e071de0
JM
10446 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10447 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10448 (__longjmp): Use LOAD_GP to load saved GPRs.
10449 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10450 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10451 (__sigsetjmp): Use SAVE_GP to save GPRs.
10452
d13ef066
JM
10453 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10454 Do not append -msoft-float.
10455 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10456
97a0650b
SP
104572013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10458
10459 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10460
11ca09e9
JM
104612013-09-17 Joseph Myers <joseph@codesourcery.com>
10462
10463 [BZ #15966]
10464 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10465 (_FPU_GETCW): Use initial "__" on variable and field names but not
10466 on macro parameter name.
10467 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10468 parentheses around reference to macro parameter.
10469
08ffcf34
RS
104702013-09-13 Richard Sandiford <richard@codesourcery.com>
10471
10472 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10473 prototype.
10474 (ctype_startup): Use uint32_t in cast and sizeof for
10475 ctype->charnames.
10476
ae7080d3
JL
104772013-09-11 Jia Liu <proljc@gmail.com>
10478
10479 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10480 __daddr_t_defined.
10481 [__FreeBSD__]: Likewise.
10482
5905e7b3
OB
104832013-09-11 Ondřej Bílka <neleai@seznam.cz>
10484
10485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10486 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10487 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10488 (strchr): Remove __strchr_sse42 ifunc selection.
10489 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10490 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10491
b987c776
WN
104922013-09-11 Will Newton <will.newton@linaro.org>
10493
10494 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10495 parameter to RES. Remove hardcoded 1000 value.
10496 * benchtests/bench-skeleton.c (main): Pass RES parameter
10497 to TIMING_INIT and multiply result by 1000.
10498
ddf985af
AZ
104992013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10500
10501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10502
ffdd3181
AS
105032013-09-11 Andreas Schwab <schwab@suse.de>
10504
10505 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10506 if not defined.
10507 (O_TMPFILE) [__USE_GNU]: Define.
10508 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10509 Define.
10510
b73ed247
WN
105112013-09-11 Will Newton <will.newton@linaro.org>
10512
10513 [BZ #15857]
10514 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10515 does not overflow.
10516
55e17aad
WN
105172013-09-11 Will Newton <will.newton@linaro.org>
10518
10519 [BZ #15856]
10520 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10521 does not overflow.
10522
1159a193
WN
105232013-09-11 Will Newton <will.newton@linaro.org>
10524
10525 [BZ #15855]
10526 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10527 does not overflow.
10528
5905e7b3 105292013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10530
10531 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10532 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10533 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10534 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10535 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10536
cdfc721b
AM
105372013-09-10 Allan McRae <allan@archlinux.org>
10538
aa04af00
AM
10539 [BZ #15748]
10540 * manual/arith.texi (Parsing of Floats): Clarify
10541 cross-reference.
10542
cdfc721b
AM
10543 [BZ #15849]
10544 * manual/install.texi (Running make install): Mention
10545 --enable-pt-chown.
10546 * INSTALL: Regenerated.
10547
95e7cf29
MR
105482013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10549
10550 * csu/init-first.c (_init): Remove the !SHARED condition around
10551 FPU control word initialization.
10552 * elf/dl-support.c (_dl_fpu_control): New variable.
10553 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10554 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10555 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10556 * math/test-fpucw-static.c: New file.
10557 * math/test-fpucw-ieee.c: New file.
10558 * math/test-fpucw-ieee-static.c: New file.
10559 * math/Makefile (tests): Add `test-fpucw-ieee' and
10560 `$(tests-static)'.
10561 (tests-static): New variable.
10562 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10563 dependency to...
10564 [($(build-shared),yes)]
10565 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10566 ... this.
10567 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10568 New dependency.
10569
83e43bf0
AM
105702013-09-09 Allan McRae <allan@archlinux.org>
10571
a9f5ce09
AM
10572 [BZ #15939]
10573 * manual/string.texi (Collation Functions): Fix typo in
10574 strcoll example.
10575 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10576
34829bc2
AM
10577 [BZ #15893]
10578 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10579
3932737d
AM
10580 [BZ #15892]
10581 * libio/memstream.c (open_memstream): Fix memory leak.
10582 * libio/wmemstream.c (open_wmemstream): Likewise.
10583
83e43bf0
AM
10584 [BZ #15895]
10585 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10586
0c66b8e9
WN
105872013-09-09 Will Newton <will.newton@linaro.org>
10588
10589 * malloc/Makefile: Add tst-realloc to tests.
10590 * malloc/tst-realloc.c: New file.
10591
f6b00fd1
AM
105922013-09-09 Allan McRae <allan@archlinux.org>
10593
10594 [BZ #15844]
10595 * COPYING: Update from GNU website to fix FSF address.
10596 * COPYING.LIB: Likewise.
10597
eec55e16
DM
105982013-09-06 David S. Miller <davem@davemloft.net>
10599
10600 * po/zh_TW.po: Update Chinese (traditional) translation from
10601 translation project.
10602
1ecbb381
RS
106032013-09-06 Richard Sandiford <richard@codesourcery.com>
10604 Joseph Myers <joseph@codesourcery.com>
10605
10606 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10607 "localeinfo.h".
10608 (obstack_chunk_alloc): New macro.
10609 (obstack_chunk_free): Likewise.
10610 (record_offset): New function.
10611 (init_locale_data): Likewise.
10612 (align_locale_data): Likewise.
10613 (add_locale_empty): Likewise.
10614 (add_locale_raw_data): Likewise.
10615 (add_locale_raw_obstack): Likewise.
10616 (add_locale_string): Likewise.
10617 (add_locale_wstring): Likewise.
10618 (add_locale_uint32): Likewise.
10619 (add_locale_uint32_array): Likewise.
10620 (add_locale_char): Likewise.
10621 (start_locale_structure): Likewise.
10622 (end_locale_structure): Likewise.
10623 (start_locale_prelude): Likewise.
10624 (end_locale_prelude): Likewise.
10625 (write_locale_data): Take locale_file structure rather than an
10626 iovec.
10627 * locale/programs/locfile.h: Include "obstack.h".
10628 (struct locale_file): Change to store locale file contents instead
10629 of header.
10630 (init_locale_data): New prototype.
10631 (align_locale_data): Likewise.
10632 (add_locale_empty): Likewise.
10633 (add_locale_raw_data): Likewise.
10634 (add_locale_raw_obstack): Likewise.
10635 (add_locale_string): Likewise.
10636 (add_locale_wstring): Likewise.
10637 (add_locale_uint32): Likewise.
10638 (add_locale_uint32_array): Likewise.
10639 (add_locale_char): Likewise.
10640 (start_locale_structure): Likewise.
10641 (end_locale_structure): Likewise.
10642 (start_locale_prelude): Likewise.
10643 (end_locale_prelude): Likewise.
10644 (write_locale_data): Update prototype.
10645 * locale/programs/3level.h (struct TABLE): Remove result field.
10646 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10647 Use new locale_file interface.
10648 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10649 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10650 * locale/programs/ld-address.c (address_output): Use new
10651 locale_file interface.
10652 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10653 NO_ADD_LOCALE.
10654 (collate_finish): Don't call collseq_table_finalize.
10655 (collate_output): Use new locale_file interface.
10656 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10657 in file.
10658 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10659 (TABLE): Move defines earlier in file.
10660 (ELEMENT): Likewise.
10661 (DEFAULT): Likewise.
10662 (wctrans_table_add): Move macro and inline function earlier in
10663 file.
10664 (struct wctype_table): Move type earlier in file.
10665 (add_locale_wctype_table): New static prototype.
10666 (struct locale_ctype_t): Use logical types instead of struct iovec
10667 pointers for members.
10668 (ctype_output): Use new locale_file interface.
10669 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10670 new locale_file interface.
10671 (allocate_arrays): Update for use of new locale_file interface.
10672 * locale/programs/ld-identification.c (identification_output): Use
10673 new locale_file interface.
10674 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10675 * locale/programs/ld-messages.c (messages_output): Likewise.
10676 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10677 * locale/programs/ld-name.c (name_output): Likewise.
10678 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10679 * locale/programs/ld-paper.c (paper_output): Likewise.
10680 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10681 * locale/programs/ld-time.c (time_output): Likewise.
10682
e029e2e5
AZ
106832013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10684
10685 * benchtests/Makefile: Add memrchr benchmark.
10686 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10687 benchmark as memrchr.
10688 * benchtests/bench-memrchr-ifunc.c: New file.
10689 * benchtests/bench-memrchr.c: New file.
10690
bbf6e8e4
WN
106912013-09-06 Will Newton <will.newton@linaro.org>
10692
10693 * benchtests/Makefile (string-bench): Add memcpy.
10694
6c82a2f8
CD
106952013-09-05 Carlos O'Donell <carlos@redhat.com>
10696 Cong Wang <amwang@redhat.com>
10697
e732c5f0 10698 [BZ #15850]
6c82a2f8
CD
10699 * sysdeps/unix/sysv/linux/bits/in.h
10700 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10701 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10702 before __USE_KERNEL_IPV6_DEFS uses.
10703 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10704 IPPROTO_BEETPH.
10705 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10706 sockaddr_in6, or ipv6_mreq.
10707
5430fc65
AZ
107082013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10709
10710 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10711 memory access for final bytes in some large inputs.
10712 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10713
4660856c
AZ
107142013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10715
10716 * string/test-memrchr.c: New file.
10717 * string/test-memrchr-ifunc.c: New file.
10718 * string/Makefile: Add new memrchr testcase.
10719
bb8ea713
MF
107202013-09-05 Mike Frysinger <vapier@gentoo.org>
10721
10722 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10723 fanotify_init returns EPERM.
10724
b92a20b5
JM
107252013-09-04 Joseph Myers <joseph@codesourcery.com>
10726
10727 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10728 errors.
10729 (top level): Treat second token from macro or constant entries for
10730 allowed headers as allowed.
10731 * include/complex.h: Condition internal declarations on
10732 [!_ISOMAC].
10733 * include/fenv.h: Condition include of <stdbool.h> and internal
10734 declarations on [!_ISOMAC].
7447ccd9
CL
10735
107362013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10737
3e181dda 10738 [BZ #15923]
7447ccd9
CL
10739 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10740
3f2e46a4
JM
107412013-09-04 Joseph Myers <joseph@codesourcery.com>
10742
10743 * configure.in (--enable-versioning): Remove configure option.
10744 (libc_cv_asm_symver_directive): Remove configure test.
10745 (libc_cv_ld_version_script_option): Likewise.
10746 (VERSIONING): Remove variable and AC_SUBST.
10747 (DO_VERSIONING): Remove AC_DEFINE.
10748 * configure: Regenerated.
10749 * config.h.in (DO_VERSIONING): Remove macro.
10750 * Makerules [$(versioning) = yes]: Change conditionals to
10751 [$(build-shared) = yes].
10752 * config.make.in (versioning): Remove variable.
10753 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10754 [$(build-shared) = yes].
10755 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10756 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10757 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10758 [$(build-shared) = yes].
10759 * extra-lib.mk [$(versioning) = yes]: Likewise.
10760 * hurd/Makefile [$(versioning) = yes]: Likewise.
10761 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10762 [SHARED].
10763 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10764 [SHARED].
10765 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10766 [SHARED && !NO_HIDDEN].
10767 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10768 [SHARED].
10769 [SHARED && DO_VERSIONING]: Likewise..
10770 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10771 [$(build-shared) = yes].
10772 * manual/install.texi (--disable-versioning): Remove
10773 documentation.
10774 * INSTALL: Regenerated.
10775 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10776 to [SHARED].
10777 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10778 [$(build-shared) = yes].
10779 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10780 * sysdeps/i386/i686/multiarch/strstr-c.c
10781 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10782 [SHARED && !NO_HIDDEN].
10783 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10784 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10785 * sysdeps/powerpc/powerpc32/dl-machine.c
10786 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10787 * sysdeps/powerpc/powerpc32/sysdep.h
10788 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10789 to [SHARED && PIC && !NO_HIDDEN].
10790 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10791 conditional to [SHARED].
10792
44558701
WN
107932013-09-04 Will Newton <will.newton@linaro.org>
10794
10795 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10796 * benchtests/bench-string.h: Include bench-timing.h instead
10797 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10798 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10799 call to HP_TIMING_DIFF_INIT.
10800 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10801 instead of hp-timing.h macros.
10802 * benchtests/bench-memchr.c: Likewise.
10803 * benchtests/bench-memcmp.c: Likewise.
10804 * benchtests/bench-memcpy.c: Likewise.
10805 * benchtests/bench-memmem.c: Likewise.
10806 * benchtests/bench-memmove.c: Likewise.
10807 * benchtests/bench-memset.c: Likewise.
10808 * benchtests/bench-rawmemchr.c: Likewise.
10809 * benchtests/bench-strcasecmp.c: Likewise.
10810 * benchtests/bench-strcasestr.c: Likewise.
10811 * benchtests/bench-strcat.c: Likewise.
10812 * benchtests/bench-strchr.c: Likewise.
10813 * benchtests/bench-strcmp.c: Likewise.
10814 * benchtests/bench-strcpy.c: Likewise.
10815 * benchtests/bench-strcpy_chk.c: Likewise.
10816 * benchtests/bench-strlen.c: Likewise.
10817 * benchtests/bench-strncasecmp.c: Likewise.
10818 * benchtests/bench-strncat.c: Likewise.
10819 * benchtests/bench-strncmp.c: Likewise.
10820 * benchtests/bench-strncpy.c: Likewise.
10821 * benchtests/bench-strnlen.c: Likewise.
10822 * benchtests/bench-strpbrk.c: Likewise.
10823 * benchtests/bench-strrchr.c: Likewise.
10824 * benchtests/bench-strspn.c: Likewise.
10825 * benchtests/bench-strstr.c: Likewise.
10826
cae16d66
WN
108272013-09-04 Will Newton <will.newton@linaro.org>
10828
10829 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10830
ffa3cd7f
JM
108312013-09-03 Joseph Myers <joseph@codesourcery.com>
10832
10833 [BZ #15427]
10834 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10835 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10836 * math/libm-test.inc (lgamma_test_data): Add more tests.
10837 * sysdeps/i386/fpu/libm-test-ulps: Update.
10838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10839
8f02859f
OB
108402013-09-03 Ondřej Bílka <neleai@seznam.cz>
10841
10842 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10843 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10844 Add ifunc.
10845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10846 Add strcmp-sse2-unaligned
10847 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10848
18d43716
MF
108492013-09-02 Mike Frysinger <vapier@gentoo.org>
10850
10851 * Versions.def (libc): Add GLIBC_2.19.
10852
ac444012
MF
108532013-09-02 Mike Frysinger <vapier@gentoo.org>
10854
10855 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10856 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10857
b7835e32
JM
108582013-09-02 Joseph Myers <joseph@codesourcery.com>
10859
10860 [BZ #14155]
10861 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10862 intermediate calculations in recurrence.
10863 (__ieee754_ynf): Likewise.
10864 * math/libm-test.inc (jn_test_data): Do not allow spurious
10865 underflow exception. Add more tests.
10866 (yn_test_data): Add more tests.
10867 * sysdeps/i386/fpu/libm-test-ulps: Update.
10868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10869
8220f4f0
OB
108702013-09-02 Ondřej Bílka <neleai@seznam.cz>
10871
10872 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10873
f24a6d08
OB
108742013-08-30 Ondřej Bílka <neleai@seznam.cz>
10875
10876 * csu/init-first.c: Fix then/than typos.
10877 * locale/programs/ld-collate.c: Likewise.
10878 * locale/programs/linereader.h: Likewise.
10879 * manual/charset.texi: Likewise.
10880 * manual/filesys.texi: Likewise.
10881 * manual/stdio.texi: Likewise.
10882 * manual/string.texi: Likewise.
10883 * stdlib/fmtmsg.c: Likewise.
10884 * sysdeps/i386/stpncpy.S: Likewise.
10885 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10886 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10887 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10888 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10889
382466e0
OB
108902013-08-30 Ondřej Bílka <neleai@seznam.cz>
10891
10892 * elf/dl-open.c: Fix typos.
10893 * iconvdata/gbbig5.c: Likewise.
10894 * iconvdata/iso-2022-jp.c: Likewise.
10895 * iconv/gconv_int.h: Likewise.
10896 * iconv/loop.c: Likewise.
10897 * nis/rpcsvc/nis.h: Likewise.
10898 * resolv/ns_name.c: Likewise.
10899 * stdio-common/vfscanf.c: Likewise.
10900 * streams/stropts.h: Likewise.
10901 * sunrpc/rpc_thread.c: Likewise.
10902 * sysdeps/i386/strpbrk.S: Likewise.
10903 * sysdeps/ieee754/k_standard.c: Likewise.
10904 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10905 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10906 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10907 * sysdeps/mach/hurd/profil.c: Likewise.
10908 * sysdeps/s390/dl-procinfo.h: Likewise.
10909 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10910 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10911 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10912 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10913 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10914
0186c6e9
OB
109152013-08-30 Ondřej Bílka <neleai@seznam.cz>
10916
10917 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10918 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10919
d4e16af1
OB
109202013-08-29 Ondřej Bílka <neleai@seznam.cz>
10921
10922 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10923 aix specific files.
10924 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10925 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10926 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10927 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10928 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10929 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10930 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10931 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10932
88335980
TS
109332013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10934 Roland McGrath <roland@hack.frob.com>
10935
10936 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10937 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10938
ed479b02
ST
109392013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10940
10941 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10942 __executable_start symbol instead of _start.
10943
f1cc4c86
TS
109442013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10945
d821f07c
TS
10946 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10947 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10948 Move macros to...
10949 * sysdeps/gnu/ldsodefs.h: ... this new file.
10950
c54290cf
TS
10951 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10952 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10953 instead of ELFOSABI_LINUX.
10954
0007fc9b 10955 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10956 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10957 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10958 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10959 Likewise.
10960 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10961 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10962 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10963 Likewise.
10964 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10965 (ibm_extended_long_double): Add ieee_nan member.
10966 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10967 (do_test): New function.
10968
f1cc4c86
TS
10969 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10970 TEST_TRUNC.
10971 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10972 functions, renamed from truncdfsf_test, trunctfsf_test,
10973 trunctfdf_test.
10974 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10975 functions.
10976 (do_test): Run all these.
10977
6f65e668
OB
109782013-08-29 Ondřej Bílka <neleai@seznam.cz>
10979
10980 * argp/argp-help.c: Fix typos.
10981 * argp/argp-parse.c: Likewise.
10982 * debug/backtracesyms.c: Likewise.
10983 * elf/elf.h: Likewise.
10984 * malloc/malloc.c: Likewise.
10985 * nis/nis_print.c: Likewise.
10986 * resolv/res_comp.c: Likewise.
10987 * stdlib/stdlib.h: Likewise.
10988 * sunrpc/clnt_tcp.c: Likewise.
10989 * sunrpc/clnt_udp.c: Likewise.
10990 * sunrpc/clnt_unix.c: Likewise.
10991 * sysdeps/unix/bsd/ptsname.c: Likewise.
10992 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10993 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10995 Likewise.
10996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10997 Likewise.
10998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10999 Likewise.
6f65e668
OB
11000 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11001
3a309239
SP
110022013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11003
11004 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11005 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11006
3b813b29
MF
110072013-08-27 Mike Frysinger <vapier@gentoo.org>
11008
11009 [BZ #15897]
11010 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11011 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11012 ($(objpfx)bug-dl-leaf): New rule.
11013 ($(objpfx)bug-dl-leaf.so): Likewise.
11014 ($(objpfx)bug-dl-leaf.out): Likewise.
11015 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11016 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11017 * dlfcn/bug-dl-leaf.c: New test.
11018 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11019 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11020 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11021 (dlclose): Likewise.
11022 (dlmopen): Likewise.
11023
8cc3269f
RM
110242013-08-27 Roland McGrath <roland@hack.frob.com>
11025
7f9d0034
RM
11026 * include/netdb.h [!_ISOMAC]:
11027 Don't include <tls.h>.
11028 (h_errno, __libc_h_errno): Move declaration and macros out of
11029 [_LIBC_REENTRANT].
11030
fb431262
RM
11031 * include/resolv.h [_RESOLV_H_]:
11032 Don't include <tls.h>.
11033 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11034 * resolv/res_libc.c: Don't include <tls.h>.
11035 (_res): Use __attribute__ ((nocommon)) in place of
11036 __attribute__ ((section (".bss"))).
11037
bd81123a
RM
11038 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11039 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11040
c4e42566
RM
11041 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11042
f890a59b
RM
11043 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11044 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11045
11046 * resolv/res_mkquery.c: Include <sys/time.h>.
11047
5d1f0a09
RM
11048 * inet/ifreq.c: Moved to ...
11049 * sysdeps/unix/ifreq.c: ... here.
11050 * inet/ifreq.c: New file, true stub version.
11051
6fcf28b3
RM
11052 * socket/sa_len.c: New file.
11053 * socket/Makefile (aux): Add it.
11054 * sysdeps/unix/sysv/linux/Makefile
11055 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11056 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11057 and #include <socket/sa_len.c>.
11058 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11059 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11060
e041fb8b
RM
11061 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11062 * bits/socket.h: ... here.
11063
8cc3269f
RM
11064 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11065 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11066 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11067
5d228a43
AS
110682013-08-27 Andreas Schwab <schwab@suse.de>
11069
45b8accc
AS
11070 [BZ #15736]
11071 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11072 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11073 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11074 * string/test-strcasecmp.c (test_main): Run tests in several
11075 locales.
11076 * string/test-strncasecmp.c (test_main): Likewise.
11077
5d228a43
AS
11078 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11079 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11080 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11081 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11082 (__strncasecmp_ssse3) [PIC]: Likewise.
11083
59d112a4
RM
110842013-08-26 Roland McGrath <roland@hack.frob.com>
11085
53234cc3
RM
11086 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11087
59d112a4
RM
11088 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11089 instead of explicitly declaring xdecrypt.
11090 * nis/nss_nis/nis-publickey.c: Likewise.
11091
595aba70
SP
110922013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11093
11094 [BZ #15890]
11095 * nscd/aicache.c: Include res_hconf.h.
11096 (addhstaiX): Initialize res_hconf.
11097
ffabd393
AS
110982013-08-26 Andreas Schwab <schwab@suse.de>
11099
11100 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11101 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11102
e0a69f5c
SP
111032013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11104
11105 * nscd/aicache.c (addhstaiX): Fix indentation.
11106
8c12f01d
MF
111072013-08-25 Mike Frysinger <vapier@gentoo.org>
11108
11109 * configure.ac: Quote $build_pt_chown test.
11110 * configure: Regenerated.
11111
8fe89494
JM
111122013-08-23 Joseph Myers <joseph@codesourcery.com>
11113
11114 [BZ #15532]
11115 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11116 * math/s_cexpf.c (__cexpf): Likewise.
11117 * math/s_cexpl.c (__cexpl): Likewise.
11118 * math/libm-test.inc (cexp_test_data): Correct expected return
11119 value for NaN + i0. Add another test.
11120
75b181d6
DM
111212013-08-22 David S. Miller <davem@davemloft.net>
11122
11123 * po/ca.po: Update Catalan translation from translation project.
936241e4 11124 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11125
acd06bb1
JM
111262013-08-21 Joseph Myers <joseph@codesourcery.com>
11127
11128 [BZ #15797]
11129 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11130 is infinite, not alongside NaN test.
11131 * math/s_fdimf.c (__fdimf): Likewise.
11132 * math/s_fdiml.c (__fdiml): Likewise.
11133 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11134 errno is unchanged.
11135
c0c3f78a
OB
111362013-08-21 Ondřej Bílka <neleai@seznam.cz>
11137
11138 * argp/argp-help.c: Fix typos.
11139 * crypt/speeds.c: Likewise.
11140 * csu/check_fds.c: Likewise.
11141 * elf/dl-load.c: Likewise.
11142 * elf/dl-open.c: Likewise.
11143 * elf/reldep3.c: Likewise.
11144 * elf/reldep.c: Likewise.
11145 * elf/sprof.c: Likewise.
11146 * iconv/iconv_charmap.c: Likewise.
11147 * iconv/skeleton.c: Likewise.
11148 * iconv/strtab.c: Likewise.
11149 * io/lockf64.c: Likewise.
11150 * libio/libioP.h: Likewise.
11151 * resolv/gai_notify.c: Likewise.
11152 * resolv/ns_name.c: Likewise.
11153 * resolv/ns_samedomain.c: Likewise.
11154 * resolv/res_send.c: Likewise.
11155 * stdlib/random.c: Likewise.
11156 * sunrpc/rpc/xdr.h: Likewise.
11157 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11158 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11159 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11160 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11161 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11162 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11163 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11164 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11165 * sysdeps/mach/hurd/check_fds.c: Likewise.
11166 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11167 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11168 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11169 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11170 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11171 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11172 * sysdeps/pthread/aio_notify.c: Likewise.
11173 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11174 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11175 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11176 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11177 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11178
46ed1038
LD
111792013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11180
11181 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11182 version if bit_Slow_SSE4_2 is set.
11183 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11184 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11185
d400dcac
AZ
111862013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11187
11188 [BZ #15867]
11189 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11190 trampoline stack frame information.
11191 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11192 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11193 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11194 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11195 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11196 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11197 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11198 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11199 sa_flags value.
11200 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11201 interrupting a syscall and set with option SA_SIGINFO.
11202
42c8fdd8
JM
112032013-08-20 Joseph Myers <joseph@codesourcery.com>
11204
c980f2f4
JM
11205 [BZ #15531]
11206 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11207 argument is infinite.
11208 * math/s_cprojf.c (__cprojf): Likewise.
11209 * math/s_cprojl.c (__cprojl): Likewise.
11210 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11211 * math/libm-test.inc (cproj_test_data): Add more tests.
11212
0716c4fc
JM
11213 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11214
42c8fdd8
JM
11215 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11216 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11217 size. Use __ffs to determine corresponding shift.
11218
b31469d0
JM
112192013-08-20 Joseph Myers <joseph@codesourcery.com>
11220 Roland McGrath <roland@hack.frob.com>
11221
11222 * Makefile (INSTALL): Remove trailing blank lines from output of
11223 makeinfo.
11224
4e39af6e
AK
112252013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11226
11227 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11228 Align 32 bit compat elf_greg to 8 bytes.
11229
f315524e
AA
112302013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11231
11232 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11233
1326ba1a
SP
112342013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11235
11236 * string/strcoll_l.c (coll_seq): New structure.
11237 (get_next_seq_cached): New function.
11238 (get_next_seq): New function.
11239 (do_compare): New function.
11240 (STRCOLL): Use GNU style definition. Simplify implementation
11241 by using get_next_seq, get_next_seq_cached and do_compare.
11242
91ce4085
FW
112432013-08-16 Florian Weimer <fweimer@redhat.com>
11244
11245 [BZ #14699]
11246 CVE-2013-4237
11247 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11248 member.
11249 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11250 member.
11251 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11252 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11253 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11254 conditional.
11255 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11256 GETDENTS_64BIT_ALIGNED.
11257 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11258 * manual/filesys.texi (Reading/Closing Directory): Document
11259 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11260 strongly.
11261 * manual/conf.texi (Limits for Files): Add portability note to
11262 NAME_MAX, PATH_MAX.
11263 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11264
ca0a6bc4
AS
112652013-08-13 Andreas Schwab <schwab@suse.de>
11266
11267 [BZ #15749]
11268 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11269 of fabs.
11270 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11271 LDBL_MAX_EXP >= 16384]: Add tests for it.
11272
6c1fd795
DM
112732013-08-12 David S. Miller <davem@davemloft.net>
11274
11275 * version.h (RELEASE): Set to "development".
11276 (VERSION): Set to "2.18.90".
11277 * NEWS: Add 2.19 section.
11278
31ad488d
DM
112792013-08-03 David S. Miller <davem@davemloft.net>
11280
11281 * po/ko.po: Update Korean translation from translation project.
11282
db24e684
DM
112832013-08-01 David S. Miller <davem@davemloft.net>
11284
11285 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11286 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11287 Bilka.
11288
f723285b
DM
112892013-07-30 David S. Miller <davem@davemloft.net>
11290
11291 * po/fr.po: Update French translation from translation project.
11292
3cbc52db
DM
112932013-07-28 David S. Miller <davem@davemloft.net>
11294
30bbc0cc
DM
11295 * po/cs.po: Update Czech translation from translation project.
11296
3cbc52db
DM
11297 * po/sv.po: Update Swedish translation from translation project.
11298
d492e6d0
DM
112992013-07-27 David S. Miller <davem@davemloft.net>
11300
f1a7f492
DM
11301 * po/eo.po: Update Esperanto translation from translation project.
11302
90e62a4a
DM
11303 * po/vi.po: Update Vietnamese translation from translation project.
11304
d492e6d0
DM
11305 * po/de.po: Update German translation from translation project.
11306
d4baa62d
DM
113072013-07-26 David S. Miller <davem@davemloft.net>
11308
641aa7b4
DM
11309 * po/bg.po: Update Bulgarian translation from translation project.
11310
d4baa62d
DM
11311 * po/nl.po: Update Dutch translation from translation project.
11312 * po/pl.po: Update Polish translation from translation project.
11313 * po/ru.po: Update Russian translation from translation project.
11314
61a9dcb9
DM
113152013-07-24 David S. Miller <davem@davemloft.net>
11316
11317 * po/libc.pot: Update.
11318
7b1f8b58
AZ
113192013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11320
11321 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11322 variable page size.
11323 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11324 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11325 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11326
a8fc7a03
AK
113272013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11328
11329 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11330
e4608715
CD
113312013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11332 Andreas Schwab <schwab@suse.de>
11333 Roland McGrath <roland@hack.frob.com>
11334 Joseph Myers <joseph@codesourcery.com>
11335 Carlos O'Donell <carlos@redhat.com>
11336
11337 [BZ #15755]
11338 * config.h.in: Define HAVE_PT_CHOWN.
11339 * config.make.in (build-pt-chown): New variable.
11340 * configure.in (--enable-pt_chown): New configure option.
11341 * configure: Regenerate.
11342 * login/Makefile: Include Makeconfig. Build pt_chown only if
11343 build-pt-chown is enabled.
11344 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11345 pt_chown to fix pty ownership.
11346 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11347 CLOSE_ALL_FDS.
11348 * manual/install.texi (Configuring and compiling): Mention
11349 --enable-pt_chown. Add @findex for grantpt.
11350 * INSTALL: Regenerate.
11351
da2d62df
DM
113522013-07-20 David S. Miller <davem@davemloft.net>
11353
11354 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11355 difference between 32-bit and 64-bit.
11356
d7e06450
CD
113572013-07-15 Carlos O'Donell <carlos@redhat.com>
11358
11359 [BZ #15711]
11360 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11361 Avoid system header dependency with -ffreestanding.
11362 ($(objpfx)bits/syscall%d): Likewise.
11363
f959cfd7
DM
113642013-07-13 David S. Miller <davem@davemloft.net>
11365
11366 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11367 underflows from atanl/atan2l due to bug 15319.
11368 (casinh_test_data): Likewise.
11369
c61f8513
DM
113702013-07-07 David S. Miller <davem@davemloft.net>
11371
11372 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11373
72c90ed0
JA
113742013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11375
11376 * sysdeps/i386/fpu/libm-test-ulps: Update.
11377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11378
52dfbe13
SP
113792013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11380
11381 * configure.in (--enable-lock-elision): Fix message text.
11382 * INSTALL: Regenerate.
11383 * configure: Regenerate.
11384
3f169543
AZ
113852013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11386
11387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11388
521c6785
AJ
113892013-07-03 Andreas Jaeger <aj@suse.de>
11390
11391 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11392 define.
11393 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11394 (ptrace_peeksiginfo_args): Add.
11395 (__ptrace_peeksiginfo_flags): Add.
11396 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11397 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11398 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11399
d2cc15cb
AM
114002013-07-03 Allan McRae <allan@archlinux.org>
11401
11402 * sysdeps/i386/fpu/libm-test-ulps: Update.
11403
3aaeeca7
DM
114042013-07-02 David S. Miller <davem@davemloft.net>
11405
11406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11407
5314ed1a
MT
114082013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11409
11410 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11411
67338156
JM
114122013-07-02 Joseph Myers <joseph@codesourcery.com>
11413
11414 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11416
1717da59
AK
114172013-07-02 Andi Kleen <ak@linux.intel.com>
11418
11419 * config.h.in (ENABLE_LOCK_ELISION): Add.
11420 * configure.in (--enable-lock-elision): Add option.
11421 * manual/install.texi: Document --enable lock elision.
11422 * configure: Regenerate
11423 * INSTALL: Regenerate.
11424
1c81621c
L
114252013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11426
11427 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11428 SSE4.2 strcasecmp for libc.a.
11429 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11430
77f01ab5
JM
114312013-07-02 Joseph Myers <joseph@codesourcery.com>
11432
11433 [BZ #13304]
11434 * soft-fp/op-common.h (_FP_FMA): New macro.
11435 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11436 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11437 (_FP_MUL_MEAT_1_imm): ... here.
11438 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11439 (_FP_MUL_MEAT_1_wide): ... here.
11440 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11441 (_FP_MUL_MEAT_1_hard): ... here.
11442 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11443 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11444 (_FP_MUL_MEAT_2_wide): ... here.
11445 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11446 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11447 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11448 (_FP_MUL_MEAT_2_gmp): ... here.
11449 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11450 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11451 (_FP_MUL_MEAT_4_wide): ... here.
11452 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11453 (_FP_MUL_MEAT_4_gmp): ... here.
11454 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11455 (_FP_WFRACBITS_DW_S): Likewise.
11456 (_FP_WFRACXBITS_DW_S): Likewise.
11457 (_FP_HIGHBIT_DW_S): Likewise.
11458 (FP_FMA_S): Likewise.
11459 (_FP_FRAC_HIGH_DW_S): Likewise.
11460 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11461 (_FP_WFRACBITS_DW_D): Likewise.
11462 (_FP_WFRACXBITS_DW_D): Likewise.
11463 (_FP_HIGHBIT_DW_D): Likewise.
11464 (FP_FMA_D): Likewise.
11465 (_FP_FRAC_HIGH_DW_D): Likewise.
11466 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11467 (_FP_WFRACBITS_DW_E): Likewise.
11468 (_FP_WFRACXBITS_DW_E): Likewise.
11469 (_FP_HIGHBIT_DW_E): Likewise.
11470 (FP_FMA_E): Likewise.
11471 (_FP_FRAC_HIGH_DW_E): Likewise.
11472 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11473 (_FP_WFRACBITS_DW_Q): Likewise.
11474 (_FP_WFRACXBITS_DW_Q): Likewise.
11475 (_FP_HIGHBIT_DW_Q): Likewise.
11476 (FP_FMA_Q): Likewise.
11477 (_FP_FRAC_HIGH_DW_Q): Likewise.
11478 * soft-fp/fmasf4.c: New file.
11479 * soft-fp/fmadf4.c: Likewise.
11480 * soft-fp/fmatf4.c: Likewise.
11481
6308fd9a
LD
114822013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11483
11484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11485 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11486 Silvermont.
11487 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11488 macro.
11489 (index_Slow_SSE4_2): Likewise.
11490 (index_Prefer_PMINUB_for_stringop): Likewise.
11491 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11492 bit_Slow_SSE4_2 is set.
11493 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11494 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11495
89cd9569
RA
114962013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11497
11498 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11499 rtld_global._dl_hwcap2.
11500 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11501 POWER8.
11502 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11503 POWER8 feature descriptions defined in _dl_hwcap2.
11504 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11505 string handling for POWER8 feature bits.
11506 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11507 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11508 _dl_powerpc_cap_flags.
11509 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11510 * sysdeps/powerpc/rtld-global-offsets.sym
11511 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11512 _dl_hwcap2 in the rtld_global_ro structure.
11513
1ae8bfe0
RA
115142013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11515
11516 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11517 hardware capabilities in support of AT_HWCAP2.
11518 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11519 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11520 GLRO(dl_hwcap2).
11521 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11522 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11523 explicitly the unknown a_type display mechanism is used.
11524 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11525 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11526 struct member.
11527 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11528 to macro prototype for AT_HWCAP2 support.
11529 * sysdeps/i386/dl-procinfo.h: Likewise.
11530 * sysdeps/s390/dl-procinfo.h: Likewise.
11531 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11532 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11533 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11534 return -1 for unknown a_type display fallback.
11535 * sysdeps/sparc/dl-procinfo.h: Likewise.
11536 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11537 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11538
8fbec010
JM
115392013-06-28 Joseph Myers <joseph@codesourcery.com>
11540
11541 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11542 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11543
0432680e
PY
115442013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11545
11546 [BZ #12492]
11547 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11548 mprotect making __stack_prot writable.
11549
ce61a2ad
NF
115502013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11551 Joseph Myers <joseph@codesourcery.com>
11552
11553 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11554 as being properly aligned.
11555
f91f1c0f
MR
115562013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11557
3d0f5d0c
MR
11558 * dlfcn/modstatic5.c: New file.
11559 * dlfcn/tststatic5.c: New file.
11560 * dlfcn/Makefile (tests): Add tststatic5.
11561 (tests-static): Likewise.
11562 (modules-names): Add modstatic5.
11563 (tststatic5-ENV): New variable.
11564 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11565
f91f1c0f
MR
11566 [BZ #15022]
11567 * elf/dl-support.c (_dl_main_map): New variable.
11568 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11569 (_dl_nns, _dl_load_adds): Set to 1.
11570 (_dl_initial_searchlist): Refer to _dl_main_map.
11571 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11572 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11573 call to _dl_get_origin.
11574 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11575 around call_map.
11576 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11577 * dlfcn/modstatic3.c: New file.
11578 * dlfcn/tststatic3.c: New file.
11579 * dlfcn/tststatic4.c: New file.
11580 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11581 (tests-static): Likewise.
11582 (modules-names): Add modstatic3.
11583 (tststatic3-ENV, tststatic4-ENV): New variables.
11584 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11585 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11586
cbe7d24b
JM
115872013-06-26 Joseph Myers <joseph@codesourcery.com>
11588
11589 * configure.in (CC): Require GCC version 4.4 or later.
11590 * configure: Regenerated.
11591 * manual/install.texi (Tools for Compilation): Update GCC version
11592 requirement.
11593 * INSTALL: Regenerated.
11594
11b8a0e1
LD
115952013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11596
11597 [BZ #15674]
bb5bb87c
L
11598 * string/test-memcmp.c (check2): New.
11599 (main): Call check2.
11600
11b8a0e1
LD
11601 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11602
b0037103
MR
116032013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11604
11605 [BZ #15022]
11606 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11607 over to...
11608 (dl_open_worker) [!SHARED]: ... here.
11609
c18c701d
RA
116102013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11611
11612 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11613
1d17fa5f
RH
116142013-06-25 Richard Henderson <rth@redhat.com>
11615
11616 * locale/programs/locarchive.c: Include <libc-internal.h>
11617
8fcb833a
JM
116182013-06-25 Joseph Myers <joseph@codesourcery.com>
11619
11620 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11621 trailing whitespace removed.
11622
17db6e8d
MF
116232013-06-24 Mike Frysinger <vapier@gentoo.org>
11624
11625 [BZ #10283]
17db6e8d
MF
11626 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11627 * locale/programs/locarchive.c: Include libc-mmap.h.
11628 (prepare_address_space): Take two new outputs (the mmap base and len).
11629 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11630 values.
11631 (create_archive): Declare new mmap base and len values for
11632 prepare_address_space, and store the result in ah.
11633 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11634 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11635 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11636 Declare new mmap base and len values for
11637 prepare_address_space, and store the result in new_ah.
11638 (open_archive): Declare new mmap base and len values for
11639 prepare_address_space, and store the result in ah.
11640 (close_archive): If ah->mmap_base is not NULL, use that and
11641 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11642 * sysdeps/generic/libc-mmap.h: New file.
11643
d605071e
MF
116442013-06-24 Mike Frysinger <vapier@gentoo.org>
11645
11646 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11647 (ALIGN_UP): Likewise.
11648 (PTR_ALIGN_DOWN): Likewise.
11649 (PTR_ALIGN_UP): Likewise.
11650
2f063a6e
RA
116512013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11652
11653 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11654 entry mapped to PPC_PLATFORM_POWER8.
11655 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11656 POWER8.
11657 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11658 (_dl_string_platform): Add case for exporting platform position for
11659 POWER8.
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11661 search path to sysdeps/powerpc/powerpc32/power8 directory.
11662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11663 search path to sysdeps/powerpc/powerpc64/power8 directory.
11664 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11665 power7 directories.
11666 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11667 power7 directories.
11668
a31ee4b3
SP
116692013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11670
a74ca98f
SP
11671 * INSTALL: Regenerate.
11672
a31ee4b3
SP
11673 * nscd/connections.c (nscd_init): Fix comment.
11674
695c378f
JM
116752013-06-22 Joseph Myers <joseph@codesourcery.com>
11676
d8412221
JM
11677 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11678
695c378f
JM
11679 [BZ #15667]
11680 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11681 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11682
d1d54715
MR
116832013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11684
11685 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11686 DL_DST_REQ_STATIC.
11687 (DL_DST_REQ_STATIC): Remove macro.
11688
8fdda7af
JM
116892013-06-21 Joseph Myers <joseph@codesourcery.com>
11690
11691 [BZ #7006]
11692 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11693 with a shift of 0 bits.
11694
f3bc5e5a
MR
116952013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11696
11697 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11698 $(tststatic-ENV).
11699
be09e8c9
KK
117002013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11701
11702 [BZ #15655]
11703 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11704
85c2e611
AZ
117052013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11706
11707 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11708 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11709 accepts -fno-tree-loop-distribute-patterns.
11710 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11711 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11712 recursive call.
11713 * string/memset.c (memset): Likewise.
11714 * string/test-memmove.c (simple_memmove): Disable loop transformation
11715 to library calls.
11716 * string/test-memset.c (simple_memset): Likewise.
11717 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11718 * benchtests/bench-memset.c (simple_memset): Likewise.
11719 * configure: Regenerated.
11720
c91e0825
JM
117212013-06-20 Joseph Myers <joseph@codesourcery.com>
11722
b8c792af
JM
11723 * math/test-misc.c (main): Ignore fesetround failure when failures
11724 of subsequent rounding tests would be ignored.
11725
c91e0825
JM
11726 [BZ #15654]
11727 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11728 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11729 * math/fegetenv.c (__fegetenv): Return 0.
11730 * math/fegetexcept.c (fegetexcept): Return 0.
11731 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11732 FE_TONEAREST.
11733 * math/feholdexcpt.c (feholdexcept): Return 0.
11734 * math/fesetenv.c (__fesetenv): Return 0.
11735 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11736 argument FE_TONEAREST.
11737 * math/feupdateenv.c (__feupdateenv): Return 0.
11738 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11739
bfcacbde
RM
117402013-06-18 Roland McGrath <roland@hack.frob.com>
11741
11742 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11743 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11744 ($(objpfx)rtld-%.os rules): Use them.
11745
e55a9b25
AZ
117462013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11747
11748 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11749 fields.
11750
346d65b3
RM
117512013-06-17 Roland McGrath <roland@hack.frob.com>
11752
12086fb4
RM
11753 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11754 length of target pattern, then descending length of dependency pattern.
11755 * configure.in (AWK): Require gawk 3.1.2 or newer.
11756 * manual/install.texi (Tools for Compilation): Say that we do.
11757 * configure: Regenerated.
11758
346d65b3
RM
11759 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11760 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11761 * scripts/sysd-rules.awk: ... this new script.
11762 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11763 than a glob-style pattern.
11764
1a846317
JM
117652013-06-17 Joseph Myers <joseph@codesourcery.com>
11766
11767 * math/test-misc.c (main): Do not treat incorrectly rounded
11768 conversions as failure unless ROUNDING_TESTS passes.
11769
8fc75e6f
JM
117702013-06-15 Joseph Myers <joseph@codesourcery.com>
11771
3711a167
JM
11772 [BZ #15631]
11773 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11774 restore exception state around main square root computation, then
11775 check for inexactness explicitly.
11776
8fc75e6f
JM
11777 * math/libm-test.inc (fma_test_data): Add another test.
11778
61dd6208
SP
117792013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11780
adf23d2c
SP
11781 * manual/threads.texi (Non-POSIX Extensions): New document
11782 node. Document pthread_getattr_default_np and
11783 pthread_setattr_default_np.
11784
61dd6208
SP
11785 * Versions.def (libpthread): Add GLIBC_2.18.
11786 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11788 Likewise.
11789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11790 Likewise.
11791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11792 Likewise.
11793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11794 Likewise.
11795 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11796 Likewise.
11797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11798 Likewise.
11799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11800 Likewise.
11801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11802 Likewise.
11803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11804 Likewise.
11805
d086fc7b
LD
118062013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11807
11808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11809 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11810
747ef469
SP
118112013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11812 H.J. Lu <hjl.tools@gmail.com>
11813
11814 [BZ #15627]
11815 * sysdeps/x86_64/rtld-memset.c: Remove file.
11816 * sysdeps/x86_64/rtld-memset.S: New file.
11817
1b2feed2
JM
118182013-06-14 Joseph Myers <joseph@codesourcery.com>
11819
11820 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11821 (test_in_one_mode): Take arguments for whether the rounding mode
11822 is supported for each floating-point type.
11823 (do_test): Pass new arguments to test_in_one_mode using
11824 ROUNDING_TESTS.
11825
a58ad3f8
RM
118262013-06-13 Roland McGrath <roland@hack.frob.com>
11827
11828 * posix/tst-waitid.c (do_test): Distinguish different instances of
11829 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11830 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11831 before entering the kernel for waitpid.
11832
c204ab28
SP
118332013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11834
11835 * NEWS: Fix note on clock function precision. Text by Roland
11836 McGrath.
11837
f4a29fba
RM
118382013-06-13 Roland McGrath <roland@hack.frob.com>
11839
11840 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11841 it into place only when and if the sanity check passes.
11842
1f24b9ad
JM
118432013-06-13 Joseph Myers <joseph@codesourcery.com>
11844
11845 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11846 output for whether conversion result is exact. Take argument
11847 indicating whether type is IBM long double.
11848 (round_for_all): Change need_exact field to ibm_ld.
11849 * stdlib/tst-strtod-round.c (struct exactness): New type.
11850 (struct test): Change bool ld_ok field to struct exactness exact.
11851 (TEST): Update all definitions for change to field.
11852 (tests): Regenerate array contents.
11853 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11854 field value. Check for IBM long double here.
11855 (do_test): Update calls to test_in_one_mode.
11856
58206c68
SP
118572013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11858
11859 [BZ #12515]
11860 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11861 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11862
2d6f4c5b 118632013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11864
11865 [BZ #15605]
11866 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11867 generated by the compiler on loop optimizations.
11868 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11869 general definitions.
11870
94f2c076
JM
118712013-06-12 Joseph Myers <joseph@codesourcery.com>
11872
11873 * math/bug-nextafter.c: Include <math-tests.h>.
11874 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11875 the relevant type.
11876 * math/bug-nexttoward.c: Include <math-tests.h>.
11877 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11878 the relevant type.
11879 * math/test-misc.c: Include <math-tests.h>.
11880 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11881 the relevant type.
11882
e0e50a0a
AJ
118832013-06-12 Andreas Jaeger <aj@suse.de>
11884
11885 * po/ia.po: Update Interlingua translation from translation
11886 project.
11887
25061094
SP
118882013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11889
11890 * include/fenv.h: Include stdbool.h.
11891 (struct rm_ctx): New structure.
11892 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11893 Define macro.
11894 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11895 (SET_RESTORE_ROUNDF): Likewise.
11896 (SET_RESTORE_ROUNDL): Likewise.
11897 (SET_RESTORE_ROUND_NOEX): Likewise.
11898 (SET_RESTORE_ROUND_NOEXF): Likewise.
11899 (SET_RESTORE_ROUND_NOEXL): Likewise.
11900 (SET_RESTORE_ROUND_53BIT): Likewise.
11901 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11902 (libc_feresetround_noexf_ctx): Likewise.
11903 (libc_feresetround_noexl_ctx): Likewise.
11904 (libc_feholdsetround_53bit_ctx): Likewise.
11905 (libc_feresetround_53bit_ctx): Likewise.
11906 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11907 (libc_feholdexcept_setround_sse_ctx): New function.
11908 (libc_fesetenv_sse_ctx): Likewise.
11909 (libc_feupdateenv_sse_ctx): Likewise.
11910 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11911 (libc_feholdexcept_setround_387_ctx): Likewise.
11912 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11913 (libc_feholdsetround_387_prec_ctx): Likewise.
11914 (libc_feholdsetround_387_ctx): Likewise.
11915 (libc_feholdsetround_387_53bit_ctx): Likewise.
11916 (libc_feholdsetround_sse_ctx): Likewise.
11917 (libc_feresetround_sse_ctx): Likewise.
11918 (libc_feresetround_387_ctx): Likewise.
11919 (libc_feupdateenv_387_ctx): Likewise.
11920 (libc_feholdexcept_setroundf_ctx): Define macro.
11921 (libc_fesetenvf_ctx): Likewise.
11922 (libc_feupdateenvf_ctx): Likewise.
11923 (libc_feholdsetroundf_ctx): Likewise.
11924 (libc_feresetroundf_ctx): Likewise.
11925 (libc_feholdexcept_setround_ctx): Likewise.
11926 (libc_fesetenv_ctx): Likewise.
11927 (libc_feupdateenv_ctx): Likewise.
11928 (libc_feholdsetround_ctx): Likewise.
11929 (libc_feresetround_ctx): Likewise.
11930 (libc_feholdexcept_setroundl_ctx): Likewise.
11931 (libc_feupdateenvl_ctx): Likewise.
11932 (libc_feholdsetroundl_ctx): Likewise.
11933 (libc_feresetroundl_ctx): Likewise.
11934 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11935 (libc_feresetround_53bit_ctx): Likewise.
11936
59b30555
SP
119372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11938
11939 * locale/iso-639.def: Convert to UTF-8.
11940
f1d73d30
JM
119412013-06-11 Joseph Myers <joseph@codesourcery.com>
11942
11943 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11944 (EXCEPTION_TESTS_double): Likewise.
11945 (EXCEPTION_TESTS_long_double): Likewise.
11946 (EXCEPTION_TESTS): Likewise.
11947 * math/libm-test.inc (test_exceptions): Only test exceptions if
11948 EXCEPTION_TESTS (FLOAT).
11949
94aca5e7
SP
119502013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11951
11952 * benchtests/Makefile (string-bench): Add strcpy_chk and
11953 stpcpy_chk.
11954 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11955 * benchtests/bench-stpcpy_chk.c: New file.
11956 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11957 * benchtests/bench-strcpy_chk.c: New file.
11958 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11959 code.
11960 (do_test): Likewise.
11961
fac0c5f2
RA
119622013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11963
11964 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11965 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11966 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11967 with tabs where appropriate.
11968 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11969 dl-procinfo.h.
11970 [PPC_PLATFORM_PPC440]: Likewise.
11971 [PPC_PLATFORM_PPC464]: Likewise.
11972 [PPC_PLATFORM_PPC476]: Likewise.
11973 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11974 ppc464, and ppc476 platform strings merging from ports/
11975 dl-procinfo.h.
11976
f22bc486
AS
119772013-06-11 Andreas Schwab <schwab@suse.de>
11978
11979 [BZ #14991]
11980 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11981 (from_ucs4_idx): Regenerate.
11982 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11983 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11984 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11985 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11986 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11987 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11988 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11989 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11990 from FROM_LOOP and TO_LOOP specific macros.
11991 (BODY): Handle combining characters.
11992 * iconvdata/BIG5HKSCS.irreversible: Update.
11993 * iconvdata/BIG5HKSCS.precomposed: New file.
11994 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11995 characters.
11996 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11997
c1f75dc3
SP
119982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11999
4eacded2
SP
12000 * include/sys/time.h: Fix indentation and add copyright header.
12001
fec799f8
SP
12002 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12003 (do_test): Likewise.
12004 * string/test-memchr.c (do_one_test): Likewise.
12005 (do_test): Likewise.
12006 * string/test-memcmp.c (do_one_test): Likewise.
12007 (do_test): Likewise.
12008 * string/test-memcpy.c (do_one_test): Likewise.
12009 (do_test): Likewise.
12010 * string/test-memmem.c (do_one_test): Likewise.
12011 (do_test): Likewise.
12012 (do_random_tests): Likewise.
12013 * string/test-memmove.c (do_one_test): Likewise.
12014 (do_test): Likewise.
12015 * string/test-memset.c (do_one_test): Likewise.
12016 (do_test): Likewise.
12017 * string/test-rawmemchr.c (do_one_test): Likewise.
12018 (do_test): Likewise.
12019 * string/test-strcasecmp.c (do_one_test): Likewise.
12020 (do_test): Likewise.
12021 * string/test-strcasestr.c (do_one_test): Likewise.
12022 (do_test): Likewise.
12023 * string/test-strcat.c (do_one_test): Likewise.
12024 (do_test): Likewise.
12025 * string/test-strchr.c (do_one_test): Likewise.
12026 (do_test): Likewise.
12027 * string/test-strcmp.c (do_one_test): Likewise.
12028 (do_test): Likewise.
12029 * string/test-strcpy.c (do_one_test): Likewise.
12030 (do_test): Likewise.
12031 * string/test-string.h: Likewise.
12032 (test_init): Likewise.
12033 * string/test-strlen.c (do_one_test): Likewise.
12034 (do_test): Likewise.
12035 * string/test-strncasecmp.c (do_one_test): Likewise.
12036 (do_test): Likewise.
12037 * string/test-strncat.c (do_one_test): Likewise.
12038 (do_test): Likewise.
12039 * string/test-strncmp.c (do_one_test): Likewise.
12040 (do_test_limit): Likewise.
12041 (do_test): Likewise.
12042 * string/test-strncpy.c (do_one_test): Likewise.
12043 (do_test): Likewise.
12044 * string/test-strnlen.c (do_one_test): Likewise.
12045 (do_test): Likewise.
12046 * string/test-strpbrk.c (do_one_test): Likewise.
12047 (do_test): Likewise.
12048 * string/test-strrchr.c (do_one_test): Likewise.
12049 (do_test): Likewise.
12050 * string/test-strspn.c (do_one_test): Likewise.
12051 (do_test): Likewise.
12052 * string/test-strstr.c (do_one_test): Likewise.
12053 (do_test): Likewise.
12054
97020474
SP
12055 * benchtests/Makefile (string-bench): Add string benchmarks.
12056 * benchtests/bench-bcopy-ifunc.c: New file.
12057 * benchtests/bench-bcopy.c: New file.
12058 * benchtests/bench-bzero-ifunc.c: New file.
12059 * benchtests/bench-bzero.c: New file.
12060 * benchtests/bench-memccpy-ifunc.c: New file.
12061 * benchtests/bench-memccpy.c: New file.
12062 * benchtests/bench-memchr-ifunc.c: New file.
12063 * benchtests/bench-memchr.c: New file.
12064 * benchtests/bench-memcmp-ifunc.c: New file.
12065 * benchtests/bench-memcmp.c: New file.
12066 * benchtests/bench-memmem-ifunc.c: New file.
12067 * benchtests/bench-memmem.c: New file.
12068 * benchtests/bench-memmove-ifunc.c: New file.
12069 * benchtests/bench-memmove.c: New file.
12070 * benchtests/bench-mempcpy-ifunc.c: New file.
12071 * benchtests/bench-mempcpy.c: New file.
12072 * benchtests/bench-memset-ifunc.c: New file.
12073 * benchtests/bench-memset.c: New file.
12074 * benchtests/bench-rawmemchr-ifunc.c: New file.
12075 * benchtests/bench-rawmemchr.c: New file.
12076 * benchtests/bench-stpcpy-ifunc.c: New file.
12077 * benchtests/bench-stpcpy.c: New file.
12078 * benchtests/bench-stpncpy-ifunc.c: New file.
12079 * benchtests/bench-stpncpy.c: New file.
12080 * benchtests/bench-strcasecmp-ifunc.c: New file.
12081 * benchtests/bench-strcasecmp.c: New file.
12082 * benchtests/bench-strcasestr-ifunc.c: New file.
12083 * benchtests/bench-strcasestr.c: New file.
12084 * benchtests/bench-strcat-ifunc.c: New file.
12085 * benchtests/bench-strcat.c: New file.
12086 * benchtests/bench-strchr-ifunc.c: New file.
12087 * benchtests/bench-strchr.c: New file.
12088 * benchtests/bench-strchrnul-ifunc.c: New file.
12089 * benchtests/bench-strchrnul.c: New file.
12090 * benchtests/bench-strcmp-ifunc.c: New file.
12091 * benchtests/bench-strcmp.c: New file.
12092 * benchtests/bench-strcpy-ifunc.c: New file.
12093 * benchtests/bench-strcpy.c: New file.
12094 * benchtests/bench-strcspn-ifunc.c: New file.
12095 * benchtests/bench-strcspn.c: New file.
12096 * benchtests/bench-strlen-ifunc.c: New file.
12097 * benchtests/bench-strlen.c: New file.
12098 * benchtests/bench-strncasecmp-ifunc.c: New file.
12099 * benchtests/bench-strncasecmp.c: New file.
12100 * benchtests/bench-strncat-ifunc.c: New file.
12101 * benchtests/bench-strncat.c: New file.
12102 * benchtests/bench-strncmp-ifunc.c: New file.
12103 * benchtests/bench-strncmp.c: New file.
12104 * benchtests/bench-strncpy-ifunc.c: New file.
12105 * benchtests/bench-strncpy.c: New file.
12106 * benchtests/bench-strnlen-ifunc.c: New file.
12107 * benchtests/bench-strnlen.c: New file.
12108 * benchtests/bench-strpbrk-ifunc.c: New file.
12109 * benchtests/bench-strpbrk.c: New file.
12110 * benchtests/bench-strrchr-ifunc.c: New file.
12111 * benchtests/bench-strrchr.c: New file.
12112 * benchtests/bench-strspn-ifunc.c: New file.
12113 * benchtests/bench-strspn.c: New file.
12114 * benchtests/bench-strstr-ifunc.c: New file.
12115 * benchtests/bench-strstr.c: New file.
12116
c1f75dc3
SP
12117 * benchtests/Makefile: Disable parallel execution of targets.
12118 (string-bench): Add memcpy.
12119 (benchset): New variable to store a list of benchmark sets.
12120 (bench-func): Renamed from bench.
12121 (bench-set): New target.
12122 (bench): Depend on bench-func and bench-set.
12123 * benchtests/README: Add section on benchmark sets.
12124 * benchtests/bench-memcpy-ifunc.c: New file.
12125 * benchtests/bench-memcpy.c: New file.
12126 * benchtests/bench-string.h: New file.
12127
50fd745b
AS
121282013-06-11 Andreas Schwab <schwab@suse.de>
12129
12130 [BZ #15577]
12131 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12132 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12133 values in the triple.
12134 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12135 terminator in the group key.
12136
3ee7e9fe
AJ
121372013-06-11 Andreas Jaeger <aj@suse.de>
12138
12139 * po/zh_TW.po: Update Chinese (traditional) translation from
12140 translation project.
12141
89fb6835
SP
121422013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12143
12144 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12145 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12146 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12147 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12148 (clock_getcpuclockid): Likewise.
12149 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12150 Add weak_alias and libc_hidden_def.
12151 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12152 * rt/clock_gettime.c (clock_gettime): Rename to
12153 __clock_gettime. Add weak_alias and libc_hidden_def.
12154 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12155 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12156 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12157 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12158 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12159 Likewise.
12160 * rt/clock_settime.c (clock_settime): Rename to
12161 __clock_settime. Add weak_alias and libc_hidden_def.
12162 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12163
0efa6f8b
JM
121642013-06-10 Joseph Myers <joseph@codesourcery.com>
12165
b8c61b4b
JM
12166 * mach/err_boot.sub: Remove trailing whitespace.
12167 * mach/err_ipc.sub: Likewise.
12168 * mach/err_mach.sub: Likewise.
12169
0efa6f8b
JM
12170 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12171 (ROUNDING_TESTS_double): Likewise.
12172 (ROUNDING_TESTS_long_double): Likewise.
12173 (ROUNDING_TESTS): Likewise.
12174 * math/libm-test.inc: Include <math-tests.h>.
12175 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12176 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12177 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12178 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12179
50b818bf
SP
121802013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12181
12182 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12183 of assigning.
12184
60d2f8f3
JM
121852013-06-08 Joseph Myers <joseph@codesourcery.com>
12186
4902d2c3
JM
12187 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12188 otherwise empty TRANS lines.
12189 * sysdeps/gnu/errlist.c: Regenerated.
12190
60d2f8f3
JM
12191 * catgets/gencat.c (error_print): Use (void) in function
12192 definition.
12193 * crypt/crypt_util.c (__init_des): Likewise.
12194 * crypt/speeds.c (Stop): Likewise.
12195 (main): Likewise.
12196 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12197 * inet/ruserpass.c (token): Likewise.
12198 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12199 * intl/localealias.c (extend_alias_table): Likewise.
12200 * intl/plural-exp.c (init_germanic_plural): Likewise.
12201 * libio/fcloseall.c (__fcloseall): Likewise.
12202 * libio/genops.c (_IO_flush_all): Likewise.
12203 (_IO_flush_all_linebuffered): Likewise.
12204 (_IO_cleanup): Likewise.
12205 (_IO_iter_begin): Likewise.
12206 (_IO_iter_end): Likewise.
12207 (_IO_list_lock): Likewise.
12208 (_IO_list_unlock): Likewise.
12209 (_IO_list_resetlock): Likewise.
12210 * libio/getchar.c (getchar): Likewise.
12211 * libio/getchar_u.c (getchar_unlocked): Likewise.
12212 * libio/getwchar.c (getwchar): Likewise.
12213 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12214 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12215 * login/getpt.c (__getpt): Likewise.
12216 * login/tst-utmp.c (main): Likewise.
12217 * malloc/hooks.c (__malloc_check_init): Likewise.
12218 * malloc/malloc.c (__malloc_stats): Likewise.
12219 * malloc/mtrace.c (tr_break): Likewise.
12220 (mtrace): Likewise.
12221 (muntrace): Likewise.
12222 * misc/fstab.c (endfsent): Likewise.
12223 * misc/getclktck.c (__getclktck): Likewise.
12224 * misc/getdtsz.c (__getdtablesize): Likewise.
12225 * misc/gethostid.c (gethostid): Likewise.
12226 * misc/getpagesize.c (__getpagesize): Likewise.
12227 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12228 (__get_nprocs): Likewise.
12229 (__get_phys_pages): Likewise.
12230 (__get_avphys_pages): Likewise.
12231 * misc/getttyent.c (getttyent): Likewise.
12232 (setttyent): Likewise.
12233 (endttyent): Likewise.
12234 * misc/getusershell.c (getusershell): Likewise.
12235 (endusershell): Likewise.
12236 (setusershell): Likewise.
12237 (initshells): Likewise.
12238 * misc/hsearch.c (__hdestroy): Likewise.
12239 * misc/sync.c (sync): Likewise.
12240 * misc/syslog.c (closelog_internal): Likewise.
12241 (closelog): Likewise.
12242 * misc/ttyslot.c (ttyslot): Likewise.
12243 * misc/vhangup.c (vhangup): Likewise.
12244 * posix/fork.c (__fork): Likewise.
12245 * posix/getegid.c (__getegid): Likewise.
12246 * posix/geteuid.c (__geteuid): Likewise.
12247 * posix/getgid.c (__getgid): Likewise.
12248 * posix/getpid.c (__getpid): Likewise.
12249 * posix/getppid.c (__getppid): Likewise.
12250 * posix/getuid.c (__getuid): Likewise.
12251 * posix/pause.c (pause): Likewise.
12252 * posix/setpgrp.c (setpgrp): Likewise.
12253 * posix/setsid.c (__setsid): Likewise.
12254 * posix/test-vfork.c (noop): Likewise.
12255 * resolv/gethnamaddr.c (_endhtent): Likewise.
12256 (_gethtent): Likewise.
12257 (ht_endhostent): Likewise.
12258 (gethostent): Likewise.
12259 (dns_service): Likewise.
12260 * stdlib/drand48.c (drand48): Likewise.
12261 * stdlib/lrand48.c (lrand48): Likewise.
12262 * stdlib/mrand48.c (mrand48): Likewise.
12263 * stdlib/rand.c (rand): Likewise.
12264 * stdlib/random.c (__random): Likewise.
12265 * stdlib/setenv.c (clearenv): Likewise.
12266 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12267 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12268 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12269 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12270 (__get_nprocs): Likewise.
12271 (__get_phys_pages): Likewise.
12272 (__get_avphys_pages): Likewise.
12273 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12274 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12275 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12276 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12277 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12278 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12279 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12280 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12281 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12282 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12283 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12284 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12285 * sysdeps/posix/clock.c (clock): Likewise.
12286 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12287 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12288 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12289 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12290 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12291 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12292 (__get_nprocs_conf): Likewise.
12293 (__get_phys_pages): Likewise.
12294 (__get_avphys_pages): Likewise.
12295 * time/clock.c (clock): Likewise.
12296 * time/tzset.c (__tzname_max): Likewise.
12297
2e09a79a
JM
122982013-06-07 Joseph Myers <joseph@codesourcery.com>
12299
12300 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12301 (__bswap_32): Do not use "register".
12302 * crypt/crypt.c (_ufc_doit_r): Likewise.
12303 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12304 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12305 * gmon/gmon.c (__monstartup): Likewise.
12306 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12307 * hurd/hurdmalloc.c (more_memory): Likewise.
12308 (malloc): Likewise.
12309 (free): Likewise.
12310 (realloc): Likewise.
12311 (malloc_fork_prepare): Likewise.
12312 (malloc_fork_parent): Likewise.
12313 (malloc_fork_child): Likewise.
12314 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12315 (_svcauth_des): Likewise.
12316 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12317 * inet/inet_net.c (inet_network): Likewise.
12318 * inet/inet_netof.c (inet_netof): Likewise.
12319 * inet/rcmd.c (__validuser2_sa): Likewise.
12320 * io/fts.c (fts_open): Likewise.
12321 (fts_load): Likewise.
12322 (fts_close): Likewise.
12323 (fts_read): Likewise.
12324 (fts_children): Likewise.
12325 (fts_build): Likewise.
12326 (fts_stat): Likewise.
12327 (fts_sort): Likewise.
12328 (fts_alloc): Likewise.
12329 (fts_lfree): Likewise.
12330 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12331 (_IO_file_xsgetn): Likewise.
12332 (_IO_file_xsgetn_mmap): Likewise.
12333 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12334 (_IO_cookie_write): Likewise.
12335 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12336 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12337 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12338 * malloc/obstack.c (_obstack_begin): Likewise.
12339 (_obstack_begin_1): Likewise.
12340 (_obstack_newchunk): Likewise.
12341 (_obstack_allocated_p): Likewise.
12342 (obstack_free): Likewise.
12343 (_obstack_memory_used): Likewise.
12344 * misc/getttyent.c (getttynam): Likewise.
12345 (getttyent): Likewise.
12346 (skip): Likewise.
12347 (value): Likewise.
12348 * misc/getusershell.c (initshells): Likewise.
12349 * misc/syslog.c (__vsyslog_chk): Likewise.
12350 * misc/ttyslot.c (ttyslot): Likewise.
12351 * nis/nis_hash.c (__nis_hash): Likewise.
12352 * posix/fnmatch_loop.c (FCT): Likewise.
12353 * posix/getconf.c (print_all): Likewise.
12354 (main): Likewise.
12355 * posix/getopt.c (exchange): Likewise.
12356 * posix/glob.c (globfree): Likewise.
12357 (prefix_array): Likewise.
12358 (__glob_pattern_type): Likewise.
12359 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12360 (NS_GET32): Likewise.
12361 (NS_PUT16): Likewise.
12362 (NS_PUT32): Likewise.
12363 * resolv/gethnamaddr.c (getanswer): Likewise.
12364 (gethostbyname2): Likewise.
12365 (gethostbyaddr): Likewise.
12366 (_gethtent): Likewise.
12367 (_gethtbyname2): Likewise.
12368 (_gethtbyaddr): Likewise.
12369 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12370 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12371 * resolv/res_init.c (__res_vinit): Likewise.
12372 (net_mask): Likewise.
12373 * resolv/res_mkquery.c (outchar): Likewise.
12374 (PRINT): Likewise.
12375 * stdio-common/printf_fp.c (outchar): Likewise.
12376 (PRINT): Likewise.
12377 * stdio-common/printf_fphex.c (outchar): Likewise.
12378 (PRINT): Likewise.
12379 * stdio-common/printf_size.c (outchar): Likewise.
12380 (PRINT): Likewise.
12381 * stdio-common/test_rdwr.c (main): Likewise.
12382 * stdio-common/tfformat.c (matches): Likewise.
12383 * stdio-common/vfprintf.c (outchar): Likewise.
12384 (printf_unknown): Likewise.
12385 (buffered_vfprintf): Likewise.
12386 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12387 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12388 (ReadFile): Likewise.
12389 * stdlib/qsort.c (SWAP): Likewise.
12390 (_quicksort): Likewise.
12391 * stdlib/setenv.c (__add_to_environ): Likewise.
12392 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12393 * stdlib/strtol_l.c (__strtol_l): Likewise.
12394 * stdlib/tst-strtod.c (main): Likewise.
12395 * stdlib/tst-strtol.c (main): Likewise.
12396 * stdlib/tst-strtoll.c (main): Likewise.
12397 * string/bits/string2.h (__strcmp_cc): Likewise.
12398 (__strcmp_cg): Likewise.
12399 (__strcspn_c1): Likewise.
12400 (__strcspn_c2): Likewise.
12401 (__strcspn_c3): Likewise.
12402 (__strspn_c1): Likewise.
12403 (__strspn_c2): Likewise.
12404 (__strspn_c3): Likewise.
12405 (__strsep_1c): Likewise.
12406 (__strsep_2c): Likewise.
12407 (__strsep_3c): Likewise.
12408 * string/memccpy.c (__memccpy): Likewise.
12409 * string/stpcpy.c (__stpcpy): Likewise.
12410 * string/strcmp.c (strcmp): Likewise.
12411 * string/strrchr.c (strrchr): Likewise.
12412 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12413 Likewise.
12414 * sysdeps/mach/hurd/getcwd.c
12415 (_hurd_canonicalize_directory_name_internal): Likewise.
12416 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12417 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12418 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12419 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12420 Likewise, in both definitions.
12421 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12422 definitions.
12423 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12424 64] (__bswap_64): Likewise.
12425 * time/test_time.c (main): Likewise.
12426 * time/tzfile.c (__tzfile_read): Likewise.
12427 (__tzfile_compute): Likewise.
12428 * time/tzset.c (__tzset_parse_tz): Likewise.
12429 (tzset_internal): Likewise.
12430 (compute_change): Likewise.
12431 * wcsmbs/wcscat.c (__wcscat): Likewise.
12432 * wcsmbs/wcschr.c (wcschr): Likewise.
12433 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12434 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12435 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12436 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12437 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12438 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12439 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12440 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12441 * wcsmbs/wmemset.c (wmemset): Likewise.
12442
9e54314b
JM
124432013-06-06 Joseph Myers <joseph@codesourcery.com>
12444
12445 * scripts/config.guess: Update to version 2013-05-16.
12446 * scripts/config.sub: Update to version 2013-04-24.
12447 * scripts/install-sh: Update to version 2011-11-20.07.
12448 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12449 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12450
350635a5
OB
124512013-06-06 Ondřej Bílka <neleai@seznam.cz>
12452
12453 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12454 * elf/sln.c: Likewise.
12455 * hurd/hurd/ioctl.h: Likewise.
12456 * hurd/hurdmalloc.c: Likewise.
12457 * hurd/xattr.c: Likewise.
12458 * include/shlib-compat.h: Likewise.
12459 * inet/ruserpass.c: Likewise.
12460 * libio/iofgets_u.c: Likewise.
12461 * libio/iofgetws_u.c: Likewise.
12462 * locale/programs/ld-identification.c: Likewise.
12463 * locale/programs/ld-time.c: Likewise.
12464 * mach/msg-destroy.c: Likewise.
12465 * nss/nss_files/files-netgrp.c: Likewise.
12466 * resolv/res_data.c: Likewise.
12467 * soft-fp/op-1.h: Likewise.
12468 * soft-fp/op-2.h: Likewise.
12469 * soft-fp/op-4.h: Likewise.
12470 * soft-fp/op-common.h: Likewise.
12471 * stdio-common/printf_fphex.c: Likewise.
12472 * stdlib/strtod_l.c: Likewise.
12473 * sunrpc/rpc/clnt.h: Likewise.
12474 * sysdeps/generic/framestate.c: Likewise.
12475 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12476 * sysdeps/i386/bsd-setjmp.S: Likewise.
12477 * sysdeps/i386/__longjmp.S: Likewise.
12478 * sysdeps/i386/setjmp.S: Likewise.
12479 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12480 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12481 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12482 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12483 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12484 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12485 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12486 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12487 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12488 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12489 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12490 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12491 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12492 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12493 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12494 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12495 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12496 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12497 * sysdeps/ieee754/support.c: Likewise.
12498 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12499 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12500 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12501 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12502 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12503 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12504 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12505 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12506 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12507 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12508 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12509 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12510 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12511 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12512 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12513 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12514 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12516
44a988af
OB
125172013-06-05 Ondřej Bílka <neleai@seznam.cz>
12518
25506f09 12519 * posix/transbug.c: Remove executable mode.
44a988af 12520
9c84384c
JM
125212013-06-05 Joseph Myers <joseph@codesourcery.com>
12522
12523 * crypt/speeds.c: Remove trailing whitespace.
12524 * dlfcn/default.c: Likewise.
12525 * elf/ifuncdep2.c: Likewise.
12526 * elf/ifuncmain1.c: Likewise.
12527 * elf/ifuncmain1vis.c: Likewise.
12528 * elf/testobj.h: Likewise.
12529 * elf/tst-stackguard1.c: Likewise.
12530 * gmon/sys/gmon.h: Likewise.
12531 * hurd/hurdmsg.c: Likewise.
12532 * hurd/new-fd.c: Likewise.
12533 * hurd/ports-get.c: Likewise.
12534 * iconvdata/ibm1008_420.c: Likewise.
12535 * inet/tst-getni1.c: Likewise.
12536 * inet/tst-getni2.c: Likewise.
12537 * libio/ioungetc.c: Likewise.
12538 * libio/wfiledoalloc.c: Likewise.
12539 * manual/libm-err-tab.pl: Likewise.
12540 * math/w_dremf.c: Likewise.
12541 * misc/ftruncate.c: Likewise.
12542 * posix/bug-glob2.c: Likewise.
12543 * posix/tst-pcre.c: Likewise.
12544 * posix/wait4.c: Likewise.
12545 * resolv/README: Likewise.
12546 * resolv/res_debug.h: Likewise.
12547 * resolv/tst-inet_ntop.c: Likewise.
12548 * setjmp/bug269-setjmp.c: Likewise.
12549 * soft-fp/extended.h: Likewise.
12550 * soft-fp/op-1.h: Likewise.
12551 * soft-fp/op-2.h: Likewise.
12552 * soft-fp/op-4.h: Likewise.
12553 * soft-fp/op-8.h: Likewise.
12554 * soft-fp/testit.c: Likewise.
12555 * stdio-common/bug16.c: Likewise.
12556 * stdlib/random.c: Likewise.
12557 * sunrpc/rpcsvc/rquota.x: Likewise.
12558 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12559 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12560 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12561 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12562 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12563 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12564 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12565 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12566 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12567 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12568 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12569 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12570 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12571 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12572 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12573 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12574 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12575 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12576 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12577 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12578 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12579 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12580 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12581 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12582 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12583 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12584 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12585 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12586 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12587 * sysdeps/ieee754/s_lib_version.c: Likewise.
12588 * sysdeps/mach/hurd/check_fds.c: Likewise.
12589 * sysdeps/mach/hurd/getsockname.c: Likewise.
12590 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12591 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12592 * sysdeps/powerpc/bits/link.h: Likewise.
12593 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12594 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12595 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12596 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12597 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12598 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12599 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12600 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12601 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12602 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12603 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12604 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12605 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12606 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12607 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12608 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12609 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12610 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12611 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12612 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12613 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12614 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12615 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12616 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12617 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12618 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12619 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12620 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12621 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12622 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12623 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12624 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12625 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12626 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12627 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12628 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12629 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12630 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12631 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12632 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12633 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12634 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12635 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12636 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12637 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12638 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12639 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12640 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12641 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12642 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12643 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12644 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12645 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12646 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12647 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12648 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12649 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12650 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12651 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12652 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12653 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12654 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12655 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12656 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12657 * sysdeps/powerpc/sysdep.h: Likewise.
12658 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12659 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12660 * sysdeps/sh/dl-trampoline.S: Likewise.
12661 * sysdeps/sh/memset.S: Likewise.
12662 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12663 * sysdeps/sh/strlen.S: Likewise.
12664 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12665 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12666 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12667 * sysdeps/sparc/sparc32/rem.S: Likewise.
12668 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12669 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12670 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12671 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12672 * sysdeps/sparc/sparc32/urem.S: Likewise.
12673 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12674 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12675 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12676 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12677 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12678 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12679 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12680 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12681 * sysdeps/unix/bsd/times.c: Likewise.
12682 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12683 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12687 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12688 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12689 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12690 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12691 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12692 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12693 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12694 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12695 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12696 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12697 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12698 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12699 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12700 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12701 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12702 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12703 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12704 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12705 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12706 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12707 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12708 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12709 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12710 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12711 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12712 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12713 * sysdeps/x86_64/strcspn.S: Likewise.
12714
869378a5
RA
127152013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12716
12717 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12718 generated file. Regenerate properly from gen-translit.pl.
12719 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12720 locale/C-translit.h.
12721
840e2943
AS
127222013-06-05 Andreas Schwab <schwab@suse.de>
12723
12724 [BZ #15100]
12725 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12726 week as 6 instead of -1.
12727 * time/tst-strptime.c (day_tests): Add test case.
12728
4c60cb0c
SP
127292013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12730
12731 * sysdeps/generic/math_private.h
12732 (libc_feholdexcept_setround_53bit): Replace with
12733 libc_feholdsetround_53bit.
12734 (libc_feupdateenv_53bit): Replace with
12735 libc_feresetround_53bit.
12736 (SET_RESTORE_ROUND_53BIT): Adjust.
12737
d180203e
SP
127382013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12739
96df079a
SP
12740 * string/test-strchrnul.c: Add copyright header.
12741
d180203e
SP
12742 * posix/tst-getaddrinfo4.c: Increase test timeout.
12743
8b0ccb2d
CD
127442013-06-03 Carlos O'Donell <carlos@redhat.com>
12745
12746 [BZ #15536]
12747 * math/libm-test.inc (MAX_EXP): Remove
12748 (MIN_EXP): Define.
12749 (ulp): Use MIN_EXP - MANT_DIG.
12750 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12751
3b3c4d40
CD
127522013-05-31 Carlos O'Donell <carlos@redhat.com>
12753
12754 * po/be.po: Revert last change.
12755 * po/zh_CN.po: Likewise.
12756 * po/header.pot: Likewise.
12757
fab7ce3f
JM
127582013-05-31 Joseph Myers <joseph@codesourcery.com>
12759
12760 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12761 link-libc-deps to empty as target-specific variable.
12762 * Makerules (link-libc-args): New variable.
12763 (libc-for-link): Likewise.
12764 (link-libc-deps): Likewise.
12765 (lib%.so): Depend on $(link-libc-deps). Link with
12766 $(link-libc-args).
12767 (build-module): Link with $(link-libc-args).
12768 (build-module-asneeded): Likewise.
12769 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12770 list of objects.
12771 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12772 target-specific variable.
12773 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12774 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12775 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12776 libc.
12777 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12778 libc and ld.so.
12779 ($(objpfx)libpcprofile.so): Likewise.
12780 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12781 libc_nonshared.a.
12782 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12783 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12784 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12785 $(link-libc-deps).
12786 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12787 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12788 * login/Makefile ($(objpfx)libutil.so): Likewise.
12789 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12790 * math/Makefile ($(objpfx)libm.so): Likewise.
12791 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12792 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12793 variable instead of depending directly on libc.
12794 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12795 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12796 $(link-libc-deps).
12797 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12798 libc.
12799 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12800 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12801 ($(objpfx)libanl.so): Likewise.
12802 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12803 ld.so.
12804 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12805 $(link-libc-deps).
12806 * sysdeps/i386/fpu/Makefile: Remove file.
12807 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12808 ($(objpfx)libm.so): Remove dependency on ld.so.
12809
eca5920c
PF
128102013-05-30 Patsy Franklin <pfrankli@redhat.com>
12811
12812 [BZ # 15553]
12813 * nis/yp_xdr.c (XDRMAXNAME): Define.
12814 (XDRMAXRECORD): Define.
12815 (xdr_domainname): Use XDRMAXNAME.
12816 (xdr_mapname): Likewise.
12817 (xdr_peername): Likewise.
12818 (xdr_keydat): Use XDRMAXRECORD.
12819 (xdr_valdat): Likewise.
12820
128212013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12822
12823 [BZ #14256]
12824 * manual/errno.texi (ESTALE): Update to account for more than
12825 just NFS file systems.
12826 * sysdeps/gnu/errlist.c: Regenerated.
12827
b9375348
SP
128282013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12829
12830 [BZ #15465]
12831 * elf/Makefile (tests): Add tst-null-argv.
12832 (modules-names): Add tst-null-argv-lib.
12833 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12834 (tst-null-argv-ENV): Set environment for tst-null-argv.
12835 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12836 (RTLD_PROGNAME): New macro.
12837 * elf/tst-null-argv.c: New test case.
12838 * elf/tst-null-argv-lib.c: Library for test case.
12839 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12840 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12841 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12842 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12843 * elf/dl-init.c (call_init): Likewise.
12844 (_dl_init): Likewise.
12845 * elf/dl-load.c (print_search_path): Likewise.
12846 (_dl_map_object): Likewise.
12847 * elf/dl-lookup.c (do_lookup_x): Likewise.
12848 (add_dependency): Likewise.
12849 (_dl_lookup_symbol_x): Likewise.
12850 (_dl_debug_bindings): Likewise.
12851 * elf/dl-open.c (_dl_show_scope): Likewise.
12852 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12853 * elf/dl-version.c (match_symbol): Likewise.
12854 (_dl_check_map_versions): Likewise.
12855 * elf/rtld.c (dl_main): Likewise.
12856 (print_unresolved): Use RTLD_PROGNAME.
12857 (print_missing_version): Likewise.
12858 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12859 (elf_machine_rela): Likewise.
12860 * sysdeps/powerpc/powerpc32/dl-machine.c
12861 (__process_machine_rela): Likewise.
12862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12863 Likewise.
12864 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12865 Likewise.
12866 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12867 Likewise.
12868 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12869 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12870 Likewise.
12871 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12872 Likewise.
12873 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12874
8a9f20c8
CD
128752013-05-28 Carlos O'Donell <carlos@redhat.com>
12876
12877 * po/be.po: Add descriptive title.
12878 * po/zh_CN.po: Likewise.
12879 * po/header.pot: Likewise.
12880
0e60d68e
MF
128812013-05-28 Mike Frysinger <vapier@gentoo.org>
12882
12883 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12884 error message.
12885 (enlarge_archive): Likewise.
12886
56b672e9
BN
128872013-05-28 Ben North <ben@redfrontdoor.org>
12888
12889 * manual/arith.texi (frexp): It is the magnitude of the return
12890 value which lies in [0.5, 1), not the return value itself.
12891
5e056687
AZ
128922013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12893
12894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12895
2b66ef5d
TS
128962013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12897
528c2405
TS
12898 * stdio-common/bug26.c (main): Correct fscanf template.
12899
07b4c13d
TS
12900 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12901 declare _dl_skip_args.
12902
ec9dd97c
TS
12903 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12904 Don't declare.
12905
2b66ef5d
TS
12906 * manual/platform.texi: Add missing @end deftypefun.
12907
4f8dfe27
JM
129082013-05-24 Joseph Myers <joseph@codesourcery.com>
12909
0323d086
JM
12910 [BZ #15529]
12911 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12912 bit of mantissa of 2^16382.
12913 * math/libm-test.inc (hypot_test_data): Add more tests.
12914
dd4259b9
JM
12915 * math/libm-test.inc: Add drem and pow10 to list of tested
12916 functions.
12917 (pow10_test): New function.
12918 (drem_test): Likewise.
12919 (drem_test_tonearest): Likewise.
12920 (drem_test_towardzero): Likewise.
12921 (drem_test_downward): Likewise.
12922 (drem_test_upward): Likewise.
12923 (main): Call the new functions.
12924
4f8dfe27
JM
12925 * math/libm-test.inc (finite_test_data): Remove.
12926 (finite_test): Run tests from isfinite_test_data.
12927 (gamma_test_data): Remove.
12928 (gamma_test): Run tests from lgamma_test_data.
12929 * sysdeps/i386/fpu/libm-test-ulps: Update.
12930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12931
d116b7c4
AZ
129322013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12933
12934 * manual/platform.texi: Add PowerPC PPR function set documentation.
12935 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12936 implementation.
12937
e96e3767
CD
129382013-05-24 Carlos O'Donell <carlos@redhat.com>
12939
12940 * math/libm-test.inc (MAX_EXP): Define.
12941 (ULPDIFF): Define.
12942 (ulp): New function.
12943 (check_float_internal): Use ULPDIFF.
12944 (cpow_test): Disable failing test.
12945 (check_ulp): Test ulp() implemetnation.
12946 (main): Call check_ulp before starting tests.
12947
b679a606
JM
129482013-05-24 Joseph Myers <joseph@codesourcery.com>
12949
e8bdba36
JM
12950 * math/gen-libm-test.pl (generate_testfile): Do not handle
12951 START_DATA and END_DATA.
12952 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12953 END_DATA.
12954 (acos_tonearest_test_data): Likewise.
12955 (acos_towardzero_test_data): Likewise.
12956 (acos_downward_test_data): Likewise.
12957 (acos_upward_test_data): Likewise.
12958 (acosh_test_data): Likewise.
12959 (asin_test_data): Likewise.
12960 (asin_tonearest_test_data): Likewise.
12961 (asin_towardzero_test_data): Likewise.
12962 (asin_downward_test_data): Likewise.
12963 (asin_upward_test_data): Likewise.
12964 (asinh_test_data): Likewise.
12965 (atan_test_data): Likewise.
12966 (atanh_test_data): Likewise.
12967 (atan2_test_data): Likewise.
12968 (cabs_test_data): Likewise.
12969 (cacos_test_data): Likewise.
12970 (cacosh_test_data): Likewise.
12971 (carg_test_data): Likewise.
12972 (casin_test_data): Likewise.
12973 (casinh_test_data): Likewise.
12974 (catan_test_data): Likewise.
12975 (catanh_test_data): Likewise.
12976 (cbrt_test_data): Likewise.
12977 (ccos_test_data): Likewise.
12978 (ccosh_test_data): Likewise.
12979 (ceil_test_data): Likewise.
12980 (cexp_test_data): Likewise.
12981 (cimag_test_data): Likewise.
12982 (clog_test_data): Likewise.
12983 (clog10_test_data): Likewise.
12984 (conj_test_data): Likewise.
12985 (copysign_test_data): Likewise.
12986 (cos_test_data): Likewise.
12987 (cos_tonearest_test_data): Likewise.
12988 (cos_towardzero_test_data): Likewise.
12989 (cos_downward_test_data): Likewise.
12990 (cos_upward_test_data): Likewise.
12991 (cosh_test_data): Likewise.
12992 (cosh_tonearest_test_data): Likewise.
12993 (cosh_towardzero_test_data): Likewise.
12994 (cosh_downward_test_data): Likewise.
12995 (cosh_upward_test_data): Likewise.
12996 (cpow_test_data): Likewise.
12997 (cproj_test_data): Likewise.
12998 (creal_test_data): Likewise.
12999 (csin_test_data): Likewise.
13000 (csinh_test_data): Likewise.
13001 (csqrt_test_data): Likewise.
13002 (ctan_test_data): Likewise.
13003 (ctan_tonearest_test_data): Likewise.
13004 (ctan_towardzero_test_data): Likewise.
13005 (ctan_downward_test_data): Likewise.
13006 (ctan_upward_test_data): Likewise.
13007 (ctanh_test_data): Likewise.
13008 (ctanh_tonearest_test_data): Likewise.
13009 (ctanh_towardzero_test_data): Likewise.
13010 (ctanh_downward_test_data): Likewise.
13011 (ctanh_upward_test_data): Likewise.
13012 (erf_test_data): Likewise.
13013 (erfc_test_data): Likewise.
13014 (exp_test_data): Likewise.
13015 (exp_tonearest_test_data): Likewise.
13016 (exp_towardzero_test_data): Likewise.
13017 (exp_downward_test_data): Likewise.
13018 (exp_upward_test_data): Likewise.
13019 (exp10_test_data): Likewise.
13020 (exp2_test_data): Likewise.
13021 (expm1_test_data): Likewise.
13022 (fabs_test_data): Likewise.
13023 (fdim_test_data): Likewise.
13024 (finite_test_data): Likewise.
13025 (floor_test_data): Likewise.
13026 (fma_test_data): Likewise.
13027 (fma_towardzero_test_data): Likewise.
13028 (fma_downward_test_data): Likewise.
13029 (fma_upward_test_data): Likewise.
13030 (fmax_test_data): Likewise.
13031 (fmin_test_data): Likewise.
13032 (fmod_test_data): Likewise.
13033 (fpclassify_test_data): Likewise.
13034 (frexp_test_data): Likewise.
13035 (gamma_test_data): Likewise.
13036 (hypot_test_data): Likewise.
13037 (ilogb_test_data): Likewise.
13038 (isfinite_test_data): Likewise.
13039 (isgreater_test_data): Likewise.
13040 (isgreaterequal_test_data): Likewise.
13041 (isinf_test_data): Likewise.
13042 (isless_test_data): Likewise.
13043 (islessequal_test_data): Likewise.
13044 (islessgreater_test_data): Likewise.
13045 (isnan_test_data): Likewise.
13046 (isnormal_test_data): Likewise.
13047 (issignaling_test_data): Likewise.
13048 (isunordered_test_data): Likewise.
13049 (j0_test_data): Likewise.
13050 (j1_test_data): Likewise.
13051 (jn_test_data): Likewise.
13052 (ldexp_test_data): Likewise.
13053 (lgamma_test_data): Likewise.
13054 (lrint_test_data): Likewise.
13055 (lrint_tonearest_test_data): Likewise.
13056 (lrint_towardzero_test_data): Likewise.
13057 (lrint_downward_test_data): Likewise.
13058 (lrint_upward_test_data): Likewise.
13059 (llrint_test_data): Likewise.
13060 (llrint_tonearest_test_data): Likewise.
13061 (llrint_towardzero_test_data): Likewise.
13062 (llrint_downward_test_data): Likewise.
13063 (llrint_upward_test_data): Likewise.
13064 (log_test_data): Likewise.
13065 (log10_test_data): Likewise.
13066 (log1p_test_data): Likewise.
13067 (log2_test_data): Likewise.
13068 (logb_test_data): Likewise.
13069 (logb_downward_test_data): Likewise.
13070 (lround_test_data): Likewise.
13071 (llround_test_data): Likewise.
13072 (modf_test_data): Likewise.
13073 (nearbyint_test_data): Likewise.
13074 (nextafter_test_data): Likewise.
13075 (nexttoward_test_data): Likewise.
13076 (pow_test_data): Likewise.
13077 (pow_tonearest_test_data): Likewise.
13078 (pow_towardzero_test_data): Likewise.
13079 (pow_downward_test_data): Likewise.
13080 (pow_upward_test_data): Likewise.
13081 (remainder_test_data): Likewise.
13082 (remainder_tonearest_test_data): Likewise.
13083 (remainder_towardzero_test_data): Likewise.
13084 (remainder_downward_test_data): Likewise.
13085 (remainder_upward_test_data): Likewise.
13086 (remquo_test_data): Likewise.
13087 (rint_test_data): Likewise.
13088 (rint_tonearest_test_data): Likewise.
13089 (rint_towardzero_test_data): Likewise.
13090 (rint_downward_test_data): Likewise.
13091 (rint_upward_test_data): Likewise.
13092 (round_test_data): Likewise.
13093 (scalb_test_data): Likewise.
13094 (scalbn_test_data): Likewise.
13095 (scalbln_test_data): Likewise.
13096 (signbit_test_data): Likewise.
13097 (sin_test_data): Likewise.
13098 (sin_tonearest_test_data): Likewise.
13099 (sin_towardzero_test_data): Likewise.
13100 (sin_downward_test_data): Likewise.
13101 (sin_upward_test_data): Likewise.
13102 (sincos_test_data): Likewise.
13103 (sinh_test_data): Likewise.
13104 (sinh_tonearest_test_data): Likewise.
13105 (sinh_towardzero_test_data): Likewise.
13106 (sinh_downward_test_data): Likewise.
13107 (sinh_upward_test_data): Likewise.
13108 (sqrt_test_data): Likewise.
13109 (tan_test_data): Likewise.
13110 (tan_tonearest_test_data): Likewise.
13111 (tan_towardzero_test_data): Likewise.
13112 (tan_downward_test_data): Likewise.
13113 (tan_upward_test_data): Likewise.
13114 (tanh_test_data): Likewise.
13115 (tgamma_test_data): Likewise.
13116 (trunc_test_data): Likewise.
13117 (y0_test_data): Likewise.
13118 (y1_test_data): Likewise.
13119 (yn_test_data): Likewise.
13120 (significand_test_data): Likewise.
13121
b679a606
JM
13122 * math/gen-libm-test.pl (@functions): Remove variable.
13123 (generate_testfile): Don't handle START and END lines.
13124 * math/libm-test.inc (START): New macro.
13125 (END): Likewise.
13126 (END_COMPLEX): Likewise.
13127 (acos_test): Use END macro without arguments.
13128 (acos_test_tonearest): Likewise.
13129 (acos_test_towardzero): Likewise.
13130 (acos_test_downward): Likewise.
13131 (acos_test_upward): Likewise.
13132 (acosh_test): Likewise.
13133 (asin_test): Likewise.
13134 (asin_test_tonearest): Likewise.
13135 (asin_test_towardzero): Likewise.
13136 (asin_test_downward): Likewise.
13137 (asin_test_upward): Likewise.
13138 (asinh_test): Likewise.
13139 (atan_test): Likewise.
13140 (atanh_test): Likewise.
13141 (atan2_test): Likewise.
13142 (cabs_test): Likewise.
13143 (cacos_test): Use END_COMPLEX macro without arguments.
13144 (cacosh_test): Likewise.
13145 (carg_test): Use END macro without arguments.
13146 (casin_test): Use END_COMPLEX macro without arguments.
13147 (casinh_test): Likewise.
13148 (catan_test): Likewise.
13149 (catanh_test): Likewise.
13150 (cbrt_test): Use END macro without arguments.
13151 (ccos_test): Use END_COMPLEX macro without arguments.
13152 (ccosh_test): Likewise.
13153 (ceil_test): Use END macro without arguments.
13154 (cexp_test): Use END_COMPLEX macro without arguments.
13155 (cimag_test): Use END macro without arguments.
13156 (clog_test): Use END_COMPLEX macro without arguments.
13157 (clog10_test): Likewise.
13158 (conj_test): Likewise.
13159 (copysign_test): Use END macro without arguments.
13160 (cos_test): Likewise.
13161 (cos_test_tonearest): Likewise.
13162 (cos_test_towardzero): Likewise.
13163 (cos_test_downward): Likewise.
13164 (cos_test_upward): Likewise.
13165 (cosh_test): Likewise.
13166 (cosh_test_tonearest): Likewise.
13167 (cosh_test_towardzero): Likewise.
13168 (cosh_test_downward): Likewise.
13169 (cosh_test_upward): Likewise.
13170 (cpow_test): Use END_COMPLEX macro without arguments.
13171 (cproj_test): Likewise.
13172 (creal_test): Use END macro without arguments.
13173 (csin_test): Use END_COMPLEX macro without arguments.
13174 (csinh_test): Likewise.
13175 (csqrt_test): Likewise.
13176 (ctan_test): Likewise.
13177 (ctan_test_tonearest): Likewise.
13178 (ctan_test_towardzero): Likewise.
13179 (ctan_test_downward): Likewise.
13180 (ctan_test_upward): Likewise.
13181 (ctanh_test): Likewise.
13182 (ctanh_test_tonearest): Likewise.
13183 (ctanh_test_towardzero): Likewise.
13184 (ctanh_test_downward): Likewise.
13185 (ctanh_test_upward): Likewise.
13186 (erf_test): Use END macro without arguments.
13187 (erfc_test): Likewise.
13188 (exp_test): Likewise.
13189 (exp_test_tonearest): Likewise.
13190 (exp_test_towardzero): Likewise.
13191 (exp_test_downward): Likewise.
13192 (exp_test_upward): Likewise.
13193 (exp10_test): Likewise.
13194 (exp2_test): Likewise.
13195 (expm1_test): Likewise.
13196 (fabs_test): Likewise.
13197 (fdim_test): Likewise.
13198 (finite_test): Likewise.
13199 (floor_test): Likewise.
13200 (fma_test): Likewise.
13201 (fma_test_towardzero): Likewise.
13202 (fma_test_downward): Likewise.
13203 (fma_test_upward): Likewise.
13204 (fmax_test): Likewise.
13205 (fmin_test): Likewise.
13206 (fmod_test): Likewise.
13207 (fpclassify_test): Likewise.
13208 (frexp_test): Likewise.
13209 (gamma_test): Likewise.
13210 (hypot_test): Likewise.
13211 (ilogb_test): Likewise.
13212 (isfinite_test): Likewise.
13213 (isgreater_test): Likewise.
13214 (isgreaterequal_test): Likewise.
13215 (isinf_test): Likewise.
13216 (isless_test): Likewise.
13217 (islessequal_test): Likewise.
13218 (islessgreater_test): Likewise.
13219 (isnan_test): Likewise.
13220 (isnormal_test): Likewise.
13221 (issignaling_test): Likewise.
13222 (isunordered_test): Likewise.
13223 (j0_test): Likewise.
13224 (j1_test): Likewise.
13225 (jn_test): Likewise.
13226 (ldexp_test): Likewise.
13227 (lgamma_test): Likewise.
13228 (lrint_test): Likewise.
13229 (lrint_test_tonearest): Likewise.
13230 (lrint_test_towardzero): Likewise.
13231 (lrint_test_downward): Likewise.
13232 (lrint_test_upward): Likewise.
13233 (llrint_test): Likewise.
13234 (llrint_test_tonearest): Likewise.
13235 (llrint_test_towardzero): Likewise.
13236 (llrint_test_downward): Likewise.
13237 (llrint_test_upward): Likewise.
13238 (log_test): Likewise.
13239 (log10_test): Likewise.
13240 (log1p_test): Likewise.
13241 (log2_test): Likewise.
13242 (logb_test): Likewise.
13243 (logb_test_downward): Likewise.
13244 (lround_test): Likewise.
13245 (llround_test): Likewise.
13246 (modf_test): Likewise.
13247 (nearbyint_test): Likewise.
13248 (nextafter_test): Likewise.
13249 (nexttoward_test): Likewise.
13250 (pow_test): Likewise.
13251 (pow_test_tonearest): Likewise.
13252 (pow_test_towardzero): Likewise.
13253 (pow_test_downward): Likewise.
13254 (pow_test_upward): Likewise.
13255 (remainder_test): Likewise.
13256 (remainder_test_tonearest): Likewise.
13257 (remainder_test_towardzero): Likewise.
13258 (remainder_test_downward): Likewise.
13259 (remainder_test_upward): Likewise.
13260 (remquo_test): Likewise.
13261 (rint_test): Likewise.
13262 (rint_test_tonearest): Likewise.
13263 (rint_test_towardzero): Likewise.
13264 (rint_test_downward): Likewise.
13265 (rint_test_upward): Likewise.
13266 (round_test): Likewise.
13267 (scalb_test): Likewise.
13268 (scalbn_test): Likewise.
13269 (scalbln_test): Likewise.
13270 (signbit_test): Likewise.
13271 (sin_test): Likewise.
13272 (sin_test_tonearest): Likewise.
13273 (sin_test_towardzero): Likewise.
13274 (sin_test_downward): Likewise.
13275 (sin_test_upward): Likewise.
13276 (sincos_test): Likewise.
13277 (sinh_test): Likewise.
13278 (sinh_test_tonearest): Likewise.
13279 (sinh_test_towardzero): Likewise.
13280 (sinh_test_downward): Likewise.
13281 (sinh_test_upward): Likewise.
13282 (sqrt_test): Likewise.
13283 (tan_test): Likewise.
13284 (tan_test_tonearest): Likewise.
13285 (tan_test_towardzero): Likewise.
13286 (tan_test_downward): Likewise.
13287 (tan_test_upward): Likewise.
13288 (tanh_test): Likewise.
13289 (tgamma_test): Likewise.
13290 (trunc_test): Likewise.
13291 (y0_test): Likewise.
13292 (y1_test): Likewise.
13293 (yn_test): Likewise.
13294 (significand_test): Likewise.
13295
bae143d2
OB
132962013-05-24 Ondřej Bílka <neleai@seznam.cz>
13297
13298 [BZ #15381]
13299 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13300
9323d39b
EM
133012013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13302
d4ea44a0 13303 [BZ #14894]
9323d39b
EM
13304 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13305 __ppc_mdoio and __ppc_mdoom.
13306 * manual/platform.texi: Document new functions __ppc_yield,
13307 __ppc_mdoio and __ppc_mdoom.
13308
13e23af7
CD
133092013-05-22 Carlos O'Donell <carlos@redhat.com>
13310
13311 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13312 (main): Mention "tls" pseudo-hwcap is legacy.
13313 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13314
351fe550
JM
133152013-05-22 Joseph Myers <joseph@codesourcery.com>
13316
13317 * math/gen-libm-test.pl (parse_args): Output only string of
13318 arguments as text for test name, not full call or descriptions of
13319 tests for extra outputs.
13320 (generate_testfile): Do not pass function name to parse_args.
13321 Generate this_func variable from START.
13322 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13323 field to arg_str.
13324 (struct test_ff_f_data): Likewise.
13325 (test_ff_f_data_nexttoward): Likewise.
13326 (struct test_fi_f_data): Likewise.
13327 (struct test_fl_f_data): Likewise.
13328 (struct test_if_f_data): Likewise.
13329 (struct test_fff_f_data): Likewise.
13330 (struct test_c_f_data): Likewise.
13331 (struct test_f_f1_data): Likewise. Remove field extra_name.
13332 (struct test_fF_f1_data): Likewise.
13333 (struct test_ffI_f1_data): Likewise.
13334 (struct test_c_c_data): Rename test_name field to arg_str.
13335 (struct test_cc_c_data): Likewise.
13336 (struct test_f_i_data): Likewise.
13337 (struct test_ff_i_data): Likewise.
13338 (struct test_f_l_data): Likewise.
13339 (struct test_f_L_data): Likewise.
13340 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13341 and extra2_name.
13342 (COMMON_TEST_SETUP): New macro.
13343 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13344 (COMMON_TEST_CLEANUP): Likewise.
13345 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13346 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13347 macros.
13348 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13349 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13350 macros.
13351 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13352 (RUN_TEST_fff_f): Take argument string. Call new setup and
13353 cleanup macros.
13354 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13355 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13356 macros.
13357 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13358 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13359 macros.
13360 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13361 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13362 cleanup macros.
13363 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13364 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13365 cleanup macros.
13366 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13367 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13368 cleanup macros.
13369 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13370 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13371 macros.
13372 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13373 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13374 macros.
13375 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13376 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13377 macros.
13378 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13379 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13380 cleanup macros.
13381 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13382 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13383 cleanup macros.
13384 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13385 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13386 macros.
13387 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13388 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13389 cleanup macros.
13390 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13391 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13392 macros.
13393 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13394 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13395 macros.
13396 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13397 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13398 cleanup macros.
13399 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13400
85118d4d
EBM
134012013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13402
13403 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13404 to _sifields.sigfault.
13405 (si_addr_lsb): Define new macro.
13406 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13407 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13408 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13409
7a44c18f
CD
134102013-05-03 Carlos O'Donell <carlos at redhat.com>
13411
13412 [BZ #15441]
13413 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13414 returns -1.
13415 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13416 null return -1.
13417 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13418 loading the domain.
13419
b50a7181
JM
134202013-05-22 Joseph Myers <joseph@codesourcery.com>
13421
13422 * math/gen-libm-test.pl (parse_args): Do not include expected
13423 result in test name.
13424 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13425 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13426 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13427 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13428 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13430
051063c8
SP
134312013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13432
3ce9e010
SP
13433 * benchtests/Makefile: Sort function entries.
13434
051063c8
SP
13435 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13436 tanh, asinh, acosh, atanh.
13437 * benchtests/acos-inputs: New file.
13438 * benchtests/acosh-inputs: New file.
13439 * benchtests/asin-inputs: New file.
13440 * benchtests/asinh-inputs: New file.
13441 * benchtests/atanh-inputs: New file.
13442 * benchtests/cosh-inputs: New file.
13443 * benchtests/log-inputs: New file.
13444 * benchtests/sinh-inputs: New file.
13445 * benchtests/tanh-inputs: New file.
13446
47c22455
DL
134472013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13448
13449 [BZ #15339]
13450 * posix/tst-getaddrinfo4.c: New test.
13451 * posix/Makefile (tests): Add it.
13452
3d04f5db
SP
134532013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13454
13455 [BZ #15339]
13456 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13457 when no services were used.
13458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13459 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13460
d5dd6189
AS
134612013-05-21 Andreas Schwab <schwab@suse.de>
13462
13463 [BZ #15014]
13464 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13465 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13466 successful.
13467 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13468 redundant variable declarations and reallocation of buffer when
13469 parsing as IPv6 address. Always set NSS status when called from
13470 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13471 buffer too small. Correct computation of needed size.
13472 * nss/Makefile (tests): Add test-digits-dots.
13473 * nss/test-digits-dots.c: New test.
13474
fef94eab
SP
134752013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13476
13477 * benchtests/Makefile: Remove instructions for adding
13478 benchmark tests.
13479 * benchtests/README: New file to explain how to execute and
13480 enhance the benchmark tests.
13481
e39adf43
AS
134822013-05-21 Andreas Schwab <schwab@suse.de>
13483
13484 [BZ #15493]
13485 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13486 * setjmp/tst-sigsetjmp.c: New test.
13487
b2b671b6
OB
134882013-05-20 Ondřej Bílka <neleai@seznam.cz>
13489
13490 * sysdeps/x86_64/memset.S (memset): New implementation.
13491 (__bzero): Likewise.
13492 (__memset_tail): New function.
13493
2d48b41c
OB
134942013-05-20 Ondřej Bílka <neleai@seznam.cz>
13495
13496 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13497 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13498 __memcpy_sse2_unaligned ifunc selection.
13499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13500 Add memcpy-sse2-unaligned.S.
13501 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13502 Add: __memcpy_sse2_unaligned.
13503
f16cc3eb
JM
135042013-05-19 Joseph Myers <joseph@codesourcery.com>
13505
3e694268
JM
13506 [BZ #15490]
13507 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13508 math_force_eval before restoring floating-point envrionment.
13509 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13510 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13511 Likewise.
13512 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13513 <math_private.h>.
13514 (__nearbyintl): Use math_force_eval before restoring
13515 floating-point environment.
13516 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13517
db62a907
JM
13518 * math/gen-libm-test.pl (special_functions): Remove.
13519 (parse_args): Don't handle TEST_extra. Handle functions with no
13520 return value.
13521 * math/libm-test.inc (struct test_sincos_data): Replace with
13522 struct test_fFF_11_data.
13523 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13524 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13525 (sincos_test_data): Change element type to struct
13526 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13527 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13528 RUN_TEST_LOOP_sincos.
13529 * math/README.libm-test: Don't mention special handling of
13530 individual functions.
13531 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13532 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13533 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13534 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13535 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13537
f16cc3eb
JM
13538 * math/gen-libm-test.pl (get_variable): Remove function.
13539 (parse_args): Don't show pointer parameters to call in test
13540 names. Use "extra output N" in test names for extra outputs
13541 rather than naming variables.
13542
3779b5b6
JM
135432013-05-18 Joseph Myers <joseph@codesourcery.com>
13544
2ee094ff
JM
13545 [BZ #15488]
13546 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13547 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13548 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13549 double tests.
13550 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13551 disable.
13552 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13553 check_long_double.
13554
3779b5b6
JM
13555 * math/gen-libm-test.pl (@tests): Remove variable.
13556 ($count): Likewise.
13557 (new_test): Remove function.
13558 (show_exceptions): New function.
13559 (special_functions): Use show_exceptions instead of new_test.
13560 (parse_args): Likewise.
13561 (generate_testfile): Pass only function name in generated call to
13562 print_max_error or print_complex_max_error.
13563 (get_ulps): Do not handle complex tests specially.
13564 (output_test): Rename to ...
13565 (get_all_ulps_for_test): ... this. Return a string rather than
13566 printing to a file. Require ulps to be present.
13567 (output_ulps): Generate arrays rather than #defines.
13568 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13569 (struct ulp_data): New type.
13570 (BUILD_COMPLEX_ULP): Remove macro.
13571 (compare_ulp_data): New function.
13572 (find_ulps): Likewise.
13573 (find_test_ulps): Likewise.
13574 (find_function_ulps): Likewise.
13575 (find_complex_function_ulps): Likewise.
13576 (print_max_error): Determine allowed ulps using
13577 find_function_ulps.
13578 (print_complex_max_error): Determine allowed ulps using
13579 find_complex_function_ulps.
13580 (check_float_internal): Determine max ulps using find_test_ulps.
13581 (check_float): Do not take max_ulp parameter. Update call to
13582 check_float_internal.
13583 (check_complex): Likewise.
13584 (check_int): Do not take max_ulp parameter.
13585 (check_long): Likewise.
13586 (check_bool): Likewise.
13587 (check_longlong): Likewise.
13588 (struct test_f_f_data): Remove max_ulp field.
13589 (struct test_ff_f_data): Likewise.
13590 (struct test_ff_f_data_nexttoward): Likewise.
13591 (struct test_fi_f_data): Likewise.
13592 (struct test_fl_f_data): Likewise.
13593 (struct test_if_f_data): Likewise.
13594 (struct test_fff_f_data): Likewise.
13595 (struct test_c_f_data): Likewise.
13596 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13597 (struct test_fF_f1_data): Likewise.
13598 (struct test_ffI_f1_data): Likewise.
13599 (struct test_c_c_data): Remove max_ulp field.
13600 (struct test_cc_c_data): Likewise.
13601 (struct test_f_i_data): Likewise.
13602 (struct test_ff_i_data): Likewise.
13603 (struct test_f_l_data): Likewise.
13604 (struct test_f_L_data): Likewise.
13605 (struct test_sincos_data): Likewise.
13606 (RUN_TEST_f_f): Do not handle ulps.
13607 (RUN_TEST_LOOP_f_f): Likewise.
13608 (RUN_TEST_2_f): Likewise.
13609 (RUN_TEST_LOOP_2_f): Likewise.
13610 (RUN_TEST_fff_f): Likewise.
13611 (RUN_TEST_LOOP_fff_f): Likewise.
13612 (RUN_TEST_c_f): Likewise.
13613 (RUN_TEST_LOOP_c_f): Likewise.
13614 (RUN_TEST_f_f1): Likewise.
13615 (RUN_TEST_LOOP_f_f1): Likewise.
13616 (RUN_TEST_fF_f1): Likewise.
13617 (RUN_TEST_LOOP_fF_f1): Likewise.
13618 (RUN_TEST_fI_f1): Likewise.
13619 (RUN_TEST_LOOP_fI_f1): Likewise.
13620 (RUN_TEST_ffI_f1): Likewise.
13621 (RUN_TEST_LOOP_ffI_f1): Likewise.
13622 (RUN_TEST_c_c): Likewise.
13623 (RUN_TEST_LOOP_c_c): Likewise.
13624 (RUN_TEST_cc_c): Likewise.
13625 (RUN_TEST_LOOP_cc_c): Likewise.
13626 (RUN_TEST_f_i): Likewise.
13627 (RUN_TEST_LOOP_f_i): Likewise.
13628 (RUN_TEST_f_i_tg): Likewise.
13629 (RUN_TEST_LOOP_f_i_tg): Likewise.
13630 (RUN_TEST_ff_i_tg): Likewise.
13631 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13632 (RUN_TEST_f_b): Likewise.
13633 (RUN_TEST_LOOP_f_b): Likewise.
13634 (RUN_TEST_f_b_tg): Likewise.
13635 (RUN_TEST_LOOP_f_b_tg): Likewise.
13636 (RUN_TEST_f_l): Likewise.
13637 (RUN_TEST_LOOP_f_l): Likewise.
13638 (RUN_TEST_f_L): Likewise.
13639 (RUN_TEST_LOOP_f_L): Likewise.
13640 (RUN_TEST_sincos): Likewise.
13641 (RUN_TEST_LOOP_sincos): Likewise.
13642
8269107f
JM
136432013-05-17 Joseph Myers <joseph@codesourcery.com>
13644
bb38759d
JM
13645 [BZ #15480]
13646 [BZ #15485]
13647 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13648 main case of finite arguments, set rounding mode to FE_TONEAREST
13649 and discard exceptions.
13650 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13651 exceptions.
13652 (remainder_tonearest_test_data): New variable.
13653 (remainder_test_tonearest): New function.
13654 (remainder_towardzero_test_data): New variable.
13655 (remainder_test_towardzero): New function.
13656 (remainder_downward_test_data): New variable.
13657 (remainder_test_downward): New function.
13658 (remainder_upward_test_data): New variable.
13659 (remainder_test_upward): New function.
13660 (main): Call the new test functions.
13661
a00bdcf0
JM
13662 * math/libm-test.inc (struct test_f_f1_data): Remove field
13663 extra_init.
13664 (struct test_fF_f1_data): Likewise.
13665 (struct test_ffI_f1_data): Likewise.
13666 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13667 based on value of EXTRA_EXPECTED.
13668 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13669 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13670 EXTRA_VAR based on value of EXTRA_EXPECTED.
13671 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13672 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13673 EXTRA_VAR based on value of EXTRA_EXPECTED.
13674 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13675 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13676 EXTRA_VAR based on value of EXTRA_EXPECTED.
13677 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13678 * math/gen-libm-test.pl (parse_args): Don't output initializers
13679 for extra output values.
13680
de407f79
JM
13681 * math/libm-test.inc (check_int): Expect result to be exactly
13682 equal to expected value and do not handle ulps.
13683 (check_long): Likewise.
13684 (check_longlong): Likewise.
13685
8269107f
JM
13686 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13687 exceptions.
13688 (cimag_test_data): Likewise.
13689 (conj_test_data): Likewise.
13690 (copysign_test_data): Likewise.
13691 (cproj_test_data): Likewise.
13692 (creal_test_data): Likewise.
13693 (fabs_test_data): Likewise.
13694 (fdim_test_data): Likewise.
13695 (finite_test_data): Likewise.
13696 (floor_test_data): Likewise.
13697 (fmax_test_data): Likewise.
13698 (fmin_test_data): Likewise.
13699 (fmod_test_data): Likewise.
13700 (fpclassify_test_data): Likewise.
13701 (frexp_test_data): Likewise.
13702 (ilogb_test_data): Likewise.
13703 (isfinite_test_data): Likewise.
13704 (isgreater_test_data): Likewise.
13705 (isgreaterequal_test_data): Likewise.
13706 (isinf_test_data): Likewise.
13707 (isless_test_data): Likewise.
13708 (islessequal_test_data): Likewise.
13709 (islessgreater_test_data): Likewise.
13710 (isnan_test_data): Likewise.
13711 (isnormal_test_data): Likewise.
13712 (issignaling_test_data): Likewise.
13713 (isunordered_test_data): Likewise.
13714 (ldexp_test_data): Likewise.
13715 (lrint_test_data): Likewise.
13716 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13717 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13718 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13719 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13720 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13721 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13722 test input.
13723 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13724 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13725 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13726 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13727 that test input.
13728 (lrint_downward_test_data): Test for "inexact" exceptions.
13729 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13730 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13731 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13732 test input.
13733 (lrint_upward_test_data): Test for "inexact" exceptions.
13734 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13735 test input.
13736 (llrint_test_data): Test for "inexact" exceptions.
13737 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13738 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13739 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13740 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13741 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13742 (llrint_downward_test_data): Test for "inexact" exceptions.
13743 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13744 (llrint_upward_test_data): Test for "inexact" exceptions.
13745 (logb_test_data): Likewise.
13746 (logb_downward_test_data): Likewise.
13747 (nextafter_test_data): Likewise.
13748 (nexttoward_test_data): Likewise.
13749 (remainder_test_data): Likewise.
13750 (remquo_test_data): Likewise.
13751 (scalbn_test_data): Likewise.
13752 (scalbln_test_data): Likewise.
13753 (signbit_test_data): Likewise.
13754 (sqrt_test_data): Likewise.
13755 (significand_test_data): Likewise.
13756
48a18de1
SP
137572013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13758
13759 [BZ #15424]
13760 * benchtests/bench-modf.c (struct args): Mark arg0 as
13761 volatile.
13762 * scripts/bench.pl: Mark members of struct args as volatile.
13763
13d3b41a
AZ
137642013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13765
68191c1d 13766 [BZ # 15497]
13d3b41a
AZ
13767 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13768 negative infinity on POWER6 or lower.
13769 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13770
2848b105
MR
137712013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13772
13773 [BZ #15442]
13774 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13775 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13776 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13777 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13778 (_FP_SETQNAN): New macro.
13779 (_FP_SETQNAN_SEMIRAW): Likewise.
13780 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13781 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13782 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13783 (FP_EXTEND): Use _FP_FRAC_SNANP.
13784 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13785 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13786 into account.
13787 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13788 New macro.
13789 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13790 Likewise.
13791
323e5cb7
JM
137922013-05-16 Joseph Myers <joseph@codesourcery.com>
13793
c58b274f
JM
13794 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13795 with DIVIDE_BY_ZERO_EXCEPTION.
13796 (gamma_test_data): Likewise.
13797 (lgamma_test_data): Likewise.
13798 (log_test_data): Likewise.
13799 (log10_test_data): Likewise.
13800 (log2_test_data): Likewise.
13801 (tgamma_test_data): Likewise.
13802
0ab34904
JM
13803 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13804 (acos_test_tonearest): Likewise.
13805 (acos_test_towardzero): Likewise.
13806 (acos_test_downward): Likewise.
13807 (acos_test_upward): Likewise.
13808 (acosh_test): Likewise.
13809 (asin_test): Likewise.
13810 (asin_test_tonearest): Likewise.
13811 (asin_test_towardzero): Likewise.
13812 (asin_test_downward): Likewise.
13813 (asin_test_upward): Likewise.
13814 (asinh_test): Likewise.
13815 (atan_test): Likewise.
13816 (atanh_test): Likewise.
13817 (atan2_test): Likewise.
13818 (cabs_test): Likewise.
13819 (cacos_test): Likewise.
13820 (cacosh_test): Likewise.
13821 (casin_test): Likewise.
13822 (casinh_test): Likewise.
13823 (catan_test): Likewise.
13824 (catanh_test): Likewise.
13825 (cbrt_test): Likewise.
13826 (ccos_test): Likewise.
13827 (ccosh_test): Likewise.
13828 (cexp_test): Likewise.
13829 (clog_test): Likewise.
13830 (clog10_test): Likewise.
13831 (cos_test): Likewise.
13832 (cos_test_tonearest): Likewise.
13833 (cos_test_towardzero): Likewise.
13834 (cos_test_downward): Likewise.
13835 (cos_test_upward): Likewise.
13836 (cosh_test): Likewise.
13837 (cosh_test_tonearest): Likewise.
13838 (cosh_test_towardzero): Likewise.
13839 (cosh_test_downward): Likewise.
13840 (cosh_test_upward): Likewise.
13841 (cpow_test): Likewise.
13842 (csin_test): Likewise.
13843 (csinh_test): Likewise.
13844 (csqrt_test): Likewise.
13845 (ctan_test): Likewise.
13846 (ctan_test_tonearest): Likewise.
13847 (ctan_test_towardzero): Likewise.
13848 (ctan_test_downward): Likewise.
13849 (ctan_test_upward): Likewise.
13850 (ctanh_test): Likewise.
13851 (ctanh_test_tonearest): Likewise.
13852 (ctanh_test_towardzero): Likewise.
13853 (ctanh_test_downward): Likewise.
13854 (ctanh_test_upward): Likewise.
13855 (erf_test): Likewise.
13856 (erfc_test): Likewise.
13857 (exp_test): Likewise.
13858 (exp_test_tonearest): Likewise.
13859 (exp_test_towardzero): Likewise.
13860 (exp_test_downward): Likewise.
13861 (exp_test_upward): Likewise.
13862 (exp10_test): Likewise.
13863 (exp2_test): Likewise.
13864 (expm1_test): Likewise.
13865 (fmod_test): Likewise.
13866 (gamma_test): Likewise.
13867 (hypot_test): Likewise.
13868 (j0_test): Likewise.
13869 (j1_test): Likewise.
13870 (jn_test): Likewise.
13871 (lgamma_test): Likewise.
13872 (log_test): Likewise.
13873 (log10_test): Likewise.
13874 (log1p_test): Likewise.
13875 (log2_test): Likewise.
13876 (logb_test_downward): Likewise.
13877 (pow_test): Likewise.
13878 (pow_test_tonearest): Likewise.
13879 (pow_test_towardzero): Likewise.
13880 (pow_test_downward): Likewise.
13881 (pow_test_upward): Likewise.
13882 (remainder_test): Likewise.
13883 (remquo_test): Likewise.
13884 (sin_test): Likewise.
13885 (sin_test_tonearest): Likewise.
13886 (sin_test_towardzero): Likewise.
13887 (sin_test_downward): Likewise.
13888 (sin_test_upward): Likewise.
13889 (sincos_test): Likewise.
13890 (sinh_test): Likewise.
13891 (sinh_test_tonearest): Likewise.
13892 (sinh_test_towardzero): Likewise.
13893 (sinh_test_downward): Likewise.
13894 (sinh_test_upward): Likewise.
13895 (sqrt_test): Likewise.
13896 (tan_test): Likewise.
13897 (tan_test_tonearest): Likewise.
13898 (tan_test_towardzero): Likewise.
13899 (tan_test_downward): Likewise.
13900 (tan_test_upward): Likewise.
13901 (tanh_test): Likewise.
13902 (tgamma_test): Likewise.
13903 (y0_test): Likewise.
13904 (y1_test): Likewise.
13905 (yn_test): Likewise.
13906
323e5cb7
JM
13907 * math/gen-libm-test.pl (adjust_arg): Remove function.
13908 (special_function): Remove argument $in_func. Only handle
13909 generating output for tables of tests, not inside functions.
13910 (parse_args): Likewise.
13911 (generate_testfile): Remove variable $in_func. Update call to
13912 parse_args.
13913 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13914 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13915 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13916 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13917 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13918 (MAX_VALUE_INIT): Rename macro to max_value.
13919 (MIN_VALUE_INIT): Rename macro to min_value.
13920 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13921 (plus_zero): Remove variable.
13922 (minus_zero): Likewise.
13923 (plus_infty): Likewise.
13924 (minus_infty): Likewise.
13925 (qnan_value): Likewise.
13926 (max_value): Likewise.
13927 (min_value): Likewise.
13928 (min_subnorm_value): Likewise.
13929
e054f494
RA
139302013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13931
13932 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13933 uint64_t or uint32_t usage.
13934 * crypt/sha256-block.c: Likewise.
13935 * crypt/sha256-crypt.c: Likewise.
13936 * crypt/sha256.c: Likewise.
13937 * crypt/sha512-block.c: Likewise.
13938 * crypt/sha512-crypt.c: Likewise.
13939 * crypt/sha512.c: Likewise.
13940 * debug/backtrace-tst.c: Likewise.
13941 * debug/pcprofiledump.c: Likewise.
13942 * elf/cache.c: Likewise.
13943 * elf/dl-cache.c: Likewise.
13944 * elf/dl-misc.c: Likewise.
13945 * elf/dl-profile.c: Likewise.
13946 * elf/dl-support.c: Likewise.
13947 * elf/ldconfig.c: Likewise.
13948 * elf/sprof.c: Likewise.
13949 * iconv/dummy-repertoire.c: Likewise.
13950 * iconv/iconv_charmap.c: Likewise.
13951 * iconv/skeleton.c: Likewise.
13952 * iconvdata/8bit-generic.c: Likewise.
13953 * iconvdata/cp737.h: Likewise.
13954 * iconvdata/cp775.h: Likewise.
13955 * iconvdata/ibm1008.h: Likewise.
13956 * iconvdata/ibm1025.h: Likewise.
13957 * iconvdata/ibm1046.h: Likewise.
13958 * iconvdata/ibm1097.h: Likewise.
13959 * iconvdata/ibm1112.h: Likewise.
13960 * iconvdata/ibm1122.h: Likewise.
13961 * iconvdata/ibm1123.h: Likewise.
13962 * iconvdata/ibm1124.h: Likewise.
13963 * iconvdata/ibm1129.h: Likewise.
13964 * iconvdata/ibm1130.h: Likewise.
13965 * iconvdata/ibm1132.h: Likewise.
13966 * iconvdata/ibm1133.h: Likewise.
13967 * iconvdata/ibm1137.h: Likewise.
13968 * iconvdata/ibm1140.h: Likewise.
13969 * iconvdata/ibm1141.h: Likewise.
13970 * iconvdata/ibm1142.h: Likewise.
13971 * iconvdata/ibm1143.h: Likewise.
13972 * iconvdata/ibm1144.h: Likewise.
13973 * iconvdata/ibm1145.h: Likewise.
13974 * iconvdata/ibm1146.h: Likewise.
13975 * iconvdata/ibm1147.h: Likewise.
13976 * iconvdata/ibm1148.h: Likewise.
13977 * iconvdata/ibm1149.h: Likewise.
13978 * iconvdata/ibm1153.h: Likewise.
13979 * iconvdata/ibm1154.h: Likewise.
13980 * iconvdata/ibm1155.h: Likewise.
13981 * iconvdata/ibm1156.h: Likewise.
13982 * iconvdata/ibm1157.h: Likewise.
13983 * iconvdata/ibm1158.h: Likewise.
13984 * iconvdata/ibm1160.h: Likewise.
13985 * iconvdata/ibm1161.h: Likewise.
13986 * iconvdata/ibm1162.h: Likewise.
13987 * iconvdata/ibm1163.h: Likewise.
13988 * iconvdata/ibm1164.h: Likewise.
13989 * iconvdata/ibm1166.h: Likewise.
13990 * iconvdata/ibm1167.h: Likewise.
13991 * iconvdata/ibm12712.h: Likewise.
13992 * iconvdata/ibm1390.h: Likewise.
13993 * iconvdata/ibm1399.h: Likewise.
13994 * iconvdata/ibm16804.h: Likewise.
13995 * iconvdata/ibm4517.h: Likewise.
13996 * iconvdata/ibm4899.h: Likewise.
13997 * iconvdata/ibm4909.h: Likewise.
13998 * iconvdata/ibm4971.h: Likewise.
13999 * iconvdata/ibm5347.h: Likewise.
14000 * iconvdata/ibm803.h: Likewise.
14001 * iconvdata/ibm856.h: Likewise.
14002 * iconvdata/ibm901.h: Likewise.
14003 * iconvdata/ibm902.h: Likewise.
14004 * iconvdata/ibm9030.h: Likewise.
14005 * iconvdata/ibm9066.h: Likewise.
14006 * iconvdata/ibm921.h: Likewise.
14007 * iconvdata/ibm922.h: Likewise.
14008 * iconvdata/ibm9448.h: Likewise.
14009 * iconvdata/isiri-3342.h: Likewise.
14010 * iconvdata/jis0201.h: Likewise.
14011 * include/link.h: Likewise.
14012 * include/netdb.h: Likewise.
14013 * inet/check_native.c: Likewise.
14014 * inet/check_pf.c: Likewise.
14015 * inet/getipv4sourcefilter.c: Likewise.
14016 * inet/getnameinfo.c: Likewise.
14017 * inet/getsourcefilter.c: Likewise.
14018 * inet/htonl.c: Likewise.
14019 * inet/setipv4sourcefilter.c: Likewise.
14020 * inet/setsourcefilter.c: Likewise.
14021 * inet/test-inet6_opt.c: Likewise.
14022 * inet/tst-network.c: Likewise.
14023 * locale/C-collate.c: Likewise.
14024 * locale/C-ctype.c: Likewise.
14025 * locale/C-time.c: Likewise.
14026 * locale/C-translit.h: Likewise.
14027 * locale/loadarchive.c: Likewise.
14028 * locale/programs/3level.h: Likewise.
14029 * locale/programs/charmap.c: Likewise.
14030 * locale/programs/charmap.h: Likewise.
14031 * locale/programs/ld-address.c: Likewise.
14032 * locale/programs/ld-collate.c: Likewise.
14033 * locale/programs/ld-ctype.c: Likewise.
14034 * locale/programs/ld-identification.c: Likewise.
14035 * locale/programs/ld-measurement.c: Likewise.
14036 * locale/programs/ld-messages.c: Likewise.
14037 * locale/programs/ld-monetary.c: Likewise.
14038 * locale/programs/ld-name.c: Likewise.
14039 * locale/programs/ld-numeric.c: Likewise.
14040 * locale/programs/ld-paper.c: Likewise.
14041 * locale/programs/ld-telephone.c: Likewise.
14042 * locale/programs/ld-time.c: Likewise.
14043 * locale/programs/linereader.c: Likewise.
14044 * locale/programs/locale.c: Likewise.
14045 * locale/programs/locarchive.c: Likewise.
14046 * locale/programs/locfile.h: Likewise.
14047 * locale/programs/repertoire.c: Likewise.
14048 * locale/programs/simple-hash.c: Likewise.
14049 * locale/programs/simple-hash.h: Likewise.
14050 * malloc/memusage.c: Likewise.
14051 * malloc/memusagestat.c: Likewise.
14052 * nis/nis_defaults.c: Likewise.
14053 * nis/nis_hash.c: Likewise.
14054 * nis/nis_print.c: Likewise.
14055 * nis/nis_xdr.c: Likewise.
14056 * nscd/connections.c: Likewise.
14057 * nscd/hstcache.c: Likewise.
14058 * nscd/nscd_gethst_r.c: Likewise.
14059 * nscd/nscd_getserv_r.c: Likewise.
14060 * nscd/nscd_helper.c: Likewise.
14061 * nscd/servicescache.c: Likewise.
14062 * nss/makedb.c: Likewise.
14063 * nss/nss_db/db-XXX.c: Likewise.
14064 * nss/nss_db/db-initgroups.c: Likewise.
14065 * nss/nss_db/db-netgrp.c: Likewise.
14066 * nss/nss_files/files-network.c: Likewise.
14067 * nss/nss_files/files-parse.c: Likewise.
14068 * posix/bug-regex5.c: Likewise.
14069 * posix/fnmatch_loop.c: Likewise.
14070 * posix/regcomp.c: Likewise.
14071 * posix/regexec.c: Likewise.
14072 * posix/tst-rfc3484-2.c: Likewise.
14073 * posix/tst-rfc3484-3.c: Likewise.
14074 * posix/tst-rfc3484.c: Likewise.
14075 * resolv/nss_dns/dns-canon.c: Likewise.
14076 * resolv/nss_dns/dns-network.c: Likewise.
14077 * resolv/res_init.c: Likewise.
14078 * resolv/res_mkquery.c: Likewise.
14079 * resolv/tst-aton.c: Likewise.
14080 * stdlib/cxa_atexit.c: Likewise.
14081 * stdlib/cxa_finalize.c: Likewise.
14082 * stdlib/gen-fpioconst.c: Likewise.
14083 * stdlib/strtol_l.c: Likewise.
14084 * string/tst-endian.c: Likewise.
14085 * sunrpc/auth_des.c: Likewise.
14086 * sunrpc/clnt_udp.c: Likewise.
14087 * sunrpc/rtime.c: Likewise.
14088 * sunrpc/svcauth_des.c: Likewise.
14089 * sunrpc/xdr.c: Likewise.
14090 * sunrpc/xdr_intXX_t.c: Likewise.
14091 * sunrpc/xdr_rec.c: Likewise.
14092 * sysdeps/generic/ldconfig.h: Likewise.
14093 * sysdeps/generic/ldsodefs.h: Likewise.
14094 * sysdeps/generic/memusage.h: Likewise.
14095 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14097 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14098 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14099 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14100 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14101 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14102 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14103 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14104 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14105 * sysdeps/posix/getaddrinfo.c: Likewise.
14106 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14107 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14108 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14109 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14110 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14111 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14112 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14113 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14114 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14115 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14116 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14117 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14118 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14119 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14120 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14121 * sysdeps/x86_64/dl-tls.h: Likewise.
14122 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14123 * time/alt_digit.c: Likewise.
14124 * time/era.c: Likewise.
14125 * wcsmbs/tst-c16c32-1.c: Likewise.
14126
8c75f674
JM
141272013-05-16 Joseph Myers <joseph@codesourcery.com>
14128
14129 * math/libm-test.inc (struct test_sincos_data): New type.
14130 (RUN_TEST_LOOP_sincos): New macro.
14131 (sincos_test_data): New variable.
14132 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14133
e6e49e59
RH
141342013-05-16 Richard Henderson <rth@redhat.com>
14135
14136 * math/atest-exp2.c (LIMB64): New macro.
14137 (CONSTSZ): New macro.
14138 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14139 (hexdig): Move ...
14140 (print_mpn_fp): ... to function scope.
14141 (read_mpn_hex): Remove.
14142 (get_log2): Remove.
14143 (exp2_mpn): Use mp_log2.
14144 (main): Use mp_exp1.
14145
15c7c18d
JM
141462013-05-16 Joseph Myers <joseph@codesourcery.com>
14147
105a07df
JM
14148 * math/libm-test.inc: Remove comment about not testing "inexact"
14149 exceptions.
14150 (INEXACT_EXCEPTION): New macro.
14151 (NO_INEXACT_EXCEPTION): Likewise.
14152 (INVALID_EXCEPTION_OK): Update value.
14153 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14154 (OVERFLOW_EXCEPTION_OK): Likewise.
14155 (UNDERFLOW_EXCEPTION_OK): Likewise.
14156 (IGNORE_ZERO_INF_SIGN): Likewise.
14157 (ERRNO_UNCHANGED): Likewise.
14158 (ERRNO_EDOM): Likewise.
14159 (ERRNO_ERANGE): Likewise.
14160 (test_exceptions): Handle testing "inexact" exceptions.
14161 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14162 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14163 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14164 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14165 INEXACT_EXCEPTION.
14166 (rint_towardzero_test_data): Likewise.
14167 (rint_downward_test_data): Likewise.
14168 (rint_upward_test_data): Likewise.
14169
e9eee333
JM
14170 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14171 with OVERFLOW_EXCEPTION.
14172 (exp10_test_data): Likewise.
14173 (exp2_test_data): Likewise.
14174 (expm1_test_data): Likewise.
14175 (lgamma_test_data): Likewise.
14176 (pow_test_data): Likewise.
14177 (tgamma_test_data): Likewise.
14178 (yn_test_data): Remove duplicate test of overflow.
14179
1c38ff73
JM
14180 * math/libm-test.inc (struct test_cc_c_data): New type.
14181 (RUN_TEST_LOOP_cc_c): New macro.
14182 (cpow_test_data): New variable.
14183 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14184
15c7c18d
JM
14185 * math/libm-test.inc (struct test_f_L_data): New type.
14186 (RUN_TEST_LOOP_f_L): New macro.
14187 (llrint_test_data): New variable.
14188 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14189 (llrint_tonearest_test_data): New variable.
14190 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14191 (llrint_towardzero_test_data): New variable.
14192 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14193 (llrint_downward_test_data): New variable.
14194 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14195 (llrint_upward_test_data): New variable.
14196 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14197 (llround_test_data): New variable.
14198 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14199
f137ff13
PC
142002013-05-13 Peter Collingbourne <pcc@google.com>
14201
14202 * math/atest-exp2.c (get_log2): Remove const attribute.
14203
3608cb24
JM
142042013-05-15 Joseph Myers <joseph@codesourcery.com>
14205
14206 * math/libm-test.inc (struct test_f_l_data): New type.
14207 (RUN_TEST_LOOP_f_l): New macro.
14208 (lrint_test_data): New variable.
14209 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14210 (lrint_tonearest_test_data): New variable.
14211 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14212 (lrint_towardzero_test_data): New variable.
14213 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14214 (lrint_downward_test_data): New variable.
14215 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14216 (lrint_upward_test_data): New variable.
14217 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14218 (lround_test_data): New variable.
14219 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14220
39b1f617
PC
142212013-05-15 Peter Collingbourne <pcc@google.com>
14222
1deff3dc
PC
14223 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14224 (EXTRACT_WORDS64) Use where appropriate.
14225 (INSERT_WORDS64) Likewise.
14226
791f3ba0
PC
14227 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14228 constraints with x constraints.
14229 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14230
39b1f617
PC
14231 * malloc/obstack.c (_obstack_compat): Add initializer.
14232
12fba011
EM
142332013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14234
14235 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14236 si_trapno and add si_addr_lsb to _sifields.sigfault.
14237 (si_trapno): Remove macro.
14238 (si_addr_lsb): Define new macro.
14239 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14240
d369f531
JM
142412013-05-15 Joseph Myers <joseph@codesourcery.com>
14242
b861c6c4
JM
14243 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14244 instead of TEST_f_l.
14245 (llrint_test_tonearest): Likewise.
14246 (llrint_test_towardzero): Likewise.
14247 (llrint_test_downward): Likewise.
14248 (llrint_test_upward): Likewise.
14249 (llround_test): Likewise.
14250
7abeee12
JM
14251 * math/libm-test.inc (struct test_f_i_data): Add comment.
14252 (RUN_TEST_LOOP_f_b): New macro.
14253 (RUN_TEST_LOOP_f_b_tg): Likewise.
14254 (finite_test_data): New variable.
14255 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14256 (isfinite_test_data): New variable.
14257 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14258 (isinf_test_data): New variable.
14259 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14260 (isnan_test_data): New variable.
14261 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14262 (isnormal_test_data): New variable.
14263 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14264 (issignaling_test_data): New variable.
14265 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14266 (signbit_test_data): New variable.
14267 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14268
cbe8c4d3
JM
14269 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14270 with INVALID_EXCEPTION.
14271 (acosh_test_data): Likewise.
14272 (asin_test_data): Likewise.
14273 (atanh_test_data): Likewise.
14274 (fmod_test_data): Likewise.
14275 (log_test_data): Likewise.
14276 (log10_test_data): Likewise.
14277 (log2_test_data): Likewise.
14278 (pow_test_data): Likewise.
14279 (sqrt_test_data): Likewise.
14280 (y0_test_data): Likewise.
14281 (y1_test_data): Likewise.
14282 (yn_test_data): Likewise.
14283
5575c0e5
JM
14284 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14285 function contents.
14286
d369f531
JM
14287 * math/libm-test.inc (struct test_ff_i_data): New type.
14288 (RUN_TEST_LOOP_ff_i_tg): New macro.
14289 (isgreater_test_data): New variable.
14290 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14291 (isgreaterequal_test_data): New variable.
14292 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14293 (isless_test_data): New variable.
14294 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14295 (islessequal_test_data): New variable.
14296 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14297 (islessgreater_test_data): New variable.
14298 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14299 (isunordered_test_data): New variable.
14300 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14301
781fd748
DM
143022013-05-14 David S. Miller <davem@davemloft.net>
14303
14304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14305
87aa21df
JM
143062013-05-14 Joseph Myers <joseph@codesourcery.com>
14307
5e908270
JM
14308 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14309
f71172e5
JM
14310 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14311 extra_test to int.
14312 (struct test_f_i_data): Change type of max_ulp to int.
14313
8cfa635a
JM
14314 * math/libm-test.inc (test_ffI_f1_data): New type.
14315 (RUN_TEST_LOOP_ffI_f1): New macro.
14316 (remquo_test_data): New variable.
14317 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14318
2bcb36b2
JM
14319 * setjmp/tst-setjmp-fp.c: New file.
14320 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14321 (link-libm): New variable.
14322 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14323
acbd839a
JM
14324 * math/libm-test.inc (struct test_f_i_data): New type.
14325 (RUN_TEST_LOOP_f_i): New macro.
14326 (RUN_TEST_LOOP_f_i_tg): Likewise.
14327 (fpclassify_test_data): New variable.
14328 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14329 (ilogb_test_data): New variable.
14330 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14331
e414d745
JM
14332 * math/libm-test.inc (scalbln_test): Correct function name in END
14333 call.
14334
d9c2a0fd
JM
14335 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14336 (RUN_TEST_LOOP_fI_f1): New macro.
14337 (frexp_test_data): New variable.
14338 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14339
9dc9095d
JM
14340 * math/libm-test.inc (struct test_fF_f1_data): New type.
14341 (RUN_TEST_LOOP_fF_f1): New macro.
14342 (modf_test_data): New variable.
14343 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14344
87aa21df
JM
14345 * math/libm-test.inc (struct test_f_f1_data): New type.
14346 (RUN_TEST_LOOP_f_f1): New macro.
14347 (gamma_test_data): New variable.
14348 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14349 (lgamma_test_data): New variable.
14350 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14351
141af660
CD
143522013-05-13 Carlos O'Donell <carlos@redhat.com>
14353
14354 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14355 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14356 (main): Comment "tls" pseudo-hwcap.
14357
6d33265c
JM
143582013-05-13 Joseph Myers <joseph@codesourcery.com>
14359
68fc074c
JM
14360 * math/libm-test.inc (struct test_fl_f_data): New type.
14361 (RUN_TEST_LOOP_fl_f): New variable.
14362 (scalbln_test_data): New variable.
14363 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14364
243216e1
JM
14365 * math/libm-test.inc (struct test_fi_f_data): New type.
14366 (RUN_TEST_LOOP_fi_f): New macro.
14367 (ldexp_test_data): New variable.
14368 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14369 (scalbn_test_data): New variable.
14370 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14371
6a1992e2
JM
14372 * math/libm-test.inc (struct test_c_f_data): New type.
14373 (RUN_TEST_LOOP_c_f): New macro.
14374 (cabs_test_data): New variable.
14375 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14376 (carg_test_data): New variable.
14377 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14378 (cimag_test_data): New variable.
14379 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14380 (creal_test_data): New variable.
14381 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14382
0e400df5
JM
14383 * math/libm-test.inc (struct test_if_f_data): New type.
14384 (RUN_TEST_LOOP_if_f): New macro.
14385 (jn_test_data): New variable.
14386 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14387 (yn_test_data): New variable.
14388 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14389
6d33265c
JM
14390 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14391
f98ece5f
AZ
143922013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14393
14394 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14395 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14396
0f7d347b
SP
143972013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14398
43fe811b
SP
14399 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14400 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14401 (bench-deps): Add bench-timing.h.
14402 * benchtests-bench-skeleton.c: Include bench-timing.h.
14403 (main): Use TIMING_* macros instead of clock_gettime.
14404 * benchtests/bench-timing.h: New file.
14405
0f7d347b
SP
14406 [BZ #14582]
14407 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14408 Renamed from _LIB_VERSION.
14409 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14410
601a3a5f
JM
144112013-05-12 Joseph Myers <joseph@codesourcery.com>
14412
4f184d30
JM
14413 * math/libm-test.inc (struct test_fff_f_data): New type.
14414 (RUN_TEST_LOOP_fff_f): New macro.
14415 (fma_test_data): New variable.
14416 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14417 (fma_towardzero_test_data): New variable.
14418 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14419 (fma_downward_test_data): New variable.
14420 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14421 (fma_upward_test_data): New variable.
14422 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14423
08198877
JM
14424 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14425 (struct test_c_c_data): New type.
14426 (RUN_TEST_LOOP_c_c): New macro.
14427 (cacos_test_data): New variable.
14428 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14429 (cacosh_test_data): New variable.
14430 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14431 (casin_test_data): New variable.
14432 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14433 (casinh_test_data): New variable.
14434 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14435 (catan_test_data): New variable.
14436 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14437 (catanh_test_data): New variable.
14438 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14439 (ccos_test_data): New variable.
14440 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14441 (ccosh_test_data): New variable.
14442 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14443 (cexp_test_data): New variable.
14444 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14445 (clog_test_data): New variable.
14446 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14447 (clog10_test_data): New variable.
14448 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14449 (conj_test_data): New variable.
14450 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14451 (cproj_test_data): New variable.
14452 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14453 (csin_test_data): New variable.
14454 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14455 (csinh_test_data): New variable.
14456 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14457 (csqrt_test_data): New variable.
14458 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14459 (ctan_test_data): New variable.
14460 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14461 (ctan_tonearest_test_data): New variable.
14462 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14463 (ctan_towardzero_test_data): New variable.
14464 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14465 (ctan_downward_test_data): New variable.
14466 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14467 (ctan_upward_test_data): New variable.
14468 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14469 (ctanh_test_data): New variable.
14470 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14471 (ctanh_tonearest_test_data): New variable.
14472 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14473 (ctanh_towardzero_test_data): New variable.
14474 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14475 (ctanh_downward_test_data): New variable.
14476 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14477 (ctanh_upward_test_data): New variable.
14478 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14479 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14480 of BUILD_COMPLEX.
14481
601a3a5f
JM
14482 * math/libm-test.inc (struct test_ff_f_data): New type.
14483 (struct test_ff_f_data_nexttoward): Likewise.
14484 (RUN_TEST_LOOP_2_f): New macro.
14485 (RUN_TEST_LOOP_ff_f): Likewise.
14486 (atan2_test_data): New variable.
14487 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14488 (copysign_test_data): New variable.
14489 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14490 (fdim_test_data): New variable.
14491 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14492 (fmax_test_data): New variable.
14493 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14494 (fmin_test_data): New variable.
14495 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14496 (fmod_test_data): New variable.
14497 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14498 (hypot_test_data): New variable.
14499 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14500 (nextafter_test_data): New variable.
14501 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14502 (nexttoward_test_data): New variable.
14503 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14504 (pow_test_data): New variable.
14505 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14506 (pow_tonearest_test_data): New variable.
14507 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14508 (pow_towardzero_test_data): New variable.
14509 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14510 (pow_downward_test_data): New variable.
14511 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14512 (pow_upward_test_data): New variable.
14513 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14514 (remainder_test_data): New variable.
14515 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14516 (scalb_test_data): New variable.
14517 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14518 * sysdeps/i386/fpu/libm-test-ulps: Update.
14519
74c57478
JM
145202013-05-11 Joseph Myers <joseph@codesourcery.com>
14521
8329e4da
JM
14522 * math/libm-test.inc (fma_test): Use max_value instead of local
14523 variable fltmax.
14524 (nextafter_test): Likewise.
14525
74c57478
JM
14526 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14527 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14528 (acos_downward_test_data): New variable.
14529 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14530 (acos_upward_test_data): New variable.
14531 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14532 (acosh_test_data): New variable.
14533 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14534 (asin_test_data): New variable.
14535 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14536 (asin_tonearest_test_data): New variable.
14537 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14538 (asin_towardzero_test_data): New variable.
14539 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14540 (asin_downward_test_data): New variable.
14541 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14542 (asin_upward_test_data): New variable.
14543 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14544 (asinh_test_data): New variable.
14545 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14546 (atan_test_data): New variable.
14547 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14548 (atanh_test_data): New variable.
14549 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14550 (cbrt_test_data): New variable.
14551 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14552 (ceil_test_data): New variable.
14553 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14554 (cos_test_data): New variable.
14555 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14556 (cos_tonearest_test_data): New variable.
14557 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14558 (cos_towardzero_test_data): New variable.
14559 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14560 (cos_downward_test_data): New variable.
14561 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14562 (cos_upward_test_data): New variable.
14563 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14564 (cosh_test_data): New variable.
14565 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14566 (cosh_tonearest_test_data): New variable.
14567 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14568 (cosh_towardzero_test_data): New variable.
14569 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14570 (cosh_downward_test_data): New variable.
14571 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14572 (cosh_upward_test_data): New variable.
14573 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14574 (erf_test_data): New variable.
14575 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14576 (erfc_test_data): New variable.
14577 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14578 (exp_test_data): New variable.
14579 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14580 (exp_tonearest_test_data): New variable.
14581 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14582 (exp_towardzero_test_data): New variable.
14583 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14584 (exp_downward_test_data): New variable.
14585 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14586 (exp_upward_test_data): New variable.
14587 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14588 (exp10_test_data): New variable.
14589 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14590 (exp2_test_data): New variable.
14591 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14592 (expm1_test_data): New variable.
14593 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14594 (fabs_test_data): New variable.
14595 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14596 (floor_test_data): New variable.
14597 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14598 (j0_test_data): New variable.
14599 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14600 (j1_test_data): New variable.
14601 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14602 (log_test_data): New variable.
14603 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14604 (log10_test_data): New variable.
14605 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14606 (log1p_test_data): New variable.
14607 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14608 (log2_test_data): New variable.
14609 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14610 (logb_test_data): New variable.
14611 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14612 (logb_downward_test_data): New variable.
14613 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14614 (nearbyint_test_data): New variable.
14615 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14616 (rint_test_data): New variable.
14617 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14618 (rint_tonearest_test_data): New variable.
14619 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14620 (rint_towardzero_test_data): New variable.
14621 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14622 (rint_downward_test_data): New variable.
14623 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14624 (rint_upward_test_data): New variable.
14625 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14626 (round_test_data): New variable.
14627 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14628 (sin_test_data): New variable.
14629 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14630 (sin_tonearest_test_data): New variable.
14631 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14632 (sin_towardzero_test_data): New variable.
14633 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14634 (sin_downward_test_data): New variable.
14635 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14636 (sin_upward_test_data): New variable.
14637 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14638 (sinh_test_data): New variable.
14639 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14640 (sinh_tonearest_test_data): New variable.
14641 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14642 (sinh_towardzero_test_data): New variable.
14643 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14644 (sinh_downward_test_data): New variable.
14645 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14646 (sinh_upward_test_data): New variable.
14647 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14648 (sqrt_test_data): New variable.
14649 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14650 (tan_test_data): New variable.
14651 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14652 (tan_tonearest_test_data): New variable.
14653 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14654 (tan_towardzero_test_data): New variable.
14655 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14656 (tan_downward_test_data): New variable.
14657 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14658 (tan_upward_test_data): New variable.
14659 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14660 (tanh_test_data): New variable.
14661 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14662 (tgamma_test_data): New variable.
14663 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14664 (trunc_test_data): New variable.
14665 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14666 (y0_test_data): New variable.
14667 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14668 (y1_test_data): New variable.
14669 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14670 (significand_test_data): New variable.
14671 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14672
7187d844
CG
146732013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14674
14675 [BZ #12387]
14676 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14677
f63fae73
PT
146782013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14679
14680 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14681
8a67a4b3
AJ
146822013-05-10 Andreas Jaeger <aj@suse.de>
14683
14684 [BZ #15448]
14685 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14686 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14687
51df539d
JM
146882013-05-10 Joseph Myers <joseph@codesourcery.com>
14689
14690 * math/gen-libm-test.pl (adjust_arg): New function.
14691 (special_functions): Handle generating output in both functions
14692 and arrays.
14693 (parse_args): Likewise.
14694 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14695 $in_func argument to parse_args.
14696 * math/libm-test.inc (struct test_f_f_data): New type.
14697 (IF_ROUND_INIT_): New macro.
14698 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14699 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14700 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14701 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14702 (ROUND_RESTORE_): Likewise.
14703 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14704 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14705 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14706 (ROUND_RESTORE_FE_UPWARD): Likewise.
14707 (RUN_TEST_LOOP_f_f): New macro.
14708 (acos_test_data): New variable.
14709 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14710 (acos_tonearest_test_data): New variable.
14711 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14712
5c637fe5
SP
147132013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14714
14715 * benchtests/bench-skeleton.c (startup): Fix coding style.
14716
ab2b9461
JM
147172013-05-10 Joseph Myers <joseph@codesourcery.com>
14718
14719 [BZ #6809]
14720 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14721 negative infinity argument.
14722 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14723 negative infinity argument.
14724 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14725 negative infinity argument.
14726 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14727 domain errors.
14728
4c0fe6fe
FW
147292013-05-10 Florian Weimer <fweimer@redhat.com>
14730
14731 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14732 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14733 * iconv/iconv_prog.c (main): Likewise.
14734 * locale/programs/charmap-dir.c (charmap_readdir)
14735 (fopen_uncompressed): Likewise.
14736 * locale/programs/locfile.c (siblings_uncached)
14737 (write_locale_data): Use lstat64 instead of lstat.
14738 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14739 stat.
14740
a3375d29
AJ
147412013-05-10 Andreas Jaeger <aj@suse.de>
14742
14743 [BZ #15395]
14744 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14745 localization.
14746 Include <locale.h>.
14747
36129722
CD
147482013-05-09 Carlos O'Donell <carlos@redhat.com>
14749
14750 * elf/dl-close.c (_dl_close_worker): Add comments.
14751
faa7f811
JM
147522013-05-09 Joseph Myers <joseph@codesourcery.com>
14753
ed41ffef
JM
14754 [BZ #15359]
14755 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14756 high part of pi/2.
14757 (__ieee754_rem_pio2l): Update comments.
14758
d0213cd0
JM
14759 [BZ #15429]
14760 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14761 high part of pi/2.
14762 (__ieee754_rem_pio2l): Update comments.
14763
0d3e777a
JM
14764 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14765 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14766
24f56066
JM
14767 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14768 M_PI_4l.
14769
faa7f811
JM
14770 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14771 (M_PI_34_LOG10El): Likewise.
14772 (M_PI2_LOG10El): Likewise.
14773 (M_PI4_LOG10El): Likewise.
14774 (M_PI_LOG10El): Likewise.
14775
e9a5e0fd
AZ
147762013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14777
14778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14779
d8cd06db
JM
147802013-05-08 Joseph Myers <joseph@codesourcery.com>
14781
a0d9f9d7
JM
14782 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14783 (MINUS_ZERO_INIT): Likewise.
14784 (PLUS_INFTY_INIT): Likewise.
14785 (MINUS_INFTY_INIT): Likewise.
14786 (QNAN_VALUE_INIT): Likewise.
14787 (MAX_VALUE_INIT): Likewise.
14788 (MIN_VALUE_INIT): Likewise.
14789 (MIN_SUBNORM_VALUE_INIT): Likewise.
14790 (plus_zero): Initialize with PLUS_ZERO_INIT.
14791 (minus_zero): Initialize with MINUS_ZERO_INIT.
14792 (plus_infty): Initialize with PLUS_INFTY_INIT.
14793 (minus_infty): Initialize with MINUS_INFTY_INIT.
14794 (qnan_value): Initialize with QNAN_VALUE_INIT.
14795 (max_value): Initialize with MAX_VALUE_INIT.
14796 (min_value): Initialize with MIN_VALUE_INIT.
14797 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14798
ae08db3b
JM
14799 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14800 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14801 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14802 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14803
f44bf14a
JM
14804 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14805 (RUN_TEST_2_f): Likewise.
14806 (RUN_TEST_ff_f): Likewise.
14807 (RUN_TEST_fi_f): Likewise.
14808 (RUN_TEST_fl_f): Likewise.
14809 (RUN_TEST_fff_f): Likewise.
14810 (RUN_TEST_c_f): Likewise.
14811 (RUN_TEST_f_f1): Likewise.
14812 (RUN_TEST_fF_f1): Likewise.
14813 (RUN_TEST_fI_f1): Likewise.
14814 (RUN_TEST_ffI_f1): Likewise.
14815 (RUN_TEST_c_c): Likewise.
14816 (RUN_TEST_cc_c): Likewise.
14817 (RUN_TEST_f_i): Likewise.
14818 (RUN_TEST_f_i_tg): Likewise.
14819 (RUN_TEST_ff_i_tg): Likewise.
14820 (RUN_TEST_f_b): Likewise.
14821 (RUN_TEST_f_b_tg): Likewise.
14822 (RUN_TEST_f_l): Likewise.
14823 (RUN_TEST_f_L): Likewise.
14824 (RUN_TEST_sincos): Likewise.
14825 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14826 whether to show exceptions. Do not include ");\n" in return
14827 value.
14828 (special_functions): Output call to RUN_TEST_sincos instead of
14829 check_float calls. Update calls to new_test.
14830 (parse_args): Output call to single RUN_TEST_* macro instead of
14831 check_* calls and other assignments. Update calls to new_test.
14832
d8cd06db
JM
14833 [BZ #2546]
14834 [BZ #2560]
14835 [BZ #5159]
14836 [BZ #15426]
14837 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14838 input to result for tgamma overflow.
14839 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14840 (gamma_coeff): New variable.
14841 (NCOEFF): New macro.
14842 (gamma_positive): New function.
14843 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14844 underflow here. Use gamma_positive instead of exp (lgamma) for
14845 other arguments.
14846 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14847 (gamma_coeff): New variable.
14848 (NCOEFF): New macro.
14849 (gammaf_positive): New function.
14850 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14851 underflow here. Use gamma_positive instead of exp (lgamma) for
14852 other arguments.
14853 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14854 (gamma_coeff): New variable.
14855 (NCOEFF): New macro.
14856 (gammal_positive): New function.
14857 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14858 underflow here. Use gamma_positive instead of exp (lgamma) for
14859 other arguments.
14860 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14861 (gamma_coeff): New variable.
14862 (NCOEFF): New macro.
14863 (gammal_positive): New function.
14864 (__ieee754_gammal_r): Handle positive infinity, overflow and
14865 underflow here. Handle NaN the same as positive infinity. Remove
14866 check x < 0xffffffff for negative integers. Use gamma_positive
14867 instead of exp (lgamma) for other arguments.
14868 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14869 (gamma_coeff): New variable.
14870 (NCOEFF): New macro.
14871 (gammal_positive): New function.
14872 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14873 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14874 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14876 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14877 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14878 * sysdeps/generic/math_private.h (__gamma_productf): New
14879 prototype.
14880 (__gamma_product): Likewise.
14881 (__gamma_productl): Likewise.
14882 * math/Makefile (libm-calls): Add gamma_product.
14883 * math/libm-test.inc (tgamma_test): Add more tests.
14884 * sysdeps/i386/fpu/libm-test-ulps: Update.
14885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14886
bb7cf681
OB
148872013-05-08 Ondřej Bílka <neleai@seznam.cz>
14888
14889 * benchtests/bench-skeleton.c (main): Preheat CPU.
14890
ba853947
AJ
148912013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14892
14893 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14894
8347c74c
RM
148952013-05-07 Roland McGrath <roland@hack.frob.com>
14896
14897 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14898 and _dl_skip_args_internal.
14899
e8dd4791
CD
149002013-05-07 Carlos O'Donell <carlos@redhat.com>
14901
14902 * manual/message.texi (Message Translation): Talk about users.
14903 Message to key mapping impacts design.
14904
c7405830
RM
149052013-05-06 Roland McGrath <roland@hack.frob.com>
14906
a9173057
RM
14907 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14908
976e2f03
RM
14909 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14910
9723ffc5
RM
14911 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14912 * sysdeps/wordsize-64/glob64.c: ... here.
14913
962e6658
RM
14914 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14915 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14916 New macros.
14917
ee586a6d
RM
14918 * debug/getlogin_r_chk.c: Moved to ...
14919 * login/getlogin_r_chk.c: ... here.
14920 * debug/Makefile (routines): Move getlogin_r_chk to ...
14921 * login/Makefile (routines): ... here.
14922 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14923 * login/Versions (libc: GLIBC_2.4): ... here.
14924
355f9165
RM
14925 * io/poll.c (__poll): Renamed from poll.
14926 Add libc_hidden_def.
14927 (poll): Define as weak alias.
14928
bd9ffde6
RM
14929 * debug/ptsname_r_chk.c: Moved to ...
14930 * login/ptsname_r_chk.c: ... here.
14931 * debug/Makefile (routines): Move ptsname_r_chk to ...
14932 * login/Makefile (routines): ... here.
14933 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14934 * login/Versions (libc: GLIBC_2.4): ... here.
14935
8fb16a04
RM
14936 * posix/getlogin.c: Moved to ...
14937 * login/getlogin.c: ... here.
14938 * posix/getlogin_r.c: Moved to ...
14939 * login/getlogin_r.c: ... here.
14940 * posix/getlogin_r.c: Moved to ...
14941 * login/getlogin_r.c: ... here.
14942 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14943 * login/Makefile (routines): ... here.
14944 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14945 * login/Versions (libc: GLIBC_2.0): ... here.
14946
b99b892f
RM
14947 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14948 (setrlimit): Define as weak alias.
14949
c7405830
RM
14950 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14951 Call __ names for open, ftruncate, and close.
14952 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14953 (truncate): Define as weak alias.
14954
5bf96de5
JM
149552013-05-06 Joseph Myers <joseph@codesourcery.com>
14956
9ea3513c
JM
14957 * math/gen-libm-test.pl (parse_args): Initialize x before each
14958 test of frexp, modf and remquo.
14959
5bf96de5
JM
14960 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14961 test signgam value.
14962
16e616a7
AZ
149632013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14964
14965 [BZ #15418]
14966 [BZ #15419]
14967 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14968 internal tests.
14969 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14970
d5e82754
RM
149712013-05-06 Roland McGrath <roland@hack.frob.com>
14972
14973 * elf/dl-writev.h: New file.
14974 * elf/dl-misc.c: Include it.
14975 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14976 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14977
a7548d41
JM
149782013-05-04 Joseph Myers <joseph@codesourcery.com>
14979
b7dab1e4
JM
14980 * math/libm-test.inc (noXFails): Remove variable.
14981 (noXPasses): Likewise.
14982 (BUILD_COMPLEX_INT): Remove macro.
14983 (print_screen): Remove xfail argument.
14984 (print_screen_max_error): Likewise.
14985 (update_stats): Likewise.
14986 (print_max_error): Likewise. Update calls to other affected
14987 functions.
14988 (print_complex_max_error): Likewise.
14989 (test_single_exception): Update calls to print_screen.
14990 (test_single_errno): Likewise.
14991 (check_float_internal): Remove xfail argument. Update calls to
14992 other affected functions.
14993 (check_float): Likewise.
14994 (check_complex): Likewise.
14995 (check_int): Likewise.
14996 (check_long): Likewise.
14997 (check_bool): Likewise.
14998 (check_longlong): Likewise.
14999 (main): Don't print noXFails and noXPasses.
15000 * math/gen-libm-test.pl (top level): Don't mention expected
15001 failure handling in comment.
15002 (new_test): Don't handle expected failures.
15003 (parse_args): Don't mention expected failure handling in comment.
15004 (generate_testfile): Don't handle expected failures.
15005 (parse_ulps): Likewise.
15006 (print_ulps_file): Likewise.
15007 (get_failure): Remove function.
15008 (output_test): Don't handle expected failures.
15009 * make/README.libm-test: Don't mention expected failure handling.
15010
a7548d41
JM
15011 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15012 (minus_zero): Likewise.
15013 (plus_infty): Likewise.
15014 (minus_infty): Likewise.
15015 (qnan_value): Likewise.
15016 (max_value): Likewise.
15017 (min_value): Likewise.
15018 (min_subnorm_value): Likewise.
15019 (initialize): Do not initialize those variables dynamically.
15020
60bfd54c
RM
150212013-05-03 Roland McGrath <roland@hack.frob.com>
15022
cc0e6ed8
RM
15023 * io/open.c (__open_2): Moved to ...
15024 * io/open_2.c: ... this new file.
15025 * io/open64.c (__open64_2): Moved to ...
15026 * io/open64_2.c: ... this new file.
15027 * io/openat.c (__openat_2): Moved to ...
15028 * io/openat_2.c: ... this new file.
15029 * io/openat64.c (__openat64_2): Moved to ...
15030 * io/openat64_2.c: ... this new file.
15031 * io/Makefile (routines): Add them.
15032 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15033 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15034 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15035 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15036 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15037 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15038 (__openat64): Add hidden_ver.
15039 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15040 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15041
60bfd54c
RM
15042 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15043 Separately conditionalize setting of GLRO(dl_sysinfo) so
15044 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15045 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15046
83e7640f
AZ
150472013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15048
15049 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15050 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15051 definition.
15052 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15053 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15054 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15055 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15056 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15057
d5dc2af3
JM
150582013-05-03 Joseph Myers <joseph@codesourcery.com>
15059
c31a5b1e
JM
15060 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15061 test signgam value.
15062
d5dc2af3
JM
15063 * math/libm-test.inc (hypot_test): Do not use
15064 IGNORE_ZERO_INF_SIGN.
15065
164fd39d
AJ
150662013-05-03 Andreas Jaeger <aj@suse.de>
15067
15068 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15069 Linux 3.9.
15070 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15071 (PF_MAX): Adjust for VSOCK change.
15072
8237f48c
AZ
150732013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15074
15075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15076
9df02941
CD
150772013-05-02 Carlos O'Donell <carlos@redhat.com>
15078
15079 [BZ #15264]
15080 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15081 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15082 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15083
d422395e
DM
150842013-05-02 David S. Miller <davem@davemloft.net>
15085
15086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15087
a07c5731
OB
150882013-05-01 Ondřej Bílka <neleai@seznam.cz>
15089
15090 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15091
1324e37f
RM
150922013-05-01 Roland McGrath <roland@hack.frob.com>
15093
15094 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15095
0695940b
RS
150962013-05-01 Richard Smith <richard@metafoo.co.uk>
15097
bb5f27ad 15098 [BZ #14952]
0695940b
RS
15099 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15100 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15101 Use __attribute__ ((__gnu_inline__)).
15102 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15103 Don't use __attribute__ ((__gnu_inline__)).
15104
10de07f5
JM
151052013-05-01 Joseph Myers <joseph@codesourcery.com>
15106
15107 [BZ #15423]
15108 * math/s_catan.c (__catan): Handle small real or imaginary part of
15109 input specially to avoid spurious underflow.
15110 * math/s_catanf.c (__catanf): Likewise.
15111 * math/s_catanh.c (__catanh): Likewise.
15112 * math/s_catanhf.c (__catanhf): Likewise.
15113 * math/s_catanhl.c (__catanhl): Likewise.
15114 * math/s_catanl.c (__catanl): Likewise.
15115 * math/libm-test.inc (catan_test): Add more tests.
15116 (catanh_test): Likewise.
15117 * sysdeps/i386/fpu/libm-test-ulps: Update.
15118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15119
cb4d5414
AZ
151202013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15121
15122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15123
caf84319
JM
151242013-04-30 Joseph Myers <joseph@codesourcery.com>
15125
15126 [BZ #15416]
15127 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15128 accurately for denominator in atan2.
15129 * math/s_catanf.c (__catanf): Likewise.
15130 * math/s_catanh.c (__catanh): Likewise.
15131 * math/s_catanhf.c (__catanhf): Likewise.
15132 * math/s_catanhl.c (__catanhl): Likewise.
15133 * math/s_catanl.c (__catanl): Likewise.
15134 * math/libm-test.inc (catan_test): Add more tests.
15135 (catanh_test): Likewise.
15136 * sysdeps/i386/fpu/libm-test-ulps: Update.
15137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15138
d569c6ee
SP
151392013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15140
6dbe713d
SP
15141 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15142
f0ee064b
SP
15143 * benchtests/Makefile (bench): Remove slow benchmarks.
15144 * benchtests/atan-inputs: Add slow benchmark inputs.
15145 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15146 (BENCH_FUNC): Accept variant offset.
15147 (VARIANT): Define.
15148 * benchtests/bench-skeleton.c (main): Run benchmark for each
15149 variant.
15150 * benchtests/cos-inputs: Add slow benchmark inputs.
15151 * benchtests/exp-inputs: Likewise.
15152 * benchtests/pow-inputs: Likewise.
15153 * benchtests/sin-inputs: Likewise.
15154 * benchtests/slowatan-inputs: Remove.
15155 * benchtests/slowatan.c: Remove.
15156 * benchtests/slowcos-inputs: Remove.
15157 * benchtests/slowcos.c: Remove.
15158 * benchtests/slowexp-inputs: Remove.
15159 * benchtests/slowexp.c: Remove.
15160 * benchtests/slowpow-inputs: Remove.
15161 * benchtests/slowpow.c: Remove.
15162 * benchtests/slowsin-inputs: Remove.
15163 * benchtests/slowsin.c: Remove.
15164 * benchtests/slowtan-inputs: Remove.
15165 * benchtests/slowtan.c: Remove.
15166 * benchtests/tan-inputs: Add slow benchmark inputs.
15167 * scripts/bench.pl: Parse comments and directives.
15168
d569c6ee
SP
15169 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15170 in CPPFLAGS.
15171 ($(objpfx)bench-%.c): Remove *-ITER.
15172 * benchtests/bench-modf.c: Remove definition of ITER.
15173 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15174 (main): Loop for DURATION seconds instead of fixed number of
15175 iterations.
15176 * scripts/bench.pl: Don't expect iterations in parameters.
15177
a6a242fe
RM
151782013-04-29 Roland McGrath <roland@hack.frob.com>
15179
15180 * io/fchdir.c (__fchdir): Renamed from fchdir.
15181 (fchdir): Define as weak alias.
15182
f2da7793
JM
151832013-04-29 Joseph Myers <joseph@codesourcery.com>
15184
15185 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15186 (ERRNO_EDOM): Likewise.
15187 (ERRNO_ERANGE): Likewise.
15188 (noErrnoTests): New variable.
15189 (init_max_error): Set errno to 0.
15190 (test_single_errno): New function.
15191 (test_errno): Likewise.
15192 (check_float_internal): Call test_errno. Set errno to 0.
15193 (check_complex): Refer to errno tests in comment.
15194 (check_int): Call test_errno. Set errno to 0.
15195 (check_long): Likewise.
15196 (check_bool): Likewise.
15197 (check_longlong): Likewise.
15198 (cos_test): Use ERRNO_* flags for errno tests instead of
15199 check_int.
15200 (expm1_test): Likewise.
15201 (fmod_test): Likewise.
15202 (ilogb_test): Likewise.
15203 (lgamma_test): Likewise.
15204 (pow_test): Likewise.
15205 (remainder_test): Likewise.
15206 (sin_test): Likewise.
15207 (tan_test): Likewise.
15208 (yn_test): Likewise.
15209 (initialize): Set errno to 0.
15210 (main): Print number of errno tests.
15211 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15212
b1a36ceb
AJ
152132013-04-29 Andreas Jaeger <aj@suse.de>
15214
c3ed8088
AJ
15215 [BZ #15084]
15216 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15217 and RES_USEVC.
15218
f1a24198
AJ
15219 [BZ #15085]
15220 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15221 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15222 unimplemented.
15223
9ce3b2cb
AJ
15224 [BZ #15380]
15225 * stdlib/random.c (__initstate): Return NULL if
15226 __initstate fails.
15227
f1a24198 15228 [BZ #15086]
b1a36ceb
AJ
15229 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15230 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15231 RES_SNGLKUPREOP.
15232
7e7b6f36
AZ
152332013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15234
15235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15236
4d14f449
JM
152372013-04-29 Joseph Myers <joseph@codesourcery.com>
15238
15239 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15240 of individual tests.
15241 (casin_test): Likewise.
15242 (casinh_test): Likewise.
15243
5b4217d7
JM
152442013-04-27 Joseph Myers <joseph@codesourcery.com>
15245
15246 [BZ #15409]
15247 * math/s_catan.c (__catan): Handle arguments with large real or
15248 imaginary part separately without squaring.
15249 * math/s_catanf.c (__catanf): Likewise.
15250 * math/s_catanh.c (__catanh): Likewise.
15251 * math/s_catanhf.c (__catanhf): Likewise.
15252 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15253 and redefine.
15254 (__catanhl): Handle arguments with large real or imaginary part
15255 separately without squaring.
15256 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15257 and redefine.
15258 (__catanl): Handle arguments with large real or imaginary part
15259 separately without squaring.
15260 * math/libm-test.inc (catan_test): Add more tests.
15261 (catanh_test): Likewise.
15262 * sysdeps/i386/fpu/libm-test-ulps: Update.
15263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15264
4220c3ef
AJ
152652013-04-27 Andreas Jaeger <aj@suse.de>
15266
15267 [BZ #15007]
15268 * stdlib/stdlib.h: Update guards for qecvt.
15269 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15270 <stdlib.h>.
15271
4721b2d1
AM
152722013-04-27 Allan McRae <allan@archlinux.org>
15273
15274 * sysdeps/i386/fpu/libm-test-ulps: Update.
15275
f0302940
JM
152762013-04-26 Joseph Myers <joseph@codesourcery.com>
15277
9457fd95
JM
15278 [BZ #15406]
15279 * math/s_catan.c: Include <float.h>.
15280 (__catan): Ensure underflow exception occurs for underflowed
15281 result.
15282 * math/s_catanf.c: Include <float.h>.
15283 (__catanf): Ensure underflow exception occurs for underflowed
15284 result.
15285 * math/s_catanh.c: Include <float.h>.
15286 (__catanh): Ensure underflow exception occurs for underflowed
15287 result.
15288 * math/s_catanhf.c: Include <float.h>.
15289 (__catanhf): Ensure underflow exception occurs for underflowed
15290 result.
15291 * math/s_catanhl.c: Include <float.h>.
15292 (__catanhl): Ensure underflow exception occurs for underflowed
15293 result.
15294 * math/s_catanl.c: Include <float.h>.
15295 (__catanl): Ensure underflow exception occurs for underflowed
15296 result.
15297 * math/libm-test.inc (catan_test): Add more tests.
15298 (catanh_test): Likewise.
15299
f0302940
JM
15300 [BZ #15405]
15301 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15302 underflowed result.
15303 * math/s_ccoshf.c (__ccoshf): Likewise.
15304 * math/s_ccoshl.c (__ccoshl): Likewise.
15305 * math/s_csin.c (__csin): Likewise.
15306 * math/s_csinf.c (__csinf): Likewise.
15307 * math/s_csinh.c (__csinh): Likewise.
15308 * math/s_csinhf.c (__csinhf): Likewise.
15309 * math/s_csinhl.c (__csinhl): Likewise.
15310 * math/s_csinl.c (__csinl): Likewise.
15311 * math/libm-test.inc (ccos_test): Add more tests.
15312 (ccosh_test): Likewise.
15313 (csin_test): Likewise.
15314 (csinh_test): Likewise.
15315
aa630f59
AZ
153162013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15317
15318 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15319 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15320 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15321 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15322 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15323 powerpc/power5+/fpu folders.
15324 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15325
15326
1b835983
MT
153272013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15328
15329 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15330
73709b26
JM
153312013-04-25 Joseph Myers <joseph@codesourcery.com>
15332
15333 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15334 additions to variable.
15335 [$(config-machine) = x86_64] (modules-names): Likewise.
15336 ($(objpfx)tst-audit3): Remove dependency.
15337 ($(objpfx)tst-audit3.out): Likewise.
15338 ($(objpfx)tst-audit4): Likewise.
15339 ($(objpfx)tst-audit4.out): Likewise.
15340 ($(objpfx)tst-audit5): Likewise.
15341 ($(objpfx)tst-audit5.out): Likewise.
15342 ($(objpfx)tst-audit6): Likewise.
15343 ($(objpfx)tst-audit6.out): Likewise.
15344 ($(objpfx)tst-audit7): Likewise.
15345 ($(objpfx)tst-audit7.out): Likewise.
15346 (tst-audit3-ENV): Remove variable.
15347 (tst-audit4-ENV): Likewise.
15348 (tst-audit5-ENV): Likewise.
15349 (tst-audit6-ENV): Likewise.
15350 (tst-audit7-ENV): Likewise.
15351 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15352 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15353 addition to variable.
15354 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15355 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15356 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15357 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15358 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15359 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15360 tst-audit3, tst-audit4 and tst-audit5.
15361 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15362 tst-audit6 and tst-audit7.
15363 [$(subdir) = elf] (modules-names): Add audit modules for those
15364 tests.
15365 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15366 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15367 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15368 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15369 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15370 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15371 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15372 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15373 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15374 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15375 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15376 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15377 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15378 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15379 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15380 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15381 Likewise.
15382 [$(subdir) = elf && $(config-cflags-avx) = yes]
15383 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15384 [$(subdir) = elf && $(config-cflags-avx) = yes]
15385 (CFLAGS-tst-auditmod4a.c): Likewise.
15386 [$(subdir) = elf && $(config-cflags-avx) = yes]
15387 (CFLAGS-tst-auditmod4b.c): Likewise.
15388 [$(subdir) = elf && $(config-cflags-avx) = yes]
15389 (CFLAGS-tst-auditmod6b.c): Likewise.
15390 [$(subdir) = elf && $(config-cflags-avx) = yes]
15391 (CFLAGS-tst-auditmod6c.c): Likewise.
15392 [$(subdir) = elf && $(config-cflags-avx) = yes]
15393 (CFLAGS-tst-auditmod7b.c): Likewise.
15394 * elf/tst-audit3.c: Move to ...
15395 * sysdeps/x86_64/tst-audit3.c: ... here.
15396 * elf/tst-audit4.c: Move to ...
15397 * sysdeps/x86_64/tst-audit4.c: ... here.
15398 * elf/tst-audit5.c: Move to ...
15399 * sysdeps/x86_64/tst-audit5.c: ... here.
15400 * elf/tst-audit6.c: Move to ...
15401 * sysdeps/x86_64/tst-audit6.c: ... here.
15402 * elf/tst-audit7.c: Move to ...
15403 * sysdeps/x86_64/tst-audit7.c: ... here.
15404 * elf/tst-auditmod3a.c: Move to ...
15405 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15406 * elf/tst-auditmod3b.c: Move to ...
15407 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15408 * elf/tst-auditmod4a.c: Move to ...
15409 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15410 * elf/tst-auditmod4b.c: Move to ...
15411 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15412 * elf/tst-auditmod5a.c: Move to ...
15413 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15414 * elf/tst-auditmod5b.c: Move to ...
15415 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15416 * elf/tst-auditmod6a.c: Move to ...
15417 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15418 * elf/tst-auditmod6b.c: Move to ...
15419 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15420 * elf/tst-auditmod6c.c: Move to ...
15421 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15422 * elf/tst-auditmod7a.c: Move to ...
15423 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15424 * elf/tst-auditmod7b.c: Move to ...
15425 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15426
1ef74943
PP
154272013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15428
15429 [BZ #15366]
15430 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15431 define unconditionally.
15432 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15433 define unconditionally.
15434 (INT8_C, INT16_C, etc.): Likewise.
15435
93fd48c5
MR
154362013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15437
ae9552cf
MR
15438 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15439 __ehdr_start with hidden visibility.
15440
93fd48c5
MR
15441 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15442
418601aa
CD
154432013-04-24 Carlos O'Donell <carlos@redhat.com>
15444
15445 * math/libm-test.inc (cos_test): Use accurate hex constants.
15446 (sincost_test): Likewise.
15447
2f38fbfe
JM
154482013-04-24 Joseph Myers <joseph@codesourcery.com>
15449
5e221800
JM
15450 * math/libm-test.inc (catan_test): Add more tests.
15451 (catanh_test): Likewise.
15452
77f143fd
JM
15453 * math/s_catanf.c (__catanf): Use suffixed floating-point
15454 constants.
15455 * math/s_catanhf.c (__catanhf): Likewise.
15456 * math/s_catanhl.c (__catanhl): Likewise.
15457 * math/s_catanl.c (__catanl): Likewise.
15458
2f38fbfe
JM
15459 [BZ #15394]
15460 * math/s_catan.c (__catan): Calculate imaginary part of result
15461 with log1p not log unless computing log of number close to 0.
15462 * math/s_catanf.c (__catanf): Likewise.
15463 * math/s_catanl.c (__catanl): Likewise.
15464 * math/s_catanh.c (__catanh): Calculate real part of result with
15465 log1p not log unless computing log of number close to 0.
15466 * math/s_catanhf.c (__catanhf): Likewise.
15467 * math/s_catanhl.c (__catanhl): Likewise.
15468 * math/libm-test.inc (catan_test): Add more tests.
15469 (catanh_test): Likewise.
15470 * sysdeps/i386/fpu/libm-test-ulps: Update.
15471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15472
45d69176
SP
154732013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15474
15475 * benchtests/Makefile: Mention files in which fast and slow
15476 paths of math functions are implemented.
15477
87f51853
RM
154782013-04-23 Roland McGrath <roland@hack.frob.com>
15479
15480 * sysdeps/posix/timespec_get.c: New file.
15481
3c026539
AZ
154822013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15483
15484 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15485 POWER.
15486 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15487 for POWER.
15488 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15489 powerpc/power5/fpu folders.
15490 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15491 * benchtests/Makefile: Add modf testcase.
15492 * benchtests/bench-modf.c: New file: Benchmark test for mo
15493
ff491d14
SP
154942013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15495
15496 [BZ #14888]
15497 * time/Makefile (tests): Add tst-strptime-whitespace.
15498 * time/strptime_l.c (get_number): Use ISSPACE.
15499 (__strptime_internal): Likewise.
15500 * time/tst-strptime-whitespace.c: New test case.
15501
7ed3f4e8
AS
155022013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15503
15504 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15505 member.
15506 (_nss_files_init): Set it here.
15507
5c95f7b6
HC
155082013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15509
15510 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15511 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15512 unsigned.
15513
d34c9158
JBG
155142013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15515
15516 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15517
2169712d
SP
155182013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15519
15520 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15521 size just once.
15522
29c5de99
DM
155232013-04-21 David S. Miller <davem@davemloft.net>
15524
15525 * po/ru.po: Update Russion translation from translation project.
15526
ccdad15d
AC
155272013-04-17 Adam Conrad <adconrad@0c3.net>
15528
15529 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15530 and setfsgid.
15531
0f122b8d
CD
155322013-04-17 Carlos O'Donell <carlos@redhat.com>
15533
5c5b07da 15534 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15535 * configure: Regenerate.
5c5b07da 15536 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15537 Add example to error message.
15538 * sysdeps/i386/configure: Regenerate.
15539
037714dd
SP
155402013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15541
15542 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15543 slowtan.
15544 * benchtests/cos-inputs: New file.
15545 * benchtests/slowcos-inputs: New file.
15546 * benchtests/slowcos.c: New file.
15547 * benchtests/slowtan-inputs: New file.
15548 * benchtests/slowtan.c: New file.
15549 * benchtests/tan-inputs: New file.
15550
e913141d
RM
155512013-04-16 Roland McGrath <roland@hack.frob.com>
15552
15553 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15554 considered kosher.
15555
a2964074
SP
155562013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15557
4856bcd2
SP
15558 * benchtests/Makefile: Include cppflags-iterator.mk to add
15559 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15560
a2964074
SP
15561 * Makefile.in (bench-clean): New target.
15562 * benchtests/Makefile (bench-clean): Likewise.
15563
9fbf9aca
DH
155642013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15565
15566 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15567
207d1e2a
TS
155682013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15569
15570 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15571
306dfba9
AS
155722013-04-15 Andreas Schwab <schwab@suse.de>
15573
15574 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15575 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15576 * nscd/pwdcache.c (cache_addpw): Likewise.
15577 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15578 more than recsize.
15579
206a6699
SP
155802013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15581
15582 * benchtests/Makefile (bench): Write all output to
15583 bench-out.tmp together.
15584
0582f6b3
AS
155852013-04-15 Andreas Schwab <schwab@suse.de>
15586
15587 * nscd/nscd.c (main): Don't fork again after closing files.
15588
acb4325f
SP
155892013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15590
5cb26d0a
SP
15591 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15592
acb4325f
SP
15593 * benchtests/Rules (bench-deps): Collect dependencies into a
15594 single variable. Add Makefile to dependencies.
15595 ($(objpfx)bench-%.c): Depend on bench-deps.
15596
47792506
RM
155972013-04-12 Roland McGrath <roland@hack.frob.com>
15598 Xavier Roche <roche+kml2@exalead.com>
15599
15600 [BZ #15361]
15601 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15602 just that it's a file descriptor.
15603 * manual/llio.texi (Synchronizing AIO Operations): Update description
15604 for EBADF error from aio_fsync.
15605
8fc1bee5
SP
156062013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15607
15608 * Rules (bench): Move target definition...
15609 * benchtests/Makefile: ... here.
15610
aba5e333
CD
156112013-04-11 Carlos O'Donell <carlos@redhat.com>
15612
15613 * math/libm-test.inc (cos_test): Fix PI/2 test.
15614 (sincos_test): Likewise.
15615 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15616 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15617
273cdee8
AS
156182013-04-11 Andreas Schwab <schwab@suse.de>
15619
6ecec3b6
AS
15620 [BZ #13988]
15621 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15622 accept exponent character only when digits were seen.
15623 * stdio-common/Makefile (tests): Add bug26.
15624 * stdio-common/bug26.c: New file.
15625
273cdee8
AS
15626 [BZ #14293]
15627 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15628 non-freeable.
15629
8da491f5
SP
156302013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15631
01dc6df9
SP
15632 * Makeconfig (rtld-prefix): Define built linker prefix.
15633 * Rules (run-bench): Use it.
15634 * math/Makefile (run-regen-ulps): Likewise.
15635
8da491f5
SP
15636 * Rules (bench): Remove eval.
15637
abe7f530
SP
156382013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15639 Roland McGrath <roland@hack.frob.com>
15640 Ondrej Bilka <neleai@seznam.cz>
15641
15642 [BZ #15346]
15643 * time/getdate.c: Include ctype.h and alloca.h.
15644 (__getdate_r): Trim leading and trailing spaces of input.
15645 * time/tst-getdate.c (tests): Add tests with leading and
15646 trailing spaces.
15647
61c23e62
RM
156482013-04-08 Roland McGrath <roland@hack.frob.com>
15649
15650 [BZ #14280]
15651 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15652 when computing value.
15653
7208a313
CD
156542013-04-06 Carlos O'Donell <carlos@redhat.com>
15655
085b2d41
CD
15656 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15657 Use testrun.sh to run libm tests.
15658
7208a313
CD
15659 [BZ #15309]
15660 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15661
872c0acd
MM
156622013-04-06 Marko Myllynen <myllynen@redhat.com>
15663
15664 [BZ #15264]
15665 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15666
26510bdd
CD
156672013-04-06 Carlos O'Donell <carlos@redhat.com>
15668
15669 * Makefile.in (regen-ulps): New target.
15670 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15671 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15672 [ifneq (no,$(PERL)] (regen-ulps): New target.
15673 [ifeq (no,$(PERL)] (regen-ulps): New target.
15674 * math/libm-test.inc (ulps_file_name): Define.
15675 (output_dir): New variable.
15676 (options): Add "output-dir" option.
15677 (parse_opt): Handle 'o' case.
15678 (main): If output_dir is non-NULL use it as a prefix
15679 otherwise use "".
15680 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15681
a01f19c8
CD
156822013-04-06 Carlos O'Donell <carlos@redhat.com>
15683
15684 [BZ #10060, #10062]
15685 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15686 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15687 fail configure if __sync_val_compare_and_swap is not inlined.
15688 * sysdeps/i386/configure: Regenerate.
15689 * configure.in: Build for i686 when configured for i386.
15690 * configure: Regenerate.
15691 * README: Remove i386 reference.
15692
b7a329a5
CD
156932013-04-06 Carlos O'Donell <carlos@redhat.com>
15694
15695 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15696 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15697
bf0f50df
TS
156982013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15699
ee091edf
TS
15700 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15701 (lmsnanval): New variables.
15702 (F): Add conversion tests.
15703 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15704 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15705
a8b792d6
TS
15706 * stdio-common/tstdiomisc.c (F): Properly collect individual
15707 tests' results.
15708
a1cbf437
TS
15709 [BZ #14686, #15336]
15710 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15711 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15712 Instead, use input NaN values or generate a qNaN by arithmetic
15713 operation. Also fix bugs to comply with the standard.
15714 * math/libm-test.inc (remainder_test): Add more tests.
15715
8b43a0c9
TS
15716 [BZ #15335, #15342]
15717 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15718 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15719 input NaN values or generate a qNaN by arithmetic operation.
15720
d91da4ce
TS
15721 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15722 unreachable code.
15723
bf0f50df
TS
15724 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15725 definitions.
15726
05e166c8
JM
157272013-04-03 Joseph Myers <joseph@codesourcery.com>
15728
15729 [BZ #14478]
15730 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15731 underflowed result.
15732 * math/s_cexpf.c (__cexpf): Likewise.
15733 * math/s_cexpl.c (__cexpl): Likewise.
15734 * math/libm-test.inc (cexp_test): Add more tests.
15735
1cef1b19
AS
157362013-04-03 Andreas Schwab <schwab@suse.de>
15737
15738 [BZ #15330]
15739 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15740 order arrays from heap if bigger than alloca cutoff.
15741
74d87055
TS
157422013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15743
15744 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15745 (SNAN_TESTS_double): Refer to GCC PR56831.
15746 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15747 GCC PR56828.
15748
d755bba4
SP
157492013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15750
90d5d5bb
SP
15751 * Rules (bench): Move bench.out after the run is complete.
15752
73e0cd5d
SP
15753 * Rules (bench): Echo currently running benchmark.
15754
64aabd4b
SP
15755 * benchtests/Makefile (bench): Add atan and slowatan.
15756 * benchtests/atan-inputs: New file.
15757 * benchtests/slowatan-inputs: New file.
15758 * benchtests/slowatan.c: New file.
15759
c871eccd
SP
15760 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15761 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15762 its value.
15763
d755bba4
SP
15764 [BZ #15305]
15765 * sysdeps/unix/sysv/linux/kernel-features.h
15766 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15767 __ASSUME_XFS_RESTRICTED_CHOWN.
15768 * sysdeps/unix/sysv/linux/pathconf.c
15769 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15770 Save and restore errno.
15771
52ce4860
JM
157722013-04-02 Joseph Myers <joseph@codesourcery.com>
15773
15774 [BZ #15327]
15775 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15776 arguments using __kernel_casinh.
15777 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15778 arguments using __kernel_casinhf.
15779 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15780 arguments using __kernel_casinhl.
15781 * math/libm-test.inc (cacosh_test): Add more tests.
15782 * sysdeps/i386/fpu/libm-test-ulps: Update.
15783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15784
81f311c2
SP
157852013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15786
e7906a47
SP
15787 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15788 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15789
92e3664b
SP
15790 * bench/Makefile (bench): Add sin and slowsin.
15791 * benchtests/sin-inputs: New file.
15792 * benchtests/slowsin-inputs: New file.
15793 * benchtests/slowsin.c: New file.
15794
81f311c2
SP
15795 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15796 (bench): Add slowexp and slowpow.
15797 (exp-ITER): Increase iterations.
15798 (pow-ITER): Likewise.
15799 * benchtests/exp-inputs: Change input.
15800 * benchtests/pow-inputs: Likewise.
15801 * benchtests/slowexp-inputs: New file.
15802 * benchtests/slowexp.c: New file.
15803 * benchtests/slowpow-inputs: New file.
15804 * benchtests/slowpow.c: New file.
15805
ab0f1aa9
AZ
158062013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15807
15808 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15809 instructions.
15810 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15811 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15812 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15813 * benchtests/Makefile: Add rint benchtest.
15814 * benchtests/rint-inputs: Input for rint benchtest.
15815
57267616
TS
158162013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15817
15818 * Versions.def (libm): Add GLIBC_2.18.
15819 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15820 hidden libm prototypes.
15821 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15822 * math/Makefile (libm-calls): Add s_issignaling.
15823 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15824 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15825 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15826 declaration.
15827 * math/math.h [__USE_GNU] (issignaling): New macro.
15828 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15829 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15830 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15831 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15832 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15833 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15834 * manual/arith.texi (issignaling): New section.
15835 * manual/libm-err-tab.pl (@all_functions): Update comment.
15836 * math/gen-libm-test.pl (parse_args): Apply special handling for
15837 issignaling.
15838 * math/libm-test.inc (print_float, issignaling_test): New
15839 functions.
15840 (check_float_internal): Add issignaling checks.
15841 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15842 default definition.
15843 * sysdeps/powerpc/math-tests.h: New file.
15844 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15845 tests.
15846 * math/test-snan.c (TEST_FUNC): Likewise.
15847
6142896d
DM
158482013-03-30 David S. Miller <davem@davemloft.net>
15849
15850 * po/de.po: Update from translation team.
15851
ccc8cadf
JM
158522013-03-30 Joseph Myers <joseph@codesourcery.com>
15853
15854 [BZ #10357]
15855 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15856 imaginary part less than 1.0 and real part less than 0.5
15857 specially.
15858 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15859 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15860 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15861 (cacos_test): Add more tests.
15862 (casin_test): Likewise.
15863 (casinh_test): Likewise.
15864 * sysdeps/i386/fpu/libm-test-ulps: Update.
15865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15866
0f6a8d4b
SP
158672013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15868
0d1029de
SP
15869 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15870 ONE with its value.
15871
c2d94018
SP
15872 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15873 (__pow_mp): Replace ONE and MONE with their values.
15874 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15875 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15876 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15877 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15878 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15879 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15880
27ec37f1
SP
15881 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15882
a64d7e0e
SP
15883 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15884 (__pow_mp): Replace ZERO and MZERO with their values.
15885 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15886 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15887 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15888 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15889 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15890 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15891 (__sqr): Likewise.
15892
d26dd3eb
SP
15893 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15894
0f6a8d4b
SP
15895 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15896
e57b0c61
RM
158972013-03-28 Roland McGrath <roland@hack.frob.com>
15898
15899 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15900 Declare with __attribute__ ((weak)).
15901 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15902 Call __call_tls_dtors only if it's not NULL.
15903
356b3480
RM
159042013-03-28 Roland McGrath <roland@hack.frob.com>
15905
288f7d79
RM
15906 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15907 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15908 magic __ehdr_start linker symbol if it's defined.
15909 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15910 them up here if it was already done.
15911
dc0a0263
RM
15912 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15913 (_dl_aux_init): Use const in cast when setting it.
15914 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15915 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15916 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15917
3d3436ae
RM
15918 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15919 Declare them here.
15920 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15921 * csu/libc-tls.c: Nor here.
15922 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15923
356b3480
RM
15924 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15925 (__libc_message): Never call vsyslog.
15926
b0f1246a
AM
159272013-03-28 Alan Modra <amodra@gmail.com>
15928
15929 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15930 Define as empty.
15931 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15932 Likewise.
15933
fbbe2b9a
AZ
159342013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15935
15936 [BZ #15214]
15937 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15938 underflow.
15939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15940
1728ab37
SP
159412013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15942
7a86be6e
SP
15943 [BZ #15304]
15944 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15945 Don't add gid passed as argument.
15946
1728ab37
SP
15947 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15948
3a7182a1
JM
159492013-03-27 Joseph Myers <joseph@codesourcery.com>
15950
15951 [BZ #15307]
15952 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15953 imaginary part between 1.0 and 1.5 and real part less than 0.5
15954 specially.
15955 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15956 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15957 * math/libm-test.inc (cacos_test): Add more tests.
15958 (casin_test): Likewise.
15959 (casinh_test): Likewise.
15960 * sysdeps/i386/fpu/libm-test-ulps: Update.
15961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15962
6f2e90e7
SP
159632013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15964
5739f705
SP
15965 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15966 constants.
15967 (norm): Likewise.
15968 (denorm): Likewise.
15969 (__dbl_mp): Likewise.
15970 (add_magnitudes): Likewise.
15971 (sub_magnitudes): Likewise.
15972 (__add): Likewise.
15973 (__sub): Likewise.
15974 (__mul): Likewise.
15975 (__sqr): Likewise.
15976 (__inv): Likewise.
15977 (__dvd): Likewise.
15978
e375e83d
SP
15979 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15980 commented code.
15981 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15982 (__dubcos): Likewise.
15983 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15984 (__ieee754_acos): Likewise.
15985 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15986 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15987 (__exp1): Likewise.
15988 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15989 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15990 (log1): Likewise.
15991 (my_log2): Likewise.
15992 (checkint): Likewise.
15993 * sysdeps/ieee754/dbl-64/e_remainder.c
15994 (__ieee754_remainder): Likewise.
15995 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15996 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15997 (bsloww): Likewise.
15998 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15999
6f2e90e7
SP
16000 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16001 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16002 MANTISSA_STORE_T to store computations on mantissa. Use
16003 macros for rounding and division.
16004 (denorm): Likewise.
16005 (__dbl_mp): Likewise.
16006 (add_magnitudes): Likewise.
16007 (sub_magnitudes): Likewise.
16008 (__mul): Likewise.
16009 (__sqr): Likewise.
16010 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16011 powers of two in terms of TWOPOW macro.
16012 (mp_no): Make type of mantissa as MANTISSA_T.
16013 [!RADIXI]: Define RADIXI.
16014 [!TWO52]: Define TWO52.
16015 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16016
fce14d4e
AZ
160172013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16018
16019 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16020 llroundl symbol when building for PPC32.
16021
9ad027fb
MW
160222013-03-24 Mark H Weaver <mhw@netris.org>
16023
16024 * manual/arith.texi (Normalization Functions): Fix prototypes for
16025 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16026
e42a38dd
AZ
160272013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16028
16029 [BZ #13889]
16030 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16031 high value to check if expl overflow.
16032 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16033 to check for underflow and overflow.
16034 * math/libm-test.inc: Add exp test.
16035
2e0fb521
DL
160362013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16037
16038 [BZ #11120]
16039 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16040 with NOT_IN_libc.
16041
b5784d95
AZ
160422013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16043
16044 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16045 symbol.
16046
5aa4a1a1
TS
160472013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16048
bdef0be7
TS
16049 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16050 wrap blocks consisting of several statements.
16051
5aa4a1a1
TS
16052 * sysdeps/generic/math-tests.h: New file.
16053 * sysdeps/i386/fpu/math-tests.h: Likewise.
16054 * math/test-snan.c: Include it.
16055 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16056
98c48fe5
JM
160572013-03-21 Joseph Myers <joseph@codesourcery.com>
16058
16059 [BZ #15285]
16060 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16061 (__ieee754_j0l): Do not improve calculations using cos of twice
16062 input for inputs above LDBL_MAX / 2.0L.
16063 (__ieee754_y0l): Likewise.
16064 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16065 (__ieee754_j1l): Do not improve calculations using cos of twice
16066 input for inputs above LDBL_MAX / 2.0L.
16067 (__ieee754_y1l): Likewise.
16068 * math/libm-test.inc (j0_test): Add another test.
16069 (j1_test): Likewise.
16070 (y0_test): Likewise.
16071 (y1_test): Likewise.
16072 * sysdeps/i386/fpu/libm-test-ulps: Update.
16073
3775a8bc
SP
160742013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16075
16076 * Rules ($(objpfx)bench-%.c): Include code from a C source
16077 file.
16078
0a1b2ae6
JM
160792013-03-21 Joseph Myers <joseph@codesourcery.com>
16080
16081 [BZ #15287]
16082 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16083 imaginary part 1.0 and real part less than 0.5 specially.
16084 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16085 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16086 * math/libm-test.inc (cacos_test): Add more tests.
16087 (casin_test): Likewise.
16088 (casinh_test): Likewise.
16089 * sysdeps/i386/fpu/libm-test-ulps: Update.
16090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16091
b33d4ce4
SP
160922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16093
16094 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16095 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16096
bef0b507
JM
160972013-03-20 Joseph Myers <joseph@codesourcery.com>
16098
16099 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16100 * config.make.in (config-cflags-sse4): Remove variable.
16101 (config-cflags-avx): Likewise.
16102 (config-cflags-sse2avx): Likewise.
16103 (config-cflags-novzeroupper): Likewise.
16104 (config-asflags-i686): Likewise.
16105 (have-mfma4): Likewise.
16106 (have-as-vis3): Likewise.
16107 (MIG): Likewise.
16108 * configure.in (MIG): Do not AC_SUBST.
16109 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16110 (libc_cv_cc_sse4): Do not AC_SUBST.
16111 (libc_cv_cc_avx): Likewise.
16112 (libc_cv_cc_sse2avx): Likewise.
16113 (libc_cv_cc_novzeroupper): Likewise.
16114 (libc_cv_cc_fma4): Likewise.
16115 (libc_cv_as_i686): Likewise.
16116 (libc_cv_sparc_as_vis3): Likewise.
16117 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16118 LIBC_CONFIG_VAR.
16119 (config-asflags-i686): Likewise.
16120 (config-cflags-avx): Likewise.
16121 (config-cflags-sse2avx): Likewise.
16122 (have-mfma4): Likewise.
16123 (config-cflags-novzeroupper): Likewise.
16124 * sysdeps/mach/configure.in (MIG): Likewise.
16125 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16126 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16127 LIBC_CONFIG_VAR.
16128 (config-cflags-avx): Likewise.
16129 (config-cflags-sse2avx): Likewise.
16130 (have-mfma4): Likewise.
16131 (config-cflags-novzeroupper): Likewise.
16132 * configure: Regenerated.
16133 * sysdeps/i386/configure: Likewise.
16134 * sysdeps/mach/configure: Likewise.
16135 * sysdeps/sparc/configure: Likewise.
16136 * sysdeps/x86_64/configure: Likewise.
16137
912cc4b3
RM
161382013-03-20 Roland McGrath <roland@hack.frob.com>
16139
16140 [BZ #14812]
16141 * locale/programs/localedef.c (options): Put N_ translation marker
16142 on argument names, not just descriptions.
16143
04eed2b0
MS
161442013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16145
16146 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16147
a065ceff
OB
161482013-03-20 Ondřej Bílka <neleai@seznam.cz>
16149
9bb2a810 16150 [BZ #14176]
a065ceff
OB
16151 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16152
a600e5ce
RM
161532013-03-19 Roland McGrath <roland@hack.frob.com>
16154
16155 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16156 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16157 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16158 [!BEFORE_ABORT] (before_abort): New function.
16159 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16160 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16161 (writev_for_fatal): New function.
16162 (WRITEV_FOR_FATAL): New macro; call that.
16163 (backtrace_and_maps): New function.
16164 (BEFORE_ABORT): New macro; call that.
16165 (struct str_list): Type removed.
16166 (__libc_message, __libc_fatal): Functions removed.
16167 Include <sysdeps/posix/libc_fatal.c> instead.
16168
6b18bea6
JM
161692013-03-19 Joseph Myers <joseph@codesourcery.com>
16170
16171 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16172 constants.
16173 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16174 double constants.
16175
aaa8cb4b
AS
161762013-03-19 Andreas Schwab <schwab@suse.de>
16177
44673770
AS
16178 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16179 * sysdeps/gnu/configure: Regenerate.
16180
aaa8cb4b
AS
16181 * configure.in: Substitute libc_cv_rtlddir.
16182 * configure: Regenerate.
16183 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16184 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16185 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16186 * elf/Makefile (install-others, CFLAGS-interp.c)
16187 (ldso_install, common-ldd-rewrite): Likewise.
16188 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16189 $(inst_slibdir)/$(rtld-installed-name).
16190 * scripts/rellns-sh: Add -p option.
16191 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16192 for source.
16193
d3cfc668
SP
161942013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16195
16196 * manual/nptl.texi: Renamed to ...
16197 * manual/threads.texi: ... this.
16198 * manual/Makefile (chapters): Update.
16199
0e2b9cdd
RM
162002013-03-18 Roland McGrath <roland@hack.frob.com>
16201
16202 [BZ #14812]
16203 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16204 on argument names, not just descriptions.
0e2b9cdd
RM
16205 * malloc/memusagestat.c (options): Likewise.
16206 * nss/getent.c (options): Likewise.
63270c24
RM
16207
162082013-03-18 Benno Schulenberg <bensberg@justemail.net>
16209
16210 [BZ #14812]
16211 * iconv/iconv_prog.c (options): Put N_ translation marker
16212 on argument names, not just descriptions.
16213 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16214
b2e1393c
OB
162152013-03-18 Ondrej Bilka <neleai@seznam.cz>
16216
16217 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16218 implementation which is faster on all x86_64 architectures.
16219 Tested on AMD, Intel Nehalem, SNB, IVB.
16220 * sysdeps/x86_64/strnlen.S: Likewise.
16221
16222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16223 Remove all multiarch strlen and strnlen versions.
16224 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16225 Remove strlen and strnlen related parts.
16226
16227 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16228 Inline strlen part.
16229 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16230
16231 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16232 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16233 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16234 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16235 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16236 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16237
ec4ff04d
CD
162382013-03-17 Carlos O'Donell <carlos@redhat.com>
16239
16240 * manual/memory.texi (Malloc Tunable Parameters):
16241 Sort parameters alphabetically. Add comments for missing entries.
16242
cd18e90a
DM
162432013-03-17 David S. Miller <davem@davemloft.net>
16244
16245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16246
2a185d32
JM
162472013-03-16 Joseph Myers <joseph@codesourcery.com>
16248
d2f9799e
JM
16249 [BZ #15283]
16250 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16251 for arguments at most half maximum finite value.
16252 * math/libm-test.inc (j0_test): Add more tests.
16253 (j1_test): Likewise.
16254 (y0_test): Likewise.
16255 (y1_test): Likewise.
16256 * sysdeps/i386/fpu/libm-test-ulps: Update.
16257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16258
2a185d32
JM
16259 [BZ #14155]
16260 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16261 1 / x and functions P and Q for arguments above 0x1p256L.
16262 (__ieee754_y0l): Likewise.
16263 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16264 (__ieee754_y1l): Likewise.
16265 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16266 (j1_test): Likewise.
16267 (y0_test): Likewise.
16268 (y1_test): Likewise.
16269
6cbec759
TS
162702013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16271
16272 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16273 variable.
16274
bc16e260
RM
162752013-03-15 Roland McGrath <roland@hack.frob.com>
16276
aefc9b8c
RM
16277 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16278 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16279 zero since it's initialized to EXEC_PAGESIZE.
16280
bc16e260
RM
16281 * sysdeps/unix/sysv/linux/ldsodefs.h
16282 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16283 * sysdeps/generic/ldsodefs.h: ... here.
16284
a57da955
TS
162852013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16286
af00a34d
TS
16287 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16288
495ded2c
TS
16289 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16290 math/test-snan.c.
16291 * math/test-snan.c: Renamed from
16292 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16293 * math/Makefile (tests): Add test-snan.
16294 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16295 test-powerpc-snan.
16296
777b0332
TS
16297 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16298 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16299 functions.
16300 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16301 __builtin_nan family of functions.
16302 * math/libm-test.inc (initialize): Initialize qnan_value with
16303 __builtin_nan family of functions.
16304 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16305 Remove variables.
16306 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16307 Remove functions.
16308 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16309 storage class. Initialize qNaN_var and sNaN_var with
16310 __builtin_nan and __builtin_nans families of functions,
16311 respectively.
16312
64d063b8
TS
16313 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16314 (sqrt_test): Remove duplicate test with qNaN input.
16315 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16316 (round_test, signbit_test, significand_test): Note missing +/-Inf
16317 as well as qNaN tests.
16318
67e971f1
TS
16319 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16320 qNaN_var. Fix a few strings, too.
16321 * math/libm-test.inc (nan_value): Rename to qnan_value.
16322 * math/gen-libm-test.pl (%beautify): Adjust to that.
16323 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16324 * math/test-misc.c (main): Likewise.
16325 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16326 to __qnan_bytes, and __qnan_union, respectively.
16327 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16328 Likewise.
16329 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16330 and lqnanval, respectively.
16331 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16332 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16333 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16334 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16335
64487e12
TS
16336 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16337 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16338 doubles.
16339
e015e27b
TS
16340 * math/test-misc.c (main): Fix copy'n'pastos.
16341 * misc/tst-efgcvt.c (special): Likewise.
16342
a57da955
TS
16343 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16344 Remove declarations.
16345
1e380345
SP
163462013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16347
16348 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16349 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16350 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16351 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16352
ef26eece
AZ
163532013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16354
16355 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16356 macro to return vdso values correctly in IFUNC implementations.
16357 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16358 Optimization by using IFUNC.
16359
8cfdb7e0
SP
163602013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16361 Richard Henderson <rth@redhat.com>
16362 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16363
16364 * Makefile.in (bench): New target.
16365 * NEWS: Mention the benchmark framework.
16366 * Rules (bench): Likewise.
16367 (binaries-bench): Generate binaries for functions to
16368 benchmark.
16369 * benchtests/Makefile: New makefile for benchmark tests.
16370 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16371 programs.
16372 * benchtests/exp-inputs: New input file for EXP function.
16373 * benchtests/pow-inputs: New input file for POW function.
16374 * scripts/bench.pl: New script to generate source files for
16375 benchmark programs.
16376
bcda9880
SP
163772013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16378
d22ca8cd
SP
16379 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16380 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16381 computations on mantissa. Use macros for rounding and
16382 division.
16383 (denorm): Likewise.
16384 (__dbl_mp): Likewise.
16385 (add_magnitudes): Likewise.
16386 (sub_magnitudes): Likewise.
16387 (__mul): Likewise.
16388 (__sqr): Likewise.
16389 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16390 powers of two in terms of TWOPOW macro.
16391 (mp_no): Make type of mantissa as MANTISSA_T.
16392 [!RADIXI]: Define RADIXI.
16393 [!TWO52]: Define TWO52.
16394 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16395
bcda9880
SP
16396 * manual/nptl.texi (cindex): Modify threads to pthreads.
16397
06d5adfb
JM
163982013-03-15 Joseph Myers <joseph@codesourcery.com>
16399
16400 * sysdeps/x86_64/preconfigure: Regenerated.
16401
41c7328e
JM
164022013-03-14 Joseph Myers <joseph@codesourcery.com>
16403
16404 [BZ #14155]
16405 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16406 0x1p28 and above.
16407 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16408 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16409 0x1p28 and above.
16410 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16411 * math/libm-test.inc (j0_test): Do not allow one spurious
16412 underflow exception.
16413 (y1_test): Likewise.
16414
e25cfa60
SP
164152013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16416
0409959c
SP
16417 * manual/Makefile (chapters): Add nptl.
16418 * manual/debug.texi (Debugging Support): Add link to Threads
16419 chapter.
16420 * manual/nptl.texi: New file.
16421
e25cfa60
SP
16422 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16423
58a1335e
PB
164242013-03-14 Petr Baudis <pasky@ucw.cz>
16425
16426 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16427 for non-NULL pointer before the memory validity test. Pointed
16428 out by Holger Brunck <holger.brunck@keymile.com>.
16429
9dc7c64f
AS
164302013-03-13 Andreas Schwab <schwab@suse.de>
16431
16432 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16433 instead of .os.
16434
54206aa6
JM
164352013-03-13 Joseph Myers <joseph@codesourcery.com>
16436
16437 * timezone/zic.c: Update from tzcode 2013b.
16438
e98cdb38
CD
164392013-03-12 Carlos O'Donell <carlos@redhat.com>
16440
16441 * manual/install.texi (Configuring and compiling):
16442 Mention i686 and i586.
16443 * INSTALL: Regenerate.
16444
9967e003
RM
164452013-03-12 Roland McGrath <roland@hack.frob.com>
16446
16447 * sysdeps/init_array/elf-init.c: New file.
16448 * csu/elf-init.c
16449 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16450 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16451
16452 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16453 __gmon_start__ as global, but as static with a .preinit_array pointer.
16454 * sysdeps/init_array/gmon-start.c: New file. Use that.
16455 * sysdeps/init_array/crti.S: New file, empty except for comments.
16456 * sysdeps/init_array/crtn.S: Likewise.
16457
e6b5a293 164582013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16459
16460 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16461 definining bcopy.
80f844c9
OB
16462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16463 Remove Prefer_SSE_for_memop.
16464 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16465 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16466 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16468 memset-x86-64.
80f844c9 16469 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16470 Remove bzero, memset ifunc support.
80f844c9
OB
16471 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16472 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16473 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16474 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16475
fb6b0fcb
AS
164762013-03-11 Andreas Schwab <schwab@suse.de>
16477
16478 [BZ #15234]
16479 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16480 by SHLIB_COMPAT.
16481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16482 (GLIBC_2.16): Remove pthread_atfork.
16483
3e6bd4b1
PP
164842013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16485
16486 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16487 (ptestcases.h): Likewise.
16488
222d7f00
RM
164892013-03-08 Roland McGrath <roland@hack.frob.com>
16490
16491 * Makeconfig ($(common-objpfx)config.status): Depend on
16492 sysdeps/*/preconfigure{,.in} too.
16493
1ba4f030
JM
164942013-03-08 Joseph Myers <joseph@codesourcery.com>
16495
a222d91a
JM
16496 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16497 (__free_hook): Use void * instead of __malloc_ptr_t.
16498 (__malloc_hook): Likewise.
16499 (__realloc_hook): Likewise.
16500 (__memalign_hook): Likewise.
16501 (__after_morecore_hook): Likewise.
16502 * malloc/arena.c (save_malloc_hook): Likewise.
16503 (save_free_hook): Likewise.
16504 * malloc/hooks.c (malloc_hook_ini): Likewise.
16505 (realloc_hook_ini): Likewise.
16506 (memalign_hook_ini): Likewise.
16507 * malloc/malloc.c (malloc_hook_ini): Likewise.
16508 (realloc_hook_ini): Likewise.
16509 (memalign_hook_ini): Likewise.
16510 (__free_hook): Likewise.
16511 (__malloc_hook): Likewise.
16512 (__realloc_hook): Likewise.
16513 (__memalign_hook): Likewise.
16514 (__libc_malloc): Likewise.
16515 (__libc_free): Likewise.
16516 (__libc_realloc): Likewise.
16517 (__libc_memalign): Likewise.
16518 (__libc_valloc): Likewise.
16519 (__libc_pvalloc): Likewise.
16520 (__libc_calloc): Likewise.
16521 (__posix_memalign): Likewise.
16522 * malloc/morecore.c (__sbrk): Likewise.
16523 (__default_morecore): Likewise.
16524
5cc45e10
JM
16525 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16526
dd54b864
JM
16527 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16528 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16529 __malloc_ptrdiff_t.
16530
1ba4f030
JM
16531 * malloc/malloc.h (__malloc_size_t): Remove macro.
16532 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16533 __malloc_size_t.
16534 (old_memalign_hook): Likewise.
16535 (old_realloc_hook): Likewise.
16536 (struct hdr): Likewise.
16537 (flood): Likewise.
16538 (mallochook): Likewise.
16539 (memalignhook): Likewise.
16540 (reallochook): Likewise.
16541 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16542 (tr_old_realloc_hook): Likewise.
16543 (tr_old_memalign_hook): Likewise.
16544 (tr_mallochook): Likewise.
16545 (tr_reallochook): Likewise.
16546 (tr_memalignhook): Likewise.
16547
edf66e57
AZ
165482013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16549
16550 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16551 default_ldbl_pack and using as default implementation.
16552 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16553 implementation.
16554 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16555 redundant definition.
16556 (ldbl_insert_mantissa): Likewise.
16557 (ldbl_canonicalize): Likewise.
16558 (ldbl_nearbyint): Likewise.
16559 (ldbl_pack): Rename to ldbl_pack_ppc.
16560 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16561 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16562 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16563
6d9145d8
SP
165642013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16565
16566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16567 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16568 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16569 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16570 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16571 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16572 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16573 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16574
4dd4e157
AJ
165752013-03-07 Andreas Jaeger <aj@suse.de>
16576
16577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16578 bits/mman-linux.h.
16579
adbb8027
SP
165802013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16581
ce544b5b
SP
16582 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16583 Include mpa.h and declare __MPEXP.
16584 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16585 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16586 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16587 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16588 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16589 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16590 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16591
4cc149fd
SP
16592 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16593 (__slowpow): Use long double EXPL and LOGL functions to
16594 compute POW.
16595 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16596 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16597 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16598 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16599 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16600 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16601
e6ebd4a7
SP
16602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16603 intermediate variable to calculate exponent.
16604 (__sqr): Likewise.
16605 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16606 Likewise.
16607 (__sqr): Likewise.
16608
82a9811d
SP
16609 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16610 [!NO__SQR]: Define __sqr.
16611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16612 and NO__SQR. Remove all code except __mul and __sqr. Include
16613 sysdeps/ieee754/dbl-64/mpa.c.
16614 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16615
adbb8027
SP
16616 [BZ #12723]
16617 * posix/Makefile (tests): Add tst-pathconf.
16618 * posix/tst-pathconf.c: New test case.
16619 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16620 _PC_PIPE_BUF.
16621 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16622
39120df9
PF
166232013-03-06 Patsy Franklin <pfrankli@redhat.com>
16624
16625 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16626
67525cb8
AJ
166272013-03-06 Andreas Jaeger <aj@suse.de>
16628
664a9ce4
AJ
16629 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16630 definition via __MAP_ANONYMOUS.
16631
8e39047d
AJ
16632 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16633 it's not part of Linux headers.
16634
67525cb8
AJ
16635 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16636 (MAP_HUGE_MASK): Define.
16637
16638 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16639 Define.
16640 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16641 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16642 Define.
16643 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16644 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16645 Define.
16646 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16647 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16648 Define.
16649 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16650
16651 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16652 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16653 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16654 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16655 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16656 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16657
16658 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16659 Handle f2fs.
16660
16661 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16662 Handle f2fs and efivarfs.
16663
16664 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16665 f2fs.
16666
16667 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16668 (EFIVARFS_MAGIC): Add.
16669 (F2FS_LINK_MAX): Add.
16670
e1b42695
PP
166712013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16672
16673 * stdio-common/vfprintf.c: Replace __builtin_expect with
16674 __glibc_unlikely.
16675
2d67d91a
JM
166762013-03-06 Joseph Myers <joseph@codesourcery.com>
16677
16678 [BZ #13550]
16679 * sysdeps/generic/bp-sym.h: Remove file.
16680 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16681 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16682 <bp-sym.h> and <bp-asm.h>.
16683 (__longjmp): Don't use BP_SYM.
16684 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16685 and <bp-asm.h>.
16686 (memcpy): Don't use BP_SYM.
16687 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16688 <bp-sym.h> and <bp-asm.h>.
16689 (memcpy): Don't use BP_SYM.
16690 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16691 <bp-asm.h>.
16692 (memcpy): Don't use BP_SYM.
16693 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16694 <bp-asm.h>.
16695 (memset): Don't use BP_SYM.
16696 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16697 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16698 (__bzero): Don't use BP_SYM.
16699 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16700 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16701 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16702 <bp-sym.h> and <bp-asm.h>.
16703 (memcmp): Don't use BP_SYM. Remove comment about bounded
16704 pointers.
16705 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16706 <bp-sym.h> and <bp-asm.h>.
16707 (memcpy): Don't use BP_SYM.
16708 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16709 <bp-sym.h> and <bp-asm.h>.
16710 (memset): Don't use BP_SYM.
16711 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16712 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16713 (__bzero): Don't use BP_SYM.
16714 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16715 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16716 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16717 <bp-sym.h> and <bp-asm.h>.
16718 (strncmp): Don't use BP_SYM. Remove comment about bounded
16719 pointers.
16720 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16721 <bp-sym.h> and <bp-asm.h>.
16722 (memcpy): Don't use BP_SYM.
16723 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16724 <bp-sym.h> and <bp-asm.h>.
16725 (memset): Don't use BP_SYM.
16726 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16727 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16728 (__bzero): Don't use BP_SYM.
16729 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16730 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16731 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16732 <bp-sym.h> and <bp-asm.h>.
16733 (__memchr): Don't use BP_SYM.
16734 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16735 <bp-sym.h> and <bp-asm.h>.
16736 (memcmp): Don't use BP_SYM. Remove comment about bounded
16737 pointers.
16738 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16739 <bp-sym.h> and <bp-asm.h>.
16740 (memcpy): Don't use BP_SYM.
16741 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16742 <bp-sym.h> and <bp-asm.h>.
16743 (__mempcpy): Don't use BP_SYM.
16744 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16745 <bp-sym.h> and <bp-asm.h>.
16746 (__memrchr): Don't use BP_SYM.
16747 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16748 <bp-sym.h> and <bp-asm.h>.
16749 (memset): Don't use BP_SYM.
16750 (__bzero): Likewise.
16751 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16752 <bp-sym.h> and <bp-asm.h>.
16753 (__rawmemchr): Don't use BP_SYM.
16754 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16755 <bp-sym.h> and <bp-asm.h>.
16756 (__STRCMP): Don't use BP_SYM.
16757 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16758 <bp-sym.h> and <bp-asm.h>.
16759 (strchr): Don't use BP_SYM.
16760 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16761 <bp-sym.h> and <bp-asm.h>.
16762 (__strchrnul): Don't use BP_SYM.
16763 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16764 <bp-sym.h> and <bp-asm.h>.
16765 (strlen): Don't use BP_SYM.
16766 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16767 <bp-sym.h> and <bp-asm.h>.
16768 (strncmp): Don't use BP_SYM. Remove comment about bounded
16769 pointers.
16770 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16771 <bp-sym.h> and <bp-asm.h>.
16772 (__strnlen): Don't use BP_SYM.
16773 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16774 <bp-sym.h> and <bp-asm.h>.
16775 (__GI__setjmp): Don't use BP_SYM.
16776 (_setjmp): Likewise.
16777 (__sigsetjmp): Likewise.
16778 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16779 (L(start_addresses)): Don't use BP_SYM.
16780 (_start): Likewise.
16781 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16782 <bp-asm.h>.
16783 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16784 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16785 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16786 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16787 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16788 <bp-asm.h>.
16789 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16790 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16791 about bounded pointers.
16792 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16793 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16794 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16795 <bp-asm.h>.
16796 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16797 about bounded pointers. Remove GKM FIXME comments.
16798 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16799 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16800 <bp-asm.h>.
16801 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16802 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16803 Remove GKM FIXME comments.
16804 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16805 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16806 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16807 <bp-asm.h>.
16808 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16809 about bounded pointers. Remove GKM FIXME comment.
16810 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16811 and <bp-asm.h>.
16812 (strncmp): Don't use BP_SYM. Remove comment about bounded
16813 pointers.
16814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16815 <bp-sym.h> and <bp-asm.h>.
16816 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16818 <bp-sym.h> and <bp-asm.h>.
16819 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16820 comment.
16821
cdcf361f
PP
168222013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16823
16824 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16825 call free(NULL).
16826
3c4a2b15
DM
168272013-03-05 David S. Miller <davem@davemloft.net>
16828
16829 * po/es.po: Update from translation team.
16830
cdcf361f 168312013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16832
16833 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16834 <bits/mman-linux.h>.
16835 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16836 is fine.
16837 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16838 <bits/mman-linux.h> to end of file.
16839 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16840 is fine.
16841 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16842 <bits/mman-linux.h> to end of file.
16843 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16844 is fine.
16845 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16846 <bits/mman-linux.h> to end of file.
16847
16848 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16849 (MCL_CURRENT, MCL_FUTURE): Define here.
16850
5f67c04f
AK
168512013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16852
8a4473cc 16853 [BZ #15232]
5f67c04f
AK
16854 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16855 attribute_hidden.
16856 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16857
c3e94a95
AK
168582013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16859
16860 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16861 fourth parameter needed for rt_sigprocmask syscall.
16862 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16863 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16864 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16865 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16866 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16867 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16868
cfb6382a
JM
168692013-03-04 Joseph Myers <joseph@codesourcery.com>
16870
16871 [BZ #13550]
16872 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16873 comment about bounded pointers.
16874 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16875 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16876
539d8e01
AJ
168772013-03-04 Andreas Jaeger <aj@suse.de>
16878
16879 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16880 common definitions.
16881
16882 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16883 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16884 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16885 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16886 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16887 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16888
2e167a70 168892013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16890
16891 [BZ #15055]
16892 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16893 __ieee754_sqrl instead of __sqrl.
16894
68508633
JM
168952013-03-01 Joseph Myers <joseph@codesourcery.com>
16896
16897 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16898 * sysdeps/powerpc/fpu_control.h: ... here.
16899 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16900 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16901 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16902 * sysdeps/powerpc/bits/mathinline.h: ... here.
16903
7775448e
RM
169042013-03-01 Roland McGrath <roland@hack.frob.com>
16905
16906 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16907 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16908 to just [NEED_DL_SYSINFO_DSO].
16909 * elf/dl-support.c: Likewise.
16910 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16911 * elf/rtld.c (dl_main): Likewise.
16912 * elf/setup-vdso.h (setup_vdso): Likewise.
16913 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16914 * sysdeps/unix/sysv/linux/dl-sysdep.c
16915 (_dl_discover_osversion): Likewise.
16916
4e9b5995
CD
169172013-03-01 Carlos O'Donell <carlos@redhat.com>
16918
16919 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16920 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16921
e23872c8
SP
169222013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16923
e5c74c63
SP
16924 * NEWS: Mention libm performance improvements and non-x86 PI
16925 futex support.
16926
e23872c8
SP
16927 * csu/libc-start.c (__pthread_initialize_minimal): Change
16928 function arguments.
16929 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16930
b5510883
JM
169312013-02-28 Joseph Myers <joseph@codesourcery.com>
16932
16933 [BZ #13550]
16934 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16935 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16936 <bp-sym.h> and <bp-asm.h>.
16937 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16938 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16939 and <bp-asm.h>.
16940 (memcpy): Don't use BP_SYM.
16941 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16942 <bp-asm.h>.
16943 (__mpn_add_n): Don't use BP_SYM.
16944 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16945 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16946 and <bp-asm.h>.
16947 (__mpn_addmul_1): Don't use BP_SYM.
16948 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16949 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16950 <bp-sym.h>.
16951 (_setjmp): Don't use BP_SYM.
16952 (__novmx_setjmp): Likewise.
16953 (__GI__setjmp): Likewise.
16954 (__vmx_setjmp): Likewise.
16955 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16956 <bp-sym.h>.
16957 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16958 (__bzero): Don't use BP_SYM.
16959 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16960 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16961 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16962 <bp-sym.h> and <bp-asm.h>.
16963 (memcpy): Don't use BP_SYM.
16964 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16965 <bp-sym.h> and <bp-asm.h>.
16966 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16967 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16968 <bp-sym.h> and <bp-asm.h>.
16969 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16970 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16971 <bp-asm.h>.
16972 (__mpn_lshift): Don't use BP_SYM.
16973 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16974 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16975 <bp-asm.h>.
16976 (memset): Don't use BP_SYM.
16977 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16978 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16979 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16980 <bp-asm.h>.
16981 (__mpn_mul_1): Don't use BP_SYM.
16982 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16983 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16984 <bp-sym.h> and <bp-asm.h>.
16985 (memcmp): Don't use BP_SYM.
16986 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16987 <bp-sym.h> and <bp-asm.h>.
16988 (memcpy): Don't use BP_SYM.
16989 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16990 <bp-sym.h> and <bp-asm.h>.
16991 (memset): Don't use BP_SYM.
16992 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16993 <bp-sym.h> and <bp-asm.h>.
16994 (strncmp): Don't use BP_SYM.
16995 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16996 <bp-sym.h> and <bp-asm.h>.
16997 (memcpy): Don't use BP_SYM.
16998 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16999 <bp-sym.h> and <bp-asm.h>.
17000 (memset): Don't use BP_SYM.
17001 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17002 <bp-sym.h> and <bp-asm.h>.
17003 (__memchr): Don't use BP_SYM.
17004 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17005 <bp-sym.h> and <bp-asm.h>.
17006 (memcmp): Don't use BP_SYM.
17007 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17008 <bp-sym.h> and <bp-asm.h>.
17009 (memcpy): Don't use BP_SYM.
17010 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17011 <bp-sym.h> and <bp-asm.h>.
17012 (__mempcpy): Don't use BP_SYM.
17013 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17014 <bp-sym.h> and <bp-asm.h>.
17015 (__memrchr): Don't use BP_SYM.
17016 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17017 <bp-sym.h> and <bp-asm.h>.
17018 (memset): Don't use BP_SYM.
17019 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17020 <bp-sym.h> and <bp-asm.h>.
17021 (__rawmemchr): Don't use BP_SYM.
17022 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17023 <bp-sym.h> and <bp-asm.h>.
17024 (__STRCMP): Don't use BP_SYM.
17025 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17026 <bp-sym.h> and <bp-asm.h>.
17027 (strchr): Don't use BP_SYM.
17028 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17029 <bp-sym.h> and <bp-asm.h>.
17030 (__strchrnul): Don't use BP_SYM.
17031 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17032 <bp-sym.h> and <bp-asm.h>.
17033 (strlen): Don't use BP_SYM.
17034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17035 <bp-sym.h> and <bp-asm.h>.
17036 (strncmp): Don't use BP_SYM.
17037 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17038 <bp-sym.h> and <bp-asm.h>.
17039 (__strnlen): Don't use BP_SYM.
17040 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17041 <bp-asm.h>.
17042 (__mpn_rshift): Don't use BP_SYM.
17043 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17044 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17045 <bp-sym.h> and <bp-asm.h>.
17046 (__sigsetjmp): Don't use BP_SYM.
17047 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17048 (L(start_addresses)): Don't use BP_SYM.
17049 (_start): Likewise.
17050 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17051 <bp-asm.h>.
17052 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17053 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17054 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17055 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17056 <bp-asm.h>.
17057 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17058 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17059 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17060 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17061 <bp-asm.h>.
17062 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17063 comments.
17064 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17065 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17066 <bp-asm.h>.
17067 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17068 FIXME comments.
17069 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17070 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17071 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17072 <bp-asm.h>.
17073 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17074 comment.
17075 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17076 and <bp-asm.h>.
17077 (strncmp): Don't use BP_SYM,
17078 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17079 <bp-asm.h>.
17080 (__mpn_sub_n): Don't use BP_SYM.
17081 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17082 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17083 and <bp-asm.h>.
17084 (__mpn_submul_1): Don't use BP_SYM.
17085 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17087 <bp-sym.h> and <bp-asm.h>.
17088 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17090 <bp-sym.h> and <bp-asm.h>.
17091 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17092 comment.
17093
8d19fe64
SP
170942013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17095
17096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17097 Use ZK to minimize writes to Z.
17098 (sub_magnitudes): Simplify code a bit.
17099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17100 Use ZK to minimize writes to Z.
17101 (sub_magnitudes): Simplify code a bit.
17102
85bd816a
RM
171032013-02-27 Roland McGrath <roland@hack.frob.com>
17104
17105 * csu/gmon-start.c: Add special exception to license text.
17106
b5977bf2
RH
171072013-02-27 Richard Henderson <rth@redhat.com>
17108
17109 * scripts/config.guess: Update from config.git.
17110 * scripts/config.sub: Likewise.
17111
11d6e2f2
SP
171122013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17113
09c14ed2
SP
17114 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17115
a688864e
SP
17116 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17117
6295157a
SP
17118 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17119
b8de2202
SP
17120 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17121
11d6e2f2
SP
17122 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17123
7e80ddb8
RM
171242013-02-26 Roland McGrath <roland@hack.frob.com>
17125
17126 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17127 [$(build-shared = yes].
7e80ddb8 17128
7da6d9ed
SP
171292013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17130
45f05884
SP
17131 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17132 (__mul): Reduce iterations for calculating mantissa.
17133
2236d359
SP
17134 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17135 MPTWO.
17136 (__mpranred): Likewise.
17137
7da6d9ed
SP
17138 [BZ #15160]
17139 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17140 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17141
b7688c42
PE
171422013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17143
17144 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17145 Define __attribute__.
17146
53a5c423
SP
171472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17148
17149 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17150 unused.
17151 * posix/regex_internal.h (__attribute): Remove.
17152 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17153 (re_string_context_at): Likewise.
17154 (bitset_not): Use __attribute__ and mark function as possibly
17155 unused.
17156 (bitset_merge): Likewise.
17157 (bitset_mask): Likewise.
17158 (re_string_char_size_at): Likewise.
17159 (re_string_wchar_at): Likewise.
17160 (re_string_elem_size_at): Likewise.
17161
60f5a8b5
SP
171622013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17163
2a983a2e
SP
17164 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17165 code.
17166 (cc32): Likewise.
17167
e69804d1
SP
17168 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17169 (__acr): Likewise.
17170 (__cpy): Likewise.
17171 (norm): Likewise.
17172 (denorm): Likewise.
17173 (__dbl_mp): Likewise.
17174 (add_magnitudes): Likewise.
17175 (sub_magnitudes): Likewise.
17176 (__mul): Likewise.
17177 (__inv): Likewise.
17178
2f22a1e8
SP
17179 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17180 style.
17181
8930ddc7
SP
17182 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17183 style.
17184
dc60cb11
SP
17185 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17186 code.
17187
60f5a8b5
SP
17188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17189 up changes with default code.
17190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17191 Likewise.
17192
b4d1fd33
AM
171932013-02-24 Allan McRae <allan@archlinux.org>
17194
faf6f8bc
AM
17195 * manual/socket.texi (The Internet Namespace): Order menu items
17196 to match that in the file.
17197
b4d1fd33
AM
17198 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17199 node listing of the info page menu.
17200
2366713d
JM
172012013-02-21 Joseph Myers <joseph@codesourcery.com>
17202
17203 [BZ #13550]
17204 * sysdeps/i386/bp-asm.h: Remove file.
17205 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17206 (PARMS): Do not use macros from bp-asm.h.
17207 (S1): Likewise.
17208 (S2): Likewise.
17209 (SIZE): Likewise.
17210 (__mpn_add_n): Do not use BP_SYM
17211 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17212 "bp-asm.h".
17213 (PARMS): Do not use macros from bp-asm.h.
17214 (S1): Likewise.
17215 (SIZE): Likewise.
17216 (__mpn_addmul_1): Do not use BP_SYM
17217 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17218 "bp-asm.h".
17219 (PARMS): Do not use macros from bp-asm.h.
17220 (SIGMSK): Likewise.
17221 (_setjmp): Likewise. Do not use BP_SYM.
17222 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17223 "bp-asm.h".
17224 (PARMS): Do not use macros from bp-asm.h.
17225 (SIGMSK): Likewise.
17226 (setjmp): Likewise. Do not use BP_SYM.
17227 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17228 "bp-asm.h".
17229 (PARMS): Do not use macros from bp-asm.h.
17230 (__frexp): Do not use BP_SYM.
17231 (frexp): Likewise.
17232 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17233 "bp-asm.h".
17234 (PARMS): Do not use macros from bp-asm.h.
17235 (__frexpf): Do not use BP_SYM.
17236 (frexpf): Likewise.
17237 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17238 "bp-asm.h".
17239 (PARMS): Do not use macros from bp-asm.h.
17240 (__frexpl): Do not use BP_SYM.
17241 (frexpl): Likewise.
17242 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17243 "bp-asm.h".
17244 (PARMS): Do not use macros from bp-asm.h.
17245 (__remquo): Do not use BP_SYM.
17246 (remquo): Likewise.
17247 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17248 "bp-asm.h".
17249 (PARMS): Do not use macros from bp-asm.h.
17250 (__remquof): Do not use BP_SYM.
17251 (remquof): Likewise.
17252 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17253 "bp-asm.h".
17254 (PARMS): Do not use macros from bp-asm.h.
17255 (__remquol): Do not use BP_SYM.
17256 (remquol): Likewise.
17257 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17258 "bp-asm.h".
17259 (PARMS): Do not use macros from bp-asm.h.
17260 (DEST): Likewise.
17261 (SRC): Likewise.
17262 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17263 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17264 "bp-asm.h".
17265 (PARMS): Do not use macros from bp-asm.h.
17266 (strlen): Do not use BP_SYM.
17267 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17268 "bp-asm.h".
17269 (PARMS): Do not use macros from bp-asm.h.
17270 (S1): Likewise.
17271 (S2): Likewise.
17272 (SIZE): Likewise.
17273 (__mpn_add_n): Do not use BP_SYM.
17274 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17275 "bp-asm.h".
17276 (PARMS): Do not use macros from bp-asm.h.
17277 (S1): Likewise.
17278 (SIZE): Likewise.
17279 (__mpn_addmul_1): Do not use BP_SYM.
17280 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17281 weak_alias.
17282 (bzero): Likewise.
17283 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17284 "bp-asm.h".
17285 (PARMS): Do not use macros from bp-asm.h.
17286 (S): Likewise.
17287 (SIZE): Likewise.
17288 (__mpn_lshift): Do not use BP_SYM.
17289 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17290 "bp-asm.h".
17291 (PARMS): Do not use macros from bp-asm.h.
17292 (DEST): Likewise.
17293 (SRC): Likewise.
17294 (LEN): Likewise.
17295 (memcpy): Likewise. Do not use BP_SYM.
17296 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17297 libc_hidden_def and weak_alias.
17298 (mempcpy): Do not use BP_SYM in weak_alias.
17299 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17300 "bp-asm.h".
17301 (PARMS): Do not use macros from bp-asm.h.
17302 (DEST): Likewise.
17303 (LEN): Likewise.
17304 [!BZERO_P] (CHR): Likewise.
17305 (memset): Likewise. Do not use BP_SYM.
17306 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17307 "bp-asm.h".
17308 (PARMS): Do not use macros from bp-asm.h.
17309 (S1): Likewise.
17310 (SIZE): Likewise.
17311 (__mpn_mul_1): Do not use BP_SYM.
17312 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17313 "bp-asm.h".
17314 (PARMS): Do not use macros from bp-asm.h.
17315 (S): Likewise.
17316 (SIZE): Likewise.
17317 (__mpn_rshift): Do not use BP_SYM.
17318 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17319 "bp-asm.h".
17320 (PARMS): Do not use macros from bp-asm.h.
17321 (STR): Likewise.
17322 (CHR): Likewise.
17323 (strchr): Likewise. Do not use BP_SYM.
17324 (index): Do not use BP_SYM in weak_alias.
17325 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17326 "bp-asm.h".
17327 (PARMS): Do not use macros from bp-asm.h.
17328 (DEST): Likewise.
17329 (SRC): Likewise.
17330 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17331 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17332 "bp-asm.h".
17333 (PARMS): Do not use macros from bp-asm.h.
17334 (strlen): Do not use BP_SYM.
17335 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17336 "bp-asm.h".
17337 (PARMS): Do not use macros from bp-asm.h.
17338 (S1): Likewise.
17339 (S2): Likewise.
17340 (SIZE): Likewise.
17341 (__mpn_sub_n): Do not use BP_SYM.
17342 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17343 "bp-asm.h".
17344 (PARMS): Do not use macros from bp-asm.h.
17345 (S1): Likewise.
17346 (SIZE): Likewise.
17347 (__mpn_submul_1): Do not use BP_SYM.
17348 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17349 "bp-asm.h".
17350 (PARMS): Do not use macros from bp-asm.h.
17351 (S1): Likewise.
17352 (S2): Likewise.
17353 (SIZE): Likewise.
17354 (__mpn_add_n): Do not use BP_SYM.
17355 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17356 weak_alias.
17357 (bzero): Likewise.
17358 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17359 "bp-asm.h".
17360 (PARMS): Do not use macros from bp-asm.h.
17361 (BLK2): Likewise.
17362 (LEN): Likewise.
17363 (memcmp): Do not use BP_SYM.
17364 (bcmp): Do not use BP_SYM in weak_alias.
17365 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17366 "bp-asm.h".
17367 (PARMS): Do not use macros from bp-asm.h.
17368 (DEST): Likewise.
17369 (SRC): Likewise.
17370 (LEN): Likewise.
17371 (memcpy): Likewise. Do not use BP_SYM.
17372 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17373 "bp-asm.h".
17374 (PARMS): Do not use macros from bp-asm.h.
17375 (DEST): Likewise.
17376 (SRC): Likewise.
17377 (LEN): Likewise.
17378 (memmove): Likewise. Do not use BP_SYM.
17379 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17380 "bp-asm.h".
17381 (PARMS): Do not use macros from bp-asm.h.
17382 (DEST): Likewise.
17383 (SRC): Likewise.
17384 (LEN): Likewise.
17385 (__mempcpy): Likewise. Do not use BP_SYM.
17386 (mempcpy): Do not use BP_SYM in weak_alias.
17387 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17388 "bp-asm.h".
17389 (PARMS): Do not use macros from bp-asm.h.
17390 (DEST): Likewise.
17391 (LEN): Likewise.
17392 [!BZERO_P] (CHR): Likewise.
17393 (memset): Likewise. Do not use BP_SYM.
17394 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17395 "bp-asm.h".
17396 (PARMS): Do not use macros from bp-asm.h.
17397 (STR2): Likewise.
17398 (strcmp): Do not use BP_SYM.
17399 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17400 "bp-asm.h".
17401 (PARMS): Do not use macros from bp-asm.h.
17402 (STR): Likewise.
17403 (DELIM): Likewise.
17404 [USE_AS_STRTOK_R] (SAVE): Likewise.
17405 (FUNCTION): Likewise. Do not use BP_SYM.
17406 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17407 aliases.
17408 (strtok_r): Likewise.
17409 (__GI___strtok_r): Likewise.
17410 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17411 (PARMS): Do not use macros from bp-asm.h.
17412 (S): Likewise.
17413 (SIZE): Likewise.
17414 (__mpn_lshift): Do not use BP_SYM.
17415 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17416 (PARMS): Do not use macros from bp-asm.h.
17417 (STR): Likewise.
17418 (CHR): Likewise.
17419 (__memchr): Do not use BP_SYM.
17420 (memchr): Do not use BP_SYM in weak_alias.
17421 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17422 (PARMS): Do not use macros from bp-asm.h.
17423 (BLK2): Likewise.
17424 (LEN): Likewise.
17425 (memcmp): Do not use BP_SYM.
17426 (bcmp): Do not use BP_SYM in weak_alias.
17427 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17428 (PARMS): Do not use macros from bp-asm.h.
17429 (S1): Likewise.
17430 (SIZE): Likewise.
17431 (__mpn_mul_1): Do not use BP_SYM.
17432 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17433 "bp-asm.h".
17434 (PARMS): Do not use macros from bp-asm.h.
17435 (STR): Likewise.
17436 (CHR): Likewise.
17437 (__rawmemchr): Do not use BP_SYM.
17438 (rawmemchr): Do not use BP_SYM in weak_alias.
17439 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17440 (PARMS): Do not use macros from bp-asm.h.
17441 (S): Likewise.
17442 (SIZE): Likewise.
17443 (__mpn_rshift): Do not use BP_SYM.
17444 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17445 (PARMS): Do not use macros from bp-asm.h.
17446 (SIGMSK): Likewise.
17447 (__sigsetjmp): Likewise. Do not use BP_SYM.
17448 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17449 (_start): Do not use BP_SYM.
17450 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17451 (PARMS): Do not use macros from bp-asm.h.
17452 (DEST): Likewise.
17453 (SRC): Likewise.
17454 (__stpcpy): Likewise. Do not use BP_SYM.
17455 (stpcpy): Do not use BP_SYM in weak_alias.
17456 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17457 "bp-asm.h".
17458 (PARMS): Do not use macros from bp-asm.h.
17459 (DEST): Likewise.
17460 (SRC): Likewise.
17461 (LEN): Likewise.
17462 (__stpncpy): Likewise. Do not use BP_SYM.
17463 (stpncpy): Do not use BP_SYM in weak_alias.
17464 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17465 (PARMS): Do not use macros from bp-asm.h.
17466 (STR): Likewise.
17467 (CHR): Likewise.
17468 (strchr): Likewise. Do not use BP_SYM.
17469 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17470 "bp-asm.h".
17471 (PARMS): Do not use macros from bp-asm.h.
17472 (STR): Likewise.
17473 (CHR): Likewise.
17474 (__strchrnul): Likewise. Do not use BP_SYM.
17475 (strchrnul): Do not use BP_SYM in weak_alias.
17476 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17477 "bp-asm.h".
17478 (PARMS): Do not use macros from bp-asm.h.
17479 (STOP): Likewise.
17480 (strcspn): Do not use BP_SYM.
17481 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17482 "bp-asm.h".
17483 (PARMS): Do not use macros from bp-asm.h.
17484 (STR): Likewise.
17485 (STOP): Likewise.
17486 (strpbrk): Likewise. Do not use BP_SYM.
17487 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17488 "bp-asm.h".
17489 (PARMS): Do not use macros from bp-asm.h.
17490 (STR): Likewise.
17491 (CHR): Likewise.
17492 (strrchr): Likewise. Do not use BP_SYM.
17493 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17494 (PARMS): Do not use macros from bp-asm.h.
17495 (SKIP): Likewise.
17496 (strspn): Do not use BP_SYM.
17497 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17498 (PARMS): Do not use macros from bp-asm.h.
17499 (STR): Likewise.
17500 (DELIM): Likewise.
17501 (SAVE): Likewise.
17502 (FUNCTION): Likewise. Do not use BP_SYM.
17503 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17504 aliases.
17505 (strtok_r): Likewise.
17506 (__GI___strtok_r): Likewise.
17507 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17508 (PARMS): Do not use macros from bp-asm.h.
17509 (S1): Likewise.
17510 (S2): Likewise.
17511 (SIZE): Likewise.
17512 (__mpn_sub_n): Do not use BP_SYM.
17513 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17514 "bp-asm.h".
17515 (PARMS): Do not use macros from bp-asm.h.
17516 (S1): Likewise.
17517 (SIZE): Likewise.
17518 (__mpn_submul_1): Do not use BP_SYM.
17519 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17520 <bp-sym.h>.
17521 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17522 and <bp-asm.h>.
17523 (PARMS): Do not use macros from bp-asm.h.
17524 (FLAGS): Likewise.
17525 (PTID): Likewise.
17526 (TLS): Likewise.
17527 (CTID): Likewise.
17528 (__clone): Do not use BP_SYM.
17529 (clone): Do not use BP_SYM in weak_alias.
17530 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17531 and <bp-asm.h>.
17532 (PARMS): Do not use macros from bp-asm.h.
17533 (LEN): Likewise.
17534 (__mmap64): Do not use BP_SYM.
17535 (mmap64): Do not use BP_SYM in weak_alias.
17536 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17537 <bp-sym.h> and <bp-asm.h>.
17538 (PARMS): Do not use macros from bp-asm.h.
17539 (__posix_fadvise64_l64): Do not use BP_SYM.
17540 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17541 (PARMS): Do not use macros from bp-asm.h.
17542 (NSOPS): Likewise.
17543 (semtimedop): Do not use BP_SYM.
17544 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17545 and <bp-asm.h>.
17546
582a3cff
AM
175472013-02-21 Allan McRae <allan@archlinux.org>
17548
17549 * manual/message.texi (Charset conversion in gettext):
17550 Move @end statement to beginning of line.
17551
bab8a695
SP
175522013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17553
80945231
SP
17554 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17555 static.
17556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17557 Likewise.
17558
bab8a695
SP
17559 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17560 (denorm): Likewise.
17561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17563
e21d7aa7
AK
175642013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17565
17566 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17567 tail-call to the resolved function if pltexit isn't needed.
17568
4c7a4263
SP
175692013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17570
17571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17572 or Y being zero as being unlikely.
17573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17574 Likewise.
17575
41f49342
CD
175762013-02-20 Carlos O'Donell <carlos@redhat.com>
17577
17578 * manual/nss.texi (System Databases and Name Service Switch):
17579 Remove frobnicate @pxref.
17580
50022a93
TS
175812013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17582
17583 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17584 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17585
08cbd996
PM
175862013-02-20 Petr Machata <pmachata@redhat.com>
17587
17588 * elf/elf.h (R_ARM_TARGET1): New macro.
17589 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17590 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17591 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17592 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17593 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17594 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17595 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17596 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17597 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17598 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17599 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17600 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17601 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17602 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17603 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17604 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17605 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17606 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17607 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17608 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17609 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17610 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17611 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17612 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17613 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17614 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17615 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17616 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17617 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17618 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17619 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17620 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17621 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17622 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17623 (R_ARM_THM_GOT_BREL12): Likewise.
17624 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17625 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17626 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17627 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17628 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17629 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17630 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17631 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17632 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17633
c7b275d6
TS
176342013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17635
17636 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17637 __attribute_used__ to __attribute__ ((unused)).
17638
20cd7fb3
SP
176392013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17640
17641 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17642 powerpc mpa.c.
17643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17644 comment formatting.
17645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17646
92945b52
JM
176472013-02-19 Joseph Myers <joseph@codesourcery.com>
17648
17649 [BZ #13550]
17650 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17651 Remove macro.
17652 (ENTER): Remove both macro definitions.
17653 (LEAVE): Likewise.
17654 (CHECK_BOUNDS_LOW): Likewise.
17655 (CHECK_BOUNDS_HIGH): Likewise.
17656 (CHECK_BOUNDS_BOTH): Likewise.
17657 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17658 (RETURN_BOUNDED_POINTER): Likewise.
17659 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17660 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17661 (POP_ERRNO_LOCATION_RETURN): Likewise.
17662 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17663 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17664 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17665 macros.
17666 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17667 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17668 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17669 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17670 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17671 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17672 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17673 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17674 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17675 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17676 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17677 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17678 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17679 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17680 removed macros.
17681 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17682 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17683 macros.
17684 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17685 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17686 * sysdeps/i386/i586/memset.S (memset): Likewise.
17687 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17688 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17689 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17690 macros.
17691 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17692 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17693 Change uses of L(2) to L(out).
17694 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17695 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17696 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17697 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17698 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17699 removed macros.
17700 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17701 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17702 macros.
17703 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17704 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17705 (RETURN): Do not use macro LEAVE.
17706 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17707 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17708 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17709 * sysdeps/i386/i686/memset.S (memset): Likewise.
17710 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17711 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17712 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17713 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17714 Likewise.
17715 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17716 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17717 L(1_2) and L(1_3) into L(1).
17718 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17719 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17720 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17721 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17722 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17723 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17724 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17725 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17726 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17727 macros.
17728 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17729 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17730 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17731 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17732 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17733 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17734 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17735 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17736 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17737 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17738 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17739 * sysdeps/i386/strspn.S (strspn): Likewise.
17740 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17741 conditional code.
17742 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17743 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17744 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17745 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17746 L(1_3) into L(1_1).
17747 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17748 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17749 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17750 macros.
17751 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17752
2389741a
JJ
177532013-02-19 Jakub Jelinek <jakub@redhat.com>
17754
17755 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17756 macro.
17757
2016b3cd
SP
177582013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17759
e4f22324
SP
17760 * math/atest-exp.c (exp_mpn): Remove ROUND.
17761 * math/atest-exp2.c (exp_mpn): Likewise.
17762 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17763
2016b3cd
SP
17764 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17765 * stdlib/tst-tls-atexit-lib.c: Likewise.
17766 * stdlib/tst-tls-atexit.c: Likewise.
17767
4be9b544
MF
177682013-02-18 Mike Frysinger <vapier@gentoo.org>
17769
17770 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17771 and __attribute_alloc_size__.
17772
2f62b9ee
MF
177732013-02-18 Mike Frysinger <vapier@gentoo.org>
17774
17775 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17776 __attribute_alloc_size__.
17777 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17778 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17779
6ff444c4
MF
177802013-02-18 Mike Frysinger <vapier@gentoo.org>
17781
17782 * include/programs/xmalloc.h: New file.
17783 * catgets/gencat.c: Include it.
17784 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17785 * elf/pldd.c: Likewise.
17786 * iconv/iconv_charmap.c: Likewise.
17787 * iconv/iconvconfig.c: Likewise.
17788 * iconv/strtab.c: Likewise.
17789 * locale/programs/locale.c: Likewise.
17790 * locale/programs/localedef.h: Likewise.
17791 * locale/programs/simple-hash.c: Likewise.
17792 * nscd/nscd.h: Likewise.
17793 * nss/makedb.c: Likewise.
17794 * sysdeps/generic/ldconfig.h: Likewise.
17795
be179c8a
SP
177962013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17797
ba384f6e
SP
17798 * Versions.def: Add GLIBC_2.18.
17799 * include/link.h (struct link_map): New member l_tls_dtor_count.
17800 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17801 (__call_tls_dtors): Likewise.
17802 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17803 __cxa_thread_atexit_impl.
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17805 Likewise.
17806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17807 Likewise.
17808 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17809 Likewise.
17810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17811 Likewise.
17812 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17814 Likewise.
17815 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17816 Likewise.
17817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17819 Likewise.
17820 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17821 (tests): Add test case tst-tls-atexit.
17822 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17823 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17824 (GLIBC_PRIVATE): Add __call_tls_dtors.
17825 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17826 for libstdc++.
17827 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17828 * stdlib/tst-tls-atexit.c: New test case.
17829 * stdlib/tst-tls-atexit-lib.c: New test case.
17830
ffaa74cf 17831 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17832
be179c8a
SP
17833 * elf/Versions (ld): Add _dl_find_dso_for_object.
17834 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17835 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17836 (dl_open_worker): Use _dl_find_dso_for_object.
17837 * elf/dl-sym.c (do_sym): Likewise.
17838 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17839
f78b5caa
AK
178402013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17841
17842 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17843 Syntactic changes only.
17844 (_dl_runtime_profile): Do a tail-call to the resolved function.
17845
29691210
JM
178462013-02-17 Joseph Myers <joseph@codesourcery.com>
17847
17848 [BZ #13550]
17849 * sysdeps/x86_64/bp-asm.h: Remove file.
17850 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17851 <bp-sym.h> and <bp-asm.h>.
17852 (__clone): Do not use BP_SYM.
17853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17854 <bp-sym.h> and <bp-asm.h>.
17855 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17856 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17857 "bp-asm.h".
17858 (_setjmp): Do not use BP_SYM.
17859 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17860 "bp-asm.h".
17861 (setjmp): Do not use BP_SYM.
17862 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17863 libc_hidden_def.
17864 (mempcpy): Do not use BP_SYM in weak_alias.
17865 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17866 "bp-asm.h".
17867 (strchr): Do not use BP_SYM.
17868 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17869 "bp-asm.h".
17870 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17871 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17872 (_start): Do not use BP_SYM.
17873 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17874 "bp-asm.h".
17875 (strcat): Do not use BP_SYM.
17876 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17877 "bp-asm.h".
17878 (STRCMP): Do not use BP_SYM.
17879 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17880 "bp-asm.h".
17881 (STRCPY): Do not use BP_SYM.
17882 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17883 "bp-asm.h".
17884 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17885 "bp-asm.h".
17886 (FUNCTION): Do not use BP_SYM.
17887 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17888 weak_alias.
17889 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17890
f238fd19
AJ
178912013-02-17 Andreas Jaeger <aj@suse.de>
17892
17893 * time/Versions: Sort entries.
17894 * string/Versions: Likewise.
17895 * resolv/Versions: Likewise.
17896 * posix/Versions: Likewise.
17897 * iconv/Versions: Likewise.
17898 * elf/Versions: Likewise.
17899 * wcsmbs/Versions: Likewise.
17900
bd07f23c 179012013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17902
22af19f9
SP
17903 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17904 loop termination condition.
17905
4709fe76
SP
17906 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17907 variable to calculate EZ.
17908 (__sqr): Likewise.
2d0e0f29
SP
17909
17910 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17911 the lower precision input.
17912
daaa7713
JM
179132013-02-15 Joseph Myers <joseph@codesourcery.com>
17914
17915 [BZ #13550]
17916 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17917 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17918 (run-via-rtld-prefix): Do not handle %-bp tests.
17919 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17920 (all-object-suffixes): Remove .ob.
17921 (bppfx): Remove variable.
17922 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17923 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17924 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17925 [$(build-bounded) = yes] (libtype.ob): Likewise.
17926 * Makerules (elide-routines.ob): Remove variable.
17927 (do-tests-clean): Do not handle *-bp.out.
17928 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17929 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17930 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17931 (tests): Do not include $(tests-bp.out).
17932 (xtests): Do not include $(xtests-bp.out).
17933 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17934 [$(build-bounded) = yes] ($(addprefix
17935 $(objpfx),$(binaries-bounded))): Remove rule.
17936 ($(objpfx)%-bp.out): Remove rule.
17937 * config.make.in (build-bounded): Remove variable.
17938 * crypt/Makefile [$(build-bounded) = yes]
17939 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17940 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17941 append to variable.
17942 [$(build-bounded) = yes] (install-lib): Likewise.
17943 [$(build-bounded) = yes] (generated): Likewise.
17944 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17945 Remove rule.
17946 * intl/Makefile [$(build-bounded) = yes]
17947 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17948 * math/Makefile [$(build-bounded) = yes]
17949 ($(tests:%=$(objpfx)%-bp): Likewise.
17950 * misc/Makefile [$(build-bounded) = yes]
17951 ($(objpfx)tst-tsearch-bp): Likewise.
17952 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17953 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17954 Remove dependency.
17955 * string/Makefile (o-objects.ob): Remove variable.
17956 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17957 (CFLAGS-.ob): Remove variable.
17958 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17959 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17960 both definitions of variable.
17961 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17962 (ASFLAGS-.ob): Remove variable.
17963
e97ed6dd
JM
179642013-02-14 Joseph Myers <joseph@codesourcery.com>
17965
2bdd4ca6
JM
17966 [BZ #13550]
17967 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17968 Remove __BOUNDED_POINTERS__ from condition.
17969 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17970 * string/bits/string2.h [!__NO_STRING_INLINES &&
17971 !__BOUNDED_POINTERS__]: Likewise.
17972 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17973 Likewise.
17974 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17975 Remove conditional code.
17976 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17977 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17978 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17979 condition.
17980
e97ed6dd
JM
17981 [BZ #13550]
17982 * csu/libc-start.c: Do not include <bp-sym.h>.
17983 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17984 * elf/dl-open.c: Do not include <bp-sym.h>.
17985 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17986 * math/fegetenv.c: Do not include <bp-sym.h>.
17987 (fegetenv): Do not use BP_SYM in versioned symbols.
17988 * nptl/sysdeps/pthread/bits/libc-lockP.h
17989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17990 <bp-sym.h>.
17991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17992 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17994 (__pthread_mutex_destroy): Likewise.
17995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17996 (__pthread_mutex_lock): Likewise.
17997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17998 (__pthread_mutex_trylock): Likewise.
17999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18000 (__pthread_mutex_unlock): Likewise.
18001 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18002 (__pthread_mutexattr_init): Likewise.
18003 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18004 (__pthread_mutexattr_destroy): Likewise.
18005 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18006 (__pthread_mutexattr_settype): Likewise.
18007 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18008 (__pthread_rwlock_init): Likewise.
18009 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18010 (__pthread_rwlock_destroy): Likewise.
18011 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18012 (__pthread_rwlock_rdlock): Likewise.
18013 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18014 (__pthread_rwlock_tryrdlock): Likewise.
18015 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18016 (__pthread_rwlock_wrlock): Likewise.
18017 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18018 (__pthread_rwlock_trywrlock): Likewise.
18019 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18020 (__pthread_rwlock_unlock): Likewise.
18021 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18022 (__pthread_key_create): Likewise.
18023 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18024 (__pthread_setspecific): Likewise.
18025 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18026 (__pthread_getspecific): Likewise.
18027 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18028 Likewise.
18029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18030 (_pthread_cleanup_push_defer): Likewise.
18031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18032 (_pthread_cleanup_pop_restore): Likewise.
18033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18034 (pthread_setcancelstate): Likewise.
18035 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18036 <bp-sym.h>.
18037 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18038 (memchr): Do not use BP_SYM in weak_alias.
18039 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18040 (fegetenv): Do not use BP_SYM in versioned symbols.
18041 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18042 (fesetenv): Do not use BP_SYM in versioned symbols.
18043 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18044 (feupdateenv): Do not use BP_SYM in versioned symbols.
18045 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18046 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18047 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18048 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18049 (open64): Do not use BP_SYM in weak_alias.
18050 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18051 (fegetenv): Do not use BP_SYM in versioned symbols.
18052 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18053 (fesetenv): Do not use BP_SYM in versioned symbols.
18054 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18055 (feupdateenv): Do not use BP_SYM in versioned symbols.
18056 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18057 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18058 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18059 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18060 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18061 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18062 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18063 <bp-sym.h>.
18064 (__libc_start_main): Do not use BP_SYM.
18065
d6752ccd
SP
180662013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18067
cb57ce60
SP
18068 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18069 redundant return line.
18070 (norm): Likewise.
18071 (denorm): Likewise.
18072 (dbl_mp): Likewise.
18073 (sub_magnitudes): Likewise.
18074 (__add): Likewise.
18075 (__sub): Likewise.
18076 (__mul): Likewise.
18077 (__inv): Likewise.
18078 (__dvd): Likewise.
18079 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18080 (norm): Likewise.
18081 (denorm): Likewise.
18082 (dbl_mp): Likewise.
18083 (sub_magnitudes): Likewise.
18084 (__add): Likewise.
18085 (__sub): Likewise.
18086 (__mul): Likewise.
18087 (__inv): Likewise.
18088 (__dvd): Likewise.
18089
f414520d
SP
18090 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18091 instead of __mul.
18092 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18093 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18094 (cc32): Likewise.
18095
d6752ccd
SP
18096 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18097 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18098 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18099 of __mul for squares.
18100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18101 function
18102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18103 Likewise.
18104 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18105 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18106
70d9946a
JM
181072013-02-13 Joseph Myers <joseph@codesourcery.com>
18108
18109 [BZ #13550]
18110 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18111 code.
18112 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18113 prototype or function definition. Rename ubp_* variables and
18114 parameters. Remove argv definitions conditional on
18115 [__BOUNDED_POINTERS__].
18116 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18117 * elf/dl-runtime.c (_dl_fixup): Likewise.
18118 * include/set-hooks.h (RUN_HOOK): Likewise.
18119 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18120 definition.
18121 * string/strcpy.c (strcpy): Do not use __unbounded.
18122 * sysdeps/generic/frame.h (struct layout): Likewise.
18123 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18124 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18125 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18126 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18127 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18128 (__backtrace): Likewise.
18129 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18130 use __ptrvalue.
18131 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18132 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18133 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18134 Likewise.
18135 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18136 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18137 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18138 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18139 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18140 Do not use __unbounded.
18141 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18142 Rename __unboundedrlimits parameter to rlimits in prototype.
18143 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18144 Do not use __unbounded.
18145 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18146 not use __ptrvalue.
18147 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18148 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18149 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18150 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18151 __ptrvalue or __unbounded.
18152 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18153 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18154 use __unbounded.
18155 (__new_msgctl): Do not use __ptrvalue.
18156 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18157 __unbounded.
18158 (__libc_msgrcv): Do not use __ptrvalue.
18159 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18160 startup_info): Do not use __unbounded.
18161 (__libc_start_main): Likewise. Rename ubp_* variables and
18162 parameters. Remove argv definitions conditional on
18163 [__BOUNDED_POINTERS__].
18164 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18165 __ptrvalue.
18166 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18167 use __unbounded.
18168 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18169 or __ptrvalue.
18170 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18171 use __unbounded.
18172 (__new_shmctl): Do not use __ptrvalue.
18173 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18174 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18175 Likewise.
18176 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18177 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18178 (__libc_sigaction): Likewise.
18179 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18180 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18181 Likewise.
18182 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18183
cc7834d6
OB
181842013-02-13 Ondřej Bílka <neleai@seznam.cz>
18185
ffb1ec7b 18186 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18187
18188 * string/mempcpy.c: Implement by calling memcpy.
18189
bdf02814
SP
181902013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18191
c2af38aa
SP
18192 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18193
4e92d59e
SP
18194 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18195 evaluation.
18196
909279a5
SP
18197 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18198 values in the mantissa.
18199
bdf02814
SP
18200 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18201 minimize writes to Z.
18202 (sub_magnitudes): Simplify code a bit.
18203
cd525923
RM
182042013-02-12 Roland McGrath <roland@hack.frob.com>
18205
18206 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18207 from the message. The linker prefixes all warnings with that already.
18208
7e2f0d2d
AS
182092013-02-12 Andreas Schwab <schwab@suse.de>
18210
a445af0b
AS
18211 [BZ #15078]
18212 * posix/regexec.c (extend_buffers): Add parameter min_len.
18213 (check_matching): Pass minimum needed length.
18214 (clean_state_log_if_needed): Likewise.
18215 (get_subexp): Likewise.
18216 * posix/Makefile (tests): Add bug-regex34.
18217 (bug-regex34-ENV): Define.
18218 * posix/bug-regex34.c: New file.
18219
7e2f0d2d
AS
18220 [BZ #11561]
18221 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18222 elements compare against the byte sequence of it, not its name.
18223 * posix/Makefile (tests): Add bug-regex35.
18224 (bug-regex35-ENV): Define.
18225 * posix/bug-regex35.c: New file.
18226
a175b684
TV
182272013-02-11 Tom de Vries <tom@codesourcery.com>
18228
18229 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18230 comment.
18231 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18232 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18233 (CHECK_EOL): Add undef.
18234
310998fe 182352013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18236
18237 * bits/stdlib-bsearch.h: New file.
18238 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18239 * stdlib/stdlib.h: Likewise.
41eda41d 18240
8ded91fb
RM
182412013-02-11 Roland McGrath <roland@hack.frob.com>
18242
18243 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18244 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18245 declaration.
18246 * manual/search.texi (Array Search Function): Add missing const in
18247 lfind prototype.
18248 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18249 declaration to use rlim_t.
18250 (Basic Scheduling Functions): Remove erroneous const from
18251 sched_getparam prototype. Remove erroneous * from
18252 sched_get_priority_max and sched_get_priority_min prototypes.
18253 (Resource Usage): Fix summary @comment on vtimes to refer to
18254 sys/vtimes.h rather than vtimes.h.
18255 Add missing *s in vtimes prototype.
18256 (Limits on Resources): Fix ulimit prototype to return long int.
18257 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18258 prototypes to use long int rather than double.
18259 (BSD Random): Fix initstate and setstate to use char *, not void *.
18260 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18261 prototype to make second argument 'struct aiocb64 *const[]'.
18262 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18263 (Status of AIO Operations): Remove erroneous const in aio_return and
18264 aio_return64 prototypes.
18265 (Synchronizing I/O): Fix sync prototype to return void.
18266 * manual/startup.texi (Suboptions): Remove an erroneous const in
18267 getsubopt prototype.
18268 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18269 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18270 use size_t rather than int.
18271 (Scanning All Users): Likewise for getpwent_r.
18272 (Setting Groups): Add missing const to setgroups prototype.
18273 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18274 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18275 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18276 'const void *' rather than 'const char *'.
18277 (Host Address Functions): Likewise for inet_ntop.
18278 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18279 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18280 ssize_t for return value.
18281 (Sending Data): Likewise for send, sendto, sendmsg.
18282 (Socket Option Functions): Add a missing const in setsockopt prototype.
18283 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18284 use wchar_t for the argument.
18285 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18286 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18287 take no arguments.
18288 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18289 double/float/long double for second argument.
18290 Fix return types of significand, significandf, significandl.
18291 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18292 argument in fchmod prototype.
18293 (File Owner): Use uid_t and gid_t in fchown prototype.
18294 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18295 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18296 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18297 use 'const struct dirent **' as argument types to CMP function pointer
18298 argument.
18299 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18300 (File Times): Fix summary magic @comment for struct utimbuf and utime
18301 to refer to utime.h, not time.h.
18302 * manual/string.texi (Argz Functions): Add missing const in
18303 argz_extract and argz_next prototypes.
18304 (Finding Tokens in a String): Likewise for basename.
18305 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18306 (Copying and Concatenation): Fix typo in wmemmove prototype.
18307 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18308 (Signal Stack): Remove erroneous const in sigstack prototype.
18309 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18310 prototype.
18311 (Simple Calendar Time): Likewise for stime.
18312 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18313 prototype.
18314 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18315 say sys/sysctl.h instead.
18316 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18317 and vsyslog prototypes.
18318
fe77fe6d
TV
183192013-02-11 Tom de Vries <tom@codesourcery.com>
18320
18321 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18322 Remove.
18323
3a09b620
RM
183242013-02-11 Roland McGrath <roland@hack.frob.com>
18325
18326 * misc/sys/mman.h: Fix typo in mremap comment.
18327
550a0b89
RM
183282013-02-08 Roland McGrath <roland@hack.frob.com>
18329
18330 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18331 the '\0' terminator.
18332
a2da1673
JM
183332013-02-08 Joseph Myers <joseph@codesourcery.com>
18334
18335 [BZ #13550]
18336 * debug/segfault.c: Don't include <bp-checks.h>.
18337 * sysdeps/generic/bp-checks.h: Remove file.
18338 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18339 (__GETDENTS): Don't use CHECK_N.
18340 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18341 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18342 (__getgroups): Don't use CHECK_N.
18343 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18344 (setgroups): Don't use CHECK_N.
18345 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18346 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18347 (__libc_msgrcv): Don't use CHECK_N.
18348 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18349 (__libc_msgsnd): Don't use CHECK_N.
18350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18351 <bp-checks.h>.
18352 (__libc_pread): Don't use CHECK_N.
18353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18354 include <bp-checks.h>.
18355 (__libc_pread64): Don't use CHECK_N.
18356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18357 include <bp-checks.h>.
18358 (__libc_pwrite): Don't use CHECK_N.
18359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18360 include <bp-checks.h>.
18361 (__libc_pwrite64): Don't use CHECK_N.
18362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18363 <bp-checks.h>.
18364 (__libc_pread): Don't use CHECK_N.
18365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18366 include <bp-checks.h>.
18367 (__libc_pread64): Don't use CHECK_N.
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18369 include <bp-checks.h>.
18370 (__libc_pwrite): Don't use CHECK_N.
18371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18372 include <bp-checks.h>.
18373 (__libc_pwrite64): Don't use CHECK_N.
18374 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18375 (do_pread): Don't use CHECK_N.
18376 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18377 (do_pread64): Don't use CHECK_N.
18378 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18379 (do_pwrite): Don't use CHECK_N.
18380 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18381 (do_pwrite64): Don't use CHECK_N.
18382 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18383 (__libc_readv): Don't use CHECK_N.
18384 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18385 (semop): Don't use CHECK_N.
18386 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18387 <bp-checks.h>.
18388 (semtimedop): Don't use CHECK_N.
18389 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18390 (__libc_pread): Don't use CHECK_N.
18391 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18392 <bp-checks.h>.
18393 (__libc_pread64): Don't use CHECK_N.
18394 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18395 <bp-checks.h>.
18396 (__libc_pwrite): Don't use CHECK_N.
18397 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18398 <bp-checks.h>.
18399 (__libc_pwrite64): Don't use CHECK_N.
18400 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18401 <bp-checks.h>.
18402 (__libc_msgrcv): Don't use CHECK_N.
18403 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18404 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18405 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18406 (__libc_writev): Don't use CHECK_N.
18407
b84660a8
RM
184082013-02-08 Roland McGrath <roland@hack.frob.com>
18409
7f3e75f8
RM
18410 * string/strcpy.c: Removed unused variable.
18411
b84660a8
RM
18412 * Makeconfig (+sysdep-includes): Define with := rather than =.
18413 Use an existing include/ subdir of each sysdeps dir before it.
18414
471514d3
CD
184152013-02-08 Carlos O'Donell <carlos@redhat.com>
18416
18417 * nscd/connection.c (register_traced_file): Comment function.
18418 [HAVE_INOTIFY] (union __inev): Define.
18419 [HAVE_INOTIFY] (inotify_check_files): New function.
18420 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18421 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18422 clear_db_cache.
18423 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18424
b2d3c3be
CD
184252013-02-08 Carlos O'Donell <carlos@redhat.com>
18426
18427 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18428 loaded if not already and that a failure is permanent.
18429
b39949d2
CD
184302013-02-08 Carlos O'Donell <carlos@redhat.com>
18431
ddacd1db 18432 [BZ #15006]
b39949d2
CD
18433 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18434 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18435
b2c9eff4
JM
184362013-02-08 Joseph Myers <joseph@codesourcery.com>
18437
f3aae3f3
JM
18438 [BZ #13550]
18439 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18440 (CHECK_1_NULL_OK): Likewise.
18441 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18442 (__fxstat): Do not use CHECK_1.
18443 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18444 <bp-checks.h>.
18445 (___fxstat64): Do not use CHECK_1.
18446 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18447 <bp-checks.h>.
18448 (__fxstatat): Do not use CHECK_1.
18449 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18450 <bp-checks.h>.
18451 (__fxstatat64): Do not use CHECK_1.
18452 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18453 <bp-checks.h>.
18454 (__fxstat): Do not use CHECK_1.
18455 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18456 <bp-checks.h>.
18457 (__fxstatat): Do not use CHECK_1.
18458 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18459 <bp-checks.h>.
18460 (__getresgid): Do not use CHECK_1.
18461 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18462 <bp-checks.h>.
18463 (__getresuid): Do not use CHECK_1.
18464 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18465 <bp-checks.h>.
18466 (__lxstat): Do not use CHECK_1.
18467 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18468 <bp-checks.h>.
18469 (__old_msgctl): Do not use CHECK_1.
18470 (__new_msgctl): Likewise.
18471 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18472 <bp-checks.h>.
18473 (__new_setrlimit): Do not use CHECK_1.
18474 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18475 <bp-checks.h>.
18476 (__old_shmctl): Do not use CHECK_1.
18477 (__new_shmctl): Likewise.
18478 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18479 <bp-checks.h>.
18480 (__xstat): Do not use CHECK_1.
18481 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18482 (__lxstat): Do not use CHECK_1.
18483 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18484 <bp-checks.h>.
18485 (___lxstat64): Do not use CHECK_1.
18486 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18487 (__old_msgctl): Do not use CHECK_1.
18488 (__new_msgctl): Likewise.
18489 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18490 <bp-checks.h>.
18491 (__gettimeofday): Do not use CHECK_1.
18492 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18493 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18494 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18495 <bp-checks.h>.
18496 (__gettimeofday): Do not use CHECK_1.
18497 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18498 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18499 (__new_shmctl): Do not use CHECK_1.
18500 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18501 <bp-checks.h>.
18502 (do_sigtimedwait): Do not use CHECK_1.
18503 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18504 <bp-checks.h>.
18505 (do_sigwaitinfo): Do not use CHECK_1.
18506 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18507 <bp-checks.h>.
18508 (msgctl): Do not use CHECK_1.
18509 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18510 <bp-checks.h>.
18511 (shmctl): Do not use CHECK_1.
18512 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18513 (ustat): Do not use CHECK_1.
18514 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18515 <bp-checks.h>.
18516 (__fxstat): Do not use CHECK_1.
18517 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18518 <bp-checks.h>.
18519 (__fxstatat): Do not use CHECK_1.
18520 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18521 <bp-checks.h>.
18522 (__lxstat): Do not use CHECK_1.
18523 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18524 <bp-checks.h>.
18525 (__xstat): Do not use CHECK_1.
18526 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18527 (__xstat): Do not use CHECK_1.
18528 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18529 (___xstat64): Do not use CHECK_1.
18530
b2c9eff4
JM
18531 [BZ #13550]
18532 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18533 definitions.
18534 (CHECK_BOUNDS_HIGH): Likewise.
18535 * string/strcpy.c: Do not include <bp-checks.h>.
18536 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18537
f1d70dad
RM
185382013-02-07 Roland McGrath <roland@hack.frob.com>
18539
18540 * nscd/nscd-client.h (__nscd_drop_map_ref):
18541 Add __attribute__ ((unused)).
18542 * nis/nss-nisplus.h (niserr2nss): Likewise.
18543
18544 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18545 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18546
18547 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18548 Remove inline keyword.
18549 * include/rounding-mode.h (round_away): Likewise.
18550 * libio/wfileops.c (adjust_wide_data): Likewise.
18551 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18552 (__m128i_strloadu_tolower): Likewise.
18553 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18554 (__m128i_strloadu_tolower): Likewise.
18555 * time/mktime.c (ydhms_diff): Likewise.
18556 * locale/elem-hash.h (elem_hash): Likewise.
18557 * locale/setlocale.c (setdata): Likewise.
18558 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18559 (re_string_wchar_at): Likewise.
18560 (bitset_not, bitset_merge, bitset_mask): Likewise.
18561 [!(__GNUC__ > 3)] (inline): Remove macro.
18562 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18563 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18564 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18565 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18566 * string/memcmp.c (memcmp_bytes): Likewise.
18567 * locale/programs/locarchive.c (compute_hashval): Likewise.
18568 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18569 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18570 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18571 * nss/getent.c (print_rpc, print_protocols): Likewise.
18572 (print_passwd, print_group, print_aliases): Likewise.
18573 * nis/nss-nisplus.h (niserr2nss): Likewise.
18574 * nscd/connections.c (restart_p): Likewise.
18575 Change return type to bool.
18576
eab55bfb
RM
185772013-02-05 Roland McGrath <roland@hack.frob.com>
18578
7bd642f5
RM
18579 * Makeconfig (all-Depend-files): Add existing
18580 $(sorted-subdirs:=/Depend) files.
18581 (all-subdirs): Remove nss.
18582 * sysdeps/unix/inet/Subdirs: Add it here instead.
18583 * hesiod/Depend: New file.
18584
573c29b2
RM
18585 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18586 instead of calling alloca.
18587
b2e25af0
RM
18588 * io/lseek.c (__lseek): Rename to __libc_lseek.
18589 Define __lseek as an alias.
18590
eab55bfb
RM
18591 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18592
9a0d1941
CD
185932013-02-04 Carlos O'Donell <carlos@redhat.com>
18594
18595 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18596 else clause and remove check for non-standard endianness.
18597
b83bbec4
DM
185982013-02-04 David S. Miller <davem@davemloft.net>
18599
18600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18601
6277fdab
JM
186022013-02-04 Joseph Myers <joseph@codesourcery.com>
18603
18604 [BZ #13550]
18605 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18606 (__ubp_memchr): Remove prototype.
18607 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18608 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18609 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18610 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18611 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18612 Remove alias.
18613 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18614 (__ubp_memchr): Likewise.
18615 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18616 (__ubp_memchr): Likewise.
18617 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18618 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18619 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18620 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18621 CHECK_STRING.
18622 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18623 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18624 (__getcwd): Do not use CHECK_STRING.
18625 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18626 <bp-checks.h>.
18627 (__real_chown): Do not use CHECK_STRING.
18628 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18629 <bp-checks.h>.
18630 (fchownat): Do not use CHECK_STRING.
18631 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18632 CHECK_STRING.
18633 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18634 <bp-checks.h>.
18635 (__lchown): Do not use CHECK_STRING.
18636 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18637 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18638 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18639 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18641 include <bp-checks.h>.
18642 (truncate64): Do not use CHECK_STRING.
18643 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18644 <bp-checks.h>.
18645 (__real_chown): Do not use CHECK_STRING.
18646 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18647 <bp-checks.h>.
18648 (__lchown): Do not use CHECK_STRING.
18649 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18650 <bp-checks.h>.
18651 (__chown): Do not use CHECK_STRING.
18652 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18653 <bp-checks.h>.
18654 (truncate64): Do not use CHECK_STRING.
18655 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18656 Likewise.
18657 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18658 (__xmknod): Do not use CHECK_STRING.
18659 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18660 <bp-checks.h>.
18661 (__xmknodat): Do not use CHECK_STRING.
18662 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18663 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18664
903ae060
AS
186652013-02-04 Andreas Schwab <schwab@suse.de>
18666
18667 [BZ #14142]
18668 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18669 * include/netdb.h: Likewise for h_errno.
18670 * elf/tst-stackguard1.c: Include <tls.h>.
18671
542f9466
JK
186722013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18673
18674 * elf/link.h (struct link_map): Extend the l_addr comment.
18675 * include/link.h (struct link_map): Likewise.
18676
e782a927
JM
186772013-02-01 Joseph Myers <joseph@codesourcery.com>
18678
18679 [BZ #13550]
18680 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18681 (BOUNDED_1): Remove macro.
18682 * debug/backtrace.c: Don't include <bp-checks.h>.
18683 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18684 (__backtrace): Likewise.
18685 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18686 <bp-checks.h>.
18687 (__backtrace): Don't use BOUNDED_1.
18688 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18689 <bp-checks.h>.
18690 (__backtrace): Don't use BOUNDED_1.
18691 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18692 (__backtrace): Don't use BOUNDED_1.
18693 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18694 (shmat): Don't use BOUNDED_N.
18695
8cf28c5e
JM
186962013-01-31 Joseph Myers <joseph@codesourcery.com>
18697
3a7ac8a0
JM
18698 [BZ #13550]
18699 * sysdeps/generic/bp-start.h: Remove file.
18700 * csu/libc-start.c: Don't include <bp-start.h>.
18701 (LIBC_START_MAIN): Set up __environ directly instead of using
18702 INIT_ARGV_and_ENVIRON.
18703 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18704 <bp-start.h>.
18705
f3499f95
JM
18706 [BZ #13550]
18707 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18708 definitions.
18709 (CHECK_FCNTL): Likewise.
18710 (CHECK_N_PAGES): Likewise.
18711
32a45bea
JM
18712 [BZ #13550]
18713 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18714 definitions.
18715 (CHECK_SIGSET_NULL_OK): Likewise.
18716 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18717 <bp-checks.h>.
18718 (sigpending): Don't use CHECK_SIGSET.
18719 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18720 <bp-checks.h>.
18721 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18722 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18723 <bp-checks.h>.
18724 (do_sigsuspend): Don't use CHECK_SIGSET.
18725 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18726 use CHECK_SIGSET.
18727 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18728 (do_sigwait): Don't use CHECK_SIGSET.
18729 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18730 use CHECK_SIGSET.
18731 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18732 include <bp-checks.h>.
18733 (sigpending): Don't use CHECK_SIGSET.
18734 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18735 include <bp-checks.h>.
18736 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18737 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18738 <bp-checks.h>.
18739 (sigpending): Don't use CHECK_SIGSET.
18740 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18741 <bp-checks.h>.
18742 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18743
2e8a5c8c
JM
18744 [BZ #13550]
18745 * sysdeps/generic/bp-semctl.h: Remove file.
18746 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18747 <bp-checks.h> and <bp-semctl.h>.
18748 (__old_semctl): Don't use CHECK_SEMCTL.
18749 (__new_semctl): Likewise.
18750 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18751 and <bp-semctl.h>.
18752 (__old_semctl): Don't use CHECK_SEMCTL.
18753 (__new_semctl): Likewise.
18754 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18755 <bp-checks.h> and <bp-semctl.h>.
18756 (__old_semctl): Don't use CHECK_SEMCTL.
18757 (__new_semctl): Likewise.
18758 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18759 <bp-checks.h> and <bp-semctl.h>.
18760 (semctl): Don't use CHECK_SEMCTL.
18761
c2d54929
JM
18762 [BZ #13550]
18763 * Makerules (elide-bp-thunks): Remove variable.
18764 (elide-routines.oS): Don't use $(elide-bp-thunks).
18765 (elide-routines.os): Likewise.
18766 (elide-routines.o): Likewise.
18767 (elide-routines.op): Likewise.
18768 (elide-routines.og): Likewise.
18769 (objects): Don't use $(bp-thunks).
18770 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18771 include.
18772 (common-generated): Do not add s-proto-bp.d.
18773 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18774 (int): Likewise.
18775 (typ): Likewise.
18776 Do not generate makefile rules for bounded-pointer thunks.
18777 * sysdeps/generic/bp-thunks.h: Remove file.
18778 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18779 * sysdeps/unix/s-proto-bp.S: Likewise.
18780
8cf28c5e
JM
18781 [BZ #15062]
18782 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18783 parts of result separately when argument is not close to line from
18784 -i to i and one part of argument is small.
18785 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18786 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18787 * math/libm-test.inc (cacos_test): Add more tests.
18788 (casin_test): Likewise.
18789 (casinh_test): Likewise.
18790 * sysdeps/i386/fpu/libm-test-ulps: Update.
18791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18792
c4e33b8d
DM
187932013-01-31 David S. Miller <davem@davemloft.net>
18794
18795 * po/de.po: Update from translation team.
18796
3b60b421
MK
187972013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18798
18799 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18800
bb931195
TS
188012013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18802
b5a5da23
TS
18803 * configure.in (_AC_PROG_CC_C89): New definition.
18804 * configure: Regenerate.
18805
bb931195
TS
18806 * configure.in (AC_PROG_CPP): New definition.
18807 * configure: Regenerate.
18808
8c53a12c
JM
188092013-01-23 Joseph Myers <joseph@codesourcery.com>
18810
18811 * debug/tst-backtrace.h: New file.
18812 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18813 (ret): Remove variable.
18814 (x): Likewise.
18815 (FAIL): Remove macro.
18816 (NO_INLINE): Likewise.
18817 (fn1): Use match function instead of strstr.
18818 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18819 (ret): Remove variable.
18820 (x): Likewise.
18821 (FAIL): Remove macro.
18822 (NO_INLINE): Likewise.
18823 (fn): Use match function instead of strstr.
18824 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18825 (ret): Remove variable.
18826 (x): Likewise.
18827 (FAIL): Remove macro.
18828 (NO_INLINE): Likewise.
18829 (handle_signal): Use match function instead of strstr.
18830 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18831 (ret): Remove variable.
18832 (x): Likewise.
18833 (FAIL): Remove macro.
18834 (NO_INLINE): Likewise.
18835 (handle_signal): Use match function instead of strstr.
18836
4858fa2a
RM
188372013-01-23 Roland McGrath <roland@hack.frob.com>
18838
18839 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18840
bae8e7f5
DM
188412013-01-23 David S. Miller <davem@davemloft.net>
18842
18843 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18844 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18845 argument of CAS if possible.
18846 * sysdeps/sparc/sparc64/bits/atomic.h
18847 (__arch_compare_and_exchange_val_32_acq): Likewise.
18848 (__arch_compare_and_exchange_val_64_acq): Likewise.
18849
9cbbc4ae
PT
188502013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18851
18852 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18853 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18854 Include <limits.h>.
67b3f58c 18855 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18856
5655a0b5
AC
188572013-01-23 Adam Conrad <adconrad@0c3.net>
18858
18859 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18860 (LDFLAGS-tst-array5): Likewise.
18861
052aff95
JM
188622013-01-23 Joseph Myers <joseph@codesourcery.com>
18863
18864 [BZ #15036]
18865 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18866 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18867 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18868 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18869
7c1e01aa
DM
188702013-01-21 David S. Miller <davem@davemloft.net>
18871
18872 * sysdeps/sparc/backtrace.c: New file.
18873 * sysdeps/sparc/sparc32/backtrace.h: New file.
18874 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18875 * sysdeps/sparc/sparc64/backtrace.h: New file.
18876 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18877 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18878 -funwind-tables.
18879
ab087e0a
AS
188802013-01-21 Andreas Schwab <schwab@suse.de>
18881
18882 [BZ #15020]
18883 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18884 closed its stdout.
18885
ed689c2f
AS
188862013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18887
18888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18889 "mpa2.h".
18890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18891
31d470ac
JM
188922013-01-18 Joseph Myers <joseph@codesourcery.com>
18893 Mark Mitchell <mark@codesourcery.com>
18894 Tom de Vries <tom@codesourcery.com>
18895 Paul Pluzhnikov <ppluzhnikov@google.com>
18896
18897 * debug/tst-backtrace2.c: New file.
18898 * debug/tst-backtrace3.c: Likewise.
18899 * debug/tst-backtrace4.c: Likewise.
18900 * debug/tst-backtrace5.c: Likewise.
18901 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18902 (CFLAGS-tst-backtrace3.c): Likewise.
18903 (CFLAGS-tst-backtrace4.c): Likewise.
18904 (CFLAGS-tst-backtrace5.c): Likewise.
18905 (LDFLAGS-tst-backtrace2): Likewise.
18906 (LDFLAGS-tst-backtrace3): Likewise.
18907 (LDFLAGS-tst-backtrace4): Likewise.
18908 (LDFLAGS-tst-backtrace5): Likewise.
18909 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18910 tst-backtrace4 and tst-backtrace5.
18911
90567f30 189122013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18913 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18914
18915 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18916 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18917 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18918 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18920 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18921 "+r" and remove output regs list as redundant. Add explicit inline
18922 asm to specify register of return val to work around compiler codegen
18923 bug. Remove (int) cast on return value. Add return type parameter to
18924 use in macro so that this macro does not truncate return value for
18925 64-bit values.
18926 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18927 pass to INTERNAL_VSYSCALL_NCS.
18928 (INLINE_VSYSCALL): Add 'long int' as return type to
18929 INTERNAL_VSYSCALL_NCS macro invocation.
18930 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18931 INTERNAL_VSYSCALL_NCS macro invocation.
18932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18933
d3b9ea61
SP
189342013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18935
0b57daeb
SP
18936 [BZ #14496]
18937 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18938 Fix application of SIMD FP exception mask.
18939
caa99d06
SP
18940 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18941 mp_no from a power of two.
18942 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18943 __mpexp_twomm1. Use __pow_mp.
18944
d3b9ea61
SP
18945 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18946 multiplication.
18947
1dbaee3c
DM
189482013-01-17 David S. Miller <davem@davemloft.net>
18949
18950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18951
728d7b43
JM
189522013-01-17 Joseph Myers <joseph@codesourcery.com>
18953
18954 [BZ #15023]
18955 * include/complex.h: Condition contents on [!_COMPLEX_H].
18956 (__kernel_casinhf): New prototype.
18957 (__kernel_casinh): Likewise.
18958 (__kernel_casinhl): Likewise.
18959 * math/Makefile (libm_calls): Add k_casinh.
18960 * math/k_casinh.c: New file.
18961 * math/k_casinhf.c: Likewise.
18962 * math/k_casinhl.c: Likewise.
18963 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18964 finite nonzero arguments.
18965 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18966 finite nonzero arguments.
18967 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18968 finite nonzero arguments.
18969 * math/s_casinh.c: Do not include <float.h>.
18970 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18971 * math/s_casinhf.c: Do not include <float.h>.
18972 (__casinhf): Move code for finite nonzero arguments to
18973 k_casinhf.c.
18974 * math/s_casinhl.c: Do not include <float.h>.
18975 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18976 redefine.
18977 (__casinhl): Move code for finite nonzero arguments to
18978 k_casinhl.c.
18979 * math/libm-test.inc (cacos_test): Add more tests.
18980 * sysdeps/i386/fpu/libm-test-ulps: Update.
18981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18982
2a26ef3a
PT
189832013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18984
18985 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18986 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18987 [!HAVE_MREMAP]: Remove [defined linux] case.
18988 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18989
a897655d
SP
189902013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18991
18992 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18993
881ebe89 189942013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18995
18996 * elf/elf.h (R_386_SIZE32): New relocation.
18997 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18998 R_386_SIZE32.
18999 (elf_machine_rela): Likewise.
19000 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19001 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19002
59981e9b
JM
190032013-01-17 Joseph Myers <joseph@codesourcery.com>
19004
19005 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19006 (FP_FAST_FMA): Do not define.
19007 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19008 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19009 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19010 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19011 !_SOFT_FLOAT]: Likewise.
19012 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19013 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19014 value.
19015 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19016 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19017 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19018 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19019 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19020 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19021 file.
19022
cfa8054f
AS
190232013-01-16 Andreas Schwab <schwab@suse.de>
19024
19025 [BZ #14327]
19026 * include/stdlib.h (__mktemp): Add declaration.
19027 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19028 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19029
dd930cc5
SP
190302013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19031
881ebe89
SP
19032 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19033 definitions.
19034 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19035 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19036 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19037 definitions here.
19038 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19039 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19040 definitions.
19041 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19042 and ONE.
19043 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19044 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19045 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19046 definitions.
19047 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19048 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19049 definitions.
19050 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19051
dd930cc5
SP
19052 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19053
c19a9f89
DM
190542013-01-15 David S. Miller <davem@davemloft.net>
19055
1aa61767
DM
19056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19057 trunc{,f} to libm-sysdep_routes.
19058 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19060 file.
19061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19063 file.
19064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19065 file.
19066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19068 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19069 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19070 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19071 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19072 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19073 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19074
c42d5e98
DM
19075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19076 nearbyint{,f} to libm-sysdep_routes.
19077 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19079 New file.
19080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19081 file.
19082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19083 New file.
19084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19085 file.
19086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19088 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19089 file.
19090 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19091 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19092 file.
19093 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19094 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19095 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19096
c19a9f89
DM
19097 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19098 libc_feholdexcept and libc_fesetenv.
19099
357679d2
MF
191002013-01-15 Mike Frysinger <vapier@gentoo.org>
19101
19102 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19103
65a82e3d
DM
191042013-01-14 David S. Miller <davem@davemloft.net>
19105
8b954ab9
DM
19106 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19107 (SPARC_ASM_VIS2_IFUNC): Likewise.
19108 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19110 use of 'siam' instruction.
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19112 Likewise.
19113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19114 Likewise.
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19116 Likewise.
19117 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19118 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19120 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19122 file.
19123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19124 file.
19125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19126 file.
19127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19128 file.
19129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19134 new VIS2 routines.
19135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19138 Likewise.
19139 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19144 routines to libm-sysdep_routines.
19145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19146
65a82e3d
DM
19147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19148 fdim/fdimf to libm-sysdep_routines.
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19150 file.
19151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19153 file.
19154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19157 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19158 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19159 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19160 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19161
e34ab705
SP
191622013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19163
2a91b573
SP
19164 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19165 to optimize copies.
19166
1066a534
SP
19167 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19169 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19170
e34ab705
SP
19171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19172 local variable MPTWO.
19173 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19174 Likewise.
19175
aba5e596
MF
191762013-01-13 Mike Frysinger <vapier@gentoo.org>
19177
19178 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19179 GLOB_NOESCAPE.
19180
e557e9e5
MF
191812013-01-13 Mike Frysinger <vapier@gentoo.org>
19182
19183 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19184
0428cec9
MF
191852013-01-13 Mike Frysinger <vapier@gentoo.org>
19186
19187 * manual/pattern.texi (glob_t): Document gl_flags.
19188 (glob64_t): Likewise.
19189
8794a964
DM
191902013-01-11 David S. Miller <davem@davemloft.net>
19191
66438c3f
RM
19192 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19193 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19194 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19195 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19196 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19197 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19198 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19199 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19200 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19201 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19202 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19203 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19204 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19205
4ae4244d
DM
19206 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19207 sparc V9 rather than using V8 code.
19208 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19209 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19210
8794a964
DM
19211 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19212 Move to...
19213 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19214 Here.
19215
6270516e
RM
192162013-01-11 Roland McGrath <roland@hack.frob.com>
19217
19218 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19219 not in the main loop.
19220 * configure: Regenerated.
19221
6a57d931
JM
192222013-01-11 Joseph Myers <joseph@codesourcery.com>
19223
19224 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19225 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19226 to just #else.
19227 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19228 [!__GLIBC_HAVE_LONG_LONG] case.
19229 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19230 condition to just #else.
19231 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19232 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19233 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19234 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19235 unconditional.
19236 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19237 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19238 #elif condition to just #else.
19239 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19240 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19241 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19242 #elif condition to just #else.
19243
0e8529e9
SE
192442013-01-11 Steve Ellcey <sellcey@mips.com>
19245
19246 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19247 (EF_MIPS_ARCH_64): Fix value.
19248 (EF_MIPS_ARCH_32R2): New.
19249 (EF_MIPS_ARCH_64R2): New.
19250
740b3dbe
L
192512013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19252
19253 * Makeconfig (+link-pie-before-libc): New.
19254 (+link-pie-after-libc): Likewise.
19255 (+link-pie-tests): Likewise.
19256 (+link-pie): Rewritten.
19257 (link-before-libc): Remove $(config-LDFLAGS).
19258 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19259 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19260 (config-LDFLAGS): Renamed to ...
19261 (rtld-LDFLAGS): This.
19262 (rtld-tests-LDFLAGS): New macro.
19263 (link-libc-rpath-link): Likewise.
19264 (link-libc-tests-rpath-link): Likewise.
19265 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19266 (link-libc): Prepand $(link-libc-rpath-link).
19267 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19268 (test-program-prefix): New macro.
19269 (test-via-rtld-prefix): Likewise.
19270 (test-program-cmd): Likewise.
19271 (host-test-program-cmd): Likewise.
19272 * Makefile ($(common-objpfx)testrun.sh): Replace
19273 $(run-program-prefix) with $(test-program-prefix).
19274 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19275 $(rtld-LDFLAGS).
19276 ($(common-objpfx)shlib.lds): Likewise.
19277 (build-module-helper): Likewise.
19278 ($(common-objpfx)format.lds): Likewise.
19279 * Rules (binaries-pie-tests): New.
19280 (binaries-pie-notests): Likewise.
19281 (binaries-pie): Rewritten.
19282 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19283 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19284 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19285 (make-test-out): Replace $(host-built-program-cmd) with
19286 $(host-test-program-cmd).
19287 * config.make.in (build-hardcoded-path-in-tests): New variable.
19288 * configure.in (--enable-hardcoded-path-in-tests): New configure
19289 option.
19290 (hardcoded_path_in_tests): New AC_SUBST.
19291 * configure: Regenerated.
19292 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19293 $(built-program-cmd) with $(test-program-cmd).
19294 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19295 (test_program_cmd): This.
19296 * elf/Makefile ($(objpfx)order.out): Run test with
19297 $(test-program-prefix).
19298 ($(objpfx)order2.out): Likewise.
19299 ($(objpfx)tst-initorder.out): Likewise.
19300 ($(objpfx)tst-initorder2.out): Likewise.
19301 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19302 $(test-program-cmd).
19303 ($(objpfx)tst-array1-static.out): Likewise.
19304 ($(objpfx)tst-array2.out): Likewise.
19305 ($(objpfx)tst-array3.out): Likewise.
19306 ($(objpfx)tst-array4.out): Likewise.
19307 ($(objpfx)tst-array5.out): Likewise.
19308 ($(objpfx)tst-array5-static.out): Likewise.
19309 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19310 $(test-program-cmd).
19311 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19312 $(run-program-prefix) with $(test-program-prefix).
19313 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19314 (test_program_prefix): This.
19315 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19316 $(run-program-prefix) with $(test-program-prefix).
19317 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19318 (test_program_prefix): This.
19319 * iconvdata/tst-tables.sh: Likewise.
19320 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19321 $(run-program-prefix) with $(test-program-prefix).
19322 ($(objpfx)tst-translit.out): Likewise.
19323 ($(objpfx)tst-gettext2.out): Likewise.
19324 ($(objpfx)tst-gettext4.out): Likewise.
19325 ($(objpfx)tst-gettext6.out): Likewise.
19326 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19327 (test_program_prefix): This.
19328 * intl/tst-gettext2.sh: Likewise.
19329 * intl/tst-gettext4.sh Likewise.
19330 * intl/tst-gettext6.sh: Likewise.
19331 * intl/tst-translit.sh: Likewise.
19332 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19333 with $(test-program-cmd).
19334 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19335 $(run-program-prefix) with $(test-program-prefix).
19336 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19337 (test_program_prefix): This.
19338 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19339 $(run-program-prefix) with $(test-program-prefix).
19340 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19341 (test_program_prefix): This.
19342 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19343 * posix/Makefile ($(objpfx)globtest.out): Replace
19344 $(run-via-rtld-prefix) and $(test-wrapper) with
19345 $(test-program-prefix) and $(test-via-rtld-prefix).
19346 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19347 $(test-program-prefix).
19348 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19349 $(host-test-program-cmd).
19350 (tst-spawn-ARGS): Likewise.
19351 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19352 $(test-program-prefix).
19353 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19354 (test_via_rtld_prefix): This.
19355 (test_wrapper): Renamed to ...
19356 (test_program_prefix): This.
19357 (run_program_prefix): Replaced by test_program_prefix.
19358 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19359 (test_program_prefix): This.
19360 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19361 with $(host-test-program-cmd).
19362 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19363 $(run-program-prefix) with $(test-program-prefix).
19364 ($(objpfx)tst-printf.out): Likewise.
19365 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19366 $(test-program-cmd).
19367 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19368 (test_program_prefix): This.
19369 * stdio-common/tst-unbputc.sh: Likewise.
19370 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19371 $(run-program-prefix) with $(test-program-prefix).
19372 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19373 (test_program_prefix): This.
19374 * string/Makefile ($(objpfx)tst-svc.out): Replace
19375 $(built-program-cmd) with $(test-program-cmd).
19376
c6fe55cf
AJ
193772013-01-11 Andreas Jaeger <aj@suse.de>
19378
19379 [BZ #15003]
19380 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19381 value. Sync with Linux 3.7.
19382
9e6919c8
DM
193832013-01-10 David S. Miller <davem@davemloft.net>
19384
19385 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19386 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19387 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19388
1c9f1a02
RM
193892013-01-10 Roland McGrath <roland@hack.frob.com>
19390
19391 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19392 never set.
19393 * configure: Regenerated.
19394
b9de2dde
DM
193952013-01-10 David S. Miller <davem@davemloft.net>
19396
19397 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19398 sparc V9 rather than using V8 code.
19399 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19400 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19401
e7f68ef4
RM
194022013-01-10 Roland McGrath <roland@hack.frob.com>
19403
19404 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19405 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19406 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19407 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19408 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19409 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19410 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19411 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19412 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19413 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19414 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19415 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19416 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19417 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19418 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19419 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19420 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19421 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19422 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19423 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19424 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19425 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19426 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19427 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19428 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19429 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19430 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19431
5a47cc9c
DM
194322013-01-10 David S. Miller <davem@davemloft.net>
19433
19434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19435
4cf8f209
L
194362013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19437
19438 * posix/Makefile (tests-static): New variable.
19439 (tests): Add $(tests-static).
19440 (tst-exec-static-ARGS): New variable.
19441 (tst-spawn-static-ARGS): Likewise.
19442 * posix/tst-exec-static.c: New file.
19443 * posix/tst-spawn-static.c: Likewise.
19444 * posix/tst-exec.c: Support run directly.
19445 * posix/tst-spawn.c: Likewise.
19446
fed0faa1
JM
194472013-01-10 Joseph Myers <joseph@codesourcery.com>
19448
828beb13
JM
19449 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19450 long.
19451 * math/bits/mathcalls.h (llrint): Likewise.
19452 (llround): Likewise.
19453 * stdlib/stdlib.h (struct drand48_data): Likewise.
19454 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19455 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19456 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19457 Likewise.
19458 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19459 Likewise.
19460 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19461 (elf_greg_t): Likewise.
19462 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19463 (__jmp_buf): Likewise.
19464 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19465 definitions.
19466 (llrint): Likewise, for all definitions.
19467 (llrintl): Likewise.
19468
fed0faa1
JM
19469 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19470 Remove [__GNUC__] condition.
19471 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19472 condition to just [__USE_ISOC99].
19473 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19474
1a20cb20
L
194752013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19476
19477 [BZ #14200]
19478 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19479 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19480 defined.
19481 (_POSIX_V6_ILP32_OFF32): Likewise.
19482 (_XBS5_ILP32_OFF32): Likewise.
19483 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19484 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19485
751b85f7
SP
194862013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19487
7490eb81
SP
19488 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19489
751b85f7
SP
19490 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19491 doubles __mpexp_twomm1. Adjust usage.
19492 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19493 Remove.
19494
988197f0
AS
194952013-01-10 Andreas Schwab <schwab@suse.de>
19496
19497 [BZ #14964]
19498 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19499 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19500
e83d7298
DM
195012013-01-09 David S. Miller <davem@davemloft.net>
19502
034ed64b 19503 [BZ #15003]
57f41c40
AS
19504 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19505 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19506 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19507 (TCP_FASTOPEN): Define.
e83d7298
DM
19508 (tcp_repair_opt): New structure.
19509 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19510 enum values.
57f41c40
AS
19511 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19512 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19513 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
19514 (tcp_cookie_transactions): New structure.
19515
d5e0b9bd
AB
195162013-01-09 Anton Blanchard <anton@samba.org>
19517
19518 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19519 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19520 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19521 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19522
0c07e3ea
JM
195232013-01-09 Joseph Myers <joseph@codesourcery.com>
19524
19525 * include/features.h (__USE_ANSI): Remove.
19526
232f7002
RM
195272013-01-09 Roland McGrath <roland@hack.frob.com>
19528
ad98e30c
RM
19529 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19530
232f7002
RM
19531 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19532
950c99ca
SP
195332013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19534
b5792741
SP
19535 * sysdeps/s390/fpu/libm-test-ulps: Update.
19536
47cf2278
SP
19537 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19538
950c99ca
SP
19539 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
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 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19554 (__acr): Likewise.
19555 (__cpy): Likewise.
19556 (norm): Likewise.
19557 (denorm): Likewise.
19558 (__mp_dbl): Likewise.
19559 (__dbl_mp): Likewise.
19560 (add_magnitudes): Likewise.
19561 (sub_magnitudes): Likewise.
19562 (__add): Likewise.
19563 (__sub): Likewise.
19564 (__mul): Likewise.
19565 (__inv): Likewise.
19566 (__dvd): Likewise.
19567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19568 (__acr): Likewise.
19569 (__cpy): Likewise.
19570 (norm): Likewise.
19571 (denorm): Likewise.
19572 (__mp_dbl): Likewise.
19573 (__dbl_mp): Likewise.
19574 (add_magnitudes): Likewise.
19575 (sub_magnitudes): Likewise.
19576 (__add): Likewise.
19577 (__sub): Likewise.
19578 (__mul): Likewise.
19579 (__inv): Likewise.
19580 (__dvd): Likewise.
19581
eede9df9
JM
195822013-01-08 Joseph Myers <joseph@codesourcery.com>
19583
19584 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19585 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19586 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19587 2 && __USE_EXTERN_INLINES]: Likewise.
19588
c40ea3d9
AJ
195892013-01-08 Andreas Jaeger <aj@suse.de>
19590
19591 [BZ# 14985]
19592 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19593 Remove.
19594 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19595 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19596
2ccdea26
AB
195972013-01-07 Anton Blanchard <anton@samba.org>
19598
19599 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19600 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19601 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19602 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19603 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19604 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19605 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19606 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19608 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19609 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19610 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19611 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19612 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19613 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19614 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19615 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19616 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19617 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19618 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19619 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19620 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19621 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19622 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19623 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19624 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19625 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19626 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19627 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19628 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19629 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19630 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19631 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19632 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19633 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19634 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19635 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19636 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19637 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19638 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19639 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19640 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19641 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19642
a9708fed
JM
196432013-01-07 Joseph Myers <joseph@codesourcery.com>
19644
375607b9
JM
19645 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19646 (__MALLOC_PMT): Likewise.
19647 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19648 [__GNUC__], only on [_LIBC].
19649 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19650 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19651 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19652 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19653 forward declaration.
19654 (realloc_hook_ini): Likewise.
19655 (memalign_hook_ini): Likewise.
19656 (__libc_memalign): Do not use __MALLOC_PMT in variable
19657 declaration.
19658 (__libc_valloc): Likewise.
19659 (__libc_pvalloc): Likewise.
19660 (__libc_calloc): Likewise.
19661 (__posix_memalign): Likewise.
19662
a9708fed
JM
19663 [BZ #14996]
19664 * math/s_casinh.c: Include <float.h>.
19665 (__casinh): Do not do computation with squaring and square root
19666 for large arguments.
19667 * math/s_casinhf.c: Include <float.h>.
19668 (__casinhf): Do not do computation with squaring and square root
19669 for large arguments.
19670 * math/s_casinhl.c: Include <float.h>.
19671 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19672 (__casinhl): Do not do computation with squaring and square root
19673 for large arguments.
19674 * math/libm-test.inc (casin_test): Add more tests.
19675 (casinh_test): Likewise.
19676 * sysdeps/i386/fpu/libm-test-ulps: Update.
19677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19678
afec409a
L
196792013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19680
19681 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19682 (__x86_64_raw_data_cache_size): Likewise.
19683 (__x86_64_data_cache_size_half): Likewise.
19684 (__x86_64_raw_data_cache_size_half): Likewise.
19685 (__x86_64_shared_cache_size): Likewise.
19686 (__x86_64_raw_shared_cache_size): Likewise.
19687 (__x86_64_shared_cache_size_half): Likewise.
19688 (__x86_64_raw_shared_cache_size_half): Likewise.
19689 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19690 to ...
19691 (__x86_data_cache_size): This.
19692 (__x86_64_raw_data_cache_size): Renamed to ...
19693 (__x86_raw_data_cache_size): This.
19694 (__x86_64_data_cache_size_half): Renamed to ...
19695 (__x86_data_cache_size_half): This.
19696 (__x86_64_raw_data_cache_size_half): Renamed to ...
19697 (__x86_raw_data_cache_size_half): This.
19698 (__x86_64_shared_cache_size): Renamed to ...
19699 (__x86_shared_cache_size): This.
19700 (__x86_64_raw_shared_cache_size): Renamed to ...
19701 (__x86_raw_shared_cache_size): This.
19702 (__x86_64_shared_cache_size_half): Renamed to ...
19703 (__x86_shared_cache_size_half): This.
19704 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19705 (__x86_raw_shared_cache_size_half): This.
19706 * sysdeps/x86_64/memcpy.S: Updated.
19707 * sysdeps/x86_64/memset.S: Likewise.
19708 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19709 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19710 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19711
0b3986d0
DM
197122013-01-04 David S. Miller <davem@davemloft.net>
19713
19714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19715
e47686e9
AS
197162013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19717
d643bac1
AS
19718 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19719 1 to avoid redefinition warning.
19720 (__USE_GNU): Don't define.
19721 (init_signaling_nan): Protoize.
19722
e47686e9
AS
19723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19724
b18decba
SP
197252013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19726
fffb407f
SP
19727 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19728 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19729 (__cpymn): Likewise.
19730 (norm): Remove commented code.
19731 (denorm): Likewise.
19732 (__mp_dbl): Likewise.
19733 (__inv): Likewise.
19734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19735 (__cpymn): Likewise.
19736 (norm): Remove commented code.
19737 (denorm): Likewise.
19738 (__mp_dbl): Likewise.
19739 (__inv): Likewise.
19740
b18decba
SP
19741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19742 mp_no value for 1.0 and 2.0.
19743 (norm): Use RADIXI instead of radixi.d.
19744 (denorm): Likewise.
19745 (__mul): Use 0.0 instead of zero.d.
19746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19747 mp_no value for 1.0 and 2.0.
19748 (norm): Use RADIXI instead of radixi.d.
19749 (denorm): Likewise.
19750 (__mul): Use 0.0 instead of zero.d.
19751
cdc1c96f
JM
197522013-01-04 Joseph Myers <joseph@codesourcery.com>
19753
19754 [BZ #14994]
19755 * math/s_casinh.c (__casinh): Reduce finite argument to first
19756 quadrant then set signs of results at the end.
19757 * math/s_casinhf.c (__casinhf): Likewise.
19758 * math/s_casinhl.c (__casinhl): Likewise.
19759 * math/libm-test.inc (casin_test): Add more tests.
19760 (casinh_test): Likewise.
19761 * sysdeps/i386/fpu/libm-test-ulps: Update.
19762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19763
302913e1
SP
197642013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19765
6420d207
SP
19766 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19767
a9e48ab4
SP
19768 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19769
b7837264
SP
19770 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19771 declarations.
19772 (denorm): Likewise.
19773 (__mp_dbl): Likewise.
19774 (__inv): Likewise.
19775
f8af25d2
SP
19776 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19777 and adjust the header comment.
19778
302913e1
SP
19779 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19780 variable name from declaration.
19781
5d7dd1ca
L
197822013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19783
19784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19785 Initialize COMMON_CPUID_INDEX_7 element.
19786 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19787 (CPUID_RTM): Likewise.
19788 (HAS_RTM): Likewise.
19789 (COMMON_CPUID_INDEX_7): New enum.
19790
2f5f40f4
AS
197912013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19792
19793 [BZ #14981]
19794 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19795 size is zero, record memory as freed.
19796
4056f4a0
AJ
197972013-01-03 Andreas Jaeger <aj@suse.de>
19798
19799 * po/ia.po: Add new Interlingua translation.
19800
ab15736f 198012012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19802
19803 * locale/programs/localedef.c: Fix description of '--posix' flag.
19804
568035b7
JM
198052013-01-02 Joseph Myers <joseph@codesourcery.com>
19806
e6898b8d
JM
19807 * NEWS: Update dates in second copyright notice.
19808 * README: Update copyright dates in example.
19809 * manual/libc.texinfo: Update copyright dates.
19810 * scripts/test-installation.pl: Update copyright date in --version
19811 output.
19812
0e2f9562
JM
19813 * hurd/ctty-input.c: Fix copyright notice formatting.
19814 * hurd/ctty-output.c: Likewise.
19815 * hurd/dtable.c: Likewise.
19816 * hurd/hurd-raise.c: Likewise.
19817 * hurd/hurdprio.c: Likewise.
19818 * hurd/msgportdemux.c: Likewise.
19819 * misc/sys/file.h: Likewise.
19820 * misc/sys/ioctl.h: Likewise.
19821 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19822 * sysdeps/mach/hurd/chdir.c: Likewise.
19823 * sysdeps/mach/hurd/fchdir.c: Likewise.
19824 * sysdeps/mach/hurd/rename.c: Likewise.
19825 * sysdeps/mach/hurd/rmdir.c: Likewise.
19826 * sysdeps/mach/hurd/seekdir.c: Likewise.
19827 * sysdeps/mach/hurd/setsid.c: Likewise.
19828 * sysdeps/posix/wait3.c: Likewise.
19829
568035b7
JM
19830 * All files with FSF copyright notices: Update copyright dates
19831 using scripts/update-copyrights.
19832 * intl/plural.c: Regenerated.
19833 * locale/programs/charmap-kw.h: Likewise.
19834 * locale/programs/locfile-kw.h: Likewise.
19835
da08f647
SP
198362013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19837
0f5477af
SP
19838 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19839 four values.
19840
44e0d4c2
SP
19841 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19842 calculation loop and add branch prediction.
19843
4d55b4e5
SP
19844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19845 check access beyond bounds of m1np.
19846
da08f647
SP
19847 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19848 MPTWO.
19849 (__inv): Remove local variable MPTWO to use the global
19850 constant.
19851 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19852 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19853 variable MPTWO.
19854 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19855 MP3HALFS static const.
19856
8e051029
DM
198572013-01-01 David S. Miller <davem@davemloft.net>
19858
19859 * po/ca.po: Update from translation team.
19860
f4cf5f2d
JM
198612013-01-01 Joseph Myers <joseph@codesourcery.com>
19862
19863 * scripts/update-copyrights: New file.
19864 * Makeconfig: Reformat copyright notice.
19865 * ctype/ctype.h: Likewise.
19866 * debug/swprintf_chk.c: Likewise.
19867 * elf/dl-cache.c: Likewise.
19868 * elf/dl-debug.c: Likewise.
19869 * elf/dl-object.c: Likewise.
19870 * grp/initgroups.c: Likewise.
19871 * hurd/Makefile: Likewise.
19872 * hurd/hurd/signal.h: Likewise.
19873 * hurd/hurdfault.c: Likewise.
19874 * hurd/hurdioctl.c: Likewise.
19875 * hurd/hurdlookup.c: Likewise.
19876 * hurd/intr-msg.c: Likewise.
19877 * iconv/gconv_open.c: Likewise.
19878 * libio/swprintf.c: Likewise.
19879 * locale/lc-ctype.c: Likewise.
19880 * locale/nl_langinfo.c: Likewise.
19881 * mach/Machrules: Likewise.
19882 * mach/Makefile: Likewise.
19883 * malloc/obstack.h: Likewise.
19884 * manual/Makefile: Likewise.
19885 * manual/tsort.awk: Likewise.
19886 * misc/bits/stab.def: Likewise.
19887 * nis/nis_print_group_entry.c: Likewise.
19888 * nis/nis_table.c: Likewise.
19889 * nis/nss_compat/compat-pwd.c: Likewise.
19890 * nis/nss_compat/compat-spwd.c: Likewise.
19891 * po/Makefile: Likewise.
19892 * posix/fnmatch.c: Likewise.
19893 * posix/regex.h: Likewise.
19894 * resolv/Makefile: Likewise.
19895 * resolv/nss_dns/dns-network.c: Likewise.
19896 * resolv/res_hconf.c: Likewise.
19897 * scripts/gen-sorted.awk: Likewise.
19898 * soft-fp/soft-fp.h: Likewise.
19899 * stdio-common/printf.h: Likewise.
19900 * stdlib/monetary.h: Likewise.
19901 * stdlib/random.c: Likewise.
19902 * stdlib/random_r.c: Likewise.
19903 * sysdeps/generic/Makefile: Likewise.
19904 * sysdeps/gnu/Makefile: Likewise.
19905 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19906 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19907 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19909 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19911 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19912 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19913 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19914 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19915 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19916 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19917 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19918 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19919 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19920 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19921 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19922 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19923 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19924 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19925 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19926 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19927 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19928 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19929 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19930 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19931 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19932 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19933 * sysdeps/mach/hurd/errnos.awk: Likewise.
19934 * sysdeps/mach/hurd/fork.c: Likewise.
19935 * sysdeps/mach/hurd/getcwd.c: Likewise.
19936 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19937 * sysdeps/mach/hurd/mmap.c: Likewise.
19938 * sysdeps/mach/hurd/utimes.c: Likewise.
19939 * sysdeps/mach/hurd/xmknod.c: Likewise.
19940 * sysdeps/posix/profil.c: Likewise.
19941 * sysdeps/posix/readdir_r.c: Likewise.
19942 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19943 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19944 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19945 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19947 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19948 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19949 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19950 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19951 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19952 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19953 * sysdeps/pthread/lio_listio.c: Likewise.
19954 * sysdeps/sparc/dl-procinfo.h: Likewise.
19955 * sysdeps/unix/i386/sysdep.S: Likewise.
19956 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19957 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19958 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19959 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19961 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19962 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19963 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19964 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19965 * sysdeps/wordsize-32/divdi3.c: Likewise.
19966 * time/sys/time.h: Likewise.
19967 * wcsmbs/Makefile: Likewise.
19968
0549fbba
DM
199692013-01-01 David S. Miller <davem@davemloft.net>
19970
a141f1a7
DM
19971 * po/fr.po: Update from translation team.
19972
0549fbba
DM
19973 * catgets/gencat.c: Update copyright year.
19974 * csu/version.c: Likewise.
19975 * debug/catchsegv.sh: Likewise.
19976 * debug/pcprofiledump.c: Likewise.
19977 * debug/xtrace.sh: Likewise.
19978 * elf/ldconfig.c: Likewise.
19979 * elf/ldd.bash.in: Likewise.
19980 * elf/pldd.c: Likewise.
19981 * elf/sotruss.ksh: Likewise.
19982 * elf/sprof.c: Likewise.
19983 * iconv/iconv_prog.c: Likewise.
19984 * iconv/iconvconfig.c: Likewise.
19985 * locale/programs/locale.c: Likewise.
19986 * locale/programs/localedef.c: Likewise.
19987 * login/programs/pt_chown.c: Likewise.
19988 * malloc/memusage.sh: Likewise.
19989 * malloc/memusagestat.c: Likewise.
19990 * malloc/mtrace.pl: Likewise.
19991 * nscd/nscd.c: Likewise.
19992 * nss/getent.c: Likewise.
19993 * nss/makedb.c: Likewise.
19994 * posix/getconf.c: Likewise.
19995
18ea052c
SP
199962012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19997
19998 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19999 numbers.
20000
9c89fca6
MF
200012012-12-30 Mike Frysinger <vapier@gentoo.org>
20002
20003 * math/bits/mathcalls.h (modf): Use __nonnull.
20004
085ec079
SP
200052012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20006
20007 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20008 (split): Use macro CN instead of the bare value.
20009 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20010 could be used.
20011 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20012 instead of the bare value.
20013 (power1): Likewise.
20014
6d9f97e1
SP
200152012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20016
d63f73be
SP
20017 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20018 __ATAN_TWOM.
20019 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20020
6d9f97e1
SP
20021 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20022 their values.
20023 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20024 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20025 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20026 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20027
4c4febf5
AJ
200282012-12-28 Andreas Jaeger <aj@suse.de>
20029
af5843ef
AJ
20030 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20031 values are from Linux 3.7.
20032
4c4febf5
AJ
20033 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20034 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20035
99136f82
SP
200362012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20037
2f216c3c 20038 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20039 TRUE case.
20040
99136f82
SP
20041 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20042 (norm): Likewise.
20043 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20044 variables with preprocessor constants.
20045 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20046 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20047 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20048
7fffbdff
BH
200492012-12-27 Bruno Haible <bruno@clisp.org>
20050
20051 [BZ #14317]
20052 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20053 only if needed.
20054
b76eb5f0
SP
200552012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20056
31a7fe5c
SP
20057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20058 and use variable directly.
20059 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20060
b76eb5f0
SP
20061 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20062 MPONE.
20063 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20064 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20065 variable MPONE.
20066 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20067 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20068 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20069 include directive. Remove local variable MPONE.
20070 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20071 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20072 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20073
2c8bfe7d
DM
200742012-12-25 David S. Miller <davem@davemloft.net>
20075
20076 * version.h (RELEASE): Set to "development".
20077 (VERSION): Set to "2.17.90".
20078 * NEWS: Add 2.18 section.
20079
147d03b0
DM
200802012-12-21 David S. Miller <davem@davemloft.net>
20081
20082 * po/hr.po: Update from translation team.
20083
a8ebb2b9
AK
200842012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20085
20086 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20087
95b4f1b6
SE
200882012-12-19 Steve Ellcey <sellcey@mips.com>
20089
b2d94007 20090 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20091
cedb2a90
MS
200922012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20093
20094 * manual/contrib.texi (Contributors): Spelling correction.
20095
bbf527d6
DM
200962012-12-15 David S. Miller <davem@davemloft.net>
20097
20098 * po/ru.po: Update from translation team.
20099
bc38c906
DM
201002012-12-13 David S. Miller <davem@davemloft.net>
20101
85429b1a
DM
20102 * NEWS: Mention IFUNC testsuite enhancements.
20103
d283e353
DM
20104 * po/pl.po: Update from translation team.
20105 * po/bg.po: Likewise.
20106
bc38c906
DM
20107 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20108 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20109
a181b0d7
DM
201102012-12-11 David S. Miller <davem@davemloft.net>
20111
4641d57e
DM
20112 * po/sv.po: Update from translation team.
20113
f7bc6495
DM
20114 * po/vi.po: Update from translation team.
20115
6fc9048f
DM
20116 * po/cs.po: Update from translation team.
20117
a181b0d7
DM
20118 * po/de.po: Update from translation team.
20119 * po/eo.po: Likewise.
20120 * po/nl.po: Likewise.
20121
f70bfe80
SP
201222012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20123
3c8b4190
SP
20124 [BZ #14246]
20125 * manual/argp.texi (Argp Helper Functions): Move node to follow
20126 Argp Parsing State.
20127
f70bfe80
SP
20128 [BZ #14872]
20129 * manual/conf.texi (Limits on File System Capacity): Mention if
20130 terminating null is included in the max size.
20131
188f0adf
AJ
201322012-12-10 Andreas Jaeger <aj@suse.de>
20133
20134 * po/cs.po: Update from translation team.
20135
56e7d3ad
SP
201362012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20137
20138 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20139 void pointer and cast to uintptr_t.
20140 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20141 path.
20142 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20143 * sysdeps/s390/s390-64/memset.S: Likewise.
20144
76f2d2ea 201452012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20146
20147 [BZ #14833]
20148 * menual/message.texi (Message Translation): Fix typos.
20149 (Helper programs for gettext): Likewise.
20150
67cbf9a2
AS
201512012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20152
20153 [BZ #14898]
20154 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20155 Change to -1.
20156
682d0e9a
DM
201572012-12-07 David S. Miller <davem@davemloft.net>
20158
20159 * po/libc.pot: Update.
20160
573cd484
RH
201612012-12-07 Richard Henderson <rth@redhat.com>
20162
7e9da188 20163 [BZ #10114]
573cd484
RH
20164 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20165 normal/normal case to before the switch.
20166 (_FP_DIV): Likewise.
20167
e933a943
MF
201682012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20169 Mike Frysinger <vapier@gentoo.org>
20170
20171 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20172 check for __NR_fadvise64_64.
20173
82123268
CM
201742012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20175
20176 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20177 0, not just to plain "0" as a statement.
20178 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20179 with cw.
20180
d9814526
JM
201812012-12-06 Joseph Myers <joseph@codesourcery.com>
20182
20183 * NEWS: Use sourceware.org in Bugzilla URL.
20184
7728c574
SP
201852012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20186
f16946dd
SP
20187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20188 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20189
5704bbcb
SP
20190 * stdio-common/tst-put-error.c (do_test): Add newline to the
20191 padded test to ensure flush.
20192
17aa0516
JL
201932012-12-05 Jeff Law <law@redhat.com>
20194
20195 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20196
363313b5
JM
201972012-12-05 Joseph Myers <joseph@codesourcery.com>
20198
effbd42a
JM
20199 * README: Don't refer to ports add-on as distributed separately.
20200 Mention AArch64 in list of systems supported in the ports add-on.
20201
87600365
JM
20202 * LICENSES: Add more non-FSF copyright and license notices.
20203
a0d7066a
JM
20204 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20205 ((unused)).
20206
66ca5a5b
JM
20207 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20208
363313b5
JM
20209 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20210 10000 as width of padded output.
20211
b37984ad
JM
202122012-12-04 Joseph Myers <joseph@codesourcery.com>
20213
9003570a
JM
20214 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20215
b37984ad
JM
20216 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20217 variable LX with __attribute__ ((unused)).
20218 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20219 Likewise.
20220 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20221 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20222 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20223 with __attribute__ ((unused)).
20224
c8df52ec
DM
202252012-12-04 David S. Miller <davem@abraco.davemloft.net>
20226
20227 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20228
b3b099af
JM
202292012-12-04 Joseph Myers <joseph@codesourcery.com>
20230
c33aa6e3
JM
20231 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20232 (CFLAGS-nldbl-acos.c): New variable.
20233 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20234 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20235 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20236 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20237 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20238 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20239 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20240 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20241 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20242 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20243 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20244 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20245 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20246 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20247 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20248 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20249 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20250 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20251 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20252 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20253 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20254 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20255 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20256 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20257 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20258 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20259 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20260 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20261 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20262 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20263 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20264 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20265 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20266 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20267 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20268 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20269 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20270 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20271 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20272 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20273 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20274 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20275 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20276 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20277 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20278 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20279 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20280 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20281 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20282 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20283 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20284 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20285 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20286 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20287 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20288 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20289 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20290 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20291 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20292 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20293 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20294 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20295 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20296 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20297 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20298 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20299 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20300 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20301 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20302 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20303 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20304 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20305 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20306 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20307 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20308 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20309 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20310 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20311 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20312 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20313 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20314 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20315 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20316 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20317 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20318 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20319 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20320 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20321 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20322 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20323 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20324 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20325 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20326 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20327 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20328 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20329 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20330
20f0018d
JM
20331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20332 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20333
b3b099af
JM
20334 [BZ #14914]
20335 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20336 whole low double instead of just low 47 bits when splitting values
20337 into two parts.
20338
029264d1
AM
203392012-12-03 Allan McRae <allan@archlinux.org>
20340
20341 * manual/stdio.texi (Predefined Printf Handlers): Remove
20342 @hsep and @vsep usage.
20343
c9d6789e
MF
203442012-12-03 Mike Frysinger <vapier@gentoo.org>
20345
20346 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20347 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20348
4b7634a5
JL
203492012-12-03 Jeff Law <law@redhat.com>
20350
20351 * time/sys/time.h (settimeofday): Do not mark TV argument
20352 as __nonnull.
20353
eb6cbd24
MF
203542012-12-01 Mike Frysinger <vapier@gentoo.org>
20355
20356 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20357 when currently writing and seek to current position when not.
20358 * libio/Makefile (tests): Remove bug-fclose1.
20359 * libio/bug-fclose1.c: Delete.
20360
f638872a
JM
203612012-12-01 Joseph Myers <joseph@codesourcery.com>
20362
20363 * manual/arith.texi (feenableexcept): Fix typo.
20364 (fedisableexcept): Likewise.
20365
48085d14
RM
203662012-11-30 Roland McGrath <roland@hack.frob.com>
20367
20368 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20369 second, differently-typed declaration, rather than a cast.
20370
1a538b9f
SP
203712012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20372
20373 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20374 * include/rpc/svc.h: ... here.
20375
d07f2ff1 203762012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20377
20378 [BZ #13013]
20379 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20380 depending n and resplen2 to catch cases where answer
20381 equals answerp2.
20382
c93ec1f0
CD
203832012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20384
20385 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20386 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20387
37db69de
MF
203882012-11-29 Mike Frysinger <vapier@gentoo.org>
20389
20390 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20391
e10c4e4f
RM
203922012-11-29 Roland McGrath <roland@hack.frob.com>
20393
20394 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20395
2af1b328
JL
203962012-11-28 Jeff Law <law@redhat.com>
20397
20398 [BZ #13761]
20399 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20400 dataset_temporary. Track alloca usage into alloca_used.
20401 If dataset is large allocate and release it via malloc/free.
20402
111db5b1
FW
204032012-06-04 Florian Weimer <fweimer@redhat.com>
20404
f06cc227 20405 [BZ #14197]
111db5b1
FW
20406 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20407
dd694abd
DM
204082012-11-28 David S. Miller <davem@davemloft.net>
20409
20410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20411
9984dd01
JM
204122012-11-28 Joseph Myers <joseph@codesourcery.com>
20413
20414 [BZ #14803]
20415 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20416 of pi/2 rounded to nearest to 64 bits.
20417 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20418 nearest to 64 bits.
20419 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20420 bits.
20421
14bc93a9
JL
204222012-11-28 Jeff Law <law@redhat.com>
20423 Martin Osvald <mosvald@redhat.com>
20424
20425 [BZ #14889]
20426 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20427 * sunrpc/svc.c: Include time.h.
20428 (__svc_accept_failed): New function.
20429 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20430 any reason other than EINTR, call __svc_accept_failed.
20431 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20432 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20433
e3c6aa3a
AS
204342012-11-28 Andreas Schwab <schwab@suse.de>
20435
20436 * scripts/abilist.awk: Also handle indirect functions in .opd
20437 section.
20438
1bead169
JM
204392012-11-28 Joseph Myers <joseph@codesourcery.com>
20440
20441 [BZ #13881]
20442 * sysdeps/x86/fpu/powl_helper.c: New file.
20443 * sysdeps/x86/fpu/Makefile: Likewise.
20444 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20445 (p3): New object.
20446 (__ieee754_powl): Use __powl_helper for finite arguments except
20447 integer exponents below 8.
20448 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20449 (p3): New object.
20450 (__ieee754_powl): Use __powl_helper for finite arguments except
20451 integer exponents below 8.
20452 * math/libm-test.inc (pow_test): Add more tests and enable some
20453 previously disabled tests.
20454 * sysdeps/i386/fpu/libm-test-ulps: Update.
20455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20456
0817d63d
SP
204572012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20458 Carlos O'Donell <carlos_odonell@mentor.com>
20459
20460 * nss/makedb.c (is_prime): Assert that input is odd and greater
20461 than 4. Note that fact in a comment too.
20462 (next_prime): Add 4 to input.
20463
de2fd463
SP
204642012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20465
20466 [BZ #11741]
20467 * libio/Makefile (tests): Add test case tst-fwrite-error.
20468 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20469 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20470 * libio/tst-fwrite-error.c: New test case.
20471
c515fb51
L
204722012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20473
20474 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20475 before casting to void *.
20476 * include/libc-internal.h (__pointer_type): New macro.
20477 (__integer_if_pointer_type_sub): Likewise.
20478 (__integer_if_pointer_type): Likewise.
20479 (cast_to_integer): Likewise.
20480 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20481 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20482 before casting to atomic64_t.
20483 (atomic_exchange_acq): Likewise.
20484 (__arch_exchange_and_add_body): Likewise.
20485 (__arch_add_body): Likewise.
20486 (atomic_add_negative): Likewise.
20487 (atomic_add_zero): Likewise.
20488
4cf77aa9
JM
204892012-11-26 Joseph Myers <joseph@codesourcery.com>
20490
20491 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20492 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20493 (add_fdes): Likewise.
20494 (linear_search_fdes): Likewise.
20495 (binary_search_unencoded_fdes): Likewise.
20496
d260b3b4
AS
204972012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20498
20499 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20500
67060746
AC
205012012-11-24 Adam Conrad <adconrad@0c3.net>
20502
20503 * configure.in: Autodetect C++ header directories.
20504 * configure: Regenerated.
20505
800938a1
MF
205062012-11-23 Mike Frysinger <vapier@gentoo.org>
20507
20508 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20509
4e6e34e6
AS
205102012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20511
20512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20513
7c7feb47
JM
205142012-11-22 Joseph Myers <joseph@codesourcery.com>
20515
7184dcdf
JM
20516 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20517 LDBL_MANT_DIG == 106]: Disable some tests.
20518 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20519 Likewise.
20520 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20521 Likewise.
20522
0a42601f
JM
20523 [BZ #14871]
20524 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20525 input for small inputs. Return +/- pi/2 for large inputs.
20526 * math/libm-test.inc (atan_test): Add more tests.
20527
79c9b9fe
JM
20528 * sysdeps/generic/unwind-dw2-fde-glibc.c
20529 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20530 __attribute__ ((unused)).
20531
c60d3bf2
JM
20532 [BZ #14645]
20533 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20534 x * y if x and y are nonzero and z is zero.
20535
ef1e0867
JM
20536 [BZ #14811]
20537 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20538 nonzero exponents with absolute value below 0x1p-117 to +/-
20539 0x1p-117.
20540
1468ded3
JM
20541 [BZ #14869]
20542 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20543 up arguments below 2**-450, not just those below 2**-500.
20544 * math/libm-test.inc (hypot_test): Add another test.
20545
8e27e3cc
JM
20546 [BZ #14868]
20547 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20548 Return a+b for ratio over 2**120, not 2**60.
20549 * math/libm-test.inc (hypot_test): Add another test.
20550
c9c0279b
JM
20551 * math/libm-test.inc (clog_test): Use
20552 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20553 (clog10_test): Likewise.
20554
7c7feb47
JM
20555 [BZ #6778]
20556 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20557
fff1530e
AS
205582012-11-22 Andreas Schwab <schwab@suse.de>
20559
20560 * sysdeps/i386/fpu/libm-test-ulps: Update.
20561
94558d30
PT
205622012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20563
20564 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20565 printf output with newline.
20566
7e1be741
L
205672012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20568
6bfea974
L
20569 [BZ #14865]
20570 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20571 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20572 -z nodlopen, -z initfirst and -z execstack support.
20573 * configure: Regenerated.
20574
7e1be741
L
20575 * elf/elf.h (DF_1_NODIRECT): New macro.
20576 (DF_1_IGNMULDEF): Likewise.
20577 (DF_1_NOKSYMS): Likewise.
20578 (DF_1_NOHDR): Likewise.
20579 (DF_1_EDITED): Likewise.
20580 (DF_1_NORELOC): Likewise.
20581 (DF_1_SYMINTPOSE): Likewise.
20582 (DF_1_GLOBAUDIT): Likewise.
20583 (DF_1_SINGLETON): Likewise.
20584 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20585 DT_1_SUPPORTED_MASK bits.
20586 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20587
105ce2ce
CD
205882012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20589
20590 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20591
123be9de
TS
205922012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20593
d072f3f7
TS
20594 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20595 macro.
20596
123be9de
TS
20597 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20598 (sendmmsg): Move declarations...
20599 * socket/sys/socket.h: ... here.
20600 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20601 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20602 include it from...
20603 * socket/recvmmsg.c: ... this new file.
20604 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20605 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20606 definition of __sendmmsg hidden.
20607 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20608 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20609 Move ENOSYS stub into and include it from...
20610 * socket/sendmmsg.c: ... this new file.
20611 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20612 (sysdep_routines): Move recvmmsg and sendmmsg...
20613 * socket/Makefile (routines): ... here.
20614 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20615 (GLIBC_PRIVATE): Add __sendmmsg.
20616 * include/sys/socket.h (__sendmmsg): Add declarations.
20617 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20618 sendmmsg.
20619
cf9a5d18
JM
206202012-11-20 Joseph Myers <joseph@codesourcery.com>
20621
20622 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20623 variable I1 with __attribute__ ((unused)).
20624 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20625
ecd4caf9
JM
206262012-11-19 Joseph Myers <joseph@codesourcery.com>
20627
be14d48f
JM
20628 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20629 DUMMY variables with __attribute__ ((unused)).
20630
ecd4caf9
JM
20631 * bits/byteswap.h: Include <bits/types.h>.
20632 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20633
986cab95
PT
206342012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20635
20636 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20637 string_t. Do not manually set errno.
20638 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20639 length with __strnlen. Make sure to both set errno and return it on
20640 failure.
20641
6d33cc9d
DM
206422012-11-19 David S. Miller <davem@davemloft.net>
20643
20644 With help from Joseph Myers.
20645 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20646 very large arguments properly.
20647 * math/libm-test.inc (atan_test): New tests.
20648 (atan2_test): New tests.
20649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20651
ee663277
JM
206522012-11-19 Joseph Myers <joseph@codesourcery.com>
20653
877f2d8e
JM
20654 [BZ #14856]
20655 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20656 Define to 3.
20657
116fc08a
JM
20658 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20659 [POSIX] (EADDRNOTAVAIL): Likewise.
20660 [POSIX] (EAFNOSUPPORT): Likewise.
20661 [POSIX] (EALREADY): Likewise.
20662 [POSIX] (ECONNABORTED): Likewise.
20663 [POSIX] (ECONNREFUSED): Likewise.
20664 [POSIX] (ECONNRESET): Likewise.
20665 [POSIX] (EDESTADDRREQ): Likewise.
20666 [POSIX] (EDQUOT): Likewise.
20667 [POSIX] (EHOSTUNREACH): Likewise.
20668 [POSIX] (EIDRM): Likewise.
20669 [POSIX] (EISCONN): Likewise.
20670 [POSIX] (ELOOP): Likewise.
20671 [POSIX] (EMULTIHOP): Likewise.
20672 [POSIX] (ENETDOWN): Likewise.
20673 [POSIX] (ENETUNREACH): Likewise.
20674 [POSIX] (ENOBUFS): Likewise.
20675 [POSIX] (ENODATA): Likewise.
20676 [POSIX] (ENOLINK): Likewise.
20677 [POSIX] (ENOMSG): Likewise.
20678 [POSIX] (ENOPROTOOPT): Likewise.
20679 [POSIX] (ENOSR): Likewise.
20680 [POSIX] (ENOSTR): Likewise.
20681 [POSIX] (ENOTCONN): Likewise.
20682 [POSIX] (ENOTSOCK): Likewise.
20683 [POSIX] (EOPNOTSUPP): Likewise.
20684 [POSIX] (EOVERFLOW): Likewise.
20685 [POSIX] (EPROTO): Likewise.
20686 [POSIX] (EPROTONOSUPPORT): Likewise.
20687 [POSIX] (EPROTOTYPE): Likewise.
20688 [POSIX] (ESTALE): Likewise.
20689 [POSIX] (ETIME): Likewise.
20690 [POSIX] (ETXTBSY): Likewise.
20691 [POSIX] (EWOULDBLOCK): Likewise.
20692 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20693 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20694 [POSIX] (SEEK_CUR): Likewise.
20695 [POSIX] (SEEK_END): Likewise.
20696 [POSIX || UNIX98] (mode_t): Do not require.
20697 [POSIX] (off_t): Likewise.
20698 [POSIX] (pid_t): Likewise.
20699 [POSIX] (sys/stat.h): Do not allow header.
20700 [POSIX] (unistd.h): Likewise.
20701 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20702 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20703 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20704 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20705 require.
20706 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20707 sigevent): Specify elements.
20708 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20709 entry.
20710 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20711 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20712
a483863f
JM
20713 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20714 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20715 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20716 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20717 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20718 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20719 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20720 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20721 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20722 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20723 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20724 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20725 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20726 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20727 Likewise.
20728 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20729 Likewise.
20730 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20731 Likewise.
20732 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20733 Likewise.
20734 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20735 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20736 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20737 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20738 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20739 Specify lower bound on value.
20740 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20741 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20742 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20743 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20744 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20745 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20746 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20747 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20748 value.
20749 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20750 as optional.
20751 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20752 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20753 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20754 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20755 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20756 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20757 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20758 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20759 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20760 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20761 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20762 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20763 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20764 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20765 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20766 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20767 entry.
20768 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20769 optional.
20770 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20771 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20772 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20773 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20774 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20775 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20776 Likewise.
20777 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20778 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20779 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20780 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20781 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20782 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20783 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20784 as optional.
20785 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20786 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20787 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20788 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20789 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20790 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20791 specify as optional.
20792 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20793 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20794 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20795 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20796 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20797 [XPG3] (NL_LANGMAX): Likewise.
20798 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20799 [POSIX || XPG3] (NL_NMAX): Likewise.
20800 [POSIX || XPG3] (NL_SETMAX): Likewise.
20801 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20802 [XPG3] (NZERO): Likewise.
20803 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20804 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20805 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20806 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20807 (REG_ERANGE): Expect.
20808 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20809 optional-constant.
20810 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20811 Use (void) in prototype.
20812 [POSIX] (*_t): Allow.
20813 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20814 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20815 (WRDE_BADVAL): Expect.
20816
5ba924e3
JM
20817 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20818 expect.
20819 [XPG3 || XPG4] (O_RSYNC): Likewise.
20820 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20821 Likewise.
20822 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20823 [XPG3 || XPG4] (sigqueue): Likewise.
20824 [XPG3 || XPG4] (sigtimedwait): Likewise.
20825 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20826 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20827 [XPG3 || XPG4] (vsnprintf): Likewise.
20828 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20829 Likewise.
20830 [XPG3 || XPG4] (blksize_t): Likewise.
20831 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20832 Likewise.
20833 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20834 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20835 [XPG3 || XPG4] (struct itimerspec): Likewise.
20836 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20837 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20838 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20839 [XPG3 || XPG4] (clockid_t): Likewise.
20840 [XPG3 || XPG4] (timer_t): Likewise.
20841 [XPG3 || XPG4] (clock_getres): Likewise.
20842 [XPG3 || XPG4] (clock_gettime): Likewise.
20843 [XPG3 || XPG4] (clock_settime): Likewise.
20844 [XPG3 || XPG4] (nanosleep): Likewise.
20845 [XPG3 || XPG4] (timer_create): Likewise.
20846 [XPG3 || XPG4] (timer_delete): Likewise.
20847 [XPG3 || XPG4] (timer_gettime): Likewise.
20848 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20849 [XPG3 || XPG4] (timer_settime): Likewise.
20850 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20851 [XPG3 || XPG4] (getlogin_r): Likewise.
20852 [XPG3 || XPG4] (pread): Likewise.
20853 [XPG3 || XPG4] (pthread_atfork): Likewise.
20854 [XPG3 || XPG4] (pwrite): Likewise.
20855
ee663277
JM
20856 [BZ #14835]
20857 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20858 <bits/siginfo.h>.
20859
942caa16
PT
208602012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20861
e19af380
PT
20862 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20863 finalizing MALLSTREAM.
20864
942caa16
PT
20865 * sysdeps/mach/hurd/syncfs.c: New file.
20866
cfde9b46
SP
208672012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20868
20869 [BZ #14719]
20870 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20871 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20872 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20873 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20874 (_nss_dns_gethostbyname4_r): Likewise.
20875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20876 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20877
f6da27e5
PH
208782012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20879
20880 [BZ #13763]
20881 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20882
6665d4a2
SM
208832012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20884
1f51ee92
SM
20885 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20886 * elf/cache.c (print_entry): Print ",AArch64" for
20887 FLAG_AARCH64_LIB64
20888
6665d4a2
SM
20889 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20890 * elf/cache.c (print_entry): Print ",hard-float" for
20891 FLAG_ARM_LIBHF.
20892
05b227bd
DM
208932012-11-18 David S. Miller <davem@davemloft.net>
20894
20895 With help from Joseph Myers.
20896 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20897 cutoff to 2**-13.
20898 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20899 cutoff to 2**-25.
20900 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20901 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20902 small.
20903 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20904 * math/libm-test.inc (y0_test): New tests.
20905 (y1_test): New tests.
20906 * sysdeps/i386/fpu/libm-test-ulps: Update.
20907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20909
786b0b67
AS
209102012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20911
20912 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20913 64-bit targets.
20914 * configure: Regenerated.
20915
8e18b86d
DM
209162012-11-17 David S. Miller <davem@davemloft.net>
20917
20918 [BZ #14811]
20919 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20920 nonzero exponents with absolute value below 0x1p-128 to +/-
20921 0x1p-128.
20922
531f1ae0
JM
209232012-11-17 Joseph Myers <joseph@codesourcery.com>
20924
12df29e2
JM
20925 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20926
150dc1a0
JM
20927 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20928
531f1ae0
JM
20929 * posix/getconf-speclist.c: New file.
20930 * posix/posix-envs.def: Likewise.
20931 * posix/confstr.c (START_ENV_GROUP): New macro.
20932 (END_ENV_GROUP): Likewise.
20933 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20934 (KNOWN_PRESENT_ENV_STRING): Likewise.
20935 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20936 (UNKNOWN_ENVIRONMENT): Likewise.
20937 (confstr): Include posix-envs.def instead of handling
20938 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20939 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20940 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20941 (END_ENV_GROUP): Likewise.
20942 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20943 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20944 (UNKNOWN_ENVIRONMENT): Likewise.
20945 (__sysconf): Include posix-envs.def instead of handling associated
20946 cases directly here.
20947 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20948 preprocessing getconf-speclist.c rather than running getconf or
20949 generating empty file.
20950
a93f9cbc
PT
209512012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20952
20953 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20954
d64d9f87
AL
209552012-11-16 Andrej Lajovic <natrij@gmail.com>
20956
20957 [BZ #14672]
20958 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20959
447885eb
DM
209602012-11-16 David S. Miller <davem@davemloft.net>
20961
20962 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20963 smaller than LDBL_EPSILON/2.0L, just return xm1.
20964
bcbf9830
L
209652012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20966
20967 * elf/tst-array1.c (init): Set constructor priority to 1000.
20968 (fini): Set destructor priority to 1000.
20969 * elf/tst-array2dep.c: Likewise.
20970
2b766585
SP
209712012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20972
20973 [BZ #11741]
20974 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20975 (_IO_new_file_xsputn): Also return EOF if none of the input
20976 data was written when overflow failed.
20977 * libio/iopadn.c (_IO_padn): Likewise.
20978 * libio/iowpadn.c (_IO_wpadn): Likewise.
20979 * stdio-common/tst-put-error.c: Add copyright notice.
20980 (do_test): Add case for printing padded string.
20981 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20982 _IO_padn returned error.
20983 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20984 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20985 return EOF.
20986
b1848fde
SP
209872012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20988
20989 * libio/libioP.h: Add comment note that the references to C++
20990 bits are now obsolete.
20991
2fd89785
MS
209922012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20993
20994 * math/libm-test.inc (check_complex): Use asprintf.
20995
e3ea5409
JM
209962012-11-14 Joseph Myers <joseph@codesourcery.com>
20997
20998 * debug/pcprofiledump.c (print_version): Update copyright year.
20999 * malloc/memusagestat.c (print_version): Likewise.
21000
2e64d265
L
210012012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21002
21003 [BZ #14831]
21004 * elf/Makefile (tests): Add tst-audit8.
21005 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21006 ($(objpfx)tst-audit8.out): New target.
21007 (tst-audit8-ENV): New variable.
21008 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21009 audit if l_reloc_result is NULL.
21010 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21011 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21012 * elf/tst-audit8.c: New file.
21013
c485e4d2
MS
210142012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21015
21016 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21017 * misc/Makefile (CFLAGS-select.c): Define.
21018 * posix/Makefile (CFLAGS-pause.c): Define.
21019
3a0d900a
DM
210202012-11-13 David S. Miller <davem@davemloft.net>
21021
21022 * crypt/Makefile: Move test targets after toplevel Rules
21023 inclusion. Grab any necessary sysdep routines when linking.
21024 * crypt/md5.c (md5_process_block): Remove define, we will always
21025 name it __md5_process_block.
21026 (md5_finish_ctx): Update md5_process_block call.
21027 (md5_stream): Likewise.
21028 (md5_process_bytes): Likewise.
21029 (md5_process_block): Rename to __md5_process_block and move to ...
21030 * crypt/md5-block.c: ... here.
21031 * crypt/sha256.c (sha256_process_block): Move to ...
21032 * crypt/sha256-block.c: ... here.
21033 * crypt/sha512.c (sha512_process_block): Move to ...
21034 * crypt/sha512-block.c: ... here.
21035 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21036 path.
21037 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21038 * sysdeps/sparc/sparc64/multiarch/Makefile
21039 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21040 crypt subdir.
21041 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21042 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21043 multiarch changes.
21044 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21045 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21046 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21047 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21048 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21049 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21050 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21051 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21052 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21053 file.
21054 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21055 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21056 file.
21057 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21058
8ca89318
JM
210592012-11-13 Joseph Myers <joseph@codesourcery.com>
21060
e27d476a
JM
21061 * timezone/tzselect.ksh: Update from tzcode git revision
21062 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21063 * timezone/zdump.c: Likewise.
21064 * timezone/zic.c: Likewise.
21065 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21066 in TZVERSION setting, not $(PKGVERSION).
21067 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21068 REPORT_BUGS_TO settings.
21069
8ca89318
JM
21070 [BZ #14838]
21071 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21072 macro.
21073
47594329
MS
210742012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21075
21076 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21077 detection to immediately after _FP_ROUND().
21078 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21079 bits are 0.
21080
640ac3f1
DM
210812012-11-11 David S. Miller <davem@davemloft.net>
21082
21083 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21084 inttypes.h
21085 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21086 __close rather than their public counterparts.
21087
3d2577bb
JM
210882012-11-10 Joseph Myers <joseph@codesourcery.com>
21089
21090 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21091 file.
21092 [UNIX98] (sem_timedwait): Do not expect.
21093 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21094 [XPG4 || UNIX98] (sockatmark): Do not expect.
21095 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21096 (clock_getcpuclockid): Do not expect.
21097 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21098 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21099 Do not expect.
21100 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21101 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21102 [UNIX98] (vwscanf): Likewise.
21103 [UNIX98] (vswscanf): Likewise.
21104
fb1ae1ee
JM
211052012-11-09 Joseph Myers <joseph@codesourcery.com>
21106
9ec6f8bd
JM
21107 * timezone/version.h: Remove file.
21108 * timezone/README: Do not refer to version.h.
21109 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21110 $(objpfx)version.h.
21111 ($(objpfx)zdump.o): Likewise.
c3f81911 21112 ($(objpfx)version.h): New target.
9ec6f8bd 21113
0aa8f8a1
JM
21114 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21115 2012i.
21116 * timezone/README: Don't mention modification to tzselect.ksh.
21117 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21118 work on unmodified tzselect.ksh. Substitute version numbers in
21119 tzselect.ksh.
21120
4e87147f
JM
21121 * Makefile (format-me): Remove.
21122 (INSTALL): Adjust indentation. Use commands directly instead of
21123 using $(format-me).
21124
8b748aed
JM
21125 * aclocal.m4 (ACX_PKGVERSION): New macro.
21126 (ACX_BUGURL): Likewise.
21127 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21128 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21129 (REPORT_BUGS_TO): Likewise.
21130 * configure: Regenerated.
21131 * config.h.in (PKGVERSION): New macro.
21132 (REPORT_BUGS_TO): Likewise.
21133 * config.make.in (PKGVERSION): New variable.
21134 (PKGVERSION_TEXI): Likewise.
21135 (REPORT_BUGS_TO): Likewise.
21136 (REPORT_BUGS_TEXI): Likewise.
21137 * Makefile (format-me): Use -I$(common-objpfx)manual.
21138 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21139 ($(common-objpfx)manual/%): New target.
21140 (manual/%): Remove target.
21141 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21142 (print_version): Use PKGVERSION.
21143 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21144 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21145 and REPORT_BUGS_TO.
21146 ($(objpfx)xtrace): Likewise.
21147 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21148 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21149 (print_version): Use PKGVERSION.
21150 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21151 (do_version): Use PKGVERSION.
21152 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21153 REPORT_BUGS_TO.
21154 (common-ldd-rewrite): Likewise.
21155 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21156 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21157 (print_version): Use PKGVERSION.
21158 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21159 * elf/pldd.c (argp_program_bug_address): Remove variable.
21160 (more_help): New function.
21161 (argp): Use more_help.
21162 (print_version): Use PKGVERSION.
21163 * elf/sln.c (main): Use PKGVERSION.
21164 (usage): Use REPORT_BUGS_TO.
21165 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21166 (top level): Use PKGVERSION.
21167 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21168 (print_version): Use PKGVERSION.
21169 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21170 (print_version): Use PKGVERSION.
21171 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21172 (print_version): Use PKGVERSION.
21173 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21174 (print_version): Use PKGVERSION.
21175 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21176 (print_version): Use PKGVERSION.
21177 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21178 (print_version): Use PKGVERSION.
21179 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21180 and BUGURL.
21181 ($(objpfx)memusage): Likewise.
21182 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21183 (do_version): Use PKGVERSION.
21184 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21185 (print_version): Use PKGVERSION.
21186 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21187 ($PKGVERSION): New variable.
21188 ($REPORT_BUGS_TO): Likewise.
21189 (usage): Use $REPORT_BUGS_TO.
21190 (top level): Use $PKGVERSION.
21191 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21192 ($(objpfx)pkgvers.texi): New rule.
21193 ($(objpfx)stamp-pkgvers): Likewise.
21194 * manual/install.texi: Include pkgvers.texi.
21195 (--with-pkgversion): Document new configure option.
21196 (--with-bugurl): Likewise.
21197 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21198 than necessarily for this particular distribution. Use
21199 REPORT_BUGS_TO for where to report bugs.
21200 * INSTALL: Regenerated.
21201 * manual/libc.texinfo: Include pkgvers.texi.
21202 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21203 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21204 (print_version): Use PKGVERSION.
21205 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21206 (print_version): Use PKGVERSION.
21207 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21208 (print_version): Use PKGVERSION.
21209 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21210 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21211 macro.
21212 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21213 (print_version): Use PKGVERSION.
21214 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21215 (print_version): Use PKGVERSION.
21216 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21217 and PKGVERSION.
21218
92e4b6a9
JM
21219 * timezone/checktab.awk: Update from tzcode 2012i.
21220 * timezone/ialloc.c: Likewise.
21221 * timezone/private.h: Likewise.
21222 * timezone/scheck.c: Likewise.
21223 * timezone/tzfile.h: Likewise.
21224 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21225 (TZVERSION): Hardcode tzcode version number.
21226 * timezone/zdump.c: Update from tzcode 2012i.
21227 * timezone/zic.c: Likewise.
21228 * timezone/version.h: New file.
21229 * timezone/README: Describe version.h. Update upstream location.
21230
9bde902c
JM
21231 [BZ #14824]
21232 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21233 (mktemp): Enable declaration.
21234 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21235 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21236 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21237 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21238 Likewise.
21239 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21240 Likewise.
21241 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21242 Likewise.
21243 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21244 Likewise.
21245 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21246 Likewise.
21247 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21248 Likewise.
21249
fb1ae1ee
JM
21250 [BZ #14821]
21251 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21252 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21253 for copies of such integer values.
21254 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21255 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21256
2c1adbcb
AJ
212572012-11-09 Andreas Jaeger <aj@suse.de>
21258
21259 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21260 definitions and declarations that are provided by
21261 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21262
d0f8457e
AK
212632012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21264
3a235abb 21265 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21266 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21267 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21268 definition.
21269
57241e26
MS
212702012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21271
21272 * elf/elf.h: Update comment before AArch64 relocations.
21273
60e8270d
DM
212742012-11-07 David S. Miller <davem@davemloft.net>
21275
21276 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21277 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21278 (__start_context): Declare.
21279 (__makecontext_ret): Delete.
21280 (__makecontext): Hook up __start_context instead of
21281 __makecontext_ret.
21282 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21283 (sysdep_routines): Add __start_context when in stdlib.
21284
0fbb0fbc
JM
212852012-11-07 Joseph Myers <joseph@codesourcery.com>
21286
21287 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21288 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21289 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21290 hardcoded "nm".
21291 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21292 (READELF): New variable. Use it instead of hardcoded "readelf".
21293
eb48db7e
L
212942012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21295
21296 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21297 * sysdeps/x86/Makefile: Here.
21298 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21299 * sysdeps/x86/tst-xmmymm.sh: This.
21300
05bcf62a
JM
213012012-11-07 Joseph Myers <joseph@codesourcery.com>
21302
c4b6cf53
JM
21303 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21304 expectations.
21305 [UNIX98] (pthread_barrier_t): Do not expect.
21306 [UNIX98] (pthread_barrierattr_t): Likewise.
21307 [UNIX98] (pthread_spinlock_t): Likewise.
21308 [UNIX98] (pthread_barrier_destroy): Likewise.
21309 [UNIX98] (pthread_barrier_init): Likewise.
21310 [UNIX98] (pthread_barrier_wait): Likewise.
21311 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21312 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21313 [UNIX98] (pthread_barrierattr_init): Likewise.
21314 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21315 [UNIX98] (pthread_getcpuclockid): Likewise.
21316 [UNIX98] (pthread_mutex_timedlock): Likewise.
21317 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21318 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21319 [UNIX98] (pthread_sigmask): Likewise.
21320 [UNIX98] (pthread_spin_destroy): Likewise.
21321 [UNIX98] (pthread_spin_init): Likewise.
21322 [UNIX98] (pthread_spin_lock): Likewise.
21323 [UNIX98] (pthread_spin_trylock): Likewise.
21324 [UNIX98] (pthread_spin_unlock): Likewise.
21325 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21326 Do not expect.
21327 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21328 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21329 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21330 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21331 [XPG3 || XPG4] (pthread_key_t): Likewise.
21332 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21333 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21334 [XPG3 || XPG4] (pthread_once_t): Likewise.
21335 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21336 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21337 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21338 [XPG3 || XPG4] (pthread_t): Likewise.
21339
cbe6e120
JM
21340 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21341 not expect.
21342 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21343
1b126443
JM
21344 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21345 Change function return type to int.
21346
b961a573
JM
21347 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21348 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21349 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21350 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21351 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21352 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21353 [!POSIX] (posix_madvise): Likewise.
21354 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21355 && !UNIX98].
21356 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21357 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21358 (mode_t): Likewise.
21359 (posix_mem_offset): Likewise.
21360 (posix_typed_mem_get_info): Likewise.
21361 (posix_typed_mem_open): Likewise.
21362
9e188909
JM
21363 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21364 Change condition to [XOPEN2K8].
21365
05bcf62a
JM
21366 * conform/conformtest.pl: Preprocess allow-header data with -x c
21367 instead of from stdin.
21368 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21369 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21370 [C99-based standards] (cerfc): Likewise.
21371 [C99-based standards] (cexp2): Likewise.
21372 [C99-based standards] (cexpm1): Likewise.
21373 [C99-based standards] (clog10): Likewise.
21374 [C99-based standards] (clog1p): Likewise.
21375 [C99-based standards] (clog2): Likewise.
21376 [C99-based standards] (clgamma): Likewise.
21377 [C99-based standards] (ctgamma): Likewise.
21378 [C99-based standards] (cerff): Likewise.
21379 [C99-based standards] (cerfcf): Likewise.
21380 [C99-based standards] (cexp2f): Likewise.
21381 [C99-based standards] (cexpm1f): Likewise.
21382 [C99-based standards] (clog10f): Likewise.
21383 [C99-based standards] (clog1pf): Likewise.
21384 [C99-based standards] (clog2f): Likewise.
21385 [C99-based standards] (clgammaf): Likewise.
21386 [C99-based standards] (ctgammaf): Likewise.
21387 [C99-based standards] (cerfl): Likewise.
21388 [C99-based standards] (cerfcl): Likewise.
21389 [C99-based standards] (cexp2l): Likewise.
21390 [C99-based standards] (cexpm1l): Likewise.
21391 [C99-based standards] (clog10l): Likewise.
21392 [C99-based standards] (clog1pl): Likewise.
21393 [C99-based standards] (clog2l): Likewise.
21394 [C99-based standards] (clgammal): Likewise.
21395 [C99-based standards] (ctgammal): Likewise.
21396 * conform/data/inttypes.h-data [C99-based standards]: Include
21397 stdint.h-data. Remove all expectations for stdint.h contents.
21398 [C99-based standards] (PRI*): Do not allow.
21399 [C99-based standards] (SCN*): Likewise.
21400 [C99-based standards] (*_t): Likewise.
21401 [C99-based-standards] (PRId8): Expect macro.
21402 [C99-based-standards] (PRIi8): Likewise.
21403 [C99-based-standards] (PRIo8): Likewise.
21404 [C99-based-standards] (PRIu8): Likewise.
21405 [C99-based-standards] (PRIx8): Likewise.
21406 [C99-based-standards] (PRIX8): Likewise.
21407 [C99-based-standards] (SCNd8): Likewise.
21408 [C99-based-standards] (SCNi8): Likewise.
21409 [C99-based-standards] (SCNo8): Likewise.
21410 [C99-based-standards] (SCNu8): Likewise.
21411 [C99-based-standards] (SCNx8): Likewise.
21412 [C99-based-standards] (PRIdLEAST8): Likewise.
21413 [C99-based-standards] (PRIiLEAST8): Likewise.
21414 [C99-based-standards] (PRIoLEAST8): Likewise.
21415 [C99-based-standards] (PRIuLEAST8): Likewise.
21416 [C99-based-standards] (PRIxLEAST8): Likewise.
21417 [C99-based-standards] (PRIXLEAST8): Likewise.
21418 [C99-based-standards] (SCNdLEAST8): Likewise.
21419 [C99-based-standards] (SCNiLEAST8): Likewise.
21420 [C99-based-standards] (SCNoLEAST8): Likewise.
21421 [C99-based-standards] (SCNuLEAST8): Likewise.
21422 [C99-based-standards] (SCNxLEAST8): Likewise.
21423 [C99-based-standards] (PRIdFAST8): Likewise.
21424 [C99-based-standards] (PRIiFAST8): Likewise.
21425 [C99-based-standards] (PRIoFAST8): Likewise.
21426 [C99-based-standards] (PRIuFAST8): Likewise.
21427 [C99-based-standards] (PRIxFAST8): Likewise.
21428 [C99-based-standards] (PRIXFAST8): Likewise.
21429 [C99-based-standards] (SCNdFAST8): Likewise.
21430 [C99-based-standards] (SCNiFAST8): Likewise.
21431 [C99-based-standards] (SCNoFAST8): Likewise.
21432 [C99-based-standards] (SCNuFAST8): Likewise.
21433 [C99-based-standards] (SCNxFAST8): Likewise.
21434 [C99-based-standards] (PRId16): Likewise.
21435 [C99-based-standards] (PRIi16): Likewise.
21436 [C99-based-standards] (PRIo16): Likewise.
21437 [C99-based-standards] (PRIu16): Likewise.
21438 [C99-based-standards] (PRIx16): Likewise.
21439 [C99-based-standards] (PRIX16): Likewise.
21440 [C99-based-standards] (SCNd16): Likewise.
21441 [C99-based-standards] (SCNi16): Likewise.
21442 [C99-based-standards] (SCNo16): Likewise.
21443 [C99-based-standards] (SCNu16): Likewise.
21444 [C99-based-standards] (SCNx16): Likewise.
21445 [C99-based-standards] (PRIdLEAST16): Likewise.
21446 [C99-based-standards] (PRIiLEAST16): Likewise.
21447 [C99-based-standards] (PRIoLEAST16): Likewise.
21448 [C99-based-standards] (PRIuLEAST16): Likewise.
21449 [C99-based-standards] (PRIxLEAST16): Likewise.
21450 [C99-based-standards] (PRIXLEAST16): Likewise.
21451 [C99-based-standards] (SCNdLEAST16): Likewise.
21452 [C99-based-standards] (SCNiLEAST16): Likewise.
21453 [C99-based-standards] (SCNoLEAST16): Likewise.
21454 [C99-based-standards] (SCNuLEAST16): Likewise.
21455 [C99-based-standards] (SCNxLEAST16): Likewise.
21456 [C99-based-standards] (PRIdFAST16): Likewise.
21457 [C99-based-standards] (PRIiFAST16): Likewise.
21458 [C99-based-standards] (PRIoFAST16): Likewise.
21459 [C99-based-standards] (PRIuFAST16): Likewise.
21460 [C99-based-standards] (PRIxFAST16): Likewise.
21461 [C99-based-standards] (PRIXFAST16): Likewise.
21462 [C99-based-standards] (SCNdFAST16): Likewise.
21463 [C99-based-standards] (SCNiFAST16): Likewise.
21464 [C99-based-standards] (SCNoFAST16): Likewise.
21465 [C99-based-standards] (SCNuFAST16): Likewise.
21466 [C99-based-standards] (SCNxFAST16): Likewise.
21467 [C99-based-standards] (PRId32): Likewise.
21468 [C99-based-standards] (PRIi32): Likewise.
21469 [C99-based-standards] (PRIo32): Likewise.
21470 [C99-based-standards] (PRIu32): Likewise.
21471 [C99-based-standards] (PRIx32): Likewise.
21472 [C99-based-standards] (PRIX32): Likewise.
21473 [C99-based-standards] (SCNd32): Likewise.
21474 [C99-based-standards] (SCNi32): Likewise.
21475 [C99-based-standards] (SCNo32): Likewise.
21476 [C99-based-standards] (SCNu32): Likewise.
21477 [C99-based-standards] (SCNx32): Likewise.
21478 [C99-based-standards] (PRIdLEAST32): Likewise.
21479 [C99-based-standards] (PRIiLEAST32): Likewise.
21480 [C99-based-standards] (PRIoLEAST32): Likewise.
21481 [C99-based-standards] (PRIuLEAST32): Likewise.
21482 [C99-based-standards] (PRIxLEAST32): Likewise.
21483 [C99-based-standards] (PRIXLEAST32): Likewise.
21484 [C99-based-standards] (SCNdLEAST32): Likewise.
21485 [C99-based-standards] (SCNiLEAST32): Likewise.
21486 [C99-based-standards] (SCNoLEAST32): Likewise.
21487 [C99-based-standards] (SCNuLEAST32): Likewise.
21488 [C99-based-standards] (SCNxLEAST32): Likewise.
21489 [C99-based-standards] (PRIdFAST32): Likewise.
21490 [C99-based-standards] (PRIiFAST32): Likewise.
21491 [C99-based-standards] (PRIoFAST32): Likewise.
21492 [C99-based-standards] (PRIuFAST32): Likewise.
21493 [C99-based-standards] (PRIxFAST32): Likewise.
21494 [C99-based-standards] (PRIXFAST32): Likewise.
21495 [C99-based-standards] (SCNdFAST32): Likewise.
21496 [C99-based-standards] (SCNiFAST32): Likewise.
21497 [C99-based-standards] (SCNoFAST32): Likewise.
21498 [C99-based-standards] (SCNuFAST32): Likewise.
21499 [C99-based-standards] (SCNxFAST32): Likewise.
21500 [C99-based-standards] (PRId64): Likewise.
21501 [C99-based-standards] (PRIi64): Likewise.
21502 [C99-based-standards] (PRIo64): Likewise.
21503 [C99-based-standards] (PRIu64): Likewise.
21504 [C99-based-standards] (PRIx64): Likewise.
21505 [C99-based-standards] (PRIX64): Likewise.
21506 [C99-based-standards] (SCNd64): Likewise.
21507 [C99-based-standards] (SCNi64): Likewise.
21508 [C99-based-standards] (SCNo64): Likewise.
21509 [C99-based-standards] (SCNu64): Likewise.
21510 [C99-based-standards] (SCNx64): Likewise.
21511 [C99-based-standards] (PRIdLEAST64): Likewise.
21512 [C99-based-standards] (PRIiLEAST64): Likewise.
21513 [C99-based-standards] (PRIoLEAST64): Likewise.
21514 [C99-based-standards] (PRIuLEAST64): Likewise.
21515 [C99-based-standards] (PRIxLEAST64): Likewise.
21516 [C99-based-standards] (PRIXLEAST64): Likewise.
21517 [C99-based-standards] (SCNdLEAST64): Likewise.
21518 [C99-based-standards] (SCNiLEAST64): Likewise.
21519 [C99-based-standards] (SCNoLEAST64): Likewise.
21520 [C99-based-standards] (SCNuLEAST64): Likewise.
21521 [C99-based-standards] (SCNxLEAST64): Likewise.
21522 [C99-based-standards] (PRIdFAST64): Likewise.
21523 [C99-based-standards] (PRIiFAST64): Likewise.
21524 [C99-based-standards] (PRIoFAST64): Likewise.
21525 [C99-based-standards] (PRIuFAST64): Likewise.
21526 [C99-based-standards] (PRIxFAST64): Likewise.
21527 [C99-based-standards] (PRIXFAST64): Likewise.
21528 [C99-based-standards] (SCNdFAST64): Likewise.
21529 [C99-based-standards] (SCNiFAST64): Likewise.
21530 [C99-based-standards] (SCNoFAST64): Likewise.
21531 [C99-based-standards] (SCNuFAST64): Likewise.
21532 [C99-based-standards] (SCNxFAST64): Likewise.
21533 [C99-based-standards] (PRIdMAX): Likewise.
21534 [C99-based-standards] (PRIiMAX): Likewise.
21535 [C99-based-standards] (PRIoMAX): Likewise.
21536 [C99-based-standards] (PRIuMAX): Likewise.
21537 [C99-based-standards] (PRIxMAX): Likewise.
21538 [C99-based-standards] (PRIXMAX): Likewise.
21539 [C99-based-standards] (SCNdMAX): Likewise.
21540 [C99-based-standards] (SCNiMAX): Likewise.
21541 [C99-based-standards] (SCNoMAX): Likewise.
21542 [C99-based-standards] (SCNuMAX): Likewise.
21543 [C99-based-standards] (SCNxMAX): Likewise.
21544 [C99-based-standards] (PRIdPTR): Likewise.
21545 [C99-based-standards] (PRIiPTR): Likewise.
21546 [C99-based-standards] (PRIoPTR): Likewise.
21547 [C99-based-standards] (PRIuPTR): Likewise.
21548 [C99-based-standards] (PRIxPTR): Likewise.
21549 [C99-based-standards] (PRIXPTR): Likewise.
21550 [C99-based-standards] (SCNdPTR): Likewise.
21551 [C99-based-standards] (SCNiPTR): Likewise.
21552 [C99-based-standards] (SCNoPTR): Likewise.
21553 [C99-based-standards] (SCNuPTR): Likewise.
21554 [C99-based-standards] (SCNxPTR): Likewise.
21555 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21556 allow.
21557 * conform/data/stdint.h-data: Update comments to clarify
21558 requirements.
21559 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21560 type.
21561 [C99-based standards] (INT8_MAX): Likewise.
21562 [C99-based standards] (INT16_MIN): Likewise.
21563 [C99-based standards] (INT16_MAX): Likewise.
21564 [C99-based standards] (INT32_MIN): Likewise.
21565 [C99-based standards] (INT32_MAX): Likewise.
21566 [C99-based standards] (INT64_MIN): Likewise.
21567 [C99-based standards] (INT64_MAX): Likewise.
21568 [C99-based standards] (UINT8_MAX): Likewise.
21569 [C99-based standards] (UINT16_MAX): Likewise.
21570 [C99-based standards] (UINT32_MAX): Likewise.
21571 [C99-based standards] (UINT64_MAX): Likewise.
21572 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21573 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21574 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21575 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21576 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21577 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21578 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21579 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21580 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21581 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21582 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21583 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21584 [C99-based standards] (INT_FAST8_MIN): Likewise.
21585 [C99-based standards] (INT_FAST8_MAX): Likewise.
21586 [C99-based standards] (INT_FAST16_MIN): Likewise.
21587 [C99-based standards] (INT_FAST16_MAX): Likewise.
21588 [C99-based standards] (INT_FAST32_MIN): Likewise.
21589 [C99-based standards] (INT_FAST32_MAX): Likewise.
21590 [C99-based standards] (INT_FAST64_MIN): Likewise.
21591 [C99-based standards] (INT_FAST64_MAX): Likewise.
21592 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21593 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21594 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21595 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21596 [C99-based standards] (INTPTR_MIN): Likewise.
21597 [C99-based standards] (INTPTR_MAX): Likewise.
21598 [C99-based standards] (UINTPTR_MAX): Likewise.
21599 [C99-based standards] (INTMAX_MIN): Likewise.
21600 [C99-based standards] (INTMAX_MAX): Likewise.
21601 [C99-based standards] (UINTMAX_MAX): Likewise.
21602 [C99-based standards] (PTRDIFF_MIN): Likewise.
21603 [C99-based standards] (PTRDIFF_MAX): Likewise.
21604 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21605 [C99-based standards] (SIZE_MAX): Likewise.
21606 [C99-based standards] (WCHAR_MAX): Likewise.
21607 [C99-based standards] (WINT_MAX): Likewise.
21608 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21609 constraint on value.
21610 [C99-based standards] (WCHAR_MIN): Likewise.
21611 [C99-based standards] (WINT_MIN): Likewise.
21612 [C99-based standards] (*_t): Allow.
21613 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21614 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21615 Include math.h-data and complex.h-data. Remove all expectations
21616 of math.h and complex.h contents.
21617 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21618 at end of line.
21619 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21620 (struct tm): Expect tag.
21621 [C99-based-standards] (wcstof): Expect function.
21622 [C99-based-standards] (wcstold): Likewise.
21623 [C99-based-standards] (wcstoll): Likewise.
21624 [C99-based-standards] (wcstoull): Likewise.
21625 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21626 macro-int-constant. Specify type.
21627 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21628 constraint on value.
21629 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21630 Specify type.
21631 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21632 Specify value.
21633 [ISO C standards]: Do not allow headers.
21634 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21635 wcs[abcdefghijklmnopqrstuvwxyz]*.
21636 [ISO C standards] (*_t): Do not allow.
21637 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21638 Expect function.
21639 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21640 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21641 Specify type.
21642 [ISO C standards]: Do not allow headers.
21643 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21644 is[abcdefghijklmnopqrstuvwxyz]*.
21645 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21646 to[abcdefghijklmnopqrstuvwxyz]*.
21647 [ISO C standards] (*_t): Do not allow.
21648 * conform/data/stdalign.h-data: New file.
21649 * conform/data/stdbool.h-data: Likewise.
21650 * conform/data/stdnoreturn.h-data: Likewise.
21651
7514feb8
RM
216522012-11-07 Roland McGrath <roland@hack.frob.com>
21653
21654 [BZ #14815]
21655 * manual/filesys.texi (Directory Entries): Typo fix.
21656 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21657
19b2ecfc
MS
216582012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21659
21660 * elf/elf.h (EM_AARCH64): New macro.
21661 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21662 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21663 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21664 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21665 (R_AARCH64_TLSDESC): Likewise.
21666 (NT_ARM_TLS): Likewise.
21667 (NT_ARM_HW_BREAK): Likewise.
21668 (NT_ARM_HW_WATCH): Likewise.
21669
60e235ee
JM
216702012-11-07 Joseph Myers <joseph@codesourcery.com>
21671
21672 [BZ #14811]
21673 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21674 (__ieee754_powl): Saturate nonzero exponents with absolute value
21675 below 0x1p-79 to +/- 0x1p-79.
21676 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21677 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21678 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21679 nonzero exponents with absolute value below 0x1p-32 to +/-
21680 0x1p-32.
21681 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21682 (__ieee754_powl): Saturate nonzero exponents with absolute value
21683 below 0x1p-79 to +/- 0x1p-79.
21684 * math/libm-test.inc (pow_test): Add more tests.
21685
0ab234b7
AK
216862012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21687
21688 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21689 _dl_s390_cap_flags with kernel. Increase string length.
21690 (_dl_s390_platforms): Add z196 and zEC12.
21691
45832f74
JM
216922012-11-07 Joseph Myers <joseph@codesourcery.com>
21693
21694 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21695 Change XOPEN21K to XOPEN2K.
21696
19218757
MK
216972012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21698
21699 * string/memmove.c: Use memcpy when possible.
21700
c5f45721
AJ
217012012-11-06 Andreas Jaeger <aj@suse.de>
21702
21703 * po/eo.po: Update from translation team.
21704
82477c28
JM
217052012-11-06 Joseph Myers <joseph@codesourcery.com>
21706
21707 [BZ #14793]
21708 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21709 exponent and small x and y exponents, scale x or y up. Increase
21710 by 2 the exponent used in scaling up.
21711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21713 * math/libm-test.inc (fma_test): Add more tests.
21714 (fma_test_towardzero): Likewise.
21715 (fma_test_downward): Likewise.
21716 (fma_test_upward): Likewise.
21717
99252c8c
JM
217182012-11-05 Joseph Myers <joseph@codesourcery.com>
21719
acfa885f
JM
21720 [BZ #14805]
21721 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21722 fenv_t *.
21723
99252c8c
JM
21724 [BZ #14801]
21725 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21726 namespace for names of struct fields.
21727 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21728 fenv_t fields.
21729 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21730 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21731
d6d98dea
ST
217322012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21733
21734 [BZ #3665]
21735 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21736
e10bb107
TS
217372012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21738
21739 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21740 PTR_DEMANGLE.
21741
21742 [BZ #5246]
21743 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21744 PTR_DEMANGLE.
21745
a0c2940d
JM
217462012-11-04 Joseph Myers <joseph@codesourcery.com>
21747
21748 [BZ #14797]
21749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21750 definitely overflow as x * y not x * y + z.
21751 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21752 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21753 * math/libm-test.inc (fma_test): Add more tests.
21754 (fma_test_towardzero): Likewise.
21755 (fma_test_downward): Likewise.
21756 (fma_test_upward): Likewise.
21757
b830319d
TS
217582012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21759
21760 [BZ #157]
21761
21762 * include/stub-tag.h: Remove file.
21763 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21764 '#include' of it.
21765 * manual/maint.texi (Porting): Don't reference it.
21766 * Makerules ($(objpfx)stubs): Likewise.
21767 * dirent/closedir.c: Don't include <stub-tag.h>.
21768 * dirent/dirfd.c: Likewise.
21769 * dirent/fdopendir.c: Likewise.
21770 * dirent/getdents.c: Likewise.
21771 * dirent/getdents64.c: Likewise.
21772 * dirent/opendir.c: Likewise.
21773 * dirent/readdir.c: Likewise.
21774 * dirent/readdir64.c: Likewise.
21775 * dirent/readdir64_r.c: Likewise.
21776 * dirent/readdir_r.c: Likewise.
21777 * dirent/rewinddir.c: Likewise.
21778 * dirent/seekdir.c: Likewise.
21779 * dirent/telldir.c: Likewise.
21780 * gmon/profil.c: Likewise.
21781 * grp/setgroups.c: Likewise.
21782 * inet/if_index.c: Likewise.
21783 * io/access.c: Likewise.
21784 * io/chdir.c: Likewise.
21785 * io/chmod.c: Likewise.
21786 * io/chown.c: Likewise.
21787 * io/close.c: Likewise.
21788 * io/dup.c: Likewise.
21789 * io/dup2.c: Likewise.
21790 * io/dup3.c: Likewise.
21791 * io/euidaccess.c: Likewise.
21792 * io/faccessat.c: Likewise.
21793 * io/fchdir.c: Likewise.
21794 * io/fchmod.c: Likewise.
21795 * io/fchmodat.c: Likewise.
21796 * io/fchown.c: Likewise.
21797 * io/fchownat.c: Likewise.
21798 * io/fcntl.c: Likewise.
21799 * io/flock.c: Likewise.
21800 * io/fstatfs.c: Likewise.
21801 * io/fstatfs64.c: Likewise.
21802 * io/fstatvfs.c: Likewise.
21803 * io/fstatvfs64.c: Likewise.
21804 * io/futimens.c: Likewise.
21805 * io/fxstat.c: Likewise.
21806 * io/fxstat64.c: Likewise.
21807 * io/fxstatat.c: Likewise.
21808 * io/fxstatat64.c: Likewise.
21809 * io/getcwd.c: Likewise.
21810 * io/isatty.c: Likewise.
21811 * io/lchmod.c: Likewise.
21812 * io/lchown.c: Likewise.
21813 * io/link.c: Likewise.
21814 * io/linkat.c: Likewise.
21815 * io/lseek.c: Likewise.
21816 * io/lseek64.c: Likewise.
21817 * io/lxstat64.c: Likewise.
21818 * io/mkdir.c: Likewise.
21819 * io/mkdirat.c: Likewise.
21820 * io/mkfifo.c: Likewise.
21821 * io/mkfifoat.c: Likewise.
21822 * io/open.c: Likewise.
21823 * io/open64.c: Likewise.
21824 * io/openat.c: Likewise.
21825 * io/openat64.c: Likewise.
21826 * io/pipe.c: Likewise.
21827 * io/pipe2.c: Likewise.
21828 * io/poll.c: Likewise.
21829 * io/posix_fadvise.c: Likewise.
21830 * io/posix_fadvise64.c: Likewise.
21831 * io/posix_fallocate.c: Likewise.
21832 * io/posix_fallocate64.c: Likewise.
21833 * io/read.c: Likewise.
21834 * io/readlink.c: Likewise.
21835 * io/readlinkat.c: Likewise.
21836 * io/rmdir.c: Likewise.
21837 * io/sendfile.c: Likewise.
21838 * io/sendfile64.c: Likewise.
21839 * io/statfs.c: Likewise.
21840 * io/statfs64.c: Likewise.
21841 * io/statvfs.c: Likewise.
21842 * io/statvfs64.c: Likewise.
21843 * io/symlink.c: Likewise.
21844 * io/symlinkat.c: Likewise.
21845 * io/ttyname.c: Likewise.
21846 * io/ttyname_r.c: Likewise.
21847 * io/umask.c: Likewise.
21848 * io/unlink.c: Likewise.
21849 * io/unlinkat.c: Likewise.
21850 * io/utime.c: Likewise.
21851 * io/utimensat.c: Likewise.
21852 * io/write.c: Likewise.
21853 * io/xmknod.c: Likewise.
21854 * io/xmknodat.c: Likewise.
21855 * io/xstat.c: Likewise.
21856 * io/xstat64.c: Likewise.
21857 * login/getpt.c: Likewise.
21858 * login/grantpt.c: Likewise.
21859 * login/unlockpt.c: Likewise.
21860 * math/e_acoshl.c: Likewise.
21861 * math/e_acosl.c: Likewise.
21862 * math/e_asinl.c: Likewise.
21863 * math/e_atan2l.c: Likewise.
21864 * math/e_atanhl.c: Likewise.
21865 * math/e_coshl.c: Likewise.
21866 * math/e_expl.c: Likewise.
21867 * math/e_fmodl.c: Likewise.
21868 * math/e_gammal_r.c: Likewise.
21869 * math/e_hypotl.c: Likewise.
21870 * math/e_j0l.c: Likewise.
21871 * math/e_j1l.c: Likewise.
21872 * math/e_jnl.c: Likewise.
21873 * math/e_lgammal_r.c: Likewise.
21874 * math/e_log10l.c: Likewise.
21875 * math/e_log2l.c: Likewise.
21876 * math/e_logl.c: Likewise.
21877 * math/e_powl.c: Likewise.
21878 * math/e_rem_pio2l.c: Likewise.
21879 * math/e_sinhl.c: Likewise.
21880 * math/e_sqrtl.c: Likewise.
21881 * math/fclrexcpt.c: Likewise.
21882 * math/fedisblxcpt.c: Likewise.
21883 * math/feenablxcpt.c: Likewise.
21884 * math/fegetenv.c: Likewise.
21885 * math/fegetexcept.c: Likewise.
21886 * math/fegetround.c: Likewise.
21887 * math/feholdexcpt.c: Likewise.
21888 * math/fesetenv.c: Likewise.
21889 * math/fesetround.c: Likewise.
21890 * math/feupdateenv.c: Likewise.
21891 * math/fgetexcptflg.c: Likewise.
21892 * math/fraiseexcpt.c: Likewise.
21893 * math/fsetexcptflg.c: Likewise.
21894 * math/ftestexcept.c: Likewise.
21895 * math/k_cosl.c: Likewise.
21896 * math/k_rem_pio2l.c: Likewise.
21897 * math/k_sinl.c: Likewise.
21898 * math/k_tanl.c: Likewise.
21899 * math/s_asinhl.c: Likewise.
21900 * math/s_atanl.c: Likewise.
21901 * math/s_cbrtl.c: Likewise.
21902 * math/s_erfl.c: Likewise.
21903 * math/s_expm1l.c: Likewise.
21904 * math/s_log1pl.c: Likewise.
21905 * math/s_tanhl.c: Likewise.
21906 * misc/acct.c: Likewise.
21907 * misc/brk.c: Likewise.
21908 * misc/chflags.c: Likewise.
21909 * misc/chroot.c: Likewise.
21910 * misc/fchflags.c: Likewise.
21911 * misc/fgetxattr.c: Likewise.
21912 * misc/flistxattr.c: Likewise.
21913 * misc/fremovexattr.c: Likewise.
21914 * misc/fsetxattr.c: Likewise.
21915 * misc/fsync.c: Likewise.
21916 * misc/ftruncate.c: Likewise.
21917 * misc/futimes.c: Likewise.
21918 * misc/futimesat.c: Likewise.
21919 * misc/getdomain.c: Likewise.
21920 * misc/getdtsz.c: Likewise.
21921 * misc/gethostid.c: Likewise.
21922 * misc/gethostname.c: Likewise.
21923 * misc/getloadavg.c: Likewise.
21924 * misc/getpagesize.c: Likewise.
21925 * misc/getsysstats.c: Likewise.
21926 * misc/getxattr.c: Likewise.
21927 * misc/gtty.c: Likewise.
21928 * misc/ioctl.c: Likewise.
21929 * misc/lgetxattr.c: Likewise.
21930 * misc/listxattr.c: Likewise.
21931 * misc/llistxattr.c: Likewise.
21932 * misc/lremovexattr.c: Likewise.
21933 * misc/lsetxattr.c: Likewise.
21934 * misc/lutimes.c: Likewise.
21935 * misc/madvise.c: Likewise.
21936 * misc/mincore.c: Likewise.
21937 * misc/mlock.c: Likewise.
21938 * misc/mlockall.c: Likewise.
21939 * misc/mmap.c: Likewise.
21940 * misc/mprotect.c: Likewise.
21941 * misc/msync.c: Likewise.
21942 * misc/munlock.c: Likewise.
21943 * misc/munlockall.c: Likewise.
21944 * misc/munmap.c: Likewise.
21945 * misc/preadv.c: Likewise.
21946 * misc/preadv64.c: Likewise.
21947 * misc/ptrace.c: Likewise.
21948 * misc/pwritev.c: Likewise.
21949 * misc/pwritev64.c: Likewise.
21950 * misc/readv.c: Likewise.
21951 * misc/reboot.c: Likewise.
21952 * misc/remap_file_pages.c: Likewise.
21953 * misc/removexattr.c: Likewise.
21954 * misc/revoke.c: Likewise.
21955 * misc/select.c: Likewise.
21956 * misc/setdomain.c: Likewise.
21957 * misc/setegid.c: Likewise.
21958 * misc/seteuid.c: Likewise.
21959 * misc/sethostid.c: Likewise.
21960 * misc/sethostname.c: Likewise.
21961 * misc/setregid.c: Likewise.
21962 * misc/setreuid.c: Likewise.
21963 * misc/setxattr.c: Likewise.
21964 * misc/sstk.c: Likewise.
21965 * misc/stty.c: Likewise.
21966 * misc/swapoff.c: Likewise.
21967 * misc/swapon.c: Likewise.
21968 * misc/sync.c: Likewise.
21969 * misc/syncfs.c: Likewise.
21970 * misc/syscall.c: Likewise.
21971 * misc/truncate.c: Likewise.
21972 * misc/ualarm.c: Likewise.
21973 * misc/usleep.c: Likewise.
21974 * misc/ustat.c: Likewise.
21975 * misc/utimes.c: Likewise.
21976 * misc/vhangup.c: Likewise.
21977 * misc/writev.c: Likewise.
21978 * posix/_exit.c: Likewise.
21979 * posix/alarm.c: Likewise.
21980 * posix/execve.c: Likewise.
21981 * posix/fexecve.c: Likewise.
21982 * posix/fork.c: Likewise.
21983 * posix/fpathconf.c: Likewise.
21984 * posix/getaddrinfo.c: Likewise.
21985 * posix/getegid.c: Likewise.
21986 * posix/geteuid.c: Likewise.
21987 * posix/getgid.c: Likewise.
21988 * posix/getgroups.c: Likewise.
21989 * posix/getlogin.c: Likewise.
21990 * posix/getlogin_r.c: Likewise.
21991 * posix/getpgid.c: Likewise.
21992 * posix/getpid.c: Likewise.
21993 * posix/getppid.c: Likewise.
21994 * posix/getresgid.c: Likewise.
21995 * posix/getresuid.c: Likewise.
21996 * posix/getsid.c: Likewise.
21997 * posix/getuid.c: Likewise.
21998 * posix/glob64.c: Likewise.
21999 * posix/nanosleep.c: Likewise.
22000 * posix/pathconf.c: Likewise.
22001 * posix/pause.c: Likewise.
22002 * posix/posix_madvise.c: Likewise.
22003 * posix/pread.c: Likewise.
22004 * posix/pread64.c: Likewise.
22005 * posix/pwrite.c: Likewise.
22006 * posix/pwrite64.c: Likewise.
22007 * posix/sched_getaffinity.c: Likewise.
22008 * posix/sched_getp.c: Likewise.
22009 * posix/sched_gets.c: Likewise.
22010 * posix/sched_primax.c: Likewise.
22011 * posix/sched_primin.c: Likewise.
22012 * posix/sched_rr_gi.c: Likewise.
22013 * posix/sched_setaffinity.c: Likewise.
22014 * posix/sched_setp.c: Likewise.
22015 * posix/sched_sets.c: Likewise.
22016 * posix/sched_yield.c: Likewise.
22017 * posix/setgid.c: Likewise.
22018 * posix/setlogin.c: Likewise.
22019 * posix/setpgid.c: Likewise.
22020 * posix/setresgid.c: Likewise.
22021 * posix/setresuid.c: Likewise.
22022 * posix/setsid.c: Likewise.
22023 * posix/setuid.c: Likewise.
22024 * posix/sleep.c: Likewise.
22025 * posix/spawni.c: Likewise.
22026 * posix/sysconf.c: Likewise.
22027 * posix/times.c: Likewise.
22028 * posix/wait.c: Likewise.
22029 * posix/wait3.c: Likewise.
22030 * posix/wait4.c: Likewise.
22031 * posix/waitpid.c: Likewise.
22032 * resolv/gai_sigqueue.c: Likewise.
22033 * resource/getpriority.c: Likewise.
22034 * resource/getrlimit.c: Likewise.
22035 * resource/getrusage.c: Likewise.
22036 * resource/nice.c: Likewise.
22037 * resource/setpriority.c: Likewise.
22038 * resource/setrlimit.c: Likewise.
22039 * resource/ulimit.c: Likewise.
22040 * rt/aio_cancel.c: Likewise.
22041 * rt/aio_fsync.c: Likewise.
22042 * rt/aio_read.c: Likewise.
22043 * rt/aio_sigqueue.c: Likewise.
22044 * rt/aio_suspend.c: Likewise.
22045 * rt/aio_write.c: Likewise.
22046 * rt/clock_getres.c: Likewise.
22047 * rt/clock_gettime.c: Likewise.
22048 * rt/clock_nanosleep.c: Likewise.
22049 * rt/clock_settime.c: Likewise.
22050 * rt/lio_listio.c: Likewise.
22051 * rt/mq_close.c: Likewise.
22052 * rt/mq_getattr.c: Likewise.
22053 * rt/mq_notify.c: Likewise.
22054 * rt/mq_open.c: Likewise.
22055 * rt/mq_receive.c: Likewise.
22056 * rt/mq_send.c: Likewise.
22057 * rt/mq_setattr.c: Likewise.
22058 * rt/mq_timedreceive.c: Likewise.
22059 * rt/mq_timedsend.c: Likewise.
22060 * rt/mq_unlink.c: Likewise.
22061 * rt/shm_open.c: Likewise.
22062 * rt/shm_unlink.c: Likewise.
22063 * rt/timer_create.c: Likewise.
22064 * rt/timer_delete.c: Likewise.
22065 * rt/timer_getoverr.c: Likewise.
22066 * rt/timer_gettime.c: Likewise.
22067 * rt/timer_settime.c: Likewise.
22068 * setjmp/__longjmp.c: Likewise.
22069 * setjmp/setjmp.c: Likewise.
22070 * signal/kill.c: Likewise.
22071 * signal/killpg.c: Likewise.
22072 * signal/raise.c: Likewise.
22073 * signal/sigaction.c: Likewise.
22074 * signal/sigaltstack.c: Likewise.
22075 * signal/sigblock.c: Likewise.
22076 * signal/sigignore.c: Likewise.
22077 * signal/sigintr.c: Likewise.
22078 * signal/signal.c: Likewise.
22079 * signal/sigpause.c: Likewise.
22080 * signal/sigpending.c: Likewise.
22081 * signal/sigqueue.c: Likewise.
22082 * signal/sigreturn.c: Likewise.
22083 * signal/sigset.c: Likewise.
22084 * signal/sigsetmask.c: Likewise.
22085 * signal/sigstack.c: Likewise.
22086 * signal/sigsuspend.c: Likewise.
22087 * signal/sigtimedwait.c: Likewise.
22088 * signal/sigvec.c: Likewise.
22089 * signal/sigwait.c: Likewise.
22090 * signal/sigwaitinfo.c: Likewise.
22091 * signal/sysv_signal.c: Likewise.
22092 * socket/accept.c: Likewise.
22093 * socket/accept4.c: Likewise.
22094 * socket/bind.c: Likewise.
22095 * socket/connect.c: Likewise.
22096 * socket/getpeername.c: Likewise.
22097 * socket/getsockname.c: Likewise.
22098 * socket/getsockopt.c: Likewise.
22099 * socket/isfdtype.c: Likewise.
22100 * socket/listen.c: Likewise.
22101 * socket/recv.c: Likewise.
22102 * socket/recvfrom.c: Likewise.
22103 * socket/recvmsg.c: Likewise.
22104 * socket/send.c: Likewise.
22105 * socket/sendmsg.c: Likewise.
22106 * socket/sendto.c: Likewise.
22107 * socket/setsockopt.c: Likewise.
22108 * socket/shutdown.c: Likewise.
22109 * socket/sockatmark.c: Likewise.
22110 * socket/socket.c: Likewise.
22111 * socket/socketpair.c: Likewise.
22112 * stdio-common/ctermid.c: Likewise.
22113 * stdio-common/cuserid.c: Likewise.
22114 * stdio-common/remove.c: Likewise.
22115 * stdio-common/rename.c: Likewise.
22116 * stdio-common/renameat.c: Likewise.
22117 * stdio-common/tempname.c: Likewise.
22118 * stdlib/getcontext.c: Likewise.
22119 * stdlib/makecontext.c: Likewise.
22120 * stdlib/setcontext.c: Likewise.
22121 * stdlib/swapcontext.c: Likewise.
22122 * stdlib/system.c: Likewise.
22123 * streams/fattach.c: Likewise.
22124 * streams/fdetach.c: Likewise.
22125 * streams/getmsg.c: Likewise.
22126 * streams/getpmsg.c: Likewise.
22127 * streams/putmsg.c: Likewise.
22128 * streams/putpmsg.c: Likewise.
22129 * sysdeps/unix/bsd/getpt.c: Likewise.
22130 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22131 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22132 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22134 Likewise.
22135 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22136 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22137 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22138 * sysvipc/msgctl.c: Likewise.
22139 * sysvipc/msgget.c: Likewise.
22140 * sysvipc/msgrcv.c: Likewise.
22141 * sysvipc/msgsnd.c: Likewise.
22142 * sysvipc/semctl.c: Likewise.
22143 * sysvipc/semget.c: Likewise.
22144 * sysvipc/semop.c: Likewise.
22145 * sysvipc/semtimedop.c: Likewise.
22146 * sysvipc/shmat.c: Likewise.
22147 * sysvipc/shmctl.c: Likewise.
22148 * sysvipc/shmdt.c: Likewise.
22149 * sysvipc/shmget.c: Likewise.
22150 * termios/tcdrain.c: Likewise.
22151 * termios/tcflow.c: Likewise.
22152 * termios/tcflush.c: Likewise.
22153 * termios/tcgetattr.c: Likewise.
22154 * termios/tcgetpgrp.c: Likewise.
22155 * termios/tcsendbrk.c: Likewise.
22156 * termios/tcsetattr.c: Likewise.
22157 * termios/tcsetpgrp.c: Likewise.
22158 * time/adjtime.c: Likewise.
22159 * time/clock.c: Likewise.
22160 * time/getitimer.c: Likewise.
22161 * time/gettimeofday.c: Likewise.
22162 * time/setitimer.c: Likewise.
22163 * time/settimeofday.c: Likewise.
22164 * time/stime.c: Likewise.
22165 * time/time.c: Likewise.
22166
221672012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22168
a20492cf
PT
22169 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22170 /usr/old/bin.
22171
72e182e3
PT
22172 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22173 instead of spaces.
22174 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22175
fbeafede
JM
221762012-11-03 Joseph Myers <joseph@codesourcery.com>
22177
5b5b04d6
JM
22178 [BZ #14796]
22179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22180 FE_TONEAREST before applying Dekker multiplication and Knuth
22181 addition. Clear inexact exceptions and check for exact zero
22182 results afterwards.
22183 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22184 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22185 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22186 * math/libm-test.inc (fma_test): Add more tests.
22187 (fma_test_towardzero): Likewise.
22188 (fma_test_downward): Likewise.
22189 (fma_test_upward): Likewise.
22190 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22191 function.
22192 (libc_fesetround): New macro.
22193 (libc_fesetroundf): Likewise.
22194 (libc_fesetroundl): Likewise.
22195 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22196 function.
22197 (libc_fesetround_387): Likewise.
22198 (libc_fesetroundf): New macro.
22199 (libc_fesetround): Likewise.
22200 (libc_fesetroundl): Likewise.
22201 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22202 function.
22203 (libc_fesetroundf): New macro.
22204 (libc_fesetround): Likewise.
22205 (libc_fesetroundl): Likewise.
22206 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22207 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22208 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22209 libm_hidden_ver.
22210 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22211 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22212 libm_hidden_def.
22213 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22214 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22215 libm_hidden_ver.
22216 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22217 libm_hidden_def.
22218
fbeafede
JM
22219 [BZ #3439]
22220 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22221 integer constant usable in #if and use that to give value to enum
22222 constant.
22223 (FE_DIVBYZERO): Likewise.
22224 (FE_UNDERFLOW): Likewise.
22225 (FE_OVERFLOW): Likewise.
22226 (FE_INVALID): Likewise.
22227 (FE_INVALID_SNAN): Likewise.
22228 (FE_INVALID_ISI): Likewise.
22229 (FE_INVALID_IDI): Likewise.
22230 (FE_INVALID_ZDZ): Likewise.
22231 (FE_INVALID_IMZ): Likewise.
22232 (FE_INVALID_COMPARE): Likewise.
22233 (FE_INVALID_SOFTWARE): Likewise.
22234 (FE_INVALID_SQRT): Likewise.
22235 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22236 (FE_TONEAREST): Likewise.
22237 (FE_TOWARDZERO): Likewise.
22238 (FE_UPWARD): Likewise.
22239 (FE_DOWNWARD): Likewise.
22240 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22241 (FE_DIVBYZERO): Likewise.
22242 (FE_OVERFLOW): Likewise.
22243 (FE_UNDERFLOW): Likewise.
22244 (FE_INEXACT): Likewise.
22245 (FE_TONEAREST): Likewise.
22246 (FE_DOWNWARD): Likewise.
22247 (FE_UPWARD): Likewise.
22248 (FE_TOWARDZERO): Likewise.
22249 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22250 (FE_UNDERFLOW): Likewise.
22251 (FE_OVERFLOW): Likewise.
22252 (FE_DIVBYZERO): Likewise.
22253 (FE_INVALID): Likewise.
22254 (FE_TONEAREST): Likewise.
22255 (FE_TOWARDZERO): Likewise.
22256 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22257 (FE_OVERFLOW): Likewise.
22258 (FE_UNDERFLOW): Likewise.
22259 (FE_DIVBYZERO): Likewise.
22260 (FE_INEXACT): Likewise.
22261 (FE_TONEAREST): Likewise.
22262 (FE_TOWARDZERO): Likewise.
22263 (FE_UPWARD): Likewise.
22264 (FE_DOWNWARD): Likewise.
22265 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22266 (FE_DIVBYZERO): Likewise.
22267 (FE_OVERFLOW): Likewise.
22268 (FE_UNDERFLOW): Likewise.
22269 (FE_INEXACT): Likewise.
22270 (FE_TONEAREST): Likewise.
22271 (FE_DOWNWARD): Likewise.
22272 (FE_UPWARD): Likewise.
22273 (FE_TOWARDZERO): Likewise.
22274
105ca950
CM
222752012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22276
22277 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22278
a542b389
AS
222792012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22280
22281 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22282 commands. Quote $PWD.
22283 (blacklist_exports): Don't use remove_newlines. Replace "declare
22284 -x" by "export".
22285 (remove_newlines): Remove.
22286
f62c8abc
L
222872012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22288
22289 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22290 * stdlib/stdlib.h (atof): Moved to ...
22291 * include/bits/stdlib-float.h: Here. New file.
22292 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22293 * stdlib/bits/stdlib-float.h: New file.
22294 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22295 -mno-sse -mno-mmx.
22296 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22297 <xmmintrin.h>.
22298
0155d5b2
JM
222992012-11-02 Joseph Myers <joseph@codesourcery.com>
22300
a68d0680
JM
22301 * conform/conformtest.pl (@headers): Add fenv.h.
22302 * conform/data/fenv.h-data: New file.
22303 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22304 include of <math/fenv.h>.
22305
caf7f573
JM
22306 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22307 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22308 && !UNIX98]. Enables tests for XOPEN2K8.
22309 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22310 POSIX2008]: Likewise.
22311
6c073ad6
JM
22312 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22313 (struct rusage): Do not expect type or its members.
22314
0155d5b2
JM
22315 [BZ #3439]
22316 * math/math.h (FP_NAN): Define macro to integer constant usable in
22317 #if and use that to give value to enum constant.
22318 (FP_INFINITE): Likewise.
22319 (FP_ZERO): Likewise.
22320 (FP_SUBNORMAL): Likewise.
22321 (FP_NORMAL): Likewise.
22322
b5dcacb4
AS
223232012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22324
22325 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22326 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22327 arguments.
22328
f7934be8
RM
223292012-11-02 Roland McGrath <roland@hack.frob.com>
22330
22331 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22332 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22333 autoconf-time if not.
22334 * configure.in: Remove AC_PREREQ.
22335
d7d08bde
TMQMF
223362012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22337
22338 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22339 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22340 of the internal implementation.
22341
dcdae19a
JM
223422012-11-02 Joseph Myers <joseph@codesourcery.com>
22343
22344 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22345 except include of <misc/sys/syslog.h>.
22346
d6cffd3e
AS
223472012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22348
22349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22350 function returns with a NULL context exit with zero.
22351
b3563932
TMQMF
223522012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22353
22354 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22355
b288a93d
L
223562012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22357
22358 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22359 (run_program_cmd): This.
22360 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22361 (tst_langinfo): New variable. Use it.
22362
a2421a68
SAS
223632012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22364
22365 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22366 floating point opcodes.
22367
6f796e1b
TS
223682012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22369
7402596b
TS
22370 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22371 variable.
22372
d0d4f868
TS
22373 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22374
6f796e1b
TS
22375 * sysdeps/mach/hurd/powerpc: Remove directory.
22376 * sysdeps/mach/powerpc: Likewise.
22377
4da224a2
AS
223782012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22379
22380 * scripts/check-local-headers.sh: Ignore c++ headers.
22381
341dd673
TS
223822012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22383
22384 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22385 __libc_cleanup_region_start argument.
22386
473611b2
JM
223872012-11-01 Joseph Myers <joseph@codesourcery.com>
22388
22389 [BZ #14784]
22390 [BZ #14785]
22391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22392 x * y using scaling, not as x * y + z.
22393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22394 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22395 * math/libm-test.inc (fma_test): Add more tests.
22396 (fma_test_towardzero): Likewise.
22397 (fma_test_downward): Likewise.
22398 (fma_test_upward): Likewise.
22399
4078da3d
TS
224002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22401
22402 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22403
903252aa
JM
224042012-10-31 Joseph Myers <joseph@codesourcery.com>
22405
22406 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22407 New variable.
22408
cbc818d0
TS
224092012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22410
22411 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22412
5a03cb1e
AS
224132012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22414
22415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22416 Fix sort order.
22417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22418 Likewise.
22419
90aff2ff
TMQMF
224202012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22421
22422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22423 Fix the order of the list for glibc 2.17.
22424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22425 Likewise.
22426
1818fcb7
AS
224272012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22428
22429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22430
ef82f4da
JM
224312012-10-31 Joseph Myers <joseph@codesourcery.com>
22432
16a0e2ec
JM
22433 [BZ #14610]
22434 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22435 for low part of x being zero before using __atanl (y).
22436 * math/libm-test.inc (atan2_test): Add another test.
22437
0eb69512
JM
22438 * manual/install.texi (Configuring and compiling): Document
22439 general use of test-wrapper and test-wrapper-env.
22440 * INSTALL: Regenerated.
22441
ef82f4da
JM
22442 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22443 (__fma): Do not extract and scale down low bits on after-rounding
22444 systems when result rounded to normal precision would have normal
22445 exponent.
22446 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22447 (__fmal): Do not extract and scale down low bits on after-rounding
22448 systems when result rounded to normal precision would have normal
22449 exponent.
22450 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22451 (__fmal): Do not extract and scale down low bits on after-rounding
22452 systems when result rounded to normal precision would have normal
22453 exponent.
22454 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22455 macro.
22456 (fma_test): Add more tests.
22457 (fma_test_towardzero): Likewise.
22458 (fma_test_downward): Likewise.
22459 (fma_test_upward): Likewise.
22460
954ef0d9
L
224612012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22462
22463 * sysdeps/i386/tininess.h: Renamed to ...
22464 * sysdeps/x86/tininess.h: This.
22465 * sysdeps/x86_64/tininess.h: Removed.
22466
df61ffb2
JM
224672012-10-30 Joseph Myers <joseph@codesourcery.com>
22468
22469 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22470 input. Use $(build-program-cmd).
22471 ($(objpfx)tst-array1-static.out): Likewise.
22472 ($(objpfx)tst-array2.out): Likewise.
22473 ($(objpfx)tst-array3.out): Likewise.
22474 ($(objpfx)tst-array4.out): Likewise.
22475 ($(objpfx)tst-array5.out): Likewise.
22476 ($(objpfx)tst-array5-static.out): Likewise.
22477
01767843
CM
224782012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22479
47cc1490
CM
22480 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22481 if defined.
22482
01767843
CM
22483 * nss/nsswitch.h (nss_interface_function): Provide new
22484 macro for use with NSS functions.
22485 * grp/initgroups.c: Use new macro.
22486 * nss/getXXbyYY.c: Likewise.
22487 * nss/getXXbyYY_r.c: Likewise.
22488 * nss/getXXent.c: Likewise.
22489 * nss/getXXent_r.c: Likewise.
22490 * sysdeps/posix/getaddrinfo.c: Likewise.
22491
8321aa97
AJ
224922012-10-30 Andreas Jaeger <aj@suse.de>
22493
22494 * po/ru.po: Update Russion translation from translation project.
22495
2a27fd6d
JM
224962012-10-30 Joseph Myers <joseph@codesourcery.com>
22497
8627a232
JM
22498 [BZ #14152]
22499 [BZ #14783]
22500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22501 result and shift together with sticky bit instead of replicating
22502 round-to-nearest rounding.
22503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22505 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22506 missing underflow exceptions.
22507 (fma_test_towardzero): Add more tests.
22508 (fma_test_downward): Likewise.
22509 (fma_test_upward): Likewise.
22510
2a27fd6d
JM
22511 [BZ #14047]
22512 * sysdeps/generic/tininess.h: New file.
22513 * sysdeps/i386/tininess.h: Likewise.
22514 * sysdeps/sh/tininess.h: Likewise.
22515 * sysdeps/x86_64/tininess.h: Likewise.
22516 * stdlib/tst-strtod-underflow.c: Likewise.
22517 * stdlib/tst-tininess.c: Likewise.
22518 * stdlib/strtod_l.c: Include <tininess.h>.
22519 (round_and_return): Do not set errno for exact underflow cases.
22520 Force an underflow exception when setting errno for underflow.
22521 Determine underflow based on rounding to normal precision if
22522 TININESS_AFTER_ROUNDING.
22523 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22524 ERANGE for exact underflow cases.
22525 * stdlib/Makefile (tests): Add tst-tininess and
22526 tst-strtod-underflow.
22527 ($(objpfx)tst-tininess): Use $(link-libm).
22528 ($(objpfx)tst-strtod-underflow): Likewise.
22529
e7170363
AJ
225302012-10-30 Andreas Jaeger <aj@suse.de>
22531
e5088dc6
AJ
22532 [BZ#14767]
22533 * elf/Makefile (tests): Remove conditional for have-initfini-array
22534 since this is now always required and the variable does not exist
22535 anymore.
22536 (tests-static): Likewise.
22537 (modules-names): Likewise.
22538
e7170363 22539 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22540
22541 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22542 merged with constructor/destructor.
22543 (init_array): Likewise.
22544 * elf/tst-array2dep.c (fini_array): Likewise.
22545 (init_array): Likewise.
22546
60457d8a
MF
225472012-10-29 Mike Frysinger <vapier@gentoo.org>
22548
22549 * manual/message.texi: Delete @cartouche tags.
22550
8bece752
PT
225512012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22552
94ce799f
PT
22553 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22554 EOPNOTSUPP.
22555 * sysdeps/mach/hurd/fsync.c: Likewise.
22556
8bece752
PT
22557 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22558 [_POSIX_REALTIME_SIGNALS]: Change condition to
22559 [_POSIX_REALTIME_SIGNALS > 0].
22560
86ebe6b1
AJ
225612012-10-27 Andreas Jaeger <aj@suse.de>
22562
22563 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22564 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22566 [__WORDSIZE != 64]: Likewise.
22567
54399c08
L
225682012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22569
22570 * iconvdata/tst-table.sh: Remove ${SHELL}.
22571 * iconvdata/tst-tables.sh: Likewise.
22572
e2211bed
DM
225732012-10-25 David S. Miller <davem@davemloft.net>
22574
22575 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22576 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22577 of strtoull.
22578
f303f97c
DM
22579 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22580 ifunc-impl-list.c
22581 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22582 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22583 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22584 file.
22585
1e9d84cd
RM
225862012-10-25 Roland McGrath <roland@hack.frob.com>
22587
22588 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22589 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22590 __getdirentries.
22591
df381762
JM
225922012-10-25 Joseph Myers <joseph@codesourcery.com>
22593 Jim Blandy <jimb@codesourcery.com>
22594
22595 * scripts/cross-test-ssh.sh: New file.
22596 * manual/install.texi (Configuring and compiling): Document use of
22597 cross-test-ssh.sh.
22598 * INSTALL: Regenerated.
22599
bff64913
PT
226002012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22601
22602 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22603 EOPNOTSUPP.
22604
25fe8932
JM
226052012-10-25 Joseph Myers <joseph@codesourcery.com>
22606
22607 * Makeconfig (run-program-prefix): Fix comment.
22608
cc1290d0
JM
226092012-10-24 Joseph Myers <joseph@codesourcery.com>
22610 Jim Blandy <jimb@codesourcery.com>
22611
22612 * Makeconfig (test-wrapper): New variable,
22613 (test-wrapper-env): Likewise.
22614 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22615 (run-built-tests): Define to yes.
22616 (run-program-prefix): Use $(test-wrapper).
22617 (built-program-cmd): Likewise.
22618 * Rules (make-test-out): Use $(test-wrapper-env) and
22619 $(host-built-program-cmd).
22620 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22621 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22622 tst-pathopt.sh.
22623 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22624 $(test-wrapper-env) to tst-rtld-load-self.sh.
22625 ($(objpfx)order2.out): Use $(test-wrapper).
22626 ($(objpfx)tst-initorder.out): Likewise.
22627 ($(objpfx)tst-initorder2.out): Likewise.
22628 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22629 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22630 (test_wrapper_env): New variable. Use it to run ld.so.
22631 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22632 Use it to run ld.so.
22633 (test_wrapper_env): Likewise.
22634 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22635 $(test-wrapper) to run-iconv-test.sh.
22636 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22637 (ICONV): Use $test_wrapper.
22638 * posix/Makefile ($(objpfx)globtest.out): Pass
22639 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22640 globtest.sh, not $(run-program-prefix).
22641 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22642 (test_wrapper): Likewise.
22643 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22644 set together with run_via_rtld_prefix.
22645 (run_program_prefix): Define in terms of test_wrapper and
22646 run_via_rtld_prefix.
22647
6e6249d0
RM
226482012-10-24 Roland McGrath <roland@hack.frob.com>
22649
22650 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22651 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22652 Targets removed.
22653
22654 [BZ #14743]
22655 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22656 Declare __clock_getres, __clock_gettime, __clock_settime,
22657 __clock_nanosleep, and __clock_getcpuclockid.
22658 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22659 Remove librt_hidden_def (clock_gettime).
22660 * sysdeps/unix/clock_gettime.c: Likewise.
22661 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22662 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22663 * rt/clock_getres.c: Define __clock_getres as an alias.
22664 * sysdeps/posix/clock_getres.c: Likewise.
22665 * rt/clock_settime.c: Define __clock_settime as an alias.
22666 * sysdeps/unix/clock_settime.c: Likewise.
22667 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22668 * sysdeps/unix/clock_nanosleep.c: Likewise.
22669 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22670 * rt/clock-compat.c: New file.
22671 * rt/Makefile (librt-routines): Add clock-compat and move
22672 $(clock-routines) to ...
22673 (routines): ... here, new variable.
22674 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22675 Don't add get_clockfreq here.
22676 * rt/Versions (libc: GLIBC_2.17): New version set.
22677 Add clock_* symbols here.
22678 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22679 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22680 (GLIBC_2.17): Add clock_* symbols.
22681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22682 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22683 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22685 Likewise.
22686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22687 Likewise.
22688 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22692 * NEWS: Mention the move.
22693
22694 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22695 Use __open, __read, __close rather than their public counterparts.
22696 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22697 (__get_clockfreq_via_cpuinfo): Likewise.
22698 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22699 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22700
22701 * config.h.in (HAVE_IFUNC): New #undef.
22702 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22703 was successful.
22704 * configure: Regenerated.
22705
0cae3f4b
MF
227062012-10-24 Mike Frysinger <vapier@gentoo.org>
22707
22708 * configure.in: Move READELF check to start of file.
22709 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22710 libc_cv_asm_gnu_indirect_function in the process.
22711 * configure: Regenerated.
22712
8175a253
MF
227132012-10-24 Mike Frysinger <vapier@gentoo.org>
22714
22715 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22716 send the output to /dev/null.
22717 (libc_cv_cc_with_libunwind): Likewise.
22718 (libc_cv_as_noexecstack): Likewise.
22719 * configure: Regenerate.
22720
0708a7d1
JM
227212012-10-24 Joseph Myers <joseph@codesourcery.com>
22722
10b40d85
JM
22723 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22724
0708a7d1
JM
22725 * posix/globtest.sh (TMPDIR): Do not set.
22726 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22727 (testout): Likewise.
22728
9fddec1a
AJ
227292012-10-24 Andreas Jaeger <aj@suse.de>
22730
3a8db22f
AJ
22731 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22732 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22733 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22734 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22735 posix_fadvise64, posix_fallocate64.
22736
9fddec1a
AJ
22737 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22738 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22739 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22740 Likewise.
22741 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22742 Likewise.
22743 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22744
22745 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22746 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22747 <bits/fcntl-linux.h>.
22748 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22749
22750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22751 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22752 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22753 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22754 [__WORDSIZE != 64]: Likewise.
22755
ebfd1bbd
JM
227562012-10-23 Joseph Myers <joseph@codesourcery.com>
22757
03ac099f
JM
22758 * Makeconfig (run-built-tests): New variable.
22759 * Rules [$(cross-compiling) = yes]: Change condition to
22760 [$(run-built-tests) = no].
22761 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22762 to [$(run-built-tests) = yes].
22763 * elf/Makefile [$(cross-compiling) = no]: Likewise
22764 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22765 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22766 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22767 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22768 * io/Makefile [$(cross-compiling) = no]: Likewise.
22769 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22770 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22771 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22772 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22773 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22774 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22775 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22776 * string/Makefile [$(cross-compiling) = no]: Likewise.
22777
ebfd1bbd
JM
22778 * posix/Makefile ($(objpfx)globtest.out): Pass
22779 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22780 $(rtld-installed-name).
22781 * posix/globtest.sh (elf_objpfx): Remove variable.
22782 (rtld_installed_name): Likewise.
22783 (library_path): Likewise.
22784 (run_program_prefix): New variable. Use for running globtest
22785 binary.
22786
166bca24
JB
227872012-10-23 Jim Blandy <jimb@codesourcery.com>
22788 Joseph Myers <joseph@codesourcery.com>
22789
22790 * Makeconfig (host-built-program-cmd): New variable.
22791 * elf/Makefile (tst-stackguard1-ARGS): Use
22792 $(host-built-program-cmd).
22793 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22794 (tst-spawn-ARGS): Likewise.
22795 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22796
88866099
JM
227972012-10-23 Joseph Myers <joseph@codesourcery.com>
22798 Jim Blandy <jimb@codesourcery.com>
22799
22800 * Makeconfig (run-via-rtld-prefix): New variable.
22801 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22802 (built-program-cmd): Likewise.
22803
b4b4c296
AJ
228042012-10-22 Andreas Jaeger <aj@suse.de>
22805
22806 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22807 __O_RSYNC if it exists, otherwise to O_SYNC.
22808
6fb54a22
JB
228092012-10-22 Jim Blandy <jimb@codesourcery.com>
22810 Joseph Myers <joseph@codesourcery.com>
22811
22812 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22813 /dev/null.
22814 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22815 from /dev/null
22816 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22817 /dev/null.
22818
481b90b9
AJ
228192012-10-22 Andreas Jaeger <aj@suse.de>
22820
2a0e2669
AJ
22821 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22822 Define always.
22823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22824
76e38f9a
AJ
22825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22826 bits/fcntl-linux.h.
22827
7cd37b43
AJ
22828 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22829 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22830
481b90b9
AJ
22831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22832 to __O_LARGEFILE.
22833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22834 to __O_LARGEFILE.
22835
aba75984
JB
228362012-10-21 Jim Blandy <jimb@codesourcery.com>
22837 Joseph Myers <joseph@codesourcery.com>
22838
22839 * config.make.in (NM): New variable.
22840
88d4247f
AJ
228412012-10-21 Andreas Jaeger <aj@suse.de>
22842
22843 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22844 definitions and declarations that are provided by
22845 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22846
f2eed205
L
228472012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22848
22849 [BZ #14683]
22850 * elf/Makefile (tests-static): Add tst-leaks1-static.
22851 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22852 ($(objpfx)tst-leaks1-static): New rule.
22853 ($(objpfx)tst-leaks1-static-mem): Likewise.
22854 (tst-leaks1-static-ENV): New macro.
22855 * elf/dl-open.c (dl_open_worker): Check the main application
22856 only if SHARED is defined.
22857 * elf/tst-leaks1-static.c: New file.
22858
335e6931
AJ
228592012-10-20 Andreas Jaeger <aj@suse.de>
22860
22861 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22862 generic values for Linux.
22863 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22864 and declarations that are provided by <bits/fcntl-linux.h> and
22865 include <bits/fcntl-linux.h>.
22866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22867 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22868
ac5c94d3
RM
228692012-10-20 Roland McGrath <roland@hack.frob.com>
22870
22871 * io/fcntl.h: Move include of <bits/types.h> to the top and
22872 include it unconditionally.
22873
de54b33a
L
228742012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22875
228cfb01
L
22876 * wcsmbs/Makefile (tests-ifunc): New variable.
22877 (tests): Add $(tests-ifunc).
22878 * wcsmbs/test-wcschr-ifunc.c: New file.
22879 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22880 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22881 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22882 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22883 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22884
69f07e5f
L
22885 * string/Makefile (tests-ifunc): New variable.
22886 (tests): Add $(tests-ifunc).
22887 * string/test-memccpy.c (TEST_NAME): New macro.
22888 * string/test-memchr.c (TEST_NAME): Likewise.
22889 * string/test-memcmp.c (TEST_NAME): Likewise.
22890 * string/test-memcpy.c (TEST_NAME): Likewise.
22891 * string/test-memmem.c (TEST_NAME): Likewise.
22892 * string/test-memmove.c (TEST_NAME): Likewise.
22893 * string/test-memset.c (TEST_NAME): Likewise.
22894 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22895 * string/test-stpcpy.c (TEST_NAME): Likewise.
22896 * string/test-stpncpy.c (TEST_NAME): Likewise.
22897 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22898 * string/test-strcasestr.c (TEST_NAME): Likewise.
22899 * string/test-strcat.c (TEST_NAME): Likewise.
22900 * string/test-strchr.c (TEST_NAME): Likewise.
22901 * string/test-strcmp.c(TEST_NAME): Likewise.
22902 * string/test-strcpy.c (TEST_NAME): Likewise.
22903 * string/test-strcspn.c (TEST_NAME): Likewise.
22904 * string/test-strlen.c (TEST_NAME): Likewise.
22905 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22906 * string/test-strncmp.c (TEST_NAME): Likewise.
22907 * string/test-strncpy.c (TEST_NAME): Likewise.
22908 * string/test-strnlen.c (TEST_NAME): Likewise.
22909 * string/test-strpbrk.c (TEST_NAME): Likewise.
22910 * string/test-strrchr.c (TEST_NAME): Likewise.
22911 * string/test-strspn.c (TEST_NAME): Likewise.
22912 * string/test-strstr.c (TEST_NAME): Likewise.
22913 * string/test-bcopy-ifunc.c: New file.
22914 * string/test-bzero-ifunc.c: Likewise.
22915 * string/test-memccpy-ifunc.c: Likewise.
22916 * string/test-memchr-ifunc.c: Likewise.
22917 * string/test-memcmp-ifunc.c: Likewise.
22918 * string/test-memcpy-ifunc.c: Likewise.
22919 * string/test-memmem-ifunc.c: Likewise.
22920 * string/test-memmove-ifunc.c: Likewise.
22921 * string/test-mempcpy-ifunc.c: Likewise.
22922 * string/test-memset-ifunc.c: Likewise.
22923 * string/test-rawmemchr-ifunc.c: Likewise.
22924 * string/test-stpcpy-ifunc.c: Likewise.
22925 * string/test-stpncpy-ifunc.c: Likewise.
22926 * string/test-strcasecmp-ifunc.c: Likewise.
22927 * string/test-strcasestr-ifunc.c: Likewise.
22928 * string/test-strcat-ifunc.c: Likewise.
22929 * string/test-strchr-ifunc.c: Likewise.
22930 * string/test-strchrnul-ifunc.c: Likewise.
22931 * string/test-strcmp-ifunc.c: Likewise.
22932 * string/test-strcpy-ifunc.c: Likewise.
22933 * string/test-strcspn-ifunc.c: Likewise.
22934 * string/test-strlen-ifunc.c: Likewise.
22935 * string/test-strncasecmp-ifunc.c: Likewise.
22936 * string/test-strncat-ifunc.c: Likewise.
22937 * string/test-strncmp-ifunc.c: Likewise.
22938 * string/test-strncpy-ifunc.c: Likewise.
22939 * string/test-strnlen-ifunc.c: Likewise.
22940 * string/test-strpbrk-ifunc.c: Likewise.
22941 * string/test-strrchr-ifunc.c: Likewise.
22942 * string/test-strspn-ifunc.c: Likewise.
22943 * string/test-strstr-ifunc.c: Likewise.
22944
de54b33a
L
22945 * debug/Makefile (tests-ifunc): New variable.
22946 (tests): Add $(tests-ifunc).
22947 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22948 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22949 * debug/test-stpcpy_chk-ifunc.c: New file.
22950 * debug/test-strcpy_chk-ifunc.c: Likewise.
22951
88481c16
SP
229522012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22953
22954 [BZ #13601]
22955 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22956 header is not read in.
22957
135948bd
JM
229582012-10-19 Joseph Myers <joseph@codesourcery.com>
22959
89f1c388
JM
22960 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22961 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22962 directly. Pass built executable to script as
22963 $(built-program-cmd).
22964 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22965 $testprogram without using LD_LIBRARY_PATH and $ldso.
22966
e40a0d21
JM
22967 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22968 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22969 $(rtld-installed-name).
22970 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22971 (rtld_installed_name): Likewise.
22972 (library_path): Likewise.
22973 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22974 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22975 $(run-program-prefix) to tst-tables.sh.
22976 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22977 it to run tst-table-from and tst-table-to.
22978 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22979 Pass it to tst-table.sh.
22980 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22981 $(run-program-prefix) to tst-gettext.sh.
22982 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22983 tst-translit.sh.
22984 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22985 tst-gettext2.sh.
22986 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22987 to run tst-gettext.
22988 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22989 to run tst-gettext2.
22990 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22991 to run tst-translit.
22992 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22993 $(run-program-prefix) to tst-mtrace.sh.
22994 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22995 to run tst-mtrace.
22996 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22997 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22998 $(rtld-installed-name).
22999 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23000 (rtld_installed_name): Likewise.
23001 (run_program_prefix): New variable. Use it to run wordexp-test.
23002
728e272a
JM
23003 * Makeconfig (ARCH): Remove all definitions.
23004 (machine): Likewise.
23005 [ARCH]: Remove conditional code.
23006 [!objdir]: Give error.
23007 [!objdir] (objpfx): Remove.
23008 [!objdir] (common-objpfx): Likewise.
23009 [!objdir] (common-objdir): Likewise.
23010 * configure.in (config_makefile): Remove. Hardcode Makefile in
23011 AC_CONFIG_FILES call.
23012 * configure: Regenerated.
23013
d528cdcf
JM
23014 [BZ #13888]
23015 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23016 or TMPDIR.
23017 (testout): Likewise.
23018
135948bd
JM
23019 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23020 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23021 $(rtld-installed-name).
23022 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23023 (rtld_installed_name): Likwise.
23024 (runit): Remove function.
23025 (run_getconf): New variable, Use it for running getconf binary.
23026
38c78296
L
230272012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23028
23029 [BZ #14716]
23030 * string/test-memmem.c (check_result): New function.
23031 (do_one_test): Use it.
23032 (check1): New function.
23033 (test_main): Use it.
23034
d077f65f
MT
230352012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23036
23037 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23038
ced52c71
JM
230392012-10-18 Joseph Myers <joseph@codesourcery.com>
23040
23041 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23042 (_G_LSEEK64): Likewise.
23043 (_G_MMAP64): Likewise.
23044 (_G_FSTAT64): Likewise.
23045 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23046 (_G_LSEEK64): Likewise.
23047 (_G_MMAP64): Likewise.
23048 (_G_FSTAT64): Likewise.
23049 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23050 unconditional. Call __mmap64 directly.
23051 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23052 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23053 __lseek64 directly.
23054 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23055 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23056 __mmap64 directly.
23057 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23058 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23059 __lseek64 directly.
23060 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23061 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23062 __lseek64 directly.
23063 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23064 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23065 __lseek64 directly.
23066 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23067 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23068 __fxstat64 directly.
23069 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23070 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23071 unconditional.
23072 (freopen64) [!_G_OPEN64]: Remove conditional code.
23073 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23074 unconditional.
23075 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23076 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23077 unconditional.
23078 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23079 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23080 unconditional.
23081 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23082 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23083 unconditional.
23084 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23085 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23086 unconditional.
23087 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23088 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23089 unconditional.
23090 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23091 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23092 unconditional.
23093 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23094
b741de23
SP
230952012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23096
23097 [BZ #12140]
23098 * manual/memory.texi (Malloc Tunable Parameters): Add note
23099 about free list pointers overwriting some perturb bytes.
23100 Wording suggested by Roland McGrath.
23101
f9b9d9c9
JM
231022012-10-17 Joseph Myers <joseph@codesourcery.com>
23103
23104 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23105 (lgamma_test): Likewise.
23106 (tgamma_test): Likewise.
23107
172a631a
FW
231082012-10-16 Florian Weimer <fweimer@redhat.com>
23109
23110 [BZ #14700]
23111 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23112 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23113
e9f37252
MK
231142012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23115
23116 * NEWS: Mention BZ #14716.
23117 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23118 when removing AVAILABLE1_USES_J macro.
23119
d394eb74
L
231202012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23121
23122 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23123 (__bswap_64): __uint64_t for unsigned 64-bit int.
23124
ca38dc17
AS
231252012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23126
23127 * include/string.h (memmem): Declare libc hidden alias.
23128 * string/memmem.c (memmem): Define libc hidden alias.
23129 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23130 __read, __close instead of open, read, close.
23131
9a387d1f
L
231322012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23133
ac49ecaf
L
23134 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23135 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23136 global and hidden.
23137 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23138 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23139 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23140 Likewise.
23141 (__rawmemchr_sse2): Likewise.
23142 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23143 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23144 (__strchr_sse2): Likewise.
23145 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23146 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23147 (__strcasecmp_sse2): Likewise.
23148 (__strncasecmp_sse2): Likewise.
23149 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23150 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23151 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23152 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23153 (__strrchr_sse2): Likewise.
23154 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23155 ifunc-impl-list.c.
23156 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23157 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23158 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23159 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23160 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23161 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23162 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23163 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23164 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23165 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23166 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23167 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23168 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23169 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23170 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23171 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23172 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23173 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23174 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23175 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23176 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23177 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23178 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23179 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23180 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23181 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23182 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23183 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23184 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23185 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23186
b090e8ea
L
23187 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23188 global and hidden.
23189 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23190 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23191 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23192 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23193 Likewise.
23194 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23195 Likewise.
23196 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23197 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23198 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23199 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23200 ifunc-impl-list.c.
23201 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23202 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23203 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23204 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23205 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23206 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23207 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23208 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23209 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23210 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23211 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23212 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23213 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23214 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23215 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23216 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23217 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23218 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23219 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23220 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23221 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23222 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23223 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23224 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23225 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23226 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23227 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23228 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23229 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23230 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23231 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23232 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23233 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23234 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23235 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23236 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23237 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23238 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23239 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23240 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23241 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23242
11dd4af6
L
23243 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23244 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23245 * include/ifunc-impl-list.h: New file.
23246 * misc/ifunc-impl-list.c: Likewise.
23247 * misc/Makefile (routines): Add ifunc-impl-list.
23248 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23249 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23250 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23251 TEST_NAME]: New variables.
11dd4af6
L
23252 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23253 are defined.
23254 (test_init): Call __libc_ifunc_impl_list to initialize
23255 func_list if TEST_IFUNC and TEST_NAME are defined.
23256
9a387d1f
L
23257 * string/Makefile (strop-tests): Add bcopy and bzero.
23258 * string/test-bcopy.c: New file.
23259 * string/test-bzero.c: Likewise.
23260 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23261 defined.
23262 * string/test-memset.c: Support bzero test if TEST_BZERO is
23263 defined.
23264 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23265 __libc_memmove.
23266 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23267 __libc_memset.
23268 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23269 of memset.
23270
472371b9
JM
232712012-10-10 Joseph Myers <joseph@codesourcery.com>
23272
1e4a9536
JM
23273 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23274 * configure: Regenerated.
23275
d173d12e
JM
23276 * Makeconfig (+link-static-before-libc): Don't include
23277 $(link-static-libc).
23278
472371b9
JM
23279 * libio/libio.h (_IO_pos_t): Remove.
23280
89a3ad0b
AO
232812012-10-10 Alexandre Oliva <aoliva@redhat.com>
23282
23283 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23284 McGrath.
23285
e7451425
AO
232862012-10-10 Alexandre Oliva <aoliva@redhat.com>
23287
23288 * crypt/crypt-entry.c: Include fips-private.h.
23289 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23290 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23291 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23292 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23293
4ba74a35
AO
232942012-10-10 Alexandre Oliva <aoliva@redhat.com>
23295
23296 * crypt/crypt-private.h: Include stdbool.h.
23297 (_ufc_setup_salt_r): Return bool.
23298 * crypt/crypt-entry.c: Include errno.h.
23299 (__crypt_r): Return NULL with EINVAL for bad salt.
23300 * crypt/crypt_util.c (bad_for_salt): New.
23301 (_ufc_setup_salt_r): Check that salt is long enough and within
23302 the specified alphabet.
23303 * crypt/badsalttest.c: New file.
23304 * crypt/Makefile (tests): Add it.
23305 ($(objpfx)badsalttest): New.
23306
f96f1242
MK
233072012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23308
23309 * NEWS: Add entry for BZ #14602.
23310
0e8e0c1c
JM
233112012-10-09 Joseph Myers <joseph@codesourcery.com>
23312
23313 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23314 type-generic.
23315 * math/libm-test.inc: Update comment listing what functions and
23316 macros are tested.
23317 (isgreater_test): New function.
23318 (isgreaterequal_test): Likewise.
23319 (isless_test): Likewise.
23320 (islessequal_test): Likewise.
23321 (islessgreater_test): Likewise.
23322 (isunordered_test): Likewise.
23323 (main): Call the new functions.
23324
273edc5e
RM
233252012-10-09 Roland McGrath <roland@hack.frob.com>
23326
b8493de0
RM
23327 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23328 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23329 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23330 * sysdeps/i386/configure: Regenerated.
23331 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23332 * sysdeps/mach/configure: Regenerated.
23333 * sysdeps/mach/hurd/configure: Regenerated.
23334 * sysdeps/powerpc/configure: Regenerated.
23335 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23336 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23337 * sysdeps/s390/s390-32/configure: Regenerated.
23338 * sysdeps/s390/s390-64/configure: Regenerated.
23339 * sysdeps/sh/configure: Regenerated.
23340 * sysdeps/sparc/configure: Regenerated.
23341 * sysdeps/unix/sysv/linux/configure: Regenerated.
23342 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23343 * sysdeps/x86_64/configure: Regenerated.
23344
273edc5e
RM
23345 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23346 defined. Don't check if MAP is NULL.
23347
c8450f70
JM
233482012-10-09 Joseph Myers <joseph@codesourcery.com>
23349
23350 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23351 (_G_stat64): Likewise.
23352 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23353 (_G_stat64): Likewise.
23354 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23355 instead of struct _G_stat64.
23356 * libio/fileops.c (mmap_remap_check): Likewise.
23357 (decide_maybe_mmap): Likewise.
23358 (_IO_new_file_seekoff): Likewise.
23359 (_IO_file_stat): Likewise.
23360 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23361 _G_off64_t.
23362 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23363 instead of struct _G_stat64.
23364 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23365
57e605ba
MK
233662012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23367
23368 [BZ #14602]
23369 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23370 Replace with ...
23371 (CHECK_EOL): New macro.
23372 (two_way_short_needle): Check beginning of haystack for EOL. Use
23373 CHECK_EOL.
23374 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23375 Replace with CHECK_EOL.
23376 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23377 Replace with CHECK_EOL.
23378
ef1bb361
JM
233792012-10-08 Joseph Myers <joseph@codesourcery.com>
23380
23381 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23382 type-generic.
23383 * math/libm-test.inc: Update comment listing what functions and
23384 macros are tested.
23385 (finite_test): New function.
23386 (isinf_test): Likewise.
23387 (isnan_test): Likewise.
23388 (fpclassify_test): Test subnormal input.
23389 (isfinite_test): Likewise.
23390 (isnormal_test): Likewise.
23391 (main): Call the new functions.
23392
55f11534
JN
233932012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23394
23395 [BZ #14660]
23396 * Makerules (%.dynsym): Force C locale when running
23397 $(OBJDUMP) --dynamic-syms.
23398
1ab29350
AS
233992012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23400
23401 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23402 <stdint.h>.
23403
f1ecb7ef
DM
234042012-10-06 David S. Miller <davem@davemloft.net>
23405
23406 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23407 upper 32-bits of the length value in %o2 since we use branch-on-register
23408 tests which consider the entire 64-bit register.
23409
5d41d91a
L
234102012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23411
23412 * string/test-strstr.c (check2): Add a test for page boundary.
23413
3baddb72
DM
234142012-10-05 David S. Miller <davem@davemloft.net>
23415
23416 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23417 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23418 file.
23419 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23420 sysdep_routines.
23421 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23422 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23423 and bzero when HWCAP_SPARC_CRYPTO is present.
23424
9cee5585
L
234252012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23426
d7e0dab9
L
23427 [BZ #14602]
23428 * string/test-strstr.c (check2): New function.
23429 (test_main): Call check2.
23430
03759f47
L
23431 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23432 and bug-strchr1.
23433 * string/bug-strcasestr1.c (do_test): Moved to ...
23434 * string/test-strcasestr.c (check1): Here. New function.
23435 (do_one_test): Break out result checking code into ...
23436 (check_result): This. New function.
23437 (do_one_test): Call check_result.
23438 (test_main): Call check1.
23439 * string/bug-strchr1.c (do_test): Moved to ...
23440 * string/test-strchr.c (check1): Here. New function.
23441 (do_one_test): Break out result checking code into ...
23442 (check_result): This. New function.
23443 (do_one_test): Call check_result.
23444 (test_main): Call check1.
23445 * string/bug-strstr1.c (main): Moved to ...
046f153e 23446 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23447 (do_one_test): Break out result checking code into ...
23448 (check_result): This. New function.
23449 (do_one_test): Call check_result.
23450 (test_main): Call check1.
23451 * string/bug-strcasestr1.c: Removed.
23452 * string/bug-strchr1.c: Likewise.
23453 * string/bug-strstr1.c: Likewise.
23454
53cea63e
L
23455 * elf/Makefile (dl-routines): Add hwcaps.
23456 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23457 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23458 (_dl_important_hwcaps): Moved to ...
23459 * elf/dl-hwcaps.c: Here. New file.
23460 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23461
9cee5585 23462 [BZ #14557]
bb859b06
L
23463 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23464 if IS_IN_rtld isn't defined.
23465
9cee5585
L
23466 * elf/dl-support.c (_dl_sysinfo_map): New.
23467 Include "get-dynamic-info.h" and "setup-vdso.h".
23468 (_dl_non_dynamic_init): Call setup_vdso.
23469 * elf/dynamic-link.h: Don't include <assert.h>.
23470 (elf_get_dynamic_info): Moved to ...
23471 * elf/get-dynamic-info.h: Here. New file.
23472 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23473 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23474 * elf/setup-vdso.h: Here. New file.
23475 * elf/rtld.c: Include "setup-vdso.h".
23476 (dl_main): Call setup_vdso.
23477
23c31b76
JM
234782012-10-05 Joseph Myers <joseph@codesourcery.com>
23479
28234b07
JM
23480 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23481 creal in comment listing functions tested. List finite, isinf,
23482 isnan, isless, islessequal, isgreater, isgreaterequal,
23483 islessgreater, isunordered, lgamma_r and pow10 as functions and
23484 macros not tested. Mention which functions not tested are aliases
23485 for other functions. Fix typo. Note that signs of NaNs are not
23486 tested.
23487
23c31b76
JM
23488 * scripts/config.guess: Update from config.git.
23489 * scripts/config.sub: Likewise.
23490
9043e228
RM
234912012-10-04 Roland McGrath <roland@hack.frob.com>
23492
23493 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23494 * misc/madvise.c (madvise): Renamed to __madvise.
23495 Make madvise a weak alias.
23496 * include/sys/mman.h: Declare __madvise.
23497 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23498 * sysdeps/unix/syscalls.list
23499 (madvise): Make __madvise the strong name, and madvise a weak alias.
23500 * sysdeps/unix/sysv/linux/syscalls.list
23501 (madvise, mmap): Remove redundant entries.
23502 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23503 * malloc/malloc.c (mtrim): Likewise.
23504 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23505
f57f8055
RM
235062012-10-03 Roland McGrath <roland@hack.frob.com>
23507
23508 * sysdeps/mach/hurd/dl-cache.c: File removed.
23509 * config.h.in (USE_LDCONFIG): New #undef.
23510 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23511 * configure: Regenerated.
23512 * elf/Makefile (dl-routines): Add dl-cache only under
23513 [$(use-ldconfig) = yes].
23514 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23515 cache on [USE_LDCONFIG].
23516 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23517 [USE_LDCONFIG].
23518 * elf/rtld.c (dl_main): Likewise.
23519
5bb0c10a
PT
235202012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23521
23522 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23523 _SC_LEVEL4_CACHE_LINESIZE.
23524
010188c6
RM
235252012-10-03 Roland McGrath <roland@hack.frob.com>
23526
23527 * sysdeps/unix/bsd/confstr.h: File removed.
23528
b6c5ec07
AO
235292012-10-02 Alexandre Oliva <aoliva@redhat.com>
23530
23531 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23532 sys/sdt-config.h.
23533
408223d4
RM
235342012-10-02 Roland McGrath <roland@hack.frob.com>
23535
23536 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23537 Make 'mapoff' field ElfW(Off) rather than off_t.
23538
bb9510dc
DL
235392012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23540
fc997c6e
DL
23541 * nscd/Makefile: Remove nscd-cflags and all its users.
23542 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23543 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23544
bb9510dc
DL
23545 [BZ #10631]
23546 * malloc.c (malloc_printerr): Clarify error message.
23547
05699367
L
235482012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23549
23550 [BZ #14648]
23551 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23552 Set bit_FMA_Usable if FMA is supported.
23553 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23554 macro.
23555 (bit_FMA4_Usable): Updated.
23556 (index_FMA_Usable): New macro.
23557 (CPUID_FMA): Likewise
23558 (HAS_FMA): Defined with bit_FMA_Usable.
23559
51367701
RM
235602012-10-01 Roland McGrath <roland@hack.frob.com>
23561
23562 * bits/types.h (__swblk_t): Type removed.
23563 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23564 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23565 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23566 (__SWBLK_T_TYPE): Likewise.
23567 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23568 (__SWBLK_T_TYPE): Likewise.
23569 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23570 (__SWBLK_T_TYPE): Likewise.
23571 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23572 (__SWBLK_T_TYPE): Likewise.
23573
4d57bf63 235742012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23575 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23576
23577 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23578 (xdr_mapname): Use YPMAXMAP as maxsize.
23579 (xdr_peername): Use YPMAXPEER as maxsize.
23580 (xdr_keydat): Use YPAXRECORD as maxsize.
23581 (xdr_valdat): Use YPMAXRECORD as maxsize.
23582
93c65d43
RM
235832012-10-01 Roland McGrath <roland@hack.frob.com>
23584
497a03d6
RM
23585 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23586
93c65d43
RM
23587 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23588 * csu/init-first.c: ... here.
23589 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23590 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23591 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23592 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23593 * sysdeps/i386/init-first.c: File removed.
23594 * sysdeps/sh/init-first.c: File removed.
23595
bec749fd
JM
235962012-10-01 Joseph Myers <joseph@codesourcery.com>
23597
23598 [BZ #14645]
23599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23600 if x * y might underflow to zero and z is zero.
23601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23602 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23603 * math/libm-test.inc (min_subnorm_value): New variable.
23604 (fma_test): Add more tests.
23605 (fma_test_towardzero): Likewise.
23606 (fma_test_downward): Likewise
23607 (fma_test_upward): Likewise.
23608 (initialize): Set min_subnorm_value.
23609
8ec5b013
JM
236102012-09-29 Joseph Myers <joseph@codesourcery.com>
23611
23612 [BZ #14638]
23613 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23614 0 + 0.
23615 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23616 mode for addition resulting in exact zero.
23617 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23619 exact 0 + 0.
23620 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23621 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23622 * math/libm-test.inc (fma_test): Add more tests.
23623 (fma_test_towardzero): New function.
23624 (fma_test_downward): Likewise.
23625 (fma_test_upward): Likewise.
23626 (main): Call the new functions.
23627
b1fa802e
DM
236282012-09-28 David S. Miller <davem@davemloft.net>
23629
23630 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23631
d3b9fd9e
RM
236322012-09-28 Roland McGrath <roland@hack.frob.com>
23633
ea4d37b3
RM
23634 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23635 instead of SIGALRM.
23636
ac51c949
RM
23637 * sysdeps/gnu/_G_config.h: Moved to ...
23638 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23639 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23640 * sysdeps/generic/_G_config.h: ... here.
23641
28c195f7
RM
23642 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23643
848917f9
RM
23644 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23645
6bacf05b
RM
23646 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23647 Conditionalize target on [libnss_test1.so-version].
23648
91363dbb
RM
23649 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23650
cc87f7d8
RM
23651 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23652 (elfobjdir): Move out of conditionals.
23653
b1c608fe
RM
23654 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23655 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23656 (__nss_lookup_function): Conditionalize label remove_from_tree on
23657 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23658
1d9a6d96
DM
236592012-09-28 David S. Miller <davem@davemloft.net>
23660
23661 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23662 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23663 file.
23664 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23665 sysdep_routines.
23666 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23667 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23668 when HWCAP_SPARC_CRYPTO is present.
23669
72581615
PT
236702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23671
23672 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23673
715a900c
JL
236742012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23675
23676 [BZ #6530]
23677 * stdio-common/vfprintf.c (process_string_arg): Revert
23678 2000-07-22 change.
23679
236802011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23681
23682 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23683 for testcase.
23684 * stdio-common/tst-sprintf.c: Include <locale.h>
23685 (main): Test sprintf's handling of incomplete multibyte
23686 characters.
23687
9bac1d86
L
236882012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23689
23690 * elf/dl-runtime.c (VERSYMIDX): Removed.
23691 * elf/dl-version.c (VERSYMIDX): Likewise.
23692 * elf/do-rel.h (VERSYMIDX): Likewise.
23693 (VALIDX): Likewise.
23694 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23695 * elf/rtld.c (VALIDX): Likewise.
23696 (ADDRIDX): Likewise.
9bac1d86
L
23697 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23698 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23699 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23700 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23701 (VALIDX): Likewise.
23702 (ADDRIDX): Likewise.
9bac1d86 23703
b31606c0
PT
237042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23705
23706 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23707
11541177
JL
237082012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23709
23710 [BZ #11438]
23711 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23712 to global scope.
23713 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23714 addresses are in the same scope as 192.0.2/24.
23715 * posix/gai.conf: Document new scope table defaults.
23716
adb26fae
SP
237172012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23718
23719 [BZ #5298]
23720 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23721 for ftell. Compute offsets from write pointers instead.
23722 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23723
4573c6b0
SP
237242012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23725
23726 [BZ #14543]
23727 * libio/Makefile (tests): New test case tst-fseek.
23728 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23729 combination works in wide mode.
23730 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23731 state when the external buffer state changes.
23732
aa9bbfe6
DM
237332012-09-27 David S. Miller <davem@davemloft.net>
23734
23735 [BZ #14376]
23736 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23737 pass reloc->r_addend in as the 'high' argument to
23738 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23739
784421e7
DM
23740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23741
c39bc8b8
PT
237422012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23743
23744 * rt/tst-aio2.c: Include <pthread.h>.
23745 * rt/tst-aio3.c: Likewise.
23746
1ccc2399
SE
237472012-09-27 Steve Ellcey <sellcey@mips.com>
23748
23749 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23750
31ed4153
L
237512012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23752
25f5f885
L
23753 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23754 contents on [SHARED].
31ed4153 23755
b7bfe116
MP
237562012-09-26 Marek Polacek <polacek@redhat.com>
23757
23758 [BZ #14530]
23759 [BZ #13741]
23760 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23761 for C++ and GCC <4.3 as well as for non GCC compilers.
23762
43c4edba
MT
237632012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23764
23765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23766
6a1bf82f
RM
237672012-09-25 Roland McGrath <roland@hack.frob.com>
23768
23769 * Makefile.in (all, install): Declare with .PHONY.
23770 Reported by Michael Hope <michael.hope@linaro.org>.
23771
8ad11b9a
TMQMF
237722012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23773
23774 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23775 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23776 system header.
23777 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23778 Likewise.
23779 (sydep_routines): Add the new and the internal functions.
23780 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23781 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23783 (GLIBC_2.17): Add the new function.
23784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23785 (GLIBC_2.17): Likewise.
23786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23787 (GLIBC_2.17): Likewise.
23788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23789 (GLIBC_2.17): Likewise.
23790 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23791
7e2fca8d
AM
237922012-09-25 Alan Modra <amodra@gmail.com>
23793
23794 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23795 Add release barrier before setting once_control to say
23796 initialisation is done. Add hints on lwarx. Use macro in
23797 place of isync.
23798 (clear_once_control): Add release barrier.
23799
b87c4b24
JM
238002012-09-25 Joseph Myers <joseph@codesourcery.com>
23801
d032e0d2
JM
23802 [BZ #13629]
23803 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23804 specially.
23805 * math/s_clog10.c (__clog10): Likewise.
23806 * math/s_clog10f.c (__clog10f): Likewise.
23807 * math/s_clog10l.c (__clog10l): Likewise.
23808 * math/s_clogf.c (__clogf): Likewise.
23809 * math/s_clogl.c (__clogl): Likewise.
23810 * math/Makefile (libm-calls): Add x2y2m1.
23811 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23812 (__x2y2m1): Likewise.
23813 (__x2y2m1l): Likewise.
23814 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23815 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23816 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23817 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23818 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23819 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23820 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23821 * sysdeps/i386/fpu/libm-test-ulps: Update.
23822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23823
b87c4b24
JM
23824 [BZ #14621]
23825 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23826 int as type of variable DEPTH.
23827 (glob): Use size_t instead of int as type of variables NEWCOUNT
23828 and OLD_PATHC.
23829
6d3bf199
LD
238302012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23831
22bf5c17
LD
23832 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23833 Add s_sincosf-sse2.
23834 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23835 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23836 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23837 macros for using routine as __sincosf_ia32.
23838 Use macro for function declaration and weak_alias.
23839 * sysdeps/i386/fpu/libm-test-ulps: Update.
23840
23841 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23843
23844 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23845 subnormal argument.
23846 * math/s_cexpf.c (__cexpf): Likewise.
23847 * math/s_csinf.c (__csinf): Likewise.
23848 * math/s_csinhf.c (__csinhf): Likewise.
23849 * math/s_ctanf.c (__ctanf): Likewise.
23850 * math/s_ctanhf.c (__ctanhf): Likewise.
23851 * math/s_ccosh.c (__ccoshf): Likewise.
23852 * math/s_cexp.c (__cexpl): Likewise.
23853 * math/s_csin.c (__csin): Likewise.
23854 * math/s_csinh.c (__csinh): Likewise.
23855 * math/s_ctan.c (__ctan): Likewise.
23856 * math/s_ctanh.c (ctanh): Likewise.
23857 * math/s_ccoshl.c (__ccoshl): Likewise.
23858 * math/s_cexpl.c (__cexpl): Likewise.
23859 * math/s_csinl.c (__csinl): Likewise.
23860 * math/s_csinhl.c (__csinhl): Likewise.
23861 * math/s_ctanl.c (__ctanl): Likewise.
23862 * math/s_ctanhl.c (__ctanhl): Likewise.
23863
203e5603
JM
238642012-09-25 Joseph Myers <joseph@codesourcery.com>
23865
23866 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23867 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23868 (_IO_off_t): Define to __off_t, not _G_off_t.
23869 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23870 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23871 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23872 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23873 type of __dummy and __dummy2 fields.
23874 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23875 (_G_ssize_t): Likewise.
23876 (_G_off_t): Likewise.
23877 (_G_pid_t): Likewise.
23878 (_G_uid_t): Likewise.
23879 (_G_wchar_t): Likewise.
23880 (_G_wint_t): Likewise.
23881 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23882 (_G_ssize_t): Likewise.
23883 (_G_off_t): Likewise.
23884 (_G_pid_t): Likewise.
23885 (_G_uid_t): Likewise.
23886 (_G_wchar_t): Likewise.
23887 (_G_wint_t): Likewise.
23888 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23889 (_G_ssize_t): Likewise.
23890 (_G_off_t): Likewise.
23891 (_G_pid_t): Likewise.
23892 (_G_uid_t): Likewise.
23893 (_G_wchar_t): Likewise.
23894 (_G_wint_t): Likewise.
23895
9fab36eb
SP
238962012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23897
23898 * malloc/arena.c: Include malloc-sysdep.h.
23899 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23900 is sufficient to shrink the heap or an unmap is needed.
23901 * sysdeps/generic/malloc-sysdep.h: New file. Define
23902 new function check_may_shrink_heap.
23903 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23904 new function check_may_shrink_heap.
23905
2b4f00d1
SP
239062012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23907
23908 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23909 comments.
23910
9a9028b1
DL
239112012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23912
57c69bef
DL
23913 * catgets/test-gencat.sh: Add "set -e".
23914 * elf/tst-pathopt.sh: Likewise.
23915 * grp/tst_fgetgrent.sh: Likewise.
23916 * iconvdata/run-iconv-test.sh: Likewise.
23917 * intl/tst-gettext.sh: Likewise.
23918 * intl/tst-gettext2.sh: Likewise.
23919 * intl/tst-gettext4.sh: Likewise.
23920 * intl/tst-gettext6.sh: Likewise.
23921 * intl/tst-translit.sh: Likewise.
23922 * io/ftwtest-sh: Likewise.
23923 * libio/test-freopen.sh: Likewise.
23924 * malloc/tst-mtrace.sh: Likewise.
23925 * posix/globtest.sh: Likewise.
23926 * posix/tst-getconf.sh: Likewise.
23927 * posix/wordexp-tst.sh: Likewise.
23928 * stdio-common/tst-printf.sh: Likewise.
23929 * stdio-common/tst-unbputc.sh: Likewise.
23930 * stdlib/tst-fmtmsg.sh: Likewise.
23931 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23932 * catgets/Makefile: Do not specify -e option when running
23933 testsuite shell scripts.
23934 * elf/Makefile: Likewise.
23935 * grp/Makefile: Likewise.
23936 * iconvdata/Makefile: Likewise.
23937 * intl/Makefile: Likewise.
23938 * io/Makefile: Likewise.
23939 * libio/Makefile: Likewise.
23940 * malloc/Makefile: Likewise.
23941 * posix/Makefile: Likewise.
23942 * stdio-common/Makefile: Likewise.
23943 * stdlib/Makefile: Likewise.
23944 * sysdeps/x86_64/Makefile: Likewise.
23945
9a9028b1
DL
23946 * io/ftwtest-sh: Add copyright header.
23947 * posix/globtest.sh: Likewise.
23948 * posix/tst-getconf.sh: Likewise.
23949 * posix/wordexp-tst.sh: Likewise.
23950 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23951
ced6f16e
L
239522012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23953
94b32c39
L
23954 [BZ #13679]
23955 * Makeconfig (+link): Defined as $(+link-static) if
23956 $(build-shared) isn't yes.
23957 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23958 isn't yes.
23959 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23960
189e935b
L
23961 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23962
ced6f16e
L
23963 [BZ #14562]
23964 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23965 new chunk size with MALLOC_ALIGN_MASK.
23966
a9f8e53a
JM
239672012-09-24 Joseph Myers <joseph@codesourcery.com>
23968
23969 [BZ #5044]
23970 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23971 <rounding-mode.h>.
23972 (__printf_fphex): Determine rounding using get_rounding_mode and
23973 round_away.
23974 * stdio-common/tst-printf-round.c (struct hex_test): New
23975 structure.
23976 (hex_tests): New variable.
23977 (test_hex_in_one_mode): New function.
23978 (do_test): Also run tests for hex float output.
23979
43153109
JM
239802012-09-21 Joseph Myers <joseph@codesourcery.com>
23981
23982 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23983 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23984 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23985 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23986 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23987 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23988 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23989 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23990
8a26625d
JM
239912012-09-20 Joseph Myers <joseph@codesourcery.com>
23992
23993 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23994 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23995 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23996 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23997
f3fd569c
DL
239982012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23999
24000 [BZ #14579]
24001 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24002 mode only.
24003 * elf/tst-rtld-load-self.sh: New test.
24004 * elf/Makefile: Run it.
24005
63bbedd4
JM
240062012-09-18 Joseph Myers <joseph@codesourcery.com>
24007
24008 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24009 (tst-writev-ENV): Remove.
24010 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24011
626f8b6a
CM
240122012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24013
24014 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24015
b7aaa4d6
JM
240162012-09-17 Joseph Myers <joseph@codesourcery.com>
24017
24018 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24019 unconditional.
24020 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24021 Likewise.
24022 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24023 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24024 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24025 Likewise.
24026
65513990
L
240272012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24028
24029 [BZ #14587]
24030 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24031 * config.make.in (have-cpp-asm-debuginfo): Removed.
24032 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24033 * configure: Regenerated.
24034
784761be
JM
240352012-09-14 Joseph Myers <joseph@codesourcery.com>
24036
24037 [BZ #5044]
24038 * stdio-common/printf_fp.c: Include <stdbool.h> and
24039 <rounding-mode.h>.
24040 (___printf_fp): Determine rounding using get_rounding_mode and
24041 round_away.
24042 * stdio-common/tst-printf-round.c: New file.
24043 * stdio-common/Makefile (tests): Add tst-printf-round.
24044 (link-libm): New variable.
24045 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24046
9503345f
L
240472012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24048
24049 [BZ #14576]
24050 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24051 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24052 Likewise.
24053 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24054 Likewise.
24055
ad35fc00
JM
240562012-09-13 Joseph Myers <joseph@codesourcery.com>
24057
24058 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24059 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24060 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24061 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24062
6c9b0f68
JM
240632012-09-12 Joseph Myers <joseph@codesourcery.com>
24064
24065 [BZ #14518]
24066 * include/rounding-mode.h: New file.
24067 * sysdeps/generic/get-rounding-mode.h: Likewise.
24068 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24069 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24070 (MAX_VALUE): New macro.
24071 (MIN_VALUE): Likewise.
24072 (overflow_value): New function.
24073 (underflow_value): Likewise.
24074 (round_and_return): Use overflow_value and underflow_value to
24075 determine return values in overflow and underflow cases. Use
24076 round_away to determine rounding depending on rounding mode.
24077 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24078 determine return values in overflow and underflow cases.
24079 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24080 (struct test_results): New structure.
24081 (struct test): Use struct test_results to store expected results
24082 for all rounding modes.
24083 (TEST): Include expected results for all rounding modes.
24084 (test_in_one_mode): New function.
24085 (do_test): Use test_in_one_mode to compute and check results.
24086 Check results for all rounding modes.
24087 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24088 $(link-libm).
24089
19fcedd5
AM
240902012-12-09 Allan McRae <allan@archlinux.org>
24091
1e9d84cd 24092 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24093
8bbfd2f1
JM
240942012-09-11 Joseph Myers <joseph@codesourcery.com>
24095
24096 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24097 (_G_int32_t): Likewise.
24098 (_G_uint16_t): Likewise.
24099 (_G_uint32_t): Likewise.
24100 (_G_HAVE_BOOL): Likewise.
24101 (_G_HAVE_ATEXIT): Likewise.
24102 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24103 (_G_HAVE_IO_FILE_OPEN): Likewise.
24104 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24105 (_G_int32_t): Likewise.
24106 (_G_uint16_t): Likewise.
24107 (_G_uint32_t): Likewise.
24108 (_G_HAVE_BOOL): Likewise.
24109 (_G_HAVE_ATEXIT): Likewise.
24110 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24111 (_G_HAVE_IO_FILE_OPEN): Likewise.
24112 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24113 (_G_int32_t): Likewise.
24114 (_G_uint16_t): Likewise.
24115 (_G_uint32_t): Likewise.
24116 (_G_HAVE_BOOL): Likewise.
24117 (_G_HAVE_ATEXIT): Likewise.
24118 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24119 (_G_HAVE_IO_FILE_OPEN): Likewise.
24120
b1dc5912
L
241212012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24122
24123 * csu/libc-tls.c: Update copyright years.
24124
0e886ef9
JM
241252012-09-10 Joseph Myers <joseph@codesourcery.com>
24126
28361c5e
JM
24127 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24128 [!_G_USING_THUNKS]: Remove conditional code.
24129 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24130 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24131
0e886ef9
JM
24132 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24133 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24134 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24135 (_G_VTABLE_LABEL_PREFIX): Likewise.
24136 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24137 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24138 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24139 (_G_VTABLE_LABEL_PREFIX): Likewise.
24140 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24141 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24142 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24143 (_G_VTABLE_LABEL_PREFIX): Likewise.
24144 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24145
bcba7aa2
L
241462012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24147
24148 * libio/Makefile: Include ../Makeconfig before tests.
24149 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24150 only if $(build-shared) is yes.
24151
06585ee8
L
24152 * iconv/gconv_db.c: Update copyright years.
24153
80ccd52c
LD
241542012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24155
24156 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24157 unwind info if defined PIC. Fix special cases description.
24158 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24159
24160 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24161 DP_HI_MASK entry.
24162 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24163
691bc9c1
L
241642012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24165
3d9b46b3
L
24166 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24167
de2139a9
L
24168 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24169 is NULL.
24170
5ca78dd0
L
24171 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24172 (LDLIBS-tst-chk4): This.
24173 (LDFLAGS-tst-chk5): Renamed to ...
24174 (LDLIBS-tst-chk5): This.
24175 (LDFLAGS-tst-chk6): Renamed to ...
24176 (LDLIBS-tst-chk6): This.
24177 (LDFLAGS-tst-lfschk4): Renamed to ...
24178 (LDLIBS-tst-lfschk4): This.
24179 (LDFLAGS-tst-lfschk5): Renamed to ...
24180 (LDLIBS-tst-lfschk5): This.
24181 (LDFLAGS-tst-lfschk6): Renamed to ...
24182 (LDLIBS-tst-lfschk6): This.
24183
691bc9c1
L
24184 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24185 on $(common-objpfx)soversions.mk.
24186
65cafb1c
JM
241872012-09-07 Joseph Myers <joseph@codesourcery.com>
24188
24189 [BZ #10014]
24190 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24191 example host name.
24192
c78ab094
SP
241932012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24194
24195 * malloc/arena.c (arena_get_retry): New function that gets
24196 another arena for the caller to try its request on.
24197 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24198 current arena cannot fulfill the request.
24199 (__libc_memalign): Likewise.
24200 (__libc_memalign): Likewise.
24201 (__libc_pvalloc): Likewise.
24202 (__libc_calloc): Likewise.
24203
01f49f59
JT
242042012-09-05 John Tobey <john.tobey@gmail.com>
24205
24206 [BZ #13542]
24207 * manual/arith.texi (Operations on Complex): Fix description
24208 of carg branch cut.
24209
4c23fed5
JM
242102012-09-06 Joseph Myers <joseph@codesourcery.com>
24211
1d3c8572
JM
24212 [BZ #10014]
24213 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24214 host name.
24215
4c23fed5
JM
24216 [BZ #10038]
24217 * manual/memory.texi (Memory): Make order of menu items match
24218 order of sections.
24219
04570aaa
L
242202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24221
24222 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24223 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24224 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24225
b80af2f4
L
242262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24227
24228 * csu/libc-tls.c (static_dtv): Renamed to ...
24229 (_dl_static_dtv): This. Make it global.
24230 (_dl_initial_dtv): Removed.
24231 (__libc_setup_tls): Updated.
24232 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24233 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24234 DL_INITIAL_DTV.
24235
2abe9f15
PM
242362012-09-06 Petr Machata <pmachata@redhat.com>
24237
24238 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24239 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24240 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24241 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24242
0948c3af
L
242432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24244
24245 [BZ #14545]
24246 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24247 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24248 freeing dtv[-1].
24249
a5055ad1
L
242502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24251
24252 [BZ #14544]
24253 * Makeconfig (link-static-before-libc): Replace $(+prector)
24254 with $(+prectorT).
24255 (link-static-after-libc): Replace $(+postctor) with
24256 $(+postctorT).
24257 (link-bounded): Replace $(+prector)/$(+postctor) with
24258 $(+prectorT)/$(+postctorT).
24259 (+prectorT): New macro.
24260 (+postctorT): Likewise.
24261
ed8c2ecd
JM
242622012-09-06 Joseph Myers <joseph@codesourcery.com>
24263
24264 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24265 (round_str): Handle values above the maximum for IBM long double
24266 as inexact.
24267 * stdlib/tst-strtod-round.c (tests): Regenerated.
24268
14c996c8
AK
242692012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24270
24271 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24272 assembler flag.
24273 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24274 zarch_nohighgprs around the zarch optimized routines.
24275 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24276 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24277 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24278 for zarch.
24279
430d6ce6
DM
242802012-09-05 David S. Miller <davem@davemloft.net>
24281
24282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24283
57f41c40
AS
24284 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24285 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
24286 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24287 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24288 entries.
24289
24d4e01b
AO
242902012-09-05 Alexandre Oliva <aoliva@redhat.com>
24291
24292 * malloc/arena.c: Fold copyright years.
24293 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24294
61d58174
AO
242952012-09-05 Alexandre Oliva <aoliva@redhat.com>
24296
24297 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24298
20196a5e
AO
242992012-09-05 Alexandre Oliva <aoliva@redhat.com>
24300
24301 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24302
5c447383
AO
243032012-09-05 Alexandre Oliva <aoliva@redhat.com>
24304
24305 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24306 change internal state upon failure.
24307
fad64255
AO
243082012-09-05 Alexandre Oliva <aoliva@redhat.com>
24309
24310 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24311 * malloc/memusage.c (mmap): Likewise.
24312 (mmap64, mremap): Likewise. Adjust name in comment.
24313
1ffb8c90
SP
243142012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24315
24316 * libio/fileops.c: Fix typos in comments.
24317 * libio/oldfileops.c: Likewise.
24318 * libio/wfileops.c: Likewise.
24319
6ef9cc37
SP
243202012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24321
24322 [BZ #1349]
24323 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24324 (tst-malloc-usable-ENV): Set environment for test case.
24325 * malloc/hooks.c (malloc_check_get_size): New function to get
24326 requested size.
24327 * malloc/malloc.c (musable): Use malloc_check_get_size.
24328 * malloc/tst-malloc-usable.c: New test case.
24329
4d038ae3
AS
243302012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24331
24332 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24333
c4e85184
AM
243342012-09-05 Allan McRae <allan@archlinux.org>
24335
b9dafc56 24336 [BZ #13966]
c4e85184
AM
24337 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24338 determine header location.
24339 * configure: Regenerated.
24340
e1343020
AS
243412012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24342
24343 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24344 float format.
24345 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24346 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24347 format.
e1343020
AS
24348 (test): Regenerate.
24349
0a9f1987
DM
243502012-09-04 David S. Miller <davem@davemloft.net>
24351
24352 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24353 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24354 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24355
29237804
FW
243562012-09-04 Florian Weimer <fweimer@redhat.com>
24357
24358 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24359 failures.
24360
edb3cb88
FW
24361 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24362
60160d83
JM
243632012-09-04 Joseph Myers <joseph@codesourcery.com>
24364
24365 [BZ #9914]
24366 * libio/iogetdelim.c: Include <limits.h>.
24367 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24368 + len + 1 would overflow.
24369
bcd6c8dc
AJ
243702012-09-03 Andreas Jaeger <aj@suse.de>
24371
24372 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24373 * sysdeps/i386/fpu/libm-test-ulps: Update.
24374
4ffffbd2
LD
243752012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24376
24377 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24378 Add s_sinf-sse2, s_conf-sse2.
24379
24380 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24381 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24382 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24383 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24384
24385 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24386 for using routine as __sinf_ia32.
24387 Use macro for function declaration and weak_alias.
24388 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24389 for using routine as __cosf_ia32.
24390 Use macro for function declaration and weak_alias.
24391
24392 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24393 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24394
24395 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24396 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24398
24399 * math/libm-test.inc (cos_test): Add more test cases.
24400 (sin_test): Likewise.
24401 (sincos_test): Likewise.
24402
511fa286
AK
244032012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24404
24405 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24406 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24407 hidden.
24408 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24409
5f30cfec
L
244102012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24411
24412 [BZ #14538]
24413 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24414 first element of the GOT.
24415 (elf_machine_load_address): Return the difference between
24416 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24417
0786794f
AM
244182012-09-01 Allan McRae <allan@archlinux.org>
24419
5f30cfec
L
24420 [BZ #13412]
24421 * configure.in (AWK): Require gawk version 3.0 or later.
24422 * configure: Regenerated.
0786794f 24423
26889eac
JM
244242012-09-01 Joseph Myers <joseph@codesourcery.com>
24425
24426 * sysdeps/unix/sysv/linux/kernel-features.h
24427 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24428 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24429 [__NR_clock_getres]: Make code unconditional.
24430 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24431 (clock_getcpuclockid): Remove code left unreachable by removal of
24432 conditionals.
24433 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24434 code unconditional.
24435 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24436 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24437 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24438 Make code unconditional.
24439 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24440 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24441 * sysdeps/unix/sysv/linux/clock_settime.c
24442 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24443 conditional code.
24444 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24445 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24446
d22e28b0
L
244472012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24448
24449 [BZ #14476]
24450 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24451 scripts/test-installation.pl.
24452
24453 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24454 and $ld_so_version if it is set.
24455
050af9c4
SP
244562012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24457
24458 [BZ #14516]
24459 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24460 failure if reading from procfs failed.
24461 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24462
ad845c0b
JM
244632012-08-27 Joseph Myers <joseph@codesourcery.com>
24464
24465 * sysdeps/unix/sysv/linux/kernel-features.h
24466 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24467 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24468 Remove conditional code.
24469 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24470 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24471 Remove conditional code.
24472 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24473 * sysdeps/unix/sysv/linux/i386/fxstat.c
24474 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24475 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24476 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24477 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24478 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24479 * sysdeps/unix/sysv/linux/i386/lxstat.c
24480 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24481 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24482 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24483 Remove conditional code.
24484 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24485 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24486 Remove conditional code.
24487 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24488 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24489 <kernel-features.h>.
24490 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24491 Remove.
24492 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24493 Remove conditional code.
24494 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24495 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24496 Remove conditional.
24497
5dbf56af
MF
244982012-08-27 Mike Frysinger <vapier@gentoo.org>
24499
24500 [BZ #5400]
24501 * NEWS: Add fixed bug number.
24502
d6e70f43
JM
245032012-08-27 Joseph Myers <joseph@codesourcery.com>
24504
7efb4737
JM
24505 [BZ #14519]
24506 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24507 underflowing exponent in case of negative sign.
24508 * stdlib/tst-strtod-round-data: Add more tests.
24509 * stdlib/tst-strtod-round.c (tests): Regenerated.
24510
af92131a
JM
24511 [BZ #3479]
24512 * stdlib/strtod_l.c (NDIG): Remove.
24513 (HEXNDIG): Likewise.
24514 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24515 smallest representable value.
24516 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24517 lie within an exact representation of 1/2 ulp of the result.
24518 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24519 unconditionally.
24520 (TENS_P9_IDX): Define unconditionally.
24521 (TENS_P9_SIZE): Likewise.
24522 (TENS_P10_IDX): Likewise.
24523 (TENS_P10_SIZE): Likewise.
24524 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24525 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24526 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24527 entries for 10^2^13 and 10^2^14.
24528 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24529 (TENS_P13_IDX): Define.
24530 (TENS_P13_SIZE): Likewise.
24531 (TENS_P14_IDX): Likewise.
24532 (TENS_P14_SIZE): Likewise.
24533 (_fpioconst_pow10): Change array size to
24534 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24535 unconditional.
24536 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24537 1024]: Add entries for 10^2^13 and 10^2^14.
24538 [LAST_POW10 > _LAST_POW10]: Remove #error.
24539 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24540 (_fpioconst_pow10): Change array size to
24541 FPIOCONST_POW10_ARRAY_SIZE.
24542 * stdlib/gen-fpioconst.c: New file.
24543 * stdlib/gen-tst-strtod-round.c: Likewise.
24544 * stdlib/tst-strtod-round-data: Likewise.
24545 * stdlib/tst-strtod-round.c: Likewise.
24546 * stdlib/Makefile (tests): Add tst-strtod-round.
24547
d6e70f43
JM
24548 [BZ #14459]
24549 * stdlib/strtod_l.c: Include <stdint.h>.
24550 (NDEBUG): Do not define.
24551 (round_and_return): Change EXPONENT parameter to type intmax_t.
24552 Rearrange calculations to avoid internal overflow possibilities.
24553 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24554 Rearrange calculations to avoid internal overflow possibilities.
24555 Assert that number fits inside MPNSIZE limbs.
24556 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24557 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24558 calculations and add assertions to avoid internal overflow
24559 possibilities. Add casts to avoid signed/unsigned operations.
24560 * stdlib/tst-strtod-overflow.c: New file.
24561 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24562
1f529f7d
MP
245632012-08-25 Marek Polacek <polacek@redhat.com>
24564
24565 * time/time.h: Fix some typos in comments.
24566
59a629f1
RM
245672012-08-23 Roland McGrath <roland@hack.frob.com>
24568
24569 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24570 * posix/tst-rfc3484-2.c: Likewise.
24571 * posix/tst-rfc3484-3.c: Likewise.
24572
d3bafbc9
SM
245732012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24574
24575 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24576 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24577
4efcc022
JM
245782012-08-23 Joseph Myers <joseph@codesourcery.com>
24579
24580 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24581 #include of fxstatat64.c.
24582
3cc3ef96
RM
245832012-08-22 Roland McGrath <roland@hack.frob.com>
24584
f04e2132
RM
24585 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24586 * shadow/getspent_r.c: Likewise.
24587 * shadow/getspnam.c: Likewise.
24588 * shadow/getspnam_r.c: Likewise.
24589 * gshadow/getsgent.c: Likewise.
24590 * gshadow/getsgent_r.c: Likewise.
24591 * gshadow/getsgnam.c: Likewise.
24592 * gshadow/getsgnam_r.c: Likewise.
24593 * inet/getnetbyad.c: Likewise.
24594 * inet/getnetbyad_r.c: Likewise.
24595 * inet/getnetbynm.c: Likewise.
24596 * inet/getnetbynm_r.c: Likewise.
24597 * inet/getnetent.c: Likewise.
24598 * inet/getnetent_r.c: Likewise.
24599 * inet/getproto.c: Likewise.
24600 * inet/getproto_r.c: Likewise.
24601 * inet/getprtent.c: Likewise.
24602 * inet/getprtent_r.c: Likewise.
24603 * inet/getprtname.c: Likewise.
24604 * inet/getprtname_r.c: Likewise.
24605 * inet/getrpcbyname.c: Likewise.
24606 * inet/getrpcbyname_r.c: Likewise.
24607 * inet/getrpcbynumber.c: Likewise.
24608 * inet/getrpcbynumber_r.c: Likewise.
24609 * inet/getrpcent.c: Likewise.
24610 * inet/getrpcent_r.c: Likewise.
24611 * inet/getaliasent.c: Likewise.
24612 * inet/getaliasent_r.c: Likewise.
24613 * inet/getaliasname.c: Likewise.
24614 * inet/getaliasname_r.c: Likewise.
24615 * nscd/getgrgid_r.c: Likewise.
24616 * nscd/getgrnam_r.c: Likewise.
24617 * nscd/gethstbyad_r.c: Likewise.
24618 * nscd/gethstbynm3_r.c: Likewise.
24619 * nscd/getpwnam_r.c: Likewise.
24620 * nscd/getpwuid_r.c: Likewise.
24621 * nscd/getsrvbynm_r.c: Likewise.
24622 * nscd/getsrvbypt_r.c: Likewise.
24623 * nscd/gai.c: Likewise.
24624
c53d909c
RM
24625 * configure.in (build_nscd): New substituted variable, set
24626 by --disable-build-nscd and defaults to $use_nscd.
24627 * configure: Regenerated.
24628 * config.make.in (build-nscd): New substituted variable.
24629 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24630 Change conditional to require [$(build-nscd) = yes] as well.
24631 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24632
3cc3ef96
RM
24633 [BZ# 13696]
24634 * configure.in (use_nscd): New substituted variable, set by
24635 --disable-nscd. If enabled, define USE_NSCD.
24636 * configure: Regenerated.
24637 * config.h.in: Add USE_NSCD.
24638 * config.make.in (use-nscd): New substituted variable.
24639 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24640 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24641 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24642 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24643 (CFLAGS-getgrnam_r.c): Likewise.
24644 (CFLAGS-initgroups.c): Likewise.
24645 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24646 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24647 Variables removed.
24648 * inet/getnetgrent_r.c
24649 (nscd_setnetgrent): New function, broken out of ...
24650 (setnetgrent): ... here. Call it.
24651 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24652 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24653 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24654 * nscd/Makefile (routines, aux): Move definitions after include of
24655 Makeconfig. Conditionalize on [$(use-nscd) != no].
24656 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24657 Conditionalize on [USE_NSCD].
24658 (is_nscd, nscd_init_cb): Likewise.
24659 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24660 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24661 * nss/nss_db/db-init.c: Likewise.
24662 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24663 [USE_NSCD].
24664 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24665 (make_request): Use it.
24666 (cache_valid_p): New function.
24667 (__check_pf): Use it.
24668 * NEWS: Add item for --disable-nscd.
24669
07e51550
DL
246702012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24671
24672 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24673 to support sed >= 4.2.1-20-ga9bf076.
24674 * configure: Regenerated.
24675
35a5b08b
RM
246762012-08-22 Roland McGrath <roland@hack.frob.com>
24677
24678 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24679 Conditionalize whole body on [IREL].
24680
8479f23a
JL
246812012-08-22 Jeff Law <law@redhat.com>
24682
24683 [BZ #14505]
24684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24685 if the family is PF_UNSPEC.
24686
48da0b21
MF
246872012-08-22 Mike Frysinger <vapier@gentoo.org>
24688
24689 * Makerules (lib-version): Rename from V.
24690 (install-lib-nosubdir): Change V to lib-version.
24691
15d0da8c
WS
246922012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24693
24694 [BZ #14252]
24695 * powerpc32/power6/wcschr.c: New file.
24696 * powerpc32/power6/wcscpy.c: New file.
24697 * powerpc32/power6/wcsrchr.c: New file.
24698 * powerpc64/power6/wcschr.c: New file.
24699 * powerpc64/power6/wcscpy.c: New file.
24700 * powerpc64/power6/wcsrchr.c: New file.
24701
bcca0895
MK
247022012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24703
24704 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24705 (two_way_short_needle): Use it.
5a4aaa33
RM
24706 * string/strstr.c (AVAILABLE1_USES_J): Define.
24707 * string/strcasestr.c: Likewise.
99677e57
MK
24708
24709 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24710 array references.
24711 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24712
400726de
MK
24713 [BZ #11607]
24714 * NEWS: Add an entry.
24715 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24716 define their defaults.
24717 (two_way_short_needle): Detect end-of-string on-the-fly.
24718 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24719 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24720 * string/bug-strcasestr1.c: New test.
24721 * string/Makefile: Run it.
24722
20a71f2c
MK
247232012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24724
24725 [BZ #11607]
24726 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24727 the first character.
24728
21ad0558
RM
247292012-08-21 Roland McGrath <roland@hack.frob.com>
24730
24731 * csu/elf-init.c (__libc_csu_irel): Function removed.
24732 * csu/libc-start.c (apply_irel): New function.
24733 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24734
0e1d9911
JM
247352012-08-21 Joseph Myers <joseph@codesourcery.com>
24736
24737 * sysdeps/unix/sysv/linux/kernel-features.h
24738 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24739 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24740 <kernel-features.h>.
24741 [__NR_fadvise64_64]: Make code unconditional.
24742 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24743 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24744 !__NR_fadvise64_64)]: Likewise.
24745 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24746 !__NR_fadvise64_64))]: Likewise.
24747 [__NR_fadvise64]: Make code unconditional.
24748 [!__NR_fadvise64]: Remove conditional code.
24749 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24750 <kernel-features.h>.
24751 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24752 unconditional.
24753 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24754 conditional code.
24755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24756 not include <kernel-features.h>.
24757 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24758 unconditional.
24759 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24760 conditional code.
24761 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24762 include <kernel-features.h>.
24763 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24764 unconditional.
24765 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24766 conditional code.
24767
14a50c9d
WS
247682012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24769
24770 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24771 slight instruction rearrangements per scrollpipe analysis.
24772 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24773
c0f4faf0
RM
247742012-08-20 Roland McGrath <roland@hack.frob.com>
24775
696da859
RM
24776 * manual/syslog.texi (syslog; vsyslog, closelog):
24777 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24778 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24779
c0f4faf0
RM
24780 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24781 DSOCAPS to match condition on defining it.
24782
348363b2
JM
247832012-08-20 Joseph Myers <joseph@codesourcery.com>
24784
a35cbf28
JM
24785 * sysdeps/unix/sysv/linux/kernel-features.h
24786 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24788 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24789 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24791 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24792 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24794 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24795 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24796
445f7ecd
JM
24797 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24798 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24799
348363b2
JM
24800 * sysdeps/unix/sysv/linux/kernel-features.h
24801 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24802 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24803 unconditional.
24804 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24805 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24806 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24807 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24808 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24809 Make code unconditional.
24810 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24811 (__mmap64) [!__NR_mmap2]: Likewise.
24812 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24813 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24814 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24815 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24816 [__NR_mmap2]: Make code unconditional.
24817 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24818 (__mmap64) [!__NR_mmap2]: Likewise.
24819
bc5bc0e5
AK
248202012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24821
24822 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24823
88d506de
AJ
248242012-08-18 Andreas Jaeger <aj@suse.de>
24825
24826 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24827
493387d2
MF
248282012-08-18 Mike Frysinger <vapier@gentoo.org>
24829
24830 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24831 * include/unistd.h (__have_sock_cloexec): Likewise.
24832 (__have_pipe2): Likewise.
24833 (__have_dup3): Likewise.
24834
a277af22
MF
248352012-08-18 Mike Frysinger <vapier@gentoo.org>
24836
24837 [BZ #9685]
24838 * include/unistd.h (__have_pipe2): Change define into an extern int.
24839 (__have_dup3): Likewise.
24840 * socket/have_sock_cloexec.c: Include fcntl.h.
24841 (__have_pipe2): New variable.
24842 (__have_dup3): Likewise.
24843
fdab8fd3
MF
248442012-08-17 Mike Frysinger <vapier@gentoo.org>
24845
24846 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24847
31035e80
MP
248482012-08-17 Marek Polacek <polacek@redhat.com>
24849
24850 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24851 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24852
3bd9e993
RM
248532012-08-17 Roland McGrath <roland@hack.frob.com>
24854
c91c505f
RM
24855 * configure.in: Add AC_SUBST for sysheaders.
24856 * configure: Regenerated.
24857 * config.make.in (sysheaders): New substituted variable.
24858
7c6f9d53
RM
24859 * sysdeps/unix/mkfifo.c: Moved ...
24860 * sysdeps/posix/mkfifo.c: ... here.
24861 * sysdeps/unix/mkfifoat.c: Moved ...
24862 * sysdeps/posix/mkfifoat.c: ... here.
24863
24864 * sysdeps/unix/utime.c: Moved ...
24865 * sysdeps/posix/utime.c: ... here.
24866
24867 * sysdeps/unix/time.c: Moved ...
24868 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24869 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24870 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24871
24872 * sysdeps/unix/nice.c: Moved ...
24873 * sysdeps/posix/nice.c: ... here.
24874
24875 * sysdeps/unix/alarm.c: Moved ...
24876 * sysdeps/posix/alarm.c: ... here.
24877
3bd9e993
RM
24878 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24879
d1f09384
JL
248802012-08-17 Jeff Law <law@redhat.com>
24881
24882 * intl/Makefile (codeset_mo): New variable.
24883 ($(codeset_mo)): New target.
24884 (tst-codeset.out): Depend on that. Remove explicit rule.
24885 (tst-gettext3.out, tst-gettext5.out): Likewise.
24886 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24887 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24888 * intl/tst-codeset.sh: Remove.
24889 * intl/tst-gettext3.sh: Likewise.
24890 * intl/tst-gettext5.sh: Likewise.
24891
2ae1ae5c
RM
248922012-08-17 Roland McGrath <roland@hack.frob.com>
24893
c31fdb83
RM
24894 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24895 * sysdeps/unix/syscalls.list: ... here.
24896
a0844057
RM
24897 * sysdeps/posix/getaddrinfo.c
24898 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24899 (gaiconf_init, gaiconf_reload): Use them.
24900 [!_STATBUF_ST_NSEC]
24901 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24902 Define using time_t rather than struct timespec.
24903
750c1f2a
RM
24904 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24905 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24906 Macros removed.
24907 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24908 [!NO_THREADS].
24909 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24910 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24911 Likewise.
24912
2ae1ae5c
RM
24913 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24914 __libc_cleanup_push argument.
24915
e66a42f5
RM
24916 * bits/param.h: New file.
24917 * misc/sys/param.h: New file.
24918 * include/sys/param.h: New file.
24919 * misc/Makefile (headers): Add bits/param.h.
24920 * sysdeps/generic/sys/param.h: File removed.
24921 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24922 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24923 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24924 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24925
b7c08a66
RM
24926 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24927 last change.
24928
b2e1c562
RM
24929 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24930 [_IO_MTSAFE_IO].
24931 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24932 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24933 New macros.
24934
c75ccd4c
RM
24935 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24936 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24937 rather than -D_IO_MTSAFE_IO conditionally.
24938 * stdio-common/Makefile (CPPFLAGS): Likewise.
24939 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24940 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24941 Use $(libio-mtsafe).
24942 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24943 of -D_IO_MTSAFE_IO.
24944 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24945 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24946 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24947 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24948 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24949 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24950 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24951 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24952 (CFLAGS-fread_u_chk.c): Likewise.
24953 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24954 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24955 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24956 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24957 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24958 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24959 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24960 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24961 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24962
24963 * libio/Makefile: Test [$(libc-reentrant) = yes]
24964 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24965
24966 * Makeconfig
24967 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24968 * sysdeps/pthread/configure: File removed.
24969 * sysdeps/pthread/Makeconfig: New file.
24970 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24971 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24972
d9195db8
GB
249732012-08-16 Gary Benson <gbenson@redhat.com>
24974
24975 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24976 unmapping the first object in a namespace.
24977
86466cd9
RM
249782012-08-16 Roland McGrath <roland@hack.frob.com>
24979
24980 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24981 (__internal_setnetgrent): ... this. Add internal_function to
24982 definition. Add libc_hidden_def.
24983 (setnetgrent): Update caller.
24984 (internal_endnetgrent): Renamed to ...
24985 (__internal_endnetgrent): ... this. Add internal_function to
24986 definition. Add libc_hidden_def.
24987 (endnetgrent): Update caller.
24988 (internal_getnetgrent_r): Renamed to ...
24989 (__internal_getnetgrent_r): ... this. Add internal_function to
24990 definition. Add libc_hidden_def.
24991 (__getnetgrent_r): Update caller.
24992 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24993
c3c8283c
JM
249942012-08-16 Joseph Myers <joseph@codesourcery.com>
24995
24996 * stdlib/longlong.h: Update from GCC.
24997
db1ee0a8
RM
249982012-08-16 Roland McGrath <roland@hack.frob.com>
24999
25000 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25001 on _QL, which is set by umul_ppmm but never used.
25002 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25003 variables, which are set by GMP macros but never used.
25004 * stdio-common/_itowa.c (_itowa): Likewise.
25005 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25006 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25007
30f69637
CD
250082012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25009
25010 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25011 struct La_sh_regs is not constant.
25012 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25013 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25014 and struct La_sparc64_regs are not constant.
25015
93a78ac4
JM
250162012-08-16 Joseph Myers <joseph@codesourcery.com>
25017
25018 * sysdeps/unix/sysv/linux/kernel-features.h
25019 (__ASSUME_POSIX_TIMERS): Remove.
25020 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25021 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25022 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25023 Make code unconditional.
25024 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25025 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25026 Make code unconditional.
25027 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25028 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25029 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25030 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25031 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25032 Make code unconditional.
25033 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25034 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25035 (__libc_missing_posix_timers): Remove.
25036
dd924cd7
RM
250372012-08-15 Roland McGrath <roland@hack.frob.com>
25038
4b4f2771
RM
25039 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25040 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25041
601c888b
RM
25042 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25043
176790a7
RM
25044 * elf/dl-sym.c: Include <stdlib.h>.
25045
329bc018
RM
25046 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25047 constants, which avoids warnings in 32-bit builds.
25048
e04e272d
RM
25049 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25050 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25051
952bf94a
RM
25052 * misc/lseek.c: File moved to ...
25053 * io/lseek.c: ... here.
25054
7c99b50a
RM
25055 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25056
dd924cd7
RM
25057 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25058 shifting LEN more than 31 bits at once.
25059
b3f479a8
LD
250602012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25061
25062 [BZ #14195]
8c4ae0d4
RM
25063 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25064 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25065 * string/test-strncasecmp.c (check1): Renamed to...
25066 (bz12205): ...this.
25067 (bz14195): Add new testcase for two empty input strings and N > 0.
25068 (test_main): Call new testcase, adapt for renamed function.
25069
9c55864e
AJ
250702012-08-15 Andreas Jaeger <aj@suse.de>
25071
25072 [BZ #14090]
25073 * crypt/md5test2.c: New test, based on test supplied by Serge
25074 Belyshev <belyshev@depni.sinp.msu.ru>.
25075 * crypt/Makefile (xtests): Add md5test-giant..
25076 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25077
02dcb6c5
PE
250782012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25079
25080 [BZ #14090]
25081 * crypt/md5.c (md5_process_block): Don't assume the buffer
25082 length is less than 2**32.
25083 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25084 length is less than 2**64.
25085
a3f95dcc
RM
250862012-08-15 Roland McGrath <roland@hack.frob.com>
25087
be75d758
RM
25088 * string/str-two-way.h: Include <sys/param.h>.
25089 (MAX): Macro removed.
25090
7312ca90
RM
25091 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25092 Move #define and #undef of memmove to just before and after
25093 including <string.h>.
25094
9a0a5486
RM
25095 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25096 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25097 and after including <string.h>. Move declarations of
25098 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25099 to before #include "string/memmove.c".
25100
67cc348d
RM
25101 * include/dirent.h: Declare __getdirentries.
25102
a3f95dcc
RM
25103 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25104 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25105
ca98e171
MF
251062012-08-14 Mike Frysinger <vapier@gentoo.org>
25107
25108 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25109 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25110 * sysdeps/i386/configure: Regenerated.
25111 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25112 STABS_CURRENT_FILE, and STABS_FUN.
25113 (END): Remove call to STABS_FUN_END.
25114 (STABS_CURRENT_FILE1): Delete.
25115 (STABS_CURRENT_FILE): Likewise.
25116 (STABS_FUN): Likewise.
25117 (STABS_FUN_END): Likewise.
25118 (STABS_FUN2): Likewise.
25119 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25120 * sysdeps/x86_64/configure: Regenerated.
25121
5908bf46
RM
251222012-08-14 Roland McGrath <roland@hack.frob.com>
25123
25124 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25125 * elf/dl-lookup.c: Likewise.
5908bf46 25126
f2c05b9e
JM
251272012-08-14 Joseph Myers <joseph@codesourcery.com>
25128
25129 * sysdeps/unix/sysv/linux/kernel-features.h
25130 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25131 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25132 unconditionally.
25133 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25134 unconditionally.
25135 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25136 condition on __ASSUME_CLONE_THREAD_FLAGS.
25137
e11f5155
AJ
251382012-08-14 Andreas Jaeger <aj@suse.de>
25139
25140 * sysdeps/i386/fpu/libm-test-ulps: Update.
25141
51a9ba86
MK
251422012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25143
2fdd4f78
AJ
25144 * include/atomic.h (atomic_exchange_and_add): Split into ...
25145 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25146 New atomic macros.
51a9ba86 25147
ba6cba9e
MT
251482012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25149
25150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25151
42443a47
JL
251522012-08-13 Jeff Law <law@redhat.com>
25153
25154 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25155 null byte in the output string.
25156
121dce05
JM
251572012-08-10 Joseph Myers <joseph@codesourcery.com>
25158
25159 * sysdeps/unix/sysv/linux/kernel-features.h
25160 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25161 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25162 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25163 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25164 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25165 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25166 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25167
bf51f568
JL
251682012-08-09 Jeff Law <law@redhat.com>
25169
25170 [BZ #13939]
25171 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25172 When avoid_arena is set, don't retry in the that arena. Pick the
25173 next one, whatever it might be.
25174 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25175 (arena_lock): Pass in new parameter to arena_get2.
25176 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25177 arena_get2.
25178 (__libc_malloc): Unify retrying after main arena failure with
25179 __libc_memalign version.
25180 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25181
f85fa270
L
251822012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25183
25184 [BZ #14166]
25185 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25186 to __redirect_strstr.
25187 (__strstr_sse42): Use typeof __redirect_strstr.
25188 (__strstr_ia32): Likewise.
25189 (__libc_strstr): New prototype.
25190 (strstr): Renamed to ...
25191 (__libc_strstr): This.
25192 (strstr): New strong alias of __libc_strstr.
25193 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25194 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25195 __redirect_time.
25196 Include <time.h>.
25197 (__libc_time): New prototype.
25198 (time_ifunc): Replace time with __libc_time.
25199 (time): New strong alias and hidden definition of __libc_time.
25200 (__GI_time): Remove strong alias.
25201 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25202 Include <stddef.h>.
25203 (memmove): Redefined to __redirect_memmove.
25204 (__memmove_sse2): Use typeof __redirect_memmove.
25205 (__memmove_ssse3): Likewise.
25206 (__memmove_ssse3_back): Likewise.
25207 (__libc_memmove): New prototype.
25208 (memmove): Renamed to ...
25209 (__libc_memmove): This.
25210 (memmove): New strong alias of __libc_memmove.
25211
33b4a91e
MS
252122012-08-08 Mark Salter <msalter@redhat.com>
25213
25214 * elf/elf.h
25215 (R_MN10300_TLS_GD): Define.
25216 (R_MN10300_TLS_LD): Likewise.
25217 (R_MN10300_TLS_LDO): Likewise.
25218 (R_MN10300_TLS_GOTIE): Likewise.
25219 (R_MN10300_TLS_IE): Likewise.
25220 (R_MN10300_TLS_LE): Likewise.
25221 (R_MN10300_TLS_DTPMOD): Likewise.
25222 (R_MN10300_TLS_DTPOFF): Likewise.
25223 (R_MN10300_TLS_TPOFF): Likewise.
25224 (R_MN10300_SYM_DIFF): Likewise.
25225 (R_MN10300_ALIGN): Likewise.
25226 (R_MN10300_NUM): Update.
25227
b36137f1
JM
252282012-08-08 Joseph Myers <joseph@codesourcery.com>
25229
25230 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25231 Remove.
25232
cdd915fd
RM
252332012-08-08 Roland McGrath <roland@hack.frob.com>
25234
a2433aac
RM
25235 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25236
cdd915fd
RM
25237 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25238 sysdeps/unix -> sysdeps/posix move.
25239 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25240
bf9b740a
AM
252412012-08-07 Allan McRae <allan@archlinux.org>
25242
25243 [BZ #14303]
25244 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25245 (SUNOS_CPP): Likewise.
25246 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25247 not found.
25248 (open_input): Call CPP using execvp.
25249
93df14ee
JM
252502012-08-07 Joseph Myers <joseph@codesourcery.com>
25251
25252 * sysdeps/unix/sysv/linux/kernel-features.h
25253 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25254 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25255 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25256 (__ASSUME_WAITID_SYSCALL): Likewise.
25257 * sysdeps/unix/sysv/linux/dl-execstack.c
25258 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25259 code unconditional.
25260 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25261 conditional code.
25262 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25263 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25264 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25265 code.
25266 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25267 unconditional.
25268 [__ASSUME_WAITID_SYSCALL]: Likewise.
25269 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25270
d34689de
RM
252712012-08-07 Roland McGrath <roland@hack.frob.com>
25272
a281decc
RM
25273 * sysdeps/unix/closedir.c: Renamed to ...
25274 * sysdeps/posix/closedir.c: ... here.
25275 * sysdeps/unix/dirfd.c: Renamed to ...
25276 * sysdeps/posix/dirfd.c: ... here.
25277 * sysdeps/unix/dirstream.h: Renamed to ...
25278 * sysdeps/posix/dirstream.h: ... here.
25279 * sysdeps/unix/fdopendir.c: Renamed to ...
25280 * sysdeps/posix/fdopendir.c: ... here.
25281 * sysdeps/unix/opendir.c: Renamed to ...
25282 * sysdeps/posix/opendir.c: ... here.
25283 * sysdeps/unix/readdir.c: Renamed to ...
25284 * sysdeps/posix/readdir.c: ... here.
25285 * sysdeps/unix/readdir_r.c: Renamed to ...
25286 * sysdeps/posix/readdir_r.c: ... here.
25287 * sysdeps/unix/rewinddir.c: Renamed to ...
25288 * sysdeps/posix/rewinddir.c: ... here.
25289 * sysdeps/unix/seekdir.c: Renamed to ...
25290 * sysdeps/posix/seekdir.c: ... here.
25291 * sysdeps/unix/telldir.c: Renamed to ...
25292 * sysdeps/posix/telldir.c: ... here.
25293 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25294 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25295 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25296 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25297
22895b47
RM
25298 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25299 * bits/fcntl.h: ... here.
25300
707a53b6
RM
25301 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25302 not 0.
25303 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25304 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25305 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25306 (struct flock): Move l_start, l_len to the beginning.
25307 Use __pid_t for l_pid.
25308 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25309 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25310 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25311 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25312 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25313 [__USE_LARGEFILE64] (struct flock64): New type.
25314 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25315
f0bd3e25
RM
25316 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25317 * bits/dirent.h: ... here.
25318
d34689de
RM
25319 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25320 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25321
6dad2c06
JM
253222012-08-07 Joseph Myers <joseph@codesourcery.com>
25323
25324 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25325 Change from 2.6.0 to 2.6.16.
25326 * sysdeps/unix/sysv/linux/configure: Regenerated.
25327 * sysdeps/unix/sysv/linux/kernel-features.h
25328 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25329 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25330 version.
25331 (__ASSUME_UTIMES): Likewise.
25332 (__ASSUME_CLONE_STOPPED): Remove.
25333 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25334 architectures, not kernel version.
25335 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25336 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25337 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25338 (__ASSUME_WAITID_SYSCALL): Likewise.
25339 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25340 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25341 * README: State 2.6.16 as minimum Linux kernel version. Do not
25342 refer to older versions.
25343
03af9520
RM
253442012-08-06 Roland McGrath <roland@hack.frob.com>
25345
8e49df1d
RM
25346 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25347 Define alphasort64 as an alias.
25348 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25349 Define versionsort64 as an alias.
25350 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25351 Define scandir64 as an alias.
25352 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25353 Define scandirat64 as an alias.
25354 * dirent/alphasort64.c (alphasort64):
25355 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25356 * dirent/versionsort64.c: Likewise.
25357 * dirent/scandir64.c: Likewise.
25358 * dirent/scandirat64.c: Likewise.
25359 * sysdeps/wordsize-64/alphasort.c: File removed.
25360 * sysdeps/wordsize-64/alphasort64.c: File removed.
25361 * sysdeps/wordsize-64/scandir.c: File removed.
25362 * sysdeps/wordsize-64/scandir64.c: File removed.
25363 * sysdeps/wordsize-64/scandirat.c: File removed.
25364 * sysdeps/wordsize-64/scandirat64.c: File removed.
25365 * sysdeps/wordsize-64/versionsort.c: File removed.
25366 * sysdeps/wordsize-64/versionsort64.c: File removed.
25367 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25368 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25369 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25370 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25371 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25372 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25373 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25374 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25375
25376 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25377 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25378 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25379 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25380 [defined __arch64__ || defined __sparcv9]
25381 (__INO_T_MATCHES_INO64_T): New macro.
25382 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25383 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25384 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25385 * sysdeps/unix/sysv/linux/bits/dirent.h
25386 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25387 (_DIRENT_MATCHES_DIRENT64): New macro.
25388
03af9520
RM
25389 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25390 Define lockf64 as an alias.
25391 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25392 Define fseeko64 as an alias.
25393 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25394 Define ftello64 as an alias.
25395 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25396 Define _IO_fgetpos64 and fgetpos64 as aliases.
25397 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25398 Define _IO_fsetpos64 and fsetpos64 as aliases.
25399 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25400 Conditionalize body on this.
25401 * libio/fseeko64.c: Likewise.
25402 * libio/ftello64.c: Likewise.
25403 * libio/iofgetpos64.c: Likewise.
25404 * libio/iofsetpos64.c: Likewise.
25405 * sysdeps/wordsize-64/lockf.c: File removed.
25406 * sysdeps/wordsize-64/lockf64.c: File removed.
25407 * sysdeps/wordsize-64/fseeko.c: File removed.
25408 * sysdeps/wordsize-64/fseeko64.c: File removed.
25409 * sysdeps/wordsize-64/ftello.c: File removed.
25410 * sysdeps/wordsize-64/ftello64.c: File removed.
25411 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25412 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25413 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25414 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25415 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25416 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25417 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25418 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25419 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25420 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25421 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25422 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25423 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25424 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25425
25426 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25427 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25428 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25429 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25430 [defined __arch64__ || defined __sparcv9]
25431 (__OFF_T_MATCHES_OFF64_T): New macro.
25432 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25433 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25435 (__OFF_T_MATCHES_OFF64_T): New macro.
25436
c5757acd
L
254372012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25438
25439 * stdlib/secure-getenv.c (__secure_getenv): Replace
25440 GLIBC_2_16 with GLIBC_2_17.
25441
3a31811e
L
254422012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25443
25444 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25445 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25446
faa2bccb
DM
254472012-08-03 David S. Miller <davem@davemloft.net>
25448
25449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25450
85fe1997
JM
254512012-08-03 Joseph Myers <joseph@codesourcery.com>
25452
25453 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25454 Remove.
25455 (__ASSUME_CORRECT_SI_PID): Likewise.
25456 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25457 (__ASSUME_TMPFS_NAME): Likewise.
25458 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25459 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25460 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25461 (HAVE_AUX_SECURE): Make definition unconditional.
25462 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25463 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25464
4f75b7a0
RM
254652012-08-03 Roland McGrath <roland@hack.frob.com>
25466
25467 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25468 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25469 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25470 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25471 __eloop_threshold instead of SYMLOOP_MAX.
25472
25473 * sysdeps/generic/eloop-threshold.h: New file.
25474 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25475 of MAXSYMLINKS.
25476 * elf/chroot_canon.c (chroot_canon): Likewise.
25477
7aab07e4
JM
254782012-08-03 Joseph Myers <joseph@codesourcery.com>
25479
25480 [BZ #13717]
25481 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25482 Change to 2.6.0 everywhere.
25483 * sysdeps/unix/sysv/linux/configure: Regenerated.
25484 * sysdeps/unix/sysv/linux/kernel-features.h
25485 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25486 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25487 kernel versions.
25488 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25489 (__ASSUME_FUTEX_REQUEUE): Remove.
25490 (__ASSUME_STATFS64): Define unconditionally.
25491 (__ASSUME_AT_SECURE): Likewise.
25492 (__ASSUME_CORRECT_SI_PID): Likewise.
25493 (__ASSUME_TGKILL): Define without depending on kernel version for
25494 i386.
25495 (__ASSUME_UTIMES): Likewise.
25496 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25497 kernel version.
25498 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25499 (__ASSUME_TMPFS_NAME): Likewise.
25500 * README: Update reference to Linux kernel versions.
25501
b67e9372
MP
255022012-08-02 Marek Polacek <polacek@redhat.com>
25503
1f529f7d 25504 [BZ# 14150]
b67e9372
MP
25505 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25506 libc_cv_asm_type_prefix with %.
25507 * configure: Regenerated.
d2441631
RM
25508 * include/libc-symbols.h: Remove comment about
25509 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25510 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25511 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25512 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25513 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25514 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25515 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25516 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25517 * elf/tst-unique2mod1.c: Likewise.
25518 * elf/tst-unique1mod2.c: Likewise.
25519 * elf/tst-unique1mod1.c: Likewise.
25520 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25521 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25522 Replace ASM_TYPE_DIRECTIVE with .type.
25523 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25524 * sysdeps/i386/sysdep.h: Likewise.
25525 * sysdeps/x86_64/sysdep.h: Likewise.
25526 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25528 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25529 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25530 * sysdeps/powerpc/powerpc32/sysdep.h:
25531 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25532 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25533 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25534 * sysdeps/i386/fpu/e_powf.S: Likewise.
25535 * sysdeps/i386/fpu/e_expl.S: Likewise.
25536 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25537 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25538 * sysdeps/i386/fpu/e_pow.S: Likewise.
25539 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25540 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25541 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25542 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25543 * sysdeps/i386/fpu/e_log2.S: Likewise.
25544 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25545 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25546 * sysdeps/i386/fpu/e_powl.S: Likewise.
25547 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25548 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25549 * sysdeps/i386/fpu/e_logl.S: Likewise.
25550 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25551 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25552 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25553 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25554 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25555 * sysdeps/i386/fpu/e_log.S: Likewise.
25556 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25557 * sysdeps/i386/fpu/e_logf.S: Likewise.
25558 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25559 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25560 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25561 * sysdeps/i386/fpu/e_log10.S: Likewise.
25562 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25563 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25564 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25565 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25566 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25567 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25568 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25569 * sysdeps/i386/i686/strtok.S: Likewise.
25570 * sysdeps/i386/i386-mcount.S: Likewise.
25571 * sysdeps/i386/strtok.S: Likewise.
25572 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25573 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25574 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25575 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25576 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25577 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25578 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25579 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25580 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25581 * sysdeps/x86_64/_mcount.S: Likewise.
25582 * sysdeps/x86_64/strtok.S: Likewise.
25583 * sysdeps/sh/_mcount.S: Likewise.
25584
2747bf9a
RM
255852012-08-01 Roland McGrath <roland@hack.frob.com>
25586
25587 * libio/iofopen.c: Include <fcntl.h>.
25588 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25589 (_IO_fopen64, fopen64): Define as aliases.
25590 * libio/iofopen64.c: Include <fcntl.h>.
25591 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25592 Conditionalize body on this.
25593 * sysdeps/wordsize-64/iofopen.c: File removed.
25594 * sysdeps/wordsize-64/iofopen64.c: File removed.
25595
3fb791b8
MP
255962012-08-01 Marek Polacek <polacek@redhat.com>
25597
25598 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25599 Use dlfcn directly instead of a variable.
25600 (binfmt-subdir): Do not define.
25601 (dlfcn): Likewise.
25602
a9f1039f
JM
256032012-08-01 Joseph Myers <joseph@codesourcery.com>
25604
23bddc06
JM
25605 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25606 Remove all definitions.
25607 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25608 <kernel-features.h>.
25609 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25610 (miss_F_GETOWN_EX): Remove all definitions.
25611 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25612 macro definition.
25613 [!__ASSUME_FCNTL64]: Remove conditional code.
25614 [__ASSUME_FCNTL64]: Make code unconditional.
25615 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25616 <kernel-features.h>.
25617 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25618 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25619 (lockf64) [__NR_fcntl64]: Make code unconditional.
25620 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25621
a9f1039f
JM
25622 * sysdeps/unix/sysv/linux/kernel-features.h
25623 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25624 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25625 Make code unconditional.
25626 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25627 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25629 [__NR_vfork]: Make code unconditional.
25630 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25631 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25633 [__NR_vfork]: Make code unconditional.
25634 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25635 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25636
09c0ee5f
RM
256372012-08-01 Roland McGrath <roland@hack.frob.com>
25638
48aec5b9
RM
25639 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25640 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25641
cd97c966
RM
25642 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25643 Define mkstemp64 as an alias.
3f55550c
RM
25644 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25645 Define mkstemps64 as an alias.
cd97c966
RM
25646 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25647 Define mkostemp64 as an alias.
b8625cfc
RM
25648 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25649 Define mkostemps64 as an alias.
cd97c966
RM
25650 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25651 Conditionalize body on this.
25652 * misc/mkostemp64.c: Likewise.
b8625cfc 25653 * misc/mkostemps64.c: Likewise.
3f55550c 25654 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25655 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25656 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25657 * sysdeps/wordsize-64/mkostemp.c: File removed.
25658 * sysdeps/wordsize-64/mkstemp.c: File removed.
25659 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25660 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25661 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25662 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25663
09c0ee5f
RM
25664 [BZ #14138]
25665 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25666 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25667 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25668 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25669
25670 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25671 compat_symbol macros from <shlib-compat.h> rather than the underlying
25672 default_symbol_version and symbol_version macros, so that DEFAULT
25673 lines in shlib-versions are respected.
25674 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25675
7e66ee51
FW
256762012-08-01 Florian Weimer <fweimer@redhat.com>
25677
25678 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25679 Declare with warn_unused_result.
25680 (setgid, setregid, setegid, setresgid): Likewise.
25681 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25682 Likewise.
25683 * WUR-REPORT: Remove set*id functions.
25684
d2a54255
PT
256852012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25686
25687 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25688
7ecdb005
RM
256892012-07-31 Roland McGrath <roland@hack.frob.com>
25690
b4180a5e 25691 [BZ #10191]
789bd351
RM
25692 * include/sys/socket.h (__libc_accept, __libc_accept4):
25693 Add attribute_hidden.
25694 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25695
40ce302d
RM
25696 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25697 use of PTR_MANGLE.
25698 * inet/getnetgrent_r.c (setup): Likewise.
25699
7ecdb005
RM
25700 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25701
e2eabb2c
DM
257022012-07-31 David S. Miller <davem@davemloft.net>
25703
25704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25705
d0419dbf
JM
257062012-07-31 Joseph Myers <joseph@codesourcery.com>
25707
25708 [BZ #13629]
25709 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25710 value between 1.0 and 2.0 and smaller part has absolute value less
25711 than 1.0.
25712 * math/s_clog10.c (__clog10): Likewise.
25713 * math/s_clog10f.c (__clog10f): Likewise.
25714 * math/s_clog10l.c (__clog10l): Likewise.
25715 * math/s_clogf.c (__clogf): Likewise.
25716 * math/s_clogl.c (__clogl): Likewise.
25717 * math/libm-test.inc (clog_test): Add more tests.
25718 (clog10_test): Likewise.
25719 * sysdeps/i386/fpu/libm-test-ulps: Update.
25720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25721
2bc13872
FW
257222012-07-31 Florian Weimer <fweimer@redhat.com>
25723
25724 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25725 Exit with zero in case no suitable GID is found, and write a
25726 message to standard error.
25727
bea9b193
RM
257282012-07-30 Roland McGrath <roland@hack.frob.com>
25729
25730 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25731 rather than to 1.
25732 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25733 (MAXPATHLEN): Removed.
25734 (NOGROUP, NODEV): New macros.
25735 (setbit, clrbit, isset, isclr): New macros.
25736 (howmany, roundup, powerof2): New macros.
25737 (DEV_BSIZE): New macro.
25738
25739 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25740 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25741
25742 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25743 definition on [!__NO_LONG_DOUBLE_MATH].
25744
25745 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25746 PTR_MANGLE and PTR_DEMANGLE.
25747
25748 * socket/accept4.c (accept4): Rename to __libc_accept4.
25749 Define accept4 as a weak alias.
25750
25751 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25752 on [_DIRENT_HAVE_D_TYPE].
25753 * io/ftw.c (ftw_dir): Likewise.
25754
25755 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25756
25757 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25758
25759 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25760 Use the BSD numbers rather than the arbitrary ones we had.
25761 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25762 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25763 (SIGXCPU, SIGXFSZ): New macros.
25764 (_NSIG): Now 32.
25765
25766 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25767 initializer on [_LIBC_REENTRANT].
25768
25769 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25770 definitions inside [_POSIX_MAPPED_FILES].
25771
25772 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25773
25774 * dirent/opendir.c: Include <fcntl.h>.
25775
25776 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25777 (__libc_getspecific): Likewise.
25778 (__libc_key_create): Likewise.
25779
25780 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25781 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25782 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25783 (tmpfile64): Define as alias.
25784 * sysdeps/wordsize-64/tmpfile.c: File removed.
25785 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25786 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25787 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25788
25789 * stdio-common/vfscanf.c: Include <stdbool.h>.
25790 * nss/makedb.c: Likewise.
25791 * stdio-common/_i18n_number.h: Likewise.
25792 * argp/argp-help.c: Likewise.
25793 * posix/wordexp.c: Likewise.
25794 * sysdeps/posix/spawni.c: Likewise.
25795 * nss/nss_files/files-initgroups.c: Likewise.
25796 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25797 * nss/nss_files/files-initgroups.c: Likewise.
25798 * nss/nss_db/db-netgrp.c: Likewise.
25799 * nss/nss_db/db-initgroups.c: Likewise.
25800 * io/fchmodat.c: Include <sys/stat.h>.
25801
25802 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25803 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25804
25805 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25806 [HAVE_MMAP].
25807
25808 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25809 Add multiple inclusion protection.
25810
e5abc686
DM
258112012-07-27 David S. Miller <davem@davemloft.net>
25812
25813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25814
815e6fa3
GB
258152012-07-27 Gary Benson <gbenson@redhat.com>
25816
25817 [BZ #14298]
25818 * elf/rtld.c: Include <stap-probe.h>.
25819 (dl_main): Added static probes "init_start" and "init_complete".
25820 * elf/dl-load.c: Include <stap-probe.h>.
25821 (lose): Take new parameter "nsid".
25822 Added static probe "map_failed".
25823 (_dl_map_object_from_fd): Pass namespace id to lose.
25824 Added static probe "map_start".
25825 (open_verify): Pass namespace id to lose.
25826 * elf/dl-open.c: Include <stap-probe.h>.
25827 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25828 and "reloc_complete".
25829 * elf/dl-close.c: Include <stap-probe.h>.
25830 (_dl_close_worker): Added static probes "unmap_start" and
25831 "unmap_complete".
25832 * elf/rtld-debugger-interface.txt: New file documenting the above.
25833
9f98c16c
RM
258342012-07-26 Roland McGrath <roland@hack.frob.com>
25835
25836 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25837 rather than a string variable.
25838 * sunrpc/rpc_main.c (h_output): Likewise.
25839 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25840
f3c22df3
PT
258412012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25842
25843 * inet/check_native.c: New file.
25844
3129cfc6
JM
258452012-07-26 Joseph Myers <joseph@codesourcery.com>
25846
da865e95
JM
25847 [BZ #13629]
25848 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25849 if larger part has absolute value 1.0.
25850 * math/s_clog10.c (__clog10): Likewise.
25851 * math/s_clog10f.c (__clog10f): Likewise.
25852 * math/s_clog10l.c (__clog10l): Likewise.
25853 * math/s_clogf.c (__clogf): Likewise.
25854 * math/s_clogl.c (__clogl): Likewise.
25855 * math/libm-test.inc (clog_test): Add more tests.
25856 (clog10_test): Likewise.
25857 * sysdeps/i386/fpu/libm-test-ulps: Update.
25858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25859
3129cfc6
JM
25860 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25861 (pltexit): Likewise.
25862 (La_regs): Likewise.
25863 (La_retval): Likewise.
25864 (int_retval): Likewise.
25865 Update #error for removed macros to refer only to definitions in
25866 tst-audit.h.
25867 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25868 macro.
25869 (pltexit): Likewise.
25870 (La_regs): Likewise.
25871 (La_retval): Likewise.
25872 (int_retval): Likewise.
25873 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25874 macro.
25875 (pltexit): Likewise.
25876 (La_regs): Likewise.
25877 (La_retval): Likewise.
25878 (int_retval): Likewise.
25879 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25880 macro.
25881 (pltexit): Likewise.
25882 (La_regs): Likewise.
25883 (La_retval): Likewise.
25884 (int_retval): Likewise.
25885 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25886 macro.
25887 (pltexit): Likewise.
25888 (La_regs): Likewise.
25889 (La_retval): Likewise.
25890 (int_retval): Likewise.
25891 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25892 macro.
25893 (pltexit): Likewise.
25894 (La_regs): Likewise.
25895 (La_retval): Likewise.
25896 (int_retval): Likewise.
25897 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25898 macro.
25899 (pltexit): Likewise.
25900 (La_regs): Likewise.
25901 (La_retval): Likewise.
25902 (int_retval): Likewise.
25903 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25904 macro definitions in tst-audit.h.
25905 * sysdeps/i386/tst-audit.h: New file.
25906 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25907 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25908 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25909 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25910 * sysdeps/sh/tst-audit.h: Likewise.
25911 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25912 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25913 * sysdeps/x86_64/tst-audit.h: Likewise.
25914
bfc07087
AJ
259152012-07-26 Andreas Jaeger <aj@suse.de>
25916
b1b2aaf8
AJ
25917 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25918 ptrace.
25919
25920 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25921 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25922 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25923 PTRACE_O_MASK.
25924 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25925 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25926 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25927
bfc07087
AJ
25928 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25929 value.
25930
25931 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25932 _sigsys.
25933 (si_call_addr, si_syscall, si_arch): Define new macro.
25934 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25935 _sigsys.
25936 (si_call_addr, si_syscall, si_arch): Define new marcro.
25937 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25938 _sigsys.
25939 (si_call_addr, si_syscall, si_arch): Define new macro.
25940 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25941 _sigsys.
25942 (si_call_addr, si_syscall, si_arch): Define new macro.
25943
89b4b02f
JM
259442012-07-25 Joseph Myers <joseph@codesourcery.com>
25945
25946 [BZ #13717]
25947 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25948 Change to 2.4.21 where previously 2.4.1.
25949 * sysdeps/unix/sysv/linux/configure: Regenerated.
25950 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25951 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25952 Linux kernel version.
25953 (__ASSUME_STD_AUXV): Remove.
25954 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25955 kernel version.
25956 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25957 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25958 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25959 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25960 (__ASSUME_NETLINK_SUPPORT): Likewise.
25961 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25962 (__no_netlink_support): Remove conditional definition.
25963 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25964 Remove.
25965 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25966 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25967 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25968 (if_nameindex_ioctl): Remove.
25969 (if_nameindex_netlink): Do not handle __no_netlink_support.
25970 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25971 code.
25972 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25973 Remove conditional code.
25974 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25975 code.
25976 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25977 unconditional.
25978 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25979 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25980 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25981 Remove.
25982 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25983 [!__ASSUME_STD_AUXV]: Remove conditional code.
25984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25985 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25986 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25988 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25989 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25990 code.
25991 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25993 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25994 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25995 conditional code.
25996 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25998 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25999 code.
26000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26001 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26002 conditional code.
26003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26004 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26005 code unconditional.
26006 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26007 conditional code.
26008 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26009 unconditional.
26010 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26011 conditional code.
26012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26013 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26014 unconditional.
26015 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26016 conditional code.
26017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26018 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26019 code unconditional.
26020 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26021 conditional code.
26022 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26023 unconditional.
26024 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26025 conditional code.
26026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26027 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26028 code unconditional.
26029 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26030 conditional code.
26031 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26032 unconditional.
26033 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26034 conditional code.
26035
842a39cd
AS
260362012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26037
26038 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26039 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26040 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26041 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26042 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26043 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26044 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26045 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26046 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26047 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26048 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26049 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26050 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26051 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26052 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26053 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26054 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26055 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26056 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26057 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26058 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26059 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26060 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26061
84b3fd84
FW
260622012-07-25 Florian Weimer <fweimer@redhat.com>
26063
26064 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26065 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26066 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26067 Introduce __libc_secure_getenv.
0c7936d5
FW
26068 * stdlib/Versions (2.17): Add secure_getenv
26069 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26070 * stdlib/secure-getenv.c: Rename __secure_getenv to
26071 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26072 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26073 * stdlib/tst-secure-getenv.c: New.
26074 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26075 * manual/startup.texi (Environment Access): Document
26076 secure_getenv.
84b3fd84
FW
26077 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26078 __libc_secure_getenv.
26079 * inet/ruserpass.c (ruserpass): Likewise.
26080 * malloc/mtrace.c (mtrace): Likewise.
26081 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26082 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26083 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26084 * sysdeps/posix/tempname.c: Likewise. Evaluate
26085 HAVE_SECURE_GETENV.
26086 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26087 __secure_getenv to __libc_secure_getenv.
84b3fd84 26088 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26090 Likewise.
26091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26092 Likewise.
26093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26095 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26100
56e49b71
JM
261012012-07-25 Joseph Myers <joseph@codesourcery.com>
26102
26103 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26104 (struct La_i86_retval): Likewise.
26105 (struct La_x86_64_regs): Likewise.
26106 (struct La_x86_64_retval): Likewise.
26107 (struct La_x32_regs): Likewise.
26108 (struct La_x32_retval): Likewise.
26109 (struct La_ppc32_regs): Likewise.
26110 (struct La_ppc32_retval): Likewise.
26111 (struct La_ppc64_regs): Likewise.
26112 (struct La_ppc64_retval): Likewise.
26113 (struct La_sh_regs): Likewise.
26114 (struct La_sh_retval): Likewise.
26115 (struct La_s390_32_regs): Likewise.
26116 (struct La_s390_32_retval): Likewise.
26117 (struct La_s390_64_regs): Likewise.
26118 (struct La_s390_64_retval): Likewise.
26119 (struct La_sparc32_regs): Likewise.
26120 (struct La_sparc32_retval): Likewise.
26121 (struct La_sparc64_regs): Likewise.
26122 (struct La_sparc64_retval): Likewise.
26123 (struct audit_ifaces): Remove architecture-specific pltenter and
26124 pltexit members.
26125 * sysdeps/i386/ldsodefs.h: New file.
26126 * sysdeps/powerpc/ldsodefs.h: Likewise.
26127 * sysdeps/s390/ldsodefs.h: Likewise.
26128 * sysdeps/sh/ldsodefs.h: Likewise.
26129 * sysdeps/sparc/ldsodefs.h: Likewise.
26130 * sysdeps/x86_64/ldsodefs.h: Likewise.
26131
354691b7
MP
261322012-07-25 Marek Polacek <polacek@redhat.com>
26133
26134 [BZ #6808]
26135 * math/libm-test.inc (yn_test): Add another test.
26136 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26137 to ERANGE when the result is +-Inf.
26138 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26139 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26140 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26141 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26142
bf9e2071
JM
261432012-07-24 Joseph Myers <joseph@codesourcery.com>
26144
26145 * conform/data/time.h-data (NULL): Use macro-constant. Require
26146 equal to 0.
26147 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26148 clock_t.
26149 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26150
57633811
TS
261512012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26152
26153 * configure.in <sysdeps resolving>: Correct printing
26154 Implies_before.
26155 * configure: Regenerate.
26156
c23c33b0
TS
261572012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26158
26159 * math/w_ilogb.c: Include <limits.h>.
26160 * math/w_ilogbl.c: Likewise.
26161
b5982523
JM
261622012-07-20 Joseph Myers <joseph@codesourcery.com>
26163
26164 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26165 va_copy. Document allowing for unavailable va_copy only as
26166 pre-C99 compatibility.
26167 * manual/string.texi (Copying and Concatenation): Use va_copy
26168 instead of __va_copy in concat example.
26169
ac4ea442
PT
261702012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26171
26172 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26173 (__sendto): Use create_address_port. Initialize APORT and deallocate
26174 it if not null.
26175
f98eafbd
PT
26176 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26177 with O_NOLINK passed to __file_name_lookup.
26178
898c7aab
PT
26179 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26180 with O_NOLINK passed to __file_name_lookup.
26181
0ced335a
PT
26182 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26183 negative N or less than NGIDS.
26184
b3404dbd
PT
26185 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26186 type to string_t. Set ERANGE as errno and return it if NAME is not big
26187 enough. Use memcpy instead of strncpy.
26188
0f48659e
JM
261892012-07-20 Joseph Myers <joseph@codesourcery.com>
26190
26191 * elf/Makefile (check-data): Remove.
26192 (localplt.data): New vpath directive.
26193 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26194 instead of $(check-data).
26195 * scripts/data/localplt-generic.data: Move to ...
26196 * sysdeps/generic/localplt.data: ... here.
26197 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26198 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26199 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26201 ... here.
26202 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26204 ... here.
26205 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26207 ... here.
26208 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26210 ... here.
26211 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26213 ... here.
26214 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26216 ... here.
26217
d37cbdaa
AZ
262182012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26219
26220 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26221 PPC32 and PPC64 files.
26222 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26223 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26224
46f85fc2
AK
262252012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26226
26227 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26228 __makecontext_ret to ...
26229 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26230 ... here and call exit if uc_link is NULL. New file.
26231 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26232 __makecontext_ret.S.
26233 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26234 __makecontext_ret to ...
26235 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26236 ... here and call exit if uc_link is NULL. New file.
26237 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26238 __makecontext_ret.S.
26239
08f43f9b
AK
262402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26241
26242 * elf/elf.h (R_390_IRELATIVE): New definition.
26243 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26244 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26245 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26246 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26247 (elf_machine_lazy_rel): Likewise.
26248 * sysdeps/s390/dl-irel.h: New file.
26249 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26250 * sysdeps/s390/s390-64/memset.S: New asm code.
26251 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26252 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26253 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26254 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26255 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26256 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26257 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26258 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26259 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26260 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26261 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26262 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26263 * sysdeps/s390/s390-32/memset.S: New asm code.
26264 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26265
3b05db33
MP
262662012-07-17 Marek Polacek <polacek@redhat.com>
26267
26268 [BZ #14349]
26269 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26270 * sysdeps/s390/s390-64/configure.in: Likewise.
26271 * sysdeps/sparc/configure.in: Likewise.
26272 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26273 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26274 * sysdeps/i386/configure.in: Likewise.
26275 * sysdeps/x86_64/configure.in: Likewise.
26276 * sysdeps/sh/configure.in: Likewise.
26277 * sysdeps/s390/s390-32/configure: Regenerated.
26278 * sysdeps/s390/s390-64/configure: Likewise.
26279 * sysdeps/x86_64/configure: Likewise.
26280 * sysdeps/sh/configure: Likewise.
26281 * sysdeps/powerpc/powerpc64/configure: Likewise.
26282 * sysdeps/powerpc/powerpc32/configure: Likewise.
26283 * sysdeps/sparc/configure: Likwise.
26284 * sysdeps/i386/configure: Likewise.
26285
a66877c6
MP
26286 * elf/dl-open.c: Comment fixes.
26287
cfc82fd8
JM
262882012-07-17 Joseph Myers <joseph@codesourcery.com>
26289
bd29910a
JM
26290 * Makefile [CXX] (check-data): Remove.
26291 [CXX] (c++-types.data): New vpath directive.
26292 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26293 vpath. Do not allow for C++ type data being missing.
26294 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26295 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26296 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26297 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26298 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26299 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26300 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26302 ... here.
26303 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26305 ... here.
26306 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26308 ... here.
26309 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26311 ... here.
26312 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26314 ... here.
26315 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26317 ... here.
26318 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26320 ... here.
26321 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26323
cfc82fd8
JM
26324 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26325 definitions to architecture-specific files.
26326 (TLS_IE): Likewise.
26327 (TLS_LD): Likewise.
26328 (TLS_GD): Likewise.
26329 * sysdeps/i386/tls-macros.h: New file.
26330 * sysdeps/powerpc/tls-macros.h: Likewise.
26331 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26332 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26333 * sysdeps/sh/tls-macros.h: Likewise.
26334 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26335 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26336 * sysdeps/x86_64/tls-macros.h: Likewise.
26337
f7db3170
TS
263382012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26339
07cbfc23
TS
26340 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26341 zero value for regular exit case.
26342
f7db3170
TS
26343 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26344 (__start_context): Preserve zero value for regular exit case.
26345
dc97c227
TS
263462012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26347 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26348
26349 * manual/setjmp.texi (setcontext): Clarify normal process
26350 termination when uc_link is the null pointer.
26351 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26352 exit call.
26353
d0cd7d02
AS
263542012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26355
26356 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26357 preprocessor. Test for each exception mask separately.
26358
dd318934
AJ
263592012-07-16 Andreas Jaeger <aj@suse.de>
26360
26361 * po/ru.po: Update from translation team.
26362
8048311a
JM
263632012-07-15 Joseph Myers <joseph@codesourcery.com>
26364
26365 * conform/data/string.h-data (NULL): Use macro-constant. Require
26366 equal to 0.
26367 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26368 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26369 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26370 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26371 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26372
b637d46e
AJ
263732012-07-13 Andreas Jaeger <aj@suse.de>
26374
26375 * po/fr.po: Update from translation team.
26376
541428fe
MP
263772012-07-12 Marek Polacek <polacek@redhat.com>
26378
26379 [BZ #14173]
26380 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26381 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26382 loop condition.
26383
ec332e94
JM
263842012-07-12 Joseph Myers <joseph@codesourcery.com>
26385
26386 [BZ #13717]
26387 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26388 Change to 2.4.1 where previously 2.4.0.
26389 * sysdeps/unix/sysv/linux/configure: Regenerated.
26390 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26391 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26392 version.
26393 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26394 (__ASSUME_AT_CLKTCK): Remove.
26395 (__ASSUME_AT_PAGESIZE): Likewise.
26396 (__ASSUME_AT_XID): Likewise.
26397 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26398 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26399 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26400 unconditionally.
26401 (HAVE_AUX_PAGESIZE): Likewise.
26402 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26403 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26404 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26405
7b6e99be
JB
264062012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26407
26408 [BZ #14307]
26409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26410 the temporary buffer used to invoke __gethostbyname2_r,
26411 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26412 host_data / struct gaih_addrtuple.
26413 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26414 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26415 header file nss/nsswitch.h.
26416 * nss/nsswitch.h (global scope): Add definition of implementation
26417 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26418 resolv/nss_dns/dns-host.c).
26419
608404eb
AJ
264202012-07-11 Andreas Jaeger <aj@suse.de>
26421
26422 * po/fr.po: Update from translation team.
26423
71220aca
AJ
26424 * po/sv.po: Update from translation team
26425 * po/fr.po: Another update from translation team.
26426
28cfe843
AZ
264272012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26428
26429 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26430 for subnormals or multiply small sinh result by itself.
26431 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26433
6b90f981
DM
264342012-07-11 David S. Miller <davem@davemloft.net>
26435
26436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26437
c6825772
AS
264382012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26439
26440 [BZ #14347]
26441 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26442 (INTERNAL_MARK): Shift it here.
26443
7b8e0d49
MP
264442012-07-10 Marek Polacek <polacek@redhat.com>
26445
26446 [BZ #14151]
26447 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26448 libc_cv_asm_global_directive with .globl.
26449 * configure: Regenerated.
26450 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26451 with .globl.
26452 * sysdeps/i386/configure: Regenerated.
26453 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26454 with .globl.
26455 * sysdeps/x86_64/configure: Regenerated.
26456 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26457 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26458 * elf/tst-unique2mod2.c: Likewise.
26459 * elf/tst-unique2mod1.c: Likewise.
26460 * elf/tst-unique1mod2.c: Likewise.
26461 * elf/tst-unique1mod1.c: Likewise.
26462 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26463 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26464 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26465 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26466 * sysdeps/mach/sysdep.h: Likewise.
26467 * sysdeps/i386/sysdep.h: Likewise.
26468 * sysdeps/i386/i386-mcount.S: Likewise.
26469 * sysdeps/x86_64/_mcount.S: Likewise.
26470 * sysdeps/x86_64/sysdep.h: Likewise.
26471 * sysdeps/sh/_mcount.S: Likewise.
26472 * sysdeps/sh/sysdep.h: Likewise.
26473 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26474 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26475 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26476 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26477 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26478 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26479 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26480 * locale/localeinfo.h: Likewise.
26481 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26482 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26483
6c55cda3
RM
264842012-07-09 Roland McGrath <roland@hack.frob.com>
26485
26486 [BZ #14336]
26487 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26488 system".
26489 * manual/message.texi (The Uniforum approach): Likewise.
26490 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26491 (glibc iconv Implementation): Likewise.
26492
638a572e
JM
264932012-07-09 Joseph Myers <joseph@codesourcery.com>
26494
26495 [BZ #14337]
26496 * math/s_clog.c (__clog): Avoid scaling a value down where that
26497 could result in underflow.
26498 * math/s_clog10.c (__clog10): Likewise.
26499 * math/s_clog10f.c (__clog10f): Likewise.
26500 * math/s_clog10l.c (__clog10l): Likewise.
26501 * math/s_clogf.c (__clogf): Likewise.
26502 * math/s_clogl.c (__clogl): Likewise.
26503 * math/libm-test.inc (clog_test): Add more tests.
26504 (clog10_test): Likewise.
26505 * sysdeps/i386/fpu/libm-test-ulps: Update.
26506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26507
261f4859
AS
265082012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26509
0abaf3e4
AS
26510 [BZ #14283]
26511 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26512 by 7 not 8 to examine high bit of fractional part.
26513
261f4859
AS
26514 [BZ #14042]
26515 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26516 for call to __mcount_internal.
26517 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26518 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26519 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26520
f17ac40d
JM
265212012-07-06 Joseph Myers <joseph@codesourcery.com>
26522
9ad63c23
JM
26523 [BZ #14154]
26524 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26525 approximation for values within 0x1p-13f of an odd multiple of
26526 pi/4.
26527 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26528 exception. Add more tests.
26529 * sysdeps/i386/fpu/libm-test-ulps: Update.
26530
f17ac40d
JM
26531 [BZ #6778]
26532 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26533 inputs and return -1 for them. Do not check for +Inf in case not
26534 reachable for +Inf.
26535 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26536 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26537 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26538 and return -1 for them. Do not check for +Inf in case not
26539 reachable for +Inf.
26540 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26541 define.
26542 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26543 and return -1 for them. Do not check for +Inf in case not
26544 reachable for +Inf.
26545 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26546 spurious underflow.
26547 * sysdeps/i386/fpu/libm-test-ulps: Update.
26548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26549
fb21f89b
MF
265502012-07-06 Mike Frysinger <vapier@gentoo.org>
26551
26552 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26553
cdfe2c5e
JM
265542012-07-05 Joseph Myers <joseph@codesourcery.com>
26555
26556 [BZ #14157]
26557 [BZ #14331]
26558 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26559 could result in spurious underflow. Scale down values above
26560 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26561 * math/s_csqrtf.c (__csqrtf): Likewise.
26562 * math/s_csqrtl.c (__csqrtl): Likewise.
26563 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26564 spurious underflow.
26565 * sysdeps/i386/fpu/libm-test-ulps: Update.
26566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26567
70d35b67
AS
265682012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26569
704bc459
AS
26570 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26571 xopen-msg.sed.
26572 * catgets/xopen-msg.awk: New file.
26573 * catgets/xopen-msg.sed: Removed.
26574
70d35b67
AS
26575 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26576 po2text.sed.
26577 * intl/po2test.awk: New file.
26578 * intl/po2test.sed: Removed.
26579
ca61cf32
JM
265802012-07-04 Joseph Myers <joseph@codesourcery.com>
26581
26582 [BZ #14328]
26583 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26584 or multiply small sinh result by itself.
26585 * math/s_ctanf.c (__ctanf): Likewise.
26586 * math/s_ctanh.c (__ctanh): Likewise.
26587 * math/s_ctanhf.c (__ctanhf): Likewise.
26588 * math/s_ctanhl.c (__ctanhl): Likewise.
26589 * math/s_ctanl.c (__ctanl): Likewise.
26590 * math/libm-test.inc (ctan_test_tonearest): New function.
26591 (ctan_test_towardzero): Likewise.
26592 (ctan_test_downward): Likewise.
26593 (ctan_test_upward): Likewise.
26594 (ctanh_test_tonearest): Likewise.
26595 (ctanh_test_towardzero): Likewise.
26596 (ctanh_test_downward): Likewise.
26597 (ctanh_test_upward): Likewise.
26598 (main): Call these new functions.
26599 * sysdeps/i386/fpu/libm-test-ulps: Update.
26600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26601
ca48a46a
MF
266022012-07-03 Mike Frysinger <vapier@gentoo.org>
26603
26604 * .gitignore: Delete /ports entry.
26605
9d63d37d
AJ
266062012-07-03 Andreas Jaeger <aj@suse.de>
26607
26608 * po/bg.po: Update from translation team.
26609 * po/cs.po: Likewise.
26610 * po/de.po: Likewise.
26611 * po/hr.po: Likewise.
26612 * po/nl.pl: Likewise.
26613 * po/pl.po: Likewise.
26614 * po/vi.po: Likewise.
26615
370ca3d2
JM
266162012-07-03 Joseph Myers <joseph@codesourcery.com>
26617
95f5a9a8
JM
26618 * Makeconfig [!+link] (+link-before-libc): New variable.
26619 [!+link] (+link-after-libc): Likewise.
26620 [!+link] (+link-tests): Likewise.
26621 [!+link] (+link): Define in terms of $(+link-before-libc) and
26622 $(+link-after-libc).
26623 [!+link-static] (+link-static-before-libc): New variable.
26624 [!+link-static] (+link-static-after-libc): Likewise.
26625 [!+link-static] (+link-static-tests): Likewise.
26626 [!+link-static] (+link-static): Define in terms of
26627 $(+link-static-before-libc) and $(+link-static-after-libc).
26628 [build-shared] (link-libc-before-gnulib): New variable.
26629 [build-shared] (link-libc-tests): Likewise.
26630 [build-shared] (link-libc): Define in terms of
26631 $(link-libc-before-gnulib).
26632 [!build-shared] (link-libc-tests): New variable.
26633 (link-libc-static-tests): New variable.
26634 [!gnulib] (gnulib-arch): New variable.
26635 [!gnulib] (gnulib-tests): Likewise.
26636 [!gnulib] (static-gnulib-arch): Likewise.
26637 [!gnulib] (static-gnulib-tests): Likewise.
26638 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26639 Define with "=" instead of ":=".
26640 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26641 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26642 * Rules (binaries-all-notests): New variable.
26643 (binaries-all-tests): Likewise.
26644 (binaries-static-notests): Likewise.
26645 (binaries-static-tests): Likewise.
26646 (binaries-all): Define using $(binaries-all-notests) and
26647 $(binaries-all-tests).
26648 (binaries-static): Define using $(binaries-static-notests) and
26649 $(binaries-static-tests).
26650 (binaries-shared-tests): New variable.
26651 (binaries-shared-notests): Likewise.
26652 (binaries-shared): Remove variable.
26653 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26654 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26655 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26656 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26657 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26658 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26659 * elf/Makefile (sln-modules): New variable.
26660 (extra-objs): Add $(sln-modules:=.o).
26661 (ldconfig-modules): Add static-stubs.
26662 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26663 * elf/static-stubs.c: New file.
26664
7a845b2c
JM
26665 [BZ #14283]
26666 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26667 by 7 not 8 to examine high bit of fractional part. Use volatile
26668 variables when splitting into final array of floats if
26669 __FLT_EVAL_METHOD__ != 0.
26670 * math/libm-test.inc (cos_test): Add another test.
26671 (sin_test): Likewise.
26672 * sysdeps/i386/fpu/libm-test-ulps: Update.
26673
e2283f38
JM
26674 [BZ #14273]
26675 * math/libm-test.inc (cosh_test): Add more tests.
26676
370ca3d2
JM
26677 * version.h (RELEASE): Set to "development".
26678 (VERSION): Set to "2.16.90".
26679
ee9247c3
CD
266802012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26681
26682 * NEWS: Update copyright. Remove last-updated date.
26683 Mention math library bug fixes and timezone data changes.
26684 * README: Mention GNU/Hurd, x32, and HPPA support status.
26685
4648c381
TS
266862012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26687
26688 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26689
aac78a43
AJ
266902012-06-27 Andreas Jaeger <aj@suse.de>
26691
26692 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26693
ed3dbfad
AJ
266942012-06-25 Andreas Jaeger <aj@suse.de>
26695
26696 * sysdeps/s390/fpu/libm-test-ulps: Update.
26697
4d0ee855
AS
266982012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26699 Thomas Schwinge <thomas@codesourcery.com>
26700
26701 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26702 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26703 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26704 fanotify_mark.
26705
af1bce34
TS
267062012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26707
a9fa33ba
TS
26708 * sysdeps/mach/start.c: Remove file.
26709 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26710 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26711 * sysdeps/sh/init-first.c: Likewise.
26712
58f902b8
TS
26713 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26714 registers for frame unwinding purposes, add CFI directives.
26715 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26716 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26717 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26718 Likewise.
26719
1518f58b
TS
26720 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26721 __fortify_fail returning.
26722 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26723
db9b5059
TS
26724 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26725 sysdeps/sh/____longjmp_chk.S.
26726 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26727 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26728 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26729 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26730
967705fe
TS
26731 * sysdeps/sh/abort-instr.h: New file.
26732 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26733 process in case exit returns.
26734
a9def8c4
TS
26735 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26736 initialize the GOT register before use.
26737
2a649725
TS
26738 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26739 calculation of ARGC > 4.
26740
af1bce34
TS
26741 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26742 meaningful names to some local labels.
26743
d230f50a
KK
267442012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26745 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26746
26747 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26748 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26749 (__arch_compare_and_exchange_val_16_acq): Likewise.
26750 (__arch_compare_and_exchange_val_32_acq): Likewise.
26751 (atomic_exchange_and_add): Fix gUSA sequence.
26752 (atomic_add): Likewise.
26753 (atomic_add_negative): Likewise.
26754 (atomic_add_zero): Likewise.
26755 (atomic_bit_test_set): Likewise.
26756
0479b305
AS
267572012-06-22 Andreas Schwab <schwab@redhat.com>
26758
26759 [BZ #13579]
26760 * include/link.h (struct link_map): Add l_free_initfini.
26761 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26762 l_initfini.
26763 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26764 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26765 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26766 set.
26767
0e3933b9
CD
267682012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26769
26770 * configure.in: Use AC_LANG_SOURCE.
26771 * configure: Regenerate.
26772
4248b1b1
RM
267732012-06-22 Roland McGrath <roland@hack.frob.com>
26774
26775 * configure.in (libc_cv_localstatedir): New substituted variable.
26776 * configure: Regenerated.
26777 * config.make.in (localstatedir): New variable, substituted from
26778 libc_cv_localstatedir.
26779 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26780 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26781 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26782 * sysdeps/gnu/configure: Regenerated.
26783
006dd861
JL
267842012-06-21 Jeff Law <law@redhat.com>
26785
26786 [BZ #14277]
26787 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26788 free. Simplify list management for _LIBC case.
26789
79662d42
JM
267902012-06-21 Joseph Myers <joseph@codesourcery.com>
26791
b7abb4bf
JM
26792 [BZ #14273]
26793 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26794 Clear sign bit of 64-bit integer value before comparing against
26795 overflow value.
26796
79662d42
JM
26797 * sysdeps/mach/configure: Regenerated.
26798
1f150908
L
267992012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26800
26801 [BZ #14278]
26802 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26803
28363bbf
JL
268042012-06-21 Jeff Law <law@redhat.com>
26805
26806 [BZ #13882]
26807 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26808 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26809 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26810 * elf/dl-open.c (dl_open_worker): Likewise.
26811
09615db4
CD
268122012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26813
26814 * scripts/list-sources.sh: Scan PORTS for translations.
26815 * po/libc.pot: Regenerated.
26816
2174c6dd
AJ
268172012-06-21 Andreas Jaeger <aj@suse.de>
26818
26819 [BZ #12194]
26820 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26821 warning.
26822 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26823 * bits/byteswap-16.h (__bswap_16): Likewise.
26824 * bits/byteswap.h (__bswap_constant_16): Likewise.
26825
3ee947b1
L
268262012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26827
26828 [BZ #14117]
a2f34833
L
26829 * sysdeps/i386/fpu_control.h: Removed.
26830 * sysdeps/x86_64/fpu_control.h: Moved to ...
26831 * sysdeps/x86/fpu_control.h: Here.
26832
3ee947b1
L
26833 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26834 (_FPU_SETCW): Likewise.
26835
ed1825f8
L
268362012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26837
25f1282a
L
26838 [BZ #14117]
26839 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26840 * sysdeps/x86/fpu/bits/mathinline.h: This.
26841 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26842
ed1825f8
L
26843 [BZ #14050]
26844 [BZ #14117]
26845 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26846 functions if __x86_64__ is defined.
26847
36d54b74
CLT
268482012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26849
26850 * string/endian.h: Add !__ASSEMBLER__ condition for including
26851 conversion interfaces.
26852
10285c21
JM
268532012-06-15 Joseph Myers <joseph@codesourcery.com>
26854
26855 [BZ #14241]
26856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26857 of ABS(x) in calculating zero to negative powers other than odd
26858 integers.
26859 * math/libm-test.inc (pow_test): Add more tests.
26860
06c5abbd
AJ
268612012-06-15 Andreas Jaeger <aj@suse.de>
26862
26863 * manual/contrib.texi (Contributors): Update entry of Liubov
26864 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26865 Machado Filho.
26866
a3aeac40
CH
268672012-06-15 Cyril Hrubis <metan@ucw.cz>
26868
26869 * string/string.h: Add __wur to GNU version of strerror_r.
26870
49bdf4c1
L
268712012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26872
26873 [BZ #14229]
26874 * string/Makefile (tests): Add tst-strtok_r.
26875 * string/tst-strtok_r.c: New file.
26876 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26877 RAX_LP/RDX_LP on SAVE_PTR.
26878
834f9b8d
RM
268792012-06-14 Roland McGrath <roland@hack.frob.com>
26880
26881 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26882
75fa1921
JM
268832012-06-14 Joseph Myers <joseph@codesourcery.com>
26884
26885 * libm_test.inc (csqrt_test): Allow more spurious underflow
26886 exceptions.
26887 (j0_test): Likewise.
26888 (j1_test): Likewise.
26889 (y0_test): Likewise.
26890 (y1_test): Likewise.
26891
771766df
CD
268922012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26893
26894 * po/Makefile (libc.pot): Use UTF-8 charset.
26895
ceb9e56b
PP
268962012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26897
26898 [BZ #14210]
26899 Suppress sign-conversion warning from FD_SET.
26900 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26901 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26902 not unsigned long int.
26903 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26904
ddb28975
L
269052012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26906
26907 [BZ #14050]
26908 [BZ #14117]
26909 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26910 __extern_always_inline instead of __extern_inline.
26911 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26912 (__signbit): Likewise.
26913 (__signbitl): Support C++ namespace.
26914 (lrintf): New inline function.
26915 (lrint): Likewise.
26916 (llrintf): Likewise.
26917 (llrint): Likewise.
26918 (fmaxf): Likewise.
26919 (fmax): Likewise.
26920 (fminf): Likewise.
26921 (fmin): Likewise.
26922 (rint): Likewise.
26923 (rintf): Likewise.
26924 (ceil): Likewise.
26925 (ceilf): Likewise.
26926 (floor): Likewise.
26927 (floorf): Likewise.
26928 (nearbyint): Likewise.
26929 (nearbyintf): Likewise.
26930
d7b4fb26
TS
269312012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26932
26933 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26934 non-default versions.
26935
eb55f5c2
RM
269362012-06-11 Roland McGrath <roland@hack.frob.com>
26937
26938 [BZ #14218]
26939 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26940
366af02c
TS
269412012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26942
99ff6e5c
TS
26943 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26944 (FE_UPWARD, FE_DOWNWARD): Don't define.
26945 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26946 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26947
366af02c
TS
26948 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26949 reading it.
26950 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26951 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26952
793ea851
KK
269532012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26954
26955 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26956 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26957 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26958 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26959
a728a38f
L
269602012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26961
26962 [BZ #14117]
c08010c7
L
26963 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26964 * sysdeps/i386/fpu/Implies: New file.
26965 * sysdeps/x86_64/fpu/Implies: Likewise.
26966 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26967 * sysdeps/x86/fpu/bits/fenv.h: This.
26968
a728a38f
L
26969 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26970 __SSE_MATH__.
26971
6e230d11
SP
269722012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26973
26974 [BZ #14134]
26975 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26976 character 0xffff that matches the last element of the
26977 conversion table.
26978
1b671feb
AZ
269792012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26980
26981 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26982 fmodl commit.
26983
6043738b
AZ
269842012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26985
26986 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26987 values higher than 25.6283.
26988
34ae0b32
AZ
269892012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26990
26991 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26992 subnormal exponent extraction and add some __builtin_expect.
26993 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26994 Fix for subnormal mantissa calculation.
26995
1214ec8f
MF
269962012-06-04 Mike Frysinger <vapier@gentoo.org>
26997
26998 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26999 cpu2 is -1 and errno is not ENOSYS.
27000
f3d1f93c
L
270012012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27002
27003 [BZ #14117]
0e4a3cd7
L
27004 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27005 * sysdeps/x86/bits/string.h: This.
27006 * sysdeps/x86_64/bits/string.h: Removed.
27007
6704c645
L
27008 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27009 if not compiling for x86-64, but compiling for >= i486.
27010
48495318
L
27011 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27012 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27013
14adcbfc
L
27014 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27015 New macro from Linux kernel 3.4.0.
27016 (FP_XSTATE_MAGIC2): Likewise.
27017 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27018 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27019 (struct _fpx_sw_bytes): New struct.
27020 (struct _xsave_hdr): Likewise.
27021 (struct _ymmh_state): Likewise.
27022 (struct _xstate): Likewise.
27023
68e408ab
L
27024 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27025 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27026 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27027 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27028 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27029 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27030
f3d1f93c
L
27031 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27032 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27033 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27034 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27035 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27036 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27037
d9dc34cd
TMQMF
270382012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27039
27040 [BZ #13743]
27041 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27042 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27043 (sysdep_headers): Include sys/platform/ppc.h.
27044 * sysdeps/powerpc/test-gettimebase.c: Test for
27045 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27046 * manual/Makefile (appendices): Include platform.texi.
27047 * manual/contrib.texi (Contributors): Update @node pointers.
27048 * manual/maint.texi (Maintenance): Likewise.
27049 (Platform): New node.
27050 * manual/platform.texi: New file. Document the new features.
27051
4af3879c
SP
270522012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27053 Jakub Jelinek <jakub@redhat.com>
27054
27055 [BZ #14188]
27056 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27057 where __builtin_expect is unavailable.
27058
2fd6ff13
DM
270592012-06-03 David S. Miller <davem@davemloft.net>
27060
27061 * stdlib/longlong.h: Updated from GCC.
27062
173f7220
AS
270632012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27064
27065 [BZ #14042]
27066 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27067 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27068 __mcount_internal.
27069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27070 (GLIBC_2.16): Likewise.
27071
f34a1c6f
L
270722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27073
27074 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27075
88a4576f
JM
270762012-06-01 Joseph Myers <joseph@codesourcery.com>
27077
ea32bcdd
JM
27078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27079 (default-abi): New variable.
27080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27081 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27082 variable.
27083 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27084 Likewise.
27085 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27086 Likewise.
27087 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27088 Likewise.
27089
88a4576f
JM
27090 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27091 definition. Document in comment.
27092
402fe938
DM
270932012-06-01 David S. Miller <davem@davemloft.net>
27094
27095 * stdlib/longlong.h: Updated from GCC.
27096
3553723f
L
270972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27098
27099 [BZ #14117]
3bd872c4
L
27100 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27101 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27102 sys/debugreg.h sys/io.h here.
27103 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27104 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27105 sys/io.h.
27106 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27107 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27108 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27109 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27110 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27111 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27112
3553723f
L
27113 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27114 Define only if __x86_64__ is defined.
27115
4842e4fe
JM
271162012-06-01 Joseph Myers <joseph@codesourcery.com>
27117
c5bfe3d5
JM
27118 [BZ #14048]
27119 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27120 Use int64_t for variable i.
27121 * math/libm-test.inc (fmod_test): Add more tests.
27122
4842e4fe
JM
27123 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27124 z computation is not scheduled after fetestexcept.
27125 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27126 Use math_force_eval instead of asm to ensure calculation scheduled
27127 before exception test.
27128 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27129 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27130
efb73488
AJ
271312012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27132
27133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27134 computation is not scheduled after fetestexcept.
27135
29bcce7c
L
271362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27137
27138 [BZ #14117]
27139 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27140 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27141
73a68f94
AZ
271422012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27143
27144 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27145 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27146
67b6df78
L
271472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27148
edf2933a 27149 [BZ #14117]
ebc64a18
L
27150 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27151 <bits/wordsize.h>.
27152 (__WCHAR_MIN): Support __WORDSIZE == 64.
27153 (__WCHAR_MAX): Likewise.
27154
edf2933a
L
27155 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27156 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27157
57c6cf40
L
27158 [BZ #14183]
27159 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27160 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27161
67b6df78 27162 [BZ #14117]
8eb6281e
L
27163 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27164 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27165
aac639f4
L
27166 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27167 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27168
67b6df78
L
27169 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27170 Defined to 1 if __x86_64__ isn't defined.
27171 (_STAT_VER_LINUX_OLD): New.
27172 (st_atime): Remove duplicate.
27173 (st_mtime): Likewise.
27174 (st_ctime): Likewise.
27175
1c2cfe81
DM
271762012-05-31 David S. Miller <davem@davemloft.net>
27177
27178 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27179 entries.
27180
5be8418c
AS
271812012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27182
e7725326
AS
27183 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27184 gen-libm-test.pl.
27185
5be8418c
AS
27186 [BZ #14132]
27187 * elf/dl-reloc.c: Include <_itoa.h>.
27188 (_dl_reloc_bad_type): Remove use of INTUSE.
27189 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27190 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27191 * stdio-common/psiginfo.c (psiginfo): Likewise.
27192 * stdio-common/psignal.c (psignal): Likewise.
27193 * string/strsignal.c (strsignal): Likewise.
27194 * include/signal.h (_sys_siglist): Declare hidden proto.
27195 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27196 INTVARDEF with libc_hidden_data_def.
27197 * stdio-common/itoa-udigits.c: Likewise.
27198 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27199 (_itoa_lower_digits_internal): Remove declaration.
27200 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27201 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27202 (_sys_sigabbrev_internal): Remove aliases.
27203 (_sys_siglist): Define hidden alias.
27204
507352f1
MT
272052012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27206
27207 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27208 bits/sysctl.h.
27209
42bbb1c3
L
272102012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27211
27212 [BZ #14117]
6bd784b6
L
27213 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27214 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27215
8bca20f0
L
27216 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27217 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27218 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27219 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27220 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27221 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27222
f9e890a9
L
27223 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27224 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27225 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27226
471101a1
L
27227 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27228 with __addr.
27229 (insw): Likewise.
27230 (insl): Likewise.
27231 (outsb): Likewise.
27232 (outsw): Likewise.
27233 (outsl): Likewise.
27234
6451c862
L
27235 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27236 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27237 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27238
a254b8c9
L
27239 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27240 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27241 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27242 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27243 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27244 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27245
b8dfdd92
L
27246 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27247 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27248
578cd270
L
27249 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27250 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27251
de662f5f
L
27252 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27253 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27254 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27255
25653439
L
27256 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27257 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27258 to ...
27259 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27260
6bad24a0
L
27261 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27262 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27263 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27264
42bbb1c3
L
27265 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27266 for x86-64.
27267 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27268
2d10d547
JM
272692012-05-31 Joseph Myers <joseph@codesourcery.com>
27270
27271 * math/math.h (M_El): Use two more decimal places.
27272 (M_LOG2El): Likewise.
27273 (M_LOG10El): Likewise.
27274 (M_LN2l): Likewise.
27275 (M_LN10l): Likewise.
27276 (M_PIl): Likewise.
27277 (M_PI_2l): Likewise.
27278 (M_PI_4l): Likewise.
27279 (M_1_PIl): Likewise.
27280 (M_2_PIl): Likewise.
27281 (M_2_SQRTPIl): Likewise.
27282 (M_SQRT2l): Likewise.
27283 (M_SQRT1_2l): Likewise.
27284
f230c29b
DM
272852012-05-31 David S. Miller <davem@davemloft.net>
27286
27287 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27288 values between float registers.
27289 * sysdeps/sparc/sparc64/memset.S: Likewise.
27290 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27291
fed806c3
MF
272922012-05-31 Mike Frysinger <vapier@gentoo.org>
27293
27294 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27295 -D_FORTIFY_SOURCE=1.
27296 (CPPFLAGS-tst-longjmp_chk.c): Define.
27297 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27298 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27299 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27300 CFLAGS-tst-wchar-h.c.
27301
30917259
MP
273022012-05-31 Marek Polacek <polacek@redhat.com>
27303
27304 [BZ #14132]
27305 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27306 __endmntent_internal): Remove declaration.
27307 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27308 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27309 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27310
1c58d5dc
DM
273112012-05-30 David S. Miller <davem@davemloft.net>
27312
27313 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27314 (___Q_simulate_exceptions): Use real FP ops rather than writing
27315 into the %fsr.
27316 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27317 Likewise.
27318
7dc00e0d
L
273192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27320
27321 [BZ #14117]
0bd53985
L
27322 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27323 * sysdeps/x86/bits/xtitypes.h: This.
27324
3a257e66
L
27325 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27326 * sysdeps/x86/bits/wordsize.h: This.
27327
62f62904
L
27328 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27329 * sysdeps/x86/bits/huge_vall.h: This.
27330
404fe9d9
L
27331 * sysdeps/i386/bits/select.h: Removed.
27332 * sysdeps/x86_64/bits/select.h: Renamed to ...
27333 * sysdeps/x86/bits/select.h: This.
27334
d48d0446
L
27335 * sysdeps/i386/bits/setjmp.h: Removed.
27336 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27337 * sysdeps/x86/bits/setjmp.h: This.
27338
7dc00e0d
L
27339 * sysdeps/i386/bits/mathdef.h: Removed.
27340 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27341 * sysdeps/x86/bits/mathdef.h: This.
27342
03277f8f
AS
273432012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27344
27345 [BZ #14132]
27346 * include/sys/socket.h (__connect_internal)
27347 (__libc_sa_len_internal): Remove declaration.
27348 (__connect, __libc_sa_len): Declare hidden_proto.
27349 (SA_LEN): Remove use of INTUSE.
27350 * socket/connect.c: Add libc_hidden_def.
27351 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27352 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27353 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27354 alias.
27355 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27356 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27357 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27358 of adding _internal alias.
27359
13764867
L
273602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27361
27362 [BZ #14117]
6bd97696
L
27363 * sysdeps/i386/bits/link.h: Removed.
27364 * sysdeps/i386/bits/linkmap.h: Likewise.
27365 * sysdeps/x86_64/bits/link.h: Renamed to ...
27366 * sysdeps/x86/bits/link.h: This.
27367 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27368 * sysdeps/x86/bits/linkmap.h: This.
27369
f726f0bb
L
27370 * sysdeps/i386/bits/endian.h: Removed.
27371 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27372 * sysdeps/x86/bits/endian.h: This.
27373
13764867
L
27374 * sysdeps/i386/bits/byteswap.h: Removed.
27375 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27376 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27377 * sysdeps/x86/bits/byteswap.h: This.
27378 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27379 * sysdeps/x86/bits/byteswap-16.h: This.
27380 * sysdeps/i386/Implies: Add x86.
27381 * sysdeps/x86_64/Implies: Likewise.
27382
ae251b0b
DM
273832012-05-30 David S. Miller <davem@davemloft.net>
27384
27385 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27386 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27387 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27388 (FP_TRAPPING_EXCEPTIONS): Define.
27389 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27390 (FP_TRAPPING_EXCEPTIONS): Define.
27391 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27392 subnormals only when inexact has been signalled or underflow
27393 exceptions are enabled.
27394 (_FP_PACK_CANONICAL): Likewise.
27395
d5c90867
L
273962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27397
27398 [BZ #14183]
27399 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27400 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27401
63f1549e
RH
274022012-05-30 Richard Henderson <rth@twiddle.net>
27403
8d8f2279
RH
27404 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27405 with #ifndef NOT_IN_libc.
27406
63f1549e
RH
27407 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27408 marked to avoid plt entry.
27409
0ab0291b
L
274102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27411
27412 [BZ #14112]
27413 * Makeconfig (default-abi): New macro.
27414 (abi-includes): Likewise.
27415 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27416 $(abi-$(default-abi)-lib-soname) for soname if defined.
27417 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27418 abi-variants.
27419 * Makefile (installed-stubs): Likewise.
27420 * include/stubs-biarch.h: Removed.
27421 * scripts/lib-names.awk: Only handle one library at a time.
27422 * scripts/soversions.awk: Remove WORDSIZE support.
27423 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27424 entries.
27425 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27426 Removed.
27427 (syscall-list-default-condition): Likewise.
27428 (syscall-list-default-condition): Likewise.
27429 (syscall-list-includes): Likewise.
27430 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27431 syscall-list-* with abi-*. Handle undefined abi-variants.
27432 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27433 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27434 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27435 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27436 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27437 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27438 Removed.
27439 (syscall-list-32-options): Likewise.
27440 (syscall-list-32-condition): Likewise.
27441 (syscall-list-64-options): Likewise.
27442 (syscall-list-64-condition): Likewise.
27443 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27444 macro.
27445 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27446 Renamed to ...
27447 (abi-*): This.
27448 (abi-64-ld-soname): New macro.
27449 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27450 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27451 Renamed to ...
27452 (abi-*): This.
27453 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27454 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27455
4da0431d
JM
274562012-05-30 Joseph Myers <joseph@codesourcery.com>
27457
3a85279c
JM
27458 * sysdeps/unix/sysv/linux/kernel-features.h
27459 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27460 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27461 include <kernel-features.h>.
27462 [!__NR_ftruncate64]: Remove conditional code.
27463 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27464 [__NR_ftruncate64]: Make code unconditional.
27465 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27466 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27467 include <kernel-features.h>.
27468 [!__NR_ftruncate64]: Remove conditional code.
27469 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27470 [__NR_ftruncate64]: Make code unconditional.
27471 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27473 include <kernel-features.h>.
27474 [!__NR_ftruncate64]: Remove conditional code.
27475 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27476 [__NR_ftruncate64]: Make code unconditional.
27477 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27479 include <kernel-features.h>.
27480 [!__NR_ftruncate64]: Remove conditional code.
27481 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27482 [__NR_ftruncate64]: Make code unconditional.
27483 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27484
4da0431d
JM
27485 * configure.in (libc_cv_fpie): Weaken to a compile test using
27486 LIBC_TRY_CC_OPTION.
27487 * configure: Regenerated.
27488
11ef492c
AK
274892012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27490
27491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27495 Refreshed.
27496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27502 Refreshed.
27503
d66ef399
DM
275042012-05-27 David S. Miller <davem@davemloft.net>
27505
27506 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27507 (___Q_zero): New.
27508 (__Q_simulate_exceptions): Return void. Change to simulate
27509 exceptions by writing into the %fsr.
27510 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27511 (__Qp_handle_exceptions): Likewise.
27512 (numbers): Delete.
27513 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27514 __Qp_handle_exceptions.
27515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27516 __Qp_handle_exceptions.
27517 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27518 as unused and give dummy FP_RND_NEAREST initializer.
27519 (FP_INHIBIT_RESULTS): Define.
27520 (___Q_simulate_exceptions): Update declaration.
27521 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27522 formatting.
27523 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27524 as unused and give dummy FP_RND_NEAREST initializer.
27525 (__Qp_handle_exceptions): Update declaration.
27526 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27527 formatting.
27528
04fb54b5
TS
275292012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27530
27531 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27532 the temporary FPU control word.
27533 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27534 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27535 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27536 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27537 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27538 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27539 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27540 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27541 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27542 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27543 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27544
3f99608f
KK
275452012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27546
27547 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27548 fields.
27549
65a4de4e
CLT
275502012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27551
27552 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27553 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27554 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27555 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27556 Likewise.
27557 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27558 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27559 Likewise.
27560
15749d40
UD
275612012-05-27 Ulrich Drepper <drepper@gmail.com>
27562
27563 * po/h.po: Update from translation team.
27564
25dbcb27
AS
275652012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27566
3d3f8e55
AS
27567 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27568
25dbcb27
AS
27569 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27570 handling of denormals.
27571 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27572 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27573 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27574 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27575 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27577 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27578 Likewise.
27579
7ad47a80 275802012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27581
27582 [BZ #14152]
27583 * math/libm-test.inc (fma_test): Don't always expect underflow
27584 exception.
27585
9c6ea9fa
SP
275862012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27587
27588 [BZ #12416]
27589 * elf/tst-execstack.c: Include stackinfo.h.
27590 (do_test): Adjust test case to ensure that pthread_getattr_np
27591 behaviour remains the same after marking stack executable.
27592
a8239222
JM
275932012-05-25 Joseph Myers <joseph@codesourcery.com>
27594
27595 * sysdeps/unix/sysv/linux/kernel-features.h
27596 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27597 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27598 kernel-features.h.
27599 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27600 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27601 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27602 kernel-features.h.
27603 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27604 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27605
918b5606
L
276062012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27607
27608 * configure.in: Define the default includes to being none.
27609 * configure: Regenerated.
27610
3a097cc7
RM
276112012-05-25 Roland McGrath <roland@hack.frob.com>
27612
8422c9a5
RM
27613 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27614 * sysdeps/x86_64/setjmp.S: Likewise.
27615 * sysdeps/i386/bsd-setjmp.S: Likewise.
27616 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27617 * sysdeps/i386/setjmp.S: Likewise.
27618 * sysdeps/i386/__longjmp.S: Likewise.
27619 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27620 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27621
3a097cc7
RM
27622 * include/stap-probe.h: New file.
27623 * configure.in: Handle --enable-systemtap.
27624 * configure: Regenerated.
27625 * config.h.in (USE_STAP_PROBE): New #undef.
27626 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27627 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27628 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27629
21708942
JM
276302012-05-25 Joseph Myers <joseph@codesourcery.com>
27631
27632 [BZ #13717]
27633 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27634 to 2.4.0 where earlier.
27635 * sysdeps/unix/sysv/linux/configure: Regenerated.
27636 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27637 <kernel-features.h>.
27638 [__ASSUME_32BITUIDS]: Make code unconditional.
27639 [!__ASSUME_32BITUIDS]: Remove conditional code.
27640 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27641 <kernel-features.h>.
27642 [__ASSUME_32BITUIDS]: Make code unconditional.
27643 [!__ASSUME_32BITUIDS]: Remove conditional code.
27644 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27645 [__ASSUME_32BITUIDS]: Make code unconditional.
27646 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27647 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.c: Do not include
27660 <kernel-features.h>.
27661 [__ASSUME_32BITUIDS]: Make code unconditional.
27662 [!__ASSUME_32BITUIDS]: Remove conditional code.
27663 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27664 <kernel-features.h>.
27665 [__ASSUME_32BITUIDS]: Make code unconditional.
27666 [!__ASSUME_32BITUIDS]: Remove conditional code.
27667 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27668 <kernel-features.h>.
27669 [__ASSUME_32BITUIDS]: Make code unconditional.
27670 [!__ASSUME_32BITUIDS]: Remove conditional code.
27671 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27672 <kernel-features.h>.
27673 [__ASSUME_32BITUIDS]: Make code unconditional.
27674 [!__ASSUME_32BITUIDS]: Remove conditional code.
27675 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27676 <kernel-features.h>.
27677 [__ASSUME_32BITUIDS]: Make code unconditional.
27678 [!__ASSUME_32BITUIDS]: Remove conditional code.
27679 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27680 <kernel-features.h>.
27681 [__ASSUME_32BITUIDS]: Make code unconditional.
27682 [!__ASSUME_32BITUIDS]: Remove conditional code.
27683 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27684 <kernel-features.h>.
27685 [__ASSUME_32BITUIDS]: Make code unconditional.
27686 [!__ASSUME_32BITUIDS]: Remove conditional code.
27687 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27688 <kernel-features.h>.
27689 [__NR_setresgid] (__setresgid): Do not declare.
27690 [__ASSUME_32BITUIDS]: Make code unconditional.
27691 [!__ASSUME_32BITUIDS]: Remove conditional code.
27692 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27693 <kernel-features.h>.
27694 [__NR_setresuid] (__setresuid): Do not declare.
27695 [__ASSUME_32BITUIDS]: Make code unconditional.
27696 [!__ASSUME_32BITUIDS]: Remove conditional code.
27697 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/i386/setgroups.c: Do not include
27710 <kernel-features.h>.
27711 [__ASSUME_32BITUIDS]: Make code unconditional.
27712 [!__ASSUME_32BITUIDS]: Remove conditional code.
27713 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27714 <kernel-features.h>.
27715 [__ASSUME_32BITUIDS]: Make code unconditional.
27716 [!__ASSUME_32BITUIDS]: Remove conditional code.
27717 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27718 <kernel-features.h>.
27719 [__ASSUME_32BITUIDS]: Make code unconditional.
27720 [!__ASSUME_32BITUIDS]: Remove conditional code.
27721 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27722 <kernel-features.h>.
27723 [__ASSUME_32BITUIDS]: Make code unconditional.
27724 [!__ASSUME_32BITUIDS]: Remove conditional code.
27725 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27726 <kernel-features.h>.
27727 [__ASSUME_32BITUIDS]: Make code unconditional.
27728 [!__ASSUME_32BITUIDS]: Remove conditional code.
27729 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27730 <kernel-features.h>.
27731 [__ASSUME_32BITUIDS]: Make code unconditional.
27732 [!__ASSUME_32BITUIDS]: Remove conditional code.
27733 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27734 <kernel-features.h>.
27735 [__ASSUME_32BITUIDS]: Make code unconditional.
27736 [!__ASSUME_32BITUIDS]: Remove conditional code.
27737 * sysdeps/unix/sysv/linux/kernel-features.h
27738 (__ASSUME_SETRESUID_SYSCALL): Remove.
27739 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27740 (__ASSUME_32BITUIDS): Likewise.
27741 (__ASSUME_LDT_WORKS): Likewise.
27742 (__ASSUME_O_DIRECTORY): Likewise.
27743 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27744 architecture but not kernel version.
27745 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27746 (__ASSUME_MMAP2_SYSCALL): Likewise.
27747 (__ASSUME_STAT64_SYSCALL): Likewise.
27748 (__ASSUME_IPC64): Likewise.
27749 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27750 <kernel-features.h>.
27751 [__ASSUME_32BITUIDS]: Make code unconditional.
27752 [!__ASSUME_32BITUIDS]: Remove conditional code.
27753 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27754 <kernel-features.h>.
27755 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27756 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27757 132096]: Remove conditional code.
27758 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27759 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27760 <kernel-features.h>.
27761 [__ASSUME_32BITUIDS]: Make code unconditional.
27762 [!__ASSUME_32BITUIDS]: Remove conditional code.
27763 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27764 <kernel-features.h>.
27765 [__ASSUME_32BITUIDS]: Make code unconditional.
27766 [!__ASSUME_32BITUIDS]: Remove conditional code.
27767 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27768 <kernel-features.h>.
27769 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27770 unconditional.
27771 (__setresgid): Do not declare.
27772 [__ASSUME_32BITUIDS]: Make code unconditional.
27773 [!__ASSUME_32BITUIDS]: Remove conditional code.
27774 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27775 <kernel-features.h>.
27776 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27777 unconditional.
27778 (__setresuid): Do not declare.
27779 [__ASSUME_32BITUIDS]: Make code unconditional.
27780 [!__ASSUME_32BITUIDS]: Remove conditional code.
27781 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27782 <kernel-features.h>.
27783 [__ASSUME_32BITUIDS]: Make code unconditional.
27784 [!__ASSUME_32BITUIDS]: Remove conditional code.
27785 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27786 <kernel-features.h>.
27787 [__ASSUME_32BITUIDS]: Make code unconditional.
27788 [!__ASSUME_32BITUIDS]: Remove conditional code.
27789
a386f1cc
RH
277902012-05-25 Richard Henderson <rth@twiddle.net>
27791
27792 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27793 dl_hwcap to ifunc resolver.
27794 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27795 elf_ifunc_invoke.
27796 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27797 dl_hwcap to ifunc resolver.
27798 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27799
b6550497
JM
278002012-05-24 Joseph Myers <joseph@codesourcery.com>
27801
27802 [BZ #14153]
27803 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27804 for |x| <= 2**-26, not 2**-57.
27805 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27806 exception.
27807
b0bc23a1
JL
278082012-05-24 Jeff Law <law@redhat.com>
27809
27810 * stdio-common/Makefile (tests): Add bug25.
27811 * stdio-common/bug25.c: New test.
27812
347c92e9
L
278132012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27814
27815 [BZ #13576]
27816 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27817 multiple of MALLOC_ALIGNMENT in size.
27818 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27819
6bcc8b3f
JM
278202012-05-24 Joseph Myers <joseph@codesourcery.com>
27821
27822 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27823 Require >= 256.
27824 (FILENAME_MAX): Use macro-int-constant.
27825 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27826 (_IOFBF): Use macro-int-constant.
27827 (_IOLBF): Likewise.
27828 (_IONBF): Likewise.
27829 (SEEK_CUR): Likewise.
27830 (SEEK_END): Likewise.
27831 (SEEK_SET): Likewise.
27832 (TMP_MAX): Likewise.
27833 (EOF): Use macro-int-constant. Require < 0.
27834 (NULL): Use macro-constant. Require == 0.
27835 (stdin): Require type to be FILE *.
27836 (stdout): Likewise.
27837 (stderr): Likewise.
27838 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27839 macro-int-constant.
27840 (EXIT_SUCCESS): Likewise.
27841 (NULL): Use macro-constant. Require == 0.
27842 (RAND_MAX): Use macro-int-constant.
27843 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27844 [C99-based standards] (strtof): Require function.
27845 [C99-based standards] (strtold): Likewise.
27846 [C99-based standards] (strtoll): Likewise.
27847 [C99-based standards] (strtoull): Likewise.
27848 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27849 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27850 [ISO || ISO99 || ISO11] (math.h): Likewise.
27851 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27852 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27853 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27854
d18ea0c5
AS
278552012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27856
27857 [BZ #14132]
56d25bb8
AS
27858 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27859 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27860 * intl/dgettext.c (DCGETTEXT): Likewise.
27861 * intl/gettext.c (DCGETTEXT): Likewise.
27862 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27863 * posix/regex_internal.h (gettext): Likewise.
27864 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27865 Remove declaration.
27866 * include/argz.h (__argz_count_internal)
27867 (__argz_stringify_internal): Remove declaration.
27868 (__argz_count, __argz_stringify): Declare hidden proto.
27869 * intl/dcgettext.c: Remove use of INTDEF.
27870 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27871 * string/argz-stringify.c: Likewise.
27872 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27873 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27874 Declare hidden proto.
d18ea0c5
AS
27875 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27876 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27877 Declare hidden proto.
27878 * include/stdio.h (__asprintf_internal): Don't declare.
27879 (__asprintf): Don't define as macro. Declare hidden proto.
27880 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27881 (__fsetlocking): Declare hidden proto.
27882 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27883 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27884 hidden proto.
27885 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27886 (_IO_setlinebuf): Remove use of INTUSE.
27887 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27888 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27889 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27890 Remove declaration.
27891 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27892 (_IO_do_flush): Remove use of INTUSE.
27893 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27894 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27895 (_IO_adjust_column, _IO_least_wmarker)
27896 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27897 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27898 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27899 (_IO_default_doallocate, _IO_wdefault_doallocate)
27900 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27901 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27902 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27903 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27904 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27905 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27906 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27907 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27908 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27909 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27910 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27911 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27912 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27913 proto.
27914 (_IO_flush_all_internal, _IO_adjust_column_internal)
27915 (_IO_default_uflow_internal, _IO_default_finish_internal)
27916 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27917 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27918 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27919 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27920 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27921 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27922 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27923 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27924 (_IO_file_close_internal, _IO_file_close_it_internal)
27925 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27926 (_IO_file_init_internal, _IO_file_attach_internal)
27927 (_IO_file_fopen_internal, _IO_file_read_internal)
27928 (_IO_file_sync_internal, _IO_file_seek_internal)
27929 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27930 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27931 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27932 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27933 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27934 (_IO_list_all_internal, _IO_link_in_internal)
27935 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27936 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27937 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27938 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27939 (_IO_do_write_internal, _IO_padn_internal)
27940 (_IO_getline_info_internal, _IO_getline_internal)
27941 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27942 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27943 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27944 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27945 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27946 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27947 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27948 with libc_hidden_ver, remove use of INTUSE.
27949 * libio/genops.c: Likewise.
27950 * libio/freopen.c: Likewise.
27951 * libio/freopen64.c: Likewise.
27952 * libio/iofclose.c: Likewise.
27953 * libio/iofdopen.c: Likewise.
27954 * libio/iofflush.c: Likewise.
27955 * libio/iofflush_u.c: Likewise.
27956 * libio/iofgets.c: Likewise.
27957 * libio/iofgets_u.c: Likewise.
27958 * libio/iofopen.c: Likewise.
27959 * libio/iofopncook.c: Likewise.
27960 * libio/iofread.c: Likewise.
27961 * libio/iofread_u.c: Likewise.
27962 * libio/ioftell.c: Likewise.
27963 * libio/iofwrite.c: Likewise.
27964 * libio/iogetline.c: Likewise.
27965 * libio/iogets.c: Likewise.
27966 * libio/iogetwline.c: Likewise.
27967 * libio/iopadn.c: Likewise.
27968 * libio/iopopen.c: Likewise.
27969 * libio/ioseekoff.c: Likewise.
27970 * libio/ioseekpos.c: Likewise.
27971 * libio/iosetbuffer.c: Likewise.
27972 * libio/iosetvbuf.c: Likewise.
27973 * libio/ioungetc.c: Likewise.
27974 * libio/ioungetwc.c: Likewise.
27975 * libio/iovdprintf.c: Likewise.
27976 * libio/iovsprintf.c: Likewise.
27977 * libio/iovsscanf.c: Likewise.
27978 * libio/memstream.c: Likewise.
27979 * libio/obprintf.c: Likewise.
27980 * libio/oldfileops.c: Likewise.
27981 * libio/oldiofclose.c: Likewise.
27982 * libio/oldiofdopen.c: Likewise.
27983 * libio/oldiofopen.c: Likewise.
27984 * libio/oldiopopen.c: Likewise.
27985 * libio/oldstdfiles.c: Likewise.
27986 * libio/putc.c: Likewise.
27987 * libio/setbuf.c: Likewise.
27988 * libio/setlinebuf.c: Likewise.
27989 * libio/stdfiles.c: Likewise.
27990 * libio/strops.c: Likewise.
27991 * libio/vasprintf.c: Likewise.
27992 * libio/vscanf.c: Likewise.
27993 * libio/vsnprintf.c: Likewise.
27994 * libio/vswprintf.c: Likewise.
27995 * libio/wfiledoalloc.c: Likewise.
27996 * libio/wfileops.c: Likewise.
27997 * libio/wgenops.c: Likewise.
27998 * libio/wmemstream.c: Likewise.
27999 * libio/wstrops.c: Likewise.
28000 * libio/__fpurge.c: Likewise.
28001 * libio/__fsetlocking.c: Likewise.
28002 * assert/assert.c: Likewise.
28003 * debug/fgets_chk.c: Likewise.
28004 * debug/fgets_u_chk.c: Likewise.
28005 * debug/fread_chk.c: Likewise.
28006 * debug/fread_u_chk.c: Likewise.
28007 * debug/gets_chk.c: Likewise.
28008 * debug/obprintf_chk.c: Likewise.
28009 * debug/vasprintf_chk.c: Likewise.
28010 * debug/vdprintf_chk.c: Likewise.
28011 * debug/vsnprintf_chk.c: Likewise.
28012 * debug/vsprintf_chk.c: Likewise.
28013 * malloc/mtrace.c: Likewise.
28014 * misc/error.c: Likewise.
28015 * misc/syslog.c: Likewise.
28016 * stdio-common/asprintf.c: Likewise.
28017 * stdio-common/fxprintf.c: Likewise.
28018 * stdio-common/getw.c: Likewise.
28019 * stdio-common/isoc99_fscanf.c: Likewise.
28020 * stdio-common/isoc99_scanf.c: Likewise.
28021 * stdio-common/isoc99_vfscanf.c: Likewise.
28022 * stdio-common/isoc99_vscanf.c: Likewise.
28023 * stdio-common/isoc99_vsscanf.c: Likewise.
28024 * stdio-common/printf-prs.c: Likewise.
28025 * stdio-common/printf_fp.c: Likewise.
28026 * stdio-common/printf_fphex.c: Likewise.
28027 * stdio-common/printf_size.c: Likewise.
28028 * stdio-common/putw.c: Likewise.
28029 * stdio-common/scanf.c: Likewise.
28030 * stdio-common/sprintf.c: Likewise.
28031 * stdio-common/tmpfile.c: Likewise.
28032 * stdio-common/vfprintf.c: Likewise.
28033 * stdio-common/vfscanf.c: Likewise.
28034 * stdlib/strfmon_l.c: Likewise.
28035 * sunrpc/openchild.c: Likewise.
28036 * sunrpc/xdr_stdio.c: Likewise.
28037 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28038 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28039
d6c33fda
RM
280402012-05-24 Roland McGrath <roland@hack.frob.com>
28041
c1487492
RM
28042 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28043
28044 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28045 in the third column, to generate for the shared library an IFUNC
28046 that uses _dl_vdso_vsym.
28047 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28048 * Makeconfig (object-suffixes-noshared): New variable.
28049
28050 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28051 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28052 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28053 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28054
d6c33fda
RM
28055 [BZ #14132]
28056 * include/sys/time.h (__gettimeofday): Remove macro.
28057 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28058 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28059 Remove INTDEF.
28060 (__gettimeofday): Add libc_hidden_def.
28061 (gettimeofday): Add libc_hidden_weak.
28062 * sysdeps/mach/gettimeofday.c: Likewise.
28063 * sysdeps/posix/gettimeofday.c: Likewise.
28064 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28065 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28066 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28067 (__gettimeofday_internal): Remove strong_alias.
28068 (__gettimeofday): Add libc_hidden_def.
28069 (gettimeofday): Add libc_hidden_weak.
28070 * sysdeps/unix/syscalls.list (gettimeofday):
28071 Remove __gettimeofday_internal alias.
28072
b5a2bbe6
L
280732012-05-24 Daniel Jacobowitz <drow@false.org>
28074 H.J. Lu <hongjiu.lu@intel.com>
28075
28076 [BZ #12495]
28077 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28078 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28079 (largebin_index_32_big): New.
28080 (largebin_index): Use it for 16-byte alignment.
28081 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28082 correction with front_misalign.
28083
cfba4fda
L
280842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28085
7f907421
L
28086 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28088 Likewise.
28089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28090 Likewise.
28091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28092 Likewise.
28093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28094 Likewise.
28095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28096 Likewise.
28097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28098 Likewise.
28099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28100 Likewise.
28101 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28102 Likewise.
28103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28104 Likewise.
28105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28106 Likewise.
28107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28108 Likewise.
28109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28110 Likewise.
28111
cfba4fda
L
28112 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28113 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28114
80bad0cc
JM
281152012-05-24 Joseph Myers <joseph@codesourcery.com>
28116
7a25eb06
JM
28117 [BZ #10846]
28118 [BZ #14036]
28119 * math/libm-test.inc (exp_test): Add test from bug 14036.
28120 (pow_test): Add test from bug 10846.
28121
795405f9
JM
28122 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28123 and other flags.
28124 (special_function): Do not include flags in test name.
28125 (parse_args): Likewise.
28126 * sysdeps/i386/fpu/libm-test-ulps: Update.
28127 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28128 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28129 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28131
80bad0cc
JM
28132 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28133 exceptions.
28134 * math/libm-test.inc ("Philosophy"): Update comment about
28135 exception testing.
28136 (UNDERFLOW_EXCEPTION): New macro.
28137 (UNDERFLOW_EXCEPTION_OK): Likewise.
28138 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28139 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28140 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28141 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28142 (INVALID_EXCEPTION_OK): Update value.
28143 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28144 (OVERFLOW_EXCEPTION_OK): Likewise.
28145 (IGNORE_ZERO_INF_SIGN): Likewise.
28146 (test_exceptions): Handle underflow exceptions.
28147 (acos_test): Update for underflow exception expectations.
28148 (cexp_test): Likewise.
28149 (clog_test): Likewise.
28150 (clog10_test): Likewise.
28151 (csqrt_test): Likewise.
28152 (ctan_test): Likewise.
28153 (ctanh_test): Likewise.
28154 (exp_test): Likewise.
28155 (exp10_test): Likewise.
28156 (exp2_test): Likewise.
28157 (expm1_test): Likewise.
28158 (fma_test): Likewise.
28159 (j0_test): Likewise.
28160 (jn_test): Likewise.
28161 (nexttoward_test): Likewise.
28162 (pow_test): Likewise.
28163 (scalbn_test): Likewise.
28164 (scalbln_test): Likewise.
28165 (tan_test): Likewise.
28166 (y1_test): Likewise.
28167 * sysdeps/i386/fpu/libm-test-ulps: Update.
28168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28169
9e0e3d0b
DM
281702012-05-23 David S. Miller <davem@davemloft.net>
28171
28172 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28173 (__libc_sigaction): Remove unused local variables.
28174
ccd0a08f
L
281752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28176
28177 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28178
62bdf9a6
PE
281792012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28180
f8591f80
PE
28181 mktime: avoid signed integer overflow
28182 * time/mktime.c (__mktime_internal): Do not mishandle the case
28183 where diff == INT_MIN.
28184
94c7d826
PE
28185 mktime: simplify computation of average
28186 * time/mktime.c (ranged_convert): Use new time_t_avg function
28187 instead of rolling our own (probably-slower) code.
28188
ce73d683
PE
28189 mktime: do not assume signed right shift propagates sign bit
28190 * time/mktime.c (isdst_differ): New static function.
28191 (__mktime_internal): No need to normalize tm_isdst now.
28192 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28193 tm_isdst values.
28194
72a22e59
PE
28195 mktime: merge another wrapv change from gnulib
28196 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28197 from some compilers.
28198
68605433
PE
28199 mktime: remove incorrect attempt at unusual arithmetics
28200 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28201 The code didn't really work on such machines anyway.
28202 (TYPE_MINIMUM): Assume two's complement.
28203 (twos_complement_arithmetic): Verify that long_int and time_t
28204 are two's complement (or unsigned, in the latter case).
28205
03cf7fe3
PE
28206 mktime: check signed shifts on long_int and time_t, too
28207 * time/mktime.c (SHR): Check that shifts work as desired
28208 on the types long_int and time_t too, as SHR is used on
28209 such types.
28210
f04dfbc2
PE
28211 mktime: do not assume 'long' is wide enough
28212 * time/mktime.c (verify): Move decl up.
28213 (long_int): New type.
28214 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28215 to remove assumption in the code that 'long' is wide enough to
28216 store year values. This assumption is not true on x32 and on
28217 some non-glibc platforms.
28218
62bdf9a6
PE
28219 mktime: merge wrapv change from gnulib
28220 * time/mktime.c (WRAPV): New macro.
28221 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28222 (guess_time_tm, __mktime_internal): Do not assume that signed
28223 integer overflow wraps around; modern compilers generate code
28224 where this assumption is no longer valid.
28225
5e292e4f
L
282262012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28227
28228 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28229 Replace "jmp L(pseudo_end)" with "ret".
28230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28231 Likewise.
28232
8caf8c87
AJ
282332012-05-23 Andreas Jaeger <aj@suse.de>
28234
28235 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28236 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28237
1a09dc56
AJ
282382012-05-23 Andreas Jaeger <aj@suse.de>
28239 Maximilian Attems <max@stro.at>
28240
28241 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28242 New macros.
28243
1c87aba0
L
282442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28245
28246 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28247 code so that pseudo_end is just ret and the stack pointer is
28248 correct also for static library in error case.
28249
40e45bd5
JM
282502012-05-23 Joseph Myers <joseph@codesourcery.com>
28251
c2670533
JM
28252 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28253 move to syscalls.list.
28254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28258
40e45bd5
JM
28259 * manual/install.texi (Running make install): Do not mention Linux
28260 kernel version for which pt_chown is not needed.
28261 (Linux): Do not mention problems with nscd with 2.0 kernels.
28262 * INSTALL: Regenerated.
28263
be08eda5
AJ
282642012-05-23 Andreas Jaeger <aj@suse.de>
28265
28266 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28267 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28268 macro.
28269 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28270 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28271 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28272 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28273 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28274 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28275 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28276 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28277 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28278 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28279 * sysdeps/unix/sysv/linux/bits/in.h
28280 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28281
a6a056bb
RM
282822012-05-22 Roland McGrath <roland@hack.frob.com>
28283
28284 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28285 (PREPARE_VERSION): Just use assert instead, it will be elided
28286 under [NDEBUG] anyway.
28287
c9009328
L
282882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28289
28290 * sysdeps/unix/sysv/linux/Makefile: Include
28291 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28292 (sysdep_routines): Remove sysctl.
c9009328
L
28293 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28294 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28295 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28296 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28297 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28298
73338355
AJ
282992012-05-22 Andreas Jaeger <aj@suse.de>
28300
28301 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28302 that pseudo_end is just ret and the stack pointer is correct also
28303 for static library in error case.
28304
d44638b0
PP
283052012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28306
28307 [BZ #14122]
28308 * nss/nsswitch.c (defconfig_entries): New variable.
28309 (__nss_database_lookup): Don't leak defconfig entries.
28310 (nss_parse_service_list): Don't leak on error paths.
28311 (free_database_entries): New function.
28312 (free_defconfig): New function.
28313 (free_mem): Move common code to free_database_entries.
28314
31a39bd8
L
283152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28316
da0331a8
L
28317 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28318 Add arch_prctl.
28319 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28320
31a39bd8
L
28321 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28322 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28323 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28324 New macro.
28325 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28326 (INTERNAL_SYSCALL_TYPES): Likewise.
28327 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28328 (LOAD_REGS_TYPES_[1-6]): Likewise.
28329 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28330 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28331
45470df3
AZ
283322012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28333
28334 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28335 copysignl for GLIBC_2_0.
28336 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28337 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28338 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28339 logbl for GLIBC_2_0.
28340 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28341 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28342
98a61bcb
L
283432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28344
a4f6e481
L
28345 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28346 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28347
f63d5db6
L
28348 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28349 Use "neg %eax".
28350
98a61bcb
L
28351 * time/mktime.c: Update copyright years.
28352
95770f14
PE
283532012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28354
6226efbd
PE
28355 mktime: merge comment-quoting-style change from gnulib
28356 * time/mktime.c: Quote 'like this' in comments.
28357 The GNU coding standards suggest that we no longer quote `like this',
28358 as "`" and "'" are typically rendered asymmetrically nowadays.
28359 The typical gnulib style is to quote 'like this' when quoting
28360 code, and "like this" when quoting English.
28361
b99e4f78
PE
28362 * time/mktime.c (compile-command): Add "-I.".
28363
643e01e6
PE
28364 mktime: merge mktime-internal.h change from gnulib
28365 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28366
2554247d
PE
28367 mktime: merge time_r change from gnulib
28368 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28369
826dd0ab
PE
28370 mktime: merge DEBUG change from gnulib
28371 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28372 case system <time.h> has a #define.
28373
bd83aabe
PE
28374 mktime: merge <sys/types.h> change from gnulib
28375 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28376 since <time.t> is now guaranteed to define time_t.
28377
95770f14
PE
28378 mktime: merge HAVE_CONFIG_H change from gnulib
28379 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28380
5e1a27a9
L
283812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28382
0e44a77e
L
28383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28384 Use "neg %eax".
28385
5e1a27a9
L
28386 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28387 __rlim_t cast.
28388 (struct rusage): Use anonymous union to pad each field to
28389 __syscall_slong_t.
28390
46259bec
DM
283912012-05-21 David S. Miller <davem@davemloft.net>
28392
28393 * Makefules (o-iterator): Remove .s cases.
28394 (compile-command.s): Delete.
28395 (COMPILE.s): Delete.
28396 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28397
59f0c22e
JM
283982012-05-21 Joseph Myers <joseph@codesourcery.com>
28399
28400 * configure.in (libc_cv_predef_stack_protector): Only consider
28401 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28402 * configure: Regenerated.
28403
20c07380
L
284042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28405
bbb3154b
L
28406 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28407 New macro. Use R*LP on int and pointer.
28408 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28409 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28410 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28411 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28412
20c07380
L
28413 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28414 [__WORDSIZE_TIME64_COMPAT32] instead of
28415 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28416 (struct utmp): Likewise.
28417 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28418 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28419 Renamed to ...
28420 (__WORDSIZE_TIME64_COMPAT32): This.
28421 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28422 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28423 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28424 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28425 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28426 (__WORDSIZE_TIME64_COMPAT32): New macro.
28427
d8d1017e
AJ
284282012-05-21 Andreas Jaeger <aj@suse.de>
28429
28430 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28431 only if [SHARED]. Add prototype for __wcschr_ia32.
28432
6c7fb145
RM
284332012-05-21 Roland McGrath <roland@hack.frob.com>
28434
28435 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28436 of %rbp unmolested in the jmp_buf while mangling the low bits.
28437 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28438 unmolested high bits of %rbp while demangling the low bits.
28439 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28440
66274218
AJ
284412012-05-21 Andreas Jaeger <aj@suse.de>
28442
07c58f8f
AJ
28443 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28444 * sunrpc/svc_simple.c: Use it for registerrpc.
28445 * sunrpc/xcrypt.c: Use it for passwd2des.
28446
66274218
AJ
28447 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28448
61f65140
L
284492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28450
28451 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28452 Don't define if [__SYSCALL_WORDSIZE != 32].
28453 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28454 New macro.
28455
5fefb436
AJ
284562012-05-21 Bruno Haible <bruno@clisp.org>
28457 Andreas Jaeger <aj@suse.de>
28458
28459 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28460 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28461 inptr and inend for must_buffer_ch.
28462 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28463 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28464 * stdio-common/Makefile (tests): Remove bug15.
28465 (bug15-ENV): Remove macro.
28466 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28467 anymore.
28468
d8e272ab
AJ
284692012-05-19 Andreas Jaeger <aj@suse.de>
28470 Roland McGrath <roland@hack.frob.com>
28471
28472 * manual/contrib.texi: Completely rewritten. It contains now an
28473 alphabetical list of contributors and their contributions.
28474
4a56a162
RH
284752012-05-21 Richard Henderson <rth@twiddle.net>
28476
28477 * misc/getauxval.c (__getauxval): Use unsigned long int.
28478 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28479 (getauxval): Use unsigned long int.
28480
d024d23c
L
284812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28482
28483 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28484
cbc00a03
RM
284852012-05-21 Roland McGrath <roland@hack.frob.com>
28486
28487 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28488 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28489 __alignof__ (long double).
28490
478143fa
AZ
284912012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28492
28493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28494
c7683a6d
RH
284952012-05-20 Richard Henderson <rth@twiddle.net>
28496
28497 * misc/getauxval.c: New file.
28498 * misc/sys/auxv.h: New file.
28499 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28500 (routines): Add getauxval.
28501 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28502 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28503 * elf/dl-sysdep.c (_dl_auxv): Remove.
28504 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28505 * elf/dl-support.c (_dl_auxv): New variable.
28506 (_dl_aux_init): Initialize it.
28507 * manual/startup.texi (Auxiliary Vector): New node.
28508 * sysdeps/generic/bits/hwcap.h: New file.
28509 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28510 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28511 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28512 * sysdeps/sparc/sysdep.h: ... here. Include it.
28513 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28514 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28516 Update.
c7683a6d
RH
28517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28520 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28525
a6f1845d
AZ
285262012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28527
28528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28529
cbcbe830
DM
285302012-05-19 David S. Miller <davem@davemloft.net>
28531
28532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28533
e0b16cc2
JM
285342012-05-19 Joseph Myers <joseph@codesourcery.com>
28535
28536 [BZ #14123]
28537 * math/s_ccosh.c: Include <float.h>
28538 (__ccosh): Avoid internal overflow calculating sinh and cosh
28539 values before multiplying by sin and cos values.
28540 * math/s_ccoshf.c: Likewise.
28541 * math/s_ccoshl.c: Likewise.
28542 * math/s_csin.c: Likewise.
28543 * math/s_csinf.c: Likewise.
28544 * math/s_csinl.c: Likewise.
28545 * math/s_csinh.c: Likewise.
28546 * math/s_csinhf.c: Likewise.
28547 * math/s_csinhl.c: Likewise.
28548 * math/libm-test.inc (ccos_test): Add more tests.
28549 (ccosh_test): Likewise.
28550 (csin_test): Likewise.
28551 (csinh_test): Likewise.
28552 * sysdeps/i386/fpu/libm-test-ulps: Update.
28553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28554
6ad13e08
L
285552012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28556
f66f0ce8
L
28557 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28558 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28559
6ad13e08
L
28560 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28561
b1d072a7
JM
285622012-05-19 Joseph Myers <joseph@codesourcery.com>
28563
28564 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28565 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28566 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28567 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28568 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28569 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28570 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28571 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28572 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28573 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28574 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28575 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28576 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28577 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28578 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28579 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28580 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28581 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28582 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28583 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28584 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28585 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28586 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28587 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28588 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28589 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28590 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28591 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28592 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28593 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28594 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28595
9eae47cb
AJ
285962012-05-18 Andreas Jaeger <aj@suse.de>
28597
28598 * csu/.gitignore: Delete.
28599
bb07f69f
L
286002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28601
28602 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28603 (timex): Use __syscall_slong_t.
28604
e6bdb741
AJ
286052012-05-18 Andreas Jaeger <aj@suse.de>
28606 Carlos O'Donell <carlos_odonell@mentor.com>
28607
28608 * manual/install.texi (Configuring and compiling): Update
28609 description about files modified in the source directory.
d6c33fda 28610 * INSTALL: Regenerated.
e6bdb741 28611
1b74487e
L
286122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28613
28614 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28615 value. Use "or" to set return value to -1.
28616 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28617 negate return value.
28618
a88b64b9
TMQMF
286192012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28620
57f41c40
AS
28621 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28622 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
28623 failure if the compiler has Graphite support disabled.
28624 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28625 Likewise.
57f41c40
AS
28626 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28627 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
28628 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28629 Likewise.
28630
3707636e
L
286312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28632
610b8622
L
28633 * sysdeps/x86_64/x32/_itoa.h: New file.
28634
7cd195df
L
28635 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28636 getdents system call only if kernel and user dirents have the
28637 same d_ino and d_off.
28638
94b07d20
L
28639 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28640 LLONG_MAX != LONG_MAX.
28641 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28642 (_fitoa_word): Likewise.
28643
18298070
L
28644 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28645 years.
28646 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28647 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28648 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28649
553c7ea4
L
28650 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28651 include <bits/wordsize.h>. Check __x86_64__ instead of
28652 __WORDSIZE.
28653 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28654 if __x86_64__ is defined. Use anonymous union on fpstate.
28655
3707636e
L
28656 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28657 anonymous union.
28658
b53ef01a
AS
286592012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28660
37fb1dc0
AS
28661 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28662 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28663 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28664 Refer to _rtld_local_ro instead of _rtld_global_ro.
28665 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28666 Likewise.
28667 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28668 Likewise.
28669 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28670 Likewise.
28671 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28672 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28673 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28674
b53ef01a
AS
28675 * sysdeps/powerpc/powerpc32/dl-machine.c
28676 (__elf_machine_runtime_setup) [PROF]: Don't reference
28677 _dl_prof_resolve.
28678
7a185db2
AJ
286792012-05-18 Andreas Jaeger <aj@suse.de>
28680
28681 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28682 function only available for GCCs before 3.4 since GCC 3.4
28683 introduced a builtin.
28684 (lrint): Likewise.
28685 (llrintf): Likewise.
28686 (llrint): Likewise.
28687 (fmaxf): Likewise.
28688 (fmax): Likewise.
28689 (fminf): Likewise.
28690 (fmin): Likewise.
28691 (rint): Likewise.
28692 (rintf): Likewise.
28693 (nearbyint): Likewise.
28694 (nearbyintf): Likewise.
28695 (ceil): Likewise.
28696 (ceilf): Likewise.
28697 (floor): Likewise.
28698 (floorf): Likewise.
28699
3e5aef87
L
287002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28701
428bd707
L
28702 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28703 on both fields and cast pointer to __syscall_ulong_t.
28704
3e5aef87
L
28705 * bits/types.h (__fsword_t): New type.
28706 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28707 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28708 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28709 (__FSWORD_T_TYPE): Likewise.
28710 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28711 (__FSWORD_T_TYPE): Likewise.
28712 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28713 (__FSWORD_T_TYPE): Likewise.
28714 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28715 (__FSWORD_T_TYPE): Likewise.
28716 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28717 __SWORD_TYPE with __fsword_t.
28718 (statfs64): Likewise.
28719
1ba7c3dc
DM
287202012-05-17 David S. Miller <davem@davemloft.net>
28721
28722 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28723
59910343
AJ
287242012-05-17 Andreas Jaeger <aj@suse.de>
28725
28726 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28727 warning.
28728
2e4c1e9e
L
287292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28730
28731 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28732
de7f5ce7
AJ
287332012-05-17 Andreas Jaeger <aj@suse.de>
28734
28735 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28736 when it is used.
28737
286abc3d
CM
287382012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28739
28740 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28741
477cc68e
L
287422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28743
28744 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28745 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28746
1a0994f5
CD
287472012-05-17 Andreas Jaeger <aj@suse.de>
28748 Carlos O'Donell <carlos_odonell@mentor.com>
28749
28750 [BZ #14059]
28751 * sysdeps/x86_64/multiarch/init-arch.h
28752 (bit_YMM_Usable): Rename to...
28753 (bit_AVX_Usable): ... this.
28754 (bit_FMA4_Usable): New macro.
28755 (bit_XMM_state): New macro.
28756 (bit_YMM_state): New macro.
28757 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28758 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28759 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28760 (CPUID_OSXSAVE): New macro.
28761 (CPUID_AVX): New macro.
28762 (CPUID_FMA4): New macro.
28763 (index_YMM_Usable): Rename to...
28764 (index_AVX_Usable): ... this.
28765 (HAS_AVX): Use HAS_ARCH_FEATURE.
28766 (HAS_FMA4): Likewise.
28767 (HAS_YMM_USABLE): Remove.
28768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28769 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28770 are present.
28771 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28772 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28773 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28774 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28775 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28776
0af797de
CM
287772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28778
28779 * math/libm-test.c: Support platforms without multiple rounding modes.
28780 * math/bug-nextafter.c: Support platforms without FP exceptions.
28781 * math/bug-nexttoward.c: Likewise.
28782 * math/test-fenv.c: Likewise.
28783 * math/test-misc.c: Likewise.
28784 * stdlib/bug-getcontext.c: Likewise.
28785
e39745ff
AJ
287862012-05-17 Andreas Jaeger <aj@suse.de>
28787
28788 * manual/examples/search.c (critter_cmp): Change signature to
28789 avoid warnings.
28790 * manual/string.texi (Collation Functions): Likewise.
28791
48970aba
L
287922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28793
28794 * bits/types.h: Fold copyright years.
28795 * bits/typesizes.h: Likewise.
28796 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28797 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28798 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28799 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28800 * time/time.h: Likewise.
28801
bedee953
PP
288022012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28803
28804 [BZ #208]
28805 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28806 in instead of returning them. Return void.
28807 (__libc_mallinfo): Accumulate over all arenas.
28808 (__malloc_stats): Adjust for change in int_mallinfo interface.
28809
61653dfb
RM
288102012-05-16 Roland McGrath <roland@hack.frob.com>
28811
30b99d79
RM
28812 [BZ #10375]
28813 * configure.in (NM): Add AC_CHECK_TOOL for it.
28814 (libc_extra_cflags): New substituted variable.
28815 Check for -fstack-protector being used implicitly.
28816 * configure: Regenerated.
28817 * config.make.in (config-extra-cflags): New variable,
28818 gets @libc_extra_cflags@.
28819 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28820
61653dfb
RM
28821 [BZ #10375]
28822 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28823 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28824 * configure: Regenerated.
28825 * config.make.in (CPPUNDEFS): New substituted variable.
28826 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28827 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28828 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28829
661768bb
L
288302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28831
28832 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28833 (mq_attr): Use __syscall_slong_t.
28834
d4261567
L
288352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28836
28837 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28838 Check __x86_64__ instead of __WORDSIZE.
28839 (_STAT_VER_LINUX): Likewise.
28840 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28841 __syscall_ulong_t and __syscall_slong_t.
28842 (stat64): Likewise.
28843
cf3ff365
L
288442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28845
28846 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28847
76cf3e4d
L
288482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28849
28850 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28851
a637753a
L
288522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28853
28854 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28855 __syscall_ulong_t.
28856
d5e05119
L
28857 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28858 include <bits/wordsize.h>. Check __x86_64__ instead of
28859 __WORDSIZE.
28860 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28861 defined.
28862 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28863
f62ee380
L
28864 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28865 include <bits/wordsize.h>. Check __x86_64__ instead of
28866 __WORDSIZE.
28867 (user_regs_struct): Use "__extension__ unsigned long long"
28868 instead of "unsigned long" if __x86_64__ is defined.
28869 (user): Likewise. Pad after pointer field if __ILP32__ is
28870 defined.
28871
4e124ced
JM
288722012-05-16 Joseph Myers <joseph@codesourcery.com>
28873
6a3951a0
JM
28874 * configure.in (makeinfo): Require version 4.5 or later. Allow
28875 versions 5 to 9.
28876 * configure: Regenerated.
28877 * manual/install.texi (texinfo): Increase version requirement to
28878 4.5 or later.
28879 * INSTALL: Regenerated.
28880
4e124ced
JM
28881 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28882
953ca31a
L
288832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28884
28885 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28886
617aca05
L
28887 * sysdeps/x86_64/x32/ffs.c: New file.
28888
5762f7ae
L
28889 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28890 __syscall_ulong_t.
28891 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28892 defined. Use __syscall_ulong_t.
28893 (shminfo): Use __syscall_ulong_t.
28894 (shm_info): Likewise.
28895
a26b6856
L
28896 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28897 __syscall_ulong_t.
28898
cb2b9ef7
L
28899 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28900 <bits/wordsize.h>.
28901 (msgqnum_t): Use __syscall_ulong_t.
28902 (msglen_t): Likewise.
28903 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28904 __syscall_ulong_t.
28905
34683bb0
L
28906 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28907 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28908
84a68786
L
28909 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28910
48baa5f1
L
28911 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28912 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28913
180be88b
L
28914 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28915 __syscall_slong_t.
28916
5e90c8ad
L
28917 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28918 include <bits/wordsize.h>. Check __x86_64__ instead of
28919 __WORDSIZE.
28920
23dfb58b
L
28921 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28922 "unsigned long long int" if __x86_64__ is defined.
28923 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28924
ce5d54b0
L
28925 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28926 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28927 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28928
13dc9eac
L
28929 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28930 <stdint.h>.
28931 (GET_PC): Cast to uintptr_t first.
28932 (GET_FRAME): Likewise.
28933 (GET_STACK): Likewise.
28934
a7895d15
L
28935 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28936 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28937 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28938 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28939 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28940 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28941 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28942 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28943 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28944 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28945 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28946 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28947 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28948 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28949 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28950 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28951 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28952 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28953 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28954 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28955 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28956 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28957 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28958 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28959 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28960 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28961 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28962 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28963 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28964
656416c9
AS
289652012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28966
5bd66283
AS
28967 * Makerules (+depfiles): Also collect depfiles from .oS in
28968 $(extra-objs).
28969 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28970 .oS, $(libnldbl-routines)).
28971
656416c9
AS
28972 * Makerules (native-compile-mkdep-flags): Define.
28973 * sunrpc/Makefile (extra-objs): Add $(addprefix
28974 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28975 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28976 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28977 calling $(make-target-directory).
28978
a46f2169
L
289792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28980
28981 * bits/types.h (__snseconds_t): Removed.
28982 * time/time.h (struct timespec): Replace __snseconds_t with
28983 __syscall_slong_t.
28984 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28985 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28986 Likewise.
28987 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28988 (__SNSECONDS_T_TYPE): Likewise.
28989 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28990 (__SNSECONDS_T_TYPE): Likewise.
28991 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28992 (__SNSECONDS_T_TYPE): Likewise.
28993
6af6528b
L
289942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28995
28996 * sysdeps/mach/hurd/bits/typesizes.h
28997 (__SYSCALL_SLONG_TYPE): New macro.
28998 (__SYSCALL_ULONG_TYPE): Likewise.
28999
de986b56
L
290002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29001
29002 * bits/types.h (__syscall_slong_t): New type.
29003 (__syscall_ulong_t): Likewise.
29004
29005 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29006 (__SYSCALL_ULONG_TYPE): Likewise.
29007 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29008 (__SYSCALL_SLONG_TYPE): Likewise.
29009 (__SYSCALL_ULONG_TYPE): Likewise.
29010 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29011 (__SYSCALL_SLONG_TYPE): Likewise.
29012 (__SYSCALL_ULONG_TYPE): Likewise.
29013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29014 (__SYSCALL_SLONG_TYPE): Likewise.
29015 (__SYSCALL_ULONG_TYPE): Likewise.
29016
85736dc7
L
290172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29018
29019 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29020 Add sigaltstack-offsets.sym.
29021 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29022 <sigaltstack-offsets.h>.
29023 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29024 longjmp_msg pointer.
29025 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29026 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29027 signal stack.
29028 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29029
cc03b296
JM
290302012-05-15 Joseph Myers <joseph@codesourcery.com>
29031
a9538892
JM
29032 * elf/stackguard-macros.h: Remove file.
29033 * sysdeps/generic/stackguard-macros.h: New file.
29034 * sysdeps/i386/stackguard-macros.h: Likewise.
29035 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29036 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29037 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29038 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29039 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29040 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29041 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29042 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29043 <elf/stackguard-macros.h>.
29044
cc03b296
JM
29045 [BZ #14109]
29046 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29047 __aligned__ in attribute.
29048 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29049 (gregset_t): Likewise.
29050
93171016
L
290512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29052
29053 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29054 * sysdeps/x86_64/64/Implies-after: Here. New file.
29055 * sysdeps/x86_64/x32/Implies-after: New file.
29056
d86813a0
L
290572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29058
29059 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29060 and access return value for _dl_profile_fixup. Use R10_LP to
29061 load frame size.
29062
2953ec75
L
290632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29064
29065 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29066
3b550e9e
L
290672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29068
29069 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29070 * sysdeps/x86_64/x32/sysdep.h: New file.
29071
eda41706
L
290722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29073
29074 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29075 * sysdeps/x86_64/setjmp.S: Likewise.
29076
9ea01d93
AZ
290772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29078
29079 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29080 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29081 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29082 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29083 remove unused global constant.
29084
02a91938
CM
290852012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29086
29087 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29088 include of <not-cancel.h>.
29089
6540185f
RM
290902012-05-15 Roland McGrath <roland@hack.frob.com>
29091
29092 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29093
509072a0
AJ
290942012-05-15 Jeff Law <law@redhat.com>
29095 Andreas Jaeger <aj@suse.de>
29096
29097 [BZ #13594]
29098 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29099 out from...
29100 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29101 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29102 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29103 code changing __hst_map_handle.map.
29104
ba75122d
RM
291052012-05-15 Roland McGrath <roland@hack.frob.com>
29106
29107 * configure.in (sysnames): Look for Implies-before and Implies-after
29108 files.
29109 * configure: Regenerated.
29110
890d8bd8
L
291112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29112
29113 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29114 8-byte data alignment with LP_SIZE alignment.
29115
f6ee6623
L
291162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29117
29118 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29119 into R10_LP.
29120
ea2626f6
L
291212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29122
29123 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29124
085f715e
L
291252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29126
29127 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29128 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29129 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29130 Likewise.
29131 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29132
be8498fc
L
291332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29134
29135 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29136 (stackinfo_sub_sp): Likewise.
29137
70bc83b9
L
291382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29139
29140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29141 RAX_LP.
29142
9bc0b730
L
291432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29144
29145 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29146 into R*_LP.
29147
6d2850e7
L
291482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29149
29150 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29151 sizes into R*_LP.
29152
3cb84561
L
291532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29154
29155 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29156
54e2ed81
L
291572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29158
29159 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29160 into R11_LP and load __x86_64_shared_cache_size_half into
29161 R8_LP.
29162
8a17f349
L
291632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29164
29165 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29166 R8_LP.
29167
777b1eea
AZ
291682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29169
29170 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29171 logb for POWER7.
29172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29173 logbf for POWER7.
29174 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29175 logbl for POWER7.
29176 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29177 powerpc32/power7/fpu/s_logb.c via #include.
29178 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29179 powerpc32/power7/fpu/s_logbf.c via #include.
29180 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29181 powerpc32/power7/fpu/s_logbl.c via #include.
29182
d20d4ac2
JM
291832012-05-15 Joseph Myers <joseph@codesourcery.com>
29184
29185 * README.libm: Remove file.
29186
6cdef1ab
L
291872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29188
29189 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29190 count for x32. Use R*_LP and omit operand-size suffix.
29191
0b254d8f
L
291922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29193
29194 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29195 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29196 * sysdeps/x86_64/x32/shlib-versions: New file.
29197
ceb809dc
RM
291982012-05-14 Roland McGrath <roland@hack.frob.com>
29199
29200 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29201 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29202 Use _dl_fatal_printf instead.
29203
37f1abd4
JM
292042012-05-14 Joseph Myers <joseph@codesourcery.com>
29205
29206 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29207 set if not set by the user. Do not allow for being unset.
29208 * sysdeps/unix/sysv/linux/configure: Regenerated.
29209
11de3a33
L
292102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29211
29212 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29213 the `q' suffix from lea and replace .quad with ASM_ADDR.
29214
e02f153a
L
292152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29216
29217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29218 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29219 instead of $17.
29220 (PTR_DEMANGLE): Likewise.
29221
520ae0fd
L
292222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29223
29224 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29225 (LP_OP): Likewise.
29226 (ASM_ADDR): Likewise.
29227 (RAX_LP): Likewise.
29228 (RBP_LP): Likewise.
29229 (RBX_LP): Likewise.
29230 (RCX_LP): Likewise.
29231 (RDI_LP): Likewise.
29232 (RSI_LP): Likewise.
29233 (RSP_LP): Likewise.
29234 (R8_LP): Likewise.
29235 (R9_LP): Likewise.
29236 (R10_LP): Likewise.
29237 (R10_LP): Likewise.
29238 (R11_LP): Likewise.
29239 (R12_LP): Likewise.
29240 (R13_LP): Likewise.
29241 (R14_LP): Likewise.
29242 (R15_LP): Likewise.
29243
b985be81
L
292442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29245
29246 * sysdeps/x86_64/x32/dl-machine.h: New file.
29247
6a4888ff
AJ
292482012-05-14 Andreas Jaeger <aj@suse.de>
29249
29250 * manual/Makefile (subdir): Remove export of subdir.
29251 (all): Remove target.
29252 (.PHONY): Remove all from list.
29253 (mkinstalldirs): Remove.
29254 (.PHONY): Remove installdirs from list.
29255 ($(inst_infodir)/libc.info): Use make-target-directory.
29256 (installdirs): Remove.
29257 (subdir_%): Remove.
29258 (glibc-targets): Remove.
29259 (lib): Remove.
29260 (stubs): Remove.
29261 ($(objpfx)stubs ../po/manual.pot): Remove.
29262 ($(objpfx)stamp%): Remove.
29263 (make-target-directory): Remove.
29264 (subdir_install): Remove.
29265 (routines): Remove.
29266 (aux): Remove.
29267 (sources): Remove.
29268 (objects): Remove.
29269 (headers): Remove.
29270
29271 [BZ #13750]
29272 * manual/.gitignore: Remove, it's not needed anymore.
29273 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29274 all files in it.
29275 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29276 directory.
29277 (texis): Renamed to $(objpfx)texis.
29278 (texis-path): New, contains path to generated files.
29279 (chapters.%): Use texis-path for complete path, add extra argument
29280 libc-texinfo.sh.
29281 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29282 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29283 (summary,texi, stamp-summary): Use complete path of
29284 files. Generate files in build dir.
29285 (dir-add.texi): Build in build dir.
29286 (libm-err.texi,stamp-libm-err): Likewise.
29287 (version.texi, stamp-version): Likewise.
29288 (.%c.texi): Likewise.
29289 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29290 (mostlyclean): Remove target.
29291 (realclean): Remove target.
29292 (generated): Add new variable with contents from mostlyclean and
29293 realclean, remove entries duplicated in common-mostlyclean, add
29294 stamp-libm-err and stamp-version.
29295 (generated-dirs): Add libc directory.
29296 ($(inst_infodir)/libc.info): Install files from build dir.
29297
29298 * manual/install.texi (Configuring and compiling): Adjust since
29299 the info files are not part of the tar ball anymore.
29300
7ac77294
AJ
293012012-05-14 Andreas Jaeger <aj@suse.de>
29302
29303 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29304 variable.
29305
ffb7875d
JM
293062012-05-14 Joseph Myers <joseph@codesourcery.com>
29307
29308 [BZ #13717]
29309 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29310 to 2.2.0 where earlier.
29311 * sysdeps/unix/sysv/linux/configure: Regenerated.
29312 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29313 Remove conditional code.
29314 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29315 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29316 Remove conditional code.
29317 [!__NR_lchown]: Likewise.
29318 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29319 [__NR_lchown]: Likewise.
29320 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29321 comment referencing __ASSUME_LCHOWN_SYSCALL.
29322 * sysdeps/unix/sysv/linux/i386/sigaction.c
29323 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29324 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29325 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29326 Remove conditional code.
29327 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29328 (__protocol_available): Remove #if 0 code.
29329 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29330 conditional code.
29331 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29332 * sysdeps/unix/sysv/linux/kernel-features.h
29333 (__ASSUME_GETCWD_SYSCALL): Don't define.
29334 (__ASSUME_REALTIME_SIGNALS): Likewise.
29335 (__ASSUME_PREAD_SYSCALL): Likewise.
29336 (__ASSUME_PWRITE_SYSCALL): Likewise.
29337 (__ASSUME_POLL_SYSCALL): Likewise.
29338 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29339 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29340 non-SPARC.
29341 (__ASSUME_SIOCGIFNAME): Don't define.
29342 (__ASSUME_MSG_NOSIGNAL): Likewise.
29343 (__ASSUME_SENDFILE): Define unconditionally.
29344 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29345 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29346 conditional code.
29347 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29348 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29349 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29350 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29351 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29352 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29353 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29355 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29356 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29358 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29359 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29361 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29362 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29364 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29365 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29367 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29368 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29370 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29371 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29373 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29374 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29376 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29377 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29378 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29379 Remove conditional code.
29380 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29381 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29382 Remove conditional code.
29383 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29384 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29385 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29386 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29387 Remove conditional code.
29388 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29389 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29390 Remove conditional code.
29391 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29392 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29393 Remove conditional code.
29394 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29395 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29396 Remove conditional code.
29397 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29398 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29399 Remove conditional code.
29400 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29401 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29402 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29403 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29404 * sysdeps/unix/sysv/linux/sigaction.c
29405 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29406 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29407 * sysdeps/unix/sysv/linux/sigpending.c
29408 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29409 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29410 * sysdeps/unix/sysv/linux/sigprocmask.c
29411 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29412 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29413 * sysdeps/unix/sysv/linux/sigsuspend.c
29414 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29415 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29416 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29417 (__libc_missing_rt_sigs): Remove.
29418 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29419 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29420 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29421 Remove conditional code.
29422 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29423 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29424 return 1.
29425 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29426 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29427 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29428 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29429
1bfb7291
AJ
294302012-05-14 Andreas Jaeger <aj@suse.de>
29431
caae5a81
AJ
29432 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29433 it's not used in glibc.
29434 (__coshm1): Likewise.
29435 (__acosh1p): Likewise.
29436 (__sgn): Likewise.
29437
1bfb7291
AJ
29438 * manual/string.texi (Copying and Concatenation): Add missing
29439 variable in concat example.
29440 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29441
c044d724
L
294422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29443
144c5467 29444 [BZ #14103]
c044d724
L
29445 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29446 __builtin_clzl with __builtin_clzll.
29447
2523c62b
L
294482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29449
29450 [BZ #14104]
29451 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29452 libc_freeres_ptr.
29453
d7bb4c42
LD
294542012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29455
29456 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29457 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29458 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29459 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29460
9dc4e1fb
MF
294612012-05-14 Mike Frysinger <vapier@gentoo.org>
29462
29463 * NEWS: Update ia64 info.
29464
c7df0112
AS
294652012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29466
29467 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29468 used as bcopy.
29469
dc70356c
TS
294702012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29471
29472 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29473 * sysdeps/unix/syscalls.list (dup3): Likewise.
29474 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29475 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29476
9fb1a21f
L
294772012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29478
29479 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29480 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29481
4822a2a5
L
294822012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29483
29484 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29485 thread pointer.
29486 (TLS_IE): Use mov/add instead of movq/addq to load thread
29487 pointer.
29488 (TLS_GD_PREFIX): New.
29489 (TLS_GD): Use it.
29490
842b81d6
DM
294912012-05-11 David S. Miller <davem@davemloft.net>
29492
29493 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29494 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29495 (_FPU_SETCW): Likewise.
29496
1cf463cd
L
294972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29498
29499 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29500 is 32-byte aligned.
29501
60cc4a18
AS
295022012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29503
29504 [BZ #11837]
29505 * iconvdata/gb18030.c: Update tables.
29506 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29507 characters specially.
29508 (BODY for TO_LOOP): Add encoding of missing ranges.
29509
febb44a4
TS
295102012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29511
29512 [BZ #13673]
29513 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29514 * sysdeps/mach/hurd/dup3.c: Likewise.
29515 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29516 * sysdeps/powerpc/memmove.c:: Likewise.
29517
0a10fb9e
L
295182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29519
29520 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29521 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29522
df8a552f
L
295232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29524
29525 * elf/elf.h (R_X86_64_RELATIVE64): New.
29526 (R_X86_64_NUM): Updated.
29527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29528 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29529 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29530 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29531 tst-quad1pie tst-quad2pie
29532 (modules-names): Add tst-quadmod1 tst-quadmod2.
29533 ($(objpfx)tst-quad1): New dependency.
29534 ($(objpfx)tst-quad2): Likewise.
29535 ($(objpfx)tst-quad1pie): Likewise.
29536 ($(objpfx)tst-quad2pie): Likewise.
29537 * sysdeps/x86_64/tst-quad1.c: New file.
29538 * sysdeps/x86_64/tst-quad1pie.c: New file.
29539 * sysdeps/x86_64/tst-quad2.c: Likewise.
29540 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29541 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29542 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29543 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29544 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29545
f34d6f84
ST
295462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29547
f42d41d1
ST
29548 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29549 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29550 * streams/stropts.h (t_scalar_t): Define type.
29551
3c3571fc
ST
29552 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29553 (_PATH_PRESERVE): Set to "/var/lib".
29554 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29555
61f06bd3
ST
29556 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29557 instead of int.
29558
918d4d71
ST
29559 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29560 if __dir_mkfile succeeded.
29561
f34d6f84
ST
29562 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29563 checking for _hurd_dtablesize. Unlock it right after having
29564 finished _hurd_dtable allocation.
29565
10589b4a
TS
295662012-05-10 Thomas Schwinge <thomas@schwinge.name>
29567
674cdbc7
TS
29568 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29569 * sysdeps/mach/hurd/configure: Regenerated.
29570 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29571 special-casing to...
29572 * sysdeps/gnu/configure.in: ... this new file.
29573 * sysdeps/unix/sysv/linux/configure: Regenerated.
29574 * sysdeps/gnu/configure: New generated file.
29575
8e41b99f
TS
29576 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29577 for Linux: use nsec instead of usec, as well as:
29578 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29579 members of type struct timespec.
29580 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29581 New macros.
29582 (struct stat64): Likewise.
29583 (_STATBUF_ST_NSEC): New macro.
29584 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29585
10589b4a
TS
29586 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29587 __strtoul_internal rather than strtoul.
29588
63643c85
PT
295892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29590
29591 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29592 and reject them.
29593
3faebe6a
ST
295942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29595
29596 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29597 which preserves existing values.
29598 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29599
c6474b07
PT
296002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29601
29602 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29603 TIMEOUT values. Return EINVAL for NFDS values either negative or
29604 greater than FD_SETSIZE.
29605
1043890b
ST
296062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29607
29608 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29609 allocated, call __vm_protect to finish enabling the existing space, and
29610 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29611 allocate the remainder.
29612
37ed8b9b
PT
296132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29614
29615 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29616 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29617
db653660
ST
296182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29619
37ed8b9b
PT
29620 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29621 sysdeps/mach/hurd/readlink.c.
b29d4053 29622
db653660
ST
29623 * posix/tst-sysconf.c (posix_options): Only use
29624 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29625 _POSIX_SYNCHRONIZED_IO when they are defined
29626 * sysdeps/mach/hurd/bits/posix_opt.h:
29627 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29628 (_XOPEN_REALTIME): Undefine macro.
29629 (_XOPEN_REALTIME_THREADS): Undefine macro.
29630 (_XOPEN_SHM): Undefine macro.
29631 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29632 macro to -1.
29633 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29634 macro to -1.
29635 (_POSIX_ASYNC_IO): Undefine macro.
29636 (_POSIX_PRIORITIZED_IO): Undefine macro.
29637 (_POSIX_SPIN_LOCKS): Define macro to -1.
29638
ee16e894
ST
29639 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29640 SA_NODEFER, SA_RESETHAND.
29641 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29642 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29643 F_DUPFD_CLOEXEC.
29644
6103ae3b
TS
296452012-05-10 Thomas Schwinge <thomas@schwinge.name>
29646
29647 * elf/Makefile (pldd-modules): Define unconditionally.
29648
80b4e5f3
TS
296492012-05-10 Thomas Schwinge <thomas@schwinge.name>
29650
29651 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29652
edadcbd6
ST
296532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29654
29655 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29656 Return ENOENT when name is empty.
29657 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29658
80694780
TS
296592012-05-10 Thomas Schwinge <thomas@schwinge.name>
29660
1792c087
TS
29661 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29662
80694780
TS
29663 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29664
6b645f0d
ST
296652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29666
80694780
TS
29667 Fix mlock in all cases except non-readable pages.
29668 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29669 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29670
6b645f0d
ST
29671 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29672 (__mkdir): When path is `/', just fail with EEXIST.
29673 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29674
e468f8a3
TS
296752012-05-10 Thomas Schwinge <thomas@schwinge.name>
29676
29677 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29678 <sys/uio.h> (for writev).
29679 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29680 and <sys/param.h> (for MIN).
29681
a4186cff
PT
296822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29683
29684 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29685 REQUESTED_TIME. Properly set the remaining time and return EINTR
29686 if interrupted.
29687
510bbf14
TS
296882012-05-10 Thomas Schwinge <thomas@schwinge.name>
29689
29690 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29691 Depend on against $(link-rpcuserlibs).
29692
5d5722e8
ST
296932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29694
a4186cff
PT
29695 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29696 (__libc_stack_end): Do not use attribute_relro.
29697 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29698 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29699 to libthread-provided value.
a4186cff
PT
29700 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29701 attribute_relro.
5d5722e8 29702
37233df9
TS
297032012-05-10 Thomas Schwinge <thomas@schwinge.name>
29704
be971a2b
TS
29705 [BZ #3748]
29706 * bits/libc-lock.h (__libc_once_get): New macro.
29707 * sysdeps/mach/bits/libc-lock.h: Likewise.
29708 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29709 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29710 instead of using implementation details.
29711
37233df9
TS
29712 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29713 * libio/freopen.c: Likewise.
29714 * libio/freopen64.c: Likewise.
29715 * misc/syslog.c: Likewise.
29716 * nscd/connections.c: Likewise.
29717 * nscd/netgroupcache.c: Likewise.
29718 * sysdeps/posix/getcwd.c: Likewise.
29719
38de94a5
RM
297202012-05-10 Roland McGrath <roland@hack.frob.com>
29721
29722 * math/w_ilogbf.c: Add #include <limits.h>.
29723
67530489
ST
297242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29725
a4186cff 29726 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29727 path instead of returning without unlocking.
29728
67530489
ST
29729 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29730 immediate-write ioctls.
29731 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29732
5aa3a74a
TS
297332012-05-10 Thomas Schwinge <thomas@schwinge.name>
29734
18bad2ae
TS
29735 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29736 __builtin_frame_address instead of making assumptions about the
29737 location of the return address relative to DATA. Force early load of
29738 the return address.
29739 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29740 __builtin_frame_address.
29741
5aa3a74a
TS
29742 dup3 for GNU Hurd.
29743 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29744 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29745 implement dup3 and do some further code clean-ups.
29746 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29747 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29748
ecd0de9a
ST
297492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29750
cd9fa985
ST
29751 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29752
a4186cff
PT
29753 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29754 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29755 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29756 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29757 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29758 d->port.lock.
802ca5a5 29759
a4186cff
PT
29760 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29761 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29762 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29763
bcf55240
TS
297642012-05-10 Thomas Schwinge <thomas@schwinge.name>
29765
6960eb42
TS
29766 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29767 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29768 definitions.
29769
eb43375f
TS
29770 accept4 for GNU Hurd.
29771 * include/sys/socket.h (__libc_accept4): New prototype.
29772 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29773 to implement __libc_accept4.
29774 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29775 __libc_accept4.
29776 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29777
bcf55240
TS
29778 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29779 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29780 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29781 signal-defines.sym.
29782
6178c55b
ST
297832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29784
a4186cff 29785 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29786
6f080c2f
TS
297872012-05-10 Thomas Schwinge <thomas@schwinge.name>
29788
29789 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29790 assertion on O_CLOEXEC flag.
29791 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29792 * hurd/intern-fd.c: Likewise.
29793 * hurd/port2fd.c: Likewise.
29794
bcfe3a54
ST
297952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29796
29797 [BZ #3906]
29798 * bits/in.h (IPV6_PKTINFO): Define new macro.
29799 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29800
89c9aa49
AZ
298012012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29802
29803 [BZ #13954]
29804 [BZ #13955]
29805 [BZ #13956]
29806 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29807 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29808 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29809 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29810 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29811 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29812 * math/libm-test.inc (logb_test) : Additional logb tests.
29813
021db4be
AJ
298142012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29815 Andreas Jaeger <aj@suse.de>
29816
29817 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29818 * configure: Regenerated.
29819 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29820 * config.make.in (link-obsolete-rpc): New substituted variable.
29821 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29822 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29823 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29824 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29825 so that libc.a contains the symbols.
29826 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29827 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29828 * sunrpc/auth_none.c: Likewise.
29829 * sunrpc/auth_unix.c: Likewise.
29830 * sunrpc/authdes_prot.c: Likewise.
29831 * sunrpc/authuxprot.c: Likewise.
29832 * sunrpc/clnt_gen.c: Likewise.
29833 * sunrpc/clnt_perr.c: Likewise.
29834 * sunrpc/clnt_raw.c: Likewise.
29835 * sunrpc/clnt_simp.c: Likewise.
29836 * sunrpc/clnt_tcp.c: Likewise.
29837 * sunrpc/clnt_udp.c: Likewise.
29838 * sunrpc/clnt_unix.c: Likewise.
29839 * sunrpc/des_crypt.c: Likewise.
29840 * sunrpc/des_soft.c: Likewise.
29841 * sunrpc/get_myaddr.c: Likewise.
29842 * sunrpc/key_call.c: Likewise.
29843 * sunrpc/key_prot.c: Likewise.
29844 * sunrpc/netname.c: Likewise.
29845 * sunrpc/pm_getmaps.c: Likewise.
29846 * sunrpc/pm_getport.c: Likewise.
29847 * sunrpc/pmap_clnt.c: Likewise.
29848 * sunrpc/pmap_prot.c: Likewise.
29849 * sunrpc/pmap_prot2.c: Likewise.
29850 * sunrpc/pmap_rmt.c: Likewise.
29851 * sunrpc/publickey.c: Likewise.
29852 * sunrpc/rpc_cmsg.c: Likewise.
29853 * sunrpc/rpc_common.c: Likewise.
29854 * sunrpc/rpc_dtable.c: Likewise.
29855 * sunrpc/rpc_prot.c: Likewise.
29856 * sunrpc/rpc_thread.c: Likewise.
29857 * sunrpc/rtime.c: Likewise.
29858 * sunrpc/svc.c: Likewise.
29859 * sunrpc/svc_auth.c: Likewise.
29860 * sunrpc/svc_raw.c: Likewise.
29861 * sunrpc/svc_run.c: Likewise.
29862 * sunrpc/svc_tcp.c: Likewise.
29863 * sunrpc/svc_udp.c: Likewise.
29864 * sunrpc/svc_unix.c: Likewise.
29865 * sunrpc/svcauth_des.c: Likewise.
29866 * sunrpc/xcrypt.c: Likewise.
29867 * sunrpc/xdr.c: Likewise.
29868 * sunrpc/xdr_array.c: Likewise.
29869 * sunrpc/xdr_float.c: Likewise.
29870 * sunrpc/xdr_intXX_t.c: Likewise.
29871 * sunrpc/xdr_mem.c: Likewise.
29872 * sunrpc/xdr_rec.c: Likewise.
29873 * sunrpc/xdr_ref.c: Likewise.
29874 * sunrpc/xdr_sizeof.c: Likewise.
29875 * sunrpc/xdr_stdio.c: Likewise.
29876
b5c086a2
RM
298772012-05-10 Roland McGrath <roland@hack.frob.com>
29878
29879 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29880 change. Update copyright years.
29881
6d74dd09
JM
298822012-05-10 Joseph Myers <joseph@codesourcery.com>
29883
29884 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29885
28e72501
MK
298862012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29887 Joseph Myers <joseph@codesourcery.com>
29888 Paul Pluzhnikov <ppluzhnikov@google.com>
29889
29890 [BZ #14012]
29891 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29892 requiring rpcgen.
29893 [cross-compiling] (extra-libs): Likewise.
29894 [cross-compiling] (extra-libs-others): Likewise.
29895 [cross-compiling] (librpcsvc-routines): Likewise.
29896 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29897 [cross-compiling] (omit-deps): Likewise.
29898 (sunrpc-CPPFLAGS): New variable.
29899 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29900 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29901 (cross-rpcgen-objs): New variable.
29902 (extra-objs): Append $(cross-rpcgen-objs).
29903 ($(cross-rpcgen-objs)): New rule.
29904 ($(objpfx)cross-rpcgen): Likewise.
29905 (rpcgen-cmd): Define to use $(built-program-file). Expand
29906 comment.
29907 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29908 ($(objpfx)x%.stmp): Likewise.
29909 * sunrpc/proto.h [IS_IN_build] (_): Define.
29910 [IS_IN_build] (_libc_intl_domainname): Likewise.
29911
c8c59454
L
299122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29913
29914 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29915 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29916 and R_X86_64_TPOFF64.
29917
6f27cd16
JM
299182012-05-10 Joseph Myers <joseph@codesourcery.com>
29919
29920 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29921 sysdeps/unix/sysv/syscalls.list.
29922 (stime): Likewise.
29923 (utime): Likewise.
29924 * sysdeps/unix/sysv/syscalls.list: Remove file.
29925
02467e1c
PE
299262012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29927
29928 [BZ #3440]
29929 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29930 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29931 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29932 (__LC_IDENTIFICATION): Make these macros useful in #if
29933 expressions, as required by C99.
29934
da392631
AS
299352012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29936
29937 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29938 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29939 after this.
29940
8115f29b
L
299412012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29942
29943 * stdlib/longlong.h: Updated from GCC.
29944
bdd74070
AJ
299452012-05-09 Andreas Jaeger <aj@suse.de>
29946
edfe0dbe
AJ
29947 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29948 default is first entry.
29949 (run_mode): Set type.
29950 (main): Remove informal message about syslog.
29951 (options): Fix typo.
29952
bcfe3a54
ST
29953 [BZ #14053]
29954 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29955 to asm.
bcfe3a54
ST
29956 (lrint): Likewise.
29957 (llrintf): Likewise.
29958 (llrint): Likewise.
29959 (rint): Likewise.
29960 (rintf): Likewise.
29961 (nearbyint): Likewise.
29962 (nearbyintf): Likewise.
bdd74070 29963
91d8d69e
AJ
299642012-05-09 Andreas Jaeger <aj@suse.de>
29965 Pedro Alves <palves@redhat.com>
29966
29967 * nscd/nscd.c (run_mode): Use enum.
29968 (main): Cleanup coding style issue.
29969
bb90b80b
AJ
299702012-05-09 Alexandre Oliva <aoliva@redhat.com>
29971 Andreas Jaeger <aj@suse.de>
29972
bcfe3a54
ST
29973 * nscd/nscd.c (go_background): Replaced with...
29974 (run_mode): ... this.
bb90b80b 29975 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29976 (options): Add -F --foreground.
29977 (main): Implement it.
29978 (parse_opt): Parse it.
bb90b80b 29979
1a4b75a1
AJ
299802012-05-09 Andreas Jaeger <aj@suse.de>
29981
29982 [BZ #14083]
29983 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29984 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29985 -Wconversion warning.
29986 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29987 Likewise.
29988
b1cc2472
JM
299892012-05-09 Joseph Myers <joseph@codesourcery.com>
29990
29991 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29992 == 0.
29993 (LC_ALL): Use macro-int-constant.
29994 (LC_COLLATE): Likewise.
29995 (LC_CTYPE): Likewise.
29996 (LC_MESSAGES): Likewise.
29997 (LC_MONETARY): Likewise.
29998 (LC_NUMERIC): Likewise.
29999 (LC_TIME): Likewise.
30000 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30001 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30002 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30003 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30004 Specify type.
30005 [C99-based standards] (float_t): Expect type.
30006 [C99-based standards] (double_t): Expect type.
30007 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30008 type.
30009 [C99-based standards] (HUGE_VALL): Likewise.
30010 [C99-based standards] (INFINITY): Likewise.
30011 [C99-based standards] (NAN): Likewise.
30012 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30013 [C99-based standards] (FP_NAN): Likewise.
30014 [C99-based standards] (FP_NORMAL): Likewise.
30015 [C99-based standards] (FP_SUBNORMAL): Likewise.
30016 [C99-based standards] (FP_ZERO): Likewise.
30017 [C99-based standards] (FP_FAST_FMA): Use
30018 optional-macro-int-constant. Specify type. Require == 1.
30019 [C99-based standards] (FP_FAST_FMAF): Likewise.
30020 [C99-based standards] (FP_FAST_FMAL): Likewise.
30021 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30022 [C99-based standards] (FP_ILOGBNAN): Likewise.
30023 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30024 Specify type.
30025 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30026 [C99-based standards] (math_errhandling): Specify type.
30027 [ISO99 || ISO11] (signgam): Do not allow.
30028 [non-C99-based standards] (copysignf): Do not allow.
30029 [non-C99-based standards] (exp2f): Likewise.
30030 [non-C99-based standards] (log2f): Likewise.
30031 [non-C99-based standards] (modff): Allow.
30032 [non-C99-based standards] (erff): Do not allow.
30033 [non-C99-based standards] (erfcf): Likewise.
30034 [non-C99-based standards] (gammaf): Likewise.
30035 [non-C99-based standards] (hypotf): Likewise.
30036 [non-C99-based standards] (j0f): Likewise.
30037 [non-C99-based standards] (j1f): Likewise.
30038 [non-C99-based standards] (jnf): Likewise.
30039 [non-C99-based standards] (lgammaf): Likewise.
30040 [non-C99-based standards] (tgammaf): Likewise.
30041 [non-C99-based standards] (y0f): Likewise.
30042 [non-C99-based standards] (y1f): Likewise.
30043 [non-C99-based standards] (ynf): Likewise.
30044 [non-C99-based standards] (isnanf): Likewise.
30045 [non-C99-based standards] (acoshf): Likewise.
30046 [non-C99-based standards] (asinhf): Likewise.
30047 [non-C99-based standards] (atanhf): Likewise.
30048 [non-C99-based standards] (cbrtf): Likewise.
30049 [non-C99-based standards] (expm1f): Likewise.
30050 [non-C99-based standards] (ilogbf): Likewise.
30051 [non-C99-based standards] (log1pf): Likewise.
30052 [non-C99-based standards] (logbf): Likewise.
30053 [non-C99-based standards] (nextafterf): Likewise.
30054 [non-C99-based standards] (remainderf): Likewise.
30055 [non-C99-based standards] (rintf): Likewise.
30056 [non-C99-based standards] (scalbf): Likewise.
30057 [non-C99-based standards] (copysignl): Likewise.
30058 [non-C99-based standards] (exp2l): Likewise.
30059 [non-C99-based standards] (log2l): Likewise.
30060 [non-C99-based standards] (modfl): Allow.
30061 [non-C99-based standards] (erfl): Do not allow.
30062 [non-C99-based standards] (erfcl): Likewise.
30063 [non-C99-based standards] (gammal): Likewise.
30064 [non-C99-based standards] (hypotl): Likewise.
30065 [non-C99-based standards] (j0l): Likewise.
30066 [non-C99-based standards] (j1l): Likewise.
30067 [non-C99-based standards] (jnl): Likewise.
30068 [non-C99-based standards] (lgammal): Likewise.
30069 [non-C99-based standards] (tgammal): Likewise.
30070 [non-C99-based standards] (y0l): Likewise.
30071 [non-C99-based standards] (y1l): Likewise.
30072 [non-C99-based standards] (ynl): Likewise.
30073 [non-C99-based standards] (isnanl): Likewise.
30074 [non-C99-based standards] (acoshl): Likewise.
30075 [non-C99-based standards] (asinhl): Likewise.
30076 [non-C99-based standards] (atanhl): Likewise.
30077 [non-C99-based standards] (cbrtl): Likewise.
30078 [non-C99-based standards] (expm1l): Likewise.
30079 [non-C99-based standards] (ilogbl): Likewise.
30080 [non-C99-based standards] (log1pl): Likewise.
30081 [non-C99-based standards] (logbl): Likewise.
30082 [non-C99-based standards] (nextafterl): Likewise.
30083 [non-C99-based standards] (remainderl): Likewise.
30084 [non-C99-based standards] (rintl): Likewise.
30085 [non-C99-based standards] (scalbl): Likewise.
30086 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30087 [non-C99-based standards] (FP_*): Do not allow.
30088 [C99-based standards] (FP_*): Change to
30089 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30090 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30091 allow.
30092 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30093 (SIG_ERR): Likewise.
30094 [X/Open-based standards] (SIG_HOLD): Likewise.
30095 (SIG_IGN): Likewise.
30096 (SIGABRT): Use macro-int-constant. Specify type. Require
30097 positive value.
30098 (SIGFPE): Likewise.
30099 (SIGILL): Likewise.
30100 (SIGINT): Likewise.
30101 (SIGSEGV): Likewise.
30102 (SIGTER): Likewise.
30103 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30104 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30105 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30106 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30107 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30108 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30109 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30110 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30111 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30112 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30113 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30114 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30115 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30116 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30117 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30118 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30119 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30120 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30121 [X/Open-based standards] (SIGTRAP): Likewise.
30122 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30123 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30124 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30125 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30126 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30127 allow.
30128
b9f1922d
IW
301292012-05-08 Ian Wienand <ianw@vmware.com>
30130
30131 [BZ #14080]
30132 * time/tzset.c (__tzset_parse_tz): Update default rules for
30133 daylight time changes in the Energy Policy Act of 2005.
30134
1db86e88
AJ
301352012-05-09 Andreas Jaeger <aj@suse.de>
30136
30137 [BZ #13983]
30138 * elf/ldconfig.c (parse_conf): Change string to make clear that
30139 ldconfig only issued a warning if ld.so.conf does not exist.
30140
dee4a4e3
DM
301412012-05-08 David S. Miller <davem@davemloft.net>
30142
ee0db190
DM
30143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30144 movxtod instead of popping the value on the stack.
30145
dee4a4e3
DM
30146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30147
6a43ec98
CD
301482012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30149
30150 * config.h.in: Add HAVE_ARM_PCS_VFP.
30151
05c2c961
RMG
301522012-05-08 Roland Mc Grath <roland@hack.frob.com>
30153
bcfe3a54
ST
30154 [BZ #13979]
30155 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30156 checking but the checks are disabled for any reason.
05c2c961 30157
4b30f61a
L
301582012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30159
30160 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30161 and ELF64_R_TYPE with ELFW(R_TYPE).
30162
eee2bc67
JM
301632012-05-08 Joseph Myers <joseph@codesourcery.com>
30164
7ea5391a
JM
30165 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30166 (ulimit): Likewise.
30167
eee2bc67
JM
30168 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30169 (settimeofday): Likewise.
30170
abb66a67
MF
301712012-05-08 Mike Frysinger <vapier@gentoo.org>
30172
30173 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30174 a struct th_u2 inside the union, and move tu_block/tu_code into
30175 a new th_u3 union of tu_block/tu_code inside of that. Move
30176 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30177 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30178 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30179 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30180 (th_stuff): Change to th_u1.tu_stuff.
30181 (th_data): Define.
30182 (th_msg): Change to th_u1.th_u2.tu_data.
30183
7f18b530
DM
301842012-05-07 David S. Miller <davem@davemloft.net>
30185
05760585
DM
30186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30187
7f18b530
DM
30188 [BZ #14074]
30189 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30190 (SETUP_PIC_REG): Use it.
30191 (SETUP_PIC_REG_LEAF): Use it.
30192
495fd99f
JM
301932012-05-07 Joseph Myers <joseph@codesourcery.com>
30194
30195 [BZ #13885]
30196 [BZ #13923]
30197 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30198 USE_AS_EXPM1L.
30199 (EXPL_FINITE): Likewise.
30200 (FLDLOG): Likewise.
30201 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30202 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30203 e_expl.S.
30204 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30205 USE_AS_EXPM1L.
30206 (EXPL_FINITE): Likewise.
30207 (FLDLOG): Likewise.
30208 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30209 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30210 e_expl.S.
30211 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30212 test of -max_value argument for long double.
30213 * sysdeps/i386/fpu/libm-test-ulps: Update.
30214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30215
6693d694
DM
302162012-05-06 David S. Miller <davem@davemloft.net>
30217
30218 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30219 quad soft-float symbols whose references which are compiler
30220 generated.
30221 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30222
6c23e11c
JM
302232012-05-06 Joseph Myers <joseph@codesourcery.com>
30224
d8b82cad
JM
30225 [BZ #13884]
30226 [BZ #13914]
30227 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30228 USE_AS_EXP10L.
30229 (EXPL_FINITE): Likewise.
30230 (FLDLOG): Likewise.
30231 (c0): Likewise.
30232 (c1): Likewise.
30233 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30234 Adjust comments for base varying.
30235 (__expl_finite): Change alias to EXPL_FINITE.
30236 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30237 e_expl.S.
30238 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30239 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30240 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30241 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30242 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30243 USE_AS_EXP10L.
30244 (EXPL_FINITE): Likewise.
30245 (FLDLOG): Likewise.
30246 (c0): Likewise.
30247 (c1): Likewise.
30248 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30249 Adjust comments for base varying.
30250 (__expl_finite): Change alias to EXPL_FINITE.
30251 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30252 tests for bugs.
30253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30254
6c23e11c
JM
30255 [BZ #14064]
30256 * math/libm-test.inc (check_float_internal): Correct ulp
30257 calculation for subnormal expected results.
30258
29ba805c
AJ
302592012-05-06 Andreas Jaeger <aj@suse.de>
30260
30261 * Makeconfig (+math-flags): New, set to -frounding-math.
30262 (+cflags): Add +math-flags so that all of glibc gets compiled with
30263 it.
30264
30265 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30266
7b17aeda
JM
302672012-05-05 Joseph Myers <joseph@codesourcery.com>
30268
5779f134
JM
30269 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30270 Disable one test.
30271
41498f4d
JM
30272 [BZ #13787]
30273 [BZ #13922]
30274 [BZ #14036]
30275 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30276 (__ieee754_expl): Allow for and saturate large arguments.
30277 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30278 (u_threshold): Likewise.
30279 (__exp): Call __ieee754_exp before checking for overflow and
30280 underflow.
30281 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30282 (u_threshold): Likewise.
30283 (__expf): Call __ieee754_expf before checking for overflow and
30284 underflow.
30285 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30286 (u_threshold): Likewise.
30287 (__expl): Call __ieee754_expl before checking for overflow and
30288 underflow.
30289 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30290 (__ieee754_expl): Allow for and saturate large arguments.
30291 * math/libm-test.inc (exp_test): Add another test. Do not allow
30292 missing overflow exception on overflow.
30293 (expm1_test): Do not allow missing overflow exception on overflow.
30294
6698b8bf
JM
30295 * sysdeps/i386/fpu/e_expl.c: Move to ...
30296 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30297 rather than using inline asm.
30298 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30299 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30300 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30301
7b17aeda
JM
30302 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30303 (nice): Likewise.
30304 (poll): Likewise.
30305 (signal): Likewise.
30306 (time): Likewise.
30307 (times): Likewise.
30308
f7c85819
JM
303092012-05-04 Joseph Myers <joseph@codesourcery.com>
30310
30311 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30312 sysdeps/unix/common/syscalls.list.
30313 (fchmod): Likewise.
30314 (fchown): Likewise.
30315 (ftruncate): Likewise.
30316 (getrusage): Likewise.
30317 (gettimeofday): Likewise.
30318 (setpgid): Likewise.
30319 (setregid): Likewise.
30320 (setreuid): Likewise.
30321 (sigaction): Likewise.
30322 (truncate): Likewise.
30323 (vhangup): Likewise.
30324 * sysdeps/unix/common/syscalls.list: Remove file.
30325 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30326 * sysdeps/unix/sysv/linux/Implies: Likewise.
30327
336270d0
L
303282012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30329
30330 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30332 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30333 Moved to ...
30334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30335 Here.
30336 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30337 to ...
30338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30339 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30340 to ...
30341 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30342 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30343 to ...
30344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30345 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30346 to ...
30347 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30348 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30349 to ...
30350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30351 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30352 to ...
30353 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30354 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30355 to ...
30356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30357 Here.
30358 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30359 to ...
30360 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30361 Here.
30362 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30363 to ...
30364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30365 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30366 Moved to ...
30367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30368 Here.
30369 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30370 to ...
30371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30372
d128e450
JM
303732012-05-04 Joseph Myers <joseph@codesourcery.com>
30374
fa8ee516
JM
30375 * sysdeps/unix/common/bits/dirent.h: Remove file.
30376 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30377
d128e450
JM
30378 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30379 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30380 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30381 * sysdeps/unix/bsd/isatty.c: Likewise.
30382 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30383 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30384 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30385
ff8faaf0 303862012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30387
62881be4 30388 [BZ #13563]
31dc8730
AZ
30389 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30390 long double comparison inaccuracies.
30391 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30393
6fef930c
AS
303942012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30395
30396 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30397 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30398
8f203e6c
JM
303992012-05-04 Joseph Myers <joseph@codesourcery.com>
30400
30401 [BZ #14049]
30402 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30403 nonzero digits before rounding a hex value.
30404 * stdlib/tst-strtod.c (tests): Add another test.
30405
5197d9c2
AK
304062012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30407
30408 * sysdeps/s390/fpu/libm-test-ulps: Update.
30409
f0c1dedf
AJ
304102012-05-03 Andreas Jaeger <aj@suse.de>
30411
30412 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30413 does not get optimized out.
30414 (malloc_opt_barrier): New.
30415
a65ef2ae 304162012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30417 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30418
2b942cb7 30419 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30420 intermediate file deletion.
2b942cb7 30421 (generated): Add .symlist files.
a65ef2ae 30422
54b71e02
JM
304232012-05-03 Joseph Myers <joseph@codesourcery.com>
30424
30425 [BZ #13775]
30426 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30427 Redirect under this condition.
30428 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30429 [__USE_GNU] (__dprintf_chk): Not under this condition.
30430 [__USE_GNU] (__vdprintf_chk): Likewise.
30431 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30432 under this condition.
30433 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30434 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30435 [__USE_XOPEN2K8] (vdprintf): Likewise.
30436 [__USE_GNU] (__dprintf_chk): Not under this condition.
30437 [__USE_GNU] (__vdprintf_chk): Likewise.
30438 [__USE_GNU] (dprintf): Likewise.
30439 [__USE_GNU] (vdprintf): Likewise.
30440
d3dfcc41
RM
304412012-05-03 Roland McGrath <roland@hack.frob.com>
30442
30443 * elf/Makefile (common-generated): Set this instead of generated for
30444 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30445 $(all-built-dso)-derived lists.
30446
7ac30cc5
AJ
304472012-05-03 Andreas Jaeger <aj@suse.de>
30448
0c51e550
AJ
30449 * sysdeps/i386/fpu/libm-test-ulps: Update.
30450
7ac30cc5
AJ
30451 * FAQ: Removed.
30452 * FAQ.in: Likewise.
30453 * scripts/gen-FAQ.pl: Likewise.
30454 * manual/install.texi (Installation): Point to online location of
30455 FAQ.
30456 * Makefile (files-for-dist): Remove FAQ.
30457 (FAQ): Remove.
30458
d4c2917f
AM
304592012-05-02 Allan McRae <allan@archlinux.org>
30460
30461 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30462 (LDFLAGS-reldepmod5.so): Likewise.
30463 (LDFLAGS-reldep6mod1.so): Likewise.
30464 (LDFLAGS-reldep6mod4.so): Likewise.
30465 (LDFLAGS-reldep8mod3.so): Likewise.
30466 (LDFLAGS-unload4mod1.so): Likewise.
30467 (LDFLAGS-unload4mod2.so): Likewise.
30468 (LDFLAGS-tst-initorder): Likewise.
30469 (LDFLAGS-tst-initordera2.so): Likewise.
30470 (LDFLAGS-tst-initordera3.so): Likewise.
30471 (LDFLAGS-tst-initordera4.so): Likewise.
30472 (LDFLAGS-tst-initorderb2.so): Likewise.
30473 (LDFLAGS-noload): Likewise.
30474 (LDFLAGS-next): Likewise.
30475 (LDFLAGS-order2mod1.so): Likewise.
30476 (LDFLAGS-order2mod2.so): Likewise.
30477 (LDFLAGS-tst-initorder2): Likewise.
30478 (LDFLAGS-tst-initorder2a.so): Likewise.
30479 (LDFLAGS-tst-initorder2b.so): Likewise.
30480 (LDFLAGS-tst-initorder2c.so): Likewise.
30481 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30482
d77f993f
DM
304832012-05-02 David S. Miller <davem@davemloft.net>
30484
30485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30486
171a70b4
PP
304872012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30488
30489 [BZ #14055]
30490 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30491
0be196ad
AJ
304922012-05-02 Andreas Jaeger <aj@suse.de>
30493
30494 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30495 since we manipulate rounding mode.
30496 (CPPFLAGS-test-idouble.c): Likewise.
30497 (CPPFLAGS-test-ifloat.c): Likewise.
30498 (CFLAGS-test-ldouble.c): Likewise.
30499 (CFLAGS-test-double.c): Likewise.
30500 (CFLAGS-test-float.c): Likewise.
30501 (CFLAGS-test-misc.c): Likewise.
30502 (CFLAGS-test-test-fenv.c): Likewise.
30503
4f9d04aa
AZ
305042012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30505
2b942cb7
RM
30506 [BZ #2550]
30507 [BZ #2570]
30508 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30509 comparisons to determine direction to adjust input.
4f9d04aa 30510
82a79e7d
RM
305112012-05-01 Roland McGrath <roland@hack.frob.com>
30512
f5a01ca9
RM
30513 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30514 output to the target.
30515
90fe4186
RM
30516 * scripts/localplt.awk: New file.
30517 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30518 (check-localplt-CFLAGS): Variable removed.
30519 ($(all-built-dso:=.jmprel)): New static pattern rule.
30520 (generated): Add those targets.
30521 (localplt-built-dso): New variable.
30522 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30523
30524 * elf/check-localplt.c: File removed.
30525
82397ed6
RM
30526 * scripts/check-execstack.awk: New file.
30527 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30528 (check-execstack-CFLAGS): Variable removed.
30529 ($(objpfx)check-execstack.h): Target removed.
30530 ($(objpfx)execstack-default): New target.
30531 (generated): Add that instead of check-execstack.h.
30532 ($(all-built-dso:=.phdr)): New static pattern rule.
30533 (generated): Add those targets.
30534 * elf/check-execstack.c: File removed.
30535
82a79e7d
RM
30536 * scripts/check-textrel.awk: New file.
30537 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30538 (check-textrel-CFLAGS): Variable removed.
30539 (all-built-dso): Use := to define.o
30540 ($(all-built-dso:=.dyn)): New static pattern rule.
30541 (generated): Add those targets.
30542 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30543 * config.make.in (READELF): New substituted variable.
30544 * elf/check-textrel.c: File removed.
30545
62fde54f 305462012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30547
615605c9
JM
30548 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30549 allow.
30550 * conform/data/ctype.h-data [C99-based standards] (isblank):
30551 Expect function.
30552 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30553 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30554 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30555 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30556 Specify type. Require positive value.
30557 (EILSEQ): Likewise.
30558 (ERANGE): Likewise.
30559 [ISO || POSIX] (EILSEQ): Do not expect.
30560 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30561 Specify type. Require positive value.
30562 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30563 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30564 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30565 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30566 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30567 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30568 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30569 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30570 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30571 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30572 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30573 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30574 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30575 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30576 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30577 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30578 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30579 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30580 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30581 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30582 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30583 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30584 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30585 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30586 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30587 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30588 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30589 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30590 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30591 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30592 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30593 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30594 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30595 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30596 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30597 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30598 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30599 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30600 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30601 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30602 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30603 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30604 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30605 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30606 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30607 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30608 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30609 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30610 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30611 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30612 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30613 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30614 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30615 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30616 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30617 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30618 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30619 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30620 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30621 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30622 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30623 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30624 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30625 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30626 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30627 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30628 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30629 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30630 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30631 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30632 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30633 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30634 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30635 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30636 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30637 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30638 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30639 Require >= 2.
30640 (FLT_ROUNDS): Expect as macro, not constant.
30641 (FLT_MANT_DIG): Use macro-int-constant.
30642 (DBL_MANT_DIG): Likewise.
30643 (LDBL_MANT_DIG): Likewise.
30644 (FLT_DIG): Likewise.
30645 (DBL_DIG): Likewise.
30646 (LDBL_DIG): Likewise.
30647 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30648 (DBL_MIN_EXP): Likewise.
30649 (LDBL_MIN_EXP): Likewise.
30650 (FLT_MAX_EXP): Use macro-int-constant.
30651 (DBL_MAX_EXP): Likewise.
30652 (LDBL_MAX_EXP): Likewise.
30653 (FLT_MAX_10_EXP): Likewise.
30654 (DBL_MAX_10_EXP): Likewise.
30655 (LDBL_MAX_10_EXP): Likewise.
30656 (FLT_MAX): Use macro-constant.
30657 (DBL_MAX): Likewise.
30658 (LDBL_MAX): Likewise.
30659 (FLT_EPSILON): Use macro-constant. Give upper bound.
30660 (DBL_EPSILON): Likewise.
30661 (LDBL_EPSILON): Likewise.
30662 (FLT_MIN): Likewise.
30663 (DBL_MIN): Likewise.
30664 (LDBL_MIN): Likewise.
30665 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30666 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30667 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30668 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30669 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30670 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30671 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30672 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30673 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30674 [ISO11] (FLT_TRUE_MIN): Likewise.
30675 [ISO11] (LDBL_TRUE_MIN): Likewise.
30676 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30677 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30678 (SCHAR_MIN): Use macro-int-constant. Specify type.
30679 (SCHAR_MAX): Likewise.
30680 (UCHAR_MAX): Likewise.
30681 (CHAR_MIN): Likewise.
30682 (CHAR_MAX): Likewise.
30683 (MB_LEN_MAX): Use macro-int-constant.
30684 (SHRT_MIN): Use macro-int-constant. Specify type.
30685 (SHRT_MAX): Likewise.
30686 (USHRT_MAX): Likewise.
30687 (INT_MAX): Likewise.
30688 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30689 bound negative.
30690 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30691 bound with "U".
30692 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30693 bound with "L".
30694 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30695 bound negative. Suffix upper bound with "L".
30696 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30697 bound with "UL".
30698 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30699 Specify type.
30700 [C99-based standards] (LLONG_MAX): Likewise.
30701 [C99-based standards] (ULLONG_MAX): Likewise.
30702 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30703 == 0.
30704 [ISO11] (max_align_t): Require type.
30705 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30706
c9140a62
JM
30707 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30708 from $CFLAGS, without defining away __attribute__ calls.
30709 (checknamespace): Use $CFLAGS_namespace.
30710
9af0bf29
JM
30711 * conform/conformtest.pl (@keywords): Only include C99 keywords
30712 for standards based on C99 or C11.
30713
343222a2
JM
30714 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30715 Disable tests.
30716 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30717 UNIX98]: Likewise.
30718
661f8cf0
JM
30719 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30720 usability of symbols in #if.
30721
ee74b9cb
JM
30722 * conform/conformtest.pl: If macro or constant types start
30723 "promoted:", expect the symbol to be of the following type
30724 promoted by the integer promotions.
62fde54f 30725
aafc49b3
JM
30726 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30727 in one place. Also handle "macro-constant".
30728
fefdf574
JM
30729 * conform/conformtest.pl: Only accept expected macro values with
30730 "==". Parse all "macro" lines in one place.
30731 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30732
f2d922fe
JM
30733 * conform/conformtest.pl: Handle braced types on "constant" lines
30734 instead of handling "typed-constant".
30735 * conform/data/signal.h-data: Use "constant" instead of
30736 "typed-constant".
30737
d22956c9
JM
30738 * conform/conformtest.pl: Handle "optional-" at start of lines in
30739 one place rather than duplicating several cases. Handle each
30740 format of "macro" line with initial "optional-".
30741
028e2e38
JM
30742 * conform/conformtest.pl: Only accept expected constant or
30743 optional-constant values with "==". Parse all "constant" lines in
30744 one place. Parse all "optional-constant" lines in one place.
30745 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30746 * conform/data/fmtmsg.h-data: Likewise.
30747 * conform/data/netinet/in.h-data: Likewise.
30748 * conform/data/tar.h-data: Likewise.
30749 * conform/data/limits.h-data: Use "==" form on "constant" and
30750 "optional-constant" lines.
30751
1b8f2850
JM
30752 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30753 Use -std=c99 for XOPEN2K.
30754 (@knownproblems): Remove.
30755 (newtoken): Don't check %isknown.
30756
a05a144b
JM
30757 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30758 Do not expect macro.
30759 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30771 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30772 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30782 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30783 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30786 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30787 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30788 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30789 [XPG3] (acosh): Likewise.
30790 [XPG3] (asinh): Likewise.
30791 [XPG3] (atanh): Likewise.
30792 [XPG3] (cbrt): Likewise.
30793 [XPG3] (expm1): Likewise.
30794 [XPG3] (ilogb): Likewise.
30795 [XPG3] (log1p): Likewise.
30796 [XPG3] (logb): Likewise.
30797 [XPG3] (nextafter): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30800 [XPG3] (remainder): Likewise.
30801 [XPG3] (rint): Likewise.
30802 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30803 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30804 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30805 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30806 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30807 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30808 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30809 [UNIX98 || XOPEN2K] (scalb): Expect.
30810 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30811 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30812 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30813 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30814 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30815 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30816 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30817 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30818 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30819 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30820 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30821 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30822 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30823 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30824 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30825 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30826 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30827 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30828 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30829 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30830 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30831 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30832 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30833 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30834 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30835 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30836 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30837 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30838 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30839 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30840 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30841 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30842 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30843 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30844 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30845 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30846 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30847 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30848 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30849 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30850 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30851 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30852 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30853 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30854 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30855 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30856 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30857 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30858 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30859 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30860 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30861 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30862 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30899 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30900 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30903 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30904 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30942 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30943 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30947
73c5ebe3
JM
30948 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30949 _XOPEN_SOURCE_EXTENDED for XPG4.
30950
39c33b6c
JM
30951 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30952
62fde54f
JM
30953 * Makeconfig (localtime): Remove variable.
30954 (inst_localtime-file): Likewise.
30955
0741d64c
AS
309562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30957
30958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30959 Update.
30960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30961 Update.
30962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30963 Update.
30964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30965 Update.
30966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30967 Update.
30968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30969 Update.
30970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30971 Update.
30972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30973 Update.
30974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30975 Update.
30976
7cb029ee
JM
309772012-05-01 Joseph Myers <joseph@codesourcery.com>
30978
30979 [BZ #2550]
30980 [BZ #2570]
30981 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30982 comparisons to determine direction to adjust input.
30983 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30984 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30985 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30986 Likewise.
30987 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30988 Likewise.
30989 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30990 Likewise.
30991 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30992 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30993 Likewise.
30994 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30995 Likewise.
30996 * math/libm-test.inc (nexttoward_test): Add more tests.
30997
412bd966
AS
309982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30999
31000 [BZ #14040]
31001 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31002 in version GLIBC_2.1, not GLIBC_2.0.
31003 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31004 Likewise.
31005
9568c0c2
JM
310062012-04-30 Joseph Myers <joseph@codesourcery.com>
31007
adfbc8ac
JM
31008 [BZ #13942]
31009 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31010 (1 - x) * (1 + x).
31011 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31012 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31013 * math/libm-test.inc (acos_test): Add more tests.
31014 (asin_test): Likewise.
31015 * sysdeps/i386/fpu/libm-test-ulps: Update.
31016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31017
5ba3cc69
JM
31018 [BZ #14034]
31019 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31020 of square root.
31021 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31022 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31023 * math/libm-test.inc (acos_test_tonearest): New function.
31024 (acos_test_towardzero): Likewise.
31025 (acos_test_downward): Likewise.
31026 (acos_test_upward): Likewise.
31027 (asin_test_tonearest): Likewise.
31028 (asin_test_towardzero): Likewise.
31029 (asin_test_downward): Likewise.
31030 (asin_test_upward): Likewise.
31031 (main): Call the new functions.
31032 * sysdeps/i386/fpu/libm-test-ulps: Update.
31033 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31034
9568c0c2
JM
31035 [BZ #13884]
31036 [BZ #13924]
31037 * math/e_exp10.c: Include <float.h>.
31038 (__ieee754_exp10): Handle underflow here rather than multiplying
31039 large negative argument by M_LN10.
31040 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31041 of __ieee754_expf.
31042 * math/e_exp10l.c: Include <float.h>.
31043 (__ieee754_exp10l): Handle underflow here rather than multiplying
31044 large negative argument by M_LN10l.
31045 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31046 spurious overflow exception on underflow.
31047
5ac3ea17
MP
310482012-04-29 Marek Polacek <polacek@redhat.com>
31049
31050 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31051 (__fortify_function): New macro.
31052 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31053 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31054 __extern_always_inline.
31055 * libio/bits/stdio2.h: Likewise.
31056 * libio/bits/stdio.h: Likewise.
31057 * string/string.h: Likewise.
31058 * string/bits/string3.h: Likewise.
31059 * include/stdio.h: Likewise.
31060 * stdlib/bits/stdlib.h: Likewise.
31061 * stdlib/stdlib.h: Likewise.
31062 * rt/bits/mqueue2.h: Likewise.
31063 * rt/mqueue.h: Likewise.
31064 * posix/bits/unistd.h: Likewise.
31065 * posix/unistd.h: Likewise.
31066 * io/bits/poll2.h: Likewise.
31067 * io/bits/fcntl2.h: Likewise.
31068 * io/fcntl.h: Likewise.
31069 * io/sys/poll.h: Likewise.
31070 * misc/bits/syslog.h: Likewise.
31071 * misc/bits/syslog-ldbl.h: Likewise.
31072 * misc/sys/syslog.h: Likewise.
31073 * socket/bits/socket2.h: Likewise.
31074 * socket/sys/socket.h: Likewise.
31075 * debug/tst-chk1.c: Likewise.
31076 * wcsmbs/bits/wchar2.h: Likewise.
31077 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31078 * wcsmbs/wchar.h: Likewise.
31079
ecf0ebfb
AJ
310802012-04-29 Andreas Jaeger <aj@suse.de>
31081
31082 * Makerules (tests): Remove enable-check-abi protection.
31083 (check-abi-warn): Remove.
31084 (check-abi-%): Remove check-abi-warn usage.
31085
31086 * configure.in: Remove check-abi configure option.
31087 * configure: Regenerated.
31088 * config.make.in (enable-check-abi): Remove.
31089
6d5c57fa
AS
310902012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31091
24c5d07e 31092 [BZ #14033]
ded5180a
AS
31093 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31094 double functions to double *_finite functions.
31095
7e0d315d
AS
31096 [BZ #13941]
31097 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31098 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31099 LDBL_MIN_EXP.
31100 * stdio-common/Makefile (tests): Add tst-sprintf3.
31101 * stdio-common/tst-sprintf3.c: New file.
31102
6d5c57fa
AS
31103 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31104 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31105
0749ff8b
JM
311062012-04-28 Joseph Myers <joseph@codesourcery.com>
31107
31108 * conform/conformtest.pl: Remove duplicate typed-constant
31109 handling.
31110
8dbd5d7b
DM
311112012-04-28 David S. Miller <davem@davemloft.net>
31112
31113 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31114 (check-abi-%): Remove AWK script prerequisite and explicit
31115 abilist directory.
31116 (check-abi): Rewrite to just diff the symlist with the abilist.
31117 (config-tls, config-abi-config): Delete, no longer used.
31118 (update-abi-%): Remove AWK script and explicit abilist directory.
31119 (update-abi): Rewrite to simply compare and conditionally copy the
31120 symlist and the sysdep abilist file. Remove update-abi-config
31121 checks.
31122 * abilist/ld.abilist: Remove.
31123 * abilist/libBrokenLocale.abilist: Remove.
31124 * abilist/libanl.abilist: Remove.
31125 * abilist/libcrypt.abilist: Remove.
31126 * abilist/libdl.abilist: Remove.
31127 * abilist/librt.abilist: Remove.
31128 * abilist/libthread_db.abilist: Remove.
31129 * abilist/libutil.abilist: Remove.
31130 * scripts/extract-abilist.awk: Remove.
31131 * scripts/merge-abilist.awk: Remove.
31132 * sysdeps/generic/libcidn.abilist: New file.
31133 * sysdeps/generic/libnss_compat.abilist: New file.
31134 * sysdeps/generic/libnss_db.abilist: New file.
31135 * sysdeps/generic/libnss_dns.abilist: New file.
31136 * sysdeps/generic/libnss_files.abilist: New file.
31137 * sysdeps/generic/libnss_hesiod.abilist: New file.
31138 * sysdeps/generic/libnss_nis.abilist: New file.
31139 * sysdeps/generic/libnss_nisplus.abilist: New file.
31140 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31141 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31142 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31143 file.
31144 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31145 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31146 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31147 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31148 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31149 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31150 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31151 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31152 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31153 file.
31154 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31155 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31156 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31157 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31158 file.
31159 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31160 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31161 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31162 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31163 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31164 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31165 file.
31166 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31167 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31168 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31169 file.
31170 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31171 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31172 New file.
31173 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31174 New file.
31175 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31176 New file.
31177 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31178 New file.
31179 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31180 New file.
31181 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31182 New file.
31183 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31184 New file.
31185 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31186 New file.
31187 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31188 New file.
31189 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31190 New file.
31191 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31192 New file.
31193 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31194 New file.
31195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31196 New file.
31197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31198 file.
31199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31200 New file.
31201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31202 New file.
31203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31204 file.
31205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31206 New file.
31207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31208 New file.
31209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31210 file.
31211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31212 New file.
31213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31214 New file.
31215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31216 New file.
31217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31218 New file.
31219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31220 New file.
31221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31222 New file.
31223 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31225 file.
31226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31227 New file.
31228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31229 file.
31230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31231 file.
31232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31233 file.
31234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31235 file.
31236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31237 file.
31238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31239 New file.
31240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31241 file.
31242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31243 file.
31244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31245 New file.
31246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31247 file.
31248 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31250 file.
31251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31252 New file.
31253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31254 file.
31255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31256 file.
31257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31258 file.
31259 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31260 file.
31261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31262 file.
31263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31264 New file.
31265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31266 file.
31267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31268 file.
31269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31270 New file.
31271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31272 file.
31273 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31274 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31275 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31276 file.
31277 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31278 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31279 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31280 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31281 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31282 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31283 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31284 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31285 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31286 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31288 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31289 file.
31290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31291 New file.
31292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31293 file.
31294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31295 file.
31296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31297 file.
31298 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31299 file.
31300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31301 file.
31302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31303 New file.
31304 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31305 New file.
31306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31307 file.
31308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31309 New file.
31310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31311 file.
31312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31314 file.
31315 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31316 New file.
31317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31318 file.
31319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31320 file.
31321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31322 file.
31323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31324 file.
31325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31326 file.
31327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31328 New file.
31329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31330 New file.
31331 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31332 file.
31333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31334 New file.
31335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31336 file.
31337
41d73a1b
JM
313382012-04-28 Joseph Myers <joseph@codesourcery.com>
31339
31340 * conform/conformtest.pl: Fix typo in handling typed-constant from
31341 allow-header.
31342
28aeeda4
JM
313432012-04-27 Joseph Myers <joseph@codesourcery.com>
31344
adae8f5e
JM
31345 * README: Cut down references to pre-2.6 Linux kernels and
31346 Linuxthreads. Update lists of configurations in libc and ports
31347 and sort alphabetically. Say "or newer" with Linux kernel version
31348 requirements.
31349
28aeeda4
JM
31350 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31351
a462cb63
RA
313522012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31353
31354 [BZ #887]
31355 * math/libm-test.inc (logb_test_downward): New test to expose
31356 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31357 rounding mode.
31358
6ad3493e
JM
313592012-04-27 Joseph Myers <joseph@codesourcery.com>
31360
31361 [BZ #14027]
31362 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31363 to be done.
31364 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31365 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31366
2ce4f015
JM
313672012-04-26 Joseph Myers <joseph@codesourcery.com>
31368
5aeb141a
JM
31369 * sysdeps/unix/i386/brk.S: Remove file.
31370 * sysdeps/unix/i386/dl-brk.S: Likewise.
31371 * sysdeps/unix/i386/pipe.S: Likewise.
31372 * sysdeps/unix/i386/sigreturn.S: Likewise.
31373 * sysdeps/unix/i386/syscall.S: Likewise.
31374 * sysdeps/unix/i386/vfork.S: Likewise.
31375 * sysdeps/unix/i386/wait.S: Likewise.
31376
7143acae
JM
31377 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31378 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31379
2ce4f015
JM
31380 * configure.in (arm*-none*): Do not allow without
31381 --enable-hacker-mode.
31382 (netbsd*): Remove case setting base_os.
31383 (386bsd*): Likewise.
31384 (freebsd*): Likewise.
31385 (bsdi*): Likewise.
31386 (osf*): Likewise.
31387 (sunos*): Likewise.
31388 (ultrix*): Likewise.
31389 (newsos*): Likewise.
31390 (dynix*): Likewise.
31391 (*bsd*): Likewise.
31392 (sysv*): Likewise.
31393 (isc*): Likewise.
31394 (esix*): Likewise.
31395 (sco*): Likewise.
31396 (minix*): Likewise.
31397 (irix4*): Likewise.
31398 (irix6*): Likewise.
31399 (solaris[2-9]*): Likewise.
31400 (none): Likewise.
31401 * configure: Regenerated.
31402
0ac229c8
AZ
314032012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31404
31405 [BZ #11521]
31406 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31407 overflow or cancellation in calculating denominator.
31408 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31409 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31410 down expression to avoid unexpected rounding in newer GCCs.
31411 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31412
33f244f4
DM
314132012-04-26 David S. Miller <davem@davemloft.net>
31414
31415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31416 long-double compat symbols.
31417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31430
cfa1f3e8
DM
314312012-04-25 David S. Miller <davem@davemloft.net>
31432
31433 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31434 HWCAP_* values only after the memory barriers have been defined.
31435 (atomic_full_barrier): Define.
31436 (atomic_read_barrier): Define.
31437 (atomic_write_barrier): Define.
31438
6e236b92
SP
314392012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31440
31441 * shlib-versions: Add libgcc_s version information.
31442 * sysdeps/generic/libgcc_s.h: Remove.
31443 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31444 libgcc_s.h.
31445 * sysdeps/gnu/unwind-resume.c: Likewise.
31446 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31447
aab39a09
DM
314482012-04-25 David S. Miller <davem@davemloft.net>
31449
31450 * sysdeps/unix/sparc/brk.S: Delete.
31451 * sysdeps/unix/sparc/dl-brk.S: Delete.
31452 * sysdeps/unix/sparc/pipe.S: Delete.
31453 * sysdeps/unix/sparc/sysdep.S: Delete.
31454 * sysdeps/unix/sparc/sysdep.h: Delete.
31455 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
31456 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31457 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31458 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31459 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
31460 (JUMPTARGET): Remove.
31461 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31462 sysdeps/unix/sparc/sysdep.h
31463 (ENTRY, END): Remove.
31464 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31465
a3cc4f48
JM
314662012-04-25 Joseph Myers <joseph@codesourcery.com>
31467
2ed8cda2
JM
31468 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31469 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31470 -DIS_IN_build.
31471
35d76d59
JM
31472 * timezone/README: Update upstream location and email address for
31473 tzcode and tzdata.
31474 * timezone/zdump.c: Update from tzcode 2012b.
31475 * timezone/zic.c: Likewise.
31476
a3cc4f48
JM
31477 * configure.in (libc_cv_as_needed): Remove test.
31478 * configure: Regenerated.
31479 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31480 conditional definition.
31481 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31482 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31483 * config.make.in (have-as-needed): Remove variable.
31484
ceab42c3
SP
314852012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31486 Paul Pluzhnikov <ppluzhnikov@google.com>
31487
31488 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31489 strings correctly.
31490
3ce2865f
CLT
314912012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31492
31493 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31494 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31495 * sysdeps/sh/strlen.S: Likewise.
31496
f37e0d68
JM
314972012-04-24 Joseph Myers <joseph@codesourcery.com>
31498
ae186e9a
JM
31499 * sysdeps/unix/fork.S: Remove file.
31500 * sysdeps/unix/i386/fork.S: Likewise.
31501 * sysdeps/unix/sparc/fork.S: Likewise.
31502
b96914af
JM
31503 * sysdeps/unix/system.c: Remove file.
31504 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31505
f37e0d68
JM
31506 * sysdeps/unix/getegid.S: Remove file.
31507 * sysdeps/unix/geteuid.S: Likewise.
31508
87ef29ca
RM
315092012-04-24 Roland McGrath <roland@hack.frob.com>
31510
83bcd236
RM
31511 * scripts/check-localplt.awk: New file.
31512 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31513 of diff.
31514 * scripts/data/localplt-generic.data: Add a comment.
31515
87ef29ca
RM
31516 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31517 NODE when __dir_mkfile failed.
31518 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31519 Reported by Ludovic Courtès <ludo@gnu.org>.
31520
e5a6e567
AJ
315212012-04-24 Andreas Jaeger <aj@suse.de>
31522
31523 * Makerules (common-clean): Also remove gen-as-const-headers
31524 files.
31525
c1820385
JM
315262012-04-24 Joseph Myers <joseph@codesourcery.com>
31527
31528 * Makerules (native-compile): Do not change working directory for
31529 build. Use $(OUTPUT_OPTION) in command.
31530 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31531
94e02fc4
AZ
315322012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31533
31534 [BZ #13886]
31535 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31536 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31537 * math/libm-test.inc (floor_test): Add more tests.
31538 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31539
3a533ca3
JM
315402012-04-24 Joseph Myers <joseph@codesourcery.com>
31541
940ab4b3
JM
31542 * sysdeps/unix/getdents.c: Remove file.
31543 * sysdeps/unix/sysv/getdents.c: Likewise.
31544 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31545
90e037bd
JM
31546 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31547 sysdeps/unix/mman/syscalls.list.
31548 (mmap): Likewise.
31549 (mprotect): Likewise.
31550 (msync): Likewise.
31551 (munmap): Likewise.
31552 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31553 * sysdeps/unix/mman/syscalls.list: Remove.
31554 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31555
3a533ca3
JM
31556 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31557 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31558 * configure: Regenerated.
31559 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31560 $(libgcc_s_suffix).
31561 * config.make.in (libgcc_s_suffix): Remove variable.
31562
1ad743de
JM
315632012-04-23 Joseph Myers <joseph@codesourcery.com>
31564
4ad451e2
JM
31565 * sysdeps/unix/sysv/gethostname.c: Move to ...
31566 * sysdeps/posix/gethostname.c: ... here.
31567
5e37ce39
JM
31568 * sysdeps/unix/execve.S: Remove file.
31569
1ad743de
JM
31570 * sysdeps/unix/_exit.S: Remove file.
31571
4e681b5b
AJ
315722012-04-23 Andreas Jaeger <aj@suse.de>
31573
31574 [BZ #13739]
31575 * manual/Makefile: Remove make dist support, there's no
31576 need for a stand-alone documentation tar ball.
31577 (TEXI2DVI): Define always, it's not in Makeconfig.
31578 (dist): Removed.
31579 (tar-it): Removed.
31580 (edition): Removed.
31581 (glibc-doc-$(edition).tar): Removed
31582 (%.Z): Removed.
31583 (%.gz): Removed.
31584 (%.uu): Removed.
31585 (ETAGS): Remove, it's in Makeconfig.
31586 (move-if-change): Remove, it's in Makeconfig.
31587
38686a03 315882012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31589
31590 [BZ #13970]
31591 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31592 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31593 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31594 (strtod_l, strtof_l, strtold_l): Remove __wur.
31595 It is not necessarily an error to ignore strtol's return value.
31596 One can reliably look at the stored endptr to decide whether
31597 the number had valid syntax.
31598
7c0616fa
AJ
315992012-04-21 Andreas Jaeger <aj@suse.de>
31600
803cb6b7 31601 [BZ #13739]
7c0616fa
AJ
31602 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31603
b0fe253f
JM
316042012-04-21 Joseph Myers <joseph@codesourcery.com>
31605
31606 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31607 * sysdeps/unix/sysv/Versions: Remove file.
31608
8280f22d
MT
316092012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31610
31611 [BZ #13927]
31612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31613
75ce411f 316142012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31615
31616 [BZ #7064]
31617 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31618 version from __vm86.
31619
097d59fa
JM
316202012-04-20 Joseph Myers <joseph@codesourcery.com>
31621
a90f3bcb
JM
31622 * sysdeps/unix/common/lxstat.c: Remove file.
31623 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31624
edc7ea78
JM
31625 * sysdeps/unix/sysv/Makefile: Remove file.
31626
cb78c221
JM
31627 * sysdeps/unix/sysv/direct.h: Remove file.
31628
efa6a45f
JM
31629 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31630 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31631 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31632 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31633 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31634 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31635 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31636
9c9f2d0c
JM
31637 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31638
4541c83b
JM
31639 * sysdeps/unix/xmknod.c: Remove file.
31640 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31641
f5d153a0
JM
31642 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31643
aa746595
JM
31644 * sysdeps/unix/sysv/i386/time.S: Remove file.
31645
cce5905e
JM
31646 * sysdeps/unix/fxstat.c: Remove file.
31647 * sysdeps/unix/xstat.c: Likewise.
31648 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31649
37fa3841
JM
31650 * sysdeps/unix/sysv/sigaction.c: Remove file.
31651
ff1962a3
JM
31652 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31653 (sysdep_headers): Remove variable.
31654 [termio.h not in sysdep_headers] (generated): Likewise.
31655 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31656 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31657 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31658 * sysdeps/unix/sysv/tcflow.c: Likewise.
31659 * sysdeps/unix/sysv/tcflush.c: Likewise.
31660 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31661 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31662 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31663 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31664 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31665
e7740d31
JM
31666 * sysdeps/unix/siglist.c: Remove file.
31667
ee06f18b
JM
31668 * sysdeps/unix/getppid.S: Remove file.
31669
097d59fa
JM
31670 * sysdeps/unix/mkdir.c: Remove file.
31671 * sysdeps/unix/rmdir.c: Likewise.
31672
ff3d51ec
AS
316732012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31674
31675 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31676 ERR_MAX value.
31677 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31678 errlist-compat value.
31679
50f81fd7
DM
316802012-04-18 David S. Miller <davem@davemloft.net>
31681
31682 * sysdeps/generic/memcopy.h (reg_char): Delete.
31683 * debug/strcat_chk.c: Use char, not reg_char.
31684 * debug/strcpy_chk.c: Likewise.
31685 * debug/strncat_chk.c: Likewise.
31686 * debug/strncpy_chk.c: Likewise.
31687 * string/memchr.c: Likewise.
31688 * string/memrchr.c: Likewise.
31689 * string/rawmemchr.c: Likewise.
31690 * string/strcat.c: Likewise.
31691 * string/strchr.c: Likewise.
31692 * string/strchrnul.c: Likewise.
31693 * string/strcmp.c: Likewise.
31694 * string/strcpy.c: Likewise.
31695 * string/strncat.c: Likewise.
31696 * string/strncmp.c: Likewise.
31697 * string/strncpy.c: Likewise.
31698
8ff41c46
WS
316992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31700
31701 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31702 __builtin_memcopy is called when src and dest ranges are known to not
31703 overlap.
31704
6b652f46
WS
317052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31706
31707 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31708 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31709 fwd_align_merge macro call.
31710 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31711 bwd_align_merge macro call.
31712 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31713
b282631e
WS
317142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31715
31716 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31717 bwd_align_merge macros.
31718 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31719 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31720 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31721
95aa737c
DM
317222012-04-18 David S. Miller <davem@davemloft.net>
31723
31724 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31725
7a99a614
AJ
317262012-04-18 Andreas Jaeger <aj@suse.de>
31727
31728 [BZ# 6794]
31729 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31730 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31731 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31732
31733 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31734 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31735 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31736
31737 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31738 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31739 Adjust for changed ldbl-128 files.
31740
31741 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31742 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31743 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31744
e5270c23
DM
317452012-04-17 David S. Miller <davem@davemloft.net>
31746
31747 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31748
fb5e92c9
AS
317492012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31750
31751 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31752 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31753 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31754 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31755 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31756 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31757
76da7265
AZ
317582012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31759
31760 [BZ #6794]
31761 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31762 * math/libm-test.inc: Add ilogb errno and exception tests.
31763 * math/w_ilogb.c: New file: ilogb wrapper.
31764 * math/w_ilogbf.c: New file: ilogbf wrapper.
31765 * math/w_ilogbl.c: New file: ilogbl wrapper.
31766 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31767 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31768 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31769 exception being thrown with 0.0 as argument.
31770 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31771 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31772 exception being thrown with 0.0 as argument.
31773 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31774 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31775 exception being thrown with 0.0 as argument.
31776 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31777 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31778 exception being thrown with 0.0 as argument.
31779 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31780 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31781 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31782 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31783 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31784 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31785 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31786 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31787 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31788
0396e69d
PB
317892012-04-17 Petr Baudis <pasky@ucw.cz>
31790
31791 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31792 with altivec.
31793
750b5926
MP
317942012-04-16 Marek Polacek <polacek@redhat.com>
31795
31796 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31797
751728a1
MP
317982012-04-16 Marek Polacek <polacek@redhat.com>
31799
31800 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31801 operands of fdivp instruction.
31802
34a27407
L
318032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31804
31805 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31806 * elf/tst-auditmod3b.c: Likewise.
31807 * elf/tst-auditmod4b.c: Likewise.
31808 * elf/tst-auditmod5b.c: Likewise.
31809 * elf/tst-auditmod6b.c: Likewise.
31810 * elf/tst-auditmod6c.c: Likewise.
31811 * elf/tst-auditmod7b.c: Likewise.
31812 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31813 * sysdeps/x86_64/preconfigure.in: Likewise.
31814 * sysdeps/x86_64/preconfigure: Regenerated.
31815
7e73e17d
L
318162012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31817
31818 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31819 __ILP32__.
31820
c7a6ab72
AB
318212012-04-13 Antoine Balestrat <merkil33@gmail.com>
31822
31823 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31824 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31825
a9e8e0e0
CL
318262012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31827
31828 [BZ #13973]
31829 * locale/iso-639.def: Fix gl language name. Spotted by
31830 Yaron Shahrabani.
31831
ec98af7d
RM
318322012-04-12 Roland McGrath <roland@hack.frob.com>
31833
31834 [BZ #2074]
31835 * libio/libio.h (__io_write_fn): Update comment.
31836
247c3ede
PB
318372012-04-12 Petr Baudis <pasky@ucw.cz>
31838
31839 [BZ #2074]
31840 * stdio.texi (Hook Functions): The user provided writer function
31841 is not allowed to return -1.
31842
55939d6d
DM
318432012-04-11 David S. Miller <davem@davemloft.net>
31844
31845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31846
90020f5a
MF
318472012-04-11 Mike Frysinger <vapier@gentoo.org>
31848
31849 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31850 Add a leading slash to rtkaio.
31851
288f9098
JM
318522012-04-11 Jim Meyering <meyering@redhat.com>
31853
90020f5a
MF
31854 [BZ #11959]
31855 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31856 It is not necessarily an error to ignore fwrite's return
31857 value. One can reliably use ferror to test for errors after
31858 the fact.
288f9098 31859
4be2b570
L
318602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31861
31862 * bits/types.h (__snseconds_t): New type.
31863 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31864
31865 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31866 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31867 (__SNSECONDS_T_TYPE): Likewise.
31868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31869 (__SNSECONDS_T_TYPE): Likewise.
31870 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31871 (__SNSECONDS_T_TYPE): Likewise.
31872
288f9098 318732012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31874
31875 [BZ #2636]
31876 * manual/time.texi (Processor Time): Return type of times is
31877 elapsed real time since an arbitrary point in the past.
31878 (CPU Time): Move CLK_TCK from here...
31879 (Processor Time): ...to here. Correct description.
31880 * manual/conf.texi (Constants for Sysconf): Correct description of
31881 _SC_CLK_TCK.
31882
d7dd4413
DM
318832012-04-10 David S. Miller <davem@davemloft.net>
31884
31885 [BZ #13967]
31886 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31887 where the is a gap between DT_REL(A) and DT_JMPREL.
31888
b46068fc
L
318892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31890
31891 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31892 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31893 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31894
73d65cc3
SP
318952012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31896
31897 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31898 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31899 (dl_main): Handle --inhibit-cache.
31900 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31901 _dl_inhibit_cache.
31902 * elf/dl-load.c (_dl_map_object): Use it.
31903 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31904
bcc8d661
JM
319052012-04-09 Joseph Myers <joseph@codesourcery.com>
31906
8f9a2fae
JM
31907 [BZ #13872]
31908 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31909 (__ieee754_powl): Saturate large exponents rather than testing for
31910 overflow of y*log2(x).
31911 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31912 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31913 exceptions.
31914
bcc8d661
JM
31915 [BZ #11521]
31916 * math/s_ctan.c: Include <float.h>.
31917 (__ctan): Avoid internal overflow or cancellation in calculating
31918 denominator.
31919 * math/s_ctanf.c: Likewise.
31920 * math/s_ctanl.c: Likewise.
31921 * math/s_ctanh.c: Likewise.
31922 * math/s_ctanhf.c: Likewise.
31923 * math/s_ctanhl.c: Likewise.
31924 * math/libm-test.inc (ctan_test): Add more tests.
31925 (ctanh_test): Likewise.
31926 * sysdeps/i386/fpu/libm-test-ulps: Update.
31927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31928
823fbbb4
AJ
319292012-04-09 Andreas Jaeger <aj@suse.de>
31930
03879793
AJ
31931 [BZ #6894]
31932 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31933 is an optional BSD extension.
31934
823fbbb4
AJ
31935 [BZ #10254]
31936 * manual/stdio.texi (Opening Streams): Document additional fopen
31937 parameters.
31938
8de131cb
RM
319392012-04-09 Roland McGrath <roland@hack.frob.com>
31940
31941 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31942 %eax without telling the compiler.
31943
c0ed9d7d
CD
319442012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31945
31946 [BZ # 13963]
31947 * manual/install.texi: Use sourceware.org.
31948
c483f6b4
JM
319492012-04-09 Joseph Myers <joseph@codesourcery.com>
31950
d7dd9453
JM
31951 [BZ #13873]
31952 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31953 (__ieee754_pow): Generate overflow and underflow using huge*huge
31954 and tiny*tiny rather than just returning constant infinity or zero
31955 for large exponents.
31956 * math/libm-test.inc (pow_test): Require overflow exceptions for
31957 applicable cases of large exponents.
31958
c483f6b4
JM
31959 [BZ #706]
31960 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31961 (__ieee754_pow): Use iterative multiplication algorithm only for
31962 integer exponents with absolute value below 1024. Check for odd
31963 integer exponents when using algorithm for real exponents.
31964 * math/libm-test.inc (pow_test): Add more tests.
31965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31966
d2de7579
JM
319672012-04-08 Joseph Myers <joseph@codesourcery.com>
31968
31969 [BZ #13705]
31970 * math/libm-test.inc (exp_test): Do not allow overflow exception
31971 on underflow test.
31972
f77f1232
AJ
319732012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31974
31975 [BZ #13705]
31976 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31977 instead of __kernel_standard_f.
31978
3884932b
MF
319792012-04-08 Mike Frysinger <vapier@gentoo.org>
31980
31981 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31982 * sysdeps/x86_64/memset_chk.S: Likewise.
31983
54472e9c
AJ
319842012-04-08 Andreas Jaeger <aj@suse.de>
31985
6ab0fbfc
AJ
31986 [BZ #10153]
31987 * manual/startup.texi (Environment Access): Describe return value
31988 for putenv and setenv.
31989
61efba8c
AJ
31990 [BZ #6895]
31991 * manual/filesys.texi (Directory Entries): Add description for
31992 DT_LNK.
31993
95c3f29a
AJ
31994 [BZ #6890]
31995 * manual/filesys.texi (Directory Entries): Clarify that it's file
31996 system not operating system in the description of DT_UNKNOWN.
31997
54472e9c
AJ
31998 [BZ #6578]
31999 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32000
624254b1
SC
320012012-04-08 Stephen Compall <s11@member.fsf.org>
32002
32003 [BZ #6649]
32004 * manual/llio.texi (Opening and Closing Files): Add cross
32005 reference to explain mode argument.
32006
1e4920e0
MF
320072012-04-07 Mike Frysinger <vapier@gentoo.org>
32008
32009 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32010 * sysdeps/x86_64/memset_chk.S: Likewise.
32011
5ed848f3
DM
320122012-04-07 David S. Miller <davem@davemloft.net>
32013
32014 * elf/elf.h (R_SPARC_WDISP10): Define.
32015 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32016 R_SPARC_SIZE32.
32017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32018 R_SPARC_SIZE64 and R_SPARC_H34.
32019
96154cd8
CD
320202012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32021
32022 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32023 conditions and remove no longer applicable assertion.
32024
9904dc47
L
320252012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32026
32027 * bits/byteswap.h: Include <features.h>.
32028 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32029 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32030
f8887d0a
L
320312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32032
32033 * bits/byteswap.h (__bswap_16): Removed.
32034 Include <bits/byteswap-16.h> to get __bswap_16.
32035 * sysdeps/i386/bits/byteswap.h: Likewise.
32036 * sysdeps/s390/bits/byteswap.h: Likewise.
32037 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32038 * bits/byteswap-16.h: New file.
32039 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32040 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32041 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32042 * string/Makefile (headers): Add bits/byteswap-16.h.
32043
62470f60
PP
320442012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32045
32046 [BZ #13895]
32047 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32048 extra indirection.
32049 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32050 * nss/tst-nss-static.c: New.
32051
4dad7bab
RM
320522012-04-06 Robert Millan <rmh@gnu.org>
32053
32054 [BZ #6486]
32055 * manual/llio.texi (File Position Primitive): lseek
32056 refers to WHENCE when it really means OFFSET.
32057
e9142a17
AJ
320582012-04-06 Andreas Jaeger <aj@suse.de>
32059
2c040eff
AJ
32060 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32061 strncmp declarations.
32062
e9142a17
AJ
32063 * abilist/libc.abilist: Add __poll and __ppoll.
32064
ff9f1c5f
DM
320652012-04-05 David S. Miller <davem@davemloft.net>
32066
dcd2ae90
DM
32067 * scripts/check-local-headers.sh: Accept a host triplet in the
32068 path matched by the exclude regexp.
32069
993eb054
DM
32070 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32071 definition.
32072 * sysdeps/powerpc/powerpc32/dl-machine.h
32073 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32074 * sysdeps/s390/s390-32/dl-machine.h
32075 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32076 * sysdeps/sparc/sparc32/dl-machine.h
32077 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32078 * sysdeps/sparc/sparc64/dl-machine.h
32079 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32080
ff9f1c5f
DM
32081 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32082 lazy binding.
48e2e132 32083 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32084 undefined symbol errors.
32085
48e2e132 32086 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32087 DT_NEEDED entries.
32088
e80d6f94
MM
320892012-04-05 Michael Matz <matz@suse.de>
32090
32091 [BZ #13592]
32092 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32093
349fa79f
AJ
320942012-04-05 Andreas Jaeger <aj@suse.de>
32095
32096 [BZ #13908]
32097 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32098 comment.
32099
f402708f
KK
321002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32101
32102 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32103 which ROUND is no valid rounding mode.
32104
2ecccfc9
KK
321052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32106
32107 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32108 read again.
32109 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32110
8a53f50f
KK
321112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32112
32113 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32114 an exception using FPU order intentionally.
32115
321162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32117
32118 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32119 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32120 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32121 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32122
d653abb7
SJ
321232012-04-05 Simon Josefsson <simon@josefsson.org>
32124
32125 [BZ #12340]
32126 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32127 EINVAL when BUFLEN is too smal.
32128
c3b1bf7d
TS
321292012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32130
32131 [BZ #13553]
32132 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32133 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32134
b1aa60f3
AJ
321352012-04-03 Andreas Jaeger <aj@suse.de>
32136
c3b1bf7d 32137 [BZ #13938]
67f60a26
AJ
32138 * manual/setjmp.texi (System V contexts): Fix sentence.
32139
b1aa60f3
AJ
32140 [BZ #13926]
32141 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32142 New macro for this case.
32143 [!__GNUC__] (__bswap_64): New inline function for this case.
32144 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32145 * bits/byteswap.h: Likewise.
32146 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32147 ull, guard with __GLIBC_HAVE_LONG_LONG.
32148
32149 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32150 __GLIBC_HAVE_LONG_LONG.
32151
32152 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32153 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32154
39c59c35
TMQMF
321552012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32156
32157 [BZ #13691]
32158 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32159 inptr and inend, rather than using last_ch.
32160
135ffda8
DM
321612012-04-02 David S. Miller <davem@davemloft.net>
32162
32163 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32164 * stdio-common/printf-parse.h (read_int): Change return type to
32165 'int', return -1 on INT_MAX overflow.
32166 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32167 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32168 overflows INT_MAX. Check for overflow of in-format-string precision
32169 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32170 SIZE_MAX not INT_MAX for integer overflow test.
32171 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32172 skip the construct in the format string but do not record anything.
32173 * stdio-common/bug22.c: Adjust to test both width/prevision
32174 INT_MAX overflow as well as total length INT_MAX overflow. Check
32175 explicitly for proper errno values.
32176
228c019e
TS
321772012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32178
302cadd3
TS
32179 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32180 CHAR_MAX.
32181 * string/test-strcmp.c [! WIDE]: Likewise.
32182 * time/tst-mktime2.c: Likewise for INT_MAX.
32183 * string/test-string.h: #include <sys/param.h> for MIN.
32184
228c019e
TS
32185 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32186 * sysdeps/i386/init-first.c (init): Likewise.
32187 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32188 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32189 * sysdeps/sh/init-first.c (init): Likewise.
32190
cfa633f5
UD
321912012-04-01 Ulrich Drepper <drepper@gmail.com>
32192
32193 * po/ru.po: Update from translation team.
d1635ef8 32194 * po/vi.po: Likewise.
cfa633f5 32195
6cd0a5ea
SP
321962012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32197
32198 * resolv/nss_dns/dns-host.c: Merge copyright years.
32199
4b43400f
LD
322002012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32201
32202 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32203 Optimize memcpy with prefetch if
32204 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32205 src, dst pointers have unequal 16 byte alignments.
32206
48c41d04
SP
322072012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32208
32209 [BZ #13928]
32210 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32211 from a CNAME entry and return the minimum ttl for the query.
32212 (gaih_getanswer_slice): Likewise.
32213
b8dc394d
JL
322142012-03-30 Jeff Law <law@redhat.com>
32215
32216 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32217 due to long keys.
32218 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32219 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32220
2f5a5ed0
JL
32221 * resolv/nss_dns/dns-host.c: Update copyright year.
32222
1d39e359
UD
322232012-03-30 Ulrich Drepper <drepper@gmail.com>
32224
c030f70c 32225 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32226 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32227
1d39e359
UD
32228 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32229 comments for sendmmsg.
32230
322312012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32232
32233 [BZ #13691]
32234 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32235 with only 1 character between 0x0041 and 0x01b0.
32236 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32237 * wcsmbs/tst-mbsnrtowcs.c: New file.
32238
20fde227
DM
322392012-03-29 David S. Miller <davem@davemloft.net>
32240
32241 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32242 small copies by hand.
32243
984a4237
JL
322442012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32245
32246 [BZ #13761]
57f41c40
AS
32247 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32248 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32249 group memberships.
984a4237 32250
18c9d62b
DM
322512012-03-28 David S. Miller <davem@davemloft.net>
32252
88d85d4f
DM
32253 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32254 that branches into memcpy.
32255 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32256 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32257 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32258 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32259 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32260 bits.
32261 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32262 implementation too.
32263 * sysdeps/sparc/mempcpy.S: New file.
32264
e5aa83e1
DM
32265 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32266 the IFUNC routine in the libc case.
32267 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32268
88570753
DM
32269 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32270 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32271 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32272 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32273 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32274 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32275 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32276 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32277
249d7567
DM
32278 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32279 loop to 256 bytes instead of 64 bytes and fix test signedness.
32280
18c9d62b
DM
32281 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32282 * sysdeps/sparc/sparc32/Makefile: rather than here...
32283 * sysdeps/sparc/sparc64/Makefile: and here.
32284
05f3d1f6
UD
322852012-03-28 Ulrich Drepper <drepper@gmail.com>
32286
32287 * malloc/mallocbug.c: Avoid warnings about unused variables.
32288
86ae07a8
JL
322892012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32290
32291 [BZ #13760]
32292 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32293 in the right place. Discard and retry query if response is
32294 larger than input buffer size.
32295
41bf21a1
JM
322962012-03-28 Joseph Myers <joseph@codesourcery.com>
32297
d6270972
JM
32298 [BZ #369]
32299 [BZ #2678]
32300 [BZ #3866]
32301 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32302 x for large integer exponent.
32303 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32304 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32305 sign of result as needed afterwards.
32306 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32307 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32308 result for underflowing pow the same as for overflow.
32309 (__kernel_standard_l): Handle powl overflow and underflow here
32310 rather than calling __kernel_standard.
32311 * math/libm-test.inc (pow_test): Add more tests.
32312
414fca03 32313 [BZ #3868]
41bf21a1
JM
32314 [BZ #13879]
32315 [BZ #13910]
32316 [BZ #13911]
32317 [BZ #13912]
32318 [BZ #13913]
32319 [BZ #13915]
32320 [BZ #13916]
32321 [BZ #13917]
32322 [BZ #13918]
32323 [BZ #13919]
32324 [BZ #13920]
32325 [BZ #13921]
32326 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32327 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32328 (__kernel_standard_l): New function.
32329 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32330 __kernel_standard.
32331 * math/w_acosl.c (__acosl): Likewise.
32332 * math/w_asinl.c (__asinl): Likewise.
32333 * math/w_atan2l.c (__atan2l): Likewise.
32334 * math/w_atanhl.c (__atanhl): Likewise.
32335 * math/w_coshl.c (__coshl): Likewise.
32336 * math/w_exp10l.c (__exp10l): Likewise.
32337 * math/w_exp2l.c (__exp2l): Likewise.
32338 * math/w_fmodl.c (__fmodl): Likewise.
32339 * math/w_hypotl.c (__hypotl): Likewise.
32340 * math/w_j0l.c (__j0l, __y0l): Likewise.
32341 * math/w_j1l.c (__j1l, __y1l): Likewise.
32342 * math/w_jnl.c (__jnl, __ynl): Likewise.
32343 * math/w_lgammal.c (__lgammal): Likewise.
32344 * math/w_log10l.c (__log10l): Likewise.
32345 * math/w_log2l.c (__log2l): Likewise.
32346 * math/w_logl.c (__logl): Likewise.
32347 * math/w_powl.c (__powl): Likewise.
32348 * math/w_remainderl.c (__remainderl): Likewise.
32349 * math/w_scalbl.c (sysv_scalbl): Likewise.
32350 * math/w_sinhl.c (__sinhl): Likewise.
32351 * math/w_sqrtl.c (__sqrtl): Likewise.
32352 * math/w_tgammal.c (__tgammal): Likewise.
32353 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32354 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32355 * math/libm-test.inc (acos_test): Add more tests.
32356 (acosh_test): Likewise.
32357 (asin_test): Likewise.
32358 (atanh_test): Likewise.
32359 (exp_test): Likewise.
32360 (exp10_test): Likewise.
32361 (exp2_test): Likewise.
32362 (expm1_test): Likewise.
32363 (lgamma_test): Likewise.
32364 (log_test): Likewise.
32365 (log10_test): Likewise.
32366 (log1p_test): Likewise.
32367 (log2_test): Likewise.
32368 (pow_test): Do not allow some spurious overflow exceptions.
32369 (sqrt_test): Add more tests.
32370 (tgamma_test): Likewise.
32371 (y0_test): Likewise.
32372 (y1_test): Likewise.
32373 (yn_test): Likewise.
32374
dd62fda6
AB
323752012-03-27 Anton Blanchard <anton@samba.org>
32376
32377 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32378 MAP_HUGETLB.
32379 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32380 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32381 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32382
1e3cdfda
AJ
323832012-03-27 David S. Miller <davem@davemloft.net>
32384
b855ab85
DM
32385 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32386
1e3cdfda
AJ
32387 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32388 have-as-vis3 check.
32389
323902012-03-27 Andreas Jaeger <aj@suse.de>
32391
32392 * sysdeps/x86_64/elf/configure.in: Moved to ...
32393 * sysdeps/x86_64/configure.in: ... here.
32394 * sysdeps/x86_64/elf/start.S: Moved to ...
32395 * sysdeps/x86_64/start.S: ... here.
32396 * sysdeps/x86_64/elf/configure: Delete.
32397
32398 * sysdeps/x86_64/configure.in: Merge contents from
32399 sysdeps/i386/configure.in (without i686 check).
32400
32401 * sysdeps/i386/elf/Versions: Merge into ...
32402 * sysdeps/i386/Versions: ... this.
32403 * sysdeps/i386/elf/Versions: Delete file.
32404 * sysdeps/i386/elf/start.S: Moved to ...
32405 * sysdeps/i386/start.S: ...here.
32406 * sysdeps/i386/elf/configure.in: Merge into...
32407 * sysdeps/i386/configure.in: ...here.
32408 * sysdeps/i386/elf/configure.in: Delete file.
32409 * sysdeps/i386/elf/configure: Delete file.
32410
32411 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32412 * debug/backtracesyms.c: ... here.
32413 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32414 * debug/backtracesymsfd.c: ... here.
32415 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32416 * sysdeps/generic/ifunc-sel.h: ... here.
32417
32418 * sysdeps/unix/i386/start.c: Delete file.
32419 * sysdeps/unix/sparc/start.c: Delete file.
32420 * sysdeps/unix/start.c: Delete file.
32421
32422 * sysdeps/sh/elf/configure.in: Moved to ...
32423 * sysdeps/sh/configure.in: ... here.
32424 * sysdeps/sh/elf/start.S: Moved to ...
32425 * sysdeps/sh/start.S: ... here.
32426 * sysdeps/sh/elf/configure: Delete file.
32427
32428 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32429 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32430 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32431 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32432 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32433 * sysdeps/powerpc/powerpc64/start.S: here.
32434 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32435 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32436 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32437 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32438 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32439
32440 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32441 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32442 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32443 * sysdeps/powerpc/powerpc32/start.S: ... here.
32444 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32445 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32446 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32447
32448 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32449 * sysdeps/powerpc/ifunc-sel.h: ... here.
32450 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32451 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32452
32453 * sysdeps/sparc/elf/configure.in: Moved to ...
32454 * sysdeps/sparc/configure.in: ... here.
32455 * sysdeps/sparc/elf/configure: Delete file.
32456 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32457 * sysdeps/sparc/sparc32/start.S: ... here.
32458 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32459 * sysdeps/sparc/sparc64/start.S: ... here.
32460 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32461 * sysdeps/sparc/sparc32/Makefile: ... this.
32462 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32463 * sysdeps/sparc/sparc64/Makefile: ... this.
32464
32465 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32466 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32467 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32468 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32469 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32470 * sysdeps/s390/s390-32/setjmp.S: ... here.
32471 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32472 * sysdeps/s390/s390-32/configure.in: ... here.
32473 * sysdeps/s390/s390-32/elf/configure: Delete file.
32474 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32475 * sysdeps/s390/s390-32/start.S: ... here.
32476
32477 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32478 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32479 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32480 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32481 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32482 * sysdeps/s390/s390-64/setjmp.S: ... here.
32483 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32484 * sysdeps/s390/s390-64/configure.in: ... here
32485 * sysdeps/s390/s390-64/elf/configure: Delete file.
32486 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32487 * sysdeps/s390/s390-64/start.S: ... here.
32488 * sysdeps/s390/s390-64/elf/configure: Delete.
32489
32490 * configure.in: Remove support for elf directories in sysdeps.
32491
32492 * configure: Regenerated.
32493 * sysdeps/i386/configure: Regenerated.
32494 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32495 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32496 * sysdeps/s390/s390-32/configure: Regenerated.
32497 * sysdeps/s390/s390-64/configure: Regenerated.
32498 * sysdeps/sh/configure: Regenerated.
32499 * sysdeps/sparc/configure: Regenerated.
32500 * sysdeps/x86_64/configure: Regenerated.
32501
a3f61311
AS
325022012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32503
c876e002
AS
32504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32505
a3f61311
AS
32506 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32507 denormal result into account.
32508
ac4c54f0
RM
325092012-03-25 Roland McGrath <roland@hack.frob.com>
32510
32511 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32512 Reported by Allan McRae <allan@archlinux.org>.
32513
6a9b9c02
JL
325142012-03-23 Jeff Law <law@redhat.com>
32515
32516 * nss/getnssent.c (__nss_getent): Fix typo.
32517
4c42a0c1
DM
325182012-03-23 David S. Miller <davem@davemloft.net>
32519
32520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32521
1532c7ac
L
325222012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32523
32524 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32525 to pad to uint64_t for each field.
32526 (dl_tls_index): Replace unsigned long with uint64_t.
32527
3ff42526
PP
325282012-03-23 Daniel Jacobowitz <dmj@google.com>
32529 Paul Pluzhnikov <ppluzhnikov@google.com>
32530
32531 [BZ #6528]
32532 * grp/Makefile (otherlibs): Don't set it.
32533 * inet/Makefile (otherlibs): Likewise.
32534 * login/Makefile (otherlibs): Likewise.
32535 * nscd/Makefile (otherlibs): Likewise.
32536 * posix/Makefile (otherlibs): Likewise.
32537 * pwd/Makefile (otherlibs): Likewise.
32538 * rt/Makefile (otherlibs): Likewise.
32539 * sunrpc/Makefile (otherlibs): Likewise.
32540 * nss/Makefile (otherlibs): Likewise.
32541 Add libnss_files to routines and static-only-routines.
32542 ($(objpfx)getent): Remove rule.
32543 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32544 static-only-routines.
32545
7c69cd14
JM
325462012-03-22 Joseph Myers <joseph@codesourcery.com>
32547
32548 [BZ #13892]
32549 * math/s_cexp.c: Include <float.h>.
32550 (__cexp): Handle exp result overflowing not necessarily
32551 overflowing both real and imaginary parts of result.
32552 * math/s_cexpf.c: Likewise.
32553 * math/s_cexpl.c: Likewise.
32554 * math/libm-test.inc (cexp_test): Add more tests.
32555 * sysdeps/i386/fpu/libm-test-ulps: Update.
32556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32557
81b035fe
L
325582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32559
32560 * include/link.h (ELFW): New macro.
32561 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32562 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32563
1da7940c
L
325642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32565
32566 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32567 with uint64_t.
32568
b749dbb9
L
325692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32570
32571 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32572 declaration.
32573 (struct La_x32_retval): Likewise.
32574
2ff87f3f
L
325752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32576
32577 * sysdeps/x86_64/preconfigure.in: New file.
32578 * sysdeps/x86_64/preconfigure: New generated file.
32579
c0df8e69
JM
325802012-03-22 Joseph Myers <joseph@codesourcery.com>
32581
48e44791
JM
32582 [BZ #13824]
32583 * math/e_exp2l.c: Include <float.h>.
32584 (__ieee754_exp2l): Handle overflow and underflow cases
32585 separately. Only pass fractional part of argument to
32586 __ieee754_expl.
32587 * math/libm-test.inc (exp2_test): Add more tests.
32588
c0df8e69
JM
32589 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32590 negating x to take absolute value.
32591 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32592 Likewise.
32593 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32594 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32595 Likewise.
32596 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32597 computing low part if x was negated.
32598 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32599
c8e43ba7
L
326002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32601
32602 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32603 la_x32_gnu_pltexit.
32604 (pltexit): Cast int_retval to ptrdiff_t.
32605 * elf/tst-auditmod3b.c: Likewise.
32606 * elf/tst-auditmod4b.c: Likewise.
32607 * elf/tst-auditmod5b.c: Likewise.
32608 * elf/tst-auditmod6b.c: Likewise.
32609 * elf/tst-auditmod6c.c: Likewise.
32610 * elf/tst-auditmod7b.c: Likewise.
32611
32612 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32613 and x32_gnu_pltexit.
32614
32615 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32616 __ELF_NATIVE_CLASS.
32617 (La_x32_regs): New macro.
32618 (La_x32_retval): Likewise.
32619 (la_x32_gnu_pltenter): New function prototype.
32620 (la_x32_gnu_pltexit): Likewise.
32621
7998fa78
AS
326222012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32623
dcb33988
AS
32624 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32625 exponent.
32626
233fc563
AS
32627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32628
7998fa78
AS
32629 * configure.in (libc_cv_cc_nofma): Check for option to disable
32630 generation of FMA instructions.
32631 * configure: Regenerate.
32632 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32633 * sysdeps/ieee754/dbl-64/Makefile: New file.
32634 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32635 Remove brandred-fma4.
32636 (CFLAGS-brandred-fma4.c): Remove.
32637 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32638 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32639 define.
32640 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32641 define.
32642
8e95c99a
L
326432012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32644
32645 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32646 LLONG_MAX != LONG_MAX.
32647 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32648 (_fitoa_word): Likewise.
32649 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32650 LLONG_MAX != LONG_MAX.
32651 * stdio-common/_itowa.h: Include <_itoa.h>.
32652 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32653 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32654 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32655 only if not defined.
32656 (_ITOA_WORD_TYPE): Likewise.
32657 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32658 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32659
6f4db457
DM
326602012-03-21 David S. Miller <davem@davemloft.net>
32661
32662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32663
7785fe5a
L
326642012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32665
32666 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32667 of x86_64 when setting libc_cv_slibdir, libdir and
32668 libc_cv_localedir.
32669 * sysdeps/unix/sysv/linux/configure: Regenerated.
32670
4535cd55
JM
326712012-03-21 Joseph Myers <joseph@codesourcery.com>
32672
32673 * manual/lang.texi (Old Varargs): Remove section.
32674 (How Variadic): Update menu.
32675 (va_start): Do not mention varargs.h.
32676
17228132
TS
326772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32678 Joseph Myers <joseph@codesourcery.com>
32679
32680 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32681 link test.
32682 * configure: Regenerated.
32683
8149f976
TS
326842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32685
05f3d1f6
UD
32686 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32687 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32688 conformtest.pl
8149f976 32689
1a4ac776
JM
326902012-03-21 Joseph Myers <joseph@codesourcery.com>
32691
be22ce65
JM
32692 * NOTES: Remove.
32693 * Makefile (files-for-dist): Remove NOTES.
32694 (NOTES): Remove rule.
32695 * README: Don't refer to NOTES.
32696 * manual/creature.texi: Don't include macros.texi.
32697 * manual/intro.texi (creature.texi): Remove comment referring to
32698 NOTES.
32699
40b601fb
JM
32700 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32701 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32702 * configure: Regenerated.
32703 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32704 LIBC_TRY_CC_OPTION.
32705 (libc_cv_as_i686): Likewise.
32706 (libc_cv_cc_avx): Likewise.
32707 (libc_cv_cc_sse2avx): Likewise.
32708 (libc_cv_cc_fma4): Likewise.
32709 (libc_cv_cc_novzeroupper): Likewise.
32710 * sysdeps/i386/configure: Regenerated.
32711
1a4ac776
JM
32712 [BZ #13883]
32713 * sysdeps/i386/fpu/s_cexp.S: Remove.
32714 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32715 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32716 * math/libm-test.inc (cexp_test): Add more tests.
32717 * sysdeps/i386/fpu/libm-test-ulps: Update.
32718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32719
a458e7fe
AM
327202012-03-21 Allan McRae <allan@archlinux.org>
32721
32722 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32723
0cb7efc5
JM
327242012-03-21 Joseph Myers <joseph@codesourcery.com>
32725
32726 [BZ #13871]
32727 * math/w_exp2.c: Do not include <float.h>.
32728 (o_threshold, u_threshold): Remove.
32729 (__exp2): Calculate result before checking finiteness and calling
32730 __kernel_standard.
32731 * math/w_exp2f.c: Likewise.
32732 * math/w_exp2l.c: Likewise.
32733 * math/libm-test.inc (exp2_test): Require overflow exception for
32734 1e6 input.
2460d3aa
JM
32735
32736 [BZ #3866]
32737 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32738 range of signed 64-bit integers before using fistpll. Remove
32739 checks for whether integers fit in mantissa bits.
32740 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32741 the range of signed 32-bit integers before using fistpl. Remove
32742 checks for whether integers fit in mantissa bits.
32743 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32744 (__ieee754_powl): Test for y outside the range of signed 64-bit
32745 integers before using fistpll. Reduce 64-bit values to 63-bit
32746 ones as needed.
32747 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32748 divide-by-zero is raised for zero to large negative powers.
32749 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32750 (__ieee754_powl): Test for y outside the range of signed 64-bit
32751 integers before using fistpll. Reduce 64-bit values to 63-bit
32752 ones as needed.
32753 * math/libm-test.inc (pow_test): Add more tests.
32754
eb96ffb0
L
327552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32756
32757 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32758 <stdio-common/_itoa.h>.
32759 * debug/segfault.c: Likewise.
32760 * elf/dl-cache.c: Likewise.
32761 * elf/dl-minimal.c: Likewise.
32762 * elf/dl-misc.c: Likewise.
32763 * elf/dl-sysdep.c: Likewise.
32764 * elf/dl-version.c: Likewise.
32765 * elf/rtld.c: Likewise.
32766 * hurd/hurdsock.c: Likewise.
32767 * hurd/lookup-retry.c: Likewise.
32768 * malloc/malloc.c: Likewise.
32769 * malloc/mtrace.c: Likewise.
32770 * nscd/nscd_getgr_r.c: Likewise.
32771 * nscd/nscd_getpw_r.c: Likewise.
32772 * nscd/nscd_getserv_r.c: Likewise.
32773 * posix/getopt_init.c: Likewise.
32774 * posix/wordexp.c: Likewise.
32775 * stdio-common/_itoa.c: Likewise.
32776 * stdio-common/printf_fphex.c: Likewise.
32777 * stdio-common/vfprintf.c: Likewise.
32778 * string/_strerror.c: Likewise.
32779 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32780 * sysdeps/i386/i686/hp-timing.h: Likewise.
32781 * sysdeps/mach/_strerror.c: Likewise.
32782 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32783 * sysdeps/mach/hurd/sethostid.c: Likewise.
32784 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32785 * sysdeps/mach/xpg-strerror.c: Likewise.
32786 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32787 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32788 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32789 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32790 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32791 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32792 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32793 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32794 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32795 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32796 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32797 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32798 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32799 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32800 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32801 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32802 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32803 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32804 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32805 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32806 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32807
32808 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32809
32810 * stdio-common/_itoa.h: Moved to ...
32811 * sysdeps/generic/_itoa.h: Here.
32812
32813 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32814
32815 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32816 instead of "_itoa.h" and "_itowa.h".
32817 * stdio-common/vfprintf.: Likewise.
32818
d1af992d
L
328192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32820
32821 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32822 <bits/wordsize.h>.
32823 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32824 (__signbit): Likwise.
32825 (llrintf): Likwise.
32826 (llrint): Likwise.
32827
114883e0
L
328282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32829
32830 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32831 __WORDSIZE != 64.
32832
c135cc1b
JM
328332012-03-20 Joseph Myers <joseph@codesourcery.com>
32834
32835 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32836 OVERFLOW_EXCEPTION_OK.
32837 * math/libm-test.inc ("Philosophy"): Update comment about
32838 exception testing.
32839 (OVERFLOW_EXCEPTION): Define.
32840 (OVERFLOW_EXCEPTION_OK): Likewise.
32841 (INVALID_EXCEPTION_OK): Renumber.
32842 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32843 (IGNORE_ZERO_INF_SIGN): Likewise.
32844 (test_exceptions): Handle FE_OVERFLOW.
32845 (exp10_test): Expect overflow exceptions.
32846 (exp2_test): Likewise.
32847 (expm1_test): Likewise.
32848 (nextafter_test): Likewise.
32849 (pow_test): Likewise.
32850 (scalbn_test): Likewise.
32851 (scalbln_test): Likewise.
32852
95443d88
L
328532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32854
32855 * sysdeps/x86_64/bits/atomic.h
32856 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32857 64bit integer.
32858 (atomic_exchange_acq): Likewise.
32859 (__arch_exchange_and_add_body): Likewise.
32860 (__arch_add_body): Likewise.
32861 (atomic_add_negative): Likewise.
32862 (atomic_add_zero): Likewise.
32863
490df6c4
L
328642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32865
c2722551 32866 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32867 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32868
5e52b189
L
328692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32870
32871 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32872 Check __x86_64__ instead of __WORDSIZE.
32873
a9879d4c
L
328742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32875
32876 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32877
5df98260
DM
328782012-03-19 David S. Miller <davem@davemloft.net>
32879
e1497744
DM
32880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32881
5df98260
DM
32882 * sysdeps/sparc/fpu/fenv_private.h: New file.
32883 * sysdeps/sparc/fpu/math_private.h: Use it.
32884 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32885 Remove.
57f41c40 32886 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
32887 (libc_feholdexcept_setroundl): Remove.
32888 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32889 Remove.
32890 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32891 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32892
b4c35121
L
328932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32894
32895 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32896 int64_t instead of long int.
32897 (INSERT_WORDS64): Likwise.
32898
56965fd7
L
328992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32900
32901 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32902 _Unwind_GetCFA return to _Unwind_Ptr first.
32903
83d1aec8
JM
329042012-03-19 Joseph Myers <joseph@codesourcery.com>
32905
1897ad44
JM
32906 [BZ #13629]
32907 * math/s_clog.c: Include <float.h>.
32908 (__clog): Scale large or subnormal inputs.
32909 * math/s_clogf.c: Likewise.
32910 * math/s_clogl.c: Likewise.
32911 * math/s_clog10.c: Include <float.h>.
32912 (M_LOG10_2): Define.
32913 (__clog10): Scale large or subnormal inputs.
32914 * math/s_clog10f.c: Likewise.
32915 * math/s_clog10l.c: Likewise.
32916 * math/libm-test.inc (clog_test): Add more tests.
32917 (clog10_test): Likewise.
32918 * sysdeps/i386/fpu/libm-test-ulps: Update.
32919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32920
7726d6a9
JM
32921 [BZ #11451]
32922 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32923 x and y.
32924 * math/libm-test.inc (atan2_test): Add another test.
32925
83d1aec8
JM
32926 * Makerules (common-objdir-compile): Remove.
32927 * sysdeps/unix/Makefile (config-generated): Do not add
32928 $(unix-generated) to variable.
32929 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32930 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32931 Remove rule.
32932 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32933 Likewise.
32934 [generic bits/local_lim.h] (before-compile): Do not append to
32935 variable.
32936 [generic bits/local_lim.h] (common-generated): Likewise.
32937 [generic sys/param.h] (before-compile): Do not append to variable.
32938 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32939 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32940 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32941 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32942 include.
32943 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32944 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32945 [generic sys/param.h] ($(addprefix
32946 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32947 [generic sys/param.h] (common-generated): Do not append to
32948 variable.
32949 [generic sys/param.h] (sysdep_headers): Likewise.
32950 [generic bits/errno.h] (before-compile): Do not append to
32951 variable.
32952 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32953 rule.
32954 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32955 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32956 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32957 [generic bits/errno.h] (common-generated): Do not append to
32958 variable.
32959 [generic bits/ioctls.h] (before-compile): Do not append to
32960 variable.
32961 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32962 rule.
32963 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32964 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32965 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32966 rule.
32967 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32968 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32969 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32970 [generic bits/ioctls.h] (common-generated): Do not append to
32971 variable.
32972 [generic sys/syscall.h] (syscall.h): Remove variable.
32973 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32974 rule.
32975 [generic sys/syscall.h] (before-compile): Do not append to
32976 variable.
32977 [generic sys/syscall.h] (common-generated): Likewise.
32978 * sysdeps/unix/errnos-tmpl.c: Remove file.
32979 * sysdeps/unix/errnos.awk: Likewise.
32980 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32981 * sysdeps/unix/ioctls.awk: Likewise.
32982 * sysdeps/unix/mk-local_lim.c: Likewise.
32983 * sysdeps/unix/snarf-ioctls: Likewise.
32984
4851a949
RH
329852012-03-19 Richard Henderson <rth@twiddle.net>
32986
bd37f2ee
RH
32987 * sysdeps/i386/fpu/fenv_private.h: New file.
32988 * sysdeps/i386/fpu/math_private.h: Use it.
32989 (math_opt_barrier, math_force_eval): Remove.
32990 (libc_feholdexcept_setround_53bit): Remove.
32991 (libc_feupdateenv_53bit): Remove.
32992 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32993 (math_opt_barrier, math_force_eval): Remove.
32994 (libc_feholdexcept): Remove.
32995 (libc_feholdexcept_setround): Remove.
32996 (libc_fetestexcept, libc_fesetenv): Remove.
32997 (libc_feupdateenv_test): Remove.
32998 (libc_feupdateenv, libc_feholdsetround): Remove.
32999 (libc_feresetround): Remove.
33000
d0adc922
RH
33001 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33002 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33003
0fe0f1f8
RH
33004 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33005 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33006 (libc_feupdateenv_testl): New.
33007 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33008 (libc_feupdateenv_testf): New.
33009 (libc_feupdateenv): Use libc_feupdateenv_test.
33010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33011 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33012
eb92c487
RH
33013 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33014 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33015 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33016 (libc_feresetround_noex): New.
33017 (libc_feresetround_noexf): New.
33018 (libc_feresetround_noexl): New.
33019 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33020 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33021 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33022 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33023 SET_RESTORE_ROUND.
33024 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33025 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33026 (__cos): Likewise.
33027 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33028 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33029 SET_RESTORE_ROUND_NOEX.
33030 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33031 SET_RESTORE_ROUND_NOEXF.
33032 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33033 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33034 (libc_feholdsetroundf): New.
33035 (libc_feresetround, libc_feresetroundf): New.
33036
7d2e8012
RH
33037 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33038 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33039 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33040
b4dabbb4
RH
33041 * sysdeps/generic/math_private.h: Include <fenv.h>.
33042 (default_libc_feholdexcept): New.
33043 (default_libc_feholdexcept_setround): New.
33044 (default_libc_fesetenv, default_libc_feupdateenv): New.
33045 (libc_feholdexcept): Only define if undefined.
33046 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33047 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33048 (libc_feholdexcept_setroundl): Likewise.
33049 (libc_feholdexcept_setround_53bit): Likewise.
33050 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33051 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33052 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33053 (libc_feupdateenv_53bit): Likewise.
33054 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33055 (libc_feholdexcept): Convert from macro to inline function.
33056 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33057 (libc_fesetenv, libc_feupdateenv): Likewise.
33058
4851a949
RH
33059 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33060 not previously defined.
33061 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33062 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33063 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33064 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33065 * sysdeps/ieee754/flt-32/math_private.h: New file.
33066 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33067 math_private.h below SET_FLOAT_WORD.
33068 (__isnan, __isinf_ns, __finite): Remove.
33069 (__isnanf, __isinf_nsf, __finitef): Remove.
33070
e79d442e
AS
330712012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33072
33073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33074
90b80344
DM
330752012-03-17 David S. Miller <davem@davemloft.net>
33076
33077 [BZ #6471]
33078 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33079 for 2.16.
33080
edc21804
DM
330812012-03-16 David S. Miller <davem@davemloft.net>
33082
77e927af
DM
33083 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33084 warnings.
33085
374976dd
DM
33086 [BZ #6471]
33087 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33088 properly.
33089 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33090 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33091 sysdep_routines when subdir is sysvipc.
33092 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33093 __getshmlba helper.
33094
edc21804
DM
33095 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33096
473c3ef3
L
330972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33098
33099 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33100 [__LP64__].
33101
eb0f39b6
L
331022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33103
33104 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33105 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33106 (__lround): Renamed to ...
33107 (__llround): This. Replace long int with long long int.
33108 Define lround functions as aliases of llround functions.
33109 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33110
6b6cd74b
L
331112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33112
33113 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33114 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33115 adresses to uintptr_t. Replace "long int" and "unsigned long
33116 int" with "greg_t" on va_arg.
33117
f1a77b01
L
331182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33119
33120 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33121 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33122
33123 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33124 Move e_machine check before EI_CLASS check. Handle x32
33125 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33126 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33127 SKIP_EM_IA_64 and include
33128 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33129
33130 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33131 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33132 (add_system_dir): New macro.
33133
33134 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33135 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33136
11b90b9f
JM
331372012-03-16 Joseph Myers <joseph@codesourcery.com>
33138
c36e1d23
JM
33139 [BZ #2551]
33140 [BZ #2552]
33141 [BZ #2553]
33142 [BZ #2554]
33143 [BZ #2562]
33144 [BZ #2563]
33145 [BZ #2565]
33146 [BZ #2566]
33147 [BZ #2576]
33148 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33149 (y0): Likewise.
33150 * math/w_j0f.c (j0f): Likewise.
33151 (y0f): Likewise.
33152 * math/w_j0l.c (__j0l): Likewise.
33153 (__y0l): Likewise.
33154 * math/w_j1.c (j1): Likewise.
33155 (y1): Likewise.
33156 * math/w_j1f.c (j1f): Likewise.
33157 (y1f): Likewise.
33158 * math/w_j1l.c (__j1l): Likewise.
33159 (__y1l): Likewise.
33160 * math/w_jn.c (jn): Likewise.
33161 (yn): Likewise.
33162 * math/w_jnf.c (jnf): Likewise.
33163 (ynf): Likewise.
33164 * math/w_jnl.c (__jnl): Likewise.
33165 (__ynl): Likewise.
33166 * math/libm-test.inc (j0_test): Add more tests.
33167 (j1_test): Likewise.
33168 (jn_test): Likewise. Add trailing semicolon to existing test.
33169 (y0_test): Likewise.
33170 (y1_test): Likewise.
33171 * sysdeps/i386/fpu/libm-test-ulps: Update.
33172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33173
11b90b9f
JM
33174 [BZ #13851]
33175 [BZ #13854]
33176 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33177 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33178 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33179 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33180 (__tanl): Set errno for infinite argument.
33181 * sysdeps/i386/fpu/mptan.c: Remove.
33182 * sysdeps/i386/fpu/s_tan.S: Likewise.
33183 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33184 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33185 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33186 * math/libm-test.inc (tan_test): Add more tests and enable more
33187 tests for double and long double.
33188 * sysdeps/i386/fpu/libm-test-ulps: Update.
33189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33190
6a1bd2a1
JK
331912012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33192
33193 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33194 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33195
10a803e0
RM
331962012-03-16 Roland McGrath <roland@hack.frob.com>
33197
33198 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33199 * configure.in: Use it for both main tree and add-ons.
33200 * configure: Regenerated.
33201
f196c7f7
L
332022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33203
33204 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33205
8848d99d
JM
332062012-03-16 Joseph Myers <joseph@codesourcery.com>
33207
96cbe7f4
JM
33208 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33209 in comment.
33210
8848d99d
JM
33211 [BZ #13851]
33212 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33213 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33214 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33215 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33216 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33217 infinite argument.
33218 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33219 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33220 != 0 for prec == 2.
33221 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33222 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33223 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33224 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33225 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33226 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33227 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33228 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33229 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33230 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33231 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33232 * math/libm-test.inc (cos_test): Add more tests and enable more
33233 tests for long double.
33234 (sin_test): Likewise.
33235 (sincos_test): Likewise.
33236 * sysdeps/i386/fpu/libm-test-ulps: Update.
33237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33238
dd7f4703
DM
332392012-03-16 David S. Miller <davem@davemloft.net>
33240
33241 * sysdeps/sparc/fpu/math_private.h: New file.
33242
006f1daa
DM
332432012-03-15 David S. Miller <davem@davemloft.net>
33244
c0c83bc8
DM
33245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33246 file.
e6a62e18 33247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33249 file.
e6a62e18
DM
33250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33256 sysdep routines.
33257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33258
88cb87d9
DM
33259 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33260 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33261
006f1daa 33262 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33264 sparc-ifunc.h
006f1daa 33265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33267 Likewise.
33268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33269 Likewise.
006f1daa
DM
33270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33274 Likewise.
006f1daa
DM
33275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33280 Likewise.
33281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33282 Likewise.
006f1daa
DM
33283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33290 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33300 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33304 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33305 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33306 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33307
11e0098e
AS
333082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33309
33310 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33311 scaling.
33312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33313
e85b09d0
AJ
333142012-03-15 Andreas Jaeger <aj@suse.de>
33315
33316 [BZ #13852]
33317 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33318 ieee754/flt-32 implementation for sin, cos and sincos.
33319 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33320 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33321 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33322 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33323 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33324 ieee754/flt-32 implementation for tan.
33325
33326 * math/libm-test.inc (cos_test): Enable some large input tests for
33327 float as well
33328 (sin_test): Likewise.
33329 (sincos_test): Likewise.
33330 (tan_test): Add tests for large input.
33331
33332 * sysdeps/i386/fpu/libm-test-ulps: Update.
33333
81c64153
AJ
333342012-03-15 Andreas Jaeger <aj@suse.de>
33335
33336 [BZ #13658]
33337 * math/libm-test.inc (cos_test): Add more test cases.
33338 (sin_test): Likewise.
33339 (sincos_test): Likewise.
33340
7bbfa5c6
AJ
333412012-03-15 Andreas Jaeger <aj@suse.de>
33342
33343 [BZ #13837]
33344 * math/libm-test.inc (cos_test): Add a test case for large input
33345 value.
33346 (sin_test): Likewise.
33347 (sincos_test): Likewise.
33348
57f41c40
AS
333492012-03-15 Andreas Jaeger <aj@suse.de>
33350 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
33351
33352 [BZ #13658]
0671f479 33353 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33354 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33355 * sysdeps/i386/fpu/branred.c: Likewise.
33356 * sysdeps/i386/fpu/dosincos.c: Likewise.
33357 * sysdeps/i386/fpu/mpa.c: Likewise.
33358 * sysdeps/i386/fpu/s_cos.S: Likewise.
33359 * sysdeps/i386/fpu/s_sin.S: Likewise.
33360 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33361 * sysdeps/i386/fpu/sincos32.c: Likewise.
33362
33363 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33364 Define.
33365 (libc_feupdateenv_53bit): Define.
33366 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33367 Define.
33368 (libc_feupdateenv_53bit): Define.
33369
33370 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33371 53 bit (without extend i386 double precision).
33372
33373 * math/libm-test.inc (sincos_test): Add tests for large input.
33374 (sin): Likewise.
33375 (cos): Likewise.
33376
33377 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33378
9cad04ea
AS
333792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33380
33381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33382
f7062b9a
DM
333832012-03-15 David S. Miller <davem@davemloft.net>
33384
33385 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33386 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33387 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33388 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33401 file.
f7062b9a 33402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33404 file.
f7062b9a 33405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33407 file.
f7062b9a 33408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33410 file.
f7062b9a
DM
33411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33412 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33413 fmin/fmax sysdep routines.
33414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33415
7bd951ff
DM
334162012-03-14 David S. Miller <davem@davemloft.net>
33417
559398ab
DM
33418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33422 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33425 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33438 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33439 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33440 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33441 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33442 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33443 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33445 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33446 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33447 routines.
33448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33449 file.
559398ab 33450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33452 file.
559398ab 33453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33455 file.
559398ab 33456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33458 file.
559398ab 33459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33461 file.
559398ab 33462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33464 file.
33465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33466 file.
33467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33468 file.
33469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33470 file.
33471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33472 New file.
33473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33474 file.
33475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33476 file.
559398ab 33477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33479 file.
559398ab 33480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33482 file.
559398ab 33483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33485 file.
559398ab 33486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33488 VIS3 routines.
559398ab
DM
33489
33490 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33491 New file.
33492
5a1c1e32
DM
33493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33494
eae47a36
DM
33495 * sysdeps/sparc/configure.in: New file.
33496 * sysdeps/sparc/configure: Generate.
33497 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33498 * configure: Regenerate.
33499 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33500 * config.make.in (have-as-vis3): New.
33501 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33502 available use -Av9d instead of -Av9a.
33503 * sysdeps/sparc/sparc64/Makefile: Likewise.
33504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33506 New file.
33507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33508 file.
33509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33510 New file.
33511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33512 file.
eae47a36
DM
33513 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33514 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33515 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33516 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33517 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33518
c0c83bc8
DM
33519 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33520 fzeros/fnegs to load 0x80000000 into a float register instead of
33521 using the stack.
7bd951ff
DM
33522 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33523
bd951ccb
JM
335242012-03-14 Joseph Myers <joseph@codesourcery.com>
33525
33526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33527 bits/syscall.h.
33528 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33529 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33530 ($(inst_includedir)/bits/syscall.h): Remove rule.
33531 ($(objpfx)bits/syscall.d): Include instead of
33532 $(objpfx)syscall-list.d.
33533 (generated): Change syscall-list.h and syscall-list.d to
33534 bits/syscall.h and bits/syscall.d.
33535
bb4e6db2
RM
335362012-03-14 Roland McGrath <roland@hack.frob.com>
33537
33538 [BZ #13846]
33539 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33540
aa4a2ae1
JM
335412012-03-14 Joseph Myers <joseph@codesourcery.com>
33542
e456826d
JM
33543 [BZ #13841]
33544 * math/s_csqrt.c: Include <float.h>.
33545 (__csqrt): Scale large or subnormal inputs.
33546 * math/s_csqrtf.c: Likewise.
33547 * math/s_csqrtl.c: Likewise.
33548 * math/libm-test.inc (csqrt_test): Add more tests.
33549 * sysdeps/i386/fpu/libm-test-ulps: Update.
33550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33551
aa4a2ae1
JM
33552 [BZ #13840]
33553 * math/libm-test.inc (hypot_test): Add more tests.
33554
7c10fd35
DM
335552012-03-13 David S. Miller <davem@davemloft.net>
33556
33557 [BZ #13840]
33558 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33559 double-precision for the calculation instead of scaling.
33560
f453b98b
JM
335612012-03-13 Joseph Myers <joseph@codesourcery.com>
33562
33563 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33564 manipulate bits before adding and subtracting TWO52[sx].
33565 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33566 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33567 Likewise.
33568 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33569
09a3453f
DM
335702012-03-13 David S. Miller <davem@davemloft.net>
33571
8e59da90
DM
33572 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33573 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33574 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33575 rtld-global-offsets.h
33576 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33577
2a8ab7f2
DM
33578 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33579 large parameters.
33580
10f62770
DM
33581 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33582
5f0bdb18
DM
33583 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33584 'err' in the ifdef scope in which it is actually used.
33585
09a3453f
DM
33586 * nss/nss_db/db-init.c: Include string.h
33587
b4b2eb5e
DM
335882012-03-12 David S. Miller <davem@davemloft.net>
33589
98bb2f1c
DM
33590 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33591 masking out of the most significant byte of random value used.
33592 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33593 Fix coding style in previous change.
33594
b4b2eb5e
DM
33595 * sysdeps/unix/sysv/linux/kernel-features.h
33596 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33597 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33598 expression.
33599 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33600 later.
33601
6e226b09
DM
336022012-03-11 David S. Miller <davem@davemloft.net>
33603
a1bcbd40
DM
33604 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33605 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33606 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33607 for 'resultvar' otherwise things get truncated on 64-bit.
33608
cb9d6174
DM
33609 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33610 Fix masking out of the most significant byte of random value used.
33611
6e226b09
DM
33612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33613
058c132d
AS
336142012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33615
33616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33617
2d2cd515
DM
336182012-03-09 David S. Miller <davem@davemloft.net>
33619
33620 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33621 variables with appropriate CPP guards.
57f41c40
AS
33622 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33623 from the frame pointer, not the stack pointer. Correct layout
33624 comments. Fix test on resulting framesize and the management of
33625 the outregs buffer for pltexit. Preserve floating point return
33626 values across _dl_call_pltexit call.
2d2cd515
DM
33627 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33628 framesize and the management of the outregs buffer for pltexit.
33629 Preserve floating point return values across _dl_call_pltexit
33630 call.
57f41c40
AS
33631 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33632 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33633 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
33634 (print_exit): Fix format string for return register value.
33635
9a07f9d0
JM
336362012-03-10 Joseph Myers <joseph@codesourcery.com>
33637
33638 * sunrpc/Makefile (others): Add rpcgen.
33639 ($(objpfx)rpcgen): Remove special build rule and dependency on
33640 libc.
33641 * sunrpc/rpcgen.c: New file.
33642
547b5e30
PE
336432012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33644
c524201a
PE
33645 [BZ #13673]
33646 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33647 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33648 * sysdeps/i386/crti.S: Likewise.
33649 * sysdeps/i386/crtn.S: Likewise.
33650 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33651 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33652 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33653 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33654 * sysdeps/sh/crti.S: Likewise.
33655 * sysdeps/sh/crtn.S: Likewise.
33656 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33657
7b6235f2
PE
33658 [BZ #13673]
33659 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33660 with URL.
33661 * locale/programs/locfile-kw.gperf: Likewise.
33662 * locale/programs/charmap-kw.h: Regenerated.
33663 * locale/programs/locfile-kw.h: Likewise.
33664
547b5e30
PE
33665 [BZ #13673]
33666 * intl/plural.y: Replace FSF snail mail address with URL.
33667 * intl/plural.c: Regenerated.
33668
5f0a5dae
RH
336692012-03-09 Richard Henderson <rth@twiddle.net>
33670
33671 * include/math_private.h: Remove file.
33672 * math/math_private.h: Move file ...
33673 * sysdeps/generic/math_private.h: ... here.
33674
b8c03620
RH
33675 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33676 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33677 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33678
4e234f5d 33679 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33680 and <math_private.h>.
33681 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33682 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33683 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33684 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33685 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33686 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33687 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33688 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33689 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33692 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33693 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33694 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33712 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33713 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33714 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33715 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33716 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33717 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33718 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33719 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33720 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33721 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33722 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33723 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33724 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33725 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33726 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33727 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33728 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33729 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33730 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33731 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33732 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33733 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33734 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33735 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33736 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33737 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33738 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33739 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33740 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33741 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33743 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33744 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33745 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33746 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33747 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33748 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33749 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33750 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33751 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33752 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33753 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33754 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33755 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33757 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33758 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33759 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33760 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33761 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33762 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33763 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33764 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33765 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33766 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33768 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33769 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33770 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33771 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33772 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33773 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33774 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33775 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33776 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33777 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33778 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33779 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33780 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33781 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33782 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33783 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33784 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33785 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33786 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33787 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33788 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33789 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33790 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33791 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33792 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33793 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33794 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33795 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33796 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33797 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33798 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33799 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33800 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33801 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33802 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33803 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33804 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33805 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33806 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33807 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33808 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33809 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33810 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33811 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33812 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33813 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33814 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33815 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33816 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33817 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33818 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33819 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33820 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33821 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33822 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33823 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33824 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33825 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33826 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33827 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33828 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33829 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33830 * sysdeps/ieee754/k_standard.c: Likewise.
33831 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33832 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33833 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33835 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33836 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33837 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33839 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33840 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33841 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33842 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33843 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33844 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33845 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33846 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33847 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33848 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33849 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33850 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33851 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33852 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33853 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33854 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33855 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33856 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33857 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33858 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33859 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33860 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33861 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33862 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33863 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33864 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33865 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33866 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33867 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33868 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33869 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33870 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33871 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33872 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33873 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33874 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33875 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33876 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33877 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33878 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33879 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33880 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33881 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33882 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33883 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33884 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33885 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33886 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33887 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33888 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33889 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33890 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33891 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33892 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33893 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33894 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33895 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33896 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33897 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33898 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33899 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33900 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33901 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33902 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33903 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33904 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33905 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33906 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33907 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33908 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33909 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33910 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33911 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33912 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33913 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33914 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33915 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33916 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33917 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33918 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33919 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33920 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33921 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33922 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33923 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33924 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33925 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33926 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33927 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33928 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33929 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33930 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33931 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33932 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33933 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33934 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33935 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33936 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33937 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33938 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33940 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33946 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33947 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33949 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33950 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33951 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33953 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33958 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33963 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33965 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33966 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33967 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33968 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33969 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33970 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33972 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33974 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33975 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33977 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33979 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33980 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33981 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33982 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33983 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33984 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33985 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33986 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33987 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33988 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33989 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33990 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33991 * sysdeps/ieee754/s_lib_version.c: Likewise.
33992 * sysdeps/ieee754/s_matherr.c: Likewise.
33993 * sysdeps/ieee754/s_signgam.c: Likewise.
33994 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33995 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33996 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33997 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33998 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33999 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34000 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34001 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34002 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34003 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34004 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34005 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34006 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34007 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34008 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34009 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34010 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34011 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34012 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34013 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34014 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34015
1991fa03
JM
340162012-03-09 Joseph Myers <joseph@codesourcery.com>
34017
34018 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34019 * sunrpc/rpc_main.c: Likewise.
34020 * sunrpc/rpc_svcout.c: Likewise.
34021
60d6f5a6
DM
340222012-03-09 David S. Miller <davem@davemloft.net>
34023
34024 * include/math_private.h: New file.
34025
4962050e
JM
340262012-03-09 Joseph Myers <joseph@codesourcery.com>
34027
02a6f887
JM
34028 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34029 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34030 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34031 from <bits/socket_type.h>.
34032 (enum __socket_type): Don't define here.
34033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34035 bits/socket_type.h.
34036
c6e013c1
JM
34037 [BZ #13566]
34038 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34039 checking __USE_GNU.
34040
4962050e
JM
34041 * Makerules ($(inst_includedir)/%.h): New rule.
34042 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34043 (install-others): Remove variable setting.
34044 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34045
38842f45
RH
340462012-03-08 Richard Henderson <rth@twiddle.net>
34047
67bb6da6
RH
34048 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34049 from macro to inline function; merge with the
34050 !__LIBC_INTERNAL_MATH_INLINES version.
34051 (__ieee754_sqrtf): Likewise.
34052
15194b4b
RH
34053 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34054 to inline function.
34055 (__rintf, __floor, __floorf): Likewise.
34056
64e21ede
RH
34057 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34058 macro to inline function.
34059 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34060
38842f45
RH
34061 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34062 not <math/math_private.h>.
34063
c64bf5fe
DM
340642012-03-08 David S. Miller <davem@davemloft.net>
34065
34066 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34067 copyright year.
34068 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34069
82d86f28
TS
340702012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34071
34072 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34073 normalization.
34074 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34075 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34076
aea5d727
UD
340772012-03-08 Ulrich Drepper <drepper@gmail.com>
34078
34079 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34080 be defined individually, they must be defined as a block. Define
34081 S for printing a string instead of hidint the different by using a
34082 macro for adding the 'l'.
34083 * stdio-common/tst-fphex-wide.c: Adjust.
34084
70bca0a3
MP
340852012-03-07 Marek Polacek <polacek@redhat.com>
34086
34087 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34088
65b81130
MP
340892012-03-08 Marek Polacek <polacek@redhat.com>
34090
34091 [BZ #13806]
34092 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34093 * stdio-common/tst-fphex.c: Define a few macros to make the
34094 test reusable. Use them.
34095 * stdio-common/tst-fphex-wide.c: New file.
34096
07037eeb
JM
340972012-03-08 Joseph Myers <joseph@codesourcery.com>
34098
a7a93d50
JM
34099 [BZ #6911]
34100 * manual/macros.texi (gnusystems): New macro.
34101 (nongnusystems): Likewise.
34102 (gnulinuxhurdsystems): Likewise.
34103 (gnuhurdsystems): Likewise..
34104 (gnulinuxsystems): Likewise.
34105 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34106 variants of the GNU system, not "GNU system".
34107 * manual/conf.texi: Likewise.
34108 * manual/errno.texi: Likewise. Update example of errno macro
34109 expansion.
34110 * manual/filesys.texi: Likewise.
34111 (getumask): Document as specific to GNU/Hurd.
34112 * manual/install.texi: Likewise. Reword some references to
34113 GNU/Linux.
34114 * manual/intro.texi: Likewise.
34115 * manual/io.texi: Likewise.
34116 (File Name Portability): Detail which constraints are inapplicable
34117 to all GNU systems and which are only inapplicable to GNU/Hurd.
34118 * manual/job.texi: Likewise.
34119 * manual/llio.texi: Likewise.
34120 (O_NOCTTY): Document as present on GNU/Linux.
34121 * manual/maint.texi: Likewise.
34122 * manual/memory.texi: Likewise.
34123 * manual/pattern.texi: Likewise.
34124 * manual/pipe.texi: Likewise.
34125 * manual/process.texi: Likewise.
34126 * manual/resource.texi: Likewise.
34127 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34128 child on GNU/Hurd.
34129 * manual/setjmp.texi: Likewise.
34130 * manual/signal.texi: Likewise.
34131 * manual/startup.texi: Likewise.
34132 * manual/stdio.texi: Likewise.
34133 * manual/terminal.texi: Likewise.
34134 (ONLCR): Document as POSIX.
34135 (OXTABS): Document availability on GNU/Linux as XTABS.
34136 (ONOEOT): Document availability separately from other bits.
34137 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34138 * manual/time.texi: Likewise.
34139 * manual/users.texi: Likewise.
34140 * INSTALL: Regenerated.
34141 * sysdeps/gnu/errlist.c: Regenerated.
34142
07037eeb
JM
34143 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34144 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34145 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34146 puts.
34147 * configure: Regenerated.
34148
d1d3431a
JM
341492012-03-07 Joseph Myers <joseph@codesourcery.com>
34150
af6a1e37
JM
34151 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34152 default includes instead of AC_HEADER_CHECK.
34153 * sysdeps/i386/configure: Regenerated.
34154
d1d3431a
JM
34155 [BZ #10716]
34156 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34157 * math/s_cacoshf.c (__cacoshf): Likewise.
34158 * math/s_cacoshl.c (__cacoshl): Likewise.
34159 * math/s_casinh.c (__casinh): Set signs of result from argument.
34160 * math/s_casinhf.c (__casinhf): Likewise.
34161 * math/s_casinhl.c (__casinhl): Likewise.
34162 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34163 (casinh_test): Add more tests.
34164 * sysdeps/i386/fpu/libm-test-ulps: Update.
34165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34166
482ff4da
UD
341672012-03-07 Ulrich Drepper <drepper@gmail.com>
34168
872fda05
UD
34169 * po/zh_TW.po: Update from translation team.
34170
a4300c7a
UD
34171 * login/Makefile (distribute): Remove variable.
34172 * catgets/Makefile: Likewise.
34173 * mach/Makefile: Likewise.
34174 * malloc/Makefile: Likewise.
34175 * misc/Makefile: Likewise.
34176 * iconv/Makefile: Likewise.
34177 * nscd/Makefile: Likewise.
34178 * hurd/Makefile: Likewise.
34179 * manual/Makefile: Likewise.
34180 * locale/Makefile: Likewise.
34181 * intl/Makefile: Likewise.
34182 * conform/Makefile: Likewise.
34183 * nss/Makefile: Likewise.
34184 * time/Makefile: Likewise.
34185 * soft-fp/Makefile: Likewise.
34186 * dirent/Makefile: Likewise.
34187 * gmon/Makefile: Likewise.
34188 * po/Makefile: Likewise.
34189 * rt/Makefile: Likewise.
34190 * socket/Makefile: Likewise.
34191 * math/Makefile: Likewise.
34192 * signal/Makefile: Likewise.
34193 * debug/Makefile: Likewise.
34194 * elf/Makefile: Likewise.
34195 * timezone/Makefile: Likewise.
34196 * stdlib/Makefile: Likewise.
34197 * iconvdata/Makefile: Likewise.
34198 * sunrpc/Makefile: Likewise.
34199 * io/Makefile: Likewise.
34200 * argp/Makefile: Likewise.
34201 * inet/Makefile: Likewise.
34202 * hesiod/Makefile: Likewise.
34203 * grp/Makefile: Likewise.
34204 * csu/Makefile: Likewise.
34205 * wctype/Makefile: Likewise.
34206 * crypt/Makefile: Likewise.
34207 * libio/Makefile: Likewise.
34208 * string/Makefile: Likewise.
34209 * nis/Makefile: Likewise.
34210 * resolv/Makefile: Likewise.
34211 * stdio-common/Makefile: Likewise.
34212 * wcsmbs/Makefile: Likewise.
34213 * dlfcn/Makefile: Likewise.
34214 * posix/Makefile: Likewise.
34215
3b7c4e74 34216 [BZ #6959]
482ff4da
UD
34217 * timezone/Makefile: Don't install timezone files, just the programs
34218 and scripts.
34219
f72ed77d
UD
342202012-03-06 Ulrich Drepper <drepper@gmail.com>
34221
a000466f
UD
34222 * nss/databases.def: Add missing gshadow entry.
34223
f72ed77d
UD
34224 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34225
a53b7a4e
MP
342262012-03-06 Marek Polacek <polacek@redhat.com>
34227
34228 [BZ #13726]
34229 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34230 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34231 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34232 * stdio-common/tst-long-dbl-fphex.c: New file.
34233
e9258400
DM
342342012-03-06 David S. Miller <davem@davemloft.net>
34235
34236 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34237 (set_obp_int): New function.
34238 (get_obp_int): New function.
34239 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34240 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34241 Avoid unused variable warnings on 'val' and use builtin_expect.
34242 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34243 __builtin_expect.
e9258400
DM
34244 (INLINE_CLONE_SYSCALL): Likewise.
34245
3bd2c723
DM
342462012-03-05 David S. Miller <davem@davemloft.net>
34247
34248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34249
bbb78d03
AS
342502012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34251
884c5db4
AS
34252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34253
bbb78d03
AS
34254 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34255 only for |x| >= 40.
34256 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34257
1c9f702a 342582012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34259
34260 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34261 Replace gettimeofday with __vdso_gettimeofday.
34262
7be16f82
RM
34263 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34264 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34265 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34266
34267 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34268 time with __vdso_time.
34269
ed58a00f
JM
342702012-03-05 Joseph Myers <joseph@codesourcery.com>
34271
34272 * manual/lang.texi (size_t): Note types to which size_t may be
34273 equivalent with the GNU C Library, but do not describe when
34274 differences between them are significant.
34275
30ee4ced
AJ
342762012-03-05 Andreas Jaeger <aj@suse.de>
34277
34278 * sysdeps/i386/fpu/libm-test-ulps: Update.
34279
b7cd39e8
JM
342802012-03-05 Joseph Myers <joseph@codesourcery.com>
34281
34282 [BZ #3976]
34283 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34284 (__ieee754_pow): Save and restore rounding mode and use
34285 round-to-nearest for main computations.
34286 * math/libm-test.inc (pow_test_tonearest): New function.
34287 (pow_test_towardzero): Likewise.
34288 (pow_test_downward): Likewise.
34289 (pow_test_upward): Likewise.
34290 (main): Call the new functions.
34291 * sysdeps/i386/fpu/libm-test-ulps: Update.
34292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34293
34294 [BZ #3976]
34295 * math/libm-test.inc (cosh_test_tonearest): New function.
34296 (cosh_test_towardzero): Likewise.
34297 (cosh_test_downward): Likewise.
34298 (cosh_test_upward): Likewise.
34299 (sinh_test_tonearest): Likewise.
34300 (sinh_test_towardzero): Likewise.
34301 (sinh_test_downward): Likewise.
34302 (sinh_test_upward): Likewise.
34303 (main): Call the new functions.
34304 * sysdeps/i386/fpu/libm-test-ulps: Update.
34305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34306
6c6a98c9
TV
343072012-03-05 Tom de Vries <tom@codesourcery.com>
34308
34309 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34310 default stack guard is set in last bytes.
34311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34312
21bb2d2e 343132012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34314
21bb2d2e 34315 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34316
21bb2d2e
AJ
34317 [BZ #13656]
34318 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34319 possibly allocate from heap instead of stack.
34320 * stdio-common/bug-vfprintf-nargs.c: New file.
34321 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34322
c6922934
AS
343232012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34324
34325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34326
bc957d53
MP
343272012-03-03 Marek Polacek <polacek@redhat.com>
34328
34329 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34330 * math/math_private.h: Likewise.
34331 * stdlib/tst-strtod.c: Likewise.
34332 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34333 * sysdeps/x86_64/bits/atomic.h: Likewise.
34334
6358490d
DM
343352012-03-02 David S. Miller <davem@davemloft.net>
34336
34337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34341 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34342 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34343 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34344 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34345
01ae168d
RM
343462012-03-02 Roland McGrath <roland@hack.frob.com>
34347
d9a17c07
RM
34348 [BZ #13792]
34349 * manual/examples/README: New file, says the example source files
34350 can be used under GPL>=2.
34351 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34352 line containing just "*/".
34353 * manual/examples/add.c: Add copyright header (GPL>=2).
34354 * manual/examples/argp-ex1.c: Likewise.
34355 * manual/examples/argp-ex2.c: Likewise.
34356 * manual/examples/argp-ex3.c: Likewise.
34357 * manual/examples/argp-ex4.c: Likewise.
34358 * manual/examples/atexit.c: Likewise.
34359 * manual/examples/db.c: Likewise.
34360 * manual/examples/dir.c: Likewise.
34361 * manual/examples/dir2.c: Likewise.
34362 * manual/examples/execinfo.c: Likewise.
34363 * manual/examples/filecli.c: Likewise.
34364 * manual/examples/filesrv.c: Likewise.
34365 * manual/examples/fmtmsgexpl.c: Likewise.
34366 * manual/examples/genpass.c: Likewise.
34367 * manual/examples/inetcli.c: Likewise.
34368 * manual/examples/inetsrv.c: Likewise.
34369 * manual/examples/isockad.c: Likewise.
34370 * manual/examples/longopt.c: Likewise.
34371 * manual/examples/memopen.c: Likewise.
34372 * manual/examples/memstrm.c: Likewise.
34373 * manual/examples/mkfsock.c: Likewise.
34374 * manual/examples/mkisock.c: Likewise.
34375 * manual/examples/mygetpass.c: Likewise.
34376 * manual/examples/pipe.c: Likewise.
34377 * manual/examples/popen.c: Likewise.
34378 * manual/examples/rprintf.c: Likewise.
34379 * manual/examples/search.c: Likewise.
34380 * manual/examples/select.c: Likewise.
34381 * manual/examples/setjmp.c: Likewise.
34382 * manual/examples/sigh1.c: Likewise.
34383 * manual/examples/sigusr.c: Likewise.
34384 * manual/examples/stpcpy.c: Likewise.
34385 * manual/examples/strdupa.c: Likewise.
34386 * manual/examples/strftim.c: Likewise.
34387 * manual/examples/strncat.c: Likewise.
34388 * manual/examples/subopt.c: Likewise.
34389 * manual/examples/swapcontext.c: Likewise.
34390 * manual/examples/termios.c: Likewise.
34391 * manual/examples/testopt.c: Likewise.
34392 * manual/examples/testpass.c: Likewise.
34393 * manual/examples/timeval_subtract.c: Likewise.
34394
01ae168d
RM
34395 [BZ #13792]
34396 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34397 function to ...
34398 * manual/timeval_subtract.c.texi: ... here, new file.
34399
49efa33d
DM
344002012-03-02 David S. Miller <davem@davemloft.net>
34401
34402 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34403
28afd92d
JM
344042012-03-02 Joseph Myers <joseph@codesourcery.com>
34405
804360ed
JM
34406 [BZ #3976]
34407 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34408 (__sin): Save and restore rounding mode and use round-to-nearest
34409 for all computations.
34410 (__cos): Save and restore rounding mode and use round-to-nearest
34411 for all computations.
34412 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34413 <fenv.h>.
34414 (tan): Save and restore rounding mode and use round-to-nearest for
34415 all computations.
34416 * math/libm-test.inc (cos_test_tonearest): New function.
34417 (cos_test_towardzero): Likewise.
34418 (cos_test_downward): Likewise.
34419 (cos_test_upward): Likewise.
34420 (sin_test_tonearest): Likewise.
34421 (sin_test_towardzero): Likewise.
34422 (sin_test_downward): Likewise.
34423 (sin_test_upward): Likewise.
34424 (tan_test_tonearest): Likewise.
34425 (tan_test_towardzero): Likewise.
34426 (tan_test_downward): Likewise.
34427 (tan_test_upward): Likewise.
34428 (main): Call the new functions.
34429 * sysdeps/i386/fpu/libm-test-ulps: Update.
34430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34431
a6d06d7b
JM
34432 [BZ #10135]
34433 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34434 small n, then large n, before computing and testing k+n.
34435 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34437 Likewise.
34438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34439 Likewise.
34440 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34441 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34442 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34443 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34444 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34445 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34446 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34447 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34448 * math/libm-test.inc (scalbn_test): Add more tests.
34449 (scalbln_test): Likewise.
34450
07e12bb3
JM
34451 * manual/filesys.texi (mode_t): Describe constraints on size and
34452 signedness, not exact equivalence to a particular type.
34453 (ino_t): Likewise.
34454 (ino64_t): Likewise.
34455 (dev_t): Likewise.
34456 (nlink_t): Likewise.
34457 (blkcnt_t): Likewise.
34458 (blkcnt64_t): Likewise.
34459 * manual/llio.texi (off_t): Likewise.
34460
28afd92d
JM
34461 [BZ #3976]
34462 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34463 (__ieee754_exp): Save and restore rounding mode and use
34464 round-to-nearest for all computations.
34465 * math/libm-test.inc (exp_test_tonearest): New function.
34466 (exp_test_towardzero): Likewise.
34467 (exp_test_downward): Likewise.
34468 (exp_test_upward): Likewise.
34469 (main): Call the new functions.
34470 * sysdeps/i386/fpu/libm-test-ulps: Update.
34471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34472
b1eeb65d
CD
344732012-03-01 Chris Demetriou <cgd@google.com>
34474
34475 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34476 have predictable order.
34477
53362a4b
DM
344782012-03-01 David S. Miller <davem@davemloft.net>
34479
3c969083
DM
34480 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34481
759707de
DM
34482 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34483 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34484 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34485 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34486
dfdb8ff2
DM
34487 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34488 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34489 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34491 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34492 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34493 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34494 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34495 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34496
ead89f96
DM
34497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34498
7f66bd07
DM
34499 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34500 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34501 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34502
53362a4b
DM
34503 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34504 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34505 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34506 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34507 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34508 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34509 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34510 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34511 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34512 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34513 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34514 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34515 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34516 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34517 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34518 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34519 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34520 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34521 * sysdeps/sparc/elf/configure: Regenerated.
34522
7b1902cb
JM
345232012-03-01 Joseph Myers <joseph@codesourcery.com>
34524
bec039bc
JM
34525 * configure.in (AS, LD): Require binutils 2.20 or later.
34526 * configure: Regenerated.
34527 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34528 as required minimum version.
34529 * INSTALL: Regenerated.
34530
7b1902cb
JM
34531 [BZ #2541]
34532 [BZ #4108]
34533 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34534 before squaring exponent.
34535 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34536 bottom long double and 27 bits of top long double before squaring
34537 exponent.
34538 * math/libm-test.inc (erfc_test): Add more tests.
34539 * sysdeps/i386/fpu/libm-test-ulps: Update.
34540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34542
f775c276
KT
345432012-03-01 Kai Tietz <ktietz@redhat.com>
34544
34545 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34546 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34547 containing bit-fields.
34548 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34549 * soft-fp/single.h (_FP_UNION_S): Likewise.
34550 * soft-fp/double.h (_FP_UNION_D): Likewise.
34551
5b8a4d4a
JM
345522012-02-29 Joseph Myers <joseph@codesourcery.com>
34553
0bab47b6
JM
34554 [BZ #13786]
34555 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34556 not include ../strcmp.S.
34557 [USE_AS_STRNCASECMP_L]: Likewise.
34558 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34559 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34560 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34561 (__strncasecmp_l_ia32): Define as alias to
34562 __strncasecmp_l_nonascii.
34563
0fcad3e2
JM
34564 [BZ #5794]
34565 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34566 * sysdeps/i386/fpu/libm-test-ulps: Update.
34567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34568
5b8a4d4a
JM
34569 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34571
8fdceb2e
JL
345722012-02-29 Jeff Law <law@redhat.com>
34573
34574 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34575 out of bounds read.
34576
1f393a11
MP
345772012-02-29 Marek Polacek <polacek@redhat.com>
34578
34579 [BZ #13706]
34580 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34581 * elf/Makefile: Add rules to run tst-unused-dep.out.
34582
8847f037
DM
345832012-02-28 David S. Miller <davem@davemloft.net>
34584
34585 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34586 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34587 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34588 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34589 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34590 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34591
169d7f11
JM
345922012-02-29 Joseph Myers <joseph@codesourcery.com>
34593
34594 * math/libm-test.inc (llround_test): Move one test from
34595 lround_test. Use TEST_f_L in moved test.
34596 (lround_test): Move misplaced test to llround_test. Add testcase
34597 from bug 2561.
34598
39adf059
UD
345992012-02-28 Ulrich Drepper <drepper@gmail.com>
34600
34601 * sysdeps/x86_64/fpu/e_expf.S: New file.
34602 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34603
71b5d1c5
SB
346042012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34605
34606 [BZ #13637]
34607 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34608 of remain_len that may cause incomplete multi-byte character and
34609 false match.
34610 * posix/bug-regex33.c: New file.
34611 * posix/Makefile (tests): Add bug-regex33.
34612
1f77f049
JM
346132012-02-28 Joseph Myers <joseph@codesourcery.com>
34614
34615 * manual/macros.texi: New file.
34616 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34617 * manual/libc.texinfo: Include macros.texi.
34618 * manual/creatute.texi: Likewise.
34619 * manual/install.texi: Likewise.
34620 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34621 @glibcadj{} in references to the GNU C Library.
34622 * manual/charset.texi: Likewise.
34623 * manual/conf.texi: Likewise.
34624 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34625 when not using those macros.
34626 * manual/creature.texi: Likewise.
34627 * manual/crypt.texi: Likewise.
34628 * manual/errno.texi: Likewise.
34629 * manual/filesys.texi: Likewise.
34630 * manual/header.texi: Likewise.
34631 * manual/install.texi: Likewise.
34632 * manual/intro.texi: Likewise.
34633 * manual/io.texi: Likewise.
34634 * manual/job.texi: Likewise.
34635 * manual/lang.texi: Likewise.
34636 * manual/libc.texiinfo: Likewise.
34637 * manual/llio.texi: Likewise.
34638 * manual/locale.texi: Likewise.
34639 * manual/maint.texi: Likewise.
34640 * manual/math.texi: Likewise.
34641 * manual/memory.texi: Likewise.
34642 * manual/message.texi: Likewise.
34643 * manual/nss.texi: Likewise.
34644 * manual/pattern.texi: Likewise.
34645 * manual/process.texi: Likewise.
34646 * manual/resource.texi: Likewise.
34647 * manual/search.texi: Likewise.
34648 * manual/setjmp.texi: Likewise.
34649 * manual/signal.texi: Likewise.
34650 * manual/socket.texi: Likewise.
34651 * manual/startup.texi: Likewise.
34652 * manual/stdio.texi: Likewise.
34653 * manual/string.texi: Likewise.
34654 * manual/sysinfo.texi: Likewise.
34655 * manual/syslog.texi: Likewise.
34656 * manual/terminal.texi: Likewise.
34657 * manual/time.texi: Likewise.
34658 * manual/users.texi: Likewise.
34659 * INSTALL: Regenerated.
34660 * NOTES: Regenerated.
d40c5d54 34661 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34662
450bf206
AS
346632012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34664
34665 * include/dirent.h: Include <dirstream.h> before
34666 <dirent/dirent.h>.
34667
741a235b
DM
346682012-02-28 David S. Miller <davem@davemloft.net>
34669
34670 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34671 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34672 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34673 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34674
d6b5aa58
DM
346752012-02-27 David S. Miller <davem@davemloft.net>
34676
1aff59a3
DM
34677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34679 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34680 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34681
d6b5aa58
DM
34682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34683 frame pointer instead of stack pointer relative arg slot.
34684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34685 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34686 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34687
433f48bf
CD
346882012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34689
34690 [BZ #3992]
34691 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34692
d674b76d
DM
346932012-02-27 David S. Miller <davem@davemloft.net>
34694
34695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34699 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34700 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34701 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34702 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34703
0e7727f7
JM
347042012-02-27 Joseph Myers <joseph@codesourcery.com>
34705
34706 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34707 later. Allow versions 5-9.
43be4ca2 34708 * configure: Regenerated.
0e7727f7
JM
34709 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34710 required minimum version and 4.6 as recommended version. Do not
34711 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34712 * INSTALL: Regenerated.
0e7727f7 34713
a78bc654
DM
347142012-02-27 David S. Miller <davem@davemloft.net>
34715
428d5830
DM
34716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34720 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34721 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34722 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34723 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34724
a78bc654
DM
34725 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34726 manipulate bits before adding and subtracting TWO112[sx].
34727 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34728
4579f81c
RM
347292012-02-27 Roland McGrath <roland@hack.frob.com>
34730
36c8acb4
RM
34731 [BZ #13775]
34732 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34733 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34734 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34735 being in POSIX, because they are in 1003.1-2008.
34736
84ad622b
RM
34737 * rt/tst-aio.c: Include <fcntl.h>.
34738 * rt/tst-aio7.c: Likewise.
34739 * rt/tst-aio64.c: Likewise.
34740
4579f81c
RM
34741 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34742
abd923db
JM
347432012-02-27 Joseph Myers <joseph@codesourcery.com>
34744
34745 * manual/install.texi (--with-headers): Describe headers as
34746 interface headers, not private headers.
34747 (Specific advice for GNU/Linux systems): Describe use of headers
34748 from "make headers_install", not private headers from older
34749 kernels.
43be4ca2 34750 * INSTALL: Regenerated.
abd923db
JM
34751 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34752 Change to 2.6.19.
34753 * sysdeps/unix/sysv/linux/configure: Regenerated.
34754
6664049b
JM
34755 * manual/llio.texi (fclean): Remove documentation.
34756
bb8b6697
JM
34757 * manual/Makefile (libc-texi-generated): New variable. Include
34758 version.texi.
34759 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34760 $(libc-texi-generated), not duplicated list of files.
34761 (version.texi, stamp-version): New rules.
34762 (realclean): Remove $(libc-texi-generated), not individual files
34763 from that list. Do not remove dir-add.texinfo.
34764 * manual/libc.texinfo: Comment out uses of edition numbers and
34765 references to printed manual. Remove last-updated dates.
34766 (EDITION): Comment out.
34767 (ISBN): Likewise.
34768 (VERSION, UPDATED): Remove.
34769 (version.texi): Include.
34770
12e5c3b9
AS
347712012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34772
34773 * sysdeps/posix/spawni.c: Include <signal.h>.
34774 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34775 * sysdeps/pthread/aio_fsync.c: Likewise.
34776
4efeffc1 347772012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34778
ba63ba08
UD
34779 * conform/Makefile (tests): Run only when not cross-compiling and
34780 when fast-check is not defined.
34781
d94a4670
UD
34782 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34783 * conform/data/limits.h-data: Fixes for POSIX2008.
34784 * conform/run-conformtest.sh: Run all tests.
34785 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34786 headers.
34787 * include/bits/dlfcn.h: Likewise.
34788 * include/langinfo.h: Likewise.
34789 * include/monetary.h: Likewise.
34790 * include/sys/poll.h: Likewise.
34791
34792 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34793 for __USE_GNU.
34794 * posix/spawn.h: Define __need_sigset_t.
34795 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34796 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34797 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34798 to get sigevent_t only.
34799 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34800 only for __USE_GNU.
34801 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34802 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34803 process_vm_writev only for __USE_GNU.
34804 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34805
34806 * conform/Makefile: For now ignore errors from run-conformtest.
34807 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34808 POSIX to avoid namespace pollution. Don't prepend headers.
34809 * conform/data/aio.h-data: Fixes for POSIX testing.
34810 * conform/data/fcntl.h-data: Likewise.
34811 * conform/data/glob.h-data: Likewise.
34812 * conform/data/grp.h-data: Likewise.
34813 * conform/data/pthread.h-data: Likewise.
34814 * conform/data/pwd.h-data: Likewise.
34815 * conform/data/signal.h-data: Likewise.
34816 * conform/data/spawn.h-data: Likewise.
34817 * conform/data/stdio.h-data: Likewise.
34818 * conform/data/stdlib.h-data: Likewise.
34819 * conform/data/stropts.h-data: Likewise.
34820 * conform/data/sys/mman.h-data: Likewise.
34821 * conform/data/sys/stat.h-data: Likewise.
34822 * conform/data/sys/types.h-data: Likewise.
34823 * conform/data/sys/wait.h-data: Likewise.
34824 * conform/data/time.h-data: Likewise.
34825 * conform/data/unistd.h-data: Likewise.
34826 * conform/data/utime.h-data: Likewise.
34827
34828 * io/sys/stat.h: fchmod was always in POSIX.
34829 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34830 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34831 * rt/aio.h: Define __need_timespec before including <time.h>.
34832 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34833 struct. Add forward declaration of pthread_attr_t and use it in
34834 sigevent.
34835 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34837 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34838 always remove CLK_TCK definition.
34839
c20105c3
AS
348402012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34841
34842 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34843
7a270350
UD
348442012-02-25 Ulrich Drepper <drepper@gmail.com>
34845
31341567
UD
34846 * conform/run-conformtest.sh: New file.
34847 * conform/Makefile: Run run-conformtest for tests.
34848 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34849 support.
34850
34851 * conform/data/uchar.h-data: New file.
34852 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34853 * conform/data/arpa/inet.h-data: Likewise.
34854 * conform/data/assert.h-data: Likewise.
34855 * conform/data/complex.h-data: Likewise.
34856 * conform/data/cpio.h-data: Likewise.
34857 * conform/data/ctype.h-data: Likewise.
34858 * conform/data/dirent.h-data: Likewise.
34859 * conform/data/dlfcn.h-data: Likewise.
34860 * conform/data/errno.h-data: Likewise.
34861 * conform/data/fcntl.h-data: Likewise.
34862 * conform/data/float.h-data: Likewise.
34863 * conform/data/fmtmsg.h-data: Likewise.
34864 * conform/data/fnmatch.h-data: Likewise.
34865 * conform/data/ftw.h-data: Likewise.
34866 * conform/data/glob.h-data: Likewise.
34867 * conform/data/grp.h-data: Likewise.
34868 * conform/data/iconv.h-data: Likewise.
34869 * conform/data/inttypes.h-data: Likewise.
34870 * conform/data/langinfo.h-data: Likewise.
34871 * conform/data/libgen.h-data: Likewise.
34872 * conform/data/limits.h-data: Likewise.
34873 * conform/data/locale.h-data: Likewise.
34874 * conform/data/math.h-data: Likewise.
34875 * conform/data/monetary.h-data: Likewise.
34876 * conform/data/mqueue.h-data: Likewise.
34877 * conform/data/ndbm.h-data: Likewise.
34878 * conform/data/net/if.h-data: Likewise.
34879 * conform/data/netdb.h-data: Likewise.
34880 * conform/data/netinet/in.h-data: Likewise.
34881 * conform/data/nl_types.h-data: Likewise.
34882 * conform/data/poll.h-data: Likewise.
34883 * conform/data/pthread.h-data: Likewise.
34884 * conform/data/pwd.h-data: Likewise.
34885 * conform/data/regex.h-data: Likewise.
34886 * conform/data/sched.h-data: Likewise.
34887 * conform/data/search.h-data: Likewise.
34888 * conform/data/semaphore.h-data: Likewise.
34889 * conform/data/setjmp.h-data: Likewise.
34890 * conform/data/signal.h-data: Likewise.
34891 * conform/data/spawn.h-data: Likewise.
34892 * conform/data/stdarg.h-data: Likewise.
34893 * conform/data/stdio.h-data: Likewise.
34894 * conform/data/stdlib.h-data: Likewise.
34895 * conform/data/string.h-data: Likewise.
34896 * conform/data/strings.h-data: Likewise.
34897 * conform/data/stropts.h-data: Likewise.
34898 * conform/data/sys/ipc.h-data: Likewise.
34899 * conform/data/sys/mman.h-data: Likewise.
34900 * conform/data/sys/msg.h-data: Likewise.
34901 * conform/data/sys/resource.h-data: Likewise.
34902 * conform/data/sys/select.h-data: Likewise.
34903 * conform/data/sys/sem.h-data: Likewise.
34904 * conform/data/sys/shm.h-data: Likewise.
34905 * conform/data/sys/socket.h-data: Likewise.
34906 * conform/data/sys/stat.h-data: Likewise.
34907 * conform/data/sys/statvfs.h-data: Likewise.
34908 * conform/data/sys/time.h-data: Likewise.
34909 * conform/data/sys/timeb.h-data: Likewise.
34910 * conform/data/sys/times.h-data: Likewise.
34911 * conform/data/sys/types.h-data: Likewise.
34912 * conform/data/sys/uio.h-data: Likewise.
34913 * conform/data/sys/un.h-data: Likewise.
34914 * conform/data/sys/utsname.h-data: Likewise.
34915 * conform/data/sys/wait.h-data: Likewise.
34916 * conform/data/syslog.h-data: Likewise.
34917 * conform/data/tar.h-data: Likewise.
34918 * conform/data/termios.h-data: Likewise.
34919 * conform/data/utime.h-data: Likewise.
34920 * conform/data/utmpx.h-data: Likewise.
34921 * conform/data/varargs.h-data: Likewise.
34922 * conform/data/wchar.h-data: Likewise.
34923 * conform/data/wctype.h-data: Likewise.
34924 * conform/data/wordexp.h-data: Likewise.
34925
34926 * include/stropts.h: New file.
34927 * include/uchar.h: New file.
34928 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34929 * include/assert.h: Likewise.
34930 * include/ctype.h: Likewise.
34931 * include/dirent.h: Likewise.
34932 * include/dlfcn.h: Likewise.
34933 * include/fcntl.h: Likewise.
34934 * include/fnmatch.h: Likewise.
34935 * include/glob.h: Likewise.
34936 * include/grp.h: Likewise.
34937 * include/libio.h: Likewise.
34938 * include/locale.h: Likewise.
34939 * include/math.h: Likewise.
34940 * include/net/if.h: Likewise.
34941 * include/netdb.h: Likewise.
34942 * include/netinet/in.h: Likewise.
34943 * include/pthread.h: Likewise.
34944 * include/pwd.h: Likewise.
34945 * include/regex.h: Likewise.
34946 * include/sched.h: Likewise.
34947 * include/search.h: Likewise.
34948 * include/setjmp.h: Likewise.
34949 * include/signal.h: Likewise.
34950 * include/stdio.h: Likewise.
34951 * include/stdlib.h: Likewise.
34952 * include/string.h: Likewise.
34953 * include/sys/cdefs.h: Likewise.
34954 * include/sys/mman.h: Likewise.
34955 * include/sys/msg.h: Likewise.
34956 * include/sys/resource.h: Likewise.
34957 * include/sys/select.h: Likewise.
34958 * include/sys/socket.h: Likewise.
34959 * include/sys/stat.h: Likewise.
34960 * include/sys/statvfs.h: Likewise.
34961 * include/sys/time.h: Likewise.
34962 * include/sys/times.h: Likewise.
34963 * include/sys/uio.h: Likewise.
34964 * include/sys/utsname.h: Likewise.
34965 * include/sys/wait.h: Likewise.
34966 * include/termios.h: Likewise.
34967 * include/time.h: Likewise.
34968 * include/ulimit.h: Likewise.
34969 * include/unistd.h: Likewise.
34970 * include/utime.h: Likewise.
34971 * include/wchar.h: Likewise.
34972 * include/wctype.h: Likewise.
34973 * include/wordexp.h: Likewise.
34974
34975 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34976
7a270350
UD
34977 * time/time.h: TIME_UTC must be a macro.
34978 Make timespec_get available for ISO C11 only as well.
34979
7724defc
UD
349802012-02-24 Ulrich Drepper <drepper@gmail.com>
34981
34982 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34983 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34984
6b1d1d46
JM
349852012-02-24 Joseph Myers <joseph@codesourcery.com>
34986
34987 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34988
0f8bbd69
JM
349892012-02-24 Joseph Myers <joseph@codesourcery.com>
34990
34991 * manual/texinfo.tex: Update to version 2012-01-19.16.
34992
66ab80bc
JM
349932012-02-24 Joseph Myers <joseph@codesourcery.com>
34994
34995 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34996
74981cc5
RM
349972012-02-24 Roland McGrath <roland@hack.frob.com>
34998
ee968201
RM
34999 [BZ #13738]
35000 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35001 * manual/fdl-1.3.texi: New file.
35002 * manual/fdl-1.1.texi: File removed.
35003
74981cc5
RM
35004 [BZ #13738]
35005 * manual/libc.texinfo (FDL_VERSION): New @set.
35006 Use it for mention of FDL in cover text.
35007 (Documentation License): Use it in @include file name.
35008
7bb764bc
JM
350092012-02-22 Joseph Myers <joseph@codesourcery.com>
35010 Roland McGrath <roland@hack.frob.com>
35011
35012 [BZ #5461]
57f41c40
AS
35013 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35014 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35015 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35016 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35017 name.
35018 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35019
6cbeae47
JM
350202012-02-22 Joseph Myers <joseph@codesourcery.com>
35021
35022 [BZ #2547]
35023 [BZ #11365]
35024 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35025 manipulate bits before adding and subtracting TWO23[sx].
35026 * math/libm-test.inc (nearbyint_test): Add more tests.
35027
fe45ce09
JM
350282012-02-22 Joseph Myers <joseph@codesourcery.com>
35029
35030 [BZ #2548]
35031 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35032 bits before adding and subtracting TWO23[sx].
35033 * math/libm-test.inc (rint_test): Add more tests.
35034 (rint_test_tonearest): Likewise.
35035 (rint_test_towardzero): Likewise.
35036 (rint_test_downward): Likewise.
35037 (rint_test_upward: Likewise.
35038
ff3b3d82
JM
350392012-02-22 Joseph Myers <joseph@codesourcery.com>
35040
35041 [BZ #10110]
35042 * include/stdc-predef.h: New file. Extracted from features.h.
35043 * include/features.h: Include stdc-predef.h.
35044 * Makefile (headers): Add stdc-predef.h.
35045 * CONFORMANCE (Compiler limitations): Update.
35046
ef0aab35
JM
350472012-02-22 Joseph Myers <joseph@codesourcery.com>
35048
35049 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35050
58639409
DM
350512012-02-21 David S. Miller <davem@davemloft.net>
35052
35053 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35054 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35055
c0e70b25
DM
350562012-02-20 David S. Miller <davem@davemloft.net>
35057
35058 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35059 using a normal save/restore sequence, rather than allocating a
35060 dummy stack frame just to store a frame pointer and restore.
35061 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35062
fb06851d
JM
350632012-02-21 Joseph Myers <joseph@codesourcery.com>
35064
35065 * manual/install.texi: Fix stray word in line-wrapped comment.
35066
7a8b71c3
DM
350672012-02-20 David S. Miller <davem@davemloft.net>
35068
d510c123
DM
35069 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35070 both binutils and gcc support GOTDATA.
35071
0722d7c2
DM
35072 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35073 "rd %pc" in the PIC register setup sequences.
35074
3d2b3019
DM
35075 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35076 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35077 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35078 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35079 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35081 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35082 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35083 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35084 (SYSCALL_ERROR_HANDLER): Likewise.
35085 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35086 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35087 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35088 (SYSCALL_ERROR_HANDLER): Likewise.
35089
c80098a9
DM
35090 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35091 (HAVE_GCC_GOTDATA): New.
35092 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35093 relocation support in both binutils and gcc.
35094 * sysdeps/sparc/elf/configure: Regenerate.
35095
3a2545a0
DM
35096 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35097 * sysdeps/sparc/sparc32/elf/configure: Delete.
35098 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35099 * sysdeps/sparc/sparc64/elf/configure: Delete.
35100 * sysdeps/sparc/elf/configure.in: New file.
35101 * sysdeps/sparc/elf/configure: Generate.
35102
7a8b71c3
DM
35103 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35104 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35105 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35106 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35107 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35108
f1e86fca
JM
351092012-02-21 Joseph Myers <joseph@codesourcery.com>
35110
35111 * manual/install.texi: Do not mention specific glibc version
35112 numbers.
35113 * manual/libc.texinfo (VERSION, UPDATED): Update.
35114 (@copying): Use @copyright{} and range of years.
35115
0e7dfaef
JM
351162012-02-21 Joseph Myers <joseph@codesourcery.com>
35117
35118 [BZ #13695]
35119 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35120 [crti.S not in sysdirs] (generated): Do not append.
35121 [crti.S not in sysdirs] (omit-deps): Likewise.
35122 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35123 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35124 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35125 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35126 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35127 Likewise.
35128 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35129 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35130 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35131 * csu/defs.awk: Remove file.
35132 * sysdeps/generic/initfini.c: Likewise.
35133 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35134 variable.
35135 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35136 Likewise.
35137
599af3ca
JM
351382012-02-20 Joseph Myers <joseph@codesourcery.com>
35139
35140 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35141 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35142 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35143 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35144 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35145 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35146 <bits/epoll.h>.
35147 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35148 (__EPOLL_PACKED): Define to empty if not defined by
35149 <bits/epoll.h>.
35150 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35152 bits/epoll.h.
35153
0e499750
JM
351542012-02-20 Joseph Myers <joseph@codesourcery.com>
35155
35156 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35157 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35158 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35159 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35160 <bits/timerfd.h>.
35161 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35162 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35163 bits/timerfd.h.
35164
5ad91f6e
JM
351652012-02-20 Joseph Myers <joseph@codesourcery.com>
35166
35167 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35168 in C locale.
35169 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35170 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35171 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35173
06b99b02
AJ
351742012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35175
35176 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35177 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35178
7638c0fd
AS
351792012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35180
35181 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35182 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35183 defined.
35184 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35185 Likewise.
35186 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35187 entry for 2.16.
35188
92221550
AJ
351892012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35190
35191 * math/w_acos.c: Use non-signaling floating-point comparisons.
35192 * math/w_acosf.c: Likewise.
35193 * math/w_acosh.c: Likewise.
35194 * math/w_acoshf.c: Likewise.
35195 * math/w_acoshl.c: Likewise.
35196 * math/w_acosl.c: Likewise.
35197 * math/w_asin.c: Likewise.
35198 * math/w_asinf.c: Likewise.
35199 * math/w_asinl.c: Likewise.
35200 * math/w_atanh.c: Likewise.
35201 * math/w_atanhf.c: Likewise.
35202 * math/w_atanhl.c: Likewise.
35203 * math/w_exp2.c: Likewise.
35204 * math/w_exp2f.c: Likewise.
35205 * math/w_exp2l.c: Likewise.
35206 * math/w_j0.c: Likewise.
35207 * math/w_j0f.c: Likewise.
35208 * math/w_j0l.c: Likewise.
35209 * math/w_j1.c: Likewise.
35210 * math/w_j1f.c: Likewise.
35211 * math/w_j1l.c: Likewise.
35212 * math/w_jn.c: Likewise.
35213 * math/w_jnf.c: Likewise.
35214 * math/w_log.c: Likewise.
35215 * math/w_log10.c: Likewise.
35216 * math/w_log10f.c: Likewise.
35217 * math/w_log10l.c: Likewise.
35218 * math/w_log2.c: Likewise.
35219 * math/w_log2f.c: Likewise.
35220 * math/w_log2l.c: Likewise.
35221 * math/w_logf.c: Likewise.
35222 * math/w_logl.c: Likewise.
35223 * math/w_sqrt.c: Likewise.
35224 * math/w_sqrtf.c: Likewise.
35225 * math/w_sqrtl.c: Likewise.
35226 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35227 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35228 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35229 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35230 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35231
ebaf36eb
JM
352322012-02-19 Joseph Myers <joseph@codesourcery.com>
35233
35234 [BZ #9739]
35235 * manual/string.texi (strnlen): Use correct parameter name in
35236 equivalent expression.
35237
71c254a6
JM
352382012-02-19 Joseph Myers <joseph@codesourcery.com>
35239
35240 [BZ #11174]
35241 * manual/users.texi (seteuid): Consistently use neweuid for
35242 argument name.
35243
16d2c631
JM
352442012-02-19 Joseph Myers <joseph@codesourcery.com>
35245
35246 [BZ #13704]
35247 * manual/nss.texi (Services in the NSS configuration): Correct
35248 list of services in example configuration file.
35249
cd837b09
NB
352502012-02-19 Nick Bowler <nbowler@draconx.ca>
35251
35252 [BZ #11322]
35253 * manual/arith.texi: Remove statements about negative zero
35254 behaving identically to zero.
35255
02c4bbad
JM
352562012-02-18 Joseph Myers <joseph@codesourcery.com>
35257
35258 [BZ #5993]
35259 * manual/install.texi: Do not document upgrading from libc5.
35260
366842e7
JM
352612012-02-18 Joseph Myers <joseph@codesourcery.com>
35262
35263 [BZ #4596]
35264 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35265
dd54084d
DM
352662012-02-18 David S. Miller <davem@davemloft.net>
35267
35268 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35269 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35270 %o7 across the call.
35271 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35272 instead.
35273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35274 SETUP_PIC_REG_LEAF.
35275 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35276 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35277 * sysdeps/sparc/crtn.S: Likewise.
35278
2bcc53a3
UD
352792012-02-17 Ulrich Drepper <drepper@gmail.com>
35280
35281 * aout/Makefile: Remove.
35282
09c093b5
RK
352832012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35284
35285 [BZ #13058]
35286 * manual/examples/argp-ex1.c (main): Format definition in GNU
35287 style.
35288 * manual/examples/argp-ex2.c (main): Likewise.
35289 * manual/examples/argp-ex3.c (main): Likewise.
35290 * manual/examples/argp-ex4.c (main): Likewise.
35291 * manual/examples/longopt.c (main): Use new-style prototype
35292 definition.
35293 * manual/examples/strncat.c (main): Specify return type and use
35294 (void) for arguments.
35295 * manual/examples/subopt.c (main): Use char **argv argument.
35296
2ee633a2
JM
352972012-02-17 Joseph Myers <joseph@codesourcery.com>
35298
35299 [BZ #5077]
35300 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35301 rounding modes.
35302
0520adde
FB
353032012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35304
35305 [BZ #6907]
35306 * manual/string.texi (strchr): Change when strchrnul is
35307 recommended.
35308
3f4081cd
DGM
353092012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35310
35311 [BZ #174]
35312 * manual/locale.texi (setlocale): Document LOCPATH.
35313
d1b10e78
JM
353142012-02-17 Joseph Myers <joseph@codesourcery.com>
35315
35316 [BZ #10210]
35317 * manual/process.texi (execle): Move @dots{} before last argument.
35318
79c6869c
PB
353192012-02-17 Paul Bolle <pebolle@tiscali.nl>
35320
35321 [BZ #12047]
35322 * manual/charset.texi (Generic Charset Conversion): Fix typo
35323 (LC_TYPE -> LC_CTYPE).
35324
cc6e48bc
NB
353252012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35326
35327 [BZ #5805]
35328 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35329 (scalbnf): Likewise.
35330 (scalbnl): Likewise.
35331 (scalbln): Likewise.
35332 (scalblnf): Likewise.
35333 (scalblnl): Likewise.
35334 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35335 (vwarnx): Likewise.
35336 (verr): Likewise.
35337 (verrx): Likewise.
35338 * manual/filesys.texi (telldir): Use braces around return type.
35339 * manual/llio.texi (mmap): Add space after comma.
35340 (mmap64): Likewise.
35341 * manual/math.texi (jn): Use @var{} on parameter names.
35342 (jnf): Likewise.
35343 (jnl): Likewise.
35344 (yn): Likewise.
35345 (ynf): Likewise.
35346 (ynl): Likewise.
35347 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35348 line.
35349 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35350 "...".
35351 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35352 (sched_get_priority_max): Likewise.
35353 * manual/signal.texi (sigvec): Add space after comma.
35354 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35355 names.
35356 (if_indextoname): Likewise.
35357 (if_freenameindex): Likewise.
35358 (sendto): Use ',' instead of '.' in prototype.
35359 * manual/startup.texi (syscall): Use @dots{} instead of literal
35360 "...".
35361 * manual/stdio.texi (__fpending): Separate initial words of
35362 paragraph from @deftypefun line.
35363 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35364 "...".
35365 (vsyslog): Use @var{} on parameter names.
35366 * manual/terminal.texi (stty): Use @var{} on parameter names.
35367 * manual/users.texi (getutmp): Use @var{} on parameter names.
35368 (getutmpx): Likewise.
35369
5b23062f
JM
353702012-02-17 Joseph Myers <joseph@codesourcery.com>
35371
35372 [BZ #6884]
35373 * manual/stdio.texi (fopen): Fix typos in description of
35374 ",ccs=STRING".
35375
8dee4833
AJ
353762012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35377
35378 [BZ #4026]
35379 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35380 get clock_id definition.
35381
9078ce93
TS
353822012-02-17 Thomas Schwinge <thomas@schwinge.name>
35383
35384 [BZ #4822]
35385 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35386 (madvise): Cast every argument to void on its own.
35387
3835c55f
JM
353882012-02-17 Joseph Myers <joseph@codesourcery.com>
35389
35390 [BZ #9902]
35391 * manual/startup.texi (Exit Status): Fix typo.
35392
35c47e37
JM
353932012-02-17 Joseph Myers <joseph@codesourcery.com>
35394
35395 [BZ #10140]
35396 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35397 * manual/examples/argp-ex2.c: Likewise.
35398 * manual/examples/argp-ex3.c: Likewise.
35399
e3b69ca7
RH
354002012-02-16 Richard Henderson <rth@redhat.com>
35401
35402 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35403 * sysdeps/s390/s390-32/initfini.c: Remove.
35404 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35405 * sysdeps/s390/s390-64/initfini.c: Remove.
35406
df83af67
KK
354072012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35408
35409 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35410 compiler output for sysdeps/generic/initfini.c.
35411 * sysdeps/sh/elf/initfini.c: Remove file.
35412
f63f3380
DM
354132012-02-16 David S. Miller <davem@davemloft.net>
35414
fb59b3a4
DM
35415 [BZ #11494]
35416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35417
f63f3380
DM
35418 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35419 * sysdeps/sparc/crti.S: New file.
35420 * sysdeps/sparc/crtn.S: New file.
35421 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35422 * sysdeps/sparc/sparc64/Makefile: Likewise.
35423
df6a4a4a
MF
354242012-02-15 Mike Frysinger <vapier@gentoo.org>
35425
6dd8f3dc 35426 [BZ #3335]
df6a4a4a
MF
35427 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35428
1cac7236
RM
354292012-02-15 Roland McGrath <roland@hack.frob.com>
35430
d2c736f8
RM
35431 [BZ #4822]
35432 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35433
1cac7236
RM
35434 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35435 (write, read, close): Likewise.
35436 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35437
8e475601
JM
354382012-02-15 Joseph Myers <joseph@codesourcery.com>
35439
35440 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35441 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35442 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35443 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35444 <bits/signalfd.h>.
35445 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35447 bits/signalfd.h.
35448
ed656b40
MP
354492012-02-14 Marek Polacek <polacek@redhat.com>
35450
35451 * sysdeps/x86_64/crti.S: New file.
35452 * sysdeps/x86_64/crtn.S: New file.
35453 * sysdeps/x86_64/elf/initfini.c: Remove file.
35454
2a979d3a
JM
354552012-02-13 Joseph Myers <joseph@codesourcery.com>
35456
35457 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35458 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35459 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35460 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35461 <bits/inotify.h>.
35462 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35464 bits/inotify.h.
35465
2a418ac3
JM
354662012-02-13 Joseph Myers <joseph@codesourcery.com>
35467
35468 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35469 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35470 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35471 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35472 <bits/eventfd.h>.
35473 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35474 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35475 bits/eventfd.h.
35476
fb779be7
TS
354772012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35478
e19e83c5
RM
35479 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35480 __feraiseexcept instead of feraiseexcept.
7c35ffed 35481
fb779be7
TS
35482 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35483 nanosleep invocations.
35484 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35485 strings, and add error checking for a nanosleep invocations.
35486
59ba27a6
PE
354872012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35488
35489 Replace FSF snail mail address with URLs, as per GNU coding standards.
35490 Most of the snail mail addresses were wrong anyway, and omitting
35491 them makes the source code easier to maintain. Almost all of the
35492 changes are to license notices and to locale LC_IDENTIFICATION
35493 addresses, except for this one:
35494 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35495 not its snail mail address.
35496
57b957eb
RH
354972012-02-09 Richard Henderson <rth@twiddle.net>
35498
af850b1c
RH
35499 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35500 of kernel-features.h.
35501
57b957eb
RH
35502 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35503
6b73181a
MP
355042012-02-08 Marek Polacek <polacek@redhat.com>
35505
35506 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35507 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35508 * sysdeps/gnu/_G_config.h: Likewise.
35509 * sysdeps/generic/_G_config.h: Likewise.
35510
26ecc33a
AS
355112012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35512
6c6dbc63
AS
35513 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35514 tests.
35515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35516
e216c012
AS
35517 * sysdeps/powerpc/powerpc32/crti.S: New file.
35518 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35519 * sysdeps/powerpc/powerpc64/crti.S: New file.
35520 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35521
26ecc33a
AS
35522 * Makeconfig (have-initfini): Don't set.
35523 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35524 * configure.in (nopic_initfini): Don't substitute.
35525 * config.h.in (HAVE_INITFINI): Don't #undef.
35526 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35527 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35528
3add8e13
JM
355292012-02-08 Joseph Myers <joseph@codesourcery.com>
35530
35531 Support crti.S and crtn.S provided directly by architectures.
35532 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35533 [crti.S in sysdirs] (omit-deps): Likewise.
35534 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35535 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35536 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35537 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35538 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35539 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35540 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35541 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35542 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35543 compiler output for sysdeps/generic/initfini.c.
35544 * sysdeps/i386/elf/Makefile: Remove file.
35545 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35546
a22f12b4
MP
355472012-02-07 Marek Polacek <polacek@redhat.com>
35548
35549 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35550 * sysdeps/gnu/_G_config.h: Likewise.
35551 * sysdeps/mach/hurd/_G_config.h: Likewise.
35552
148cf100
MP
355532012-02-07 Marek Polacek <polacek@redhat.com>
35554
35555 * math/Makefile (tests): Add tst-CMPLX2.
35556 * math/tst-CMPLX2.c: New file.
35557
cfdc0dd7
AS
355582012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35559
84ba42c4
AS
35560 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35561
cfdc0dd7
AS
35562 * math/libm-test.inc (jn_test): Add missing L suffix.
35563
622c86f4
MP
355642012-02-06 Marek Polacek <polacek@redhat.com>
35565
35566 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35567 * sysdeps/i386/fpu/e_powf.S: Likewise.
35568 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35569 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35570 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35571 * sysdeps/i386/fpu/e_pow.S: Likewise.
35572 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35573 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35574 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35575 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35576 * sysdeps/i386/fpu/e_log2.S: Likewise.
35577 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35578 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35579 * sysdeps/i386/fpu/e_powl.S: Likewise.
35580 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35581 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35582 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35583 * sysdeps/i386/fpu/e_logl.S: Likewise.
35584 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35585 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35586 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35587 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35588 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35589 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35590 * sysdeps/i386/fpu/e_log.S: Likewise.
35591 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35592 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35593 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35594 * sysdeps/i386/fpu/e_logf.S: Likewise.
35595 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35596 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35597 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35598 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35599 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35600 * sysdeps/i386/fpu/e_log10.S: Likewise.
35601 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35602 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35603 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35604 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35605 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35606 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35607 * sysdeps/i386/asm-syntax.h: Likewise.
35608 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35609 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35610 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35611 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35612 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35613 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35614 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35615 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35616 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35617 * sysdeps/powerpc/sysdep.h: Likewise.
35618 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35619 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35620
d4a54ac6
JM
356212012-02-06 Joseph Myers <joseph@codesourcery.com>
35622
35623 [BZ #411]
35624 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35625
314054ea
JM
356262012-02-06 Joseph Myers <joseph@codesourcery.com>
35627
35628 * sysdeps/i386/sysdep.h: Include <features.h>.
35629 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35630 version.
35631
d8e0ca50
JM
356322012-02-05 Joseph Myers <joseph@codesourcery.com>
35633
35634 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35635 Define.
35636 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35637 LOAD_PIC_REG_STR.
35638
b1da7dd9
JM
356392012-02-03 Joseph Myers <joseph@codesourcery.com>
35640
35641 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35642 (SETUP_PIC_REG): Use GET_PC_THUNK.
35643 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35644 macro.
35645
9a1d9254
JM
356462012-02-03 Joseph Myers <joseph@codesourcery.com>
35647
35648 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35649 for non-PIC compilation.
35650 (SETUP_PIC_REG): Add .p2align directive.
35651 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35652 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35653 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35654 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35655 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35656 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35657 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35658 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35659 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35660 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35661 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35662 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35663 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35664 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35665 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35666 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35667 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35668 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35669 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35670 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35671 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35672 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35673 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35674 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35675 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35676 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35677 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35678 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35679 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35680 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35681 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35682 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35683 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35684 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35685 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35686 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35687 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35688 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35689 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35690 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35691 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35692
65dc3b75
JM
356932012-02-03 Joseph Myers <joseph@codesourcery.com>
35694
35695 * math/tst-CMPLX.c: Include <stdio.h>.
35696
d55bf177
JM
356972012-01-31 Joseph Myers <joseph@codesourcery.com>
35698
35699 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35700 float.
35701 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35702 * sysdeps/sparc/bits/mathdef.h: Likewise.
35703
69db4f8f
MP
357042012-01-31 Marek Polacek <polacek@redhat.com>
35705
35706 * libio/libio.h: Don't define _PARAMS.
35707 * locale/programs/config.h: Don't define PARAMS.
35708 * stdlib/strtol_l.c: Likewise.
35709 (__strtol_l): Remove PARAMS from the prototype.
35710
41b81892
UD
357112012-01-31 Ulrich Drepper <drepper@gmail.com>
35712
3b49edc0
UD
35713 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35714 names. Just use the correct names. Remove unnecessary wrapper
35715 functions.
35716 * malloc/arena.c: Likewise.
35717 * malloc/hooks.c: Likewise.
35718
41b81892
UD
35719 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35720 ARENA_TEST says not to. Simplify test for creation of a new arena.
35721 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35722
27a25b6e
UD
357232012-01-30 Ulrich Drepper <drepper@gmail.com>
35724
35725 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35726 into tail calls.
35727 (update_get_addr): New function.
35728 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35729 GET_ADDR_MODULE parameter.
35730
c8a89e7d
JM
357312012-01-30 Joseph Myers <joseph@codesourcery.com>
35732
35733 * crypt/cert.c: Remove __STDC__ conditionals.
35734 * crypt/crypt-entry.c: Likewise.
35735 * crypt/crypt_util.c: Likewise.
35736 * libio/filedoalloc.c: Likewise.
35737 * libio/fileops.c: Likewise.
35738 * libio/genops.c: Likewise.
35739 * libio/iofclose.c: Likewise.
35740 * libio/iofdopen.c: Likewise.
35741 * libio/iofopen.c: Likewise.
35742 * libio/iofopen64.c: Likewise.
35743 * libio/iogetdelim.c: Likewise.
35744 * libio/iopopen.c: Likewise.
35745 * libio/obprintf.c: Likewise.
35746 * libio/oldfileops.c: Likewise.
35747 * libio/oldiofclose.c: Likewise.
35748 * libio/oldiofdopen.c: Likewise.
35749 * libio/oldiofopen.c: Likewise.
35750 * libio/oldiopopen.c: Likewise.
35751 * libio/wfiledoalloc.c: Likewise.
35752 * libio/wgenops.c: Likewise.
35753 * locale/programs/xmalloc.c: Likewise.
35754 * misc/syslog.c: Likewise.
35755 * stdio-common/xbug.c: Likewise.
35756 * string/memchr.c: Likewise.
35757 * string/memcmp.c: Likewise.
35758 * string/memrchr.c: Likewise.
35759 * string/rawmemchr.c: Likewise.
35760 * sysdeps/posix/getcwd.c: Likewise.
35761 * time/strftime_l.c: Likewise.
35762
3b100462
JM
357632012-01-30 Joseph Myers <joseph@codesourcery.com>
35764
35765 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35766 * config.make.in (config-cflags-sse2avx): Define.
35767 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35768 Fix typo.
35769
607998af
CM
357702012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35771
35772 * scripts/config.guess: Update from upstream config git repository.
35773 * scripts/config.sub: Likewise.
35774
3601428f
CM
357752012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35776
3ac8b282
CM
35777 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35778 (EM_NUM): Update.
35779 (R_TILEPRO_*, R_TILEGX_*): New macros.
35780
e034841e
CM
35781 * scripts/firstversions.awk: Fix bug in version range handling.
35782
540d7568
CM
35783 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35784
3601428f
CM
35785 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35786
463de862
CM
35787 * include/sys/epoll.h: New file.
35788 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35789 libc_hidden_def.
35790
73139a76
UD
357912012-01-28 Ulrich Drepper <drepper@gmail.com>
35792
96bc5b45
UD
35793 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35794 Avoid unnecessary __WORDSIZE == 64 test.
35795 (fmaxf): Use VEX format if possible.
35796 (fmax): Likewise.
35797 (fminf): Likewise.
35798 (fmin): Likewise.
35799
56f6f6a2
UD
35800 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35801 * math/math_private.h: Remove libc_fegetround* and
35802 libc_fesetround*.
35803 * sysdeps/i386/configure.in: Check for -msse2avx.
35804 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35805 also if SSE2AVX is defined.
35806 Remove libc_fegetround* and libc_fesetround*.
35807 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35808 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35809 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35810 of HAS_YMM_USABLE.
35811 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35812 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35813 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35814 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35815 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35816
73139a76
UD
35817 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35818
d73f93a4
AZ
358192012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35820
35821 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35822 size is not set.
35823 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35824
6ee65ed6
UD
358252012-01-27 Ulrich Drepper <drepper@gmail.com>
35826
35827 [BZ #13618]
35828 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35829 relocation.
35830 * Makeconfig (libm): Define.
35831 * elf/Makefile: Add rules to build and run tst-relsort1.
35832 * elf/tst-relsort1.c: New file.
35833 * elf/tst-relsort1mod1.c: New file.
35834 * elf/tst-relsort1mod2.c: New file.
35835
8db21882
JM
358362012-01-27 Joseph Myers <joseph@codesourcery.com>
35837
35838 * math/s_ldexp.c: Remove __STDC__ conditionals.
35839 * math/s_ldexpf.c: Likewise.
35840 * math/s_ldexpl.c: Likewise.
35841 * math/s_nextafter.c: Likewise.
35842 * math/s_nexttowardf.c: Likewise.
35843 * math/s_significand.c: Likewise.
35844 * math/s_significandf.c: Likewise.
35845 * math/s_significandl.c: Likewise.
35846 * math/w_jnl.c: Likewise.
35847 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35848 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35849 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35850 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35851 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35853 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35854 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35855 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35856 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35857 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35858 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35859 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35860 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35861 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35862 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35863 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35864 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35865 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35866 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35867 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35868 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35869 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35870 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35871 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35872 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35873 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35874 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35875 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35876 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35877 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35878 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35879 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35880 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35881 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35882 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35883 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35884 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35885 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35886 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35887 * sysdeps/ieee754/k_standard.c: Likewise.
35888 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35889 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35890 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35891 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35892 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35893 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35894 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35895 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35896 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35897 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35898 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35899 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35900 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35901 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35902 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35903 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35904 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35905 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35906 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35907 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35908 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35909 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35910 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35911 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35912 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35913 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35914 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35915 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35917 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35918 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35919 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35920 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35921 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35922 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35923 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35924 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35925 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35926 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35928 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35930 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35931 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35932 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35933 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35934 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35935 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35936 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35937 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35938 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35939 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35940 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35941 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35942 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35943 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35944 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35945 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35946 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35947 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35948 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35949 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35950 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35951 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35952 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35953 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35954 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35955 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35956 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35957 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35958 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35959 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35960 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35961 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35962 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35963 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35964 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35965 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35966 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35967 * sysdeps/ieee754/s_matherr.c: Likewise.
35968 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35969 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35971 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35972
965a54a4
JM
359732012-01-26 Joseph Myers <joseph@codesourcery.com>
35974
35975 * crypt/md5.h: Remove __STDC__ conditionals.
35976 * libio/libioP.h: Likewise.
35977 * locale/programs/config.h: Likewise.
35978 * sysdeps/generic/sysdep.h: Likewise.
35979 * sysdeps/i386/asm-syntax.h: Likewise.
35980 * sysdeps/s390/asm-syntax.h: Likewise.
35981 * sysdeps/unix/sysdep.h: Likewise.
35982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35984
7071ad79
JM
359852012-01-26 Joseph Myers <joseph@codesourcery.com>
35986
35987 * libio/libio.h: Remove __STDC__ conditionals.
35988 * malloc/obstack.h: Likewise.
35989 * math/complex.h: Likewise.
35990 * math/math.h: Likewise.
35991 * sysdeps/generic/_G_config.h: Likewise.
35992 * sysdeps/gnu/_G_config.h: Likewise.
35993 * sysdeps/mach/hurd/_G_config.h: Likewise.
35994 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35995 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35996 * sysdeps/sparc/bits/mathdef.h: Likewise.
35997
afc5ed09
UD
359982012-01-26 Ulrich Drepper <drepper@gmail.com>
35999
36000 [BZ #13583]
36001 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36002 Clean up HAS_* macros.
afc5ed09 36003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36004 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36005 possible.
36006 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36007 HAS_AVX.
36008 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36009 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36010 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36011 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36012 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36013
bdb6de1d
JM
360142012-01-25 Joseph Myers <joseph@codesourcery.com>
36015
36016 * elf/tst-unique3.cc (gets): Remove declaration.
36017 * elf/tst-unique3lib.cc (gets): Likewise.
36018 * elf/tst-unique3lib2.cc (gets): Likewise.
36019 * elf/tst-unique4.cc (gets): Likewise.
36020
b15549e6
UD
360212012-01-24 Ulrich Drepper <drepper@gmail.com>
36022
36023 * include/stdio.h: Add C++ protection. Add gets declarations and
36024 definitions.
36025 * debug/tst-chk1.c: Don't declare gets here.
36026 * stdio-common/tst-gets.c: Likewise.
36027
a037381f
JM
360282012-01-24 Joseph Myers <joseph@codesourcery.com>
36029
36030 * posix/glob: Remove directory.
36031
f1d4aa75
JM
360322012-01-24 Joseph Myers <joseph@codesourcery.com>
36033
36034 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36035
81c0c964
PT
360362012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36037
36038 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36039 of the non-standard EPFNOSUPPORT.
36040
0ea698ae
ST
360412011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36042
36043 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36044 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36045 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36046
d220b117
UD
360472012-01-21 Ulrich Drepper <drepper@gmail.com>
36048
36049 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36050
3e1aa84e
UD
360512012-01-20 Ulrich Drepper <drepper@gmail.com>
36052
36053 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36054 transient errors.
36055 * nscd/grpcache.c (cache_addgr): Likewise.
36056 * nscd/hstcache.c (cache_addhst): Likewise.
36057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36058 * nscd/pwdcache.c (cache_addpw): Likewise.
36059 * nscd/servicescache.c (cache_addserv): Likewise.
36060
400aa020
UD
360612012-01-16 Ulrich Drepper <drepper@gmail.com>
36062
d77e7869
UD
36063 * malloc/malloc.c: Various cleanups.
36064 * malloc/hooks.c: Likewise.
36065
400aa020
UD
36066 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36067 * stdlib/bug-fmtmsg1.c: New file.
36068
36069 * stdlib/fmtmsg.c (init): Add missing unlock.
36070 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36071
e0a309cf
MP
360722012-01-12 Marek Polacek <polacek@redhat.com>
36073
36074 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36075 and _GNU_SOURCE.
36076
929d11c7
WS
360772012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36078
36079 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36080 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36081 macro to ensure uniqueness of label name.
36082 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36083 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36084
41d0e869
UD
360852012-01-11 Ulrich Drepper <drepper@gmail.com>
36086
0cc5ed3b
UD
36087 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36088
41d0e869
UD
36089 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36090 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36091 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36093
a47a831a
UD
360942012-01-10 Ulrich Drepper <drepper@gmail.com>
36095
daa891c0
UD
36096 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36097
36098 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36099 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36100 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36101
e58ef0f2
UD
36102 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36103
a47a831a 36104 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36105 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36106 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36108
36109 * math/bits/math-finite.h: Add ldexp support.
36110
a0bfc9c7
MP
361112012-01-10 Marek Polacek <polacek@redhat.com>
36112
36113 * locale/programs/localedef.h (show_archive_content): Add noreturn
36114 attribute.
36115
d6e97a1d
UD
361162012-01-09 Ulrich Drepper <drepper@gmail.com>
36117
36118 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36119
d5835c26
UD
361202012-01-08 Ulrich Drepper <drepper@gmail.com>
36121
e5f484c6
UD
36122 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36123
d5835c26
UD
36124 * io/Makefile (headers): Add bits/poll2.h.
36125
d1f741e9
WS
361262011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36127
36128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36129 typo #include statement.
36130
ec09c1c4
UD
361312012-01-08 Ulrich Drepper <drepper@gmail.com>
36132
36133 * include/sys/cdefs.h: Define __attribute_alloc_size.
36134 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36135 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36136 * elf/pldd.c: Likewise.
36137 * iconv/iconv_charmap.c: Likewise.
36138 * iconv/iconvconfig.c: Likewise.
36139 * iconv/strtab.c: Likewise.
36140 * locale/programs/locale.c: Likewise.
36141 * locale/programs/localedef.h: Likewise.
36142 * locale/programs/simple-hash.c: Likewise.
36143 * nscd/nscd.h: Likewise.
36144 * nss/makedb.c: Likewise.
36145 * sysdeps/generic/ldconfig.h: Likewise.
36146 * locale/programs/localedef.c: Remove xmalloc prototype.
36147 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36148
20b38e03
PP
361492012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36150
36151 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36152 appropriate.
36153
a0da5fe1
UD
361542012-01-08 Ulrich Drepper <drepper@gmail.com>
36155
1d5a644a 36156 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36157 * math/tst-CMPLX.c: New file.
1d5a644a 36158
8784a6db
UD
36159 * math/complex.h (CMPLXL): Fix typo.
36160
d9a216c0
UD
36161 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36162 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36163 GLIBC_2.16.
36164 * debug/tst-chk1.c: Add poll and ppoll tests.
36165 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36166 * include/sys/poll.h: Add hidden proto for ppoll.
36167 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36168 * sysdeps/mach/hurd/ppoll.c: Likewise.
36169 * io/ppoll.c: Likewise.
36170 * debug/poll_chk.c: New file.
36171 * debug/ppoll_chk.c: New file.
36172 * include/bits/poll2.h: New file.
36173 * io/bits/poll2.h: New file.
36174
ac097f5c
UD
36175 [BZ #1350]
36176 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36177
2119dcfa
UD
36178 * configure.in: static is always set to yes. Remove.
36179 * config.make.in: Don't set build-static.
36180 * Makeconfig: Remove use of build-static.
36181 * dlfcn/Makefile: Likewise.
36182 * elf/Makefile: Likewise.
36183 * math/Makefile: Likewise.
36184 * misc/Makefile: Likewise.
36185 * nptl/Makefile: Likewise.
36186 * sysdeps/mach/hurd/Makefile: Likewise.
36187
121766a9
UD
36188 * configure.in: PWD_P is not used anymore.
36189 * config.make.in: Remove PWD_P entry.
36190
51a1d39c 36191 * configure.in: Remove last remnants of RANLIB.
8720d066 36192 No need to check for signed size_t anymore.
215f4bdc
UD
36193 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36194 and IA-64.
3857022a 36195 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36196 * aclocal.m4: Likewise.
36197
d3ed7225
UD
36198 * wcsmbs/mbrtoc16.c: Implement using towc function.
36199 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36200 * wcsmbs/wcsmbsload.c: Likewise.
36201 * iconv/gconv_simple.c: Likewise.
36202 * iconv/gconv_int.h: Likewise.
36203 * iconv/gconv_builtin.h: Likewise.
36204 * iconv/iconv_prog.c: Remove CHAR16 handling.
36205
36206 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36207
36208 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36209
a0da5fe1
UD
36210 * configure.in: Remove --with-elf and --enable-bounded options.
36211 Dont set base_machine for ia64. More non-ELF conditions removed.
36212 Remove testing and setting of leading underscore information.
36213 * config.make.in (build-bounded): Set to no.
36214 * config.h.in: Remove NO_UNDERSCORES entry.
36215 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36216 them.
36217 * csu/start.c: Remove !NO_UNDERSCORE code.
36218 * locale/localeinfo.h: Likewise.
36219 * sysdeps/generic/machine-gmon.h: Likewise.
36220 * sysdeps/generic/sysdep.h: Likewise.
36221 * sysdeps/i386/sysdep.h: Likewise.
36222 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36223 * sysdeps/mach/sysdep.h: Likewise.
36224 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36225 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36226 * sysdeps/sh/sysdep.h: Likewise.
36227 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36228 * sysdeps/unix/i386/sysdep.S: Likewise.
36229 * sysdeps/unix/sparc/start.c: Likewise.
36230 * sysdeps/unix/sparc/sysdep.S: Likewise.
36231 * sysdeps/unix/sparc/sysdep.h: Likewise.
36232 * sysdeps/unix/start.c: Likewise.
36233 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36234 * sysdeps/x86_64/sysdep.h: Likewise.
36235
df78418a
UD
362362012-01-07 Ulrich Drepper <drepper@gmail.com>
36237
a784e502
UD
36238 [BZ #13553]
36239 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36240 for non-gcc.
36241 * argp/argp-fmtstream.h: Use const instead __const.
36242 * argp/argp.h: Likewise.
36243 * assert/assert.h: Likewise.
36244 * bits/fenv.h: Likewise.
36245 * bits/sched.h: Likewise.
36246 * bits/sigset.h: Likewise.
36247 * bits/sigthread.h: Likewise.
36248 * catgets/nl_types.h: Likewise.
36249 * conform/data/pthread.h-data: Likewise.
36250 * crypt/crypt-private.h: Likewise.
36251 * crypt/crypt.h: Likewise.
36252 * crypt/crypt_util.c: Likewise.
36253 * ctype/ctype.h: Likewise.
36254 * debug/execinfo.h: Likewise.
36255 * debug/mbsnrtowcs_chk.c: Likewise.
36256 * debug/mbsrtowcs_chk.c: Likewise.
36257 * debug/wcsnrtombs_chk.c: Likewise.
36258 * debug/wcsrtombs_chk.c: Likewise.
36259 * debug/wcstombs_chk.c: Likewise.
36260 * dirent/dirent.h: Likewise.
36261 * dlfcn/dlfcn.h: Likewise.
36262 * elf/neededtest4.c: Likewise.
36263 * grp/grp.h: Likewise.
36264 * gshadow/gshadow.h: Likewise.
36265 * iconv/gconv.h: Likewise.
36266 * iconv/gconv_int.h: Likewise.
36267 * iconv/gconv_simple.c: Likewise.
36268 * iconv/iconv.h: Likewise.
36269 * iconv/loop.c: Likewise.
36270 * iconv/skeleton.c: Likewise.
36271 * include/aio.h: Likewise.
36272 * include/aliases.h: Likewise.
36273 * include/argz.h: Likewise.
36274 * include/arpa/inet.h: Likewise.
36275 * include/assert.h: Likewise.
36276 * include/dirent.h: Likewise.
36277 * include/dlfcn.h: Likewise.
36278 * include/execinfo.h: Likewise.
36279 * include/fcntl.h: Likewise.
36280 * include/fenv.h: Likewise.
36281 * include/glob.h: Likewise.
36282 * include/grp.h: Likewise.
36283 * include/libintl.h: Likewise.
36284 * include/mntent.h: Likewise.
36285 * include/netdb.h: Likewise.
36286 * include/pwd.h: Likewise.
36287 * include/rpc/netdb.h: Likewise.
36288 * include/sched.h: Likewise.
36289 * include/search.h: Likewise.
36290 * include/shadow.h: Likewise.
36291 * include/signal.h: Likewise.
36292 * include/stdio.h: Likewise.
36293 * include/stdlib.h: Likewise.
36294 * include/string.h: Likewise.
36295 * include/sys/socket.h: Likewise.
36296 * include/sys/stat.h: Likewise.
36297 * include/sys/statfs.h: Likewise.
36298 * include/sys/statvfs.h: Likewise.
36299 * include/sys/syslog.h: Likewise.
36300 * include/sys/time.h: Likewise.
36301 * include/sys/uio.h: Likewise.
36302 * include/time.h: Likewise.
36303 * include/unistd.h: Likewise.
36304 * include/utmp.h: Likewise.
36305 * include/wchar.h: Likewise.
36306 * include/wctype.h: Likewise.
36307 * inet/aliases.h: Likewise.
36308 * inet/arpa/inet.h: Likewise.
36309 * inet/netinet/ether.h: Likewise.
36310 * inet/netinet/in.h: Likewise.
36311 * intl/libintl.h: Likewise.
36312 * io/bits/fcntl2.h: Likewise.
36313 * io/fcntl.h: Likewise.
36314 * io/ftw.h: Likewise.
36315 * io/sys/poll.h: Likewise.
36316 * io/sys/stat.h: Likewise.
36317 * io/sys/statfs.h: Likewise.
36318 * io/sys/statvfs.h: Likewise.
36319 * io/utime.h: Likewise.
36320 * libio/bits/stdio.h: Likewise.
36321 * libio/bits/stdio2.h: Likewise.
36322 * libio/libio.h: Likewise.
36323 * libio/libioP.h: Likewise.
36324 * libio/stdio.h: Likewise.
36325 * locale/lc-ctype.c: Likewise.
36326 * locale/locale.h: Likewise.
36327 * login/utmp.h: Likewise.
36328 * malloc/arena.c: Likewise.
36329 * malloc/malloc.c: Likewise.
36330 * malloc/malloc.h: Likewise.
36331 * malloc/mcheck.c: Likewise.
36332 * malloc/mtrace.c: Likewise.
36333 * math/bits/mathcalls.h: Likewise.
36334 * math/fenv.h: Likewise.
36335 * math/math_private.h: Likewise.
36336 * misc/bits/error.h: Likewise.
36337 * misc/bits/syslog.h: Likewise.
36338 * misc/err.h: Likewise.
36339 * misc/error.h: Likewise.
36340 * misc/fstab.h: Likewise.
36341 * misc/mntent.h: Likewise.
36342 * misc/regexp.h: Likewise.
36343 * misc/search.h: Likewise.
36344 * misc/sgtty.h: Likewise.
36345 * misc/sys/mman.h: Likewise.
36346 * misc/sys/syslog.h: Likewise.
36347 * misc/sys/uio.h: Likewise.
36348 * misc/sys/xattr.h: Likewise.
36349 * misc/ttyent.h: Likewise.
36350 * nis/rpcsvc/ypclnt.h: Likewise.
36351 * nss/nss.h: Likewise.
36352 * posix/bits/unistd.h: Likewise.
36353 * posix/fnmatch.h: Likewise.
36354 * posix/glob.h: Likewise.
36355 * posix/sched.h: Likewise.
36356 * posix/spawn.h: Likewise.
36357 * posix/sys/wait.h: Likewise.
36358 * posix/unistd.h: Likewise.
36359 * posix/wordexp.h: Likewise.
36360 * pwd/pwd.h: Likewise.
36361 * resolv/netdb.h: Likewise.
36362 * resource/sys/resource.h: Likewise.
36363 * rt/aio.h: Likewise.
36364 * rt/bits/mqueue2.h: Likewise.
36365 * rt/mqueue.h: Likewise.
36366 * shadow/shadow.h: Likewise.
36367 * signal/signal.h: Likewise.
36368 * socket/send.c: Likewise.
36369 * socket/sendto.c: Likewise.
36370 * socket/sys/socket.h: Likewise.
36371 * stdio-common/printf.h: Likewise.
36372 * stdlib/bits/stdlib.h: Likewise.
36373 * stdlib/fmtmsg.h: Likewise.
36374 * stdlib/monetary.h: Likewise.
36375 * stdlib/stdlib.h: Likewise.
36376 * stdlib/ucontext.h: Likewise.
36377 * streams/stropts.h: Likewise.
36378 * string/argz.h: Likewise.
36379 * string/bits/string2.h: Likewise.
36380 * string/string.h: Likewise.
36381 * string/strings.h: Likewise.
36382 * sunrpc/rpc/auth.h: Likewise.
36383 * sunrpc/rpc/auth_des.h: Likewise.
36384 * sunrpc/rpc/clnt.h: Likewise.
36385 * sunrpc/rpc/netdb.h: Likewise.
36386 * sunrpc/rpc/pmap_clnt.h: Likewise.
36387 * sunrpc/rpc/xdr.h: Likewise.
36388 * sysdeps/generic/inttypes.h: Likewise.
36389 * sysdeps/generic/net/if.h: Likewise.
36390 * sysdeps/generic/sys/swap.h: Likewise.
36391 * sysdeps/gnu/net/if.h: Likewise.
36392 * sysdeps/gnu/utmpx.h: Likewise.
36393 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36394 * sysdeps/i386/i486/bits/string.h: Likewise.
36395 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36396 * sysdeps/s390/bits/string.h: Likewise.
36397 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36398 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36399 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36400 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36401 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36402 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36403 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36404 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36405 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36406 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36407 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36408 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36409 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36410 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36411 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36412 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36413 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36415 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36416 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36417 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36418 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36419 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36420 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36421 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36422 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36423 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36424 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36425 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36426 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36427 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36428 * sysvipc/sys/ipc.h: Likewise.
36429 * sysvipc/sys/msg.h: Likewise.
36430 * sysvipc/sys/sem.h: Likewise.
36431 * sysvipc/sys/shm.h: Likewise.
36432 * termios/termios.h: Likewise.
36433 * time/sys/time.h: Likewise.
36434 * time/time.h: Likewise.
36435 * wcsmbs/bits/wchar2.h: Likewise.
36436 * wcsmbs/uchar.h: Likewise.
36437 * wcsmbs/wchar.h: Likewise.
36438 * wctype/wctype.h: Likewise.
36439
0269750c
UD
36440 [BZ #13551]
36441 * Makeconfig: Remove all but ELF support including AIX support.
36442 * Makerules: Likewise.
36443 * config.h.in: Likewise.
36444 * config.make.in: Likewise.
36445 * configure: Likewise.
36446 * configure.in: Likewise.
36447 * csu/Makefile: Likewise.
36448 * csu/version.c: Likewise.
36449 * debug/Makefile: Likewise.
36450 * dlfcn/Makefile: Likewise.
36451 * elf/Makefile: Likewise.
36452 * extra-lib.mk: Likewise.
36453 * iconv/Makefile: Likewise.
36454 * include/libc-symbols.h: Likewise.
36455 * include/shlib-compat.h: Likewise.
36456 * resolv/Makefile: Likewise.
36457 * resolv/res_libc.c: Likewise.
36458 * rt/Makefile: Likewise.
36459 * sysdeps/i386/asm-syntax.h: Likewise.
36460 * sysdeps/i386/sysdep.h: Likewise.
36461 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36462 * sysdeps/mach/sysdep.h: Likewise.
36463 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36464 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36465 * sysdeps/s390/asm-syntax.h: Likewise.
36466 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36467 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36468 * sysdeps/sh/sysdep.h: Likewise.
36469 * sysdeps/unix/sparc/sysdep.h: Likewise.
36470 * sysdeps/wordsize-32/divdi3.c: Likewise.
36471 * sysdeps/x86_64/sysdep.h: Likewise.
36472
00bbd29b
UD
36473 * argp/Versions: Remove _argp_unlock_xxx.
36474
36475 [BZ #13559]
36476 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36477 * abilist/libBrokenLocale.abilist: Likewise.
36478 * abilist/libanl.abilist: Likewise.
36479 * abilist/libc.abilist: Likewise.
36480 * abilist/libcrypt.abilist: Likewise.
36481 * abilist/libdl.abilist: Likewise.
36482 * abilist/libm.abilist: Likewise.
36483 * abilist/libnsl.abilist: Likewise.
36484 * abilist/libpthread.abilist: Likewise.
36485 * abilist/libresolv.abilist: Likewise.
36486 * abilist/librt.abilist: Likewise.
36487 * abilist/libthread_db.abilist: Likewise.
36488 * abilist/libutil.abilist: Likewise.
36489 * abilist/libnss_db.abilist: New file.
36490
36491 * scripts/abilist.awk: Add support for indirect functions.
36492
a2693a0e
UD
36493 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36494
3f05895f
UD
36495 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36496
ecb6fb48
UD
36497 * shlib-versions: Remove entries for ports architectures.
36498
664f8cb9
UD
36499 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36500 files in ports.
36501 * elf/stackguard-macros.h: Remove support for IA-64.
36502 * elf/tst-auditmod1.c: Likewise.
36503 * sysdeps/generic/ldsodefs.h: Likewise.
36504
7ae81d88
UD
36505 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36506 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36507 configure files.
36508
bdeba135
UD
36509 [BZ #13552]
36510 * configure.in: Remove --enable-omitfp support.
36511 * FAQ.in: Adjust.
36512 * config.make.in: Likewise.
36513 * Makeconfig: Likewise.
36514 * manual/install.texi: Likewise.
36515
d75a0a62
UD
36516 In case anyone cares, the IA-64 architecture could move to ports.
36517 * sysdeps/ia64/*: Removed.
36518 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36519 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36520
dcc9756b
UD
36521 [BZ #13555]
36522 * configure.in: Remove entries for unsupported architectures.
36523
d3761ebc 36524 [BZ #13533]
9954432e
UD
36525 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36526 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36527 routines.
36528 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36529 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36530 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36531 fall back to using wcrtomb.
36532 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36533 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36534 renaming.
36535 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36536 * wcsmbs/tst-c16c32-1.c: New file.
36537
36538 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36539 local variable.
36540
c3a87236
UD
36541 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36542
28926a1b
UD
36543 * elf/tst-unique3.cc: Add explicit declaration of gets.
36544 * elf/tst-unique3lib.cc: Likewise.
36545 * elf/tst-unique3lib2.cc: Likewise.
36546 * elf/tst-unique4.cc: Likewise.
36547
df78418a
UD
36548 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36549
8ecd6b2a
JM
365502012-01-06 Joseph Myers <joseph@codesourcery.com>
36551
36552 [BZ #13566]
36553 * assert/assert.h (static_assert): Don't define for C++.
36554 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36555 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36556
9f115170
UD
365572012-01-03 Ulrich Drepper <drepper@gmail.com>
36558
5e0d0300
UD
36559 * iconv/loop.c (single loop): Fix assertion in storing of
36560 remaining bytes.
36561
9f115170
UD
36562 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36563
81fb02b0
UD
365642012-01-01 Ulrich Drepper <drepper@gmail.com>
36565
36566 * posix/getconf.c: Update copyright year.
36567 * nss/getent.c: Likewise.
a316c1f6 36568 * nss/makedb.c: Likewise.
81fb02b0
UD
36569 * iconv/iconvconfig.c: Likewise.
36570 * iconv/iconv_prog.c: Likewise.
36571 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36572 * elf/pldd.c: Likewise.
36573 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36574 * catgets/gencat.c: Likewise.
36575 * csu/version.c: Likewise.
36576 * elf/ldd.bash.in: Likewise.
36577 * elf/sprof.c (print_version): Likewise.
36578 * locale/programs/locale.c: Likewise.
36579 * locale/programs/localedef.c: Likewise.
a316c1f6 36580 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36581 * nscd/nscd.c (print_version): Likewise.
36582 * debug/xtrace.sh: Likewise.
36583 * malloc/memusage.sh: Likewise.
36584 * malloc/mtrace.pl: Likewise.
36585 * debug/catchsegv.sh: Likewise.
36586
2ba92745
JJ
365872011-12-30 Jakub Jelinek <jakub@redhat.com>
36588
36589 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36590 pure attribute.
36591
dadebdae
UD
365922011-12-24 Ulrich Drepper <drepper@gmail.com>
36593
d3761ebc 36594 [BZ #13533]
db6af3eb
UD
36595 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36596 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36597 transformations.
36598 * iconv/gconv_int.h: Likewise.
36599 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36600 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36601 from libc for GLIBC_2.16.
36602 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36603 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36604 * wcsmbs/uchar.h: Really define mbstate_t.
36605 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36606 * wcsmbs/c16rtomb.c: New file.
36607 * wcsmbs/mbrtoc16.c: New file.
36608 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36609 for C/POSIX locale.
36610 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36611 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36612
dadebdae
UD
36613 * wcsmbs/wchar.h: Add missing __restrict.
36614
67371b56
UD
366152011-12-23 Ulrich Drepper <drepper@gmail.com>
36616
74033a25
UD
36617 [BZ #13532]
36618 * time/Makefile (routines): Add timespec_get.
36619 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36620 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36621 timespec for ISO C11.
36622 * time/timespec_get.c: New file.
36623 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36624 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36625
380d7e87
UD
36626 [BZ #13531]
36627 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36628 * stdlib/stdlib.h: Declare aligned_alloc.
36629 * Versions.def: Add GLIBC_2.16 for libc.
36630 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36631
4e9e7a35
UD
36632 [BZ 13527]
36633 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36634 ISO C11.
36635
380d7e87 36636 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36637 code.
36638
03a71829
UD
36639 [BZ #13528]
36640 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36641
839e283e
UD
36642 [BZ #13529]
36643 * assert/assert.h (static_assert): Define.
36644
ce5294e2 36645 * version.h: Update for 2.16 development version.
90fa7312 36646
8d44e150 36647 [BZ #13526]
d7809905
UD
36648 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36649 _ISOC11_SOURCE.
36650
c0da14cd
UD
36651 * version.h (RELEASE): Bump for 2.15 release.
36652 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36653
530a3249
MP
36654 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36655 Patch by Marek Polacek <mpolacek@redhat.com>.
36656
67371b56
UD
36657 * bits/byteswap.h: Protect long long constants with __extension__.
36658 * sysdeps/i386/bits/byteswap.h: Likewise.
36659 * sysdeps/ia64/bits/byteswap.h: Likewise.
36660 * sysdeps/s390/bits/byteswap.h: Likewise.
36661 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36662
15db4de1
LD
366632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36664
36665 [BZ #13540]
bbe315ea
LD
36666 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36667 destination buffer.
15db4de1
LD
36668 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36669
2b2596b1
MP
366702011-12-23 Marek Polacek <polacek@redhat.com>
36671
36672 * elf/dl-addr.c (determine_info): Add inline keyword.
36673 * elf/tst-auditmod4b.c (check_avx): Likewise.
36674 * elf/tst-auditmod6b.c (check_avx): Likewise.
36675 * elf/tst-auditmod6c.c (check_avx): Likewise.
36676 * elf/tst-auditmod7b.c (check_avx): Likewise.
36677
70c6c246
UD
366782011-12-23 Ulrich Drepper <drepper@gmail.com>
36679
36680 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36681 !__SSE_MATH__.
36682
c044cf14
LD
366832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36684
15db4de1 36685 [BZ #13540]
c044cf14
LD
36686 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36687 processing for last bytes.
36688
6b13d9d9
BH
366892011-08-06 Bruno Haible <bruno@clisp.org>
36690
d455f537
BH
36691 [BZ #13061]
36692 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36693 U+0385, not to U+1FEE.
36694
6b13d9d9
BH
36695 [BZ #13062]
36696 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36697 entry for U+00A5 U+0301.
36698
db910efd
UD
366992011-12-22 Ulrich Drepper <drepper@gmail.com>
36700
27deeafc
UD
36701 [BZ #13166]
36702 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36703 buffer for the output is too small.
36704
aed9d171
UD
36705 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36706 optimization.
36707
db910efd
UD
36708 [BZ #13185]
36709 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36710 SSE flags if possible.
36711
2bd779ae
LD
367122011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36713
e7f9dac3 36714 [BZ #13540]
2bd779ae
LD
36715 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36716 processing for last bytes.
36717
154bfc16
JM
367182011-12-22 Joseph Myers <joseph@codesourcery.com>
36719
36720 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36721 (syscall-list-default-options, syscall-list-default-condition)
36722 (syscall-list-includes): Define.
36723 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36724 list of ABIs and options and #if conditions for each ABI. Do not
36725 handle common syscalls between ABIs specially.
36726 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36727 Remove.
36728 (syscall-list-variants, syscall-list-32bit-options)
36729 (syscall-list-32bit-condition, syscall-list-64bit-options)
36730 (syscall-list-64bit-condition): Define.
36731 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36732 (syscall-list-variants, syscall-list-32bit-options)
36733 (syscall-list-32bit-condition, syscall-list-64bit-options)
36734 (syscall-list-64bit-condition): Define.
36735 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36736 Remove.
36737 (syscall-list-variants, syscall-list-32bit-options)
36738 (syscall-list-32bit-condition, syscall-list-64bit-options)
36739 (syscall-list-64bit-condition): Define.
36740 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36741 Remove.
36742 (syscall-list-variants, syscall-list-32bit-options)
36743 (syscall-list-32bit-condition, syscall-list-64bit-options)
36744 (syscall-list-64bit-condition): Define.
36745
21eaf3a5
UD
367462011-12-22 Ulrich Drepper <drepper@gmail.com>
36747
16c6f992
UD
36748 * locale/iso-639.def: Add brx entry.
36749
41043168
UD
36750 [BZ #13328]
36751 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36752 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36753
21eaf3a5
UD
36754 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36755 __feraiseexcept_renamed.
36756
e3a851a2
UD
367572011-12-21 Ulrich Drepper <drepper@gmail.com>
36758
4920765e
UD
36759 [BZ #13538]
36760 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36761 EPOLLET with unsigned values.
36762 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36763 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36764
e3a851a2
UD
36765 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36766 to large cancellation.
36767 * math/s_cacoshf.c: Likewise.
36768 * math/s_cacoshl.c: Likewise.
36769
b27e24b8
RK
367702011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36771
36772 [BZ #13305]
aebefeee 36773 [BZ #12786]
b27e24b8
RK
36774 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36775 * math/s_cacoshf.c: Likewise.
36776 * math/s_cacoshl.c: Likewise.
36777
ee190f67
UD
367782011-12-21 Ulrich Drepper <drepper@gmail.com>
36779
36780 [BZ #13439]
36781 * iconv/gconv.h: Define __GCONV_SWAP.
36782 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36783 * iconvdata/utf-16.c: Likewise.
36784 * iconvdata/utf-32.c: Likewise.
36785
707f25df
AS
367862011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36787
36788 [BZ #13524]
36789 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36790 numerator after shifting it by one limb.
36791
d2daaa1e
RÁE
367922011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36793
36794 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36795 under [__USE_EXTERN_INLINES].
36796
a4647e72
UD
367972011-12-17 Ulrich Drepper <drepper@gmail.com>
36798
36799 [BZ #13446]
36800 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36801
f0b264f1
AZ
368022011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36803
36804 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36805 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36806 optimized code.
36807 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36808 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36809 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36810 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36811 for strncasecmp/strncasecmp_l compilation.
36812 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36813 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36814
8ef4f244
MP
368152011-12-08 Marek Polacek <mpolacek@redhat.com>
36816
36817 [BZ #13484]
36818 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36819 of __asm__.
36820
97ac2654
UD
368212011-12-17 Ulrich Drepper <drepper@gmail.com>
36822
36823 [BZ #13506]
36824 * time/tzfile.c (__tzfile_read): Check values from file header.
36825
91d2a845
WS
368262011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36827
36828 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36829 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36830 * powerpc/powerpc32/dl-start.S: Likewise.
36831 * powerpc/powerpc32/elf/start.S: Likewise.
36832 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36833 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36834 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36835 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36836 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36837 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36838 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36839 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36840 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36841 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36842 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36843 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36844 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36845 * powerpc/powerpc32/memset.S: Likewise.
36846 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36847 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36848 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36849 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36850 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36851 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36852 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36853 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36854 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36855 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36856 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36857 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36858 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36859
a1267ba1
AZ
368602011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36861
36862 * math/libm-test.inc: Added more nearbyint tests.
36863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36864 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36866 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36867
ad8ac1bd
RL
368682011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36869
36870 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36871 FD_CLOEXEC.
36872
1d3e4b61
UD
368732011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36874
36875 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36876 Add wcscpy-ssse3 wcscpy-c.
36877 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36878 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36879 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36880 * sysdeps/x86_64/wcschr.S: New file.
36881 * sysdeps/x86_64/wcsrchr.S: New file.
36882 * string/test-strcmp.c: Remove checking of wcscmp function for
36883 wrong alignments.
36884 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36885 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36886 wcsrchr-sse2 wcsrchr-c.
36887 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36888 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36889 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36890 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36891 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36892 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36893 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36894 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36895 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36896 * wcsmbc/wcschr.c (WCSCHR): New macro.
36897
5b330a2d
UD
368982011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36899
36900 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36901 * wcsmbs/test-wcsrchr.c: New file.
36902 * string/test-strrchr.c: Add wcsrchr support.
36903 (WIDE): New macro.
36904 * wcsmbs/test-wcscpy.c: New file.
36905 * string/test-strcpy.c: Add wcscpy support.
36906 (WIDE): New macro.
26428b7c 36907
f039c043
UD
369082011-12-10 Ulrich Drepper <drepper@gmail.com>
36909
36910 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36911 the inner loop.
36912
850fb039
AS
369132011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36914
36915 [BZ #13472]
36916 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36917
4efbd5cb
UD
369182011-12-04 Ulrich Drepper <drepper@gmail.com>
36919
52ff5dd0 36920 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36921 Minor optimizations.
52ff5dd0 36922
4efbd5cb
UD
36923 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36924 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36925 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36926
8a426e12
UD
369272011-12-03 Ulrich Drepper <drepper@gmail.com>
36928
aff2453d
UD
36929 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36930 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36931 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36932 for gcc to avoid warnings.
36933 * inet/Makefile (tests): Add tst-checks.
36934 * inet/tst-checks.c: New file.
36935
36936 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36937 warning.
36938
36939 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36940 __wmemcmp_sse2.
36941
36942 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36943 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36944
8a426e12
UD
36945 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36946
9bea3473
UD
369472011-12-02 Ulrich Drepper <drepper@gmail.com>
36948
3a965496
UD
36949 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36950 problem.
36951
9bea3473
UD
36952 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36953
f101631b
UD
369542011-11-29 Joseph Myers <joseph@codesourcery.com>
36955
36956 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36957 conditional on GCC version.
36958 (__arch_compare_and_exchange_val_8_acq)
36959 (__arch_compare_and_exchange_val_16_acq)
36960 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36961 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36962 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36963
a98275aa
UD
369642011-12-02 Joseph Myers <joseph@codesourcery.com>
36965
36966 * sysdeps/sh/backtrace.c: New file.
36967
d4cc29a2
AS
369682011-12-02 Andreas Schwab <schwab@redhat.com>
36969
36970 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36971 parenthesis.
36972
6257af2d
AS
369732011-12-01 Andreas Schwab <schwab@redhat.com>
36974
36975 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36976 falling back to utime.
36977
b5f44c1a
AS
369782011-11-30 Andreas Schwab <schwab@redhat.com>
36979
36980 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36981 expectations for float.
36982
f3a6cc0a
AS
369832011-11-29 Andreas Schwab <schwab@redhat.com>
36984
36985 * locale/weight.h (findidx): Add parameter len.
36986 * locale/weightwc.h (findidx): Likewise.
36987 * posix/fnmatch_loop.c (FCT): Adjust caller.
36988 * posix/regcomp.c (build_equiv_class): Likewise.
36989 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36990 * posix/regexec.c (check_node_accept_bytes): Likewise.
36991 * string/strcoll_l.c (STRCOLL): Likewise.
36992 * string/strxfrm_l.c (STRXFRM): Likewise.
36993
9d65ea3a
UD
369942011-11-17 Ulrich Drepper <drepper@gmail.com>
36995
36996 * Makefile.in: Remove CVSOPT handling.
36997 * configure.in: Remove use of AC_REVISION.
36998 * iconvdata/Makefile (distribute): No need to filter out CVS.
36999 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37000 handling.
37001
5583a086
AS
370022011-11-16 Andreas Schwab <schwab@redhat.com>
37003
37004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37005 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37006 [USE_AS_STRNCASECMP_L]: Likewise.
37007 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37008 NO_TLS_DIRECT_SEG_REFS.
37009 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37010 Fix argument offsets for non-PIC.
37011 [USE_AS_STRNCASECMP_L]: Likewise.
37012 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37013 NO_TLS_DIRECT_SEG_REFS.
37014
d62a8200
UD
370152011-11-15 Ulrich Drepper <drepper@gmail.com>
37016
9d65ea3a 37017 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37018 O_CLOEXEC.
37019 * locale/loadlocale.c (_nl_load_locale): Likewise.
37020
09f93bd3
AS
370212011-11-15 Andreas Schwab <schwab@redhat.com>
37022
446514f9
AS
37023 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37024 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37025 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37026 (SYSCALL_GETTIME): Set errno on error.
37027
09f93bd3
AS
37028 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37029 count references to noai6ai_cached.
37030
312be3f9
UD
370312011-11-15 Ulrich Drepper <drepper@gmail.com>
37032
37033 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37034
37035 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37036 FD_CLOEXEC for /proc/self/maps.
37037
37038 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37039 FD_CLOEXEC for /proc/meminfo.
37040
37041 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37042 gai.conf.
37043
37044 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37045 FD_CLOEXEC for given file.
37046
37047 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37048
37049 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37050 FD_CLOEXEC for /etc/hosts.
37051 (_gethtent): Likewise.
37052
37053 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37054
37055 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37056 cancellation and set FD_CLOEXEC for /etc/netgroup.
37057
37058 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37059 reading /etc/publickey.
37060
37061 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37062 allow cancellation when reading /etc/group.
37063
37064 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37065 cancellation.
37066 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37067
37068 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37069 when using data file.
37070
37071 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37072
37073 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37074 (write_nis_obj): Use "c" and "e" in fopen.
37075
37076 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37077
37078 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37079
37080 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37081
37082 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37083
37084 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37085 locale.alias.
37086
37087 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37088
37089 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37090
37091 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37092
37093 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37094 file parsing and set FD_CLOEXEC.
37095
82af0fa8
UD
370962011-11-14 Ulrich Drepper <drepper@gmail.com>
37097
37098 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37099
a5fb313c
AS
371002011-11-14 Andreas Schwab <schwab@redhat.com>
37101
37102 * malloc/arena.c (arena_get2): Don't call reused_arena when
37103 _int_new_arena failed.
37104
6abf3465
UD
371052011-11-14 Ulrich Drepper <drepper@gmail.com>
37106
37107 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37108 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37109 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37110 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37111 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37113 to compile strcasecmp and strncasecmp.
37114 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37115 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37116
37117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37118
76e3966e
UD
371192011-11-13 Ulrich Drepper <drepper@gmail.com>
37120
37121 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37122 locale-defines.sym to gen-as-const-headers.
37123 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37124 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37125 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37126 to compile strcasecmp and strncasecmp.
37127 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37128 strcasecmp_l and strncasecmp_l.
37129 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37130 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37131 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37132 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37133 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37134 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37135 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37136 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37137 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37138 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37139 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37140
ab26144e
UD
371412011-11-12 Ulrich Drepper <drepper@gmail.com>
37142
7edb22ef
UD
37143 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37144 result of SYSDEP_GETTIME_CPU to retval.
37145 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37146 parameter list to macro. Remove trailing semicolon. Adjust users.
37147
9694fc44
UD
37148 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37149 variable.
37150
8ad89ef8
UD
37151 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37152 mantissa words.
37153 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37154
0c822ef9
UD
37155 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37156 from unused variable.
37157
874e0564
UD
37158 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37159 DWARF definitions.
37160 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37161 for assembling.
37162
3a2edc79
UD
37163 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37164 over namespaces.
37165
f3c2577f
UD
37166 * sunrpc/rpc_prot.c (rejected): Fix case value.
37167
294ce126
UD
37168 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37169 unsigned long long int to avoid warnings in shift.
37170
5e2b63c6
UD
37171 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37172 of use of trans.
37173 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37174 variable tmp.
37175
e7f4b08e
UD
37176 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37177 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37178 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37179
ab26144e
UD
37180 * nis/nis_table.c (nis_list): Use variable of correct type for
37181 result of __follow_path call.
37182
8a6d5255
AZ
371832011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37184
37185 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37186 of math functions ceil, trunc, floor, round, and sqrt, when
37187 avaliable on the platform.
37188 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37189 name clash.
37190 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37191 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37192 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37193
aaddc98c
MP
371942011-10-30 Marek Polacek <mpolacek@redhat.com>
37195
37196 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37197 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37198
95b7042b
RM
371992011-11-11 Roland McGrath <roland@hack.frob.com>
37200
37201 * include/unistd.h: Fix __readlink return type.
37202 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37203
57769839
UD
372042011-11-11 Ulrich Drepper <drepper@gmail.com>
37205
37206 * stdlib/ucontext.h: Undo last change for makecontext.
37207
edc5984d
AS
372082011-11-11 Andreas Schwab <schwab@redhat.com>
37209
98591e58
AS
37210 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37211
edc5984d
AS
37212 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37213 * setjmp/setjmp.h: Mark functions as non-leaf.
37214 * setjmp/bits/setjmp2.h: Likewise.
37215 * stdlib/ucontext.h: Likewise.
37216
77cdc054
AS
372172011-11-10 Andreas Schwab <schwab@redhat.com>
37218
37219 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37220 (reused_arena): Don't check arena limit.
37221 (arena_get2): Atomically check arena limit.
37222
fe72eebd
UD
372232011-11-08 Ulrich Drepper <drepper@gmail.com>
37224
5f078c32
UD
37225 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37226 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37227
fe72eebd
UD
37228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37229 instructions.
37230
ae1bc2fa
AS
372312011-11-07 Andreas Schwab <schwab@redhat.com>
37232
7583a88d
AS
37233 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37234 handler when locking.
37235
ae1bc2fa
AS
37236 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37237 Fix size of allocated buffer.
37238
10fb0bfa
AS
372392011-11-04 Andreas Schwab <schwab@redhat.com>
37240
998832a4
AS
37241 [BZ #10103]
37242 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37243 declarations for long double functions.
37244 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37245
10fb0bfa
AS
37246 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37247
3d7ba52b
AS
372482011-11-03 Andreas Schwab <schwab@redhat.com>
37249
a9ae54a1
AS
37250 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37251 installed.
37252
3d7ba52b
AS
37253 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37254 is disabled.
37255
bc8db248
ST
372562011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37257
37258 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37259
45b96dd6
AS
372602011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37261
647776f6
AS
37262 * include/alloca.h (stackinfo_alloca_round): Define.
37263 (extend_alloca): Use it.
37264 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37265 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37266 here.
37267
d91a8b93
AS
37268 * scripts/check-local-headers.sh: Ignore libaudit.h.
37269
45b96dd6
AS
37270 * nscd/Makefile (extra-objs): Make recursively expanded.
37271
432d41ce
UD
372722011-11-01 Ulrich Drepper <drepper@gmail.com>
37273
34372fc6
UD
37274 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37275 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37276
fadb59f8
UD
37277 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37278 * posix/tst-rfc3484-2.c: Likewise.
37279 * posix/tst-rfc3484-3.c: Likewise.
37280
78239589
UD
37281 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37282 process_vm_writev.
37283 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37284 process_vm_writev.
37285 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37286 process_vm_writev from libc using GLIBC_2.15 version.
37287
432d41ce
UD
37288 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37289
02f9c6cf
PP
372902011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37291
37292 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37293 stack usage.
37294
3a2c0242
UD
372952011-10-31 Ulrich Drepper <drepper@gmail.com>
37296
f4ec4833
UD
37297 [BZ #13367]
37298 * nss/getent.c (initgroups_keys): Show error message in case no group
37299 names are given.
37300
3a2c0242
UD
37301 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37302 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37303 __bump_nl_timestamp.
37304 * nscd/connections (nscd_init): When host database is served open
37305 netlink socket and request notification about configuration changes.
37306 (main_loop_poll): Track netlink file descriptor and bump timestamp
37307 in case data becomes available.
37308 (main_loop_epoll): Likewise.
37309 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37310 (database_pers_head): Add extra_data fileds.
37311 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37312 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37313 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37314 Adjust caller.
37315 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37316 in6ai data, call __free_in6ai.
37317 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37318 Add -DHAVE_NETLINK.
37319 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37320 interface information. Reuse previous data if netlink timestamp
37321 is not changed.
37322 (__bump_nl_timestamp): New function.
37323 (__free_in6ai): New function.
37324
636064eb
UD
373252011-10-30 Ulrich Drepper <drepper@gmail.com>
37326
37327 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37328 close_not_cancel_no_status here.
37329 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37330
9beb2334
UD
373312011-10-29 Ulrich Drepper <drepper@gmail.com>
37332
6ef76f3b
UD
37333 [BZ #13276]
37334 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37335 return value.
37336
0ffc4f3e 37337 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37338 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37339 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37340
cb95113e
UD
373412011-07-03 Andreas Jaeger <aj@suse.de>
37342
37343 [BZ #10709]
37344 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37345 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37346 * math/libm-test.inc (sin_test): Add test case.
37347
a1b560ff
UD
373482011-10-29 Ulrich Drepper <drepper@gmail.com>
37349
c9aaface
UD
37350 [BZ #13337]
37351 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37352 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37353
d272e7f1
UD
37354 * elf/chroot_canon.c (chroot_canon): Cleanups.
37355
1bc33071
UD
37356 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37357
1760874d
TJ
37358 [BZ #13335]
37359 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37360 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37361
51d91b18
UD
37362 * string/test-strchr.c: Make usable for strchrnul testing.
37363 * string/test-strchrnul.c: New file.
37364 * string/Makefile (strop-tests): Add strchrnul.
37365
a1b560ff 37366 * po/it.po: Update from translation team.
b611fb81 37367 * po/es.po: Likewise.
a1b560ff 37368
a5b81e1f
UD
373692011-10-28 Ulrich Drepper <drepper@gmail.com>
37370
fd52bc6d
UD
37371 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37372 the three constants needed as parameters. Drop the others.
37373 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37374 __m128i_strloadu_tolower.
52e4b9eb
UD
37375 Create and initialize variable zero and use it in all the places
37376 where _mm_setzero_si128 was used.
fd52bc6d 37377
a5b81e1f
UD
37378 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37379 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37380 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37381 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37382 anymore.
37383 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37384 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37385 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37386 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37387 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37388 __mpranred, __mptan.
37389 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37390 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37391 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37392 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37393 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37394 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37395 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37396 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37397 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37398
b4343346
AS
373992011-10-28 Andreas Schwab <schwab@redhat.com>
37400
0c92d8a8
AS
37401 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37402 redefine if SHARED.
37403 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37404
b4343346
AS
37405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37406 wide char related routines to wcsmbs subdir.
37407
3871f58f
AS
374082011-10-27 Andreas Schwab <schwab@redhat.com>
37409
37410 [BZ #13344]
37411 * misc/sys/cdefs.h (__THROWNL): Define.
37412 * posix/unistd.h: Use __THREADNL instead of __THREAD
37413 for memory synchronization functions.
37414
94d44d9f
RM
374152011-10-26 Roland McGrath <roland@hack.frob.com>
37416
21b64b15 37417 [BZ #13349]
94d44d9f
RM
37418 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37419 doesn't exist.
37420 * manual/stdio.texi (Obstack Streams): Node removed.
37421
f6ce9294
AS
374222011-10-26 Andreas Schwab <schwab@redhat.com>
37423
80479147
AS
37424 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37425 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37426 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37427
f6ce9294
AS
37428 * math/math_private.h (math_force_eval): Allow non-addressable
37429 arguments.
37430 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37431
618280a1
UD
374322011-10-25 Ulrich Drepper <drepper@gmail.com>
37433
e0016b11
UD
37434 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37435 file is not needed.
37436
37437 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37438 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37439 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37440 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37441 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37442 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37444 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37445 Add AVX variants.
37446 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37447 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37448 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37449 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37450 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37451 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37452 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37453 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37454 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37455 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37456 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37457 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37458 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37459 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37460 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37461 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37462 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37463 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37464 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37465
37466 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37467 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37468
618280a1
UD
37469 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37470 place. Use VEX encoding when compiling for AVX.
37471
37822576
AS
374722011-10-25 Andreas Schwab <schwab@redhat.com>
37473
1f1e1947
AS
37474 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37475 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37476
37822576
AS
37477 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37478
31ea014d
UD
374792011-10-25 Ulrich Drepper <drepper@gmail.com>
37480
d7826aa1 37481 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37482 useless if() expression.
d7826aa1
UD
37483 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37484 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37485 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37486 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37487 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37488 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37489 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37490 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37491 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37492 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37493 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37494 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37495 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37496 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37497 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37498 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37499 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37500 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37501 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37502
31ea014d
UD
37503 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37504
16437fec
AS
375052011-10-25 Andreas Schwab <schwab@redhat.com>
37506
37507 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37508 condition.
37509 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37510
31d3cc00
UD
375112011-10-25 Ulrich Drepper <drepper@gmail.com>
37512
37513 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37514 .text section. Avoid duplicate constants.
37515 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37516 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37517 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37519 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37521 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37523 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37524 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37525 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37526 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37527 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37528 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37529 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37530 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37532 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37535 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37536 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37537 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37538 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37539 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37540 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37541 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37542 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37543 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37544 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37545 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37546 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37547 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37548 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37549 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37550 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37551 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37552 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37553 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37554 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37555 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37556 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37557 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37558 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37559 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37560
58985aa9
UD
375612011-10-24 Ulrich Drepper <drepper@gmail.com>
37562
202c9deb
UD
37563 * sysdeps/x86_64/dla.h: Move to ...
37564 * sysdeps/x86_64/fpu/dla.h: ...here.
37565 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37566 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37567
af968f62
UD
37568 * config.make.in: Add have-mfma4 entry.
37569 * configure.in: Substitute libc_cv_cc_fma4.
37570 * math/Makefile (dbl-only-routines): Add sincostab.
37571 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37572 Use __sincostab not sincos.
37573 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37574 name is a macro.
37575 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37579 using __copysign.
37580 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37581 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37582 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37583 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37584 and __inv.
37585 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37586 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37587 __copysign.
37588 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37589 define aliases when function name is a macro.
37590 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37591 sysdeps/ieee754/dbl-64/sincos.tbl.
37592 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37593 fma4-enabled routines.
37594 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37595 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37596 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37597 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37598 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37599 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37600 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37601 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37602 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37603 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37604 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37605 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37606 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37607 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37608 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37609 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37610 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37611 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37612 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37613 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37614 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37615 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37616 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37617 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37618 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37619 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37620 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37621 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37622 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37623 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37624
58985aa9
UD
37625 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37626 rename.
37627 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37635
a201fbcf
AS
376362011-10-24 Andreas Schwab <schwab@redhat.com>
37637
37638 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37639
fc2ee42a
LD
376402011-10-23 Ulrich Drepper <drepper@gmail.com>
37641
bb3129bd
UD
37642 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37643
0275fff8
UD
37644 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37645 prediction.
37646 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37647
2fa2ae85
UD
37648 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37649 Remove unused variable magic_bits.
37650 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37651
fc2ee42a
LD
37652 * string/strnlen.c: Define and use STRNLEN macro.
37653 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37654 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37655 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37656 * wcsmbs/wcslen.c: Define and use WCSLEN.
37657 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37658 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37659 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37660 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37661 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37662 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37663 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37664
ce7dd29f
LD
376652011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37666
37667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37668 strnlen-sse2-no-bsf.
37669 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37670 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37671 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37672 Add strnlen support.
37673 (USE_AS_STRNLEN): New macro.
37674 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37675 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37676 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37677 * sysdeps/x86_64/wcslen.S: New file.
37678
979c70a3
MZ
376792011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37680
37681 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37682 XMM-moves are used for copying on small sizes.
37683
2d09f82f
LD
376842011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37685
37686 * wcsmbs/Makefile (strop-tests): Add wcschr.
37687 * wcsmbs/test-wcschr.c: New file.
37688 * string/test-strchr.c: Update.
37689 Add wcschr support.
37690 (WIDE): New macro.
37691
619fccca
LD
376922011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37693
2d09f82f 37694 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37695 * wcsmbs/test-wcslen.c: New file.
37696 * string/test-strlen.c: Update.
37697 Add wcslen support.
37698 (WIDE): New macro.
37699
09f699ea
UD
377002011-10-23 Ulrich Drepper <drepper@gmail.com>
37701
37702 * po/it.po: Update from translation team.
37703
95584d3b
LD
377042011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37705
37706 * sysdeps/x86_64/wcscmp.S: Update.
37707 Fix wrong comparison semantics.
37708 wcscmp shall use signed comparison not unsigned.
37709 Don't use substraction to avoid overflow bug.
37710 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37711 * wcsmbc/wcscmp.c: Likewise.
37712 * string/test-strcmp.c: Likewise.
37713 Add new tests to check cases with negative values.
37714
c8b3296b
UD
377152011-10-23 Ulrich Drepper <drepper@gmail.com>
37716
37717 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37718 * sysdeps/x86_64/dla.h: ...here. New file.
37719 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37720 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37721 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37724 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37726 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37727 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37728
246ad57a
AS
377292011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37730
37731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37732 __ynl_finite aliases.
37733
a1a87169
UD
377342011-10-22 Ulrich Drepper <drepper@gmail.com>
37735
0d355eb7
UD
37736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37737
a1a87169
UD
37738 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37739 define DLA_FMA.
37740 [DLA_FMA] (EMULV): Use DLA_FMA.
37741 [DLA_FMA] (MUL12): Use EMULV.
37742 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37743 that are not needed.
37744 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37746 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37747 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37748 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37749 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37750 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37751
ee2aafe0
AS
377522011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37753
37754 * math/s_nan.c: Undef __nan.
37755 * math/s_nanf.c: Undef __nanf.
37756 * math/s_nanl.c: Undef __nanl.
37757 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37758 "math_private.h".
37759
bc62c2fb
UD
377602011-10-22 Ulrich Drepper <drepper@gmail.com>
37761
77425c63
UD
37762 * math/s_catan.c: Add branch predictions.
37763 * math/s_catanf.c: Likewise.
37764 * math/s_catanh.c: Likewise.
37765 * math/s_catanhf.c: Likewise.
37766 * math/s_catanhl.c: Likewise.
37767 * math/s_catanl.c: Likewise.
37768 * math/s_cexp.c: Likewise.
37769 * math/s_cexpf.c: Likewise.
37770 * math/s_cexpl.c: Likewise.
37771 * math/s_clog.c: Likewise.
37772 * math/s_clog10.c: Likewise.
37773 * math/s_clog10f.c: Likewise.
37774 * math/s_clog10l.c: Likewise.
37775 * math/s_clogf.c: Likewise.
37776 * math/s_clogl.c: Likewise.
37777 * math/s_csqrt.c: Likewise.
37778 * math/s_csqrtf.c: Likewise.
37779 * math/s_csqrtl.c: Likewise.
37780 * math/s_ctanf.c: Likewise.
37781 * math/s_ctanh.c: Likewise.
37782 * math/s_ctanhf.c: Likewise.
37783 * math/s_ctanhl.c: Likewise.
37784 * math/s_ctanl.c: Likewise.
37785
bc62c2fb
UD
37786 * math/math_private.h: Define __nan, __nanf, __nanl.
37787 * math/s_cacosh.c: Include <math_private.h>.
37788 * math/s_cacoshl.c: Likewise.
37789 * math/s_casinh.c: Likewise.
37790 * math/s_casinhf.c: Likewise.
37791 * math/s_casinhl.c: Likewise.
37792 * math/s_ccos.c: Rely entire on ccosh.
37793 * math/s_ccosf.c: Rely entire on ccoshf.
37794 * math/s_ccosl.c: Rely entirely on ccoshl.
37795 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37796 Remove tests for FE_INVALID.
37797 * math/s_ccoshf.c: Likewise.
37798 * math/s_ccoshl.c: Likewise.
37799 * math/s_csin.c: Likewise.
37800 * math/s_csinf.c: Likewise.
37801 * math/s_csinh.c Likewise.
37802 * math/s_csinhf.c: Likewise.
37803 * math/s_csinhl.c: Likewise.
37804 * math/s_csinl.c: Likewise.
37805 * math/s_ctan.c: Likewise.
37806 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37807 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37808 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37809
8ec250a4
UD
378102011-10-21 Ulrich Drepper <drepper@gmail.com>
37811
c196fed8
UD
37812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37813 compilation problems.
37814
8ec250a4
UD
37815 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37816 __builtin_expect.
37817
8d4f46c6
UD
378182011-10-20 Ulrich Drepper <drepper@gmail.com>
37819
ed72b654
UD
37820 * sysdeps/i386/configure.in: Test for -mfma4 option.
37821 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37822 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37823 COMMON_CPUID_INDEX_80000001.
37824 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37825 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37826 use it if FMA3 is not supported.
37827 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37828
8d4f46c6
UD
37829 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37830 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37831
d45c60c2
AS
378322011-10-20 Andreas Schwab <schwab@redhat.com>
37833
37834 [BZ #12892]
37835 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37836 it would create a cycle with a link time dependency.
37837
d9a4d2ab
UD
378382011-10-19 Ulrich Drepper <drepper@gmail.com>
37839
855d1560
UD
37840 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37841 instruction.
37842 * string/Makefile (strop-tests): Add rawmemchr.
37843 * string/test-rawmemchr.c: New file.
37844
d9a4d2ab
UD
37845 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37846 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37847 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37848 when compiling str{,n}casecmp and when AVX is available. Hook up
37849 new optimized code in initializers.
37850
8f3b1ffe
AS
378512011-10-19 Andreas Schwab <schwab@redhat.com>
37852
37853 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37854 __feraiseexcept instead of feraiseexcept.
37855
d38f1dba
UD
378562011-10-18 Ulrich Drepper <drepper@gmail.com>
37857
d9a8d0ab
UD
37858 * math/math_private.h: Define defaults for libc_fetestexcept and
37859 libc_feupdateenv.
37860 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37861 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37862 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37863 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37864 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37865 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37866 libc_fetestexcept and libc_feupdateenv.
37867
4855e3dd
UD
37868 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37869 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37870 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37871 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37872 libc_feholdexcept_setround.
37873
581d30e3
UD
37874 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37875 Add s_nearbyint-c and s_nearbyintf-c.
37876 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37877 nearbyintf inlines.
37878 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37879 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37880 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37881 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37882
d38f1dba
UD
37883 * math/math_private.h: Define defaults for libc_fegetround,
37884 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37885 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37886 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37887 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37888 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37889 standard functions.
37890 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37891 Remove comments and hacks for old compiler versions.
37892 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37893 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37894 libc_feholdexceptl.
37895
caa6c9d8
AS
378962011-10-18 Andreas Schwab <schwab@redhat.com>
37897
37898 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37899 (__feraiseexcept_renamed): Add __NTH.
37900 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37901 namespace violations.
37902
97c066e6
UD
379032011-10-17 Ulrich Drepper <drepper@gmail.com>
37904
99ce7b04
UD
37905 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37906
1004d182
UD
37907 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37908
228a984d
UD
37909 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37910 recently added interfaces.
37911 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37912
c8553a6a
UD
37913 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37914 about macro parameter expansion.
37915
ed22dcf6
UD
37916 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37917 __NO_MATH_INLINES is defined. Cleanups.
37918
37919 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37920 and __floorf is target has SSE4.1.
37921 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37922 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37923 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37924 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37925
b171c137
UD
37926 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37927 name.
37928 (floorf): Likewise.
37929
97c066e6
UD
37930 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37931
629f62ef
AS
379322011-10-17 Andreas Schwab <schwab@redhat.com>
37933
49a43d80
AS
37934 * misc/sys/cdefs.h: Fix last change.
37935
629f62ef
AS
37936 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37937 database lookup.
37938
e453f6cd
UD
379392011-10-16 Ulrich Drepper <drepper@gmail.com>
37940
aa78043a
UD
37941 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37942
ad0f5cad
UD
37943 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37944 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37945 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37946 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37947 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37948 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37949 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37950 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37951 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37952 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37953 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37954 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37955 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37956 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37957 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37958 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37959 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37960 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37961 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37962 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37963 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37964 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37965
37966 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37967 ceil, ceilf, floor, floorf.
37968
37969 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37970 Perform IRELATIVE relocations last.
37971
e453f6cd
UD
37972 * elf/do-rel.h: Add another parameter nrelative, replacing the
37973 local variable with the same name. Change name of the function
37974 to end in Rel or Rela (uppercase).
37975 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37976 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37977 elf_dynamic_do_##reloc function.
37978
fd5bdc09
UD
379792011-10-15 Ulrich Drepper <drepper@gmail.com>
37980
79b195b5
UD
37981 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37982 is sufficient, at least on modern CPUs.
37983
d4a28569
UD
37984 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37985
b61099b5
UD
37986 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37987 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37988
bcf01e6d
UD
37989 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37990 __expl_finite.
37991 * math/bits/math-finite.h: Add entries for exp.
37992 * math/e_expl.c: Add __*_finite alias.
37993 * sysdeps/i386/fpu/e_exp.S: Likewise.
37994 * sysdeps/i386/fpu/e_expf.S: Likewise.
37995 * sysdeps/i386/fpu/e_expl.c: Likewise.
37996 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37997 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37998 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37999 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38000 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38001 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38002 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38003
ba1a0d59
UD
38004 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38005 is sufficient, at least on modern CPUs.
38006
fd5bdc09
UD
38007 * ctype/ctype-info.c (__ctype_init): Define.
38008 * include/ctype.h (__ctype_init): Declare.
38009 (__ctype_b_loc): The variable is always initialized.
38010 (__ctype_toupper_loc): Likewise.
38011 (__ctype_tolower_loc): Likewise.
38012 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38013 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38014
7872cfb0
AS
380152011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38016
b468825a
AS
38017 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38018
7872cfb0
AS
38019 * configure.in: Also look in $cxxmachine/include for C++ system
38020 headers.
38021
be13f7bf
LD
380222011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38023
38024 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38025 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38026 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38027 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38028 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38029 (USE_AS_WMEMCMP): New macro.
38030 Fixing indents.
38031 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38032 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38033 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38034 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38036 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38037 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38038 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38039 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38040 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38041 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38042 (USE_AS_WMEMCMP): New macro.
38043 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38044 * sysdeps/string/test-memcmp.c: Update.
38045 Fix simple_wmemcmp.
38046 Add new tests.
38047 * wcsmbs/wmemcmp.c: Update.
38048 (WMEMCMP): New macro.
38049 Fix overflow bug.
38050
556a2007
AJ
380512011-10-12 Andreas Jaeger <aj@suse.de>
38052
38053 [BZ #13268]
38054 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38055
538faaa7
UD
380562011-10-15 Ulrich Drepper <drepper@gmail.com>
38057
ab6737ff
UD
38058 * libio/iofwide.c (do_length): Avoid warning.
38059
538faaa7
UD
38060 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38061
396a21b1
UD
380622011-10-14 Ulrich Drepper <drepper@gmail.com>
38063
cdf2901f
UD
38064 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38065
38ad40ce
UD
38066 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38067 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38068 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38069 * sysdeps/i386/i686/fpu/e_log.S: New file.
38070 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38071 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38072
396a21b1
UD
38073 * ctype/ctype.h: Add support for inlined isXXX functions when
38074 compiling C++ code.
38075
6b1f68c9
AS
380762011-10-14 Andreas Schwab <schwab@redhat.com>
38077
349290c0
AS
38078 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38079
6b1f68c9
AS
38080 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38081
f2282d42
RM
380822011-10-13 Roland McGrath <roland@hack.frob.com>
38083
38084 [BZ #13291]
38085 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38086
5298ffa8
AS
380872011-10-13 Andreas Schwab <schwab@redhat.com>
38088
714fad23
AS
38089 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38090 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38091 feraiseexcept.
38092
81dcc7fb
AS
38093 * sysdeps/x86_64/memrchr.S: Check for zero size.
38094
5298ffa8
AS
38095 * string/stratcliff.c: Add memrchr tests.
38096
951fbcec
LD
380972011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38098
38099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38100 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38101 rawmemchr-sse2 rawmemchr-sse2-bsf.
38102 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38103 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38104 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38105 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38106 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38107 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38108 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38109 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38110 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38111 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38112 * string/memrchr.c (MEMRCHR): New macro.
38113
0ac5ae23
UD
381142011-10-12 Ulrich Drepper <drepper@gmail.com>
38115
38116 Add integration with gcc's -ffinite-math-only and optimize wrapper
38117 functions in libm.
38118 * Versions.def: Define GLIBC_2.15 version for libm.
38119 * math/Makefile (headers): Add bits/math-finite.h.
38120 * math/bits/math-finite.h: New file.
38121 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38122 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38123 * math/e_acoshl.c: Add __*_finite alias.
38124 * math/e_acosl.c: Likewise.
38125 * math/e_asinl.c: Likewise.
38126 * math/e_atan2l.c: Likewise.
38127 * math/e_atanhl.c: Likewise.
38128 * math/e_coshl.c: Likewise.
38129 * math/e_exp10.c: Likewise.
38130 * math/e_exp10f.c: Likewise.
38131 * math/e_exp10l.c: Likewise.
38132 * math/e_exp2l.c: Likewise.
38133 * math/e_fmodl.c: Likewise.
38134 * math/e_gammal_r.c: Likewise.
38135 * math/e_hypotl.c: Likewise.
38136 * math/e_j0l.c: Likewise.
38137 * math/e_j1l.c: Likewise.
38138 * math/e_jnl.c: Likewise.
38139 * math/e_lgammal_r.c: Likewise.
38140 * math/e_log10l.c: Likewise.
38141 * math/e_log2l.c: Likewise.
38142 * math/e_logl.c: Likewise.
38143 * math/e_powl.c: Likewise.
38144 * math/e_sinhl.c: Likewise.
38145 * math/e_sqrtl.c: Likewise.
38146 * math/e_scalb.c: Completely rewritten and optimized.
38147 * math/e_scalbf.c: Likewise.
38148 * math/e_scalbl.c: Likewise.
38149 * math/w_acos.c: Likewise.
38150 * math/w_acosf.c: Likewise.
38151 * math/w_acosl.c: Likewise.
38152 * math/w_acosh.c: Likewise.
38153 * math/w_acoshf.c: Likewise.
38154 * math/w_acoshl.c: Likewise.
38155 * math/w_asin.c: Likewise.
38156 * math/w_asinf.c: Likewise.
38157 * math/w_asinl.c: Likewise.
38158 * math/w_atan2.c: Likewise.
38159 * math/w_atan2f.c: Likewise.
38160 * math/w_atan2l.c: Likewise.
38161 * math/w_atanh.c: Likewise.
38162 * math/w_atanhf.c: Likewise.
38163 * math/w_atanhl.c: Likewise.
38164 * math/w_exp10.c: Likewise.
38165 * math/w_exp10f.c: Likewise.
38166 * math/w_exp10l.c: Likewise.
38167 * math/w_fmod.c: Likewise.
38168 * math/w_fmodf.c: Likewise.
38169 * math/w_fmodl.c: Likewise.
38170 * math/w_j0.c: Likewise.
38171 * math/w_j0f.c: Likewise.
38172 * math/w_j0l.c: Likewise.
38173 * math/w_j1.c: Likewise.
38174 * math/w_j1f.c: Likewise.
38175 * math/w_j1l.c: Likewise.
38176 * math/w_jn.c: Likewise.
38177 * math/w_jnf.c: Likewise.
38178 * math/w_log.c: Likewise.
38179 * math/w_logf.c: Likewise.
38180 * math/w_logl.c: Likewise.
38181 * math/w_log10.c: Likewise.
38182 * math/w_log10f.c: Likewise.
38183 * math/w_log10l.c: Likewise.
38184 * math/w_log2.c: Likewise.
38185 * math/w_log2f.c: Likewise.
38186 * math/w_log2l.c: Likewise.
38187 * math/w_pow.c: Likewise.
38188 * math/w_powf.c: Likewise.
38189 * math/w_powl.c: Likewise.
38190 * math/w_remainder.c: Likewise.
38191 * math/w_remainderf.c: Likewise.
38192 * math/w_remainderl.c: Likewise.
38193 * math/w_scalb.c: Likewise.
38194 * math/w_scalbf.c: Likewise.
38195 * math/w_scalbl.c: Likewise.
38196 * math/w_sqrt.c: Likewise.
38197 * math/w_sqrtf.c: Likewise.
38198 * math/w_sqrtl.c: Likewise.
38199 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38200 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38201 used.
38202 * math/math_private.h: Declare __kernel_standard_f.
38203 * math/w_cosh.c: Remove cruft and optimize a bit.
38204 * math/w_coshf.c: Likewise.
38205 * math/w_coshl.c: Likewise.
38206 * math/w_exp2.c: Likewise.
38207 * math/w_exp2f.c: Likewise.
38208 * math/w_exp2l.c: Likewise.
38209 * math/w_hypot.c: Likewise.
38210 * math/w_hypotf.c: Likewise.
38211 * math/w_hypotl.c: Likewise.
38212 * math/w_lgamma.c: Likewise.
38213 * math/w_lgamma_r.c: Likewise.
38214 * math/w_lgammaf.c: Likewise.
38215 * math/w_lgammaf_r.c: Likewise.
38216 * math/w_lgammal.c: Likewise.
38217 * math/w_lgammal_r.c: Likewise.
38218 * math/w_sinh.c: Likewise.
38219 * math/w_sinhf.c: Likewise.
38220 * math/w_sinhl.c: Likewise.
38221 * math/w_tgamma.c: Likewise.
38222 * math/w_tgammaf.c: Likewise.
38223 * math/w_tgammal.c: Likewise.
38224 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38225 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38226 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38227 Minor optimizations. Pretty printing. Remove cruft.
38228 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38229 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38230 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38231 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38232 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38233 * sysdeps/i386/fpu/e_asin.S: Likewise.
38234 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38235 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38236 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38237 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38238 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38239 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38240 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38241 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38242 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38243 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38244 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38245 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38246 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38247 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38248 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38249 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38250 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38251 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38252 * sysdeps/i386/fpu/e_log.S: Likewise.
38253 * sysdeps/i386/fpu/e_log10.S: Likewise.
38254 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38255 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38256 * sysdeps/i386/fpu/e_log2.S: Likewise.
38257 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38258 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38259 * sysdeps/i386/fpu/e_logf.S: Likewise.
38260 * sysdeps/i386/fpu/e_logl.S: Likewise.
38261 * sysdeps/i386/fpu/e_pow.S: Likewise.
38262 * sysdeps/i386/fpu/e_powf.S: Likewise.
38263 * sysdeps/i386/fpu/e_powl.S: Likewise.
38264 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38265 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38266 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38267 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38268 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38269 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38270 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38271 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38272 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38273 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38274 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38275 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38276 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38277 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38278 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38279 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38280 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38281 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38282 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38283 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38284 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38286 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38287 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38288 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38289 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38290 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38291 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38293 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38294 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38295 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38296 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38297 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38298 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38299 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38300 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38301 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38302 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38303 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38304 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38305 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38306 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38307 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38308 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38309 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38310 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38311 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38312 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38313 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38314 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38315 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38316 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38317 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38318 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38319 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38320 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38321 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38322 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38323 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38324 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38325 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38326 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38327 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38328 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38329 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38330 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38331 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38332 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38333 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38334 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38335 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38336 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38337 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38338 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38339 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38340 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38341 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38342 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38343 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38344 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38345 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38346 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38347 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38348 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38349 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38350 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38351 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38352 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38353 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38354 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38355 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38356 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38357 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38358 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38359 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38360 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38361 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38362 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38363 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38364 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38365 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38366 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38367 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38368 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38369 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38370 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38371 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38372 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38373 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38374 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38375 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38376 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38377 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38378 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38379 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38380 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38381 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38382 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38383 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38384 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38385 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38386 (__isnanf): Likewise.
38387 (__isinf_ns): Likewise.
38388 (__isinf_nsf): Likewise.
38389 (__finite): Likewise.
38390 (__finitef): Likewise.
38391 (__ieee754_sqrt): Define as macro.
38392 (__ieee754_sqrtf): Define as macro.
38393 (__ieee754_sqrtl): Define as macro.
38394 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38395 inlined copy.
38396 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38397 __FINITE_MATH_ONLY__ consistent.
38398 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38399
12cc2fcd
AS
384002011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38401
a843a204
AS
38402 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38403 of rawmemchr.
38404
12cc2fcd
AS
38405 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38406
c853acd5
UD
384072011-10-09 Ulrich Drepper <drepper@gmail.com>
38408
38409 * po/ja.po: Update from translation team.
38410
c658d255
RM
384112011-10-08 Roland McGrath <roland@hack.frob.com>
38412
110946e4
RM
38413 * locale/programs/locarchive.c (prepare_address_space): New function.
38414 (create_archive, enlarge_archive, open_archive): Use it.
38415
50604220
RM
38416 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38417 inside [SHARED], where it is used.
38418
c658d255
RM
38419 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38420
38421 * nss/getent.c (netgroup_keys): Remove unused variable.
38422 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38423
6a621eb7
UD
384242011-10-08 Ulrich Drepper <drepper@gmail.com>
38425
7edb55ce
UD
38426 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38427 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38429 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38430 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38431 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38432 * math/Makefile (libm-calls): Add s_isinf_ns.
38433 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38434 * math/multc3.c: Likewise.
38435 * math/s_casin.c: Likewise.
38436 * math/s_casinf.c: Likewise.
38437 * math/s_casinl.c: Likewise.
38438 * math/s_ccos.c: Likewise.
38439 * math/s_ccosf.c: Likewise.
38440 * math/s_ccosl.c: Likewise.
38441 * math/s_ctan.c: Likewise.
38442 * math/s_ctanf.c: Likewise.
38443 * math/s_ctanh.c: Likewise.
38444 * math/s_ctanhf.c: Likewise.
38445 * math/s_ctanhl.c: Likewise.
38446 * math/s_ctanl.c: Likewise.
38447 * math/w_fmod.c: Likewise.
38448 * math/w_fmodf.c: Likewise.
38449 * math/w_fmodl.c: Likewise.
38450 * math/w_remainder.c: Likewise.
38451 * math/w_remainderf.c: Likewise.
38452 * math/w_remainderl.c: Likewise.
38453 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38454 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38455 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38457 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38458 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38459 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38460 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38461
187da0ae
UD
38462 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38463 of the number.
38464 * stdio-common/printf_fphex.c: Likewise.
38465 * stdio-common/printf_size.c: Likewise.
38466
9277c064
UD
38467 * math/e_exp10.c: Include math_private.h using <...> not "...".
38468 * math/e_exp10f.c: Likewise.
38469 * math/e_exp10l.c: Likewise.
38470 * math/e_exp2l.c: Likewise.
38471 * math/e_j0l.c: Likewise.
38472 * math/e_j1l.c: Likewise.
38473 * math/e_jnl.c: Likewise.
38474 * math/e_lgammal_r.c: Likewise.
38475 * math/e_rem_pio2l.c: Likewise.
38476 * math/e_scalb.c: Likewise.
38477 * math/e_scalbf.c: Likewise.
38478 * math/e_scalbl.c: Likewise.
38479 * math/k_cosl.c: Likewise.
38480 * math/k_sinl.c: Likewise.
38481 * math/k_tanl.c: Likewise.
38482 * math/s_cacoshf.c: Likewise.
38483 * math/s_catan.c: Likewise.
38484 * math/s_catanf.c: Likewise.
38485 * math/s_catanh.c: Likewise.
38486 * math/s_catanhf.c: Likewise.
38487 * math/s_catanhl.c: Likewise.
38488 * math/s_catanl.c: Likewise.
38489 * math/s_ccosh.c: Likewise.
38490 * math/s_ccoshf.c: Likewise.
38491 * math/s_ccoshl.c: Likewise.
38492 * math/s_cexp.c: Likewise.
38493 * math/s_cexpf.c: Likewise.
38494 * math/s_cexpl.c: Likewise.
38495 * math/s_clog.c: Likewise.
38496 * math/s_clog10.c: Likewise.
38497 * math/s_clog10f.c: Likewise.
38498 * math/s_clog10l.c: Likewise.
38499 * math/s_clogf.c: Likewise.
38500 * math/s_clogl.c: Likewise.
38501 * math/s_csin.c: Likewise.
38502 * math/s_csinf.c: Likewise.
38503 * math/s_csinh.c: Likewise.
38504 * math/s_csinhf.c: Likewise.
38505 * math/s_csinhl.c: Likewise.
38506 * math/s_csinl.c: Likewise.
38507 * math/s_csqrt.c: Likewise.
38508 * math/s_csqrtf.c: Likewise.
38509 * math/s_csqrtl.c: Likewise.
38510 * math/s_ctan.c: Likewise.
38511 * math/s_ctanf.c: Likewise.
38512 * math/s_ctanh.c: Likewise.
38513 * math/s_ctanhf.c: Likewise.
38514 * math/s_ctanhl.c: Likewise.
38515 * math/s_ctanl.c: Likewise.
38516 * math/s_ldexp.c: Likewise.
38517 * math/s_ldexpf.c: Likewise.
38518 * math/s_ldexpl.c: Likewise.
38519 * math/s_significand.c: Likewise.
38520 * math/s_significandf.c: Likewise.
38521 * math/s_significandl.c: Likewise.
38522 * math/w_acos.c: Likewise.
38523 * math/w_acosf.c: Likewise.
38524 * math/w_acosh.c: Likewise.
38525 * math/w_acoshf.c: Likewise.
38526 * math/w_acoshl.c: Likewise.
38527 * math/w_acosl.c: Likewise.
38528 * math/w_asin.c: Likewise.
38529 * math/w_asinf.c: Likewise.
38530 * math/w_asinl.c: Likewise.
38531 * math/w_atan2.c: Likewise.
38532 * math/w_atan2f.c: Likewise.
38533 * math/w_atan2l.c: Likewise.
38534 * math/w_atanh.c: Likewise.
38535 * math/w_atanhf.c: Likewise.
38536 * math/w_atanhl.c: Likewise.
38537 * math/w_cosh.c: Likewise.
38538 * math/w_coshf.c: Likewise.
38539 * math/w_coshl.c: Likewise.
38540 * math/w_dremf.c: Likewise.
38541 * math/w_exp10.c: Likewise.
38542 * math/w_exp10f.c: Likewise.
38543 * math/w_exp10l.c: Likewise.
38544 * math/w_exp2.c: Likewise.
38545 * math/w_exp2f.c: Likewise.
38546 * math/w_fmod.c: Likewise.
38547 * math/w_fmodf.c: Likewise.
38548 * math/w_fmodl.c: Likewise.
38549 * math/w_hypot.c: Likewise.
38550 * math/w_hypotf.c: Likewise.
38551 * math/w_hypotl.c: Likewise.
38552 * math/w_j0.c: Likewise.
38553 * math/w_j0f.c: Likewise.
38554 * math/w_j0l.c: Likewise.
38555 * math/w_j1.c: Likewise.
38556 * math/w_j1f.c: Likewise.
38557 * math/w_j1l.c: Likewise.
38558 * math/w_jn.c: Likewise.
38559 * math/w_jnf.c: Likewise.
38560 * math/w_jnl.c: Likewise.
38561 * math/w_lgamma.c: Likewise.
38562 * math/w_lgamma_r.c: Likewise.
38563 * math/w_lgammaf.c: Likewise.
38564 * math/w_lgammaf_r.c: Likewise.
38565 * math/w_lgammal.c: Likewise.
38566 * math/w_lgammal_r.c: Likewise.
38567 * math/w_log.c: Likewise.
38568 * math/w_log10.c: Likewise.
38569 * math/w_log10f.c: Likewise.
38570 * math/w_log10l.c: Likewise.
38571 * math/w_log2.c: Likewise.
38572 * math/w_log2f.c: Likewise.
38573 * math/w_log2l.c: Likewise.
38574 * math/w_logf.c: Likewise.
38575 * math/w_logl.c: Likewise.
38576 * math/w_pow.c: Likewise.
38577 * math/w_powf.c: Likewise.
38578 * math/w_powl.c: Likewise.
38579 * math/w_remainder.c: Likewise.
38580 * math/w_remainderf.c: Likewise.
38581 * math/w_remainderl.c: Likewise.
38582 * math/w_scalb.c: Likewise.
38583 * math/w_scalbf.c: Likewise.
38584 * math/w_scalbl.c: Likewise.
38585 * math/w_sinh.c: Likewise.
38586 * math/w_sinhf.c: Likewise.
38587 * math/w_sinhl.c: Likewise.
38588 * math/w_sqrt.c: Likewise.
38589 * math/w_sqrtf.c: Likewise.
38590 * math/w_sqrtl.c: Likewise.
38591 * math/w_tgamma.c: Likewise.
38592 * math/w_tgammaf.c: Likewise.
38593 * math/w_tgammal.c: Likewise.
38594
6a621eb7
UD
38595 * po/ja.po: Update from translation team.
38596
bf582445
AJ
385972011-09-29 Andreas Jaeger <aj@suse.de>
38598
f9efbf3a
AJ
38599 [BZ #13179]
38600 * sunrpc/netname.c (netname2host): Fix logic.
38601
bf582445
AJ
38602 [BZ #6779]
38603 [BZ #6783]
38604 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38605 correctly.
38606 * math/w_remainder.c (__remainder): Likewise.
38607 * math/w_remainderf.c (__remainderf): Likewise.
38608 * math/libm-test.inc (remainder_test): Add test cases.
38609
48693bea
AK
386102011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38611
38612 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38613 sdiv_qrnnd.
38614
42622229
LD
386152011-10-07 Ulrich Drepper <drepper@gmail.com>
38616
38617 * string/test-memcmp.c: Avoid unncessary #defines.
38618 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38619
093ecf92
LD
386202011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38621
38622 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38623 Use new sse2 version for core i3 - i7 as it's faster
38624 than sse42 version.
38625 (bit_Prefer_PMINUB_for_stringop): New.
38626 * sysdeps/x86_64/rawmemchr.S: Update.
38627 Replace with faster SSE2 version.
38628 * sysdeps/x86_64/memrchr.S: New file.
38629 * sysdeps/x86_64/memchr.S: Update.
38630 Replace with faster SSE2 version.
38631
fde56e5c
MP
386322011-09-12 Marek Polacek <mpolacek@redhat.com>
38633
38634 * elf/dl-load.c (lose): Add cast to avoid warning.
38635
21fd49a9
UD
386362011-10-07 Ulrich Drepper <drepper@gmail.com>
38637
5a06e643
UD
38638 * po/ca.po: Update from translation team.
38639
684ae515
UD
38640 * inet/getnetgrent_r.c: Hook up nscd.
38641 * nscd/Makefile (routines): Add nscd_netgroup.
38642 (nscd-modules): Add netgroupcache.
38643 (CFLAGS-netgroupcache.c): Define.
38644 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38645 (cache_search): Add const to second parameter.
38646 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38647 INNETGR.
38648 (dbs): Add netgrdb entry.
38649 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38650 (verify_persistent_db): Handle netgrdb.
38651 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38652 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38653 GETFDNETGR.
38654 (netgroup_response_header): Define.
38655 (innetgroup_response_header): Define.
38656 (datahead): Add netgroup_response_header and innetgroup_response_header
38657 elements.
38658 * nscd/nscd.conf: Add entries for netgroup cache.
38659 * nscd/nscd.h (dbtype): Add netgrdb.
38660 (_PATH_NSCD_NETGROUP_DB): Define.
38661 (netgroup_iov_disabled): Declare.
38662 (xmalloc, xcalloc, xrealloc): Move declarations here.
38663 (cache_search): Adjust prototype.
38664 Add netgroup-related prototypes.
38665 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38666 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38667 (__nscd_innetgr): Declare.
38668 * nscd/selinux.c (perms): Use access_vector_t as element type and
38669 add netgroup-related initializers.
38670 * nscd/netgroupcache.c: New file.
38671 * nscd/nscd_netgroup.c: New file.
38672 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38673 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38674 For four parameters use innetgr.
38675 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38676 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38677 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38678 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38679
21fd49a9
UD
38680 * nscd/connections.c (register_traced_file): Don't register file
38681 for disabled databases.
38682
054c0457
UD
386832011-10-06 Ulrich Drepper <drepper@gmail.com>
38684
32b63198
UD
38685 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38686
054c0457
UD
38687 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38688 from tree and freeing node.
38689
64031225
JO
386902011-09-25 Jiri Olsa <jolsa@redhat.com>
38691
38692 * nss/nsswitch.c (__nss_database_lookup): Handle
38693 nss_parse_service_list out of memory case.
38694
0490345c
JO
386952011-09-15 Jiri Olsa <jolsa@redhat.com>
38696
38697 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38698 out of memory case.
38699
3a62d00d
AS
387002011-10-04 Andreas Schwab <schwab@redhat.com>
38701
38702 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38703 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38704 pass it down.
38705 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38706 elf_machine_rela, elf_machine_lazy_rel.
38707 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38708 (ELF_DYNAMIC_DO_REL): Likewise.
38709 (ELF_DYNAMIC_DO_RELA): Likewise.
38710 (ELF_DYNAMIC_RELOCATE): Likewise.
38711 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38712 to ELF_DYNAMIC_DO_REL.
38713 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38714 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38715 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38716 elf_machine_rela.
38717 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38718 skip_ifunc, don't call ifunc function if non-zero.
38719 (elf_machine_rela): Likewise.
38720 (elf_machine_lazy_rel): Likewise.
38721 (elf_machine_lazy_rela): Likewise.
38722 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38723 (elf_machine_lazy_rel): Likewise.
38724 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38725 Likewise.
38726 (elf_machine_lazy_rel): Likewise.
38727 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38728 Likewise.
38729 (elf_machine_lazy_rel): Likewise.
38730 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38731 (elf_machine_lazy_rel): Likewise.
38732 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38733 (elf_machine_lazy_rel): Likewise.
38734 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38735 (elf_machine_lazy_rel): Likewise.
38736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38737 (elf_machine_lazy_rel): Likewise.
38738 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38739 (elf_machine_lazy_rel): Likewise.
38740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38741 (elf_machine_lazy_rel): Likewise.
38742
68577918
UD
387432011-09-28 Ulrich Drepper <drepper@gmail.com>
38744
38745 * nss/nss_files/files-init.c (_nss_files_init): Use static
38746 initialization for all the *_traced_file variables.
38747
68822d74
AS
387482011-09-28 Andreas Schwab <schwab@redhat.com>
38749
38750 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38751
2056100b
RM
387522011-09-27 Roland McGrath <roland@hack.frob.com>
38753
38754 [BZ #13226]
38755 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38756
32c76b63
AS
387572011-09-27 Andreas Schwab <schwab@redhat.com>
38758
38759 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38760 Reread the line before reparsing it.
38761
bf972c9d
AS
387622011-09-26 Andreas Schwab <schwab@redhat.com>
38763
38764 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38765
e057a1b5
JM
387662011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38767 Maxim Kuvyrkov <maxim@codesourcery.com>
38768 Joseph Myers <joseph@codesourcery.com>
38769
38770 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38771 if needed for __stack_chk_guard.
38772
bc7e1c36
RM
387732011-09-19 Roland McGrath <roland@hack.frob.com>
38774
ecb1482f
RM
38775 * sysdeps/posix/spawni.c (script_execute): Always define it.
38776 It will be optimized away if unused.
38777 (maybe_script_execute): New function.
38778 (__spawni): Call it.
38779
bc7e1c36
RM
38780 * Makerules: Don't include tls.make.
38781 (config-tls): Always set to thread.
38782 * tls.make.c: File removed.
38783
1c3b002b
MF
387842011-09-19 Mike Frysinger <vapier@gentoo.org>
38785
38786 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38787 * config.make.in (CPPFLAGS-config): New substituted variable.
38788
2840865d
UD
387892011-09-15 Ulrich Drepper <drepper@gmail.com>
38790
88738eb6
UD
38791 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38792
cbf645a6 38793 [BZ #13192]
2840865d
UD
38794 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38795 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38796
b402e91a
RM
387972011-09-15 Roland McGrath <roland@hack.frob.com>
38798
38799 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38800 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38801 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38802 (CALL_FAIL): Likewise.
38803 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38804 (CALL_FAIL): Macro removed.
38805 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38806
4c1a1f71
UD
388072011-09-15 Ulrich Drepper <drepper@gmail.com>
38808
38809 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38810 for __FINITE_MATH_ONLY__ == 1.
38811
edc121be
AS
388122011-09-15 Andreas Schwab <schwab@redhat.com>
38813
38814 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38815 __ieee754_sqrt instead of sqrt.
38816 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38817 __ieee754_sqrtf instead of sqrtf.
38818 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38819 __floorf instead of floorf.
38820 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38821 __floorf, __truncf instead of floorf, truncf.
38822
cd205654
UD
388232011-09-14 Ulrich Drepper <drepper@gmail.com>
38824
ee4d0315
UD
38825 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38826
cd205654
UD
38827 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38828 __extern_always_inline.
38829 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38830 32-bit.
38831
48b67d71
AS
388322011-09-14 Andreas Schwab <schwab@redhat.com>
38833
38834 * elf/rtld.c (dl_main): Also relocate in dependency order when
38835 doing symbol dependency testing.
38836
1ae12c75
AS
388372011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38838
38839 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38840 Always define `refsym'.
38841
995a80df
AS
388422011-09-13 Andreas Schwab <schwab@redhat.com>
38843
e529793b
AS
38844 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38845 (__FD_ELT): Renamed from __FDELT.
38846 * misc/bits/select2.h (__FD_ELT): Likewise.
38847 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38848 __FD_MASK instead of __FDELT, __FDMASK.
38849 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38850 Likewise.
38851 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38852 Likewise.
38853
52d4fef8
AS
38854 * elf/Makefile (gen-ldd): Fix pattern.
38855
995a80df
AS
38856 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38857 (init_tls): Likewise.
38858
8682f8b0
UD
388592011-09-12 Ulrich Drepper <drepper@gmail.com>
38860
38861 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38862
de82006d
AS
388632011-09-12 Andreas Schwab <schwab@redhat.com>
38864
a7c8e6a1
AS
38865 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38866 `struct cmsghdr *' instead of `void *'.
38867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38868 Likewise.
38869
0f31fe77
AS
388702011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38871
38872 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38873 if non-absolute.
38874 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38875 ldd_rewrite_script.
0f31fe77 38876
32b4c839
UD
388772011-09-11 Ulrich Drepper <drepper@gmail.com>
38878
83cd1420
UD
38879 * configure.in: Remove --with-tls option.
38880 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38881 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38882 out in case it is missing.
38883 * sysdeps/ia64/elf/configure.in: Likewise.
38884 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38885 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38886 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38887 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38888 * sysdeps/sh/elf/configure.in: Likewise.
38889 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38890 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38891 * sysdeps/x86_64/elf/configure.in: Likewise.
38892 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38893 * sysdeps/mach/hurd/tls.h: Likewise.
38894
633f745d
UD
38895 [BZ #13067]
38896 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38897
f318beb8
UD
38898 [BZ #13090]
38899 * configure.in: Fix use of AC_INIT.
38900
32b4c839
UD
38901 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38902
3ce1f295
UD
389032011-09-10 Ulrich Drepper <drepper@gmail.com>
38904
bb016596
UD
38905 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38906 __set_errno.
8e58439c
UD
38907 * malloc/hooks.c: Likewise.
38908
aebae053 38909 [BZ #11929]
02d46fc4
UD
38910 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38911 variables statically.
38912 (narenas): Initialize.
38913 (list_lock): Initialize.
bb016596
UD
38914 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38915 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38916 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38917 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38918 Add initializers to main_arena and mp_.
38919 (malloc_state): Remove pagesize member. Change all users to use
38920 GLRO(dl_pagesize).
38921
38922 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38923 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38924 is always initialized.
38925
22a89187
UD
38926 * malloc/malloc.c: Removed unused configurations and dead code.
38927 * malloc/arena.c: Likewise.
38928 * malloc/hooks.c: Likewise.
02d46fc4 38929 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38930
d063d164
UD
38931 * include/tls.h: Removed. USE___THREAD must always be defined.
38932 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38933 * elf/dl-libc.c: Likewise.
38934 * elf/dl-tsd.c: Likewise.
38935 * include/errno.h: Likewise.
38936 * include/netdb.h: Likewise.
38937 * include/resolv.h: Likewise.
38938 * inet/herrno-loc.c: Likewise.
38939 * inet/herrno.c: Likewise.
38940 * malloc/arena.c: Likewise.
38941 * malloc/hooks.c: Likewise.
38942 * malloc/malloc.c: Likewise.
38943 * resolv/res-state.c: Likewise.
38944 * resolv/res_libc.c: Likewise.
38945 * sysdeps/i386/dl-machine.h: Likewise.
38946 * sysdeps/ia64/dl-machine.h: Likewise.
38947 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38948 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38949 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38950 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38951 * sysdeps/sh/dl-machine.h: Likewise.
38952 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38953 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38954 * sysdeps/unix/i386/sysdep.S: Likewise.
38955 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38956 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38957 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38958 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38960 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38961 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38962 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38963 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38964 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38965 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38966 * sysdeps/x86_64/dl-machine.h: Likewise.
38967 * tls.make.c: Likewise.
38968
3ce1f295
UD
38969 * configure.in: Remove --with-__thread option. Make tests for
38970 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38971 tls_model attribute fail if no support is available. Remove
38972 USE_IN_LIBIO.
38973 * Makeconfig: Adjust for dropped configure option. All features are
38974 now mandatory.
38975 * Makerules: Likewise.
38976 * Versions.def: Likewise.
38977 * argp/argp-fmtstream.c: Likewise.
38978 * argp/argp-fmtstream.h: Likewise.
38979 * argp/argp-help.c: Likewise.
38980 * assert/assert.c: Likewise.
38981 * config.h.in: Likewise.
38982 * config.make.in: Likewise.
38983 * configure: Likewise.
38984 * configure.in: Likewise.
38985 * csu/Versions: Likewise.
38986 * csu/init.c: Likewise.
38987 * elf/tst-audit2.c: Likewise.
38988 * elf/tst-tls10.c: Likewise.
38989 * elf/tst-tls10.h: Likewise.
38990 * elf/tst-tls11.c: Likewise.
38991 * elf/tst-tls12.c: Likewise.
38992 * elf/tst-tls14.c: Likewise.
38993 * elf/tst-tlsmod11.c: Likewise.
38994 * elf/tst-tlsmod12.c: Likewise.
38995 * elf/tst-tlsmod13.c: Likewise.
38996 * elf/tst-tlsmod13a.c: Likewise.
38997 * elf/tst-tlsmod14a.c: Likewise.
38998 * elf/tst-tlsmod15b.c: Likewise.
38999 * elf/tst-tlsmod16a.c: Likewise.
39000 * elf/tst-tlsmod16b.c: Likewise.
39001 * elf/tst-tlsmod7.c: Likewise.
39002 * elf/tst-tlsmod8.c: Likewise.
39003 * elf/tst-tlsmod9.c: Likewise.
39004 * gmon/gmon.c: Likewise.
39005 * grp/fgetgrent_r.c: Likewise.
39006 * grp/putgrent.c: Likewise.
39007 * hurd/fopenport.c: Likewise.
39008 * include/libc-symbols.h: Likewise.
39009 * include/tls.h: Likewise.
39010 * intl/gettextP.h: Likewise.
39011 * intl/loadinfo.h: Likewise.
39012 * locale/global-locale.c: Likewise.
39013 * locale/localeinfo.h: Likewise.
39014 * mach/devstream.c: Likewise.
39015 * malloc/arena.c: Likewise.
39016 * malloc/set-freeres.c: Likewise.
39017 * misc/err.c: Likewise.
39018 * misc/getttyent.c: Likewise.
39019 * misc/mntent_r.c: Likewise.
39020 * posix/getopt.c: Likewise.
39021 * posix/wordexp.c: Likewise.
39022 * pwd/fgetpwent_r.c: Likewise.
39023 * resolv/Versions: Likewise.
39024 * resolv/res_hconf.c: Likewise.
39025 * shadow/fgetspent_r.c: Likewise.
39026 * shadow/putspent.c: Likewise.
39027 * stdio-common/printf_fphex.c: Likewise.
39028 * stdio-common/tmpfile.c: Likewise.
39029 * stdlib/abort.c: Likewise.
39030 * stdlib/fmtmsg.c: Likewise.
39031 * sunrpc/auth_unix.c: Likewise.
39032 * sunrpc/clnt_perr.c: Likewise.
39033 * sunrpc/clnt_tcp.c: Likewise.
39034 * sunrpc/clnt_udp.c: Likewise.
39035 * sunrpc/clnt_unix.c: Likewise.
39036 * sunrpc/openchild.c: Likewise.
39037 * sunrpc/svc_simple.c: Likewise.
39038 * sunrpc/svc_tcp.c: Likewise.
39039 * sunrpc/svc_udp.c: Likewise.
39040 * sunrpc/svc_unix.c: Likewise.
39041 * sunrpc/xdr.c: Likewise.
39042 * sunrpc/xdr_array.c: Likewise.
39043 * sunrpc/xdr_rec.c: Likewise.
39044 * sunrpc/xdr_ref.c: Likewise.
39045 * sunrpc/xdr_stdio.c: Likewise.
39046
1248c1c4
PB
390472011-09-09 Ulrich Drepper <drepper@gmail.com>
39048
39049 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39050
390512011-07-03 Andreas Jaeger <aj@suse.de>
39052
39053 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39054 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39055 regenerate with gen-libm-tests.pl.
39056
390572010-05-12 Petr Baudis <pasky@suse.cz>
39058
39059 [BZ #11589]
39060 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39061 around j0() zero points by switching to j1().
39062 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39063 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39064 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39065 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39066
f22e1074
UD
390672011-09-09 Ulrich Drepper <drepper@gmail.com>
39068
f19009c1
UD
39069 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39070 instead of 0.
39071 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39072 instead of 0.
f19009c1
UD
39073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39074 Patch in part by Pavel Roskin <proski@gnu.org>.
39075
3f8cc204
UD
39076 [BZ #13138]
39077 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39078 realloc.
39079 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39080 Free memory block if necessary.
39081
f22e1074
UD
39082 [BZ #12847]
39083 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39084 be NULL. Don't lock in this case.
39085
0a2349f9
RM
390862011-09-09 Roland McGrath <roland@hack.frob.com>
39087
39088 * elf/elf.h (ELFOSABI_GNU): New macro.
39089 (ELFOSABI_LINUX): Define to that.
39090
f3cdd467
DZ
390912011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39092
39093 * string/strncat.c (strncat): Undef the symbol in case it has been
39094 defined in bits/string.h.
39095
74718d13
UD
390962011-09-09 Ulrich Drepper <drepper@gmail.com>
39097
633e9e0f
UD
39098 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39099
0a2349f9 39100 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39101 link map.
39102
f9924780
AJ
391032011-08-17 Andreas Jaeger <aj@suse.de>
39104
39105 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39106
7f5517aa
PP
391072011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39108 Ian Lance Taylor <iant@google.com>
39109
39110 * math/libm-test.inc (lround_test): New testcase.
39111 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39112
762011fe
UD
391132011-09-08 Ulrich Drepper <drepper@gmail.com>
39114
92963737
UD
39115 * Makefile: Remove support for automatic cvs check-ins.
39116 * Makerules: Likewise.
39117 * config.make.in: Likewise.
39118 * configure.in: Likewise.
39119 * intl/Makefile: Likewise.
39120 * locale/Makefile: Likewise.
39121 * po/Makefile: Likewise.
39122 * posix/Makefile: Likewise.
39123 * sysdeps/gnu/Makefile: Likewise.
39124 * sysdeps/mach/hurd/Makefile: Likewise.
39125 * sysdeps/sparc/sparc32/Makefile: Likewise.
39126
b0727fd8
JS
39127 [BZ #13118]
39128 * posix/Makefile (bug-regex32-ENV): Define.
39129 Patch by John Stanley <jpsinthemix@verizon.net>.
39130
a0f33f99
UD
39131 * misc/Makefile (headers): Add bits/select2.h.
39132 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39133 * misc/bits/select2.h: New file.
39134 * include/bits/select2.h: New file.
39135 * debug/Makefile (routines): Add fdelt_chk.
39136 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39137 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39138 FD_ISSET.
39139 * debug/fdelt_chk.c: New file.
39140
762011fe
UD
39141 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39142 * wcsmbs/test-wmemcmp.c: Likewise.
39143 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39144 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39145
391462011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39147
39148 * string/Makefile (strop-tests): Add memcmp.
39149 * string/test-wmemcmp.c: New file.
39150 * string/test-memcmp.c: Add wmemcmp support.
39151
7f513ec8
RM
391522011-09-08 Roland McGrath <roland@hack.frob.com>
39153
0442afb4
RM
39154 [BZ #13153]
39155 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39156 2011-07-19 change.
39157
7f513ec8
RM
39158 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39159 garbage value in a __mach_port_mod_refs call in the cases of the
39160 task-self and thread-self ports.
39161
a12b2239
ST
391622011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39163
39164 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39165
610f9ab4
AS
391662011-09-08 Andreas Schwab <schwab@redhat.com>
39167
7f513ec8 39168 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39169
48882a1a
LD
391702011-09-07 Ulrich Drepper <drepper@gmail.com>
39171
b49865be
UD
39172 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39173
fdc86bc9
UD
39174 * elf/dl-libc.c (dlerror_run): Pass back error code from
39175 dl_catch_error.
39176
c966526a
UD
39177 [BZ #13123]
39178 * elf/dl-load.c (lose): Free l_origin if it is valid.
39179
48882a1a
LD
39180 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39181 names.
39182 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39183 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39184 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39185 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39186 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39187 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39188
77a2a8b4
AZ
391892011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39190
39191 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39192 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39193 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39194 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39195 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39196 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39197 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39198 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39199 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39200 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39201
24f579d8
AM
392022011-08-15 Alan Modra <amodra@gmail.com>
39203
39204 [BZ #13092]
39205 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39206 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39207 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39208 ppc_mcount to static-only-routines.
39209 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39210 __mcount_internal.
39211 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39212 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39213
3d4837df
UD
392142011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39215
39216 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39217 for finite and infinity parameters.
39218
22700377
WS
392192011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39220
39221 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39222 and add nop instructions for throughput optimization.
39223 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39224
5025581e
WS
392252011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39226
39227 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39228 aligned copy for power7 with vector-scalar instructions.
39229 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39230
08a300c9
L
392312011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39232
39233 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39234 AVX check.
39235
59178ef9
AS
392362011-09-07 Andreas Schwab <schwab@redhat.com>
39237
39238 [BZ #13144]
39239 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39240 last change.
39241
e38ba7ab
UD
392422011-09-07 Ulrich Drepper <drepper@gmail.com>
39243
39244 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39245 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39246 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39247 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39248 clock_gettime.
39249
d53a73ac
UD
392502011-09-06 Ulrich Drepper <drepper@gmail.com>
39251
fc8bffcc
UD
39252 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39253 Forgot to demangle the pointer.
39254
ceaa0c5d
UD
39255 * sysdeps/i386/sysdep.h: Define atom_text_section.
39256 * sysdeps/x86_64/sysdep.h: Likewise.
39257 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39258 section with atom_text_section.
39259 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39260 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39261 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39262 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39263 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39264
a77d3c17
UD
39265 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39266 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39267 already be defined. Change to take two parameters and don't assign
39268 result to variable. Adjust all users.
39269 Define INTERNAL_GETTIME if not already defined.
39270 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39271 call.
39272 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39273 HAVE_CLOCK_GETTIME_VSYSCALL.
39274 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39275
d53a73ac
UD
39276 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39277 gettimeofday vsyscall, just use time.
39278
a8f84144
AS
392792011-09-06 Andreas Schwab <schwab@redhat.com>
39280
39281 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39282 <errno.h>.
39283
ef606249
UD
392842011-09-06 Ulrich Drepper <drepper@gmail.com>
39285
39286 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39287 syscall on x86-64.
39288 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39289 syscall.
39290 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39291 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39292 syscall if possible.
39293
6585cb60
UD
392942011-09-05 Ulrich Drepper <drepper@gmail.com>
39295
39296 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39297 e_ident. Don't pass to find_mapsXX.
39298 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39299
a5f524e4
LD
393002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39301
39302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39303 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39304 * sysdeps/x86_64/multiarch/strchr.S: Update.
39305 Check bit_slow_BSF bit.
39306 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39307 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39308 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39309
554881ef
UD
393102011-09-05 Ulrich Drepper <drepper@gmail.com>
39311
d96de963
UD
39312 [BZ #13134]
39313 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39314 before glibc 2.15.
39315 (tryshell): Define.
39316 (__spawni): Change last parameter to be flag. Test
39317 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39318 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39319 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39320 * posix/spawni.c: Likewise.
39321 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39322 * posix/spawnp.c: Likewise. Change normal version to use
39323 SPAWN_XFLAGS_USE_PATH.
39324 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39325 SPAWN_XFLAGS_TRY_SHELL.
39326
d48e5868
UD
39327 [BZ #13150]
39328 * posix/glob.h: Remove gcc 1.x support.
39329
554881ef
UD
39330 [BZ #13068]
39331 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39332
693fb948
LD
393332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39334
39335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39336 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39337 strrchr-sse2-bsf
39338 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39339 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39340 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39341 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39342 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39343 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39344
1b48c537
UD
393452011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39346
49d42c37
UD
39347 * sysdeps/x86_64/wcscmp.S: New file.
39348
1b48c537
UD
39349 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39350 wcscmp-c wcscmp-sse2
39351 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39352 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39353 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39354 * wcsmbs/wcscmp.c: Allow renaming.
39355
15c95c5d
DM
393562011-09-05 David S. Miller <davem@davemloft.net>
39357
39358 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39359 stack slot, rather than the struct return pointer slot.
39360 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39361 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39363 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39364
2f0ad8f3
UD
393652011-09-05 Ulrich Drepper <drepper@gmail.com>
39366
d88ae418
UD
39367 * po/ja.po: Update from translation team.
39368
2f0ad8f3
UD
39369 [BZ #13144]
39370 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39371 kernel in 64-bit binaries.
39372
5f4318d1
DM
393732011-09-01 David S. Miller <davem@davemloft.net>
39374
39375 * elf/elf.h (HWCAP_SPARC_*): Move to..
39376 * sysdeps/sparc/sysdep.h: this new file and add new values.
39377 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39378 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39379 _DL_HWCAP_COUNT to 24.
39380 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39381 entries.
39382 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39383 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39384 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39386 instead of magic constants.
39387 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39388
3ba57516
DM
393892011-08-31 David S. Miller <davem@davemloft.net>
39390
39391 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39392 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39393 Reimplement to do errno handling inline.
39394 (SYSCALL_ERROR_HANDLER): New macro.
39395 (__SYSCALL_STRING): Do not do errno handling in asm.
39396 (__CLONE_SYSCALL_STRING): Delete.
39397 (__INTERNAL_SYSCALL_STRING): Delete.
39398 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39399 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39400 (PSEUDO): Reimplement to do errno handling inline.
39401 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39402 (SYSCALL_ERROR_HANDLER): New macro.
39403 (__SYSCALL_STRING): Do not do errno handling in asm.
39404 (__CLONE_SYSCALL_STRING): Delete.
39405 (__INTERNAL_SYSCALL_STRING): Delete.
39406 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39407 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39408 i386.
39409 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39410 (inline_syscall*): Add 'err' argument.
39411 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39412 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39413 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39414 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39415
39416 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39417 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39418
2bc17433
AS
394192011-08-30 Andreas Schwab <schwab@redhat.com>
39420
39421 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39422
fbeb5f4d
JO
394232011-08-29 Jiri Olsa <jolsa@redhat.com>
39424
39425 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39426 directive.
39427
ad69cc26
DM
394282011-08-24 David S. Miller <davem@davemloft.net>
39429
39430 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39431
39dd69df
AS
394322011-08-24 Andreas Schwab <schwab@redhat.com>
39433
39434 * elf/Makefile: Add rules to build and run unload8 test.
39435 * elf/unload8.c: New file.
39436 * elf/unload8mod1.c: New file.
39437 * elf/unload8mod1x.c: New file.
39438 * elf/unload8mod2.c: New file.
39439 * elf/unload8mod3.c: New file.
39440
39441 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39442 it wasn't used.
39443
2c0b250a
DM
394442011-08-23 David S. Miller <davem@davemloft.net>
39445
39446 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39447 subtract stack bias.
39448 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39449 %sp not %fp in calculations.
39450 (_JMPBUF_UNWINDS_ADJ): Likewise.
39451
22044b48
DM
39452 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39453 (aio_suspend): Call it to force an exception region around the
39454 AIO_MISC_WAIT() invocation.
39455
2cae4995
AS
394562011-08-23 Andreas Schwab <schwab@redhat.com>
39457
39458 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39459 backslash.
39460
873a772e
AJ
394612011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39462
39463 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39464 protection macro.
39465 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39466 and <dl-machine.h>.
39467 (Elf64_FuncDesc): Remove.
39468
25ad0df1
DM
394692011-08-22 David S. Miller <davem@davemloft.net>
39470
39471 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39472 sigaltstack check, add missing cfi directives.
39473 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39474 missing cfi directives, and sigaltstack handling.
39475
e888bcbe
AS
394762011-08-16 Andreas Schwab <schwab@redhat.com>
39477
39478 [BZ #11724]
39479 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39480 object is seen twice.
39481 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39482
39483 * elf/Makefile (distribute): Add tst-initorder2.c.
39484 (tests): Add tst-initorder2.
39485 (modules-names): Add tst-initorder2a tst-initorder2b
39486 tst-initorder2c tst-initorder2d. Add rules to build them.
39487 ($(objpfx)tst-initorder2.out): New rule.
39488 * elf/tst-initorder2.c: New file.
39489 * elf/tst-initorder2.exp: New file.
39490
87162f46
AS
394912011-08-22 Andreas Schwab <schwab@redhat.com>
39492
70538b7f
AS
39493 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39494
f55ffe58
AS
39495 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39496 dependencies back to end of function.
39497
87162f46
AS
39498 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39499 $(elfobjdir)/ld.so.
39500
91b392a4
UD
395012011-08-21 Ulrich Drepper <drepper@gmail.com>
39502
39503 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39504 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39506 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39507 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39508 of __vdso_gettimeofday.
39509 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39510 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39511 attribute_hidden.
39512 (_libc_vdso_platform_setup): Remove initialization of
39513 __vdso_gettimeofday and __vdso_time.
39514
5c43483f
UD
395152011-08-20 Ulrich Drepper <drepper@gmail.com>
39516
775a77e7
UD
39517 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39518 and fgetc_unlocked.
39519 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39520 getc_unlocked.
89f447ed 39521
49c74ba9
UD
39522 * elf/dl-open.c (add_to_global): Report additions to the global scope
39523 for LD_DEBUG=scopes.
39524 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39525 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39526
5c43483f
UD
39527 [BZ #13114]
39528 * stdio-common/Makefile (tests): Add bug24.
39529 * stdio-common/bug24.c: New file.
39530
a101b025
AJ
395312011-08-19 Andreas Jaeger <aj@suse.de>
39532
39533 [BZ #13114]
39534 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39535 non-existant file when using close-on-exec mode.
39536
c88f1766
UD
395372011-08-20 Ulrich Drepper <drepper@gmail.com>
39538
0276a718
UD
39539 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39540 the very first instruction.
39541
c88f1766
UD
39542 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39543 the CFI state in the end.
39544 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39545 inclusion of dl-trampoline.h.
39546 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39547
51ccffa0
AS
395482011-08-19 Andreas Schwab <schwab@redhat.com>
39549
94d7165f
AS
39550 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39551 expectations for long double.
39552
51ccffa0
AS
39553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39554 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39555
fd708658 395562011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39557
39558 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39559 artificual limit depends upon the system page size.
39560
44f0a71e
UD
395612011-08-17 Ulrich Drepper <drepper@gmail.com>
39562
39563 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39564 * resolv/Makefile: Define CFLAGS-libresolv.
39565
8de79a24
AS
395662011-08-17 Andreas Schwab <schwab@redhat.com>
39567
39568 * nss/makedb.c (compute_tables): Make variables used in nested
39569 function static.
39570
27724598
UD
395712011-08-17 Ulrich Drepper <drepper@gmail.com>
39572
c5305d88
UD
39573 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39574 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39575 if buffer was too small.
39576
27724598
UD
39577 * elf/pldd.c (main): Attach to all threads in the process.
39578 Rewrite /proc handling to use *at functions.
39579
076fe015
UD
395802011-08-16 Ulrich Drepper <drepper@gmail.com>
39581
174baab3
UD
39582 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39583 specifies first scope to show.
39584 (dl_open_worker): Update callers. Move printing scope of new
39585 object to before the relocation.
44f0a71e 39586 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39587 * sysdeps/generic/ldsodefs.h: Update declaration.
39588
076fe015
UD
39589 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39590 string for the scope number.
39591
a60df2c3
UD
395922011-08-14 Ulrich Drepper <drepper@gmail.com>
39593
39594 * nscd/servicescache.c (cache_addserv): Make sure written is always
39595 initialized.
39596
5e4287d1
RM
395972011-08-14 Roland McGrath <roland@hack.frob.com>
39598
85ae0589
RM
39599 * sysdeps/i386/i486/bits/atomic.h
39600 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39601 statement expression, so as to suppress "set but not used" warning.
39602 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39603
69f63097
RM
39604 * string/strncat.c (STRNCAT): Use prototype definition.
39605
675456ef
RM
39606 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39607 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39608 -Iprograms here.
39609 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39610 (localedef-modules): Add localedef.
39611 (locale-modules): Add locale.
39612
5e4287d1
RM
39613 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39614 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39615 to avoid a warning.
39616
9c96ff23
DM
396172011-08-14 David S. Miller <davem@davemloft.net>
39618
39619 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39620 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39621
f9ddf089
UD
396222011-08-13 Ulrich Drepper <drepper@gmail.com>
39623
44f0a71e 39624 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39625 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39626 * elf/rtld.c (dl_main): Set l_name of vDSO.
39627 Call _dl_show_scope when DL_DEBUG_SCOPES.
39628 (process_dl_debug): Recognize scopes flag and also set it for all.
39629 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39630 Declare _dl_show_scope.
39631
1dc27704
UD
39632 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39633 (do_dlopen): Pass caller_dlopen to dl_open.
39634 (__libc_dlopen_mode): Initialize caller_dlopen.
39635
f9ddf089
UD
39636 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39637 of libc. Make tolower call locale-independent. Optimize a bit by
39638 using isdigit instead of isalnum.
39639 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39640
9ac533d3
UD
396412011-08-12 Ulrich Drepper <drepper@gmail.com>
39642
39643 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39644 was a dependency or dynamically loaded.
39645
89edf2e9
UD
396462011-08-11 Ulrich Drepper <drepper@gmail.com>
39647
8e999d29
UD
39648 * intl/l10nflist.c: Allow architecture-specific pop function.
39649 * sysdeps/x86_64/l10nflist.c: New file.
39650
89edf2e9
UD
39651 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39652 classification.
39653
14d96785
AS
396542011-08-10 Andreas Schwab <schwab@redhat.com>
39655
39656 * include/dirent.h: Add libc_hidden_proto for scandirat and
39657 scandirat64. Don't declare __scandirat64.
39658 * dirent/scandirat.c: Add libc_hidden_def.
39659 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39660 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39661
6761ac04
DM
396622011-08-10 David S. Miller <davem@davemloft.net>
39663
39664 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39665 enum.
39666 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39667 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39668 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39669
c55fbd1e
UD
396702011-08-09 Ulrich Drepper <drepper@gmail.com>
39671
39672 * Versions.def [libc]: Add GLIBC_2.15.
39673 * dirent/Makefile (routines): Add scandirat and scandirat64.
39674 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39675 GLIBC_2.15.
39676 * dirent/dirent.h: Declare scandirat and scandirat64.
39677 * dirent/scandirat.c: New file.
39678 * dirent/scandirat64.c: New file.
39679 * sysdeps/wordsize-64/scandirat.c: New file.
39680 * sysdeps/wordsize-64/scandirat64.c: New file.
39681 * dirent/opendir.c: Define opendirat.
39682 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39683 using scandirat.
39684 * dirent/scandir64.c: Adjust for scandir.c change.
39685 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39686 __scandirat64, and __scandir_cancel_handler.
39687 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39688 additional parameter and use openat instead of open (outside of ld.so).
39689 Add new __opendir as wrapper around __opendirat.
39690 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39691 here without requiring old scandirat implementation.
39692
879165f2
UD
396932011-08-08 Ulrich Drepper <drepper@gmail.com>
39694
39695 * dirent/scandir.c (cancel_handler): Renamed to
39696 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39697 defined. Adjust users.
39698 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39699 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39700
cb7e923b
UD
397012011-08-04 Ulrich Drepper <drepper@gmail.com>
39702
16292edd
UD
39703 * string/test-string.h (IMPL): Use __STRING to expand name and then
39704 stringify it.
39705
cb7e923b
UD
39706 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39707 of cleanups.
39708
cff82933
LD
397092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39710
39711 * string/Makefile: Update.
39712 (strop-tests): Append strncat.
39713 * string/test-wcscmp.c: New file.
39714 New comprehensive test for wcscmp.
39715 * string/test-strcmp.c: Update.
39716 (WIDE): New define.
39717
9be9bfcc
AS
397182011-07-22 Andreas Schwab <schwab@redhat.com>
39719
39720 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39721 line.
39722
2e96f1c7
AS
397232011-07-26 Andreas Schwab <schwab@redhat.com>
39724
39725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39726 encoding to ACE if AI_IDN.
39727
85188888
JJ
397282011-08-01 Jakub Jelinek <jakub@redhat.com>
39729
39730 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39731 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39732
5fa16e9b
LD
397332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39734
39735 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39736 Fix overflow bug in strncat.
39737 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39738
39739 * string/test-strncat.c: Update.
39740 Add new tests for checking overflow bugs.
39741
397422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39743
39744 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39745 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39746 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39747 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39748 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39749 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39750 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39751 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39752 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39753
39754 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39755 (USE_AS_STRCAT): Define.
39756 Add strcat and strncat support.
39757 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39758
8c1a459f
AS
397592011-07-25 Andreas Schwab <schwab@redhat.com>
39760
39761 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39762 __n bigger than INT_MAX+1.
39763 (__strncmp_g): Likewise.
39764
bba33c28
UD
397652011-07-23 Ulrich Drepper <drepper@gmail.com>
39766
798be72d
UD
39767 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39768 * libio/stido.h: Likewise.
39769
8accd4dc
UD
39770 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39771 (AF_NFC): Define.
39772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39773 (AF_NFC): Define.
39774
cbff0d96
UD
39775 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39776 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39777 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39778 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39780
9191c04a
UD
39781 [BZ #13021]
39782 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39783 installed.
39784
bba33c28
UD
39785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39786 typo.
39787 (_dl_x86_64_save_sse): Likewise.
39788
90f139dd
UD
397892011-07-22 Ulrich Drepper <drepper@gmail.com>
39790
1aae088a
UD
39791 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39792 OSXSAVE.
39793 (_dl_x86_64_save_sse): Likewise.
39794
8e2045f5
UD
39795 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39796
90f139dd
UD
39797 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39798
1d002f25
AS
397992011-07-21 Andreas Schwab <schwab@redhat.com>
39800
39801 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39802 change.
39803 (_dl_x86_64_save_sse): Use correct AVX check.
39804
21137f89
UD
398052011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39806
39807 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39808 bug in strncpy/strncat.
39809 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39810
a65c0b7a
UD
398112011-07-21 Ulrich Drepper <drepper@gmail.com>
39812
39813 * string/tester.c (test_strcat): Add tests for different alignments
39814 of source and destination.
39815 (test_strncat): Likewise.
39816
6986b98a
UD
398172011-07-20 Ulrich Drepper <drepper@gmail.com>
39818
90bb2039
UD
39819 [BZ #12852]
39820 * posix/glob.c (glob): Check passed in values before using them in
39821 expressions to avoid some overflows.
39822 (glob_in_dir): Likewise.
39823
5644ef54
UD
39824 [BZ #13007]
39825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39826 check for AVX enablement so that we don't crash with old kernels and
39827 new hardware.
39828 * elf/tst-audit4.c: Add same checks here.
39829 * elf/tst-audit6.c: Likewise.
39830
39831 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39832
bfc9dc9b
AS
398332011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39834
39835 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39836
702e64bb
UD
398372011-07-20 Ulrich Drepper <drepper@gmail.com>
39838
39839 * po/cs.po: Update from translation team.
39840 * po/bg.po: Likewise.
39841
295e904f
MP
398422011-07-12 Marek Polacek <mpolacek@redhat.com>
39843
39844 * misc/sys/cdefs.h: Add support for const attribute.
39845 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39846 to gnu_dev_{major,minor,makedev} functions.
39847
3ff94596
MP
398482011-07-20 Marek Polacek <mpolacek@redhat.com>
39849
39850 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39851
28b59fca
AS
398522011-07-20 Andreas Schwab <schwab@redhat.com>
39853
39854 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39855 strlen results.
39856
19df733e
AK
398572011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39858
39859 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39860 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39861 register in order to avoid conflicts with the soft frame pointer
39862 being held in r11 when necessary.
39863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39864 (INTERNAL_VSYSCALL_NCS): Likewise.
39865
c8835729
MP
398662011-07-14 Marek Polacek <mpolacek@redhat.com>
39867
39868 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39869 * elf/dl-fini.c (_dl_fini): Adjust caller.
39870 * elf/dl-close.c (_dl_close_worker): Likewise.
39871 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39872
b902330c
MP
398732011-07-15 Marek Polacek <mpolacek@redhat.com>
39874
8991e135
MP
39875 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39876 "aux_cache->nlibs < 0".
39877
b902330c
MP
39878 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39879 in the reload-count case.
39880
99710781
LD
398812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39882
39883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39884 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39885 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39886 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39887 * sysdeps/x86_64/multiarch/strcat.S: New file.
39888 * sysdeps/x86_64/multiarch/strncat.S: New file.
39889 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39890 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39891 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39892 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39893 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39894 (USE_AS_STRCAT): Define.
39895 Add strcat and strncat support.
39896 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39897 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39898 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39899 * string/strncat.c: Update.
39900 (USE_AS_STRNCAT): Define.
39901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39902 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39903 and i7.
39904 * sysdeps/x86_64/multiarch/init-arch.h
39905 (bit_Prefer_PMINUB_for_stringop): New.
39906 (index_Prefer_PMINUB_for_stringop): Likewise.
39907 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39908 bit_Prefer_PMINUB_for_stringop.
39909
7dc6bd90
UD
399102011-07-19 Ulrich Drepper <drepper@gmail.com>
39911
39912 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39913 buffer64.
39914 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39915 of casting of buffer.
39916 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39917 buffer32 and buffer64.
39918 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39919 writes instead of casting of buffer.
39920 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39921 buffer32.
39922 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39923 casting of buffer.
39924
e0e72284
AS
399252011-07-19 Andreas Schwab <schwab@redhat.com>
39926
39927 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39928
feb1eb0b
UD
399292011-07-19 Ulrich Drepper <drepper@gmail.com>
39930
39931 * nscd/nscd.c (termination_handler): Don't do anything for a database
39932 if it has not yet been initialized.
39933
298711ff
UD
399342011-07-18 Ulrich Drepper <drepper@gmail.com>
39935
39936 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39937
399382011-07-15 Marek Polacek <mpolacek@redhat.com>
39939
39940 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39941
f9d68389
UD
399422011-07-18 Ulrich Drepper <drepper@gmail.com>
39943
39944 * po/nl.po: Update from translation team.
39945 * po/sv.po: Likewise.
39946
db290cf5
RM
399472011-07-16 Roland McGrath <roland@hack.frob.com>
39948
39949 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39950 now disallowed by GCC.
5c550700 39951
fd5e21c7
RM
39952 * configure.in (use-default-link): Default to yes if a test -shared
39953 link meets our qualifications.
39954 * configure: Regenerated.
39955
5c550700
RM
39956 * config.make.in (output-format): New variable.
39957 * configure.in: Check for ld --print-output-format support.
39958 * configure: Regenerated.
39959 * Makerules ($(common-objpfx)format.lds)
39960 [$(output-format) != unknown]: Just use $(output-format),
39961 instead of the linker-script munging.
39962
9fa2c032
RM
399632011-07-14 Roland McGrath <roland@hack.frob.com>
39964
a6928d51
RM
39965 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39966 of $(common-objpfx)shlib.lds.
39967 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39968
661607b3
RM
39969 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39970 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39971
9fa2c032
RM
39972 * configure.in (-z relro check): Adjust test code to add a large
39973 writable data section after it.
39974 * configure: Regenerated.
39975
defe9061
RM
399762011-07-11 Roland McGrath <roland@hack.frob.com>
39977
39978 * configure.in (-z relro check): Fix test code to make the variable
39979 truly const.
39980 * configure: Regenerated.
39981
319b9ad4
UD
399822011-07-11 Ulrich Drepper <drepper@gmail.com>
39983
39984 * nscd/nscd.h (struct traced_file): Define.
39985 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39986 elements. Add traced_files.
39987 (inotify_fd): Declare.
39988 (register_traced_file): Declare.
39989 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39990 (inotify_fd): Export.
39991 (resolv_conf_descr): Remove.
39992 (nscd_init): Move inotify descriptor creation to main.
39993 Don't register files for notification here.
39994 (register_traced_file): New function.
39995 (invalidate_cache): Don't use reset_res to determine whether to call
39996 res_init, go through the list of registered files.
39997 (main_loop_poll): The inotify descriptors are now stored in the
39998 structures for the traced files.
39999 (main_loop_epoll): Likewise
40000 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40001 to __nss_disable_nscd.
40002 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40003 for a database anymore. Check the records for all the registered
40004 files instead.
40005 * nss/Makefile (libnss_files-routines): Add files-init.
40006 (libnss_db-routines): Add db-init.
40007 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40008 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40009 * nss/nss_db/db-init.c: New file.
40010 * nss/nss_files/files-init.c: New file.
40011 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40012 __nss_lookup_function.
40013 (__nss_lookup_function): Call nss_load_library.
40014 (nss_load_all_libraries): New function.
40015 (__nss_disable_nscd): Take parameter with callback function for files
40016 to register. Set is_nscd. Load all the DSOs for the NSS modules
40017 used for the cached services.
40018 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40019 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40020 options for features to all the files in nscd.
40021
40022 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40023
23bee3e8
RM
400242011-07-10 Roland McGrath <roland@hack.frob.com>
40025
40026 * csu/elf-init.c (__libc_csu_init): Comment typo.
40027
46a5b7f0
UD
400282011-07-09 Ulrich Drepper <drepper@gmail.com>
40029
40030 * po/pl.po: Update from translation team.
40031 * po/ja.po: Likewise.
40032 * po/ru.po: Likewise.
40033 * po/ko.po: Likewise.
40034 * po/fr.po: Likewise.
40035
d30cf5bb
RM
400362011-07-09 Roland McGrath <roland@hack.frob.com>
40037
113ddea4
RM
40038 * configure.in (.ctors/.dtors header and trailer check):
40039 Use an empirical test on a built program.
40040 * configure: Regenerated.
40041
574920b4
RM
40042 * configure.in (-z relro check): Use an empirical test on a built DSO.
40043 Detect, but do not require, on ia64.
40044 * configure: Regenerated.
40045
d30cf5bb
RM
40046 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40047 Update tests that use readelf to use $READELF instead.
40048 * configure: Regenerated.
40049
8538fdb3
UD
400502011-07-08 Ulrich Drepper <drepper@gmail.com>
40051
40052 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40053 if the result is not used.
40054
04d08991
AJ
400552011-07-05 Andreas Jaeger <aj@suse.de>
40056
40057 [BZ#9696]
40058 * stdlib/tst-strtod.c: Add testcase.
40059
de283087
AD
400602011-07-07 Ulrich Drepper <drepper@gmail.com>
40061
4e5f31c8 40062 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40063 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40064 The latter has a higher limit. Take additional parameter to pass to
40065 the new function.
40066 (__pathconf): Pass file to __statfs_link_max.
40067 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40068 __statfs_link_max.
40069 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40070 __statfs_link_max.
40071
de283087
AD
40072 [BZ #12868]
40073 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40074 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40075 Handle Lustre.
40076 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40077 (__statfs_filesize_max): Likewise.
40078 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40079
c75fa153
AJ
400802011-07-05 Andreas Jaeger <aj@suse.de>
40081
40082 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40083
1a544854
UD
400842011-07-06 Marek Polacek <mpolacek@redhat.com>
40085
40086 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40087 `status' variable.
40088 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40089 Likewise.
40090
6f0eec67
UD
400912011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40092
40093 * Makefile (strop-tests): Add strncat.
40094 * string/test-strncat.c: New file.
40095
aae30307
UD
400962011-06-30 Marek Polacek <mpolacek@redhat.com>
40097
40098 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40099
c0cfb5eb
UD
401002011-06-21 Andreas Jaeger <aj@suse.de>
40101
40102 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40103 Copy rule from iconvdata/Makefile.
40104
01636b21
UD
401052011-07-06 Ulrich Drepper <drepper@gmail.com>
40106
40107 [BZ #12922]
40108 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40109 but no long options are defined, just return 'W'.
40110
9895c8bc
UD
401112011-06-22 Marek Polacek <mpolacek@redhat.com>
40112
40113 [BZ #9696]
40114 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40115
5d4cf042
UD
401162011-07-06 Ulrich Drepper <drepper@gmail.com>
40117
40118 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40119 netgroups to read.
960e5535 40120 (innetgr): Likewise.
5d4cf042 40121
751eb97e
RM
401222011-07-05 Roland McGrath <roland@hack.frob.com>
40123
40124 * config.make.in (install_root): Default to $(DESTDIR).
40125
f15f1e45
UD
401262011-07-05 Ulrich Drepper <drepper@gmail.com>
40127
40128 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40129
4e34ac6a
RM
401302011-07-02 Roland McGrath <roland@hack.frob.com>
40131
5e9b6af4
RM
40132 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40133
84f9ea0f
RM
40134 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40135 containing directory rather than embedding absolute directory names.
40136
ea5ee9f7
RM
40137 * scripts/check-local-headers.sh: Rewritten using awk.
40138 Match by word, not by line. Print error messages for matches.
40139 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40140
1b74661a
RM
40141 * Makerules [shlib-lds-flags empty]:
40142 ($(common-objpfx)libc_pic.opts): New target.
40143 ($(common-objpfx)libc_pic.os.clean): New target.
40144 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40145
40146 * config.make.in (OBJCOPY): New variable.
40147 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40148 * configure: Regenerated.
40149
f781ef40
RM
40150 * config.make.in (use-default-link): New variable.
40151 * configure.in (use_default_link): Grok --with-default-link to set it.
40152 * configure: Regenerated.
40153 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40154 (shlib-lds, shlib-lds-flags): Define to empty.
40155
2d4fa81e
RM
40156 * Makerules (shlib-lds): New variable.
40157 (shlib-lds-flags): New variable.
40158 (build-shlib, build-moduile, build-module-asneeded): Use it.
40159 ($(common-objpfx)libc.so): Use $(shlib-lds).
40160 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40161 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40162
31fffa6b
RM
40163 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40164 DT_FLAGS/DT_FLAGS_1 with zero flags.
40165
4e34ac6a
RM
40166 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40167 linker script munging.
40168
fcfc776b
UD
401692011-07-02 Ulrich Drepper <drepper@gmail.com>
40170
40171 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40172 as 128-bit value.
40173 * crypt/sha512.c (sha512_process_block): Perform total addition using
40174 128-bit if possible.
40175 (__sha512_finish_ctx): Likewise.
40176 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40177 as 64-bit value.
40178 * crypt/sha256.c (SWAP64): Define.
40179 (sha256_process_block): Perform total addition using 64-bit if
40180 possible.
40181 (__sha256_finish_ctx): Likewise.
40182
99231d9a
UD
401832011-07-01 Ulrich Drepper <drepper@gmail.com>
40184
40185 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40186 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40187 * nscd/hstcache.c (cache_addhst): Likewise.
40188 * nscd/grpcache.c (cache_addgr): Likewise.
40189 * nscd/aicache.c (addhstaiX): Likewise
40190 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40191
445b4a53
TK
401922011-07-01 Thorsten Kukuk <kukuk@suse.de>
40193
40194 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40195 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40196 * nscd/hstcache.c (cache_addhst): Likewise.
40197 * nscd/grpcache.c (cache_addgr): Likewise.
40198 * nscd/aicache.c (addhstaiX): Likewise
40199
6d4d8e8e
AS
402002011-07-01 Andreas Schwab <schwab@redhat.com>
40201
40202 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40203 domain only when needed.
40204
89f654c5
AS
402052011-06-30 Andreas Schwab <schwab@redhat.com>
40206
40207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40208 is always restored.
40209
cf3b23ff
UD
402102011-06-29 Ulrich Drepper <drepper@gmail.com>
40211
40212 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40213 are re-adding the entry.
40214 * nscd/servicescache.c (cache_addserv): Likewise.
40215
751626f9
AJ
402162011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40217
40218 * sysdeps/generic/dl-irel.h: fix protection against multiple
40219 inclusions.
40220 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40221
9113ea1f
UD
402222011-06-28 Ulrich Drepper <drepper@gmail.com>
40223
5c0b8d90
UD
40224 [BZ #12935]
40225 * malloc/memusage.sh: Fix quoting in message.
40226 * debug/xtrace.sh: Likewise.
40227
9113ea1f
UD
40228 * configure.in: Remove support for --experimental-malloc option, make
40229 it the default.
40230 * config.make.in: Likewise.
40231 * malloc/Makefile: Likewise.
40232
a4172181
AS
402332011-06-27 Andreas Schwab <schwab@redhat.com>
40234
40235 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40236 two-byte characters.
40237
78a7eee7
RM
402382011-06-27 Roland McGrath <roland@hack.frob.com>
40239
62bede13
RM
40240 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40241 AC_CACHE_CHECK invocation.
40242 * configure: Regenerated.
40243
78a7eee7
RM
40244 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40245
5ce33a62
UD
402462011-06-27 Ulrich Drepper <drepper@gmail.com>
40247
034807a9
UD
40248 [BZ #12350]
40249 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40250 bit from old_res_options.
40251
4902da17
UD
40252 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40253
5ce33a62
UD
40254 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40255 value type for setfct.
40256
c2344f56
L
402572011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40258
40259 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40260 __gettimeofday instead of gettimeofday.
40261
68468076
UD
402622011-06-26 Ulrich Drepper <drepper@gmail.com>
40263
40264 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40265
acb0d739
L
402662011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40267
40268 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40269
40270 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40271 info.
40272
8912479f
L
402732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40274
40275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40276 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40277 strcpy-sse2-unaligned strncpy-sse2-unaligned
40278 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40279 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40280 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40281 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40282 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40283 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40284 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40285 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40286 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40287 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40288 (STRCPY): Support SSE2 and SSSE3 versions.
40289
d5495a11
UD
402902011-06-24 Ulrich Drepper <drepper@gmail.com>
40291
40292 [BZ #12874]
40293 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40294 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40295 kernels which artificially limit size of requests.
40296
0b1cbaae
L
402972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40298
40299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40300 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40301 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40302 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40303 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40304 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40305 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40306 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40307 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40308 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40309 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40310 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40311 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40312 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40313 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40315 Enable unaligned load optimization for Intel Core i3, i5 and i7
40316 processors.
40317 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40318 Define.
40319 (index_Fast_Unaligned_Load): Define.
40320 (HAS_FAST_UNALIGNED_LOAD): Define.
40321
07f494a0
MP
403222011-06-23 Marek Polacek <mpolacek@redhat.com>
40323
40324 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40325
fa3fc0fe
UD
403262011-06-22 Ulrich Drepper <drepper@gmail.com>
40327
40328 [BZ #12907]
40329 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40330 until it is clear that the information is realy needed.
40331 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40332
e12df166
AS
403332011-06-22 Andreas Schwab <schwab@redhat.com>
40334
40335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40336
852eb34d
UD
403372011-06-22 Ulrich Drepper <drepper@gmail.com>
40338
84e2a551
UD
40339 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40340 /sys/devices/system/cpu/online if it is usable.
40341
852eb34d
UD
40342 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40343 reading the information from the /proc filesystem to once a second.
40344
6e502e19
UD
403452011-06-21 Andreas Jaeger <aj@suse.de>
40346
40347 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40348 NULL after inclusion of kernel headers.
40349
75d39ff2
UD
403502011-06-21 Ulrich Drepper <drepper@gmail.com>
40351
51f9aa6a
UD
40352 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40353 calls to internal_setent.
40354
c0244a9d
UD
40355 [BZ #12885]
40356 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40357 addresses using gethostbyname4_r ignore IPv4 addresses.
40358
c5e3c2ae
UD
40359 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40360 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40361
75d39ff2
UD
40362 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40363
42675c6f
DM
403642011-06-20 David S. Miller <davem@davemloft.net>
40365
40366 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40367 inclusions.
40368 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40369
40370 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40371 (elf_irel): Use it.
40372 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40373 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40374 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40375 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40376 * sysdeps/x86_64/dl-irel.h: Likewise.
40377
40378 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40379 * elf/dl-sym.c: Likewise.
40380
57912a71
UD
403812011-06-15 Ulrich Drepper <drepper@gmail.com>
40382
40383 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40384 need to dereference resplen2.
40385
ee22793d
AS
403862011-06-14 Andreas Schwab <schwab@redhat.com>
40387
40388 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40389
a9e836b0
UD
403902011-06-15 Ulrich Drepper <drepper@gmail.com>
40391
77fb9117
UD
40392 * Makeconfig: Define vardbdir and inst_vardbdir.
40393 * nss/Makefile: Add rules to install db-Makefile.
40394
40c1b22c
UD
40395 * nss/nss_db/db-XXX.c: Cleanup.
40396
9f2da732
UD
40397 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40398 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40399 GLIBC_PRIVATE.
40400 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40401 * nss/makedb.c: Implement -g option to specify that value strings
40402 are generated and should not be added to table iterated over for
40403 get*ent calls.
40404 * nss/nss_db/db-initgroups.c: New file.
40405
82e9a1f7
UD
40406 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40407 interface.
40408
c41af17e
UD
40409 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40410 (internal_getgrouplist): Adjust to name change.
40411 Update use_initgroups_entry if this is not the first call.
40412 * nss/databases.def: Add initgroups entry.
40413
a9e836b0
UD
40414 * nss/makedb.c (compute_tables): Check result of multiple hash table
40415 sizes to minimize maximum chain length.
40416
2666d441
UD
404172011-06-14 Ulrich Drepper <drepper@gmail.com>
40418
40419 * Versions.def: Add entry for libnss_db.
40420 * shlib-versions: Likewise.
40421 * nss/Makefile: Add rules to build libnss_db.
40422 * nss/Versions: Add libnss_db information. Organize libnss_files
40423 entries better.
40424 * nss/db-Makefile: Add gshadow support. Change rules for the new
40425 makedb progra. Some minor improvements to generate smaller files.
40426 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40427 here from...
40428 * nss/makedb.c: ...here.
40429 Improve database format to be smaller and require less memory at
40430 runtime.
40431 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40432 db anymore.
40433 * nss/nss_db/db-netgrp.c: Likewise.
40434 * nss/nss_db/db-open.c: Likewise.
40435 * nss/nss_files/flies-XXX.x: Adjust comments.
40436 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40437 * nss/nss_files/files-grp.c: Likewise.
40438 * nss/nss_files/files-hosts.c: Likewise.
40439 * nss/nss_files/files-network.c: Likewise.
40440 * nss/nss_files/files-proto.c: Likewise.
40441 * nss/nss_files/files-pwd.c: Likewise.
40442 * nss/nss_files/files-rpc.c: Likewise.
40443 * nss/nss_files/files-service.c: Likewise.
40444 * nss/nss_files/files-sgrp.c: Likewise.
40445 * nss/nss_files/files-spwd.c: Likewise.
40446 * nss/nss_db/db-alias.c: Removed.
40447 * nss/nss_db/dummy-db.h: Removed.
40448
9ee76b5a
UD
404492011-06-02 Ulrich Drepper <drepper@gmail.com>
40450
40451 * nss/makedb.c: Rewritten to not use database library.
40452 * nss/Makefile: Update to build new makedb program.
40453
c71ca1f8
AJ
404542011-06-14 Andreas Jaeger <aj@suse.de>
40455
40456 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40457 memset declaration.
40458
3154bfb8
UD
404592011-06-10 Andreas Schwab <schwab@redhat.com>
40460
40461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40462 tmpbuf.
40463
b350afab
RM
404642011-06-10 Roland McGrath <roland@hack.frob.com>
40465
decd4e50
RM
40466 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40467 * elf/Makefile ($(objpfx)ld.so): Likewise.
40468
5615eaf2
RM
40469 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40470 Don't list ld.so twice in dependencies.
40471
40472 * posix/bug-regex31.c: Include <stdlib.h>.
40473
40474 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40475
40476 * nis/nss_compat/compat-spwd.c
40477 (getspent_next_nss_netgr): Remove unused variable.
40478 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40479
40480 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40481 nonmembers" output to use the right array.
40482
40483 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40484
40485 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40486
40487 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40488 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40489 * catgets/gencat.c (read_input_file): Likewise.
40490 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40491
40492 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40493 variable definition inside #if's controlling its use.
40494
40495 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40496
40497 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40498
40499 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40500
40501 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40502 unreachable code.
40503
40504 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40505
b68e08db
RM
40506 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40507 * configure: Regenerated.
40508
b350afab
RM
40509 * Makerules: Revert last change.
40510 * elf/Makefile: Likewise.
40511
28368601
RM
405122011-06-09 Roland McGrath <roland@hack.frob.com>
40513
40514 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40515 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40516 (reloc-link): Likewise.
40517
11988f8f
UD
405182011-06-09 Ulrich Drepper <drepper@gmail.com>
40519
40520 * elf/Makefile: Add rules to build pldd.
40521 * elf/pldd.c: New file.
40522 * elf/pldd-xx.c: New file.
40523
e80fab37
UD
405242011-06-07 Ulrich Drepper <drepper@gmail.com>
40525
40526 * version.h: Update for 2.15 development version.
40527
9b849836
DM
405282011-06-07 David S. Miller <davem@davemloft.net>
40529
40530 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40531 ifuncs.
40532 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40533 elf_machine_lazy_rel): Likewise.
40534 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40535 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40536 elf_machine_lazy_rel): Likewise.
40537 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40538 dl_hwcap via passed in argument.
40539 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40540 Likewise.
40541
5a31b283
AK
405422011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40543
40544 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40545
069e52f8
RM
405462011-06-06 Roland McGrath <roland@hack.frob.com>
40547
40548 [BZ #12849]
40549 * manual/fdl-1.1.texi: New file, verbatim from:
40550 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40551 * manual/lgpl-2.1.texi: New file, verbatim from:
40552 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40553 * manual/Makefile (licenses): New variable, list those new file names.
40554 (texis): Use it.
40555 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40556
40557 * manual/fdl.texi: File removed.
40558 * manual/lesser.texi: File removed.
40559 * manual/libc.texinfo (Copying, Documentation License):
40560 Use new @include file names, put @appendix directive before @include.
40561
f16846a5
JJ
405622011-06-04 Jakub Jelinek <jakub@redhat.com>
40563
40564 [BZ #12841]
40565 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40566 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40567 (mq_open): Add __NTH.
40568
3d29045b
L
405692011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40570
40571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40572 Assume Intel Core i3/i5/i7 processor if AVX is available.
40573
8c297311
UD
405742011-05-31 Ulrich Drepper <drepper@gmail.com>
40575
40576 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40577 typo.
40578
c8fc0c91
UD
405792011-05-31 Andreas Schwab <schwab@redhat.com>
40580
40581 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40582 memory. Use alloca_account. Fix memory leak when retrying.
40583
5b27a807
UD
405842011-05-31 Ulrich Drepper <drepper@gmail.com>
40585
356f8bc6
UD
40586 * version.h (RELEASE): Bump for 2.14 release.
40587 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40588
5b27a807
UD
40589 * config.make.in (RANLIB): Remove entry.
40590
01f16ab0
UD
405912011-05-30 Ulrich Drepper <drepper@gmail.com>
40592
41fce8bd
UD
40593 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40594 (libc.pot): Work around missing support for .ksh extension in xgettext.
40595
4769ae77
UD
40596 [BZ #12684]
40597 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40598 if both request failed.
40599 (send_dg): In case of server errors clear resplen or *resplen2.
40600
6b1e7d19
UD
40601 [BZ #12454]
40602 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40603 when there are multiple maps.
40604 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40605 (_dl_fini): Remove test here.
40606
01f16ab0
UD
40607 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40608
b1ebd700
UD
406092011-05-29 Ulrich Drepper <drepper@gmail.com>
40610
7ae22829
UD
40611 [BZ #12350]
40612 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40613 bit from old_res_options.
40614 (gaih_inet): Likewise.
40615
553149f6 40616 [BZ #11099]
18a84741 40617 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40618 as signed.
40619
652ffab1
UD
40620 * resolv/res_init.c (res_setoptions): Make the code more compact.
40621
16985fd0
UD
40622 [BZ #11558]
40623 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40624 set RES_USEVC.
40625
0464f746
UD
40626 [BZ #11634]
40627 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40628
7d17596c
UD
40629 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40630
cf6bbbd7
UD
40631 [BZ #11781]
40632 * malloc/malloc.h: Declare malloc hook variables as volatile.
40633
13f1ab36
UD
40634 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40635 in last patch.
40636
b1ebd700
UD
40637 [BZ #11799]
40638 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40639 raise in the comment.
80e2212d
UD
40640 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40642 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40643
ce67228d
UD
406442011-05-28 Ulrich Drepper <drepper@gmail.com>
40645
8887a920
UD
40646 [BZ #12811]
40647 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40648 grow the buffers more if it already has to be sufficient.
40649 (build_wcs_upper_buffer): Likewise.
40650 * posix/regexec.c (check_matching): Likewise.
40651 (clean_state_log_if_needed): Likewise.
40652 (extend_buffers): Don't enlarge buffers beyond size of the input
40653 buffer.
40654 Patches mostly by Emil Wojak <emil@wojak.eu>.
40655 * posix/bug-regex32.c: New file.
40656 * posix/Makefile (tests): Add bug-regex32.
40657
4f031072
UD
40658 * locale/findlocale.c (_nl_find_locale): Return right away if
40659 _nl_explode_name failed.
40660 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40661
d0478f0c
UD
40662 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40663
de81b246
UD
40664 * debug/xtrace.sh: Unify messages.
40665 * malloc/memusage.sh: Likewise.
40666
c738465a
UD
40667 [BZ #12813]
40668 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40669 time symbol from vDSO. Substitute with vsyscall if not available.
40670 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40671 __vdso_time.
40672
f1f929d7
UD
40673 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40674 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40675 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40676 Add sendmmsg and internal_sendmmsg.
40677 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40678 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40679 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40680
ce67228d
UD
40681 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40682 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40683 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40684
e57420c6
UD
406852011-05-27 Ulrich Drepper <drepper@gmail.com>
40686
a8509ca5
UD
40687 [BZ #12813]
40688 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40689 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40690 available.
40691 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40692 __vdso_getcpu.
40693
e57420c6
UD
40694 [BZ #12814]
40695 * iconvdata/Makefile (tests): Add bug-iconv9.
40696 * iconvdata/bug-iconv9.c: New file.
40697
4d07db15
AS
406982011-05-27 Andreas Schwab <schwab@redhat.com>
40699
40700 [BZ #12814]
40701 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40702
ea486f69
JJ
407032011-05-25 Jakub Jelinek <jakub@redhat.com>
40704
40705 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40706 (struct user_regs_struct): Change intcs field back to cs.
40707
6f038433
UD
407082011-05-25 Ulrich Drepper <drepper@gmail.com>
40709
40710 * po/ja.po: Update from translation team.
40711
67f86a25
UD
407122011-05-23 Ulrich Drepper <drepper@gmail.com>
40713
40714 [BZ #12795]
40715 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40716 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40717
def7fbd6
AS
407182011-05-20 Andreas Schwab <schwab@redhat.com>
40719
40720 * stdlib/longlong.h: Update from GCC.
40721
f50ef8f1
AS
407222011-05-23 Andreas Schwab <schwab@redhat.com>
40723
40724 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40725 parameter name.
40726 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40727 Add parameter name.
40728 (__sysconf): Pass it down.
40729
de7ce8f1
UD
407302011-05-22 Ulrich Drepper <drepper@gmail.com>
40731
f2962a71
UD
40732 [BZ #12671]
40733 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40734 some situations.
40735 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40736 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40737 add in in __libc_use_alloca calls. Adjust callers.
40738 (glob): Use malloc in some situations.
40739
de7ce8f1
UD
40740 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40741 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40742 pltexit.
40743
aec84f53
UD
407442011-05-21 Ulrich Drepper <drepper@gmail.com>
40745
05bb4a68
UD
40746 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40747 and CLOCK_BOOTTIME_ALARM.
40748
7ea72f99
UD
40749 [BZ #12782]
40750 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40751 is returned.
40752
7e4afad5
UD
40753 * string/_strerror.c (__strerror_r): Print negative errors as signed
40754 numbers.
40755
8e211fec
UD
40756 [BZ #12777]
40757 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40758 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40759 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40760
f7d82dc9
UD
40761 * configure.in: Fix typo in redirection and correct removal of test
40762 files in two cases.
40763
cc9e536d
UD
40764 [BZ #12788]
40765 * locale/setlocale.c (new_composite_name): Fix test to check for
40766 identical name of all categories.
40767
aec84f53
UD
40768 [BZ #12792]
40769 * libio/filedoalloc.c (local_isatty): New function.
40770 (_IO_file_doallocate): Use local_isatty.
40771 * stdio-common/perror.c (perror): In case a new stream is used
40772 forward the stream error.
40773 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40774 error flag.
40775
78e64fdc
RT
407762011-05-20 Ulrich Drepper <drepper@gmail.com>
40777
34a9094f
UD
40778 [BZ #11869]
40779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40780 alloca.
40781 * include/alloca.h (extend_alloca_account): Define.
40782
78e64fdc
RT
40783 [BZ #11857]
40784 * posix/regex.h: Fix comments with documentation of user-accessible
40785 fields after compilation and describe correct free'ing of pattern
40786 after re_compile_pattern.
40787 Patch by Reuben Thomas <rrt@sc3d.org>.
40788
457bddfc
RA
407892011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40790
40791 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40792 and -mno-altivec to prevent the compiler from using Altivec and/or
40793 VSX instructions when the corresponding registers are not available.
40794
a4527b51
AS
407952011-05-19 Andreas Schwab <schwab@redhat.com>
40796
40797 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40798
ed690b2f
UD
407992011-05-19 Ulrich Drepper <drepper@gmail.com>
40800
40801 * libio/freopen.c (freopen): Use __dup2, not dup2.
40802 * libio/freopen64.c (freopen64): Likewise.
40803
8db73634
L
408042011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40805
40806 [BZ #12775]
40807 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40808 * math/Makefile (tests): Add test-powl.
40809 (CFLAGS-test-powl.c): Define.
40810 * math/test-powl.c: New file.
40811
0a197a9d
L
408122011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40813
40814 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40815
ee30c380
UD
408162011-05-17 Ulrich Drepper <drepper@gmail.com>
40817
40818 [BZ #11837]
40819 * iconvdata/gb18030.c: Update to GB18020-2005.
40820
6ce75379
UD
408212011-05-16 Ulrich Drepper <drepper@gmail.com>
40822
a4b89fd8
AR
40823 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40824 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40825 Patch by Aharon Robbins <arnold@skeeve.com>.
40826
ea389b12
UD
40827 [BZ #11892]
40828 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40829 on the stack.
40830
68a3f91f
UD
40831 [BZ #11895]
40832 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40833 through underflows.
40834
15cc7dd1
UD
40835 [BZ #12766]
40836 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40837 point to strings before performing equality test for error_one_per_line
40838 mode.
40839
f3799213
UD
40840 [BZ #11697]
40841 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40842
d79a9c94
UD
40843 [BZ #11820]
40844 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40845 (struct user_fpregs_struct): Avoid __uint*_t types.
40846
56e5eb46
UD
40847 [BZ #6420]
40848 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40849 symbol info. Use it instead of calling _dl_addr locally.
40850 (lock_and_info): New function.
40851 (tr_freehook): Call lock_and_info and pass symbol info as additional
40852 parameter to tr_where.
40853 (tr_mallochook): Likewise.
40854 (tr_reallochook): Likewise.
40855 (tr_memalignhook): Likewise.
40856
6ce75379
UD
40857 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40858 used and couldn't be at all thread-safe.
40859
f8a3b5bf
UD
408602011-05-15 Ulrich Drepper <drepper@gmail.com>
40861
94b7cc37
UD
40862 * libio/freopen.c (freopen): Don't close old file descriptor
40863 before the new one is opened. Instead dup the new file descriptor
40864 to the old one after the new stream is created.
40865 * libio/freopen64.c (freopen64): Likewise.
40866 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40867 * libio/fileops.c (_IO_new_file_close_it): Handle new
40868 _IO_FLAGS2_NOCLOSE flag.
40869 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40870 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40871 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40872 _IO_FLAGS2_NOCLOSE flag.
40873 * include/unistd.h: Add hidden_proto for dup3.
40874 Define __have_dup3.
40875 * io/dup3.c: Define hidden symbol.
40876 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40877
bd25564e
UD
40878 [BZ #7101]
40879 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40880 when an incomplete long option is used.
40881 * posix/tst-getopt_long1.c: New file.
40882 * posix/Makefile (tests): Add tst-getopt_long1.
40883
c84cfef4
UD
40884 [BZ #10138]
40885 * scripts/config.guess: Update from autoconf-2.68.
40886 * scripts/config.sub: Likewise.
40887
3b85df27
UD
40888 [BZ #10157]
40889 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40890 tests into ...
40891 (has_cpuclock): ...this. New function.
40892 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40893 macro here based on has_cpuclock code.
40894
15a856b1
UD
40895 [BZ #10149]
40896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40897 First byte (not low byte) is now always NUL.
40898 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40899
05f399e6
UD
40900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40901 Use non-cancelable interfaces.
40902
10a52685 40903 [BZ #9809]
94ecc67d
UD
40904 * locale/iso-639.def: Add entry for Sorani.
40905
f8a3b5bf
UD
40906 [BZ #11901]
40907 * include/stdlib.h: Move include protection to the right place.
40908 Define abort_msg_s. Declare __abort_msg with it.
40909 * stdlib/abort.c (__abort_msg): Adjust type.
40910 * assert/assert.c (__assert_fail_base): New function. Majority
40911 of code from __assert_fail. Allocate memory for __abort_msg with
40912 mmap.
40913 (__assert_fail): Now call __assert_fail_base.
40914 * assert/assert-perr.c: Remove bulk of implementation. Use
40915 __assert_fail_base.
40916 * include/assert.hL Declare __assert_fail_base.
40917 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40918 mmap.
40919 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40920
1af4e298
UD
409212011-05-14 Ulrich Drepper <drepper@gmail.com>
40922
f8a3b5bf 40923 [BZ #11952]
d26dfc60
MG
40924 [BZ #12453]
40925 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40926 until all modules are registered in the DTV.
40927 * elf/Makefile: Add rules to build and run tst-tls19.
40928 * elf/tst-tls19.c: New file.
40929 * elf/tst-tls19mod1.c: New file.
40930 * elf/tst-tls19mod2.c: New file.
40931 * elf/tst-tls19mod3.c: New file.
40932 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40933
2fc54d6f
UD
40934 [BZ #12083]
40935 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40936 correctly.
40937
98d76b46
UD
40938 [BZ #12601]
40939 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40940 two-byte sequence errors.
40941 * iconvdata/Makefile (tests): Add bug-iconv8.
40942 * iconvdata/bug-iconv8.c: New file.
40943
da3c19ef
UD
40944 [BZ #12626]
40945 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40946 buf2 definition.
40947
ca408c15
UD
40948 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40949
d6f67f7d
UD
40950 [BZ #12432]
40951 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40952 (dummy_getcfa): New function.
40953 (init): Get _Unwind_GetCFA address, use dummy if not found.
40954 (backtrace_helper): In recursion check, also check whether CFA changes.
40955 (__backtrace): Completely initialize arg.
40956
1af4e298 40957 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40958 storing incomplete byte sequence in state object. Avoid testing for
40959 guaranteed too small input if we know there is enough data available.
1af4e298 40960
da62f81b
AS
409612011-05-11 Andreas Schwab <schwab@redhat.com>
40962
40963 * Makeconfig (+link-pie): Indent.
40964 * Rules (binaries-pie): Define if $(have-fpie) and
40965 $(build-shared).
40966 (binaries-shared): Also filter out $(binaries-pie).
40967 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40968 * nscd/Makefile (others-pie): Add nscd.
40969 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40970 ($(objpfx)nscd): Remove command override.
40971 * login/Makefile (others-pie): Add pt_chown.
40972 ($(objpfx)pt_chown): Remove command override.
40973 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40974 remove command overrides.
40975
fcabc0f8
UD
409762011-05-13 Ulrich Drepper <drepper@gmail.com>
40977
20030ae6
UD
40978 * libio/tst_putwc.c: Fix error messages.
40979
fcabc0f8
UD
40980 [BZ #12724]
40981 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40982 currently writing and seek to current position when not.
40983 * libio/Makefile (tests): Add bug-fclose1.
40984 * libio/bug-fclose1.c: New file.
40985
320a5dc0
PB
409862011-05-12 Ulrich Drepper <drepper@gmail.com>
40987
40988 [BZ #12511]
40989 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40990 don't set DF_1_NODELETE here.
40991 (do_lookup_x): When entering new entry test for copy relocation
40992 and if necessary set DF_1_NODELETE flag.
40993 * elf/tst-unique4.cc: New file.
40994 * elf/tst-unique4.h: New file.
40995 * elf/tst-unique4lib.cc: New file.
40996 * elf/Makefile: Add rules to build and run tst-unique4.
40997 Patch by Piotr Bury <pbury@goahead.com>.
40998
22836f52
UD
409992011-05-11 Ulrich Drepper <drepper@gmail.com>
41000
f574184a
UD
41001 [BZ #12052]
41002 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41003
e1fb097f
UD
41004 [BZ #12625]
41005 * misc/mntent_r.c (addmntent): Flush the stream after the output
41006
22836f52
UD
41007 [BZ #12393]
41008 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41009 (is_trusted_path_normalize): Skip initial colon. Append slash
41010 to empty buffer. Duplicate is_trusted_path code but allow
41011 constructed patch to be prefix.
41012 (is_dst): Allow $ORIGIN followed by /.
41013 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41014 Correct testing of result of is_trusted_path_normalize
41015 (decompose_rpath): Fix warning.
41016
7b3b0b2a
UD
410172011-05-10 Ulrich Drepper <drepper@gmail.com>
41018
41019 [BZ #11257]
41020 * grp/initgroups.c (internal_getgrouplist): When we found the service
41021 list through the initgroups entry in nsswitch.conf do not always
41022 continue on a successful lookup. Don't always use the
eac80ce2 41023 __nss_group_database value if it is set.
7b3b0b2a
UD
41024 * nss/nsswitch.conf (initgroups): Change action for successful db
41025 lookup to continue for compatibility.
41026
2a81eaa5
UD
410272011-05-09 Ulrich Drepper <drepper@gmail.com>
41028
be97a69e
UD
41029 [BZ #11532]
41030 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41031 and CP774 modules.
41032 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41033 and CP774 modules.
41034 * iconvdata/tst-tables.sh: Likewise.
41035 * iconvdata/cp770.c: New file.
41036 * iconvdata/cp771.c: New file.
41037 * iconvdata/cp772.c: New file.
41038 * iconvdata/cp773.c: New file.
41039 * iconvdata/cp774.c: New file.
41040 * iconvdata/testdata/CP770: New file.
41041 * iconvdata/testdata/CP770..UTF8: New file.
41042 * iconvdata/testdata/CP771: New file.
41043 * iconvdata/testdata/CP771..UTF8: New file.
41044 * iconvdata/testdata/CP772: New file.
41045 * iconvdata/testdata/CP772..UTF8: New file.
41046 * iconvdata/testdata/CP773: New file.
41047 * iconvdata/testdata/CP773..UTF8: New file.
41048 * iconvdata/testdata/CP774: New file.
41049 * iconvdata/testdata/CP774..UTF8: New file.
41050
41051 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41052 END CHARMAP line.
41053 * iconvdata/gen-8bit-gap.sh: Likewise.
41054 * iconvdata/gen-8bit.sh: Likewise.
41055
c1e9e399
UD
41056 * locale/iso-639.def: Add ary entry.
41057
24c55fb3 41058 [BZ #11258]
96b4b1b0
UD
41059 * locale/C-translit.h.in: Add U20A1 transliteration.
41060
bdc2f971
KB
41061 [BZ #12178]
41062 * locale/iso-639.def: Add wae entry.
41063 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41064
2952b117
UD
41065 [BZ #12545]
41066 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41067 for n.
41068
2a81eaa5
UD
41069 [BZ #12711]
41070 * locale/C-translit.h.in: Add entry for U20B9.
41071 Patch by pravin.d.s@gmail.com.
41072
28377d1b
UD
410732011-05-08 Ulrich Drepper <drepper@gmail.com>
41074
7fb90fb8
UD
41075 [BZ #12713]
41076 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41077 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41078 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41079 in rtld. Use *stat64.
7fb90fb8 41080 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41081 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41082 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41083 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41084 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41085 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41086 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41087 __fstatat64 macros.
7fb90fb8
UD
41088 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41089 * dirent/rewinddir.c: Add libc_hidden_def.
41090 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41091 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41092
28377d1b
UD
41093 * include/dirent.h (__alloc_dir): Add flags parameter.
41094 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41095 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41096 __alloc_dir.
41097 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41098 from fdopendir if O_CLOEXEC is already set.
41099
66bdbaa4
AM
411002011-03-15 Alan Modra <amodra@gmail.com>
41101
41102 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41103 l_tls_firstbyte_offset non-zero. Save padding offset in
41104 l_tls_firstbyte_offset for later use.
41105 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41106 freeing static tls block.
41107
95721191
JN
411082011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41109
41110 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41111 where #ifdef was intended. The intent is to prevent ARG_MAX from
41112 being defined by the kernel headers.
41113
f87dfb1f
UD
411142011-05-07 Ulrich Drepper <drepper@gmail.com>
41115
41116 [BZ #12734]
41117 * resolv/resolv.h: Define RES_NOTLDQUERY.
41118 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41119 no-tld-query and set RES_NOTLDQUERY.
41120 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41121 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41122 modern BIND to search name as TLD unless forbidden.
41123
47c3cd7a
UD
411242011-05-07 Petr Baudis <pasky@suse.cz>
41125 Ulrich Drepper <drepper@gmail.com>
41126
41127 [BZ #12393]
41128 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41129 (is_trusted_path): ...to here.
c1e9ea35 41130 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41131 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41132 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41133
8a35c912
PP
411342011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41135
41136 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41137 __BEGIN/__END_DECLS.
41138
acd41f47
UD
411392011-05-06 Ulrich Drepper <drepper@gmail.com>
41140
41141 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41142 NSS_STATUS_NOTFOUND if no record was found.
41143
597df647
AS
411442011-05-05 Andreas Schwab <schwab@redhat.com>
41145
41146 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41147 (headers-not-in-tirpc): Remove rpc/netdb.h
41148 * resolv/netdb.h: Revert last change.
41149
b9af1301
PP
411502011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41151
41152 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41153 circular dependency between libgcc.a and libc.a.
41154
4e34d5f5
AS
411552011-05-05 Andreas Schwab <schwab@redhat.com>
41156
41157 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41158 * nis/Makefile: Don't install rpcsvc/*.
41159 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41160 instead of <rpc/types.h>.
41161 (MAXHOSTNAMELEN): Define.
41162
00ee369c
AS
411632011-05-03 Andreas Schwab <schwab@redhat.com>
41164
41165 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41166
0b592a30
MB
411672011-04-28 Maciej Babinski <mbabinski@google.com>
41168
41169 [BZ #12714]
41170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41171 gethostbyname4_r when IPv6 results are possible.
41172
6e04cbbe
UD
411732011-05-02 Ulrich Drepper <drepper@gmail.com>
41174
41175 [BZ #12723]
41176 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41177 _PC_PIPE_BUF handling.
41178
e4ecafe0
BH
411792011-04-30 Bruno Haible <bruno@clisp.org>
41180
41181 [BZ #12717]
41182 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41183 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41184 to 'int'.
41185 * inet/getnameinfo.c (getnameinfo): Likewise.
41186
125ee683
UD
411872011-04-29 Ulrich Drepper <drepper@gmail.com>
41188
41189 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41190 to groups setting in database lookup.
41191 * nss/nsswitch.conf: Add initgroups entry.
41192
b722481a
EB
411932011-04-22 Ulrich Drepper <drepper@gmail.com>
41194
41195 [BZ #12685]
41196 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41197 mode string.
41198 Patch by Eric Blake <eblake@redhat.com>.
41199
4df46dbd
L
412002011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41201
41202 * sunrpc/Makefile (need-export-routines): Add svc_run.
41203 (routines): Remove svc_run.
41204 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41205 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41206 * sunrpc/svc_run.c (svc_run): Likewise.
41207 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41208
e84142d2
UD
412092011-04-21 Ulrich Drepper <drepper@gmail.com>
41210
41211 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41212 problem in reallocation in last patch.
41213
877175d8
UD
412142011-04-20 Ulrich Drepper <drepper@gmail.com>
41215
41216 * sunrpc/Makefile: Move inclusion of Rules.
41217
ab8eed78
UD
412182011-04-19 Ulrich Drepper <drepper@gmail.com>
41219
41220 * nss/nss_files/files-initgroups.c: New file.
41221 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41222 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41223 _nss_files_initgroups_dyn.
41224
e3d8f584
RS
412252011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41226
41227 * elf/elf.h (R_ARM_IRELATIVE): Define.
41228
af190f45
UD
412292011-04-19 Ulrich Drepper <drepper@gmail.com>
41230
41231 * po/ru.po: Update from translation team.
41232
53cf59ef
UD
412332011-04-17 Ulrich Drepper <drepper@gmail.com>
41234
41235 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41236 dependencies.
41237
4c559bcd
MF
412382011-02-06 Mike Frysinger <vapier@gentoo.org>
41239
41240 [BZ #12653]
41241 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41242 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41243 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41244 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41245 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41246
4420675c
AS
412472011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41248
41249 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41250 differing bytes.
41251 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41252 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41253 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41254
75ea32ab
UD
412552011-04-17 Ulrich Drepper <drepper@gmail.com>
41256
41257 [BZ #12420]
41258 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41259 storing it.
41260 * stdlib/bug-getcontext.c: New file.
41261 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41262
27390476
AK
412632011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41264
41265 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41266 instructions into .machine "z9-109".
41267 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41268 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41269
10442705
AK
412702011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41271
41272 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41273 between environment variables and auxiliary vector.
41274
7b57bfe5
UD
412752011-04-16 Ulrich Drepper <drepper@gmail.com>
41276
41277 * Makefile: Add rules to build linkobj/libc.so.
41278 * include/libc-symbols.h: Define libc_hidden_nolink.
41279 * include/rpc/auth.h: Mark functions which are to be hidden.
41280 * include/rpc/auth_des.h: Likewise.
41281 * include/rpc/auth_unix.h: Likewise.
41282 * include/rpc/clnt.h: Likewise.
41283 * include/rpc/des_crypt.h: Likewise.
41284 * include/rpc/key_prot.h: Likewise.
41285 * include/rpc/pmap_clnt.h: Likewise.
41286 * include/rpc/pmap_prot.h: Likewise.
41287 * include/rpc/pmap_rmt.h: Likewise.
41288 * include/rpc/rpc_msg.h: Likewise.
41289 * include/rpc/svc.h: Likewise.
41290 * include/rpc/svc_auth.h: Likewise.
41291 * include/rpc/xdr.h: Likewise.
41292 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41293 * nss/Makefile: Likewise.
41294 * sunrpc/Makefile: Don't install headers. Build library with normal
41295 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41296 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41297 for the compat linking library. Remove use of INTDEF/INTUSE.
41298 * sunrpc/auth_none.c: Likewise.
41299 * sunrpc/auth_unix.c: Likewise.
41300 * sunrpc/authdes_prot.c: Likewise.
41301 * sunrpc/authuxprot.c: Likewise.
41302 * sunrpc/clnt_gen.c: Likewise.
41303 * sunrpc/clnt_perr.c: Likewise.
41304 * sunrpc/clnt_raw.c: Likewise.
41305 * sunrpc/clnt_simp.c: Likewise.
41306 * sunrpc/clnt_tcp.c: Likewise.
41307 * sunrpc/clnt_udp.c: Likewise.
41308 * sunrpc/clnt_unix.c: Likewise.
41309 * sunrpc/des_crypt.c: Likewise.
41310 * sunrpc/des_soft.c: Likewise.
41311 * sunrpc/get_myaddr.c: Likewise.
41312 * sunrpc/key_call.c: Likewise.
41313 * sunrpc/key_prot.c: Likewise.
41314 * sunrpc/netname.c: Likewise.
41315 * sunrpc/pm_getmaps.c: Likewise.
41316 * sunrpc/pm_getport.c: Likewise.
41317 * sunrpc/pmap_clnt.c: Likewise.
41318 * sunrpc/pmap_prot.c: Likewise.
41319 * sunrpc/pmap_prot2.c: Likewise.
41320 * sunrpc/pmap_rmt.c: Likewise.
41321 * sunrpc/publickey.c: Likewise.
41322 * sunrpc/rpc_cmsg.c: Likewise.
41323 * sunrpc/rpc_common.c: Likewise.
41324 * sunrpc/rpc_dtable.c: Likewise.
41325 * sunrpc/rpc_prot.c: Likewise.
41326 * sunrpc/rpc_thread.c: Likewise.
41327 * sunrpc/rtime.c: Likewise.
41328 * sunrpc/svc.c: Likewise.
41329 * sunrpc/svc_auth.c: Likewise.
41330 * sunrpc/svc_authux.c: Likewise.
41331 * sunrpc/svc_raw.c: Likewise.
41332 * sunrpc/svc_run.c: Likewise.
41333 * sunrpc/svc_simple.c: Likewise.
41334 * sunrpc/svc_tcp.c: Likewise.
41335 * sunrpc/svc_udp.c: Likewise.
41336 * sunrpc/svc_unix.c: Likewise.
41337 * sunrpc/svcauth_des.c: Likewise.
41338 * sunrpc/xcrypt.c: Likewise.
41339 * sunrpc/xdr.c: Likewise.
41340 * sunrpc/xdr_array.c: Likewise.
41341 * sunrpc/xdr_float.c: Likewise.
41342 * sunrpc/xdr_intXX_t.c: Likewise.
41343 * sunrpc/xdr_mem.c: Likewise.
41344 * sunrpc/xdr_rec.c: Likewise.
41345 * sunrpc/xdr_ref.c: Likewise.
41346 * sunrpc/xdr_sizeof.c: Likewise.
41347 * sunrpc/xdr_stdio.c: Likewise.
41348
e6c61494
UD
413492011-04-10 Ulrich Drepper <drepper@gmail.com>
41350
41351 [BZ #12650]
41352 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41353 * sysdeps/ia64/dl-tls.h: Likewise.
41354 * sysdeps/powerpc/dl-tls.h: Likewise.
41355 * sysdeps/s390/dl-tls.h: Likewise.
41356 * sysdeps/sh/dl-tls.h: Likewise.
41357 * sysdeps/sparc/dl-tls.h: Likewise.
41358 * sysdeps/x86_64/dl-tls.h: Likewise.
41359 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41360
34fe483e
AS
413612011-03-14 Andreas Schwab <schwab@redhat.com>
41362
41363 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41364 rpath element also skip the following colon.
41365 (expand_dynamic_string_token): Add is_path parameter and pass
41366 down to DL_DST_REQUIRED and _dl_dst_substitute.
41367 (decompose_rpath): Call expand_dynamic_string_token with
41368 non-zero is_path. Ignore empty rpaths.
41369 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41370 with zero is_path.
41371
f12a32e6
AS
413722011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41373
41374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41375 Make cancelable.
41376
38a7d692
UD
413772011-04-09 Ulrich Drepper <drepper@gmail.com>
41378
41379 [BZ #12655]
41380 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41381 Patch by Filipe David Manana <fdmanana@apache.org>.
41382
e451d22b
AS
413832011-04-07 Andreas Schwab <schwab@redhat.com>
41384
41385 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41386 Maintain aligned stack.
41387 (CHECK_RSP): Remove unused macro.
41388
dedc7c7b
UD
413892011-04-03 Ulrich Drepper <drepper@gmail.com>
41390
41391 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41392 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41393
94521213
UD
413942011-04-02 Ulrich Drepper <drepper@gmail.com>
41395
41396 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41397
8cb700c0 41398 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41399
0354e355
L
414002011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41401
41402 [BZ #12518]
41403 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41404 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41405 * sysdeps/x86_64/memmove.c: New file.
41406 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41407 (memcpy): Renamed to ...
41408 (__new_memcpy): This.
41409 (memcpy): Provide GLIBC_2_14 memcpy.
41410 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41411 (memcpy): Provide GLIBC_2_2_5 memcpy.
41412
8593482f
UD
414132011-04-01 Ulrich Drepper <drepper@gmail.com>
41414
41415 [BZ #12631]
41416 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41417
81a5726b
AS
414182011-03-30 Andreas Schwab <schwab@redhat.com>
41419
41420 * misc/syncfs.c: New file.
41421 * misc/Makefile (routines): Add syncfs.
41422 * posix/unistd.h: Declare syncfs.
41423 * sysdeps/unix/syscalls.list: Add syncfs.
41424
00e5419f
AS
414252011-04-01 Andreas Schwab <schwab@redhat.com>
41426
41427 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41428 open_by_handle_at.
41429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41430 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41431 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41432 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41433 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41434 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41435 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41436
748876bf
UD
414372011-04-01 Ulrich Drepper <drepper@gmail.com>
41438
658e451d
UD
41439 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41440 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41441 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41442 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41443 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41445 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41446
748876bf
UD
41447 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41448 sync_file_range.c with -fexceptions.
41449 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41450 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41451 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41452 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41453 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41454 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41455 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41456 sync_file_range as cancellation point
41457 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41458 now a wrapper around __call_sync_file_range with cancellation handling.
41459 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41460 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41461 function name to __call_sync_file_range.
41462 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41463 Add call_sync_file_range.
748876bf 41464
6e63d5e1
AS
414652011-04-01 Andreas Schwab <schwab@redhat.com>
41466
41467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41468 bits/timex.h.
6e63d5e1 41469
46998f74
UD
414702011-04-01 Ulrich Drepper <drepper@gmail.com>
41471
4c1423ed
UD
41472 * iconv/iconv.h: Fix typo in comment.
41473 * io/fcntl.h: Likewise.
41474 * libio/stdio.h: Likewise.
41475 * posix/spawn.h: Likewise.
41476 * posix/unistd.h: Likewise.
41477 * stdlib/stdlib.h: Likewise.
41478 * time/time.h: Likewise.
41479 * wcsmbs/wchar.h: Likewise.
41480
158648c0
UD
41481 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41482 open_by_handle): Add.
41483 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41484 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41485 Augment a few comments.
41486 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41487 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41488 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41489 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41490 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41491 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41492 open_by_handle.
41493
46998f74
UD
41494 * io/fcntl.h (AT_EMPTY_PATH): Define.
41495
83fe108b
UD
414962011-03-30 Ulrich Drepper <drepper@gmail.com>
41497
41498 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41499 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41500 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41501 to...
41502 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41503 * Versions.def: Add GLIBC_2.14.
41504 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41505 Export.
83fe108b 41506
bb242059
UD
415072011-03-22 Ulrich Drepper <drepper@gmail.com>
41508
41509 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41510 round counter.
41511 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41512
c97a1282
L
415132011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41514
41515 [BZ #12597]
41516 * string/test-strncmp.c (do_page_test): New function.
41517 (check2): Likewise.
41518 (test_main): Call check2.
41519 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41520
2a115601
UD
415212011-03-20 Ulrich Drepper <drepper@gmail.com>
41522
41523 [BZ #12587]
41524 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41525 Handle cache information in CPU leaf 4.
41526 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41527
8126d904
UD
415282011-03-18 Ulrich Drepper <drepper@gmail.com>
41529
042c49c6 41530 [BZ #12583]
8126d904
UD
41531 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41532 character representation.
41533 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41534
ccfe366e
RA
415352011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41536
41537 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41538 END(__isnan) to END(__isnanf) to match function entry point/label
41539 EALIGN(__isnanf,...).
41540
c6e13027
JJ
415412011-03-10 Jakub Jelinek <jakub@redhat.com>
41542
41543 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41544
33f85a3f
UD
415452011-03-10 Ulrich Drepper <drepper@gmail.com>
41546
028478fa
UD
41547 [BZ #12510]
41548 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41549 copy from the symbol referenced in the relocation to initialize the
41550 used variable.
41551 Patch by Piotr Bury <pbury@goahead.com>.
41552 * elf/Makefile: Add rules to build and tst-unique3.
41553 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41554 * elf/tst-unique3.cc: New file.
41555 * elf/tst-unique3.h: New file.
41556 * elf/tst-unique3lib.cc: New file.
41557 * elf/tst-unique3lib2.cc: New file.
41558
33f85a3f
UD
41559 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41560
03592fc7
MF
415612011-03-10 Mike Frysinger <vapier@gentoo.org>
41562
41563 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41564 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41565 to _start.
03592fc7 41566
6a5ee102
UD
415672011-03-06 Ulrich Drepper <drepper@gmail.com>
41568
41569 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41570 to-be-loaded object along a path to loader is ld.so.
41571
7e4ba49c
HJ
415722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41573 Ulrich Drepper <drepper@gmail.com>
41574
41575 * sysdeps/x86_64/memset.S: After aligning destination, code
41576 branches to different locations depending on the value of
41577 misalignment, when multiarch is enabled. Fix this.
41578
415792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41580
41581 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41582 Set _x86_64_preferred_memory_instruction for AMD processsors.
41583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41584 Set bit_Prefer_SSE_for_memop for AMD processors.
41585
13a804de
UD
415862011-03-04 Ulrich Drepper <drepper@gmail.com>
41587
41588 * libio/fmemopen.c (fmemopen): Optimize a bit.
41589
9d25c392
AS
415902011-03-03 Andreas Schwab <schwab@redhat.com>
41591
41592 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41593
a5543c6a
RM
415942011-03-03 Roland McGrath <roland@redhat.com>
41595
41596 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41597
012d35f7
DM
415982011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41599
7e4ba49c 41600 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41601 __bzero_ultra1 instead of __memset_ultra1.
41602
4bff6e01
AS
416032011-02-23 Andreas Schwab <schwab@redhat.com>
41604 Ulrich Drepper <drepper@gmail.com>
41605
41606 [BZ #12509]
41607 * include/link.h (struct link_map): Add l_orig_initfini.
41608 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41609 returning unsuccessfully.
41610 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41611 close of a file loaded at startup, restore the original l_initfini
41612 list.
41613 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41614 list, store the pointer.
41615 * elf/Makefile ($(objpfx)noload-mem): New rule.
41616 (noload-ENV): Define.
41617 (tests): Add $(objpfx)noload-mem.
41618 * elf/noload.c: Include <memcheck.h>.
41619 (main): Call mtrace. Close all opened handles.
41620
f2092faf
AS
416212011-02-17 Andreas Schwab <schwab@redhat.com>
41622
41623 [BZ #12454]
41624 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41625 dependencies are missing.
41626
6c8a2e88
ST
416272011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41628
f2092faf 41629 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41630 Hurd needs munmap.
41631 * sysdeps/mach/hurd/ifreq.h: New file.
41632
84a42118
PB
416332011-01-27 Petr Baudis <pasky@suse.cz>
41634 Ulrich Drepper <drepper@gmail.com>
41635
071f805e 41636 [BZ 12445]#
84a42118
PB
41637 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41638 to extend_alloca().
41639 * stdio-common/bug23.c: New file.
41640 * stdio-common/Makefile (tests): Add bug23.
41641
e23fe25b
AS
416422010-09-28 Andreas Schwab <schwab@redhat.com>
41643 Ulrich Drepper <drepper@gmail.com>
41644
41645 [BZ #12489]
41646 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41647 before performing relro protection. At old place add assertion
41648 to make sure nothing changed.
41649
d3f02e10
NS
416502011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41651 Glauber de Oliveira Costa <glommer@gmail.com>
41652
41653 * elf/elf.h: Add new ARM TLS relocs.
41654
d55fd7a5
RA
416552011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41656
41657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41658 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41659 cast from r3.
41660 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41661 'tests' variable.
41662 * sysdeps/wordsize-64/tst-writev.c: New file.
41663
2206397e
RA
416642011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41665
41666 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41667 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41668 insns in _dl_start to prevent a TOC reference before relocs are
41669 resolved.
41670
e9433893
UD
416712011-02-15 Ulrich Drepper <drepper@gmail.com>
41672
41673 [BZ #12469]
41674 * Makeconfig: Remove RANLIB definition.
41675 * Makerules: Don't use RANLIB.
41676 * aclocal.m4: Remove ranlib test.
41677 * configure.in: No need to check for ranlib.
41678 * elf/rtld-Rules: Don't use RANLIB.
41679
f75286c6
ST
416802011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41681
8e31c82d
ST
41682 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41683 protection macro.
41684 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41685 inclusion protection macro.
41686
f75286c6
ST
41687 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41688 SIGRTMIN and SIGRTMAX and print information in that case only when
41689 SIGRTMIN is defined.
41690
c1d0e639
JJ
416912011-02-11 Jakub Jelinek <jakub@redhat.com>
41692
41693 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41694 arginfo fn returning -1.
41695
41696 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41697 and thousands string is zero terminated.
41698
edf9294e
AS
416992011-02-03 Andreas Schwab <schwab@redhat.com>
41700
41701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41702 sysdeps/unix/sysv/linux/bits/socket.h.
41703
2b7e92df
ST
417042011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41705
edf9294e
AS
41706 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41707 (__CPU_COUNT): Remove old macros.
41708 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41709 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41710 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41711 (__sched_cpualloc, __sched_cpufree): Add declarations.
41712
a4c7ea7b
UD
417132011-02-05 Ulrich Drepper <drepper@gmail.com>
41714
41715 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41716 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41717 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41718 (readdhstai): Return value of addhstaiX call.
41719 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41720 (addgrbyX): Return value returned by cache_addgr.
41721 (readdgrbyname): Return value returned by addgrbyX.
41722 (readdgrbygid): Likewise.
41723 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41724 (addpwbyX): Return value returned by cache_addpw.
41725 (readdpwbyname): Return value returned by addhstbyX.
41726 (readdpwbyuid): Likewise.
41727 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41728 (addservbyX): Return value returned by cache_addserv.
41729 (readdservbyname): Return value returned by addservbyX:
41730 (readdservbyport): Likewise.
41731 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41732 (addhstbyX): Return value returned by cache_addhst.
41733 (readdhstbyname): Return value returned by addhstbyX.
41734 (readdhstbyaddr): Likewise.
41735 (readdhstbynamev6): Likewise.
41736 (readdhstbyaddrv6): Likewise.
41737 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41738 (readdinitgroups): Return value returned by addinitgroupsX.
41739 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41740 (prune_cache): Keep track of timeout value of re-added entries.
41741 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41742 * nscd/nscd.h: Adjust prototypes of readd* functions.
41743
a0bf67cc
RM
417442011-02-04 Roland McGrath <roland@redhat.com>
41745
41746 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41747 (nis_stats): Likewise.
41748 * nis/nis_modify.c (nis_modify): Likewise.
41749 * nis/nis_remove.c (nis_remove): Likewise.
41750 * nis/nis_add.c (nis_add): Likewise.
41751
41752 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41753
41754 * posix/fnmatch_loop.c: Add some consts.
41755
41756 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41757
435b95eb
L
417582011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41759
41760 [BZ #12460]
41761 * config.make.in (config-cflags-novzeroupper): Define.
41762 * configure.in: Substitute libc_cv_cc_novzeroupper.
41763 * elf/Makefile (AVX-CFLAGS): Define.
41764 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41765 (CFLAGS-tst-auditmod4a.c): Likewise.
41766 (CFLAGS-tst-auditmod4b.c): Likewise.
41767 (CFLAGS-tst-auditmod6b.c): Likewise.
41768 (CFLAGS-tst-auditmod6c.c): Likewise.
41769 (CFLAGS-tst-auditmod7b.c): Likewise.
41770 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41771
8517b15e
UD
417722011-02-02 Ulrich Drepper <drepper@gmail.com>
41773
41774 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41775 function to the callback.
41776 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41777
10a656fe
AS
417782011-02-02 Andreas Schwab <schwab@redhat.com>
41779
41780 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41781 of errno.
41782
968dad0a
UD
417832011-01-19 Ulrich Drepper <drepper@gmail.com>
41784
9f94d2ea 41785 [BZ #11724]
968dad0a
UD
41786 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41787 of constructors.
41788 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41789 of destructors.
41790 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41791
41792 [BZ #11724]
41793 * elf/Makefile: Add rules to build and run new test.
41794 * elf/tst-initorder.c: New file.
41795 * elf/tst-initorder.exp: New file.
41796 * elf/tst-initordera1.c: New file.
41797 * elf/tst-initordera2.c: New file.
41798 * elf/tst-initordera3.c: New file.
41799 * elf/tst-initordera4.c: New file.
41800 * elf/tst-initorderb1.c: New file.
41801 * elf/tst-initorderb2.c: New file.
41802 * elf/tst-order-a1.c: New file.
41803 * elf/tst-order-a2.c: New file.
41804 * elf/tst-order-a3.c: New file.
41805 * elf/tst-order-a4.c: New file.
41806 * elf/tst-order-b1.c: New file.
41807 * elf/tst-order-b2.c: New file.
41808 * elf/tst-order-main.c: New file.
41809 New test case by George Gensure <werkt0@gmail.com>.
41810
86e92359
UD
418112010-10-01 Andreas Schwab <schwab@redhat.com>
41812
41813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41814 decoding ACE if AI_CANONIDN.
41815
5d5732b0
UD
418162011-01-18 Ulrich Drepper <drepper@gmail.com>
41817
41818 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41819
a77e8cbc
UD
418202011-01-17 Ulrich Drepper <drepper@gmail.com>
41821
6392473f
UD
41822 * version.h (RELEASE): Bump for 2.13 release.
41823 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41824
620a0529
UD
41825 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41826
18ba70a5
UD
41827 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41828 MADV_NOHUGEPAGE.
32465c3e
UD
41829 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41830 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41831 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41832 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41833 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41834 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41835
c0dafcf1
UD
41836 * posix/getconf.c: Update copyright year.
41837 * catgets/gencat.c: Likewise.
41838 * csu/version.c: Likewise.
41839 * debug/catchsegv.sh: Likewise.
41840 * debug/xtrace.sh: Likewise.
41841 * elf/ldconfig.c: Likewise.
41842 * elf/ldd.bash.in: Likewise.
41843 * elf/sprof.c (print_version): Likewise.
41844 * iconv/iconv_prog.c: Likewise.
41845 * iconv/iconvconfig.c: Likewise.
41846 * locale/programs/locale.c: Likewise.
41847 * locale/programs/localedef.c: Likewise.
41848 * malloc/memusage.sh: Likewise.
41849 * malloc/mtrace.pl: Likewise.
41850 * nscd/nscd.c (print_version): Likewise.
41851 * nss/getent.c: Likewise.
41852
a77e8cbc
UD
41853 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41854 PF_CAIF, and PF_ALG.
41855 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41856
77e8bddf
AS
418572011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41858
1f20b93a
AS
41859 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41860 (modules-names): Use them.
41861 (ifunc-test-modules, ifunc-pie-tests): Define.
41862 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41863 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41864 (test-extras): Likewise.
41865 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41866 $(compile-command.c).
41867 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41868 (all-built-dso): Define.
41869 (check-textrel.out, check-execstack.out): Depend on it.
41870
77e8bddf
AS
41871 * configure.in: Don't override --enable-multi-arch.
41872
bc425b33
UD
418732011-01-15 Ulrich Drepper <drepper@gmail.com>
41874
41875 [BZ #6812]
41876 * nscd/hstcache.c (tryagain): Define.
41877 (cache_addhst): Return tryagain not notfound for temporary errors.
41878 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41879 failed.
41880
794c3ad3
UD
418812011-01-14 Ulrich Drepper <drepper@gmail.com>
41882
70181fdd
UD
41883 [BZ #10563]
41884 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41885 to make the syscall.
41886 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41887
794c3ad3
UD
41888 [BZ #12378]
41889 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41890 and fall back to matching as normal character if the string ends before
41891 the matching ']' is found. This is what POSIX requires.
41892 * posix/testfnm.c: Adjust test result.
41893 * posix/globtest.sh: Adjust test result. Add new test.
41894 * posix/tst-fnmatch.input: Likewise.
41895 * posix/tst-fnmatch2.c: Add new test.
41896
68dc9497
AS
418972010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41898
41899 * elf/Makefile (check-execstack): Revert last change. Depend on
41900 check-execstack.h.
41901 (check-execstack.h): New target.
41902 (generated): Add check-execstack.h.
41903 * elf/check-execstack.c: Include "check-execstack.h".
41904 (main): Revert last change.
41905 (handle_file): Return zero if GNU_STACK is absent and
41906 DEFAULT_STACK_PERMS doesn't include PF_X.
41907
451f001b
UD
419082011-01-13 Ulrich Drepper <drepper@gmail.com>
41909
cfa28e56
UD
41910 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41911 in child fails because the descriptor is already closed.
8cf8ce17
UD
41912 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41913 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41914 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41915
1086d70d
UD
41916 [BZ #12397]
41917 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41918 syscall.
41919
451f001b
UD
41920 [BZ #10484]
41921 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41922 temporary buffer used to handle multi lookups locally.
a85b5cb4 41923 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41924
08769175
UD
419252011-01-12 Ulrich Drepper <drepper@gmail.com>
41926
41927 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41928 loader is ld.so.
41929
5e49c52e
UD
419302011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41931
41932 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41933 alignment for SSE2.
41934
60522a5f
UD
419352011-01-12 Ulrich Drepper <drepper@gmail.com>
41936
41937 [BZ #12394]
41938 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41939 characters. When rounding increased number of integer digits recompute
41940 number of groups.
41941 * stdio-common/tst-grouping.c: New file.
41942 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41943
f257bbd7
UD
419442011-01-09 Ulrich Drepper <drepper@gmail.com>
41945
41946 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41947 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41948
41949 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41950 void.
41951 * bits/select.h: Likewise.
41952
fa9c15cb
UD
419532011-01-08 Ulrich Drepper <drepper@gmail.com>
41954
41955 * po/ja.po: Update from translation team.
41956
16c2895f
DM
419572011-01-04 David S. Miller <davem@sunset.davemloft.net>
41958
41959 [BZ #11155]
41960 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41961 implementation just like for lxstat, fxstatat, et al.
41962
2543fef2
JM
419632010-12-27 Jim Meyering <meyering@redhat.com>
41964
41965 [BZ #12348]
41966 * posix/regexec.c (build_trtable): Return failure indication upon
41967 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41968
98727dbe
UD
419692010-12-25 Ulrich Drepper <drepper@gmail.com>
41970
5bd6dc5c
UD
41971 [BZ #12201]
41972 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41973 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41974 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41975 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41976
97983464
UD
41977 [BZ #12207]
41978 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41979
98727dbe
UD
41980 [BZ #12204]
41981 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41982 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41983
4a531bb0
L
419842010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41985
41986 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41987 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41988 script has SORT_BY_INIT_PRIORITY.
41989 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41990 NO_CTORS_DTORS_SECTIONS is defined.
41991 * elf/soinit.c: Likewise.
41992 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41993 NO_CTORS_DTORS_SECTIONS is defined.
41994 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41995 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41996 * sysdeps/sh/init-first.c: Likewise.
41997 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41998
07eb4b71
UD
419992010-12-24 Ulrich Drepper <drepper@gmail.com>
42000
42001 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42002 always use the slow path.
42003
30950a5f
RA
420042010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42005
42006 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42007 similar rule which adds the sysdep directories to the header search in
42008 order to pick up the correct platform stackinfo.h.
42009 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42010 perform test if it is, otherwise return successfully without testing.
42011 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42012 DEFAULT_STACK_PERMS define in stackinfo.h.
42013 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42014 defined in stackinfo.h.
42015 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42016 DEFAULT_STACK_PERMS defined in stackinfo.h.
42017 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42018 * sysdeps/ia64/stackinfo.h: Likewise.
42019 * sysdeps/s390/stackinfo.h: Likewise.
42020 * sysdeps/sh/stackinfo.h: Likewise.
42021 * sysdeps/sparc/stackinfo.h: Likewise.
42022 * sysdeps/x86_64/stackinfo.h: Likewise.
42023 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42024 PF_X for powerpc64. Retain PF_X for powerpc32.
42025
db753e2c
UD
420262010-12-19 Ulrich Drepper <drepper@gmail.com>
42027
14b697f7
UD
42028 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42029 accurately.
db753e2c
UD
42030 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42031 GETDENTS_64BIT_ALIGNED.
42032
28300719
UD
420332010-12-14 Ulrich Drepper <dreper@gmail.com>
42034
14b697f7 42035 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42036
4f197237
AS
420372010-12-10 Andreas Schwab <schwab@redhat.com>
42038
dbb0472f
AS
42039 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42040 _GNU_SOURCE.
42041
4f197237
AS
42042 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42043 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42044 Remove __restrict.
42045 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42046 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42047
fb88ac72
UD
420482010-12-09 Ulrich Drepper <drepper@gmail.com>
42049
42050 [BZ #11655]
42051 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42052 are initialized.
42053
42acbb92
JJ
420542010-12-09 Jakub Jelinek <jakub@redhat.com>
42055
42056 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42057
c038d98d
UD
420582010-12-03 Ulrich Drepper <drepper@gmail.com>
42059
42060 * po/it.po: Update from translation team.
42061
3a4a2499
L
420622010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42063
42064 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42065 unused codes.
42066
1e24cf6e
UD
420672010-11-30 Ulrich Drepper <drepper@gmail.com>
42068
42069 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42070
a7690819
AS
420712010-11-24 Andreas Schwab <schwab@redhat.com>
42072
42073 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42074 specially.
42075 (gaih_getanswer_slice): Likewise.
42076
3bf8d1b1
JJ
420772010-10-20 Jakub Jelinek <jakub@redhat.com>
42078
42079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42080
6db52fbb
PB
420812010-05-31 Petr Baudis <pasky@suse.cz>
42082
42083 [BZ #11149]
42084 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42085 silently even in the chroot mode.
42086
eaca7569
UD
420872010-11-22 Ulrich Drepper <drepper@gmail.com>
42088
42089 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42090 last patch a bit. Pretty printing
42091
3056dcdb
UD
420922010-05-31 Petr Baudis <pasky@suse.cz>
42093
42094 [BZ #10085]
42095 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42096 initialization of skip_initgroups_dyn.
42097
cf7c9078
UD
420982010-11-19 Ulrich Drepper <drepper@gmail.com>
42099
42100 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42101 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42102
a1fb5e3e
UD
421032010-11-16 Ulrich Drepper <drepper@gmail.com>
42104
42105 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42106
3540d66b
AS
421072010-11-11 Andreas Schwab <schwab@redhat.com>
42108
42109 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42110 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42111 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42112 ($(objpfx)tst-fnmatch-mem): New rule.
42113 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42114 * posix/tst-fnmatch.c (main): Call mtrace.
42115
13b69574
L
421162010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42117
42118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42119 Support Intel processor model 6 and model 0x2c.
42120
da93d214
LM
421212010-11-10 Luis Machado <luisgpm@br.ibm.com>
42122
42123 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42124 signed comparison.
42125
8ca52c6e
L
421262010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42127
42128 [BZ #12205]
42129 * string/test-strncasecmp.c (check_result): New function.
42130 (do_one_test): Use it.
42131 (check1): New function.
42132 (test_main): Use it.
42133 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42134 Support strcasecmp and strncasecmp.
42135
69da074d
UD
421362010-11-08 Ulrich Drepper <drepper@gmail.com>
42137
42138 [BZ #12194]
42139 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42140 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42141
ff02d528
L
421422010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42143
42144 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42145 IFUNC support.
42146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42147 memset-x86-64.
42148 * sysdeps/x86_64/multiarch/bzero.S: New file.
42149 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42150 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42151 * sysdeps/x86_64/multiarch/memset.S: New file.
42152 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42153 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42154 Set bit_Prefer_SSE_for_memop for Intel processors.
42155 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42156 Define.
42157 (index_Prefer_SSE_for_memop): Define.
42158 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42159
344d0b54
LM
421602010-11-04 Luis Machado <luisgpm@br.ibm.com>
42161
42162 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42163 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42164
c0dde15b
UD
421652010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42166
42167 [BZ #12191]
42168 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42169 (__x86_64_raw_data_cache_size_half): Likewise.
42170 (__x86_64_raw_shared_cache_size): Likewise.
42171 (__x86_64_raw_shared_cache_size_half): Likewise.
42172
42173 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42174 (__x86_64_raw_data_cache_size_half): Likewise.
42175 (__x86_64_raw_shared_cache_size): Likewise.
42176 (__x86_64_raw_shared_cache_size_half): Likewise.
42177 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42178 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42179 and __x86_64_raw_shared_cache_size_half. Round
42180 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42181 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42182 to multiple of 256 bytes.
42183
0e516e0e
MS
421842010-11-03 Ulrich Drepper <drepper@gmail.com>
42185
42186 [BZ #12167]
42187 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42188 of inacessible symlinks. Verify result of symlink before returning it.
42189 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42190 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42191
0e012e87
ER
421922010-10-28 Erich Ritz <erichritz@gmail.com>
42193
42194 * math/math.h (isinf): Fix typo in comment.
42195
de0ff7bc
UD
421962010-11-01 Ulrich Drepper <drepper@gmail.com>
42197
42198 * po/da.po: Update from translation team.
42199
fa41c84d
UD
422002010-10-26 Ulrich Drepper <drepper@gmail.com>
42201
42202 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42203 is added to the list.
42204
f0967738
AK
422052010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42206 Ulrich Drepper <drepper@gmail.com>
42207
42208 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42209 the global list here. Move code to...
42210 (_dl_add_to_namespace_list): ...here. New function.
42211 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42212 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42213 * elf/dl-load.c (lose): Don't remove the element from the list.
42214 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42215 (_dl_map_object): Likewise.
42216
422172010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42218
42219 [BZ #12159]
42220 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42221 into all bytes of SSE register.
42222 Patch by Richard Li <richardpku@gmail.com>.
42223
f0967738 422242010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42225
42226 [BZ #12140]
42227 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42228 perturbing.
42229
d0b9e94f
MB
422302010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42231
42232 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42233 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42234 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42235 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42237 submachine.
42238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42239
8e9f92e9
AS
422402010-10-22 Andreas Schwab <schwab@redhat.com>
42241
42242 * include/dlfcn.h (__RTLD_SECURE): Define.
42243 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42244 mode & __RTLD_SECURE instead.
42245 (open_path): Rename preloaded parameter to secure.
42246 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42247 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42248 * elf/dl-deps.c (openaux): Likewise.
42249 * elf/rtld.c (struct map_args): Remove is_preloaded.
42250 (map_doit): Don't use it.
42251 (dl_main): Likewise.
42252 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42253 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42254
bc96fbda
AS
422552010-09-09 Andreas Schwab <schwab@redhat.com>
42256
42257 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42258 (sysd-rules-targets): Remove duplicates.
42259 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42260 rtld-%.$o dependency.
42261
22cd1c9b
AS
422622010-10-18 Andreas Schwab <schwab@redhat.com>
42263
42264 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42265 _dl_map_object do it.
42266
18edac48
UD
422672010-10-19 Ulrich Drepper <drepper@gmail.com>
42268
42269 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42270 fast fma builtins, define the macros in the C99 standard.
42271 (FP_FAST_FMAF): Likewise.
42272 (FP_FAST_FMAL): Likewise.
42273 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42274
42275 * bits/mathdef.h: Update copyright year.
42276 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42277
d2050124
MM
422782010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42279
42280 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42281 builtins, define the macros in the C99 standard.
42282 (FP_FAST_FMAF): Likewise.
42283 (FP_FAST_FMAL): Likewise.
42284 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42285 multiply/add.
42286 (FP_FAST_FMAF): Likewise.
42287
475facd1
JJ
422882010-10-15 Jakub Jelinek <jakub@redhat.com>
42289
42290 [BZ #3268]
42291 * math/libm-test.inc (fma_test): Some new testcases.
42292 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42293 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42294 y and infinite z. Do multiplication by C already in long double.
42295 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42297 y and infinite z. Do bitwise or of inexact bit into u.d.
42298 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42299 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42300 * sysdeps/i386/fpu/s_fma.S: Removed.
42301 * sysdeps/i386/fpu/s_fmal.S: Removed.
42302
7c08a05c
JJ
423032010-10-16 Jakub Jelinek <jakub@redhat.com>
42304
42305 [BZ #3268]
42306 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42307 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42308 computation is not scheduled after fetestexcept. Fix value
42309 of minimum denormal long double.
42310
f3f7372d
JJ
423112010-10-14 Jakub Jelinek <jakub@redhat.com>
42312
42313 [BZ #3268]
42314 * math/libm-test.inc (fma_test): Add some more tests.
42315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42316 correctly.
42317
14d43591
AS
423182010-10-15 Andreas Schwab <schwab@redhat.com>
42319
42320 * scripts/data/localplt-s390-linux-gnu.data: New file.
42321 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42322
5e908464
JJ
423232010-10-13 Jakub Jelinek <jakub@redhat.com>
42324
42325 [BZ #3268]
42326 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42327 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42328 instead of dbl-64.
42329 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42330 inlines.
42331 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42332 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42333 if one of x and y is very large and the other is subnormal.
42334 * sysdeps/s390/fpu/s_fmaf.c: New file.
42335 * sysdeps/s390/fpu/s_fma.c: New file.
42336 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42337 * sysdeps/powerpc/fpu/s_fma.S: New file.
42338 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42339 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42340 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42341
423422010-10-12 Jakub Jelinek <jakub@redhat.com>
42343
42344 [BZ #3268]
42345 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42346 fma tests.
42347 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42348 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42349 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42350 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42351 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42352 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42353 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42354
b833d51f
UD
423552010-10-12 Ulrich Drepper <drepper@redhat.com>
42356
42357 [BZ #12078]
42358 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42359 * posix/bug-regex31.input: Add test case.
42360
1751705d
UD
423612010-10-11 Ulrich Drepper <drepper@gmail.com>
42362
e9b9cbf5
UD
42363 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42364 * posix/bug-regex31.input: New file.
42365
42366 [BZ #12078]
42367 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42368 (parse_sub_exp): Fix last change, use postorder.
42369
ef06edbe
UD
42370 * posix/bug-regex31.c: New file.
42371 * posix/Makefile: Add rules to build and run bug-regex31.
42372
a129c80d
UD
42373 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42374
42375 [BZ #12078]
42376 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42377
b76b818e
UD
42378 [BZ #12108]
42379 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42380 to have entries in sys_siglist.
42381
1751705d
UD
42382 [BZ #12093]
42383 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42384 be NULL.
42385
9ff8d36f
JJ
423862010-10-07 Jakub Jelinek <jakub@redhat.com>
42387
42388 [BZ #3268]
42389 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42390 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42391 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42392 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42393 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42394 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42395 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42396 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42397 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42398 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42399 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42400 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42401 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42402 * math/ftestexcept.c (fetestexcept): Likewise.
42403 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42404 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42405 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42406 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42407 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42408 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42409 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42410
af325969
UD
424112010-10-11 Ulrich Drepper <drepper@gmail.com>
42412
c579b202 42413 [BZ #12107]
af325969
UD
42414 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42415 newline.
42416
67a67b95
UD
424172010-10-06 Ulrich Drepper <drepper@gmail.com>
42418
42419 * string/bug-strstr1.c: New file.
42420 * string/Makefile: Add rules to build and run bug-strstr1.
42421
5fb308bc
EB
424222010-10-05 Eric Blake <eblake@redhat.com>
42423
42424 [BZ #12092]
42425 * string/str-two-way.h (two_way_long_needle): Always clear memory
42426 when skipping input due to the shift table.
42427
45db99c7
UD
424282010-10-03 Ulrich Drepper <drepper@gmail.com>
42429
3b111893
UD
42430 [BZ #12005]
42431 * malloc/mcheck.c: Handle large requests.
42432
45db99c7
UD
42433 [BZ #12077]
42434 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42435 for strncmp and strncasecmp.
42436 * string/stratcliff.c: Add tests for strcmp and strncmp.
42437 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42438
cf7a1eb8
NI
424392010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42440
42441 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42442 __set_fpscr.
42443
6484ba5e
AJ
424442010-09-30 Andreas Jaeger <aj@suse.de>
42445
42446 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42447 (CGROUP_SUPER_MAGIC): Define.
42448 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42449 Handle btrfs and cgroup file systems.
42450 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42451 Likewise.
42452
91c42559
LM
424532010-09-27 Luis Machado <luisgpm@br.ibm.com>
42454
42455 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42456 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42457
87a97932
AK
424582010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42459
42460 [BZ #12067]
42461 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42462 trying to locate the ELF header.
42463
c21cc9bc
AS
424642010-09-27 Andreas Schwab <schwab@redhat.com>
42465
42466 [BZ #11611]
42467 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42468 Mask out sign-bit copies when constructing f_fsid.
42469
315970f6
PB
424702010-09-24 Petr Baudis <pasky@suse.cz>
42471
42472 * debug/stack_chk_fail_local.c: Add missing licence exception.
42473 * debug/warning-nop.c: Likewise.
42474
1ac7a2c7
JM
424752010-09-15 Joseph Myers <joseph@codesourcery.com>
42476
42477 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42478 implementing getdents64 using getdents syscall, set d_type if
42479 __ASSUME_GETDENTS32_D_TYPE.
42480
56801c50
AS
424812010-09-16 Andreas Schwab <schwab@redhat.com>
42482
42483 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42484 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42485
dda51327
UD
424862010-09-21 Ulrich Drepper <drepper@redhat.com>
42487
42488 [BZ #12037]
42489 * posix/unistd.h: Undo change of feature selection for ftruncate from
42490 2010-01-11.
42491
8ffcee4a
UD
424922010-09-20 Ulrich Drepper <drepper@redhat.com>
42493
a545ecd9 42494 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42495 detection.
42496
e24f0a8b
AS
424972010-09-20 Andreas Schwab <schwab@redhat.com>
42498
42499 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42500 fanotify_mark.
42501 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42502
7291c56f
AS
425032010-09-14 Andreas Schwab <schwab@redhat.com>
42504
42505 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42506 variables after CHECK_SP call.
42507 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42508
bc5fb037
AS
425092010-09-13 Andreas Schwab <schwab@redhat.com>
42510 Ulrich Drepper <drepper@redhat.com>
42511
42512 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42513 re-relocationg ld.so.
42514 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42515 _dl_init_paths call.
42516 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42517 here anymore.
42518
e66e7419
UD
425192010-09-14 Ulrich Drepper <drepper@redhat.com>
42520
42521 * resolv/res_init.c (__res_vinit): Count the default server we added.
42522
c044aa75
CLT
425232010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42524 Ulrich Drepper <drepper@redhat.com>
42525
42526 [BZ #11968]
42527 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42528 (____longjmp_chk): Use %ebx for saving value across system call.
42529 Add unwind info.
42530
32cf4069
AS
425312010-09-06 Andreas Schwab <schwab@redhat.com>
42532
42533 * manual/Makefile: Don't mix pattern rules with normal rules.
42534
817328ee
AS
425352010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42536
42537 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42538 operation.
42539 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42540 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42541 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42542 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42543 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42544 Likewise.
42545
29fddf61
UD
425462010-09-04 Ulrich Drepper <drepper@redhat.com>
42547
42548 [BZ #11979]
42549 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42550 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42551
0959ffc9
UD
425522010-09-02 Ulrich Drepper <drepper@redhat.com>
42553
42554 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42555 * sysdeps/x86_64/addmul_1.S: Likewise.
42556 * sysdeps/x86_64/lshift.S: Likewise.
42557 * sysdeps/x86_64/mul_1.S: Likewise.
42558 * sysdeps/x86_64/rshift.S: Likewise.
42559 * sysdeps/x86_64/sub_n.S: Likewise.
42560 * sysdeps/x86_64/submul_1.S: Likewise.
42561
ece29840
ST
425622010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42563
0959ffc9
UD
42564 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42565 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42566 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42567 * bits/sched.h [__need_schedparam]
ece29840 42568 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42569 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42570 (__defined_schedparam): Define to 1.
ece29840
ST
42571 (__sched_param): New structure, identical to sched_param.
42572 (__need_schedparam): Undefine.
42573
e53a31fe
MF
425742010-08-31 Mike Frysinger <vapier@gentoo.org>
42575
fdc0c10d
MF
42576 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42577 (epoll_create1): Declare.
42578
e53a31fe
MF
42579 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42580
a726d796
AS
425812010-08-31 Andreas Schwab <schwab@redhat.com>
42582
42583 [BZ #7066]
42584 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42585 shifting retval into place.
42586
2f3e3dc7
UD
425872010-09-01 Ulrich Drepper <drepper@redhat.com>
42588
f2933da9
UD
42589 * nis/rpcsvc/nis.h: Update copyright notice.
42590 * nis/rpcsvc/nis.x: Likewise.
42591 * nis/rpcsvc/nis_callback.h: Likewise.
42592 * nis/rpcsvc/nis_callback.x: Likewise.
42593 * nis/rpcsvc/nis_object.x: Likewise.
42594 * nis/rpcsvc/nis_tags.h: Likewise.
42595 * nis/rpcsvc/yp.h: Likewise.
42596 * nis/rpcsvc/yp.x: Likewise.
42597 * nis/rpcsvc/ypupd.h: Likewise.
42598 * nis/yp_xdr.c: Likewise.
42599 * nis/ypupdate_xdr.c: Likewise.
42600
2f3e3dc7
UD
42601 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42602 mainly the body of pmap_getport. Add parameters to specify timeouts.
42603 (pmap_getport): Use __libc_rpc_getport.
42604 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42605 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42606 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42607
f3dcc2f9
AS
426082010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42609
42610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42611 fanotify_mark.
42612
6d34eb5b
RM
426132010-08-27 Roland McGrath <roland@redhat.com>
42614
42615 * sysdeps/i386/i686/multiarch/Makefile
42616 (CFLAGS-varshift.c): New variable.
42617
9ea3de11
UD
426182010-08-27 Ulrich Drepper <drepper@redhat.com>
42619
c96d23fc
UD
42620 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42621 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42622
9ea3de11
UD
42623 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42624
42625 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42626
623aac7f
L
426272010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42628
42629 * sysdeps/x86_64/strlen.S: Unroll the loop.
42630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42631 strlen-sse2 strlen-sse2-bsf.
42632 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42633 __strlen_no_bsf if bit_Slow_BSF is set.
42634 (__strlen_sse42): Removed.
42635 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42636 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42637
8b2b7715
RM
426382010-08-25 Roland McGrath <roland@redhat.com>
42639
42640 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42641 * sysdeps/x86_64/multiarch/varshift.c: New file.
42642 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42643 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42644 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42645 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42646
e73015f2
L
426472010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42648
42649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42650 strlen-sse2 strlen-sse2-bsf.
42651 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42652 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42653 (__strlen_sse2): Removed.
42654 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42655 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42657 bit_Slow_BSF for Atom.
42658 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42659 (index_Slow_BSF): Define.
42660 (HAS_SLOW_BSF): Define.
42661
df24a73e
UD
426622010-08-25 Ulrich Drepper <drepper@redhat.com>
42663
42664 [BZ #10851]
42665 * resolv/res_init.c (__res_vinit): When no server address at all
42666 is given default to loopback.
42667
f2ac4868
RM
426682010-08-24 Roland McGrath <roland@redhat.com>
42669
09055553
RM
42670 * configure.in: Remove config-name.h generation.
42671 * configure: Regenerated.
42672 * config-name.in: File removed.
42673 * scripts/config-uname.sh: New file.
42674 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42675 ($(objdir)config-name.h): New target.
42676
f2ac4868
RM
42677 * sunrpc/rpc_parse.h: Avoid nested comment.
42678
73f27d5e
RH
426792010-08-24 Richard Henderson <rth@redhat.com>
42680 Ulrich Drepper <drepper@redhat.com>
42681 H.J. Lu <hongjiu.lu@intel.com>
42682
42683 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42685 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42686 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42687 _mm_alignr_epi8 with _mm_loadu_si128.
42688 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42689 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42690 (__m128i_shift_right): Removed.
42691 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42692 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42693 * sysdeps/x86_64/multiarch/varshift.h: New file.
42694 * sysdeps/x86_64/multiarch/varshift.S: New file.
42695
84b9230c
MF
426962010-08-21 Mike Frysinger <vapier@gentoo.org>
42697
42698 * configure.in: Move assembler checks to before sysdep dir checking.
42699
9bbd0ddc
PB
427002010-08-20 Petr Baudis <pasky@suse.cz>
42701
42702 * LICENSES: Sync the sunrpc license.
42703
9da4bb31
UD
427042010-08-19 Ulrich Drepper <drepper@redhat.com>
42705
a7ab6ec8
UD
42706 * sunrpc/auth_des.c: Update copyright notice once again.
42707 * sunrpc/auth_none.c: Likewise.
42708 * sunrpc/auth_unix.c: Likewise.
42709 * sunrpc/authdes_prot.c: Likewise.
42710 * sunrpc/authuxprot.c: Likewise.
42711 * sunrpc/bindrsvprt.c: Likewise.
42712 * sunrpc/clnt_gen.c: Likewise.
42713 * sunrpc/clnt_perr.c: Likewise.
42714 * sunrpc/clnt_raw.c: Likewise.
42715 * sunrpc/clnt_simp.c: Likewise.
42716 * sunrpc/clnt_tcp.c: Likewise.
42717 * sunrpc/clnt_udp.c: Likewise.
42718 * sunrpc/clnt_unix.c: Likewise.
42719 * sunrpc/des_crypt.c: Likewise.
42720 * sunrpc/des_soft.c: Likewise.
42721 * sunrpc/get_myaddr.c: Likewise.
42722 * sunrpc/getrpcport.c: Likewise.
42723 * sunrpc/key_call.c: Likewise.
42724 * sunrpc/key_prot.c: Likewise.
42725 * sunrpc/openchild.c: Likewise.
42726 * sunrpc/pm_getmaps.c: Likewise.
42727 * sunrpc/pm_getport.c: Likewise.
42728 * sunrpc/pmap_clnt.c: Likewise.
42729 * sunrpc/pmap_prot.c: Likewise.
42730 * sunrpc/pmap_prot2.c: Likewise.
42731 * sunrpc/pmap_rmt.c: Likewise.
42732 * sunrpc/rpc/auth.h: Likewise.
42733 * sunrpc/rpc/auth_unix.h: Likewise.
42734 * sunrpc/rpc/clnt.h: Likewise.
42735 * sunrpc/rpc/des_crypt.h: Likewise.
42736 * sunrpc/rpc/key_prot.h: Likewise.
42737 * sunrpc/rpc/netdb.h: Likewise.
42738 * sunrpc/rpc/pmap_clnt.h: Likewise.
42739 * sunrpc/rpc/pmap_prot.h: Likewise.
42740 * sunrpc/rpc/pmap_rmt.h: Likewise.
42741 * sunrpc/rpc/rpc.h: Likewise.
42742 * sunrpc/rpc/rpc_des.h: Likewise.
42743 * sunrpc/rpc/rpc_msg.h: Likewise.
42744 * sunrpc/rpc/svc.h: Likewise.
42745 * sunrpc/rpc/svc_auth.h: Likewise.
42746 * sunrpc/rpc/types.h: Likewise.
42747 * sunrpc/rpc/xdr.h: Likewise.
42748 * sunrpc/rpc_clntout.c: Likewise.
42749 * sunrpc/rpc_cmsg.c: Likewise.
42750 * sunrpc/rpc_common.c: Likewise.
42751 * sunrpc/rpc_cout.c: Likewise.
42752 * sunrpc/rpc_dtable.c: Likewise.
42753 * sunrpc/rpc_hout.c: Likewise.
42754 * sunrpc/rpc_main.c: Likewise.
42755 * sunrpc/rpc_parse.c: Likewise.
42756 * sunrpc/rpc_parse.h: Likewise.
42757 * sunrpc/rpc_prot.c: Likewise.
42758 * sunrpc/rpc_sample.c: Likewise.
42759 * sunrpc/rpc_scan.c: Likewise.
42760 * sunrpc/rpc_scan.h: Likewise.
42761 * sunrpc/rpc_svcout.c: Likewise.
42762 * sunrpc/rpc_tblout.c: Likewise.
42763 * sunrpc/rpc_util.c: Likewise.
42764 * sunrpc/rpc_util.h: Likewise.
42765 * sunrpc/rpcinfo.c: Likewise.
42766 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42767 * sunrpc/rpcsvc/key_prot.x: Likewise.
42768 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42769 * sunrpc/rpcsvc/mount.x: Likewise.
42770 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42771 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42772 * sunrpc/rpcsvc/rex.x: Likewise.
42773 * sunrpc/rpcsvc/rstat.x: Likewise.
42774 * sunrpc/rpcsvc/rusers.x: Likewise.
42775 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42776 * sunrpc/rpcsvc/spray.x: Likewise.
42777 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42778 * sunrpc/rtime.c: Likewise.
42779 * sunrpc/svc.c: Likewise.
42780 * sunrpc/svc_auth.c: Likewise.
42781 * sunrpc/svc_authux.c: Likewise.
42782 * sunrpc/svc_raw.c: Likewise.
42783 * sunrpc/svc_run.c: Likewise.
42784 * sunrpc/svc_simple.c: Likewise.
42785 * sunrpc/svc_tcp.c: Likewise.
42786 * sunrpc/svc_udp.c: Likewise.
42787 * sunrpc/svc_unix.c: Likewise.
42788 * sunrpc/svcauth_des.c: Likewise.
42789 * sunrpc/xcrypt.c: Likewise.
42790 * sunrpc/xdr.c: Likewise.
42791 * sunrpc/xdr_array.c: Likewise.
42792 * sunrpc/xdr_float.c: Likewise.
42793 * sunrpc/xdr_mem.c: Likewise.
42794 * sunrpc/xdr_rec.c: Likewise.
42795 * sunrpc/xdr_ref.c: Likewise.
42796 * sunrpc/xdr_sizeof.c: Likewise.
42797 * sunrpc/xdr_stdio.c: Likewise.
42798
9da4bb31
UD
42799 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42800 handling.
42801
bdaa77bc
AS
428022010-08-19 Andreas Schwab <schwab@redhat.com>
42803
42804 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42805
fe2f79db
LM
428062010-08-19 Luis Machado <luisgpm@br.ibm.com>
42807
42808 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42809 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42810 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42811 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42812 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42813 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42814 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42815 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42816 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42817 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42818 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42819 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42820 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42821 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42822
b9b42ee0
AB
428232010-07-26 Anton Blanchard <anton@samba.org>
42824
42825 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42826 * malloc/arena.c (heap_trim): Likewise.
42827
1c06ba31
UD
428282010-08-16 Ulrich Drepper <drepper@redhat.com>
42829
42830 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42831 here. Not...
42832 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42833 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42834
f8392f40
L
428352010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42836
42837 * sysdeps/i386/elf/Makefile: New file.
42838
3162f12e
AS
428392010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42840
42841 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42842 from fanotify_init.
42843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42844 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42845
28c90b2c
UD
428462010-08-15 Ulrich Drepper <drepper@redhat.com>
42847
42848 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42849 of strncasecmp_l.
1feccb6c 42850 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42851
ca6bb004
UD
428522010-08-14 Ulrich Drepper <drepper@redhat.com>
42853
e9f82e0d
UD
42854 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42855 strncase_l-nonascii.
42856 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42857 Add strncase_l-ssse3.
42858 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42859 * sysdeps/x86_64/strcmp.S: Likewise.
42860 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42861 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42862 * sysdeps/x86_64/strncase.S: New file.
42863 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42864 * sysdeps/x86_64/strncase_l.S: New file.
42865 * string/Makefile (strop-tests): Add strncasecmp.
42866 * string/test-strncasecmp.c: New file.
42867
42868 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42869 warning.
42870
ca6bb004
UD
42871 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42872 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42873
052fa7b3
AS
428742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42875
42876 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42877
962dba78
UD
428782010-08-12 Ulrich Drepper <drepper@redhat.com>
42879
42880 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42881 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42882 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42883
bebff237
AM
428842010-05-01 Alan Modra <amodra@gmail.com>
42885
42886 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42887 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42888 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42889 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42890 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42891 tidying. Don't tail-call __sigjmp_save for static lib.
42892 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42893 save location.
42894 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42895 (CALL_MCOUNT): Add eh info, and nop after bl.
42896 (TAIL_CALL_SYSCALL_ERROR): New macro.
42897 (PSEUDO_RET): Use it.
42898 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42899 Correct save location of integer regs and cr.
42900 (_dl_profile_resolve): Correct cr save location. Delete nops
42901 after bl when SHARED. Reduce cfi size a little by better
42902 placement of cfi directives.
42903 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42904 make a stack frame. Instead use parm save area as a temp.
42905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42906 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42908 Don't make a stack frame for parent, use parm save area.
42909 Increase child stack frame to 112 bytes. Don't save unused reg,
42910 and adjust reg usage. Set up cfi on error recovery and
42911 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42913 (__makecontext): Add dummy nop after jump to exit.
42914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42915 Use correct parm save area and cr save, reduce stack frame.
42916 Correct cfi for possible PSEUDO_RET frame setup.
42917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42918 Branch to local label emitted by PSEUDO_RET rather than
42919 __syscall_error.
42920
02637374
AS
429212010-08-12 Andreas Schwab <schwab@redhat.com>
42922
42923 [BZ #11904]
42924 * locale/programs/locale.c (print_assignment): New function.
42925 (show_locale_vars): Use it.
42926
c3e2f19b
UD
429272010-08-11 Ulrich Drepper <drepper@redhat.com>
42928
3cdaa6ad
UD
42929 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42930 field.
42931 (struct statfs64): Likewise.
42932 (_STATFS_F_FLAGS): Define.
42933 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42934 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42935 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42936 (ST_VALID): Define locally.
42937 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42938 __statvfs_getflags, use the provided value.
42939 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42940 __ASSUME_STATFS_F_FLAGS.
42941
754f7da3
UD
42942 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42943
10b3bedc
UD
42944 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42945 Add sys/fanotify.h.
42946 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42947 fanotify_mask for GLIBC_2.13.
42948 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42949 fanotify_init and fanotify_mark.
42950 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42951 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42952
c08fb0d7
UD
42953 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42954 Add prlimit.
42955 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42956 prlimit64 for GLIBC_2.13.
42957 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42958 prlimit64.
42959 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42960 syscall.
42961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42962 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42963 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42964 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42965 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42966 add prlimit alias.
42967 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42968
15bac72b
UD
42969 [BZ #11903]
42970 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42971 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42972
c3e2f19b
UD
42973 * nss/Makefile: Add rules to build and run tst-nss-test1.
42974 * shlib-versions: Add entry for libnss_test1.
42975 * nss/nss_test1.c: New file.
42976 * nss/tst-nss-test1.c: New file.
42977
42978 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42979 (__nss_configure_lookup): Set appropriate entry in
42980 __nss_configure_lookup to true.
42981 * nss/nsswitch.h: Define enum with indeces of databases in
42982 databases and __nss_database_custom arrays. Declare
42983 __nss_database_custom.
42984 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42985 to avoid using nscd when custom rules are installed.
42986 * nss/getXXbyYY_r.c: Likewise.
42987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42988
42989 * nss/nss_files/files-parse.c: Whitespace fixes.
42990
f15ce4d8
UD
429912010-08-09 Ulrich Drepper <drepper@redhat.com>
42992
42993 [BZ #11883]
42994 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42995 * posix/fnmatch_loop.c: Likewise.
42996
d22e4cc9
AK
429972010-07-17 Andi Kleen <ak@linux.intel.com>
42998
42999 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43000 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43001 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43002 * Versions.def [GLIBC_2.13]: Add.
43003
805bc17d
UD
430042010-08-06 Ulrich Drepper <drepper@redhat.com>
43005
43006 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43007 Also fail if tpwd after pwuid call is NULL.
43008
5a42321d
ST
430092010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43010
43011 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43012 when converting to ms.
43013
fd3ebeda
ST
430142010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43015
43016 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43017 EOPNOTSUPP errors with ENOTTY.
43018 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43019 EOPNOTSUPP errors with ENOTTY.
43020
73507d3a
UD
430212010-07-31 Ulrich Drepper <drepper@redhat.com>
43022
43023 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43024 Add strcasecmp_l-ssse3.
43025 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43026 strcasecmp.
43027 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43028 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43029 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43030
fe36dd02
UD
430312010-07-30 Ulrich Drepper <drepper@redhat.com>
43032
66f6765a
UD
43033 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43034
42e08a54
UD
43035 * string/Makefile (strop-tests): Add strcasecmp.
43036 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43037 strcasecmp_l-nonascii.
43038 (gen-as-const-headers): Add locale-defines.sym.
43039 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43040 * sysdeps/x86_64/strcasecmp.S: New file.
43041 * sysdeps/x86_64/strcasecmp_l.S: New file.
43042 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43043 * sysdeps/x86_64/locale-defines.sym: New file.
43044 * string/test-strcasecmp.c: New file.
43045
fe36dd02
UD
43046 * string/test-strcasestr.c: Test both ends of the range of characters.
43047 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43048
48cbc0d6
RM
430492010-07-29 Roland McGrath <roland@redhat.com>
43050
76e6d6bc 43051 [BZ #11856]
48cbc0d6
RM
43052 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43053
880113d9
UD
430542010-07-27 Ulrich Drepper <drepper@redhat.com>
43055
43056 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43057 for ld.so.
43058
deb9cabb
AS
430592010-07-27 Andreas Schwab <schwab@redhat.com>
43060
43061 * manual/memory.texi (Malloc Tunable Parameters): Document
43062 M_PERTURB.
43063
1c7570ff
RM
430642010-07-26 Roland McGrath <roland@redhat.com>
43065
43066 [BZ #11840]
43067 * configure.in (-fgnu89-inline check): Set and substitute
43068 gnu89_inline, not libc_cv_gnu89_inline.
43069 * configure: Regenerated.
43070 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43071
24fb0f88
UD
430722010-07-26 Ulrich Drepper <drepper@redhat.com>
43073
43074 * string/test-strnlen.c: New file.
43075 * string/Makefile (strop-tests): Add strnlen.
43076 * string/tester.c (test_strnlen): Add a few more test cases.
43077 * string/tst-strlen.c: Better error reporting.
43078
43079 * sysdeps/x86_64/strnlen.S: New file.
43080
8e96b93a
UD
430812010-07-24 Ulrich Drepper <drepper@redhat.com>
43082
43083 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43084 lower-latency instructions.
43085
dbc676d4
UD
430862010-07-23 Ulrich Drepper <drepper@redhat.com>
43087
43088 * string/test-strcasestr.c: New file.
43089 * string/test-strstr.c: New file.
43090 * string/Makefile (strop-tests): Add strstr and strcasestr.
43091 * string/str-two-way.h: Don't undefine MAX.
43092 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43093
f6a31e0e
AS
430942010-07-21 Andreas Schwab <schwab@redhat.com>
43095
43096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43097 strcasestr-nonascii.
43098 (CFLAGS-strcasestr-nonascii.c): Define.
43099 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43100 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43101 Remove unused attribute.
43102
5dbc3b6c
RM
431032010-07-20 Roland McGrath <roland@redhat.com>
43104
43105 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43106 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43107 ld.so.cache was broken. With it, there is no way to disable dsocaps
43108 like LD_HWCAP_MASK can disable hwcaps.
43109
23d101d8
EPM
431102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43111
43112 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43113
cc9f2e47
UD
431142010-07-16 Ulrich Drepper <drepper@redhat.com>
43115
43116 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43117 call in strcasestr.
43118 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43119 __strcasestr_sse42_nonascii.
43120 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43121 strcasestr-nonascii.c.
43122 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43123
77c1b069
LM
431242010-06-15 Luis Machado <luisgpm@br.ibm.com>
43125
43126 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43127 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43128 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43129 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43130
440566c3
UD
431312010-07-09 Ulrich Drepper <drepper@redhat.com>
43132
43133 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43134 fcntl.
43135
5be9d05d
AS
431362010-07-06 Andreas Schwab <schwab@redhat.com>
43137
c30b7ee2 43138 [BZ #11577]
5be9d05d
AS
43139 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43140 dl_signal_cerror.
43141
8a492a67
UD
431422010-07-06 Ulrich Drepper <drepper@redhat.com>
43143
43144 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43145 _PC_PIPE_BUF using F_GETPIPE_SZ.
43146
713df3d5
RM
431472010-07-05 Roland McGrath <roland@redhat.com>
43148
43149 * manual/arith.texi (Rounding Functions): Fix rint description
43150 implicit in round description.
43151
702e8f14
UD
431522010-07-02 Ulrich Drepper <drepper@redhat.com>
43153
43154 * elf/Makefile: Fix linking for a few tests to make recent linker
43155 happy.
43156
52ed8be9
AS
431572010-06-30 Andreas Schwab <schwab@redhat.com>
43158
43159 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43160 $(common-objpfx)libc_nonshared.a.
43161
f47c9a11
LM
431622010-06-21 Luis Machado <luisgpm@br.ibm.com>
43163
43164 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43165 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43166 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43167 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43168 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43169 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43170 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43171 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43186 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43187 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43188 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43189 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43190 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43191 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43192 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43193 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43194 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43195 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43196 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43197 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43212
6fb8cbcb
L
432132010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43214
43215 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43216 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43217 * string/memmove.c (memmove): Renamed to ...
43218 (MEMMOVE): ...this. Default to memmove.
43219 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43220 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43221 (END_CHK): Define.
43222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43223 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43224 mempcpy-ssse3-back memmove-ssse3-back.
43225 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43226 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43227 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43228 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43229 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43230 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43231 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43232 * sysdeps/x86_64/multiarch/memmove.c: New file.
43233 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43234 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43235 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43236 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43237 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43238 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43239 Define.
43240 (index_Fast_Copy_Backward): Define.
43241 (HAS_ARCH_FEATURE): Define.
43242 (HAS_FAST_REP_STRING): Define.
43243 (HAS_FAST_COPY_BACKWARD): Define.
43244
4e733bac 432452010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43246
43247 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43248 Restore proper fallback handling.
43249
63c4ed22
UD
432502010-06-19 Ulrich Drepper <drepper@redhat.com>
43251
ac2b484c
UD
43252 [BZ #11701]
43253 * posix/group_member.c (__group_member): Correct checking loop.
43254
63c4ed22
UD
43255 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43256 OOM in getpwuid_r correctly. Return error number when the caller
43257 should return, otherwise -1.
43258 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43259 call returning > 0 value.
43260 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43261
765ade4b
AS
432622010-06-07 Andreas Schwab <schwab@redhat.com>
43263
43264 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43265 libc_nonshared.a from targets in modules-names.
43266
80da2e09
KS
432672010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43268
43269 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43270 requires it.
43271
158db122
LM
432722010-06-10 Luis Machado <luisgpm@br.ibm.com>
43273
43274 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43275 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43276 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43277 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43278
caa78cf8
AS
432792010-06-02 Andreas Schwab <schwab@redhat.com>
43280
43281 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43282
b2ef2c01
UD
432832010-06-14 Ulrich Drepper <drepper@redhat.com>
43284
43285 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43286 and F_GETPIPE_SZ.
43287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43288 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43291 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43292 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43293
fbd643b6
RM
432942010-06-14 Roland McGrath <roland@redhat.com>
43295
43296 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43297
f32f2869
JJ
432982010-06-07 Jakub Jelinek <jakub@redhat.com>
43299
43300 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43301 __REDIRECT followed by __THROW.
43302 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43303 * posix/getopt.h (getopt): Likewise.
43304
2a50c078
EPM
433052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43306
43307 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43308 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43309 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43310 in AT_FLAGS.
43311 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43312 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43313
eb5ad2eb
LM
433142010-05-28 Luis Machado <luisgpm@br.ibm.com>
43315
43316 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43317
3c88fe1e
L
433182010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43319
43320 [BZ #11640]
43321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43322 Properly check family and model.
43323
d2f73151
TY
433242010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43325
43326 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43327
ebd2e13d
LM
433282010-05-24 Luis Machado <luisgpm@br.ibm.com>
43329
43330 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43331
b32b8b45
UD
433322010-05-21 Ulrich Drepper <drepper@redhat.com>
43333
43334 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43335 symbol reference.
43336
9acbe24d
AS
433372010-05-19 Andreas Schwab <schwab@redhat.com>
43338
43339 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43340 symbol reference.
43341
f0ccf6ea
AS
433422010-05-21 Andreas Schwab <schwab@redhat.com>
43343
3d04ff3a
AS
43344 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43345 and internal_recvmmsg.
43346 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43347 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43348 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43349 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43350
f0ccf6ea
AS
43351 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43352 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43353 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43354
5b08ac57
AS
433552010-05-20 Andreas Schwab <schwab@redhat.com>
43356
43357 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43358
4828935d
LM
433592010-05-17 Luis Machado <luisgpm@br.ibm.com>
43360
43361 POWER7 optimizations.
43362 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43363 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43364
373d545e
UD
433652010-05-19 Ulrich Drepper <drepper@redhat.com>
43366
43367 * version.h: Update for 2.13 development version.
43368
21a2b1ae
AS
433692010-05-12 Andrew Stubbs <ams@codesourcery.com>
43370
43371 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43372 exceptions. Return 0.
43373
3f7dcb2b
RM
433742010-05-07 Roland McGrath <roland@redhat.com>
43375
43376 * elf/ldconfig.c (main): Add a const.
43377
5f24d53a 433782010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43379
a160f8d8
UD
43380 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43381 (args_options): Add no-idn option.
43382 (ahosts_keys_int): Add idn_flags to ai_flags.
43383 (parse_option): Handle 'i' option to clear idn_flags.
43384
5f24d53a
UD
43385 * malloc/malloc.c (_int_free): Possible race in the most recently
43386 added check. Only act on the data if no current modification
43387 happened.
265bb1ce
UD
43388
43389See ChangeLog.17 for earlier changes.