]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix typo in nscd/selinux.c
[glibc.git] / ChangeLog
CommitLineData
ce0c5b8f
OB
12014-05-07 Ondřej Bílka <neleai@seznam.cz>
2
3 [BZ #16876]
4 * nptl/sockperf.c (client): Check socket return value.
a1189263
OB
5 [BZ #16877]
6 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
7 nscd security class.
ce0c5b8f 8
0f58d252
RM
92014-05-06 Roland McGrath <roland@hack.frob.com>
10
11 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12 * sysdeps/arm/unwind.h: ... here.
13
83df9ad0
AJ
142014-05-06 Aurelien Jarno <aurelien@aurel32.net>
15
ce0c5b8f
OB
16 [BZ# 16916]
17 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18 Define.
83df9ad0 19
f360f94a
VR
202014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21
22 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
23 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
24 multiarch strncpy for PPC64.
25 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
26 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
27 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28 multiarch optimizations.
29 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30 (__libc_ifunc_impl_list): Likewise.
31 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
33 multiarch stpncpy for PPC64.
34 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
35 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36
978a41c3
AS
372014-05-06 Andreas Schwab <schwab@suse.de>
38
39 [BZ #16912]
40 * gmon/mcount.c (_MCOUNT_DECL): Use
41 atomic_compare_and_exchange_bool_acq instead of
42 catomic_compare_and_exchange_bool_acq.
43
eb1ed03d
RM
442014-05-05 Roland McGrath <roland@hack.frob.com>
45
fe658845
RM
46 * elf/Makefile (others, install-bin): Remove pldd.
47 (pldd-modules): Variable removed.
48 ($(objpfx)pldd): Target removed.
49 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
50 (others, install-bin): Append pldd here.
51 ($(objpfx)pldd): New target.
52
eb1ed03d
RM
53 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
54 to 0, so the first #if test emitted later doesn't see it undefined.
55 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
56 * sysdeps/gnu/errlist.c: Regenerated.
57
19c4bec0
AZ
582014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59
60 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
61 [libc_hidden_builtin_def]: Define to empty value.
62 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
63 [libc_hidden_builtin_def]: Likewise.
64 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
65 [libc_hidden_builtin_def]: Likewise.
66 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
67 [libc_hidden_builtin_def]: Likewise.
68 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
69 __redirect_memcpy and define ifunc as default hidden symbol.
70 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
71 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
72
7776e669
AC
732014-05-04 Adam Conrad <adconrad@0c3.net>
74
75 * locale/iso-4217.def: Reintroduce XDR currency.
76
d69aeb12
AM
772014-05-04 Allan McRae <allan@archlinux.org>
78
79 * po/eo.po: Update Esperanto translation from translation project.
80
8f1df5cf
CD
812014-05-02 Carlos O'Donell <carlos@redhat.com>
82
83 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
84 and FEATURE_INDEX_MAX to 1.
85 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
86
13e402e7
SE
872014-05-01 Steve Ellcey <sellcey@mips.com>
88
89 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
90 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
91 * iconvdata/big5.c (ONE_DIRECTION): Define.
92 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
93 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
94 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
95 * iconvdata/cp932.c (ONE_DIRECTION): Define.
96 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
97 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
98 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
99 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
100 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
101 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
102 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
103 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
104 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
105 * iconvdata/gbk.c (ONE_DIRECTION): Define.
106 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
107 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
108 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
109 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
110 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
111 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
112 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
113 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
114 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
115 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
116 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
117 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
118 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
119 * iconvdata/iso646.c (ONE_DIRECTION): Define.
120 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
121 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
122 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
123 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
124 * iconvdata/johab.c (ONE_DIRECTION): Define.
125 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
126 * iconvdata/sjis.c (ONE_DIRECTION): Define.
127 * iconvdata/t.61.c (ONE_DIRECTION): Define.
128 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
129 * iconvdata/tscii.c (ONE_DIRECTION): Define.
130 * iconvdata/uhc.c (ONE_DIRECTION): Define.
131 * iconvdata/unicode.c (ONE_DIRECTION): Define.
132 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
133 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
134 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
135
c727f032
RM
1362014-05-01 Roland McGrath <roland@hack.frob.com>
137
8f2f08d0
RM
138 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
139 (_IO_JUMPS_OFFSET): Define to 0.
140
c727f032
RM
141 * nptl/sysdeps/pthread/bits/libc-lock.h
142 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
143 (__libc_lock_define_initialized_recursive): Always define using
144 initializer. Modern compilers treat uninitialized (implicit zero) and
145 explicit zero initializers the same (i.e. put the datum in bss).
146
a849e800
AS
1472014-05-01 Andreas Schwab <schwab@linux-m68k.org>
148
149 * nscd/nscd-client.h: Include <string.h>.
150
5331255b
DM
1512014-05-01 David S. Miller <davem@davemloft.net>
152
153 [BZ #16885]
154 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
155 multiple zero bytes exist at the end of a string.
156 Reported by Aurelien Jarno <aurelien@aurel32.net>
157
158 * string/test-strcmp.c (check): Add explicit test for situations where
159 there are multiple zero bytes after the first.
160
4fdfe821
AS
1612014-05-01 Andreas Schwab <schwab@linux-m68k.org>
162
163 [BZ #16890]
164 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
165 when compiling wprintf.
166 * stdio-common/tstdiomisc.c (t3): New function.
167 (main): Call it.
168
0cdddc25
SE
1692014-05-01 Steve Ellcey <sellcey@mips.com>
170
171 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
172 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
173 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
174 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
175
6426d77e
SE
1762014-05-01 Steve Ellcey <sellcey@mips.com>
177
178 * stdlib/longlong.h: Updated from GCC.
179
6d96f5e4
WN
1802014-05-01 Will Newton <will.newton@linaro.org>
181 Bernard Ogden <bernie.ogden@linaro.org>
182
7470db0c
WN
183 * NEWS: Update fixed bug list.
184
6d96f5e4
WN
185 [BZ #15119]
186 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
187
211d653c
DM
1882014-04-30 David S. Miller <davem@davemloft.net>
189
4fa262fa
DM
190 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
191 (libc_feholdexcept_setround_sparc_ctx): New function.
192 (libc_fesetenv_sparc_ctx): Likewise.
193 (libc_feupdateenv_sparc_ctx): Likewise.
194 (libc_feholdsetround_sparc_ctx): Likewise.
195 (libc_feholdexcept_setround_ctx): Define.
196 (libc_feholdexcept_setroundf_ctx): Likewise.
197 (libc_feholdexcept_setroundl_ctx): Likewise.
198 (libc_fesetenv_ctx): Likewise.
199 (libc_fesetenvf_ctx): Likewise.
200 (libc_fesetenvl_ctx): Likewise.
201 (libc_feupdateenv_ctx): Likewise.
202 (libc_feupdateenvf_ctx): Likewise.
203 (libc_feupdateenvl_ctx): Likewise.
204 (libc_feresetround_ctx): Likewise.
205 (libc_feresetroundf_ctx): Likewise.
206 (libc_feresetroundl_ctx): Likewise.
207 (libc_feholdsetround_ctx): Likewise.
208 (libc_feholdsetroundf_ctx): Likewise.
209 (libc_feholdsetroundl_ctx): Likewise.
210
1d3d93ef
DM
211 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
212 with __USE_GNU instead of XOPEN cpp guards.
213
8aa583c3
DM
214 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
215 0.
216
211d653c
DM
217 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
218 with XOPEN cpp guards.
219
60c8f1f6
JB
2202014-04-30 Julian Brown <julian@codesourcery.com>
221
222 [BZ #16888]
223 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
224 handling.
225
9a461d46
JM
2262014-04-30 Joseph Myers <joseph@codesourcery.com>
227
d0f5b3f8
JM
228 [BZ #9894]
229 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
230 Change to 2.6.32.
231 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
232 * sysdeps/unix/sysv/linux/configure: Regenerated.
233 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
234 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
235 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
236 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
237 * README: Update reference to required Linux kernel version.
238 * manual/install.texi (Linux): Update reference to required Linux
239 kernel headers version.
240 * INSTALL: Regenerated.
241
9a461d46
JM
242 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
243 header inclusion.
244 [POSIX] (limits.h): Likewise.
245 [POSIX] (math.h): Likewise.
246 [POSIX] (sys/wait.h): Likewise.
247 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
248 function.
249 [POSIX] (stddef.h): Do not allow header inclusion.
250
1775babf
AZ
2512014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
252
57f41c40 253 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 254
8f630cca
YY
2552014-04-30 Yang Yingliang <yangyingliang@huawei.com>
256
257 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
258 Return immediately after lll_futex_wake.
259
1cdeb237
SP
2602014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
261
bc8f194c
SP
262 [BZ #16791]
263 * nscd/nscd-client.h (datahead_init_common): Initialize entire
264 structure.
265 (datahead_init_pos): Call datahead_init_common early.
266 (datahead_init_neg): Likewise.
267
1cdeb237
SP
268 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
269 datahead_init_neg): New functions.
270 * nscd/aicache.c (addhstaiX): Use them.
271 * nscd/grpcache.c (cache_addgr): Likewise.
272 * nscd/hstcache.c (cache_addhst): Likewise.
273 * nscd/initgrcache.c (addinitgroupsX): Likewise.
274 * nscd/netgroupcache.c (do_notfound): Likewise.
275 (addgetnetgrentX): Likewise.
276 (addinnetgrX): Likewise.
277 * nscd/pwdcache.c (cache_addpw): Likewise.
278 * nscd/servicescache.c (cache_addserv): Likewise.
279
16b293a7
SP
2802014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
281 Atsushi Onoe <atsushi@onoe.org>
282
283 [BZ #14308]
284 [BZ #12994]
285 [BZ #13651]
286 * resolv/res_query.c (__libc_res_nsearch): Return if at least
287 one response is valid.
288 * resolv/res_send.c (send_dg): Check for validity of other
289 response if the current response is a referral.
290
a28a9b94
SE
2912014-04-29 Steve Ellcey <sellcey@mips.com>
292
293 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
294
2ca180e9
SL
2952014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
296
297 [BZ #16823]
298 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
299 Always divide by positive zero when computing -Inf result.
300 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
301 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
302
18f2945a
AZ
3032014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
304
305 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
306 FPSCR if value do not change.
307 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
308 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
309 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
310 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
311 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
312 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
313 function.
314
5abebba4
CD
3152014-05-29 Carlos O'Donell <carlos@systemhalted.org>
316
317 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
318 * sysdeps/unix/sysv/linux/hppa: Move directory from
319 ports/systeps/unix/sysv/linux/hppa.
320 * README: Update listing for hppa-*-linux-gnu.
321
f7ed60c2
OB
3222014-04-28 Ondřej Bílka <neleai@seznam.cz>
323
fff763a5
OB
324 [BZ #16754]
325 * manual/stdio.texi (Hook functions): Fix types of stream hook
326 functions.
f7ed60c2
OB
327 [BZ #16854]
328 * socket/sys/socket.h: Fix typo in comment.
329
df639d73
WD
3302014-04-28 Wilco <wdijkstr@arm.com>
331
f7ed60c2 332 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
333 * sysdeps/arm/math_private.h: New file.
334 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
335
48332d82
L
3362014-04-25 H.J. Lu <hongjiu.lu@intel.com>
337
338 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
339 with __int128_t.
340 (La_x86_64_retval): Likewise.
341
e5e0d9a4
IB
3422014-04-24 Ian Bolton <ian.bolton@arm.com>
343
344 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
345 fpsr if value didn't change.
346 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
347 to fpcr if value didn't change.
348 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
349 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
350 fpsr or fpcr if value didn't change.
351 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
352 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
353 fpcr if value didn't change.
354 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
355 to fpsr if value didn't change.
356
bacc75f7
SP
3572014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
358
359 * nptl/tst-sem3.c: Use test-skeleton.c
360 (main): Rename to do_test. Use return instead of
361 exit.
362 * nptl/tst-sem4.c: Use test-skeleton.c
363 (main): Rename to do_test.
364
a059d359
DM
3652014-04-22 David S. Miller <davem@davemloft.net>
366
367 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
368 (struct sigaction): New struct member __glibc_reserved0, change
369 type of sa_flags to int.
370
ea6c92f3
YZ
3712014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
372
373 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
374 (COUNT_LEADING_ZEROS_0): Define for AArch64.
375
766c4a36
SP
3762014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
377
378 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
379 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
380
140cc7ab
VK
3812014-04-22 Will Newton <will.newton@linaro.org>
382 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
383
384 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
385 (__longjmp): Add longjmp and longjmp_target SystemTap
386 probes.
387 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
388 (__sigsetjmp): Add setjmp SystemTap probe.
389
c54e5cf7
CD
3902014-04-17 Carlos O'Donell <carlos@redhat.com>
391
392 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
393 match manual order.
394
75ffb047
AZ
3952014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
396
397 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
398
2cd925f7
AZ
399 * sysdeps/powerpc/fpu/fenv_private.h
400 (libc_feholdexcept_setroundl_ctx): Define to
401 libc_feholdexcept_setround_ppc_ctx.
402 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
403 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
404 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
405 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
406
39e6cd8d
IB
4072014-04-17 Ian Bolton <ian.bolton@arm.com>
408
409 * sysdeps/aarch64/math-tests.h: New file.
410
f9281df9
SY
4112014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
412
413 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
414 New.
415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
416 Check and set bit_AVX2_Usable.
417 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
418 macro.
419 (bit_AVX2): Likewise.
420 (index_AVX2_Usable): Likewise.
421 (CPUID_AVX2): Likewise.
422 (HAS_AVX2): Likewise.
423
37d35007
WN
4242014-04-17 Will Newton <will.newton@linaro.org>
425
7c677662
WN
426 * manual/setjmp.texi (System V contexts): Add note that
427 calling setcontext on a context created by a call to a
428 signal handler is undefined. Update text to note that
429 setcontext from a signal handler is possible but not
430 recommended.
431
37d35007 432 [BZ #16629]
e04a4e9d
WN
433 * stdlib/tst-setcontext.c: Include signal.h.
434 (main): Check that the signal stack before and
435 after swapcontext is the same.
436
37d35007
WN
437 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
438 Re-implement to restore registers in user code and avoid
439 rt_sigreturn system call.
440
423a7160
W
4412014-04-17 Wilco <wdijkstr@arm.com>
442
443 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
444 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
445 * math/test-fenv.c: Skip exception trap tests on targets which only
446 support non-stop mode.
447
bc93ab29
IB
4482014-04-17 Ian Bolton <ian.bolton@arm.com>
449 Wilco Dijkstra <wilco.dijkstra@arm.com>
450
451 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
452 (libc_feholdsetround_aarch64_ctx)
453 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
454 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
455 (libc_feresetround_ctx, libc_feresetroundf_ctx)
456 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
457 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
458 (libc_feresetround_noexl_ctx): Define.
459
95fc5fa3
RH
4602014-04-16 Richard Henderson <rth@redhat.com>
461
ddb04724
RH
462 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
463
d77c0899
RH
464 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
465 unwind tables.
466
a3df56fc
RH
467 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
468 const from the non-libc, non-ldso copy.
469
95fc5fa3
RH
470 * sysdeps/alpha/libm-test-ulps: Regenerate.
471
7e0b6763
IB
4722014-04-16 Ian Bolton <ian.bolton@arm.com>
473 Wilco Dijkstra <wilco.dijkstra@arm.com>
474
475 * sysdeps/aarch64/fpu/math_private.h: New file.
476
a9ea2e0c
MS
4772014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
478
479 * sysdeps/aarch64/libm-test-ulps: Regenerate.
480
ea8ba7cd
IZ
4812014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
482
483 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
484 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
485 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
486 Intel MPX bound registers before _dl_profile_fixup.
487 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
488 registers after _dl_profile_fixup. Save and restore bound
489 registers bnd0/bnd1 when calling _dl_call_pltexit.
490 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
491 (LR_BND_OFFSET): Likewise.
492 (LRV_BND0_OFFSET): Likewise.
493 (LRV_BND1_OFFSET): Likewise.
494
9f2a4fbc
ST
4952014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
496
497 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
498 to...
499 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
500 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
501 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
502 fields.
9f2a4fbc 503
fd15a59b
ST
5042014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
505
506 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
507
f19dfa0a
SL
5082014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
509
510 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
511
4fa8bc3b
SL
5122014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
513
514 [BZ #14770]
515 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
516 * sysdeps/s390/configure: Regenerate.
517
8ea587db
SL
518 [BZ #16824]
519 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
520 Set round-to-nearest internally to reduce error accumulation.
521
aa5f0ff1
AM
5222014-04-16 Alan Modra <amodra@gmail.com>
523
524 [BZ #16740]
525 [BZ #16619]
526 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
527 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 528 * NEWS: Update fixed bug list.
aa5f0ff1 529
bb9c256f
SP
5302014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
531
532 * benchtests/Makefile: Depend on libraries in build directory.
533 (bench-math): Separate out math tests.
534 (bench-pthread): Separate out pthread tests.
535 (bench): Include math and pthread tests.
536
f737dfd0
CD
5372014-04-14 Carlos O'Donell <carlos@redhat.com>
538
539 [BZ #16831]
540 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
541 _dl_debug_initialize.
542
0699f766
CD
543 * configure.ac: Remove SELinux header check.
544 * configure: Regenerate.
545 * nscd/selinux.c (perms): Array of const char* to permission names.
546 (nscd_request_avc_has_perm): Call security_deny_unknown to find
547 default policy. Call string_to_security_class and string_to_av_perm to
548 translate strings. Enforce default policy and call avs_has_perm with
549 results of translated strings.
550
809bd45f
DM
5512014-04-13 David S. Miller <davem@davemloft.net>
552
553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
554
89e691f2
AM
5552014-04-12 Allan McRae <allan@archlinux.org>
556
557 [BZ #16838]
558 * manual/string.texi (Collation Functions): Fix qsort argument
559 order in example.
560 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
561
9c9daaeb
CM
5622014-04-11 Chris Metcalf <cmetcalf@tilera.com>
563
564 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
565 Make the test a no-op if there are no exceptions defined.
566
95561fb9
PP
5672014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
568
fe8d072c 569 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
570 enable-hardcoded-path-in-tests
571
970c602a
WN
5722014-04-11 Will Newton <will.newton@linaro.org>
573
574 * benchtests/Makefile (extra-objs): Add json-lib.o.
575 (bench-func): Tidy up JSON output.
576 * benchtests/bench-skeleton.c: Include json-lib.h.
577 (main): Use JSON library functions to do output of
578 benchmark results.
579 * benchtests/bench-timing-type.c (main): Output the
580 timing type simply, leaving formatting to the user.
581 * benchtests/json-lib.c: New file.
582 * benchtests/json-lib.h: Likewise.
583
36875b06
TR
5842014-04-11 Torvald Riegel <triegel@redhat.com>
585
586 [BZ #15215]
587 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
588 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
589 memory barriers. Add comments.
590 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
591 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
592 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
593 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
594 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
595 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
596
579db35a
SL
5972014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
598
599 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
600 * sysdeps/s390/s390-64/configure.ac: ... this ...
601 * sysdeps/s390/configure.ac: ... to here.
602 * sysdeps/s390/s390-32/configure: Delete file.
603 * sysdeps/s390/s390-64/configure: Delete file.
604 * sysdeps/s390/configure: Regenerate.
605
c12e9f37
JAPH
6062014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
607
608 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
609
439bda32
WN
6102014-04-11 Will Newton <will.newton@linaro.org>
611
612 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
613 to zero if it is not defined elsewhere. (mtrim): Test
614 the value of MALLOC_DEBUG with #if rather than #ifdef.
615
6a5d6ea1
TR
6162014-04-10 Torvald Riegel <triegel@redhat.com>
617
618 * benchtests/pthread_once-inputs: New file.
619 * benchtests/pthread_once-source.c: New file.
620 * benchtests/README: Update documentation.
621
a4c75cfd
IZ
6222014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
623 H.J. Lu <hongjiu.lu@intel.com>
624
625 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
626 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
627 * sysdeps/x86_64/configure: Regenerated.
628 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
629 macro.
630 (REGISTER_SAVE_RAX): Likewise.
631 (REGISTER_SAVE_RCX): Likewise.
632 (REGISTER_SAVE_RDX): Likewise.
633 (REGISTER_SAVE_RSI): Likewise.
634 (REGISTER_SAVE_RDI): Likewise.
635 (REGISTER_SAVE_R8): Likewise.
636 (REGISTER_SAVE_R9): Likewise.
637 (REGISTER_SAVE_BND0): Likewise.
638 (REGISTER_SAVE_BND1): Likewise.
639 (REGISTER_SAVE_BND2): Likewise.
640 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
641 bound registers when calling _dl_fixup.
642
27822ce6
AZ
6432014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
644
645 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
646 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
647 of its definition.
27822ce6
AZ
648 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
649 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
650 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
651 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
652 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
653 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
654 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
655
a88ddc90
PTB
6562014-04-09 Peter Brett <peter@peter-b.co.uk>
657
658 [BZ #15514]
659 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
660 pathconf(_PC_NAME_MAX).
661
01f8eac2
AZ
6622014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
663
664 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
665 Remove macro usage.
666 (__PTHREAD_SPINS): Move definition to ...
667 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
668 (__PTHREAD_SPINS): ... here.
669 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
670 (__PTHREAD_SPIN): Likewise.
671 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
672 (__PTHREAD_SPIN): Likewise.
673 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
674 (__PTHREAD_SPIN): Likewise.
675 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
676 (__PTHREAD_SPIN): Likewise.
677 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
678 (__PTHREAD_SPIN): Likewise.
679 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
680 (__PTHREAD_SPIN): Likewise.
681 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
682 (__PTHREAD_SPIN): Likewise.
683 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
684 (__PTHREAD_SPIN): Likewise.
685 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
686 (__PTHREAD_SPIN): Likewise.
687 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
688 (__PTHREAD_SPIN): Likewise.
689 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
690 (__PTHREAD_SPIN): Likewise.
691 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
692 (__PTHREAD_SPIN): Likewise.
693
de21c33c
AZ
694 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
695 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
696 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
697 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
698 imply folder.
699 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
700 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
701 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
702 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
703 correct imply path.
704 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
705 strlen symbol for non multi-arch builds.
706 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
707 missing hidden_def and weak_alias.
708
862c472e
CD
7092014-04-08 Carlos O'Donell <carlos@redhat.com>
710
711 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
712
8667f90e
WN
7132014-04-07 Will Newton <will.newton@linaro.org>
714
715 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
716 and contents. [!_LIBC] Remove #ifndef and contents.
717 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
718 * string/memccpy.c (__memccpy): Use ANSI prototype.
719 * string/memfrob.c (memfrob): Likewise.
720 * string/strcoll.c (STRCOLL): Likewise.
721 * string/strlen.c (strlen): Likewise.
722 * string/strtok.c (STRTOK): Likewise.
723 * string/strcat.c: Remove unused #include of memcopy.h.
724 (strcat): Use ANSI prototype.
725 * string/strchr.c: Remove unused #include of memcopy.h.
726 (strchr): Use ANSI prototype.
727 * string/strcmp.c: Remove unused #include of memcopy.h.
728 (strcmp): Use ANSI prototype.
729 * string/strcpy.c: Remove unused #include of memcopy.h.
730 (strcpy): Use ANSI prototype.
731
7ffa9423
AZ
7322014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
733
734 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
735 * config.make.in (config-extra-cppflags): Set it from
736 libc_extra_cppflags.
737 * configure.ac (libc_extra_cflags): Make it accumulate over
738 configure fragments.
739 (libc_extra_cppflags): New flag.
740 * configure. Regenerate.
741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
742 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
743 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
745
8bd70862
AZ
746 [BZ #16815]
747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
748 result for FE_DOWNWARD rounding mode.
749 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
750 Likewise.
751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
752
d42f3448
CM
7532014-04-04 Chris Metcalf <cmetcalf@tilera.com>
754
755 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
756 in function argument name.
757
1c21d115
DS
7582014-04-03 David Svoboda <svoboda@cert.org>
759
760 [BZ #5666]
761 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
762 explicitly.
763
fcccd512
RM
7642014-04-03 Roland McGrath <roland@hack.frob.com>
765
766 * elf/dl-unmap-segments.h: New file.
767 * sysdeps/generic/ldsodefs.h
768 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
769 * elf/dl-close.c: Include <dl-unmap-segments.h>.
770 * elf/dl-fptr.c: Likewise.
771 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
772 * sysdeps/aarch64/tlsdesc.c: Likewise.
773 * sysdeps/arm/tlsdesc.c: Likewise.
774 * sysdeps/i386/tlsdesc.c: Likewise.
775 * sysdeps/tile/dl-runtime.c: Likewise.
776 * sysdeps/x86_64/tlsdesc.c: Likewise.
777 * elf/dl-load.h: New file.
778 * elf/dl-load.c: Include it.
779 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
780 Macros moved to dl-load.h.
781 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
782 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
783 Use _dl_unmap_segments in place of __munmap.
784 Break out segment-mapping loop into ...
785 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
786
f6488e2b
WN
7872014-04-03 Will Newton <will.newton@linaro.org>
788
789 * elf/dl-lookup.c (do_lookup_x): Remove comment
790 referring to nested function and move variable
791 declarations down to before first use.
792
6f05bafe
JM
7932014-04-02 Joseph Myers <joseph@codesourcery.com>
794
a84e78c8
JM
795 [BZ #16799]
796 [BZ #16800]
797 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
798 with 0 numerator.
799 * math/s_catanf.c (__catanf): Likewise.
800 * math/s_catanh.c (__catanh): Likewise.
801 * math/s_catanhf.c (__catanhf): Likewise.
802 * math/s_catanhl.c (__catanhl): Likewise.
803 * math/s_catanl.c (__catanl): Likewise.
804 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
805 by positive zero when computing -Inf result.
806 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
807 (catanh_test): Likewise.
808 * sysdeps/i386/fpu/libm-test-ulps: Update.
809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
810
6f05bafe
JM
811 [BZ #16789]
812 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
813 instead of using underflowing value in computing result.
814 * math/s_clog10.c (__clog10): Likewise.
815 * math/s_clog10f.c (__clog10f): Likewise.
816 * math/s_clog10l.c (__clog10l): Likewise.
817 * math/s_clogf.c (__clogf): Likewise.
818 * math/s_clogl.c (__clogl): Likewise.
819 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
820 (clog10_test): Likewise.
821 * sysdeps/i386/fpu/libm-test-ulps: Update.
822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
823
b0abbc21
AM
8242014-04-02 Alan Modra <amodra@gmail.com>
825
826 [BZ #16739]
827 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
828 output when value is near a power of two. Use int64_t for lx and
829 remove casts. Use decimal rather than hex exponent constants.
830 Don't use long double multiplication when double will suffice.
831 * math/libm-test.inc (nextafter_test_data): Add tests.
832 * NEWS: Add 16739 and 16786 to bug list.
833
af6b1797
AM
834 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
835
483818d7
AM
836 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
837
f6c55796
WN
8382014-04-01 Will Newton <will.newton@linaro.org>
839
840 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
841 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
842
13f7fe35
FW
8432014-04-01 Florian Weimer <fweimer@redhat.com>
844
845 [BZ #13347]
846 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
847 * nptl/tst-setuid2.c: New file.
848 * nptl/Makefile (xtests): Add tst-setuid2.
849
c859b32e
AM
8502014-04-01 Alan Modra <amodra@gmail.com>
851
852 [BZ #16786]
853 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
854
54fa2475
JM
8552014-03-31 Joseph Myers <joseph@codesourcery.com>
856
8795b4a4
JM
857 [BZ #6803]
858 [BZ #6804]
859 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
860 set errno as appropriate.
861 * math/w_scalbf.c (__scalbf): Likewise.
862 * math/w_scalbl.c (__scalbl): Likewise.
863 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
864 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
865 * math/libm-test.inc (scalb_test_data): Add errno expectations.
866 Add more NaN tests.
867
54fa2475
JM
868 [BZ #16349]
869 * math/w_atan2.c: Include <errno.h>.
870 (__atan2): Set errno for result underflowing to zero.
871 * math/w_atan2f.c: Include <errno.h>.
872 (__atan2f): Set errno for result underflowing to zero.
873 * math/w_atan2l.c: Include <errno.h>.
874 (__atan2l): Set errno for result underflowing to zero.
875 * math/auto-libm-test-in: Don't allow missing errno for some atan2
876 tests.
877 * math/auto-libm-test-out: Regenerated.
878
757d9dd5
AZ
8792014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
880
881 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
882 Encode instruction correctly in little endian.
883 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
884 Likewise.
885 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
886 Likewise.
887 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
888 Likewise.
889 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
890 Likewise.
891
d7a68734
JM
8922014-03-31 Joseph Myers <joseph@codesourcery.com>
893
47c5adeb
JM
894 [BZ #9894]
895 * sysdeps/unix/sysv/linux/kernel-features.h
896 [__sparc__ && !__arch64__ && !__sparc_v9__]
897 (__ASSUME_SET_ROBUST_LIST): Do not define.
898 [__sparc__ && !__arch64__ && !__sparc_v9__]
899 (__ASSUME_FUTEX_LOCK_PI): Likewise.
900 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
901 Likewise.
902 * sysdeps/unix/sysv/linux/arm/kernel-features.h
903 (__ASSUME_FUTEX_LOCK_PI): Undefine.
904 (__ASSUME_REQUEUE_PI): Likewise.
905 (__ASSUME_SET_ROBUST_LIST): Likewise.
906 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
907 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
908 Undefine.
909 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
910 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
911 Likewise.
912 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
913 Likewise.
914 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
915 Likewise.
916 * sysdeps/unix/sysv/linux/mips/kernel-features.h
917 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
918 Undefine.
919 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
920 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
921 Likewise.
922
d7a68734
JM
923 [BZ #16648]
924 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
925 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
926 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
927
c760f5c2
WN
9282014-03-31 Will Newton <will.newton@linaro.org>
929
930 * benchtests/Makefile (bench): Add ffs and ffsll to list
931 of tests.
932 * benchtests/ffs-inputs: New file.
933 * benchtests/ffsll-inputs: Likewise.
934
ea6029b1
JM
9352014-03-29 Joseph Myers <joseph@codesourcery.com>
936
937 [BZ #16770]
938 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
939 too large before casting to int.
940 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
941 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
942 * math/libm-test.inc (scalb_test_data): Add more tests.
943
cf806aff
SP
9442014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
945
56737508
SP
946 * benchtests/Makefile (DETAILED_OPT): New make option.
947 (bench-func): Run benchmark program with -d if DETAILED_OPT is
948 set.
949 * benchtests/bench-skeleton.c: Include stdbool.h.
950 (main): Store and print timings per input.
951 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
952 member to each argument value.
953 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
954 (_print_arg_data): Initialize per-input timing to 0.
955
cb5e4aad
SP
956 * benchtests/Makefile (timing-type): New binary.
957 (bench-clean): Also remove bench-timing-type.
958 (bench): New target for timing-type.
959 (bench-func): Print output in JSON format.
960 * benchtests/bench-skeleton.c (main): Print output in JSON
961 format.
962 * benchtests/bench-timing-type.c: New file.
963 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
964 (TIMING_PRINT_STATS): Remove.
965 * benchtests/scripts/bench.py (_print_arg_data): Store variant
966 name separately.
967
cf806aff
SP
968 * benchtests/bench-modf.c: Remove.
969 * benchtests/modf-inputs: New inputs file.
970
289e0779
JM
9712014-03-28 Joseph Myers <joseph@codesourcery.com>
972
973 [BZ #16362]
974 * math/s_clog10.c (M_PI_LOG10E): New macro.
975 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
976 imaginary parts are 0.
977 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
978 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
979 imaginary parts are 0.
980 * math/s_clog10l.c (M_PI_LOG10El): New macro.
981 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
982 imaginary parts are 0.
983 * math/libm-test.inc (clog10_test_data): Update expected results
984 for when real and imaginary parts are 0.
985
277ae3f1
PP
9862014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
987
988 * elf/dl-load.c: Finish conversion of __builtin_expect into
989 __glibc_{un}likely.
990
03a7091f
JM
9912014-03-27 Joseph Myers <joseph@codesourcery.com>
992
993 [BZ #16348]
994 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
995 1+x for argument with exponent below -67.
996 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
997 Likewise.
998 * math/auto-libm-test-in: Add more tests of exp.
999 * math/auto-libm-test-out: Regenerated.
1000
ea7d8b95
SP
10012014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1002
dd3022d7
SP
1003 [BZ #16759]
1004 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1005 (nscd_getnetgrent): Use it.
1006
ea7d8b95
SP
1007 [BZ #16760]
1008 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1009 of stpcpy.
1010
df5b85da
AK
10112014-03-27 Andi Kleen <ak@linux.intel.com>
1012
57f41c40
AS
1013 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1014 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1015 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1016 (lll_robust_unlock): Remove out of line section. Use cfi
1017 intrinsics.
df5b85da 1018 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
1019 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1020 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1021 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1022 (lll_robust_unlock): Remove out of line section. Use cfi
1023 intrinsics.
df5b85da
AK
1024 (LLL_STUB_UNWIND_INFO*): Remove.
1025
fbd6b5a4
SP
10262014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1027
1028 [BZ #16758]
1029 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1030 blank values.
1031
1b26b855
PP
10322014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1033
1034 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1035
9be36fb8
JM
10362014-03-26 Joseph Myers <joseph@codesourcery.com>
1037
1038 [BZ #16198]
1039 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1040 fnstenv.
1041 * math/test-fenv-preserve.c: New file.
1042 * math/Makefile (tests): Add test-fenv-preserve.
1043
60a2f3c1
WN
10442014-03-26 Will Newton <will.newton@linaro.org>
1045
1046 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1047
a5e5f1e2
RM
10482014-03-25 Roland McGrath <roland@hack.frob.com>
1049
1050 * scripts/versionlist.awk: Partition the version sets and emit all
1051 GLIBC_* (sorted) before all others (sorted).
1052
00f4012a
JM
10532014-03-25 Joseph Myers <joseph@codesourcery.com>
1054
1055 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1056 GLIBC_2.2.5 version.
1057
7bc5a741
AZ
10582014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1059
1060 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1061 calls.
1062
7578473b
AZ
1063 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1064 previous change.
1065
f3f1dab3
AZ
1066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1067
6da36183
AS
10682014-03-25 Andreas Schwab <schwab@suse.de>
1069
1070 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1071 label to be used after in6ailist is initialized.
1072
f3f1dab3 10732014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 1074
7578473b 1075 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
1076 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1077
046651c1
JM
10782014-03-25 Joseph Myers <joseph@codesourcery.com>
1079
1080 [BZ #16357]
1081 [BZ #16599]
1082 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1083 min_plus_half.
1084 (fp_formats): Update initializers.
1085 (init_fp_formats): Initialize new field.
1086 (output_for_one_input_case): Allow underflow for results up to
1087 min_plus_half.
1088 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1089 * math/auto-libm-test-in: Don't mark some underflows from asin and
1090 atanh as spurious.
1091 * math/auto-libm-test-out: Regenerated.
1092 * sysdeps/i386/fpu/libm-test-ulps: Update.
1093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1094
003e49ed
AS
10952014-03-25 Andreas Schwab <schwab@suse.de>
1096
1097 * libio/Makefile (tst-ftell-partial-wide-ENV)
1098 (tst-ftell-active-handler-ENV): Define.
1099
de031874
SL
11002014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1101
1102 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1103
55a81e3b
PP
11042014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1105
1106 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1107
f3426898
JM
11082014-03-24 Joseph Myers <joseph@codesourcery.com>
1109
1110 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1111 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1112 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1113
a42faf59
PP
11142014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1115
1116 [BZ #16634]
a42faf59 1117 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
1118 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1119 (open_path): Change from boolean 'secure' to complete flag 'mode'
1120 (_dl_map_object): Adjust.
a42faf59
PP
1121 * elf/Makefile (tests): Add tst-dlopen-aout.
1122 * elf/tst-dlopen-aout.c: New test.
1123
50936127
SL
11242014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1125
1126 [BZ #16714]
1127 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1128 (struct stat): Rename member pad0 to __glibc_reserved0.
1129
26011b5c
SL
1130 [BZ #16712]
1131 * sysdeps/s390/s390-32/bits/wordsize.h
1132 (__WORDSIZE32_SIZE_ULONG): New define.
1133 * sysdeps/s390/s390-64/bits/wordsize.h
1134 (__WORDSIZE32_SIZE_ULONG): Likewise.
1135 * sysdeps/generic/stdint.h (SIZE_MAX):
1136 Define as UL if __WORDSIZE32_SIZE_ULONG.
1137
a2d86bf1
SL
1138 [BZ #16713]
1139 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1140 (__glibc_reserved0): New variable.
1141 (sa_flags): Change type to int.
1142
78b6eebc
SL
1143 * posix/Makefile (before-compile): Use += before-compile instead
1144 of a :=.
1145
f1399b5a
SL
1146 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1147 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1148
a071766e
AS
11492014-03-20 Andreas Schwab <schwab@suse.de>
1150
1151 [BZ #16743]
1152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1153 non-matching result from nscd.
1154
27c673b8
SP
11552014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1156
1157 * scripts/bench.py: Moved to ...
1158 * benchtests/scripts/bench.py: ... here.
1159 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1160
44152e4b
AS
11612014-03-24 Andreas Schwab <schwab@suse.de>
1162
1163 [BZ #16002]
1164 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1165 alloca_account and account alloca use for struct in6ailist.
1166
b376a11a
JM
11672014-03-24 Joseph Myers <joseph@codesourcery.com>
1168
1169 [BZ #16284]
1170 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1171 rounding mode to recompute results that overflow to infinity or
1172 underflow to zero.
1173 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1174 bug 16284.
1175 * math/auto-libm-test-out: Regenerated.
1176 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1177 (ccosh_test): Likewise.
1178 (csin_test_data): Use plus_oflow.
1179 (csin_test): Use ALL_RM_TEST.
1180 (csinh_test_data): Use plus_oflow.
1181 (csinh_test): Use ALL_RM_TEST.
1182 * sysdeps/i386/fpu/libm-test-ulps: Update.
1183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1184
f7be7376
JM
11852014-03-21 Joseph Myers <joseph@codesourcery.com>
1186
1ca2d03e
JM
1187 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1188 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1189 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1190
f7be7376
JM
1191 [BZ #16731]
1192 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1193 when x - 1 is zero.
1194 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1195 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1196 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1197 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1198 argument is 1.
1199 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1200 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1201 zero.
1202 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1203 * sysdeps/i386/fpu/libm-test-ulps: Update.
1204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1205
fdf4534d
SP
12062014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1207
df26ea53
SP
1208 * scripts/bench.pl: Remove file.
1209 * scripts/bench.py: New benchmark script.
1210 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1211 * benchtests/README: Mention python dependency.
1212 * scripts/pylintrc: New file.
1213 * scripts/pylint: New file.
1214
fdf4534d
SP
1215 * bits/mathdef.h: Use #ifdef instead of #if.
1216 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1217 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1218 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1219 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1220 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1221 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1222
6f23d093
AZ
12232014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1224 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1225
1226 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1228 and strpbrk-ppc64 objects.
1229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1230 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1231 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1232 multiarch strpbrk for POWER7.
1233 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1234 multiarch strpbrk for PPC64.
1235 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1236 ifunc selector.
1237 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1238 strpbrk for POWER7.
1239
8c92dfff
JM
12402014-03-20 Joseph Myers <joseph@codesourcery.com>
1241
1242 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1243 (atan_test): Likewise.
1244 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1245 (atanh_test): Use ALL_RM_TEST.
1246 (atan2_test_data): Likewise.
1247 (cabs_test): Likewise.
1248 (cacosh_test): Likewise.
1249 (carg_test): Likewise.
1250 (casin_test): Likewise.
1251 (casinh_test): Likewise.
1252 (cbrt_test): Likewise.
1253 (csqrt_test): Likewise.
1254 (erf_test): Likewise.
1255 (erfc_test): Likewise.
1256 (pow10_test): Likewise.
1257 (exp2_test): Likewise.
1258 (hypot_test): Likewise.
1259 (j0_test): Likewise.
1260 (j1_test): Likewise.
1261 (lgamma_test): Likewise.
1262 (gamma_test): Likewise.
1263 (sincos_test): Likewise.
1264 (tanh_test): Likewise.
1265 (y0_test): Likewise.
1266 (y1_test): Likewise.
1267 * sysdeps/i386/fpu/libm-test-ulps: Update.
1268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1269
6eaf95cb
AZ
12702014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1271
a387428c
SP
1272 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1274 and strcspn-ppc64 objects.
1275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1276 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1277 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1278 multiarch strcspn for POWER7.
1279 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1280 multiarch strcspn for PPC64.
1281 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1282 ifunc selector.
1283 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1284 strcspn for POWER7.
1285
ae3a5dff
JM
12862014-03-20 Joseph Myers <joseph@codesourcery.com>
1287
1288 * math/gen-libm-test.pl (generate_testfile): Expect only function
1289 name as argument to AUTO_TESTS_* and pass results for all rounding
1290 modes to parse_args.
1291 (parse_auto_input): Separate inputs of automatic tests from
1292 outputs before storing in %auto_tests.
1293 * math/libm-test.inc (acos_test_data): Update call to
1294 AUTO_TESTS_f_f.
1295 (acos_test): Use ALL_RM_TEST.
1296 (acos_tonearest_test_data): Remove.
1297 (acos_test_tonearest): Likewise.
1298 (acos_towardzero_test_data): Likewise.
1299 (acos_test_towardzero): Likewise.
1300 (acos_downward_test_data): Likewise.
1301 (acos_test_downward): Likewise.
1302 (acos_upward_test_data): Likewise.
1303 (acos_test_upward): Likewise.
1304 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1305 (asin_test_data): Likewise.
1306 (asin_test): Use ALL_RM_TEST.
1307 (asin_tonearest_test_data): Remove.
1308 (asin_test_tonearest): Likewise.
1309 (asin_towardzero_test_data): Likewise.
1310 (asin_test_towardzero): Likewise.
1311 (asin_downward_test_data): Likewise.
1312 (asin_test_downward): Likewise.
1313 (asin_upward_test_data): Likewise.
1314 (asin_test_upward): Likewise.
1315 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1316 (atan_test_data): Likewise.
1317 (atanh_test_data): Likewise.
1318 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1319 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1320 (carg_test_data): Likewise.
1321 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1322 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1323 (ccosh_test_data): Likewise.
1324 (cexp_test_data): Likewise.
1325 (clog_test_data): Likewise.
1326 (clog10_test_data): Likewise.
1327 (cos_test_data): Update call to AUTO_TESTS_f_f.
1328 (cos_test): Use ALL_RM_TEST.
1329 (cos_tonearest_test_data): Remove.
1330 (cos_test_tonearest): Likewise.
1331 (cos_towardzero_test_data): Likewise.
1332 (cos_test_towardzero): Likewise.
1333 (cos_downward_test_data): Likewise.
1334 (cos_test_downward): Likewise.
1335 (cos_upward_test_data): Likewise.
1336 (cos_test_upward): Likewise.
1337 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1338 (cosh_test): Use ALL_RM_TEST.
1339 (cosh_tonearest_test_data): Remove.
1340 (cosh_test_tonearest): Likewise.
1341 (cosh_towardzero_test_data): Likewise.
1342 (cosh_test_towardzero): Likewise.
1343 (cosh_downward_test_data): Likewise.
1344 (cosh_test_downward): Likewise.
1345 (cosh_upward_test_data): Likewise.
1346 (cosh_test_upward): Likewise.
1347 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1348 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1349 (ctan_test_data): Likewise.
1350 (ctan_test): Use ALL_RM_TEST.
1351 (ctan_tonearest_test_data): Remove.
1352 (ctan_test_tonearest): Likewise.
1353 (ctan_towardzero_test_data): Likewise.
1354 (ctan_test_towardzero): Likewise.
1355 (ctan_downward_test_data): Likewise.
1356 (ctan_test_downward): Likewise.
1357 (ctan_upward_test_data): Likewise.
1358 (ctan_test_upward): Likewise.
1359 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1360 (ctanh_test): Use ALL_RM_TEST.
1361 (ctanh_tonearest_test_data): Remove.
1362 (ctanh_test_tonearest): Likewise.
1363 (ctanh_towardzero_test_data): Likewise.
1364 (ctanh_test_towardzero): Likewise.
1365 (ctanh_downward_test_data): Likewise.
1366 (ctanh_test_downward): Likewise.
1367 (ctanh_upward_test_data): Likewise.
1368 (ctanh_test_upward): Likewise.
1369 (erf_test_data): Update call to AUTO_TESTS_f_f.
1370 (erfc_test_data): Likewise.
1371 (exp_test_data): Likewise.
1372 (exp_test): Use ALL_RM_TEST.
1373 (exp_tonearest_test_data): Remove.
1374 (exp_test_tonearest): Likewise.
1375 (exp_towardzero_test_data): Likewise.
1376 (exp_test_towardzero): Likewise.
1377 (exp_downward_test_data): Likewise.
1378 (exp_test_downward): Likewise.
1379 (exp_upward_test_data): Likewise.
1380 (exp_test_upward): Likewise.
1381 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1382 (exp10_test): Use ALL_RM_TEST.
1383 (exp10_tonearest_test_data): Remove.
1384 (exp10_test_tonearest): Likewise.
1385 (exp10_towardzero_test_data): Likewise.
1386 (exp10_test_towardzero): Likewise.
1387 (exp10_downward_test_data): Likewise.
1388 (exp10_test_downward): Likewise.
1389 (exp10_upward_test_data): Likewise.
1390 (exp10_test_upward): Likewise.
1391 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1392 (expm1_test_data): Likewise.
1393 (expm1_test): Use ALL_RM_TEST.
1394 (expm1_tonearest_test_data): Remove.
1395 (expm1_test_tonearest): Likewise.
1396 (expm1_towardzero_test_data): Likewise.
1397 (expm1_test_towardzero): Likewise.
1398 (expm1_downward_test_data): Likewise.
1399 (expm1_test_downward): Likewise.
1400 (expm1_upward_test_data): Likewise.
1401 (expm1_test_upward): Likewise.
1402 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1403 (fma_test): Use ALL_RM_TEST.
1404 (fma_towardzero_test_data): Remove.
1405 (fma_test_towardzero): Likewise.
1406 (fma_downward_test_data): Likewise.
1407 (fma_test_downward): Likewise.
1408 (fma_upward_test_data): Likewise.
1409 (fma_test_upward): Likewise.
1410 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1411 (j0_test_data): Update call to AUTO_TESTS_f_f.
1412 (j1_test_data): Likewise.
1413 (jn_test_data): Update call to AUTO_TESTS_if_f.
1414 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1415 (log_test_data): Update call to AUTO_TESTS_f_f.
1416 (log10_test_data): Likewise.
1417 (log1p_test_data): Likewise.
1418 (log2_test_data): Likewise.
1419 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1420 (pow_tonearest_test_data): Likewise.
1421 (sin_test_data): Update call to AUTO_TESTS_f_f.
1422 (sin_test): Use ALL_RM_TEST.
1423 (sin_tonearest_test_data): Remove.
1424 (sin_test_tonearest): Likewise.
1425 (sin_towardzero_test_data): Likewise.
1426 (sin_test_towardzero): Likewise.
1427 (sin_downward_test_data): Likewise.
1428 (sin_test_downward): Likewise.
1429 (sin_upward_test_data): Likewise.
1430 (sin_test_upward): Likewise.
1431 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1432 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1433 (sinh_test): Use ALL_RM_TEST.
1434 (sinh_tonearest_test_data): Remove.
1435 (sinh_test_tonearest): Likewise.
1436 (sinh_towardzero_test_data): Likewise.
1437 (sinh_test_towardzero): Likewise.
1438 (sinh_downward_test_data): Likewise.
1439 (sinh_test_downward): Likewise.
1440 (sinh_upward_test_data): Likewise.
1441 (sinh_test_upward): Likewise.
1442 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1443 (sqrt_test): Use ALL_RM_TEST.
1444 (sqrt_tonearest_test_data): Remove.
1445 (sqrt_test_tonearest): Likewise.
1446 (sqrt_towardzero_test_data): Likewise.
1447 (sqrt_test_towardzero): Likewise.
1448 (sqrt_downward_test_data): Likewise.
1449 (sqrt_test_downward): Likewise.
1450 (sqrt_upward_test_data): Likewise.
1451 (sqrt_test_upward): Likewise.
1452 (tan_test_data): Update call to AUTO_TESTS_f_f.
1453 (tan_test): Use ALL_RM_TEST.
1454 (tan_tonearest_test_data): Remove.
1455 (tan_test_tonearest): Likewise.
1456 (tan_towardzero_test_data): Likewise.
1457 (tan_test_towardzero): Likewise.
1458 (tan_downward_test_data): Likewise.
1459 (tan_test_downward): Likewise.
1460 (tan_upward_test_data): Likewise.
1461 (tan_test_upward): Likewise.
1462 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1463 (tgamma_test_data): Likewise.
1464 (y0_test_data): Likewise.
1465 (y1_test_data): Likewise.
1466 (yn_test_data): Update call to AUTO_TESTS_if_f.
1467 (main): Do not call removed functions.
1468
d71aeee8
JM
14692014-03-19 Joseph Myers <joseph@codesourcery.com>
1470
1471 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1472 (ldexp_test_data): Remove.
1473 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1474 scalbn_test_data.
1475 (scalb_test): Use ALL_RM_TEST.
1476
baaf1ded
AS
14772014-03-19 Andreas Schwab <schwab@suse.de>
1478
1479 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1480
b1115e91
JM
14812014-03-19 Joseph Myers <joseph@codesourcery.com>
1482
1483 [BZ #16649]
1484 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1485 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1486 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1487 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1488 (__ASSUME_PREADV): Undefine.
1489 (__ASSUME_PWRITEV): Likewise.
1490
0283ecca
RM
14912014-03-18 Roland McGrath <roland@hack.frob.com>
1492
7d375303
RM
1493 * bits/mman-linux.h: Add comment about non-Linux use.
1494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1495 bits/mman-linux.h resting place.
1496
0283ecca
RM
1497 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1498 * bits/mman-linux.h: ... here.
1499
aebe1003
AZ
15002014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1501
1502 * conform/conformtest.pl: Add standard definition when calling C
1503 preprocessor on data files.
1504 (checknamespace): Remove unused variable.
1505
b29b6bb8
JM
15062014-03-18 Joseph Myers <joseph@codesourcery.com>
1507
1508 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1509 minus_oflow, plus_uflow and minus_uflow in expected results.
1510 * math/libm-test.inc (scalbn_test_data): Add more tests of
1511 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1512 minus_uflow.
1513 (scalbn_test): Use ALL_RM_TEST.
1514 (scalbln_test_data): Add more tests of negative arguments. Use
1515 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1516 (scalbln_test): Use ALL_RM_TEST.
1517
c8f8fa15
RM
15182014-03-18 Roland McGrath <roland@hack.frob.com>
1519
1520 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1521
fede7a5f
WN
15222014-03-18 Will Newton <will.newton@linaro.org>
1523
1524 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1525 inaccurate comment.
1526
80cf0a58
JM
15272014-03-18 Joseph Myers <joseph@codesourcery.com>
1528
1529 * Makerules [!subdir] (check-abi): Exit with error status if a
1530 test failed.
1531
b3620862
JM
15322014-03-17 Joseph Myers <joseph@codesourcery.com>
1533
1534 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1535 for rint. Include results for all rounding modes.
1536 (nearbyint_test): Use ALL_RM_TEST.
1537 (rint_test_data): Include all tests used for nearbyint.
1538
788bba36
WN
15392014-03-17 Will Newton <will.newton@linaro.org>
1540
04ec140a
WN
1541 * nptl/sysdeps/pthread/pthread.h: Revert previous
1542 change.
1543
7579d8d5
WN
1544 * sysdeps/generic/ldsodefs.h: Revert previous
1545 change.
1546
c15cf13a
WN
1547 * libio/genops.c: Revert previous change.
1548 * libio/libioP.h: Likewise.
1549 * stdio-common/vfprintf.c: Likewise.
1550
d0ac1324
WN
1551 * sysdeps/generic/math_private.h: Revert previous
1552 change.
1553
9290130a
WN
1554 * sysdeps/generic/math_private.h: Check whether
1555 HAVE_RM_CTX is defined with #ifdef rather
1556 than #if.
1557
afb466fc
WN
1558 * argp/argp-fmtstream.h: Check whether
1559 __STRICT_ANSI__ is defined with #ifdef rather
1560 than #if.
1561 * argp/argp.h: Likewise.
1562
f7efd7c3
WN
1563 * libio/genops.c: Check whether
1564 _IO_JUMPS_OFFSET is defined with #ifdef rather
1565 than #if.
1566 * libio/libioP.h: Likewise.
1567 * stdio-common/vfprintf.c: Likewise.
1568
53f1bed3
WN
1569 * sysdeps/generic/ldsodefs.h: Check whether
1570 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1571 than #if.
1572
788bba36
WN
1573 * nptl/sysdeps/pthread/pthread.h: Check
1574 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1575 its value.
1576
fcd89ebe
SP
15772014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1578
ae42bbc5
SP
1579 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1580 setting O_APPEND.
1581 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1582 test case.
1583
ea33158c
SP
1584 [BZ #16680]
1585 * libio/fileops.c (_IO_file_open): Seek to end of file but
1586 don't cache the offset.
1587 (get_file_offset): Remove function.
1588 (do_ftell): Use cached offset when available.
1589 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1590 don't cache the offset.
1591 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1592 case.
1593 (do_one_test): Call it.
1594 (do_ftell_test): Fix up expected old offset for a+ mode.
1595 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1596 available.
1597
b1dbb426
SP
1598 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1599 up test status with function return status.
1600 (do_write_test): Likewise.
1601 (do_append_test): Likewise.
1602
fcd89ebe
SP
1603 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1604 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1605 Remove.
1606
9962a2d3
JM
16072014-03-17 Joseph Myers <joseph@codesourcery.com>
1608
1609 * math/gen-libm-test.pl (parse_args): Handle results specified for
1610 each rounding mode separately.
1611 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1612 tests and results from lrint_tonearest_test_data,
1613 lrint_towardzero_test_data, lrint_downward_test_data and
1614 lrint_upward_test_data.
1615 (lrint_test): Use ALL_RM_TEST.
1616 (lrint_tonearest_test_data): Remove.
1617 (lrint_test_tonearest): Likewise.
1618 (lrint_towardzero_test_data): Likewise.
1619 (lrint_test_towardzero): Likewise.
1620 (lrint_downward_test_data): Likewise.
1621 (lrint_test_downward): Likewise.
1622 (lrint_upward_test_data): Likewise.
1623 (lrint_test_upward): Likewise.
1624 (llrint_test_data): Merge in per-rounding-mode tests and results
1625 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1626 llrint_downward_test_data and llrint_upward_test_data.
1627 (llrint_test): Use ALL_RM_TEST.
1628 (llrint_tonearest_test_data): Remove.
1629 (llrint_test_tonearest): Likewise.
1630 (llrint_towardzero_test_data): Likewise.
1631 (llrint_test_towardzero): Likewise.
1632 (llrint_downward_test_data): Likewise.
1633 (llrint_test_downward): Likewise.
1634 (llrint_upward_test_data): Likewise.
1635 (llrint_test_upward): Likewise.
1636 (rint_test_data): Merge in per-rounding-mode tests and results
1637 from rint_tonearest_test_data, rint_towardzero_test_data,
1638 rint_downward_test_data and rint_upward_test_data. Add
1639 per-rounding-mode results for tests not in those arrays.
1640 (rint_test): Use ALL_RM_TEST.
1641 (rint_tonearest_test_data): Remove.
1642 (rint_test_tonearest): Likewise.
1643 (rint_towardzero_test_data): Likewise.
1644 (rint_test_towardzero): Likewise.
1645 (rint_downward_test_data): Likewise.
1646 (rint_test_downward): Likewise.
1647 (rint_upward_test_data): Likewise.
1648 (rint_test_upward): Likewise.
1649 (main): Don't call removed functions.
1650
5006148e
RM
16512014-03-14 Roland McGrath <roland@hack.frob.com>
1652
1653 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1654 "Compiled on ..." crapola. It is anti-useful.
1655
d6fe5e58
JM
16562014-03-14 Joseph Myers <joseph@codesourcery.com>
1657
1658 * scripts/evaluate-test.sh: Handle fourth argument to determine
1659 whether test run should stop on failure.
1660 * Makeconfig (stop-on-test-failure): New variable.
1661 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1662 $(stop-on-test-failure).
1663 * Makefile (tests): Give a summary of results from testing and
1664 exit with failure status if they include an ERROR or FAIL.
1665 (xtests): Likewise.
1666 * manual/install.texi (Configuring and compiling): Mention
1667 stop-on-test-failure=y.
1668 * INSTALL: Regenerated.
1669
498a2233
RM
16702014-03-14 Roland McGrath <roland@hack.frob.com>
1671
22dbc19d
RM
1672 * scripts/versionlist.awk: New file.
1673 * Makerules [$(build-shared) = yes]
1674 (postclean-generated): Add Versions.def, not Versions.def.v and
1675 Versions.def.v.i.
1676 ($(common-objpfx)Versions.def.v.i): Target removed.
1677 ($(common-objpfx)Versions.def): New target.
1678 ($(common-objpfx)Versions.all): Depend on that rather that
1679 $(common-objpfx)Versions.def.v.
1680 * Versions.def: File removed.
1681
498a2233
RM
1682 * Makeconfig (+gccwarn): Add -Wundef.
1683 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1684 a dl-sysdep.h breaking its contract.
1685 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1686 * include/stackinfo.h: New file.
1687 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1688 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1689 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1690 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1691 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1692 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1693 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1694 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1695 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1696 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1697 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1698 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1699 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1700 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1701 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1702
c7de5025
AZ
17032014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1704
1705 [BZ #16707]
1706 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1707 implementation.
1708 * math/libm-test.inc (round_test_data): Add more tests.
1709
98fb27a3
AZ
1710 [BZ #16706]
1711 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1712 implementation.
1713 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1714
374f7f61
AZ
1715 [BZ #16701]
1716 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1717 implementation.
1718 * math/libm-test.inc (ceil_test_data): Add more tests.
1719
4655c291
AZ
1720 * math/libm-test.inc (trunc_test_data): Add more tests related to
1721 BZ#16414.
1722
d7329d4b
RM
17232014-03-14 Roland McGrath <roland@hack.frob.com>
1724
1725 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1726 with #if rather than #ifdef.
1727 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1728
aa4de9ce
L
17292014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1730
1731 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1732 first. Disable AVX-512 GCC support if assembler doesn't support
1733 it.
1734 * sysdeps/x86_64/configure: Regenerated.
1735
2e03fae7
CD
17362014-03-13 Carlos O'Donell <carlos@redhat.com>
1737
1738 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1739 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1740 (__old_pthread_attr_setstack): Likewise.
1741 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1742 [!_STACK_GROWS_DOWN]: Likewise.
1743
43ca83ec
MF
17442014-03-13 Mike Frysinger <vapier@gentoo.org>
1745
1746 * config.make.in (have-bash2): Delete.
1747 * configure.ac (libc_cv_have_bash2): Delete.
1748 * configure: Regenerate.
1749 * elf/Makefile (common-ldd-rewrite): Rename to ...
1750 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1751 (sh-ldd-rewrite): Delete.
1752 (bash-ldd-rewrite): Delete.
1753 (have-bash2): Delete checks.
57f41c40
AS
1754 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1755 ldd-rewrite.
c66e48b4
MF
1756
1757 * config.make.in (have-ksh): Delete.
1758 (KSH): Delete.
1759 * configure.ac (libc_cv_have_ksh): Delete.
1760 * configure: Regenerate.
1761
b93834ef
MF
1762 * elf/Makefile: Delete $(have-ksh) check.
1763 ($(objpfx)sotruss): Change KSH to BASH.
1764 * elf/sotruss.ksh: Rename to ...
1765 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1766 function style to match POSIX. Drop ksh vim mode setting.
1767
f3a4632a
MF
1768 * manual/time.texi (Specifying the Time Zone with TZ): Change
1769 Tuesday to Thursday.
1770
5896c8bd
MF
1771 * debug/tst-longjmp_chk2.c: Update header comment.
1772 (stackoverflow_handler): Add comment. Call assert on pass value.
1773
2d63a517
IZ
17742014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1775
1776 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1777 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1778 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1779 (La_x86_64_vector): Add zmm.
1780 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1781 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1782 ($(objpfx)tst-audit10): New target.
1783 ($(objpfx)tst-audit10.out): Likewise.
1784 (tst-audit10-ENV): New.
1785 (AVX512-CFLAGS): Likewise.
1786 (CFLAGS-tst-audit10.c): Likewise.
1787 (CFLAGS-tst-auditmod10a.c): Likewise.
1788 (CFLAGS-tst-auditmod10b.c): Likewise.
1789 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1790 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1791 * sysdeps/x86_64/configure: Regenerated.
1792 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1793 AVX-512 zmm register support.
1794 (_dl_x86_64_save_sse): Likewise.
1795 (_dl_x86_64_restore_sse): Likewise.
1796 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1797 size vector registers.
1798 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1799 (ZMM_SIZE): Likewise.
1800 * sysdeps/x86_64/tst-audit10.c: New file.
1801 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1802 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1803
44c4e5d5
RM
18042014-03-13 Roland McGrath <roland@hack.frob.com>
1805
1806 * configure.ac (HAVE_EHDR_START): New check.
1807 * configure: Regenerated.
1808 * config.h.in (HAVE_EHDR_START): New #undef.
1809 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1810 assuming the lowest-addressed segment maps the start of the file.
1811
acd6e389
JM
18122014-03-13 Joseph Myers <joseph@codesourcery.com>
1813
1814 * INSTALL: Regenerated.
1815
6f918f36
WN
18162014-03-13 Will Newton <will.newton@linaro.org>
1817
1818 * manual/setjmp.texi (System V contexts): Improve
1819 clarity and grammar of documentation.
1820
798212a0
PP
18212014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1822
1823 [BZ #16381]
798212a0 1824 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1825 (tests-pie): Add tst-pie2.
798212a0
PP
1826 * elf/tst-pie2.c: New file.
1827 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1828 for ET_EXEC.
1829 * elf/rtld.c (map_doit): Load executable as lt_executable.
1830 (dl_main): Likewise.
1831
abe6d90c
JM
18322014-03-12 Joseph Myers <joseph@codesourcery.com>
1833
1834 [BZ #16642]
1835 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1836 (__ASSUME_PSELECT): Undefine.
1837
dd3946c6
AZ
18382014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1839
1840 [BZ #16689]
1841 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1842 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1843 static build.
1844 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1845 selector for static builds.
1846
c44496df
SP
18472014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1848
1849 [BZ #16695]
1850 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1851 key in the buffer.
1852
27c7220a
AZ
18532014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1854
57f41c40
AS
1855 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1856 IFUNC selector for static builds.
27c7220a 1857
600fa361
JM
18582014-03-11 Joseph Myers <joseph@codesourcery.com>
1859
76c96cf7
JM
1860 * sysdeps/mips/math_private.h [__mips_hard_float]
1861 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1862 libc_feresetround_mips_ctx.
1863 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1864 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1865 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1866
600fa361
JM
1867 [BZ #16677]
1868 * math/s_nextafter.c (__nextafter): Do not return value from
1869 overflowing computation.
1870 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1871 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1872 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1873 Likewise.
1874 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1875 Likewise.
1876 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1877 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1878
d7706c32
RM
18792014-03-11 Roland McGrath <roland@hack.frob.com>
1880
1881 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1882 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1883 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1884 the new mov targetting sp.
1885
4facea47
AZ
18862014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1887
1888 [BZ #16683]
1889 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1890 Define it for static builds as well.
1891 (NO_BZERO_IMPL): Likewise.
1892
e65caf1f
VR
18932014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1894
1895 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1896 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1897 multiarch strspn for PPC64.
1898 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1899 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1901 (__libc_ifunc_impl_list): Likewise.
1902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1903 multiarch optimizations
1904 * string/strspn.c (strspn): Using macro to redefine symbol name.
1905
ba9cc071
AZ
19062014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1907 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1908
1909 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1910 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1911 multiarch strncat for PPC64.
1912 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1913 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1915 (__libc_ifunc_impl_list): Likewise.
1916 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1917 multiarch optimizations
1918
8b4ff974
SP
19192014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1920
1921 [BZ #16639]
1922 * nscd/nscd.service: Make service type forking.
1923
54b46a4b
AZ
19242014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1925
1926 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1927 sign in non default rounding modes.
1928 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1929
e9996ef7
JM
19302014-03-08 Joseph Myers <joseph@codesourcery.com>
1931
1932 * math/libm-test.inc (ALL_RM_TEST): New macro.
1933 (ceil_test): Use ALL_RM_TEST.
1934 (cimag_test): Likewise.
1935 (conj_test): Likewise.
1936 (copysign_test): Likewise.
1937 (cproj_test): Likewise.
1938 (creal_test): Likewise.
1939 (fabs_test): Likewise.
1940 (floor_test): Likewise.
1941 (fmax_test): Likewise.
1942 (fmin_test): Likewise.
1943 (fmod_test): Likewise.
1944 (fpclassify_test): Likewise.
1945 (frexp_test): Likewise.
1946 (ilogb_test): Likewise.
1947 (isfinite_test): Likewise.
1948 (finite_test): Likewise.
1949 (isgreater_test): Likewise.
1950 (isgreaterequal_test): Likewise.
1951 (isinf_test): Likewise.
1952 (isless_test): Likewise.
1953 (islessequal_test): Likewise.
1954 (islessgreater_test): Likewise.
1955 (isnan_test): Likewise.
1956 (isnormal_test): Likewise.
1957 (issignaling_test): Likewise.
1958 (isunordered_test): Likewise.
1959 (logb_test): Likewise.
1960 (logb_downward_test_data): Remove.
1961 (logb_test_downward): Likewise.
1962 (lround_test): Use ALL_RM_TEST.
1963 (llround_test): Likewise.
1964 (modf_test): Likewise.
1965 (nexttoward_test): Likewise.
1966 (remainder_test): Likewise.
1967 (drem_test): Likewise.
1968 (remainder_tonearest_test_data): Likewise.
1969 (remainder_test_tonearest): Likewise.
1970 (drem_test_tonearest): Likewise.
1971 (remainder_towardzero_test_data): Likewise.
1972 (remainder_test_towardzero): Likewise.
1973 (drem_test_towardzero): Likewise.
1974 (remainder_downward_test_data): Likewise.
1975 (remainder_test_downward): Likewise.
1976 (drem_test_downward): Likewise.
1977 (remainder_upward_test_data): Likewise.
1978 (remainder_test_upward): Likewise.
1979 (drem_test_upward): Likewise.
1980 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1981 (round_test): Use ALL_RM_TEST.
1982 (signbit_test): Likewise.
1983 (trunc_test): Likewise.
1984 (significand_test): Likewise.
1985 (main): Don't call removed functions.
1986
bc61d27c
JM
19872014-03-07 Joseph Myers <joseph@codesourcery.com>
1988
5c780849
JM
1989 [BZ #16674]
1990 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1991 || __USE_XOPEN2K8].
1992 (ILL_ILLOPN): Likewise.
1993 (ILL_ILLADR): Likewise.
1994 (ILL_ILLTRP): Likewise.
1995 (ILL_PRVOPC): Likewise.
1996 (ILL_PRVREG): Likewise.
1997 (ILL_COPROC): Likewise.
1998 (ILL_BADSTK): Likewise.
1999 (FPE_INTDIV): Likewise.
2000 (FPE_INTOVF): Likewise.
2001 (FPE_FLTDIV): Likewise.
2002 (FPE_FLTOVF): Likewise.
2003 (FPE_FLTUND): Likewise.
2004 (FPE_FLTRES): Likewise.
2005 (FPE_FLTINV): Likewise.
2006 (FPE_FLTSUB): Likewise.
2007 (SEGV_MAPERR): Likewise.
2008 (SEGV_ACCERR): Likewise.
2009 (BUS_ADRALN): Likewise.
2010 (BUS_ADRERR): Likewise.
2011 (BUS_OBJERR): Likewise.
2012 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2013 (TRAP_TRACE): Likewise.
2014 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2015 __USE_XOPEN2K8].
2016 (CLD_KILLED): Likewise.
2017 (CLD_DUMPED): Likewise.
2018 (CLD_TRAPPED): Likewise.
2019 (CLD_STOPPED): Likewise.
2020 (CLD_CONTINUED): Likewise.
2021 (POLL_IN): Likewise.
2022 (POLL_OUT): Likewise.
2023 (POLL_MSG): Likewise.
2024 (POLL_ERR): Likewise.
2025 (POLL_PRI): Likewise.
2026 (POLL_HUP): Likewise.
2027 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2028 Likewise.
2029 (ILL_ILLOPN): Likewise.
2030 (ILL_ILLADR): Likewise.
2031 (ILL_ILLTRP): Likewise.
2032 (ILL_PRVOPC): Likewise.
2033 (ILL_PRVREG): Likewise.
2034 (ILL_COPROC): Likewise.
2035 (ILL_BADSTK): Likewise.
2036 (FPE_INTDIV): Likewise.
2037 (FPE_INTOVF): Likewise.
2038 (FPE_FLTDIV): Likewise.
2039 (FPE_FLTOVF): Likewise.
2040 (FPE_FLTUND): Likewise.
2041 (FPE_FLTRES): Likewise.
2042 (FPE_FLTINV): Likewise.
2043 (FPE_FLTSUB): Likewise.
2044 (SEGV_MAPERR): Likewise.
2045 (SEGV_ACCERR): Likewise.
2046 (BUS_ADRALN): Likewise.
2047 (BUS_ADRERR): Likewise.
2048 (BUS_OBJERR): Likewise.
2049 (BUS_MCEERR_AR): Likewise.
2050 (BUS_MCEERR_AO): Likewise.
2051 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2052 (TRAP_TRACE): Likewise.
2053 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2054 __USE_XOPEN2K8].
2055 (CLD_KILLED): Likewise.
2056 (CLD_DUMPED): Likewise.
2057 (CLD_TRAPPED): Likewise.
2058 (CLD_STOPPED): Likewise.
2059 (CLD_CONTINUED): Likewise.
2060 (POLL_IN): Likewise.
2061 (POLL_OUT): Likewise.
2062 (POLL_MSG): Likewise.
2063 (POLL_ERR): Likewise.
2064 (POLL_PRI): Likewise.
2065 (POLL_HUP): Likewise.
2066 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2067 (ILL_ILLOPN): Likewise.
2068 (ILL_ILLADR): Likewise.
2069 (ILL_ILLTRP): Likewise.
2070 (ILL_PRVOPC): Likewise.
2071 (ILL_PRVREG): Likewise.
2072 (ILL_COPROC): Likewise.
2073 (ILL_BADSTK): Likewise.
2074 (FPE_INTDIV): Likewise.
2075 (FPE_INTOVF): Likewise.
2076 (FPE_FLTDIV): Likewise.
2077 (FPE_FLTOVF): Likewise.
2078 (FPE_FLTUND): Likewise.
2079 (FPE_FLTRES): Likewise.
2080 (FPE_FLTINV): Likewise.
2081 (FPE_FLTSUB): Likewise.
2082 (SEGV_MAPERR): Likewise.
2083 (SEGV_ACCERR): Likewise.
2084 (BUS_ADRALN): Likewise.
2085 (BUS_ADRERR): Likewise.
2086 (BUS_OBJERR): Likewise.
2087 (BUS_MCEERR_AR): Likewise.
2088 (BUS_MCEERR_AO): Likewise.
2089 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2090 (TRAP_TRACE): Likewise.
2091 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2092 __USE_XOPEN2K8].
2093 (CLD_KILLED): Likewise.
2094 (CLD_DUMPED): Likewise.
2095 (CLD_TRAPPED): Likewise.
2096 (CLD_STOPPED): Likewise.
2097 (CLD_CONTINUED): Likewise.
2098 (POLL_IN): Likewise.
2099 (POLL_OUT): Likewise.
2100 (POLL_MSG): Likewise.
2101 (POLL_ERR): Likewise.
2102 (POLL_PRI): Likewise.
2103 (POLL_HUP): Likewise.
2104 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2105 Likewise.
2106 (ILL_ILLOPN): Likewise.
2107 (ILL_ILLADR): Likewise.
2108 (ILL_ILLTRP): Likewise.
2109 (ILL_PRVOPC): Likewise.
2110 (ILL_PRVREG): Likewise.
2111 (ILL_COPROC): Likewise.
2112 (ILL_BADSTK): Likewise.
2113 (ILL_BADIADDR): Likewise.
2114 (ILL_BREAK): Likewise.
2115 (FPE_INTDIV): Likewise.
2116 (FPE_INTOVF): Likewise.
2117 (FPE_FLTDIV): Likewise.
2118 (FPE_FLTOVF): Likewise.
2119 (FPE_FLTUND): Likewise.
2120 (FPE_FLTRES): Likewise.
2121 (FPE_FLTINV): Likewise.
2122 (FPE_FLTSUB): Likewise.
2123 (FPE_DECOVF): Likewise.
2124 (FPE_DECDIV): Likewise.
2125 (FPE_DECERR): Likewise.
2126 (FPE_INVASC): Likewise.
2127 (FPE_INVDEC): Likewise.
2128 (SEGV_MAPERR): Likewise.
2129 (SEGV_ACCERR): Likewise.
2130 (SEGV_PSTKOVF): Likewise.
2131 (BUS_ADRALN): Likewise.
2132 (BUS_ADRERR): Likewise.
2133 (BUS_OBJERR): Likewise.
2134 (BUS_MCEERR_AR): Likewise.
2135 (BUS_MCEERR_AO): Likewise.
2136 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2137 (TRAP_TRACE): Likewise.
2138 (TRAP_BRANCH): Likewise.
2139 (TRAP_HWBKPT): Likewise.
2140 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2141 __USE_XOPEN2K8].
2142 (CLD_KILLED): Likewise.
2143 (CLD_DUMPED): Likewise.
2144 (CLD_TRAPPED): Likewise.
2145 (CLD_STOPPED): Likewise.
2146 (CLD_CONTINUED): Likewise.
2147 (POLL_IN): Likewise.
2148 (POLL_OUT): Likewise.
2149 (POLL_MSG): Likewise.
2150 (POLL_ERR): Likewise.
2151 (POLL_PRI): Likewise.
2152 (POLL_HUP): Likewise.
2153 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2154 (ILL_ILLOPN): Likewise.
2155 (ILL_ILLADR): Likewise.
2156 (ILL_ILLTRP): Likewise.
2157 (ILL_PRVOPC): Likewise.
2158 (ILL_PRVREG): Likewise.
2159 (ILL_COPROC): Likewise.
2160 (ILL_BADSTK): Likewise.
2161 (FPE_INTDIV): Likewise.
2162 (FPE_INTOVF): Likewise.
2163 (FPE_FLTDIV): Likewise.
2164 (FPE_FLTOVF): Likewise.
2165 (FPE_FLTUND): Likewise.
2166 (FPE_FLTRES): Likewise.
2167 (FPE_FLTINV): Likewise.
2168 (FPE_FLTSUB): Likewise.
2169 (SEGV_MAPERR): Likewise.
2170 (SEGV_ACCERR): Likewise.
2171 (BUS_ADRALN): Likewise.
2172 (BUS_ADRERR): Likewise.
2173 (BUS_OBJERR): Likewise.
2174 (BUS_MCEERR_AR): Likewise.
2175 (BUS_MCEERR_AO): Likewise.
2176 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2177 (TRAP_TRACE): Likewise.
2178 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2179 __USE_XOPEN2K8].
2180 (CLD_KILLED): Likewise.
2181 (CLD_DUMPED): Likewise.
2182 (CLD_TRAPPED): Likewise.
2183 (CLD_STOPPED): Likewise.
2184 (CLD_CONTINUED): Likewise.
2185 (POLL_IN): Likewise.
2186 (POLL_OUT): Likewise.
2187 (POLL_MSG): Likewise.
2188 (POLL_ERR): Likewise.
2189 (POLL_PRI): Likewise.
2190 (POLL_HUP): Likewise.
2191 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2192 (ILL_ILLOPN): Likewise.
2193 (ILL_ILLADR): Likewise.
2194 (ILL_ILLTRP): Likewise.
2195 (ILL_PRVOPC): Likewise.
2196 (ILL_PRVREG): Likewise.
2197 (ILL_COPROC): Likewise.
2198 (ILL_BADSTK): Likewise.
2199 (FPE_INTDIV): Likewise.
2200 (FPE_INTOVF): Likewise.
2201 (FPE_FLTDIV): Likewise.
2202 (FPE_FLTOVF): Likewise.
2203 (FPE_FLTUND): Likewise.
2204 (FPE_FLTRES): Likewise.
2205 (FPE_FLTINV): Likewise.
2206 (FPE_FLTSUB): Likewise.
2207 (SEGV_MAPERR): Likewise.
2208 (SEGV_ACCERR): Likewise.
2209 (BUS_ADRALN): Likewise.
2210 (BUS_ADRERR): Likewise.
2211 (BUS_OBJERR): Likewise.
2212 (BUS_MCEERR_AR): Likewise.
2213 (BUS_MCEERR_AO): Likewise.
2214 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2215 (TRAP_TRACE): Likewise.
2216 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2217 __USE_XOPEN2K8].
2218 (CLD_KILLED): Likewise.
2219 (CLD_DUMPED): Likewise.
2220 (CLD_TRAPPED): Likewise.
2221 (CLD_STOPPED): Likewise.
2222 (CLD_CONTINUED): Likewise.
2223 (POLL_IN): Likewise.
2224 (POLL_OUT): Likewise.
2225 (POLL_MSG): Likewise.
2226 (POLL_ERR): Likewise.
2227 (POLL_PRI): Likewise.
2228 (POLL_HUP): Likewise.
2229 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2230 (ILL_ILLOPN): Likewise.
2231 (ILL_ILLADR): Likewise.
2232 (ILL_ILLTRP): Likewise.
2233 (ILL_PRVOPC): Likewise.
2234 (ILL_PRVREG): Likewise.
2235 (ILL_COPROC): Likewise.
2236 (ILL_BADSTK): Likewise.
2237 (FPE_INTDIV): Likewise.
2238 (FPE_INTOVF): Likewise.
2239 (FPE_FLTDIV): Likewise.
2240 (FPE_FLTOVF): Likewise.
2241 (FPE_FLTUND): Likewise.
2242 (FPE_FLTRES): Likewise.
2243 (FPE_FLTINV): Likewise.
2244 (FPE_FLTSUB): Likewise.
2245 (SEGV_MAPERR): Likewise.
2246 (SEGV_ACCERR): Likewise.
2247 (BUS_ADRALN): Likewise.
2248 (BUS_ADRERR): Likewise.
2249 (BUS_OBJERR): Likewise.
2250 (BUS_MCEERR_AR): Likewise.
2251 (BUS_MCEERR_AO): Likewise.
2252 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2253 (TRAP_TRACE): Likewise.
2254 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2255 __USE_XOPEN2K8].
2256 (CLD_KILLED): Likewise.
2257 (CLD_DUMPED): Likewise.
2258 (CLD_TRAPPED): Likewise.
2259 (CLD_STOPPED): Likewise.
2260 (CLD_CONTINUED): Likewise.
2261 (POLL_IN): Likewise.
2262 (POLL_OUT): Likewise.
2263 (POLL_MSG): Likewise.
2264 (POLL_ERR): Likewise.
2265 (POLL_PRI): Likewise.
2266 (POLL_HUP): Likewise.
2267 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2268 (ILL_ILLOPN): Likewise.
2269 (ILL_ILLADR): Likewise.
2270 (ILL_ILLTRP): Likewise.
2271 (ILL_PRVOPC): Likewise.
2272 (ILL_PRVREG): Likewise.
2273 (ILL_COPROC): Likewise.
2274 (ILL_BADSTK): Likewise.
2275 (ILL_DBLFLT): Likewise.
2276 (ILL_HARDWALL): Likewise.
2277 (FPE_INTDIV): Likewise.
2278 (FPE_INTOVF): Likewise.
2279 (FPE_FLTDIV): Likewise.
2280 (FPE_FLTOVF): Likewise.
2281 (FPE_FLTUND): Likewise.
2282 (FPE_FLTRES): Likewise.
2283 (FPE_FLTINV): Likewise.
2284 (FPE_FLTSUB): Likewise.
2285 (SEGV_MAPERR): Likewise.
2286 (SEGV_ACCERR): Likewise.
2287 (BUS_ADRALN): Likewise.
2288 (BUS_ADRERR): Likewise.
2289 (BUS_OBJERR): Likewise.
2290 (BUS_MCEERR_AR): Likewise.
2291 (BUS_MCEERR_AO): Likewise.
2292 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2293 (TRAP_TRACE): Likewise.
2294 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2295 __USE_XOPEN2K8].
2296 (CLD_KILLED): Likewise.
2297 (CLD_DUMPED): Likewise.
2298 (CLD_TRAPPED): Likewise.
2299 (CLD_STOPPED): Likewise.
2300 (CLD_CONTINUED): Likewise.
2301 (POLL_IN): Likewise.
2302 (POLL_OUT): Likewise.
2303 (POLL_MSG): Likewise.
2304 (POLL_ERR): Likewise.
2305 (POLL_PRI): Likewise.
2306 (POLL_HUP): Likewise.
2307 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2308 (ILL_ILLOPN): Likewise.
2309 (ILL_ILLADR): Likewise.
2310 (ILL_ILLTRP): Likewise.
2311 (ILL_PRVOPC): Likewise.
2312 (ILL_PRVREG): Likewise.
2313 (ILL_COPROC): Likewise.
2314 (ILL_BADSTK): Likewise.
2315 (FPE_INTDIV): Likewise.
2316 (FPE_INTOVF): Likewise.
2317 (FPE_FLTDIV): Likewise.
2318 (FPE_FLTOVF): Likewise.
2319 (FPE_FLTUND): Likewise.
2320 (FPE_FLTRES): Likewise.
2321 (FPE_FLTINV): Likewise.
2322 (FPE_FLTSUB): Likewise.
2323 (SEGV_MAPERR): Likewise.
2324 (SEGV_ACCERR): Likewise.
2325 (BUS_ADRALN): Likewise.
2326 (BUS_ADRERR): Likewise.
2327 (BUS_OBJERR): Likewise.
2328 (BUS_MCEERR_AR): Likewise.
2329 (BUS_MCEERR_AO): Likewise.
2330 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2331 (TRAP_TRACE): Likewise.
2332 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2333 __USE_XOPEN2K8].
2334 (CLD_KILLED): Likewise.
2335 (CLD_DUMPED): Likewise.
2336 (CLD_TRAPPED): Likewise.
2337 (CLD_STOPPED): Likewise.
2338 (CLD_CONTINUED): Likewise.
2339 (POLL_IN): Likewise.
2340 (POLL_OUT): Likewise.
2341 (POLL_MSG): Likewise.
2342 (POLL_ERR): Likewise.
2343 (POLL_PRI): Likewise.
2344 (POLL_HUP): Likewise.
2345 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2346 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2347
bc61d27c
JM
2348 [BZ #16670]
2349 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2350 before #include of <time.h>.
2351 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2352 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2353 (test-xfail-UNIX98/sched.h/conform): Likewise.
2354
302949e2
MS
23552014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2356
2357 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2358 error absence of trapping exception support.
2359 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2360
a00f522a
JM
23612014-03-07 Joseph Myers <joseph@codesourcery.com>
2362
6f99f280
JM
2363 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2364 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2365 * timezone/Makefile (testdata): Move definition above include of
2366 Rules.
2367 (test-zones): New variable.
2368 (tests-special): Add zone files.
2369 (build-testdata): Use $(evaluate-test).
2370
0b20a9e8
JM
2371 * elf/Makefile (tests-special): Rename tests to end with .out.
2372 ($(objpfx)noload-mem): Likewise.
2373 ($(objpfx)tst-leaks1-mem): Likewise.
2374 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2375 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2376 $(objpfx)test-iconvconfig.out.
2377 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2378 set -e inside subshell and redirect output to file.
2379 * iconvdata/Makefile (generated): Rename tests to end with .out.
2380 Correct type.
2381 (tests-special): Rename tests to end with .out.
2382 ($(objpfx)mtrace-tst-loading): Likewise.
2383 * intl/Makefile (generated): Likewise.
2384 (tests-special): Likewise.
2385 ($(objpfx)mtrace-tst-gettext): Likewise.
2386 * misc/Makefile (generated): Likewise.
2387 (tests-special): Likewise.
2388 ($(objpfx)tst-error1-mem): Likewise.
2389 * nptl/Makefile (tests-special): Likewise.
2390 ($(objpfx)tst-stack3-mem): Likewise.
2391 (generated): Likewise.
2392 * posix/Makefile (generated): Likewise.
2393 (tests-special): Likewise.
2394 (xtests-special): Likewise.
2395 ($(objpfx)tst-fnmatch-mem): Likewise.
2396 ($(objpfx)bug-regex2-mem): Likewise.
2397 ($(objpfx)bug-regex14-mem): Likewise.
2398 ($(objpfx)bug-regex21-mem): Likewise.
2399 ($(objpfx)bug-regex31-mem): Likewise.
2400 ($(objpfx)tst-vfork3-mem): Likewise.
2401 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2402 ($(objpfx)tst-pcre-mem): Likewise.
2403 ($(objpfx)tst-boost-mem): Likewise.
2404 ($(objpfx)bug-ga2-mem): Likewise.
2405 ($(objpfx)bug-glob2-mem): Likewise.
2406 * resolv/Makefile (generate): Likewise.
2407 (tests-special): Likewise.
2408 (xtests-special): Likewise.
2409 (generated): Likewise.
2410 ($(objpfx)mtrace-tst-leaks): Likewise.
2411 ($(objpfx)mtrace-tst-leaks2): Likewise.
2412
265d52ab
JM
2413 * scripts/merge-test-results.sh: New file.
2414 * Makefile (tests-special-notdir): New variable.
2415 (tests): Run merge-test-results.sh.
2416 (xtests): Likewise.
2417 * Rules (tests-special-notdir): New variable.
2418 (xtests-special-notdir): Likewise.
2419 (tests): Run merge-test-results.sh
2420 (xtests): Likewise.
2421
54ee292d
JM
2422 * Makeconfig (test-xfail-name): New variable.
2423 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2424 compute variable name for expected failures.
2425 * conform/Makefile (conformtest-headers-data): New variable.
2426 (conformtest-standards): Likewise.
2427 (conformtest-headers-ISO): Likewise.
2428 (conformtest-headers-ISO99): Likewise.
2429 (conformtest-headers-ISO11): Likewise.
2430 (conformtest-headers-POSIX): Likewise.
2431 (conformtest-headers-XPG3): Likewise.
2432 (conformtest-headers-XPG4): Likewise.
2433 (conformtest-headers-UNIX98): Likewise.
2434 (conformtest-headers-XOPEN2K): Likewise.
2435 (conformtest-headers-POSIX2008): Likewise.
2436 (conformtest-headers-XOPEN2K8): Likewise.
2437 (conformtest-header-list-base): Likewise.
2438 (conformtest-header-list-tests): Likewise.
2439 (conformtest-header-base): Likewise.
2440 (conformtest-header-tests): Likewise.
2441 (tests-special): Add $(conformtest-header-list-tests). If
2442 [$(fast-check) && !$(cross-compiling)], add
2443 $(conformtest-header-tests) instead of
2444 $(objpfx)run-conformtest.out.
2445 (generated): Add $(conformtest-header-list-base). If
2446 [$(fast-check) && !$(cross-compiling)], add
2447 $(conformtest-header-base). Remove previous setting.
2448 ($(conformtest-header-list-tests)): New target.
2449 (test-xfail-run-conformtest): Remove variable.
2450 ($(objpfx)run-conformtest.out): Remove target.
2451 (test-xfail-ISO11/complex.h/conform): New variable.
2452 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2453 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2454 (test-xfail-XPG3/varargs.h/conform): Likewise.
2455 (test-xfail-XPG4/varargs.h/conform): Likewise.
2456 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2457 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2458 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2459 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2460 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2461 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2462 (test-xfail-XPG3/ftw.h/conform): Likewise.
2463 (test-xfail-XPG3/grp.h/conform): Likewise.
2464 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2465 (test-xfail-XPG3/limits.h/conform): Likewise.
2466 (test-xfail-XPG3/pwd.h/conform): Likewise.
2467 (test-xfail-XPG3/search.h/conform): Likewise.
2468 (test-xfail-XPG3/signal.h/conform): Likewise.
2469 (test-xfail-XPG3/stdio.h/conform): Likewise.
2470 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2471 (test-xfail-XPG3/string.h/conform): Likewise.
2472 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2473 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2474 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2475 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2476 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2477 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2478 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2479 (test-xfail-XPG3/termios.h/conform): Likewise.
2480 (test-xfail-XPG3/time.h/conform): Likewise.
2481 (test-xfail-XPG3/unistd.h/conform): Likewise.
2482 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2483 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2484 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2485 (test-xfail-XPG4/netdb.h/conform): Likewise.
2486 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2487 (test-xfail-XPG4/signal.h/conform): Likewise.
2488 (test-xfail-XPG4/stdio.h/conform): Likewise.
2489 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2490 (test-xfail-XPG4/stropts.h/conform): Likewise.
2491 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2492 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2493 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2494 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2495 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2496 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2497 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2498 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2499 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2500 (test-xfail-XPG4/termios.h/conform): Likewise.
2501 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2502 (test-xfail-XPG4/unistd.h/conform): Likewise.
2503 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2504 (test-xfail-POSIX/sched.h/conform): Likewise.
2505 (test-xfail-POSIX/signal.h/conform): Likewise.
2506 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2507 (test-xfail-POSIX/tar.h/conform): Likewise.
2508 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2509 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2510 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2511 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2512 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2513 (test-xfail-UNIX98/sched.h/conform): Likewise.
2514 (test-xfail-UNIX98/signal.h/conform): Likewise.
2515 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2516 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2517 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2518 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2519 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2520 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2521 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2522 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2523 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2524 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2525 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2526 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2527 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2528 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2529 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2530 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2531 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2532 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2533 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2534 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2535 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2536 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2537 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2538 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2539 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2540 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2541 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2542 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2543 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2544 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2545 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2546 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2547 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2548 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2549 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2550 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2551 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2552 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2553 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2554 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2555 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2556 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2557 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2558 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2559 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2560 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2561 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2562 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2563 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2564 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2565 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2566 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2567 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2568 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2569 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2570 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2571 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2572 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2573 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2574 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2575 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2576 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2577 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2578 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2579 (conformtest-cc-flags): Likewise.
2580 ($(conformtest-header-tests): New target.
2581 * conform/check-header-lists.sh: New file.
2582 * conform/run-conformtest.sh: Remove.
2583
a00f522a
JM
2584 * conform/conformtest.pl: Allow ' and \ in values given for
2585 constants.
2586 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2587 inclusion.
2588 [POSIX] (sys/types.h): Likewise.
2589 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2590 inclusion.
2591 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2592 inclusion.
2593 * conform/data/signal.h-data (SIGIO): Remove expectation.
2594 [XPG3] (SIGBUS): Do not expect.
2595 [POSIX || XPG3] (SIGPOLL): Likewise.
2596 [POSIX || XPG3] (SIGPROF): Likewise.
2597 [POSIX || XPG3] (SIGSYS): Likewise.
2598 [XPG3] (SIGTRAP): Likewise.
2599 [POSIX || XPG3] (SIGURG): Likewise.
2600 [POSIX || XPG3] (SIGVTALRM): Likewise.
2601 [POSIX || XPG3] (SIGXCPU): Likewise.
2602 [POSIX || XPG3] (SIGXFSZ): Likewise.
2603 [POSIX] (SA_SIGINFO): Expect.
2604 [XPG3] (siginfo_t): Do not expect type or contents.
2605 [POSIX] (si_pid): Do not expect element.
2606 [POSIX] (si_uid): Likewise.
2607 [POSIX] (si_addr): Likewise.
2608 [POSIX] (si_status): Likewise.
2609 [POSIX] (si_band): Likewise.
2610 [XPG4] (si_value): Likewise.
2611 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2612 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2613 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2614 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2615 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2616 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2617 [POSIX || XPG3] (ILL_COPROC): Likewise.
2618 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2619 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2620 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2621 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2622 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2623 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2624 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2625 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2626 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2627 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2628 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2629 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2630 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2631 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2632 [POSIX || XPG3] (CLD_EXITED): Likewise.
2633 [POSIX || XPG3] (CLD_KILLED): Likewise.
2634 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2635 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2636 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2637 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2638 [POSIX || XPG3] (POLL_IN): Likewise.
2639 [POSIX || XPG3] (POLL_OUT): Likewise.
2640 [POSIX || XPG3] (POLL_MSG): Likewise.
2641 [POSIX || XPG3] (POLL_ERR): Likewise.
2642 [POSIX || XPG3] (POLL_PRI): Likewise.
2643 [POSIX || XPG3] (POLL_HUP): Likewise.
2644 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2645 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2646 (SIG*): Do not allow.
2647 [XPG3] (si_*): Likewise.
2648 [XPG3] (SI_*): Likewise.
2649 [XPG3 || XPG4] (sigev_*): Likewise.
2650 [XPG3 || XPG4] (SIGEV_*): Likewise.
2651 [XPG3 || XPG4] (sival_*): Likewise.
2652 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2653 [POSIX || XPG3] (BUS_*): Likewise.
2654 [POSIX || XPG3] (CLD_*): Likewise.
2655 [POSIX || XPG3] (FPE_*): Likewise.
2656 [POSIX || XPG3] (ILL_*): Likewise.
2657 [POSIX || XPG3] (POLL_*): Likewise.
2658 [POSIX || XPG3] (SEGV_*): Likewise.
2659 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2660 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2661 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2662 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2663 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2664 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2665 Specify type and value.
2666 (TVERSLEN): Likewise.
2667 (REGTYPE): Likewise.
2668 (AREGTYPE): Likewise.
2669 (LNKTYPE): Likewise.
2670 (SYMTYPE): Likewise.
2671 (CHRTYPE): Likewise.
2672 (BLKTYPE): Likewise.
2673 (DIRTYPE): Likewise.
2674 (FIFOTYPE): Likewise.
2675 (CONTTYPE): Likewise.
2676 (TSUID): Likewise.
2677 (TSGID): Likewise.
2678 (TSVTX): Likewise.
2679 (TUREAD): Likewise.
2680 (TUWRITE): Likewise.
2681 (TUEXEC): Likewise.
2682 (TGREAD): Likewise.
2683 (TGWRITE): Likewise.
2684 (TGEXEC): Likewise.
2685 (TOREAD): Likewise.
2686 (TOWRITE): Likewise.
2687 (TOEXEC): Likewise.
2688 [POSIX] (TSVTX): Expect constant.
2689
aa97dee1
JM
26902014-03-06 Joseph Myers <joseph@codesourcery.com>
2691
f214606a
JM
2692 * Makefile (tests): Change dependencies to ....
2693 (tests-special): ... additions to this variable.
2694 (tests): Depend on $(tests-special).
2695 * Makerules (check-abi-list): New variable.
2696 (check-abi): Depend on $(check-abi-list).
2697 [$(subdir) = elf] (tests-special): Add
2698 $(objpfx)check-abi-libc.out.
2699 [$(build-shared) = yes && subdir] (tests-special): Add
2700 $(check-abi-list).
2701 [$(build-shared) = yes && subdir] (tests): Do not depend on
2702 check-abi.
2703 * Rules (tests): Depend on $(tests-special).
2704 (xtests): Depend on $(xtests-special).
2705 * catgets/Makefile (tests): Change dependencies to ....
2706 (tests-special): ... additions to this variable.
2707 * conform/Makefile (tests): Change dependencies to ....
2708 (tests-special): ... additions to this variable.
2709 * elf/Makefile (tests): Change dependencies to ....
2710 (tests-special): ... additions to this variable.
2711 * grp/Makefile (tests): Change dependencies to ....
2712 (tests-special): ... additions to this variable.
2713 * iconv/Makefile (xtests): Change dependencies to ....
2714 (xtests-special): ... additions to this variable.
2715 * iconvdata/Makefile (tests): Change dependencies to ....
2716 (tests-special): ... additions to this variable.
2717 * intl/Makefile (tests): Change dependencies to ....
2718 (tests-special): ... additions to this variable. Also add
2719 $(objpfx)tst-gettext.out.
2720 * io/Makefile (tests): Change dependencies to ....
2721 (tests-special): ... additions to this variable.
2722 * libio/Makefile (tests): Change dependencies to ....
2723 (tests-special): ... additions to this variable.
2724 * malloc/Makefile (tests): Change dependencies to ....
2725 (tests-special): ... additions to this variable.
2726 * misc/Makefile (tests): Change dependencies to ....
2727 (tests-special): ... additions to this variable.
2728 * nptl/Makefile (tests): Change dependencies to ....
2729 (tests-special): ... additions to this variable.
2730 * nptl_db/Makefile (tests): Change dependencies to ....
2731 (tests-special): ... additions to this variable.
2732 * posix/Makefile (tests): Change dependencies to ....
2733 (tests-special): ... additions to this variable.
2734 (xtests): Change dependencies to ....
2735 (xtests-special): ... additions to this variable.
2736 * resolv/Makefile (tests): Change dependencies to ....
2737 (tests-special): ... additions to this variable.
2738 (xtests): Change dependencies to ....
2739 (xtests-special): ... additions to this variable.
2740 * stdio-common/Makefile (tests): Change dependencies to ....
2741 (tests-special): ... additions to this variable.
2742 (do-tst-unbputc): Remove target.
2743 (do-tst-printf): Likewise.
2744 * stdlib/Makefile (tests): Change dependencies to ....
2745 (tests-special): ... additions to this variable.
2746 * string/Makefile (tests): Change dependencies to ....
2747 (tests-special): ... additions to this variable.
2748 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2749 (tests-special): ... additions to this variable.
2750
81700b53
JM
2751 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2752 whole file.
2753 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2754 whole file.
2755 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2756 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2757
2ea18461
JM
2758 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2759 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2760 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2761 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2762 * conform/data/libgen.h-data [XPG3]: Likewise.
2763 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2764 * conform/data/ndbm.h-data [XPG3]: Likewise.
2765 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2766 * conform/data/netdb.h-data [XPG3]: Likewise.
2767 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2768 * conform/data/poll.h-data [XPG3]: Likewise.
2769 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2770 * conform/data/strings.h-data [XPG3]: Likewise.
2771 * conform/data/stropts.h-data [XPG3]: Likewise.
2772 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2773 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2774 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2775 Likewise.
2776 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2777 * conform/data/sys/time.h-data [XPG3]: Likewise.
2778 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2779 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2780 * conform/data/sys/un.h-data [XPG3]: Likewise.
2781 * conform/data/syslog.h-data [XPG3]: Likewise.
2782 * conform/data/ucontext.h-data [XPG3]: Likewise.
2783 * conform/data/utmpx.h-data [XPG3]: Likewise.
2784 * conform/data/varargs.h-data [UNIX98]: Enable file.
2785
355bc986
JM
2786 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2787
215db402
JM
2788 * math/libm-test.inc (struct test_f_f_data): Move expected results
2789 into structure for each rounding mode.
2790 (struct test_ff_f_data): Likewise.
2791 (struct test_ff_f_data_nexttoward): Likewise.
2792 (struct test_fi_f_data): Likewise.
2793 (struct test_fl_f_data): Likewise.
2794 (struct test_if_f_data): Likewise.
2795 (struct test_fff_f_data): Likewise.
2796 (struct test_c_f_data): Likewise.
2797 (struct test_f_f1_data): Likewise.
2798 (struct test_fF_f1_data): Likewise.
2799 (struct test_ffI_f1_data): Likewise.
2800 (struct test_c_c_data): Likewise.
2801 (struct test_cc_c_data): Likewise.
2802 (struct test_f_i_data): Likewise.
2803 (struct test_ff_i_data): Likewise.
2804 (struct test_f_l_data): Likewise.
2805 (struct test_f_L_data): Likewise.
2806 (struct test_fFF_11_data): Likewise.
2807 (RM_): New macro.
2808 (RM_FE_DOWNWARD): Likewise.
2809 (RM_FE_TONEAREST): Likewise.
2810 (RM_FE_TOWARDZERO): Likewise.
2811 (RM_FE_UPWARD): Likewise.
2812 (RUN_TEST_LOOP_f_f): Update references to expected results.
2813 (RUN_TEST_LOOP_2_f): Likewise.
2814 (RUN_TEST_LOOP_fff_f): Likewise.
2815 (RUN_TEST_LOOP_c_f): Likewise.
2816 (RUN_TEST_LOOP_f_f1): Likewise.
2817 (RUN_TEST_LOOP_fF_f1): Likewise.
2818 (RUN_TEST_LOOP_fI_f1): Likewise.
2819 (RUN_TEST_LOOP_ffI_f1): Likewise.
2820 (RUN_TEST_LOOP_c_c): Likewise.
2821 (RUN_TEST_LOOP_cc_c): Likewise.
2822 (RUN_TEST_LOOP_f_i): Likewise.
2823 (RUN_TEST_LOOP_f_i_tg): Likewise.
2824 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2825 (RUN_TEST_LOOP_f_b): Likewise.
2826 (RUN_TEST_LOOP_f_b_tg): Likewise.
2827 (RUN_TEST_LOOP_f_l): Likewise.
2828 (RUN_TEST_LOOP_f_L): Likewise.
2829 (RUN_TEST_LOOP_fFF_11): Likewise.
2830 * math/gen-libm-test.pl (parse_args): Output four copies of
2831 expected results for each test.
2832
67737b8f
JM
2833 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2834 (__ASSUME_UTIMES): Remove.
2835 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2836 (__ASSUME_UTIMES): Likewise.
2837
aa97dee1
JM
2838 * math/gen-auto-libm-tests.c: Update comment on output format.
2839 (output_for_one_input_case): Generate before-rounding and
2840 after-rounding information as conditions on output flags not
2841 floating-point format.
2842 * math/auto-libm-test-out: Regenerated.
2843 * math/gen-libm-test.pl (cond_value): New function.
2844 (or_cond_value): Use cond_value.
2845 (generate_testfile): Handle conditional exceptions.
2846
e6b6a857
JM
28472014-03-05 Joseph Myers <joseph@codesourcery.com>
2848
2f0a0f44
JM
2849 * math/libm-test.inc (max_valid_error): New variable.
2850 (init_max_error): Take new argument specifying whether function
2851 results are exactly determined. Set max_valid_error and bound
2852 other variables for errors based on this argument.
2853 (set_max_error): Do not record results above max_valid_error.
2854 (check_float_internal): Only accept errors of up to 0.5ulps if
2855 also at most max_valid_error.
2856 (START): Take new argument EXACT and pass it to init_max_error.
2857 (acos_test): Update call to START.
2858 (acos_test_tonearest): Likewise.
2859 (acos_test_towardzero): Likewise.
2860 (acos_test_downward): Likewise.
2861 (acos_test_upward): Likewise.
2862 (acosh_test): Likewise.
2863 (asin_test): Likewise.
2864 (asin_test_tonearest): Likewise.
2865 (asin_test_towardzero): Likewise.
2866 (asin_test_downward): Likewise.
2867 (asin_test_upward): Likewise.
2868 (asinh_test): Likewise.
2869 (atan_test): Likewise.
2870 (atanh_test): Likewise.
2871 (atan2_test): Likewise.
2872 (cabs_test): Likewise.
2873 (cacos_test): Likewise.
2874 (cacosh_test): Likewise.
2875 (carg_test): Likewise.
2876 (casin_test): Likewise.
2877 (casinh_test): Likewise.
2878 (catan_test): Likewise.
2879 (catanh_test): Likewise.
2880 (cbrt_test): Likewise.
2881 (ccos_test): Likewise.
2882 (ccosh_test): Likewise.
2883 (ceil_test): Likewise.
2884 (cexp_test): Likewise.
2885 (cimag_test): Likewise.
2886 (clog_test): Likewise.
2887 (clog10_test): Likewise.
2888 (conj_test): Likewise.
2889 (copysign_test): Likewise.
2890 (cos_test): Likewise.
2891 (cos_test_tonearest): Likewise.
2892 (cos_test_towardzero): Likewise.
2893 (cos_test_downward): Likewise.
2894 (cos_test_upward): Likewise.
2895 (cosh_test): Likewise.
2896 (cosh_test_tonearest): Likewise.
2897 (cosh_test_towardzero): Likewise.
2898 (cosh_test_downward): Likewise.
2899 (cosh_test_upward): Likewise.
2900 (cpow_test): Likewise.
2901 (cproj_test): Likewise.
2902 (creal_test): Likewise.
2903 (csin_test): Likewise.
2904 (csinh_test): Likewise.
2905 (csqrt_test): Likewise.
2906 (ctan_test): Likewise.
2907 (ctan_test_tonearest): Likewise.
2908 (ctan_test_towardzero): Likewise.
2909 (ctan_test_downward): Likewise.
2910 (ctan_test_upward): Likewise.
2911 (ctanh_test): Likewise.
2912 (ctanh_test_tonearest): Likewise.
2913 (ctanh_test_towardzero): Likewise.
2914 (ctanh_test_downward): Likewise.
2915 (ctanh_test_upward): Likewise.
2916 (erf_test): Likewise.
2917 (erfc_test): Likewise.
2918 (exp_test): Likewise.
2919 (exp_test_tonearest): Likewise.
2920 (exp_test_towardzero): Likewise.
2921 (exp_test_downward): Likewise.
2922 (exp_test_upward): Likewise.
2923 (exp10_test): Likewise.
2924 (exp10_test_tonearest): Likewise.
2925 (exp10_test_towardzero): Likewise.
2926 (exp10_test_downward): Likewise.
2927 (exp10_test_upward): Likewise.
2928 (pow10_test): Likewise.
2929 (exp2_test): Likewise.
2930 (expm1_test): Likewise.
2931 (expm1_test_tonearest): Likewise.
2932 (expm1_test_towardzero): Likewise.
2933 (expm1_test_downward): Likewise.
2934 (expm1_test_upward): Likewise.
2935 (fabs_test): Likewise.
2936 (fdim_test): Likewise.
2937 (floor_test): Likewise.
2938 (fma_test): Likewise.
2939 (fma_test_towardzero): Likewise.
2940 (fma_test_downward): Likewise.
2941 (fma_test_upward): Likewise.
2942 (fmax_test): Likewise.
2943 (fmin_test): Likewise.
2944 (fmod_test): Likewise.
2945 (fpclassify_test): Likewise.
2946 (frexp_test): Likewise.
2947 (hypot_test): Likewise.
2948 (ilogb_test): Likewise.
2949 (isfinite_test): Likewise.
2950 (finite_test): Likewise.
2951 (isgreater_test): Likewise.
2952 (isgreaterequal_test): Likewise.
2953 (isinf_test): Likewise.
2954 (isless_test): Likewise.
2955 (islessequal_test): Likewise.
2956 (islessgreater_test): Likewise.
2957 (isnan_test): Likewise.
2958 (isnormal_test): Likewise.
2959 (issignaling_test): Likewise.
2960 (isunordered_test): Likewise.
2961 (j0_test): Likewise.
2962 (j1_test): Likewise.
2963 (jn_test): Likewise.
2964 (ldexp_test): Likewise.
2965 (lgamma_test): Likewise.
2966 (gamma_test): Likewise.
2967 (lrint_test): Likewise.
2968 (lrint_test_tonearest): Likewise.
2969 (lrint_test_towardzero): Likewise.
2970 (lrint_test_downward): Likewise.
2971 (lrint_test_upward): Likewise.
2972 (llrint_test): Likewise.
2973 (llrint_test_tonearest): Likewise.
2974 (llrint_test_towardzero): Likewise.
2975 (llrint_test_downward): Likewise.
2976 (llrint_test_upward): Likewise.
2977 (log_test): Likewise.
2978 (log10_test): Likewise.
2979 (log1p_test): Likewise.
2980 (log2_test): Likewise.
2981 (logb_test): Likewise.
2982 (logb_test_downward): Likewise.
2983 (lround_test): Likewise.
2984 (llround_test): Likewise.
2985 (modf_test): Likewise.
2986 (nearbyint_test): Likewise.
2987 (nextafter_test): Likewise.
2988 (nexttoward_test): Likewise.
2989 (pow_test): Likewise.
2990 (pow_test_tonearest): Likewise.
2991 (pow_test_towardzero): Likewise.
2992 (pow_test_downward): Likewise.
2993 (pow_test_upward): Likewise.
2994 (remainder_test): Likewise.
2995 (drem_test): Likewise.
2996 (remainder_test_tonearest): Likewise.
2997 (drem_test_tonearest): Likewise.
2998 (remainder_test_towardzero): Likewise.
2999 (drem_test_towardzero): Likewise.
3000 (remainder_test_downward): Likewise.
3001 (drem_test_downward): Likewise.
3002 (remainder_test_upward): Likewise.
3003 (drem_test_upward): Likewise.
3004 (remquo_test): Likewise.
3005 (rint_test): Likewise.
3006 (rint_test_tonearest): Likewise.
3007 (rint_test_towardzero): Likewise.
3008 (rint_test_downward): Likewise.
3009 (rint_test_upward): Likewise.
3010 (round_test): Likewise.
3011 (scalb_test): Likewise.
3012 (scalbn_test): Likewise.
3013 (scalbln_test): Likewise.
3014 (signbit_test): Likewise.
3015 (sin_test): Likewise.
3016 (sin_test_tonearest): Likewise.
3017 (sin_test_towardzero): Likewise.
3018 (sin_test_downward): Likewise.
3019 (sin_test_upward): Likewise.
3020 (sincos_test): Likewise.
3021 (sinh_test): Likewise.
3022 (sinh_test_tonearest): Likewise.
3023 (sinh_test_towardzero): Likewise.
3024 (sinh_test_downward): Likewise.
3025 (sinh_test_upward): Likewise.
3026 (sqrt_test): Likewise.
3027 (sqrt_test_tonearest): Likewise.
3028 (sqrt_test_towardzero): Likewise.
3029 (sqrt_test_downward): Likewise.
3030 (sqrt_test_upward): Likewise.
3031 (tan_test): Likewise.
3032 (tan_test_tonearest): Likewise.
3033 (tan_test_towardzero): Likewise.
3034 (tan_test_downward): Likewise.
3035 (tan_test_upward): Likewise.
3036 (tanh_test): Likewise.
3037 (tgamma_test): Likewise.
3038 (trunc_test): Likewise.
3039 (y0_test): Likewise.
3040 (y1_test): Likewise.
3041 (yn_test): Likewise.
3042 (significand_test): Likewise.
3043
e6b6a857
JM
3044 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3045 individual tests in comment.
3046 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3047 (prev_max_error): New variable.
3048 (prev_real_max_error): Likewise.
3049 (prev_imag_max_error): Likewise.
3050 (compare_ulp_data): Don't refer to test names in comment.
3051 (find_test_ulps): Remove function.
3052 (find_function_ulps): Likewise.
3053 (find_complex_function_ulps): Likewise.
3054 (init_max_error): Take function name as argument. Look up ulps
3055 for that function.
3056 (print_ulps): Remove function.
3057 (print_max_error): Use prev_max_error instead of calling
3058 find_function_ulps.
3059 (print_complex_max_error): Use prev_real_max_error and
3060 prev_imag_max_error instead of calling find_complex_function_ulps.
3061 (check_float_internal): Take max_ulp parameter instead of calling
3062 find_test_ulps. Don't call print_ulps.
3063 (check_float): Update call to check_float_internal.
3064 (check_complex): Update calls to check_float_internal.
3065 (START): Pass argument to init_max_error.
3066 * math/gen-libm-test.pl (%results): Don't include "kind"
3067 information.
3068 (parse_ulps): Don't handle ulps of individual tests.
3069 (print_ulps_file): Likewise.
3070 (output_ulps): Likewise.
3071 * math/README.libm-test: Update.
3072 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3073 individual tests.
3074 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3075 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3076 * sysdeps/arm/libm-test-ulps: Likewise.
3077 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3078 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3079 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3080 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3081 * sysdeps/microblaze/libm-test-ulps: Likewise.
3082 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3083 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3084 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3085 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3086 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3087 * sysdeps/sh/libm-test-ulps: Likewise.
3088 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3089 * sysdeps/tile/libm-test-ulps: Likewise.
3090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3091
45adef3c
JM
30922014-03-04 Joseph Myers <joseph@codesourcery.com>
3093
3094 * math/libm-test.inc (print_complex_max_error): Check separately
3095 whether real and imaginary errors are within allowed range and
3096 pass 0 to print_complex_function_ulps instead of value within
3097 allowed range.
3098
000232b9
SP
30992014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3100
d4b17258
SP
3101 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3102 formatting.
3103 (get_handles_fopen): Likewise.
3104 (do_write_test): Likewise.
3105
091eff71
SP
3106 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3107
fa3cd248
SP
3108 * libio/fileops.c (do_ftell): Use cached offset when
3109 available.
3110 * libio/iofwide.c (do_ftell_wide): Likewise.
3111 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3112 _IO_file_attach.
3113 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3114
000232b9
SP
3115 [BZ #16532]
3116 * libio/libioP.h (get_file_offset): New function.
3117 * libio/fileops.c (get_file_offset): Likewise.
3118 (do_ftell): Likewise.
3119 (_IO_new_file_seekoff): Split out ftell logic.
3120 * libio/wfileops.c (do_ftell_wide): Likewise.
3121 (_IO_wfile_seekoff): Split out ftell logic.
3122 * libio/tst-ftell-active-handler.c: New test case.
3123 * libio/Makefile (tests): Add it.
3124
116f4d1a
RM
31252014-03-03 Roland McGrath <roland@hack.frob.com>
3126
3127 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3128 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3129
532a6035
SP
31302014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3131
3132 [BZ #16639]
3133 * nscd/connections.c (nscd_init): Call do_exit.
3134 (start_threads): Call do_exit and notify_parent.
3135 (begin_drop_privileges): Call do_exit.
3136 (finish_drop_privileges): Likewise.
3137 * nscd/selinux.c (preserve_capabilities): Likewise.
3138 (install_real_capabilities): Likewise.
3139 (nscd_selinux_enabled): Likewise.
3140 (avc_create_thread): Likewise.
3141 (avc_alloc_lock): Likewise.
3142 (nscd_avc_init): Likewise.
3143 * nscd/nscd.c (parent_fd): New static variable.
3144 (main): Create a pipe between parent and child processes.
3145 Skip closing parent_fd.
3146 (monitor_child): New function.
3147 (do_exit): Likewise.
3148 (notify_parent): Likewise.
3149 * nscd/nscd.h (notify_parent): Likewise.
3150 (do_exit): Likewise.
3151
d6285c9f
CD
31522014-03-03 Carlos O'Donell <carlos@redhat.com>
3153
3154 * malloc/malloc.c (__libc_calloc): Revert last change.
3155
2b85d2a0
AZ
31562014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3157
3158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3159
c7debbdf
RS
31602014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3161
3162 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3164 implementation.
3165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3166 (__libc_ifunc_impl_list): Likewise.
3167 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3168 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3169 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3170 * string/strrchr.c: Define STRRCHR.
3171
235eed86
OB
31722014-02-28 Ondřej Bílka <neleai@seznam.cz>
3173
3174 * benchtest/bench-strtok.c (simple_strtok): Delete.
3175 (strtok_string): Use as benchmark.
3176 * string/strtok (STRTOK): New macro.
3177
8e25d1e7
CD
31782014-02-28 Carlos O'Donell <carlos@redhat.com>
3179
ef563f92
CD
3180 * manual/threads.texi: Add header and standard comments to all
3181 functions.
3182
8e25d1e7
CD
3183 * elf/dl-lookup.c (check_match): New function.
3184 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3185 (do_lookup_x): Remove nested function check_match. Use non-nested
3186 function check_match.
3187
ff71cc37
RM
31882014-02-28 Roland McGrath <roland@hack.frob.com>
3189
f08e9a26
RM
3190 * csu/Makefile (generated, before-compile): Use += rather than =.
3191 * catgets/Makefile (generated, generated-dirs): Likewise.
3192 * debug/Makefile (generated): Likewise.
3193 * dlfcn/Makefile (generated): Likewise.
3194 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3195 * iconvdata/Makefile (before-compile, generated): Likewise.
3196 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3197 * libio/Makefile (generated): Likewise.
3198 * malloc/Makefile (generated): Likewise.
3199 * manual/Makefile (generated, generated-dirs): Likewise.
3200 * misc/Makefile (generated): Likewise.
3201 * posix/Makefile (generated): Likewise.
3202 * resolv/Makefile (generated): Likewise.
3203 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3204 * timezone/Makefile (generated, generated-dirs): Likewise.
3205
ff71cc37
RM
3206 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3207
fe13a20c
AZ
32082014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3209
57f41c40
AS
3210 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3211 power8 implementation.
3212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3213 file: POWER8 llround ifunc implementation.
3214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3215 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3216 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3217 POWER8 llround implementation.
3218
57f41c40
AS
3219 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3220 power8 implementation.
3221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3222 file: POWER8 llrint ifunc implementation.
3223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3224 Add POWER8 implementation.
1ad8950a
AZ
3225 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3226 POWER8 llrint implementation.
3227
57f41c40
AS
3228 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3229 power8 implementation.
3230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3231 file: POWER8 finite ifunc implementation.
3232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3233 Add POWER8 implementation.
cac626d6
AZ
3234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3235 Likewise.
3236 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3237 POWER8 finite implementation.
3238 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3239
57f41c40
AS
3240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3241 power8 implementation.
3242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3243 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3245 POWER8 implementation.
3246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3247 Likewise.
57f41c40
AS
3248 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3249 isinf implementation.
4393fc11
AZ
3250 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3251
57f41c40
AS
3252 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3253 (INIT_ARCH): Add hwcap2 initialization.
3254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3255 power8 implementation.
3256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3257 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3259 POWER8 implementation.
3260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3261 Likewise.
57f41c40
AS
3262 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3263 isnan implementation.
487972ae
AZ
3264 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3265
7d92b787
JY
32662014-02-27 Joey Ye <joey.ye@arm.com>
3267
3268 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3269 (_FP_NANFRAC_Q): Set to zero.
3270
1cadc858
SP
32712014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3272
3273 [BZ #16623]
3274 * math/auto-libm-test-in: New test inputs.
3275 * math/auto-libm-test-out: Regenerate.
3276 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3277 and DA.
3278 (__cos): Likewise.
3279 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3280
f8c17e79
JM
32812014-02-27 Joseph Myers <joseph@codesourcery.com>
3282
3283 * scripts/evaluate-test.sh: Take new argument indicating whether
3284 failure is expected.
3285 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3286 indicating whether failure is expected.
3287 * conform/Makefile (test-xfail-run-conformtest): New variable.
3288 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3289 level.
3290 * posix/Makefile (test-xfail-annexc): New variable.
3291 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3292
a5f891ac
JM
32932014-02-26 Joseph Myers <joseph@codesourcery.com>
3294
3295 * argp/Makefile: Include Makeconfig immediately after defining
3296 subdir.
3297 * assert/Makefile: Likewise.
3298 * benchtests/Makefile: Likewise.
3299 * catgets/Makefile: Likewise.
3300 * conform/Makefile: Likewise.
3301 * crypt/Makefile: Likewise.
3302 * csu/Makefile: Likewise.
3303 (all): Remove target.
3304 * ctype/Makefile: Include Makeconfig immediately after defining
3305 subdir.
3306 * debug/Makefile: Likewise.
3307 * dirent/Makefile: Likewise.
3308 * dlfcn/Makefile: Likewise.
3309 * gmon/Makefile: Likewise.
3310 * gnulib/Makefile: Likewise.
3311 * grp/Makefile: Likewise.
3312 * gshadow/Makefile: Likewise.
3313 * hesiod/Makefile: Likewise.
3314 * hurd/Makefile: Likewise.
3315 (all): Remove target.
3316 * iconvdata/Makefile: Include Makeconfig immediately after
3317 defining subdir.
3318 * inet/Makefile: Likewise.
3319 * intl/Makefile: Likewise.
3320 * io/Makefile: Likewise.
3321 * libio/Makefile: Likewise.
3322 (all): Remove target.
3323 * locale/Makefile: Include Makeconfig immediately after defining
3324 subdir.
3325 * login/Makefile: Likewise.
3326 * mach/Makefile: Likewise.
3327 (all): Remove target.
3328 * malloc/Makefile: Include Makeconfig immediately after defining
3329 subdir.
3330 (all): Remove target.
3331 * manual/Makefile: Include Makeconfig immediately after defining
3332 subdir.
3333 * math/Makefile: Likewise.
3334 * misc/Makefile: Likewise.
3335 * nis/Makefile: Likewise.
3336 * nss/Makefile: Likewise.
3337 * po/Makefile: Likewise.
3338 (all): Remove target.
3339 * posix/Makefile: Include Makeconfig immediately after defining
3340 subdir.
3341 * pwd/Makefile: Likewise.
3342 * resolv/Makefile: Likewise.
3343 * resource/Makefile: Likewise.
3344 * rt/Makefile: Likewise.
3345 * setjmp/Makefile: Likewise.
3346 * shadow/Makefile: Likewise.
3347 * signal/Makefile: Likewise.
3348 * socket/Makefile: Likewise.
3349 * soft-fp/Makefile: Likewise.
3350 * stdio-common/Makefile: Likewise.
3351 * stdlib/Makefile: Likewise.
3352 * streams/Makefile: Likewise.
3353 * string/Makefile: Likewise.
3354 * sunrpc/Makefile: Likewise.
3355 (all): Remove target.
3356 * sysvipc/Makefile: Include Makeconfig immediately after defining
3357 subdir.
3358 * termios/Makefile: Likewise.
3359 * time/Makefile: Likewise.
3360 * timezone/Makefile: Likewise.
3361 (all): Remove target.
3362 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3363 subdir.
3364 * wctype/Makefile: Likewise.
3365
5b456e9d
SE
33662014-02-26 Steve Ellcey <sellcey@mips.com>
3367
3368 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3369 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3370 (libc_feholdexcept_setround_mips): Ditto.
3371 (libc_feholdsetround): New.
3372 (libc_feholdsetroundf): New.
3373 (libc_feholdsetroundl): New.
3374 (libc_feupdateenv_test_mips): New.
3375 (libc_feupdateenv_test): New.
3376 (libc_feupdateenv_testf): New.
3377 (libc_feupdateenv_testl): New.
3378 (libc_feresetround): New.
3379 (libc_feresetroundf): New.
3380 (libc_feresetroundl): New.
3381 (libc_fetestexcept_mips): New.
3382 (libc_fetestexcept): New.
3383 (libc_fetestexceptf): New.
3384 (libc_fetestexceptl): New.
3385 (HAVE_RM_CTX): New.
3386 (libc_feholdexcept_setround_mips_ctx): New.
3387 (libc_feholdexcept_setround_ctx): New.
3388 (libc_feholdexcept_setroundf_ctx): New.
3389 (libc_feholdexcept_setroundl_ctx): New.
3390 (libc_fesetenv_mips_ctx): New.
3391 (libc_fesetenv_ctx): New.
3392 (libc_fesetenv_ctxf): New.
3393 (libc_fesetenv_ctxl): New.
3394 (libc_feupdateenv_mips_ctx): New.
3395 (libc_feupdateenv_ctx): New.
3396 (libc_feupdateenvf_ctx): New.
3397 (libc_feupdateenvl_ctx): New.
3398 (libc_feholdsetround_mips_ctx): New.
3399 (libc_feholdsetround_ctx): New.
3400 (libc_feholdsetroundf_ctx): New.
3401 (libc_feholdsetroundl_ctx): New.
3402 (libc_feresetround_mips_ctx): New.
3403 (libc_feresetround_ctx): New.
3404 (libc_feresetroundf_ctx): New.
3405 (libc_feresetroundl_ctx): New.
3406
085d0e35
CD
34072014-02-26 Carlos O'Donell <carlos@redhat.com>
3408
f067bf1f
CD
3409 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3410
085d0e35
CD
3411 * manual/ipc.texi: New file.
3412 * manual/Makefile (chapters): Add ipc.
3413 * manual/job.texi: Add "Inter-Process Communication" to next.
3414 * manual/process.texi: Add "Inter-Process Communication" to prev.
3415
86e58c08
AZ
34162014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3417
3418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3419
4248f0da
OB
34202014-02-26 Ondřej Bílka <neleai@seznam.cz>
3421
3422 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3423
cf822e3c
OB
3424 * manual/arith.texi: Fix spaces after sentences.
3425 * manual/charset.texi: Likewise.
3426 * manual/errno.texi: Likewise.
3427 * manual/install.texi: Likewise.
3428 * manual/llio.texi: Likewise.
3429 * manual/locale.texi: Likewise.
3430 * manual/maint.texi: Likewise.
3431 * manual/math.texi: Likewise.
3432 * manual/memory.texi: Likewise.
3433 * manual/message.texi: Likewise.
3434 * manual/probes.texi: Likewise.
3435 * manual/resource.texi: Likewise.
3436 * manual/signal.texi: Likewise.
3437 * manual/socket.texi: Likewise.
3438 * manual/stdio.texi: Likewise.
3439 * manual/string.texi: Likewise.
3440 * manual/time.texi: Likewise.
3441 * manual/users.texi: Likewise.
3442
ade40b10
CD
34432014-02-25 Carlos O'Donell <carlos@redhat.com>
3444
3445 [BZ #16632]
3446 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3447 _DEFAULT_SOURCE is defined.
3448
d0503676
CD
34492014-02-25 Ulrich Drepper <drepper@gmail.com>
3450 Carlos O'Donell <carlos@redhat.com>
3451
3452 [BZ #16613]
3453 * elf/dl-tls.c (_dl_count_modids): New function.
3454 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3455 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3456 audit library and increment generation counter.
3457 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3458 * elf/tst-audit9.c: New file.
3459 * elf/tst-auditmod9a.c: New file.
3460 * elf/tst-auditmod9b.c: New file.
3461 * elf/Makefile: Add rules to build and run tst-audit9.
3462
4cbf380c
FW
34632014-02-25 Florian Weimer <fweimer@redhat.com>
3464
3465 [BZ #15347]
3466 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3467
80a56cc3
WN
34682014-02-25 Will Newton <will.newton@linaro.org>
3469
3470 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3471 (__longjmp): Restore sp and lr before restoring callee
3472 saved registers. Add longjmp and longjmp_target
3473 SystemTap probe point.
3474 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3475 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3476 Define to zero to match jmpbuf layout.
3477 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3478 (__sigsetjmp): Save sp and lr before saving callee
3479 saved registers. Add setjmp SystemTap probe point.
3480
3ea0f74e
SL
34812014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3482
3483 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3484
b04acb26
AS
34852014-02-24 Andreas Schwab <schwab@suse.de>
3486
3487 [BZ #15804]
3488 * elf/pldd.c (wait_for_ptrace_stop): New function.
3489 (main): Call it after attaching.
3490
098ad55c
RM
34912014-02-22 Roland McGrath <roland@hack.frob.com>
3492
d4ec6ae1
RM
3493 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3494 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3495 Versions files is now verboten.
3496 * hurd/Versions (libc: GLIBC_2.0):
3497 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3498 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3499 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3500 * mach/Versions: Likewise.
3501
098ad55c
RM
3502 * csu/Versions: Remove unused %include.
3503 * resolv/Versions: Likewise.
3504
acd7f096
JM
35052014-02-21 Joseph Myers <joseph@codesourcery.com>
3506
f0881698
JM
3507 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3508 ($(objpfx)check-local-headers.out): Likewise.
3509 ($(objpfx)begin-end-check.out): Likewise.
3510 * Makerules (check-abi-%.out): Likewise.
3511 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3512 ($(objpfx)test2.cat): Likewise.
3513 ($(objpfx)de/libc.cat): Likewise.
3514 ($(objpfx)test-gencat.out): Likewise.
3515 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3516 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3517 ($(objpfx)noload-mem): Likewise.
3518 ($(objpfx)tst-pathopt.out): Likewise.
3519 ($(objpfx)tst-rtld-load-self.out): Likewise.
3520 ($(objpfx)tst-array1-cmp.out): Likewise.
3521 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3522 ($(objpfx)tst-array2-cmp.out): Likewise.
3523 ($(objpfx)tst-array3-cmp.out): Likewise.
3524 ($(objpfx)tst-array4-cmp.out): Likewise.
3525 ($(objpfx)tst-array5-cmp.out): Likewise.
3526 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3527 ($(objpfx)check-textrel.out): Likewise.
3528 ($(objpfx)check-execstack.out): Likewise.
3529 ($(objpfx)check-localplt.out): Likewise.
3530 ($(objpfx)order2-cmp.out): Likewise.
3531 ($(objpfx)tst-leaks1-mem): Likewise.
3532 ($(objpfx)tst-leaks1-static-mem): Likewise.
3533 ($(objpfx)tst-initorder-cmp.out): Likewise.
3534 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3535 ($(objpfx)tst-unused-dep.out): Likewise.
3536 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3537 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3538 * iconv/Makefile (test-iconvconfig): Likewise.
3539 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3540 ($(objpfx)iconv-test.out): Likewise.
3541 ($(objpfx)tst-tables.out): Likewise.
3542 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3543 ($(objpfx)tst-gettext.out): Likewise.
3544 ($(objpfx)tst-translit.out): Likewise.
3545 ($(objpfx)tst-gettext2.out): Likewise.
3546 ($(objpfx)tst-gettext4.out): Likewise.
3547 ($(objpfx)tst-gettext6.out): Likewise.
3548 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3549 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3550 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3551 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3552 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3553 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3554 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3555 ($(objpfx)wordexp-tst.out): Likewise.
3556 ($(objpfx)annexc.out): Likewise.
3557 ($(objpfx)tst-fnmatch-mem): Likewise.
3558 ($(objpfx)bug-regex2-mem): Likewise.
3559 ($(objpfx)bug-regex14-mem): Likewise.
3560 ($(objpfx)bug-regex21-mem): Likewise.
3561 ($(objpfx)bug-regex31-mem): Likewise.
3562 ($(objpfx)tst-vfork3-mem): Likewise.
3563 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3564 ($(objpfx)tst-pcre-mem): Likewise.
3565 ($(objpfx)tst-boost-mem): Likewise.
3566 ($(objpfx)tst-getconf.out): Likewise.
3567 ($(objpfx)bug-ga2-mem): Likewise.
3568 ($(objpfx)bug-glob2-mem): Likewise.
3569 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3570 ($(objpfx)mtrace-tst-leaks2): Likewise.
3571 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3572 ($(objpfx)tst-printf.out): Likewise.
3573 ($(objpfx)tst-setvbuf1.out): Likewise.
3574 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3575 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3576 ($(objpfx)tst-fmtmsg.out): Likewise.
3577 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3578 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3579
acd7f096
JM
3580 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3581 * bits/sigaction.h [__USE_MISC]: Likewise.
3582 * bits/waitstatus.h: Update #endif comments.
3583 * ctype/ctype.h: Likewise.
3584 * dirent/dirent.h: Likewise.
3585 [__USE_MISC]: Remove redundant conditionals.
3586 * grp/grp.h: Update #endif comments.
3587 [__USE_GNU]: Remove redundant conditionals.
3588 [__USE_MISC]: Likewise.
3589 * inet/netinet/in.h [__USE_GNU]: Likewise.
3590 * io/sys/stat.h [__USE_MISC]: Likewise.
3591 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3592 * libio/bits/stdio.h: Update #endif comments.
3593 [__USE_MISC]: Remove redundant conditionals.
3594 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3595 * libio/stdio.h: Update #endif comments.
3596 [__USE_MISC]: Remove redundant conditionals.
3597 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3598 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3599 * math/math.h: Update #else and #endif comments.
3600 [__USE_MISC]: Remove redundant conditionals.
3601 * misc/sys/uio.h: Update #endif comments.
3602 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3603 * posix/glob.h [__USE_MISC]: Likewise.
3604 * posix/sys/types.h: Update #endif comments.
3605 [__USE_MISC]: Remove redundant conditionals.
3606 * posix/sys/wait.h: Update #endif comments.
3607 [__USE_MISC]: Remove redundant conditionals.
3608 * posix/unistd.h: Update #endif comments.
3609 [__USE_MISC]: Remove redundant conditionals.
3610 * pwd/pwd.h [__USE_GNU]: Likewise.
3611 [__USE_MISC]: Likewise.
3612 * resolv/netdb.h [__USE_GNU]: Likewise.
3613 * signal/signal.h: Update #endif comments.
3614 [__USE_MISC]: Remove redundant conditionals.
3615 * stdlib/stdlib.h: Update #else and #endif comments.
3616 [__USE_MISC]: Remove redundant conditionals.
3617 [__USE_GNU]: Likewise.
3618 * string/bits/string2.h [__USE_MISC]: Likewise.
3619 * string/string.h: Update #endif comments.
3620 [__USE_MISC]: Remove redundant conditionals.
3621 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3622 Likewise.
3623 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3624 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3625 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3626 Likewise.
3627 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3628 Likewise.
3629 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3630 comments.
3631 [__USE_MISC]: Remove redundant conditionals.
3632 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3633 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3634 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3635 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3636 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3637 Likewise.
3638 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3639 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3640 Likewise.
3641 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3642 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3643 Likewise.
3644 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3645 Likewise.
3646 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3647 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3648 Likewise.
3649 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3650 Likewise.
3651 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3652 * sysdeps/x86/bits/string.h: Update #endif comments.
3653 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3654 conditionals.
3655 * time/sys/time.h: Update #endif comments.
3656 * time/time.h: Likewise.
3657 [__USE_MISC]: Remove redundant conditionals.
3658
a5d82e4e
YG
36592014-02-21 Yury Gribov <y.gribov@samsung.com>
3660
3661 [BZ #16600]
3662 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3663
9a80491d
AS
36642014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3665
3666 * Versions.def (librt): Add GLIBC_2.17.
3667
105fa381
AC
36682014-02-21 Adam Conrad <adconrad@0c3.net>
3669
3670 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3671 synonym for _SYS_AUXV_H to allow direct inclusion.
3672 * sysdeps/sparc/bits/hwcap.h: Likewise.
3673 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3674 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3675 * sysdeps/sparc/sysdep.h: Likewise.
3676
b8cd1c4e
SP
36772014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3678
3679 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3680
bd939d23
RS
36812014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3682
3683 * benchtests/bench-strrchr.c: Print length instead of position.
3684
5d7b57ca
JM
36852014-02-20 Joseph Myers <joseph@codesourcery.com>
3686
bc688c10
JM
3687 [BZ #16611]
3688 * sysdeps/unix/sysv/linux/kernel-features.h
3689 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3690 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3691 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3692 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3693 Likewise.
3694 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3695 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3696 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3697 (__ASSUME_SENDMMSG): Define instead of using previous
3698 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3699 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3700 (__ASSUME_SENDMMSG_SYSCALL): Define.
3701 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3702 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3703 Likewise.
3704 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3705 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3706 Likewise.
3707 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3708 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3709 Likewise.
3710 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3711 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3712 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3713 [__ASSUME_SENDMMSG]: Change conditionals to
3714 [__ASSUME_SENDMMSG_SOCKETCALL].
3715 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3716 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3717 Define.
3718 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3719 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3720 Likewise.
3721 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3722 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3723 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3724 [!__ASSUME_SENDMMSG]: Change conditional to
3725 [!__ASSUME_SENDMMSG_SOCKETCALL].
3726 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3727 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3728 Define.
3729
0e31b18c
JM
3730 [BZ #16610]
3731 * sysdeps/unix/sysv/linux/kernel-features.h
3732 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3733 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3734 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3735 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3736 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3737 [__i386__ || __sparc__]
3738 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3739 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3740 (__ASSUME_RECVMMSG): Define instead of using previous
3741 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3742 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3743 (__ASSUME_RECVMMSG_SYSCALL): Define.
3744 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3745 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3746 Likewise.
3747 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3748 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3749 Likewise.
3750 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3751 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3752 Likewise.
3753 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3754 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3755 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3756 [__ASSUME_RECVMMSG]: Change condition to
3757 [__ASSUME_RECVMMSG_SOCKETCALL].
3758 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3759 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3760 Define.
3761 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3762 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3763 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3764 Likewise.
3765 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3766 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3767 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3768 [!__ASSUME_RECVMMSG]: Change condition to
3769 [!__ASSUME_RECVMMSG_SOCKETCALL].
3770 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3771 (__ASSUME_RECVMMSG_SYSCALL): Define.
3772
dd481ccf
JM
3773 [BZ #16609]
3774 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3775 __powerpc__ || __s390__ || __sh__ || __sparc__]
3776 (__ASSUME_SOCKETCALL): Define.
3777 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3778 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3779 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3780 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3781 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3782 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3783 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3784 (__ASSUME_ACCEPT4): Define instead of using previous
3785 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3786 __powerpc__ || __sparc__ || __s390__)] condition.
3787 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3788 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3789 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3790 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3791 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3792 [!__ASSUME_ACCEPT4]: Change condition to
3793 [!__ASSUME_ACCEPT4_SOCKETCALL].
3794 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3795 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3796 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3797 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3798 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3799 __ASSUME_ACCEPT4_SYSCALL.
3800 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3801 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3802 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3803 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3804 __ASSUME_ACCEPT4_SYSCALL.
3805 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3806 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3807 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3808 [__ASSUME_ACCEPT4]: Change condition to
3809 [__ASSUME_ACCEPT4_SOCKETCALL].
3810 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3811 (__ASSUME_SOCKETCALL): Define.
3812 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3813 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3814 (__ASSUME_SOCKETCALL): Define.
3815 (__ASSUME_ACCEPT4): Remove.
3816 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3817 Define.
3818 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3819 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3820 Likewise.
3821 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3822 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3823
5d7b57ca
JM
3824 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3825 macro.
3826 (HWCAP_ARM_LPAE): Likewise.
3827 (HWCAP_ARM_EVTSTRM): Likewise.
3828 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3829 Add vpfd32, lpae and evtstrm.
3830 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3831 Increase to 22.
3832
63689d61
JM
38332014-02-19 Joseph Myers <joseph@codesourcery.com>
3834
3835 * math/auto-libm-test-in: Add tests of clog10.
3836 * math/auto-libm-test-out: Regenerated.
3837 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3838 * sysdeps/i386/fpu/libm-test-ulps: Update.
3839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3840
ab09bf61
AS
38412014-02-18 Andreas Schwab <schwab@suse.de>
3842
3843 [BZ #16574]
3844 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3845 Store non-zero if the second buffer was newly allocated.
3846 (send_dg): Likewise.
3847 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3848 to send_vc and send_dg.
3849 (res_nsend): Pass NULL for ansp2_malloced.
3850 * resolv/res_query.c (__libc_res_nquery): Add parameter
3851 answerp2_malloced and pass it down to __libc_res_nsend.
3852 (res_nquery): Pass additional NULL to __libc_res_nquery.
3853 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3854 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3855 second answer buffer if answerp2_malloced was set.
3856 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3857 (__libc_res_nquerydomain): Add parameter
3858 answerp2_malloced and pass it down to __libc_res_nquery.
3859 (res_nquerydomain): Pass additional NULL to
3860 __libc_res_nquerydomain.
3861 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3862 additional NULL to __libc_res_nsend and __libc_res_nquery.
3863 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3864 additional NULL to __libc_res_nsearch.
3865 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3866 parameter of __libc_res_nsearch to check for separately allocated
3867 second buffer.
3868 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3869 __libc_res_nquery.
3870 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3871 additional NULL to __libc_res_nquery.
3872 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3873 __libc_res_nsearch.
3874 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3875 * include/resolv.h: Update prototypes of __libc_res_nquery,
3876 __libc_res_nsearch, __libc_res_nsend.
3877
a4fb7861
JM
38782014-02-18 Joseph Myers <joseph@codesourcery.com>
3879
c6af2d89
JM
3880 * math/auto-libm-test-in: Add tests of fma.
3881 * math/auto-libm-test-out: Regenerated.
3882 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3883 (fma_towardzero_test_data): Likewise.
3884 (fma_downward_test_data): Likewise.
3885 (fma_upward_test_data): Likewise.
3886 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3887 mpc_mode.
3888 (rounding_modes): Add values for new field.
3889 (func_calc_method): Add value mpfr_fff_f.
3890 (func_calc_desc): Add mpfr_fff_f union field.
3891 (test_function): Add field exact_args.
3892 (FUNC): Add macro argument EXACT_ARGS.
3893 (FUNC_mpfr_f_f): Update call to FUNC.
3894 (FUNC_mpfr_f_f): Likewise.
3895 (FUNC_mpfr_ff_f): Likewise.
3896 (FUNC_mpfr_if_f): Likewise.
3897 (FUNC_mpc_c_f): Likewise.
3898 (FUNC_mpc_c_c): Likewise.
3899 (test_functions): Add fma. Update calls to FUNC.
3900 (handle_input_arg): Add argument exact_args.
3901 (add_test): Update call to handle_input_arg.
3902 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3903 (output_for_one_input_case): Update call to calc_generic_results.
3904 Recalculate exact zero results in each rounding mode.
3905
a4fb7861
JM
3906 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3907 non-negative before setting low bit.
3908 * math/auto-libm-test-in: Mark one asin test possibly having
3909 spurious underflow.
3910 * math/auto-libm-test-out: Regenerated.
3911 * sysdeps/i386/fpu/libm-test-ulps: Update.
3912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3913
ef114eaf
DH
39142014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3915
2b7f4f2c
SP
3916 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3917 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3918 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3919 * README: Add missing listing for microblaze*-*-linux-gnu.
3920
c70a4b1d
MF
39212014-02-16 Mike Frysinger <vapier@gentoo.org>
3922
3923 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3924 * sysdeps/unix/sysv/linux/ia64: Move directory from
3925 ports/sysdeps/unix/sysv/linux/ia64.
3926 * README: Update listing for ia64-*-linux-gnu.
3927
591aeaf7
TD
39282014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3929 Joseph Myers <joseph@codesourcery.com>
3930
3931 * Makeconfig (test-name): New variable.
3932 (evaluate-test): Likewise.
3933 * Makerules (do-test-clean): Remove .test-result files.
3934 (common-mostlyclean): Likewise.
3935 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3936 * scripts/evaluate-test.sh: New file.
3937
6e89caf1
JM
39382014-02-14 Joseph Myers <joseph@codesourcery.com>
3939
7f98f180
JM
3940 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3941 separate $(objpfx)tst-fopenloc-cmp.out and
3942 $(objpfx)tst-fopenloc-mem.out targets.
3943 (tests): Update dependencies.
3944 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3945 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3946 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3947 (tst-rxspencer-no-utf8-ARGS): New variable.
3948 (tst-rxspencer-no-utf8-ENV): Likewise.
3949 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3950 instead of $(objpfx)tst-rxspencer-mem.
3951 ($(objpfx)tst-rxspencer-mem): Change target to
3952 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3953 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3954 * posix/tst-rxspencer-no-utf8.c: New file.
3955
6e89caf1
JM
3956 * elf/Makefile ($(objpfx)order.out): Remove rule.
3957 [$(run-built-tests) = yes] (tests): Depend on
3958 $(objpfx)order-cmp.out.
3959 ($(objpfx)order-cmp.out): New rule.
3960 [$(run-built-tests) = yes] (tests): Depend on
3961 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3962 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3963 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3964 $(objpfx)tst-array5-static-cmp.out.
3965 ($(objpfx)tst-array1.out): Remove rule.
3966 ($(objpfx)tst-array1-cmp.out): New rule.
3967 ($(objpfx)tst-array1-static.out): Remove rule.
3968 ($(objpfx)tst-array1-static-cmp.out): New rule.
3969 ($(objpfx)tst-array2.out): Remove rule.
3970 ($(objpfx)tst-array2-cmp.out): New rule.
3971 ($(objpfx)tst-array3.out): Remove rule.
3972 ($(objpfx)tst-array3-cmp.out): New rule.
3973 ($(objpfx)tst-array4.out): Remove rule.
3974 ($(objpfx)tst-array4-cmp.out): New rule.
3975 ($(objpfx)tst-array5.out): Remove rule.
3976 ($(objpfx)tst-array5-cmp.out): New rule.
3977 ($(objpfx)tst-array5-static.out): Remove rule.
3978 ($(objpfx)tst-array5-static-cmp.out): New rule.
3979 [$(run-built-tests) = yes] (tests): Depend on
3980 $(objpfx)order2-cmp.out.
3981 ($(objpfx)order2.out): Remove rule.
3982 ($(objpfx)order2-cmp.out): New rule.
3983 ($(objpfx)tst-initorder.out): Remove rule.
3984 [$(run-built-tests) = yes] (tests): Depend on
3985 $(objpfx)tst-initorder-cmp.out.
3986 ($(objpfx)tst-initorder-cmp.out): New rule.
3987 ($(objpfx)tst-initorder2.out): Remove rule.
3988 [$(run-built-tests) = yes] (tests): Depend on
3989 $(objpfx)tst-initorder2-cmp.out.
3990 ($(objpfx)tst-initorder2-cmp.out): New rule.
3991 [$(run-built-tests) = yes] (tests): Depend on
3992 $(objpfx)tst-unused-dep-cmp.out.
3993 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3994 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3995 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3996 on $(objpfx)tst-setvbuf1-cmp.out.
3997 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3998 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3999 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4000 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4001 ($(objpfx)tst-svc.out): Remove rule.
4002 ($(objpfx)tst-svc-cmp.out): New rule.
4003
ed9a38e2
JM
40042014-02-13 Joseph Myers <joseph@codesourcery.com>
4005
4006 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4007 * ctype/ctype.h [__USE_MISC]: Likewise.
4008 * dirent/dirent.h [__USE_MISC]: Likewise.
4009 * grp/grp.h [__USE_MISC]: Likewise.
4010 * io/fcntl.h [__USE_MISC]: Likewise.
4011 * io/sys/stat.h [__USE_MISC]: Likewise.
4012 * libio/stdio.h [__USE_MISC]: Likewise.
4013 * posix/unistd.h [__USE_MISC]: Likewise.
4014 * pwd/pwd.h [__USE_MISC]: Likewise.
4015 * stdlib.h [__USE_MISC]: Likewise.
4016 * string/bits/string2.h [__USE_MISC]: Likewise.
4017 * string/string.h [__USE_MISC]: Likewise.
4018 * time/time.h [__USE_MISC]: Likewise.
4019
d6680619
AS
40202014-02-13 Andreas Schwab <schwab@suse.de>
4021
4022 [BZ #16574]
4023 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4024 second answer buffer if it was separately allocated.
4025
ace614b8
JM
40262014-02-12 Joseph Myers <joseph@codesourcery.com>
4027
743151ae
JM
4028 * sysdeps/mips/math-tests.h: Include <features.h>.
4029 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4030 (ROUNDING_TESTS_long_double): Do not define.
4031 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4032 (EXCEPTION_TESTS_long_double): Likewise.
4033 * sysdeps/mips/mips64/libm-test-ulps: Update.
4034
498afc54
JM
4035 * include/features.h (__USE_BSD): Remove macro definitions.
4036 (__USE_SVID): Likewise.
4037 (_BSD_SOURCE): Likewise.
4038 (_SVID_SOURCE): Likewise.
4039 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4040 from definition of _DEFAULT_SOURCE.
4041 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4042 [_DEFAULT_SOURCE].
4043 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4044 * bits/mman.h [__USE_BSD]: Likewise.
4045 * bits/termios.h [__USE_BSD]: Likewise.
4046 * bits/waitstatus.h [__USE_BSD]: Likewise.
4047 * ctype/ctype.h [__USE_SVID]: Likewise.
4048 * dirent/dirent.h [__USE_BSD]: Likewise.
4049 * grp/grp.h [__USE_SVID]: Likewise.
4050 [__USE_BSD]: Likewise.
4051 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4052 * io/fcntl.h [__USE_BSD]: Likewise.
4053 * io/ftw.h [__USE_BSD]: Likewise.
4054 * io/sys/stat.h [__USE_BSD]: Likewise.
4055 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4056 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4057 * libio/stdio.h [__USE_SVID]: Likewise.
4058 [__USE_BSD]: Likewise.
4059 * math/math.h [__USE_SVID]: Likewise.
4060 [__USE_BSD]: Likewise.
4061 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4062 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4063 * misc/search.h [__USE_SVID]: Likewise.
4064 * misc/sys/mman.h [__USE_BSD]: Likewise.
4065 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4066 * misc/sys/uio.h [__USE_BSD]: Likewise.
4067 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4068 * posix/glob.h [__USE_BSD]: Likewise.
4069 * posix/regex.h [__USE_BSD]: Likewise.
4070 * posix/sys/types.h [__USE_BSD]: Likewise.
4071 [__USE_SVID]: Likewise.
4072 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4073 * posix/sys/wait.h [__USE_BSD]: Likewise.
4074 [__USE_SVID]: Likewise.
4075 * posix/unistd.h [__USE_BSD]: Likewise.
4076 [__USE_SVID]: Likewise.
4077 * pwd/pwd.h [__USE_SVID]: Likewise.
4078 * resolv/netdb.h [__USE_BSD]: Likewise.
4079 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4080 * signal/signal.h [__USE_BSD]: Likewise.
4081 [__USE_SVID]: Likewise.
4082 * socket/sys/socket.h [__USE_BSD]: Likewise.
4083 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4084 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4085 [__USE_SVID]: Likewise.
4086 * string/bits/string2.h [__USE_BSD]: Likewise.
4087 [__USE_SVID]: Likewise.
4088 * string/bits/string3.h [__USE_BSD]: Likewise.
4089 * string/endian.h [__USE_BSD]: Likewise.
4090 * string/string.h [__USE_SVID]: Likewise.
4091 [__USE_BSD]: Likewise.
4092 * string/strings.h [__USE_BSD]: Likewise.
4093 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4094 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4095 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4096 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4097 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4098 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4099 Likewise.
4100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4101 Likewise.
4102 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4103 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4104 Likewise.
4105 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4106 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4107 Likewise.
4108 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4109 Likewise.
4110 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4111 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4112 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4113 Likewise.
4114 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4115 Likewise.
4116 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4117 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4118 * termios/termios.h [__USE_BSD]: Likewise.
4119 * time/sys/time.h [__USE_BSD]: Likewise.
4120 * time/time.h [__USE_BSD]: Likewise.
4121 [__USE_SVID]: Likewise.
4122
dd7b064c
JM
4123 * Makefile (subdir_targets): Remove subdir_lint.out.
4124
a2c4c199
JM
4125 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4126 (do-tst-printf): Likewise.
4127 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4128 $(objpfx)tst-printf.out.
4129
8756f740
JM
4130 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4131
1b6dd3f1
JM
4132 * Makerules (check-abi-%): Change target to
4133 $(objpfx)check-abi-%.out.
4134 (check-abi target): Update dependencies.
4135 (check-abi-pattern variable): Redirect output of diff to $@.
4136 (check-abi variable): Likewise.
4137 * elf/Makefile (check-abi): Update dependencies.
4138
ace614b8
JM
4139 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4140 unused.
4141 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4142 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4143 subnormal range.
4144 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4145 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4146 value has largest subnormal exponent.
4147 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4148 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4149 * sysdeps/aarch64/soft-fp/sfp-machine.h
4150 (_FP_TININESS_AFTER_ROUNDING): New macro.
4151 * sysdeps/alpha/soft-fp/sfp-machine.h
4152 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4153 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4154 Likewise.
4155 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4156 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4157 * sysdeps/mips/soft-fp/sfp-machine.h
4158 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4159 * sysdeps/powerpc/soft-fp/sfp-machine.h
4160 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4161 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4162 Likewise.
4163 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4164 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4165 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4166 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4167 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4168 Likewise.
4169
fbfdf9cb
DAS
41702014-02-12 Dylan Alex Simon <dylan@dylex.net>
4171
4172 [BZ #16545]
4173 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4174 model 1.
4175
68b7efaa
RH
41762014-02-12 Richard Henderson <rth@redhat.com>
4177
c70a4b1d 4178 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4179 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4180 * sysdeps/unix/sysv/linux/alpha: Move directory from
4181 ports/sysdeps/unix/sysv/linux/alpha.
4182 * README: Update listing for alpha-*-linux-gnu.
4183
cb4a2928
JM
41842014-02-11 Joseph Myers <joseph@codesourcery.com>
4185
c941736c
JM
4186 * include/features.h: Update comment documenting feature test
4187 macros.
4188 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4189 _DEFAULT_SOURCE.
4190 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4191 (_SVID_SOURCE): Likewise.
4192 (_DEFAULT_SOURCE): Update description of default features.
4193 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4194 with _GNU_SOURCE.
4195 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4196 (S_ISVTX): Likewise.
4197 * manual/math.texi (Mathematical Constants): Likewise.
4198 * manual/signal.texi (Interrupted Primitives): Likewise.
4199 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4200 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4201 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4202 Don't refer to _SVID_SOURCE in warning text.
4203
e8d8d7ec
JM
4204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4205
cb4a2928
JM
4206 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4207 already defined.
4208 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4209 * sysdeps/mips/dl-lookup.c: Remove.
4210 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4211
7e6424e3
AK
42122014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4213
4214 [BZ #16447]
4215 * math/auto-libm-test-in: Add testcase for expl.
4216 * math/auto-libm-test-out: Regenerate.
4217 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4218 calculation of unsafe.
4219 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4220
75eff3fe
MS
42212014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4222
4223 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4224 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4225 ports/sysdeps/unix/sysv/linux/aarch64.
4226 * README: Update listing for aarch64*-*-linux-gnu.
4227
d35f1e80
WN
42282014-02-11 Will Newton <will.newton@linaro.org>
4229
4230 * manual/probes.texi (Mathematical Function Probes): Use
4231 "triggered" instead of "hit".
4232
7b3436d4
WN
4233 * manual/probes.texi (Internal Probes): Add documentation
4234 of setjmp, longjmp and longjmp_target probes.
4235
b4f12ca3
WN
4236 * include/stap-probe.h: Add comment about probe argument
4237 format.
4238
c13a72b7
WN
4239 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4240 definition. (tr_where, tr_freehook, tr_mallochook,
4241 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4242
195b8165
DM
42432014-02-11 David S. Miller <davem@davemloft.net>
4244
4245 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4246 processing int_tests.
4247
2ad7600b
JM
42482014-02-10 Joseph Myers <joseph@codesourcery.com>
4249
4250 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4251 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4252 * sysdeps/unix/sysv/linux/mips: Move directory from
4253 ports/sysdeps/unix/sysv/linux/mips.
4254 * README: Update listing for mips-*-linux-gnu and
4255 mips64-*-linux-gnu.
4256
73588a72
AS
42572014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4258
4259 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4260 * sysdeps/unix/sysv/linux/m68k: Move directory from
4261 ports/sysdeps/unix/sysv/linux/m68k.
4262 * README: Update listing for m68k-*-linux-gnu.
4263
4372980f
CM
42642014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4265
4266 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4267 * sysdeps/unix/sysv/linux/generic: Move directory from
4268 ports/sysdeps/unix/sysv/linux/generic.
4269 * sysdeps/unix/sysv/linux/tile: Move directory from
4270 ports/sysdeps/unix/sysv/linux/tile.
4271 * README: Update listing for tile*-*-linux-gnu.
4272
a1ffb40e
OB
42732014-02-10 Ondřej Bílka <neleai@seznam.cz>
4274
57f41c40
AS
4275 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4276 __builtin_expect.
a1ffb40e
OB
4277 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4278 * catgets/open_catalog.c (__open_catalog): Likewise.
4279 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4280 * debug/confstr_chk.c: Likewise.
4281 * debug/fread_chk.c (__fread_chk): Likewise.
4282 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4283 * debug/getgroups_chk.c: Likewise.
4284 * debug/mbsnrtowcs_chk.c: Likewise.
4285 * debug/mbsrtowcs_chk.c: Likewise.
4286 * debug/mbstowcs_chk.c: Likewise.
4287 * debug/memcpy_chk.c: Likewise.
4288 * debug/memmove_chk.c: Likewise.
4289 * debug/mempcpy_chk.c: Likewise.
4290 * debug/memset_chk.c: Likewise.
4291 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4292 * debug/strcat_chk.c (__strcat_chk): Likewise.
4293 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4294 * debug/strncat_chk.c (__strncat_chk): Likewise.
4295 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4296 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4297 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4298 * debug/wcpncpy_chk.c: Likewise.
4299 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4300 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4301 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4302 * debug/wcsncpy_chk.c: Likewise.
4303 * debug/wcsnrtombs_chk.c: Likewise.
4304 * debug/wcsrtombs_chk.c: Likewise.
4305 * debug/wcstombs_chk.c: Likewise.
4306 * debug/wmemcpy_chk.c: Likewise.
4307 * debug/wmemmove_chk.c: Likewise.
4308 * debug/wmempcpy_chk.c: Likewise.
4309 * debug/wmemset_chk.c: Likewise.
4310 * dirent/scandirat.c (SCANDIRAT): Likewise.
4311 * dlfcn/dladdr1.c (dladdr1): Likewise.
4312 * dlfcn/dladdr.c (dladdr): Likewise.
4313 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4314 * dlfcn/dlerror.c (__dlerror): Likewise.
4315 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4316 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4317 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4318 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4319 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4320 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4321 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4322 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4323 Likewise.
4324 * elf/dl-conflict.c: Likewise.
4325 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4326 * elf/dl-dst.h: Likewise.
4327 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4328 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4329 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4330 * elf/dl-init.c (call_init, _dl_init): Likewise.
4331 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4332 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4333 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4334 Likewise.
a1ffb40e
OB
4335 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4336 Likewise.
4337 * elf/dl-minimal.c (__libc_memalign): Likewise.
4338 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4339 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4340 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4341 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4342 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4343 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4344 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4345 * elf/dl-writev.h (_dl_writev): Likewise.
4346 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4347 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4348 (dl_main): Likewise.
a1ffb40e
OB
4349 * elf/setup-vdso.h (setup_vdso): Likewise.
4350 * grp/compat-initgroups.c (compat_call): Likewise.
4351 * grp/fgetgrent.c (fgetgrent): Likewise.
4352 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4353 * grp/putgrent.c (putgrent): Likewise.
4354 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4355 Likewise.
4356 * hurd/hurdinit.c: Likewise.
4357 * iconvdata/8bit-gap.c (struct): Likewise.
4358 * iconvdata/ansi_x3.110.c : Likewise.
4359 * iconvdata/big5.c : Likewise.
4360 * iconvdata/big5hkscs.c : Likewise.
4361 * iconvdata/cp1255.c: Likewise.
4362 * iconvdata/cp1258.c : Likewise.
4363 * iconvdata/cp932.c : Likewise.
4364 * iconvdata/euc-cn.c: Likewise.
4365 * iconvdata/euc-jisx0213.c : Likewise.
4366 * iconvdata/euc-jp.c: Likewise.
4367 * iconvdata/euc-jp-ms.c : Likewise.
4368 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4369 * iconvdata/gb18030.c : Likewise.
4370 * iconvdata/gbbig5.c (const): Likewise.
4371 * iconvdata/gbgbk.c: Likewise.
4372 * iconvdata/gbk.c : Likewise.
4373 * iconvdata/ibm1364.c : Likewise.
4374 * iconvdata/ibm930.c : Likewise.
4375 * iconvdata/ibm932.c: Likewise.
4376 * iconvdata/ibm933.c : Likewise.
4377 * iconvdata/ibm935.c : Likewise.
4378 * iconvdata/ibm937.c : Likewise.
4379 * iconvdata/ibm939.c : Likewise.
4380 * iconvdata/ibm943.c: Likewise.
4381 * iconvdata/iso_11548-1.c: Likewise.
4382 * iconvdata/iso-2022-cn.c : Likewise.
4383 * iconvdata/iso-2022-cn-ext.c : Likewise.
4384 * iconvdata/iso-2022-jp-3.c: Likewise.
4385 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4386 * iconvdata/iso-2022-kr.c : Likewise.
4387 * iconvdata/iso646.c (gconv_end): Likewise.
4388 * iconvdata/iso_6937-2.c : Likewise.
4389 * iconvdata/iso_6937.c : Likewise.
4390 * iconvdata/iso8859-1.c: Likewise.
4391 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4392 * iconvdata/shift_jisx0213.c : Likewise.
4393 * iconvdata/sjis.c : Likewise.
4394 * iconvdata/t.61.c : Likewise.
4395 * iconvdata/tcvn5712-1.c : Likewise.
4396 * iconvdata/tscii.c: Likewise.
4397 * iconvdata/uhc.c : Likewise.
4398 * iconvdata/unicode.c (gconv_end): Likewise.
4399 * iconvdata/utf-16.c (gconv_end): Likewise.
4400 * iconvdata/utf-32.c (gconv_end): Likewise.
4401 * iconvdata/utf-7.c (base64): Likewise.
4402 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4403 * iconv/gconv_close.c (__gconv_close): Likewise.
4404 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4405 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4406 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4407 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4408 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4409 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4410 * iconv/iconv.c (iconv): Likewise.
4411 * iconv/iconv_close.c: Likewise.
4412 * iconv/loop.c (SINGLE): Likewise.
4413 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4414 * include/atomic.h: Likewise.
4415 * inet/inet6_option.c (option_alloc): Likewise.
4416 * intl/bindtextdom.c (set_binding_values): Likewise.
4417 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4418 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4419 * intl/localealias.c (read_alias_file): Likewise.
4420 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4421 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4422 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4423 * libio/fmemopen.c (fmemopen): Likewise.
4424 * libio/iofgets.c (_IO_fgets): Likewise.
4425 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4426 * libio/iofgetws.c (fgetws): Likewise.
4427 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4428 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
4429 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4430 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
4431 * locale/findlocale.c (_nl_find_locale): Likewise.
4432 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4433 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4434 Likewise.
4435 * locale/setlocale.c (setlocale): Likewise.
4436 * login/programs/pt_chown.c (main): Likewise.
4437 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4438 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
4439 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4440 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
4441 * math/e_exp2l.c: Likewise.
4442 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4443 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4444 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4445 * math/s_catan.c (__catan): Likewise.
4446 * math/s_catanf.c (__catanf): Likewise.
4447 * math/s_catanh.c (__catanh): Likewise.
4448 * math/s_catanhf.c (__catanhf): Likewise.
4449 * math/s_catanhl.c (__catanhl): Likewise.
4450 * math/s_catanl.c (__catanl): Likewise.
4451 * math/s_ccosh.c (__ccosh): Likewise.
4452 * math/s_ccoshf.c (__ccoshf): Likewise.
4453 * math/s_ccoshl.c (__ccoshl): Likewise.
4454 * math/s_cexp.c (__cexp): Likewise.
4455 * math/s_cexpf.c (__cexpf): Likewise.
4456 * math/s_cexpl.c (__cexpl): Likewise.
4457 * math/s_clog10.c (__clog10): Likewise.
4458 * math/s_clog10f.c (__clog10f): Likewise.
4459 * math/s_clog10l.c (__clog10l): Likewise.
4460 * math/s_clog.c (__clog): Likewise.
4461 * math/s_clogf.c (__clogf): Likewise.
4462 * math/s_clogl.c (__clogl): Likewise.
4463 * math/s_csin.c (__csin): Likewise.
4464 * math/s_csinf.c (__csinf): Likewise.
4465 * math/s_csinh.c (__csinh): Likewise.
4466 * math/s_csinhf.c (__csinhf): Likewise.
4467 * math/s_csinhl.c (__csinhl): Likewise.
4468 * math/s_csinl.c (__csinl): Likewise.
4469 * math/s_csqrt.c (__csqrt): Likewise.
4470 * math/s_csqrtf.c (__csqrtf): Likewise.
4471 * math/s_csqrtl.c (__csqrtl): Likewise.
4472 * math/s_ctan.c (__ctan): Likewise.
4473 * math/s_ctanf.c (__ctanf): Likewise.
4474 * math/s_ctanh.c (__ctanh): Likewise.
4475 * math/s_ctanhf.c (__ctanhf): Likewise.
4476 * math/s_ctanhl.c (__ctanhl): Likewise.
4477 * math/s_ctanl.c (__ctanl): Likewise.
4478 * math/w_pow.c: Likewise.
4479 * math/w_powf.c: Likewise.
4480 * math/w_powl.c: Likewise.
4481 * math/w_scalb.c (sysv_scalb): Likewise.
4482 * math/w_scalbf.c (sysv_scalbf): Likewise.
4483 * math/w_scalbl.c (sysv_scalbl): Likewise.
4484 * misc/error.c (error_tail): Likewise.
4485 * misc/pselect.c (__pselect): Likewise.
4486 * nis/nis_callback.c (__nis_create_callback): Likewise.
4487 * nis/nis_call.c (__nisfind_server): Likewise.
4488 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4489 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4490 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4491 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4492 * nis/nis_lookup.c (nis_lookup): Likewise.
4493 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
4494 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4495 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 4496 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
4497 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4498 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4499 * nis/nss_compat/compat-initgroups.c (add_group)
4500 (internal_getgrent_r): Likewise.
4501 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4502 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4503 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4504 (internal_getspnam_r): Likewise.
4505 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4506 (_nss_nis_getaliasbyname_r): Likewise.
4507 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4508 (_nss_nis_getntohost_r): Likewise.
4509 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4510 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4511 (_nss_nis_getgrgid_r): Likewise.
4512 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4513 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4514 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4515 (_nss_nis_gethostbyname4_r): Likewise.
4516 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4517 (initgroups_netid): Likewise.
a1ffb40e 4518 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
4519 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4520 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4521 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4522 (_nss_nis_getprotobynumber_r): Likewise.
4523 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4524 (_nss_nis_getsecretkey): Likewise.
4525 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4526 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4527 (_nss_nis_getpwuid_r): Likewise.
4528 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4529 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4530 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4531 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4532 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4533 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
4534 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4535 Likewise.
57f41c40
AS
4536 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4537 (_nss_nisplus_getntohost_r): Likewise.
4538 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4539 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4540 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4541 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 4542 Likewise.
57f41c40
AS
4543 * nis/nss_nisplus/nisplus-initgroups.c
4544 (_nss_nisplus_initgroups_dyn): Likewise.
4545 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4546 (_nss_nisplus_getnetbyaddr_r): Likewise.
4547 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4548 (_nss_nisplus_getprotobynumber_r): Likewise.
4549 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4550 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
4551 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4552 Likewise.
57f41c40
AS
4553 * nis/nss_nisplus/nisplus-service.c
4554 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4555 (_nss_nisplus_getservbyport_r): Likewise.
4556 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4557 (_nss_nisplus_getspnam_r): Likewise.
4558 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4559 Likewise.
a1ffb40e
OB
4560 * nscd/aicache.c (addhstaiX): Likewise.
4561 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
4562 * nscd/connections.c (register_traced_file, send_ro_fd)
4563 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4564 (main_loop_epoll): Likewise.
a1ffb40e
OB
4565 * nscd/grpcache.c (addgrbyX): Likewise.
4566 * nscd/hstcache.c (addhstbyX): Likewise.
4567 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4568 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
4569 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4570 (addinnetgrX): Likewise.
4571 * nscd/nscd-client.h (__nscd_acquire_maplock)
4572 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
4573 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4574 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4575 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4576 Likewise.
4577 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4578 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
4579 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4580 (__nscd_get_map_ref): Likewise.
a1ffb40e 4581 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
4582 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4583 Likewise.
a1ffb40e
OB
4584 * nscd/pwdcache.c (addpwbyX): Likewise.
4585 * nscd/selinux.c (preserve_capabilities): Likewise.
4586 * nscd/servicescache.c (addservbyX): Likewise.
4587 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4588 * posix/fnmatch.c (fnmatch): Likewise.
4589 * posix/getopt.c (_getopt_internal_r): Likewise.
4590 * posix/glob.c (glob, glob_in_dir): Likewise.
4591 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
4592 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4593 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
4594 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4595 * resolv/res_init.c: Likewise.
4596 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4597 * resolv/res_query.c (__libc_res_nquery): Likewise.
4598 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4599 Likewise.
4600 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4601 * stdio-common/perror.c (perror): Likewise.
4602 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4603 * stdio-common/tmpnam.c (tmpnam): Likewise.
4604 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4605 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
4606 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4607 Likewise.
a1ffb40e
OB
4608 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4609 * stdlib/putenv.c (putenv): Likewise.
4610 * stdlib/setenv.c (__add_to_environ): Likewise.
4611 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4612 * stdlib/strtol_l.c (INTERNAL): Likewise.
4613 * string/memmem.c (memmem): Likewise.
4614 * string/strerror.c (strerror): Likewise.
4615 * string/strnlen.c (__strnlen): Likewise.
4616 * string/test-memmem.c (simple_memmem): Likewise.
4617 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4618 * sunrpc/pm_getport.c (__get_socket): Likewise.
4619 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4620 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
4621 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4622 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
4623 Likewise.
4624 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4625 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4626 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4627 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4628 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
4629 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4630 Likewise.
4631 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4632 Likewise.
a1ffb40e
OB
4633 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4634 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4635 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4636 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4637 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4638 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4639 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4640 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4641 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4642 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4643 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4644 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4645 Likewise.
4646 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4647 Likewise.
4648 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4649 Likewise.
4650 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4651 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4652 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4653 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4654 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4655 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4656 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4657 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4658 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4659 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4660 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4661 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4662 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4663 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4664 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
4665 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4666 Likewise.
a1ffb40e
OB
4667 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4668 Likewise.
4669 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4670 Likewise.
4671 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4672 Likewise.
4673 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4674 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4675 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4676 Likewise.
4677 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4678 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4679 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4680 * sysdeps/posix/sleep.c: Likewise.
4681 * sysdeps/posix/tempname.c: Likewise.
4682 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4683 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4684 Likewise.
57f41c40
AS
4685 * sysdeps/powerpc/powerpc32/dl-machine.h
4686 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
4687 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4688 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4689 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4690 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4691 Likewise.
4692 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4693 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4694 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4695 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4696 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4697 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4698 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4699 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4700 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4701 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4702 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4703 (elf_machine_lazy_rel): Likewise.
a1ffb40e 4704 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4705 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4706 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4707 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4708 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4709 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4710 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4711 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4712 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4713 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4714 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4715 Likewise.
4716 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4717 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4718 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4719 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4720 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4721 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4722 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4723 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4724 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4725 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4726 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4727 Likewise.
4728 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4729 (__posix_fallocate64_l64): Likewise.
4730 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4731 (posix_fallocate): Likewise.
57f41c40
AS
4732 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4733 Likewise.
a1ffb40e 4734 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
4735 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4736 (getifaddrs_internal): Likewise.
a1ffb40e
OB
4737 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4738 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4739 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4740 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4741 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4742 (__posix_fallocate64_l64): Likewise.
4743 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4744 Likewise.
4745 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
4746 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4747 (__get_clockfreq): Likewise.
a1ffb40e
OB
4748 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4749 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4750 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4752 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4753 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4754 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4755 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4756 Likewise.
4757 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4758 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4759 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4760 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4761 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4762 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4763 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4764 Likewise.
4765 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4766 (posix_fallocate): Likewise.
4767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4768 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4769 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4770 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4771 (elf_machine_rela, elf_machine_rela_relative)
4772 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4773 * time/asctime.c (asctime_internal): Likewise.
4774 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4775 * time/tzset.c (__tzset_parse_tz): Likewise.
4776 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4777 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4778 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4779 * wcsmbs/wcsmbsload.h: Likewise.
4780
f3d338c9
OB
4781 [BZ #15894]
4782 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4783
57f41c40
AS
4784 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4785 (arena_get2): Remove THREAD_STATS conditionals.
4786 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4787 (__malloc_stats, int): Likewise.
bdfe308a 4788
d674667c
MF
47892014-02-08 Mike Frysinger <vapier@gentoo.org>
4790
4791 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4792 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4793
6349768c
MF
4794 * manual/setjmp.texi: Fix typos/grammar errors.
4795
0b7c7473
MF
4796 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4797 Only return early when n is <= 0. Delete unused return statement.
4798
ac8cc9e3
MF
4799 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4800 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4801 * debug/tst-longjmp_chk3.c: New file.
4802
c5bb8e23
MF
4803 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4804 (test_main): Replace code with set_fortify_handler call.
4805 * debug/test-strcpy_chk.c: Likewise.
4806 * debug/tst-chk1.c: Likewise.
4807 * debug/tst-longjmp_chk.c: Likewise.
4808 * test-skeleton.c: Include fcntl.h & paths.h
4809 (set_fortify_handler): Define.
4810
10444e42
MF
4811 * debug/tst-longjmp_chk.c: Add header comment and include
4812 ../test-skeleton.c.
4813 (do_test): Mark static.
4814 (TEST_FUNCTION): Define.
4815
1e805e8d
MF
4816 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4817 (IP_PMTUDISC_INTERFACE): Likewise.
4818 (IP_MULTICAST_IF): Likewise.
4819 (IP_MULTICAST_TTL): Likewise.
4820 (IP_MULTICAST_LOOP): Likewise.
4821 (IP_ADD_MEMBERSHIP): Likewise.
4822 (IP_DROP_MEMBERSHIP): Likewise.
4823 (IP_UNBLOCK_SOURCE): Likewise.
4824 (IP_BLOCK_SOURCE): Likewise.
4825 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4826 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4827 (IP_MSFILTER): Likewise.
4828 (MCAST_JOIN_GROUP): Likewise.
4829 (MCAST_BLOCK_SOURCE): Likewise.
4830 (MCAST_UNBLOCK_SOURCE): Likewise.
4831 (MCAST_LEAVE_GROUP): Likewise.
4832 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4833 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4834 (MCAST_MSFILTER): Likewise.
4835 (IP_MULTICAST_ALL): Likewise.
4836 (IP_UNICAST_IF): Likewise.
4837
73f79bb7
MF
4838 * timezone/Makefile: Delete $(have-ksh) check.
4839 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4840 * timezone/tzselect.ksh: Add +x mode bits.
4841
8da79b60
MF
4842 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4843 (ANON_INODE_FS_MAGIC): Likewise.
4844 (BDEVFS_MAGIC): Likewise.
4845 (BINFMTFS_MAGIC): Likewise.
4846 (BTRFS_TEST_MAGIC): Likewise.
4847 (CRAMFS_MAGIC_WEND): Likewise.
4848 (DEBUGFS_MAGIC): Likewise.
4849 (ECRYPTFS_SUPER_MAGIC): Likewise.
4850 (EXT3_SUPER_MAGIC): Likewise.
4851 (EXT4_SUPER_MAGIC): Likewise.
4852 (FUTEXFS_SUPER_MAGIC): Likewise.
4853 (HOSTFS_SUPER_MAGIC): Likewise.
4854 (HUGETLBFS_MAGIC): Likewise.
4855 (MINIX3_SUPER_MAGIC): Likewise.
4856 (MTD_INODE_FS_MAGIC): Likewise.
4857 (NILFS_SUPER_MAGIC): Likewise.
4858 (OPENPROM_SUPER_MAGIC): Likewise.
4859 (PIPEFS_MAGIC): Likewise.
4860 (PSTOREFS_MAGIC): Likewise.
4861 (QNX6_SUPER_MAGIC): Likewise.
4862 (RAMFS_MAGIC): Likewise.
4863 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4864 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4865 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4866 (SECURITYFS_MAGIC): Likewise.
4867 (SELINUX_MAGIC): Likewise.
4868 (SMACK_MAGIC): Likewise.
4869 (SOCKFS_MAGIC): Likewise.
4870 (SQUASHFS_MAGIC): Likewise.
4871 (STACK_END_MAGIC): Likewise.
4872 (TMPFS_MAGIC): Likewise.
4873 (USBDEVICE_SUPER_MAGIC): Likewise.
4874 (V9FS_MAGIC): Likewise.
4875 (XENFS_SUPER_MAGIC): Likewise.
4876 (CRAMFS_MAGIC): Fix typo in comment.
4877 (EXT2_SUPER_MAGIC): Update comment.
4878 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4879
464263cc
JM
48802014-02-08 Joseph Myers <joseph@codesourcery.com>
4881
c6bfe5c4
JM
4882 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4883 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4884 * sysdeps/unix/sysv/linux/arm: Move directory from
4885 ports/sysdeps/unix/sysv/linux/arm.
4886 * README: Update listing for arm-*-linux-gnueabi.
4887
464263cc
JM
4888 * README: Remove mention of am33.
4889
32749f6c
RM
48902014-02-07 Roland McGrath <roland@hack.frob.com>
4891
4892 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4893 than the comma operator, to avoid "rhs of comma has no effect"
4894 compiler warnings.
4895 (__sigfillset, __sigandset, __sigorset): Likewise.
4896 * include/signal.h (__sigemptyset): Likewise.
4897 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4898
d5b396c1
AM
48992014-02-07 Allan McRae <allan@archlinux.org>
4900
4901 * version.h (RELEASE): Set to "development".
4902 (VERSION): Set to "2.19.90"
4903 * NEWS: Add 2.20 section.
4904
3bfff2ed
CD
49052014-02-06 Carlos O'Donell <carlos@redhat.com>
4906
4907 [BZ #16529]
4908 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4909
ee7cc385
SP
49102014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4911
4912 * manual/contrib.texi: Update entry for Carlos O'Donell,
4913 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4914
f877c4f2
CD
49152014-02-05 Carlos O'Donell <carlos@rehdat.com>
4916
27e839f6
CD
4917 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4918
f877c4f2
CD
4919 * sysdeps/unix/sysv/linux/kernel-features.h
4920 [__LINUX_KERNEL_VERSION >= 0x020621]
4921 (__ASSUME_PROC_PID_TASK_COMM): Define.
4922
68159946
SP
49232014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4924
ba17cdbd
SP
4925 [BZ #16398]
4926 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4927 conversion when destination buffer does not have enough space.
4928 * libio/tst-ftell-partial-wide.c: New test case.
4929 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4930
68159946
SP
4931 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4932 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4933 Leonard and Allan McRae.
4934
2b528732
DM
49352014-02-04 David S. Miller <davem@davemloft.net>
4936
4937 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4938 32-bit.
4939
0ff82463
AZ
49402014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4941
57f41c40
AS
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4943 New file
c01603f7
AZ
4944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4945 New file
57f41c40
AS
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4947 New file.
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4949 New file.
c01603f7
AZ
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4951 New file.
57f41c40
AS
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4953 New file.
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4955 New file.
c01603f7
AZ
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4957 New file.
4958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4959 New file.
4960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4961 New file.
4962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4963 New file.
4964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4965 New file.
4966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4967 New file.
4968
49692014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4970
0ff82463
AZ
4971 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4972 * shlib-versions: Likewise.
4973
1695c773
AZ
49742014-02-04 Roland McGrath <roland@hack.frob.com>
4975 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4976
4977 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4978 (abilist-pattern): New variable, set to %-le.abilist.
4979
4980 * Makerules (abilist-pattern): New variable.
4981 (vpath): Use $(abilist-pattern) in place of %.abilist.
4982 (check-abi-% pattern rule): Likewise.
4983 (check-abi, update-abi): Likewise.
4984
6c0ce4b4
EW
49852014-02-04 Eric Wong <normalperson@yhbt.net>
4986
4987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4988
481e3524
CD
49892014-02-03 Carlos O'Donell <carlos@redhat.com>
4990
4991 * manual/startup.texi: Add next, previous, and top entries for
4992 the `Program Arguments' and `Environment Variables' nodes.
4993
375592d3
AO
49942014-02-03 Alexandre Oliva <aoliva@redhat.com>
4995
4996 * manual/macros.texi: Add comments before MTASC-safety macros.
4997
f54838ba
AO
4998 * manual/users.texi: Document MTASC-safety properties.
4999
57f41c40
AS
5000 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5001 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
5002 @deftypefun, and add @safety note.
5003 * manual/signal.texi: Move comments that analyze the above
5004 functions to their home place.
5005
fd3daba4
AM
50062014-02-03 Allan McRae <allan@archlinux.org>
5007
5008 * po/sl.po: Update Slovenian translation from translation project.
5009
597636d7
AO
50102014-02-02 Alexandre Oliva <aoliva@redhat.com>
5011
5012 * manual/time.texi (timegm): Add missing blank after @c.
5013 Reported by Joseph Myers <joseph@codesourcery.com>.
5014
ee196e3c
AO
50152014-02-01 Alexandre Oliva <aoliva@redhat.com>
5016
5017 * manual/check-safety.sh: New.
5018 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5019
f8d529d5
AO
5020 * manual/terminal.texi: Document MTASC-safety properties.
5021
de55fdf4
AO
5022 * manual/filesys.texi: Document MTASC-safety properties.
5023
c3299c08
AO
5024 * manual/errno.texi: Document MTASC-safety properties.
5025
06e90b14
AO
5026 * manual/intro.texi: Document safety identifiers and
5027 conditionals.
5028
1acd4371
AO
5029 * manual/string.texi (wcstok): Fix prototype.
5030 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5031
23e5b8cb
AO
5032 * manual/time.texi: Document MTASC-safety properties.
5033
11087373
AO
5034 * manual/string.texi: Document MTASC-safety properties.
5035
5da2c93d
AO
5036 * manual/threads.texi: Document MTASC-safety properties.
5037
171e9210
AO
5038 * manual/stdio.texi: Document MTASC-safety properties.
5039
d9e02532
AO
5040 * manual/syslog.texi: Document MTASC-safety properties.
5041
6af8bab7
AO
5042 * manual/sysinfo.texi: Document MTASC-safety properties.
5043
663b02d7
AO
5044 * manual/startup.texi: Document MTASC-safety properties.
5045
973f180b
AO
5046 * manual/socket.texi: Document MTASC-safety properties.
5047
8f3c25c8
AO
5048 * manual/signal.texi: Document MTASC-safety properties.
5049
542210fb
AO
50502014-01-31 Alexandre Oliva <aoliva@redhat.com>
5051
5052 * manual/setjmp.texi: Document MTASC-safety properties.
5053
433c45a2
AO
5054 * manual/search.texi: Document MTASC-safety properties.
5055
c8ce789c
AO
5056 * manual/resource.texi: Document MTASC-safety properties.
5057
19f5d29c
AO
5058 * manual/process.texi: Document MTASC-safety properties.
5059
e2dfb7f4
AO
5060 * manual/platform.texi: Document MTASC-safety properties.
5061
8c1413f5
AO
5062 * manual/pipe.texi: Document MTASC-safety properties.
5063
03483ada
AO
5064 * manual/pattern.texi: Document MTASC-safety properties.
5065
29e7e2df
AO
5066 * manual/message.texi: Document MTASC-safety properties.
5067
9f529d7c
AO
5068 [BZ #12751]
5069 * manual/memory.texi: Document MTASC-safety properties.
5070
27aaa791
AO
5071 * manual/math.texi: Document MTASC-safety properties.
5072
f2d58726
AO
5073 * manual/locale.texi: Document MTASC-safety properties.
5074
2cc3615c
AO
5075 * manual/llio.texi: Document MTASC-safety properties.
5076
d9f0ec97
AO
5077 * manual/libdl.texi: New.
5078
e7c4409a
AO
5079 * manual/lang.texi: Document MTASC-safety properties.
5080
27bdc63c
AO
5081 * manual/job.texi: Document MTASC-safety properties.
5082
a7b90ea9
AO
5083 * manual/getopt.texi: Document MTASC-safety properties.
5084
c49130e3
AO
5085 * manual/ctype.texi: Document MTASC-safety properties.
5086
0d23a5c1
MR
50872014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5088
5089 [BZ #16046]
5090 * csu/libc-tls.c (static_map): Remove variable.
5091 (__libc_setup_tls): Use main executable's link map for TLS data.
5092 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5093 casing for LM_ID_BASE and GL(dl_nns).
5094 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5095 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5096 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5097 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5098 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5099 member.
5100 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5101 l_phnum members.
5102
0037bb60
AO
51032014-01-30 Alexandre Oliva <aoliva@redhat.com>
5104
5105 * manual/debug.texi: Document MTASC-safety properties.
5106
409e00bd
L
51072014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5108
5109 [BZ #16510]
5110 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5111 of __x86_64__ when disabling x87 inline functions.
5112
86e60666
AO
51132014-01-29 Alexandre Oliva <aoliva@redhat.com>
5114
5115 * manual/charset.texi: Document MTASC-safety properties.
5116
76167637
AO
5117 * manual/crypt.texi: Document MTASC-safety properties.
5118
e567f2a0
AO
5119 * manual/conf.texi: Document MTASC-safety properties.
5120
b719dafd
AO
5121 * manual/arith.texi: Document MTASC-safety properties.
5122
4a16c662
AO
5123 * manual/argp.texi: Document MTASC-safety properties.
5124
0a57b83e
AO
5125 * manual/macros.texi: Introduce macros to document multi
5126 thread, asynchronous signal and asynchronous cancellation
5127 safety properties.
5128 * manual/intro.texi: Introduce the properties themselves.
5129
feab2397
KK
51302014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5131
5132 * sysdeps/sh/sh4/Makefile: New file.
5133
1c0d11bc
AS
51342014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5135
5136 * math/gen-libm-test.pl ($srcdir): New variable.
5137 ($auto_input): Use it.
5138
af37a8a3
SP
51392014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5140
d7b00f98
SP
5141 [BZ #16506]
5142 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5143 access beyond array bounds when parsing netgroups file.
5144
af37a8a3
SP
5145 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5146 the old buffer before realloc.
5147
0c00f062
AM
51482014-01-27 Allan McRae <allan@archlinux.org>
5149
5150 * po/fr.po: Update French translation from translation project.
5151
7d69a1b0
KK
51522014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5153
5154 * sysdeps/sh/libm-test-ulps: Regenerate.
5155
6e697ff7
DM
51562014-01-24 David S. Miller <davem@davemloft.net>
5157
5158 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5159
9cadb35c
KK
51602014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5161
5162 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5163 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5164
5d41dadf
SP
51652013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5166
5167 [BZ #16474]
5168 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5169 string pointers after reallocation.
5170
0bad441c
KK
51712014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5172
5173 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5174 __SH4A__ instead of __SH_FPU_ANY__.
5175
7007c661
KK
51762014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5177
5178 * sysdeps/sh/fpu_control.h: New file.
5179 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5180 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5181 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5182 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5183 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5184 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5185 * sysdeps/sh/sys/ucontext.h: Remove.
5186 * sysdeps/sh/sys: Remove directory.
5187
0f0c35e4
AK
51882014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5189
5190 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5191 s390/sys/ucontext.h.
5192 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5193 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5194
4959e284
L
51952014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5196
5197 [BZ #15605]
5198 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5199
d98720e0
AZ
52002014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5201
5202 [BZ#16431]
5203 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5204 Adjust the vDSO correctly for internal calls.
5205 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5206
91cbd0bc
AM
52072014-01-20 Allan McRae <allan@archlinux.org>
5208
5209 * po/ca.po: Update Catalan translation from translation project.
5210
7a02cfad
MF
52112014-01-16 Mike Frysinger <vapier@gentoo.org>
5212
5213 * sysdeps/s390/sotruss-lib.c: New file.
5214
736c304a
AZ
52152014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5216
5217 [BZ#16430]
6e077ee5 5218 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5219 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5220 local calls issues by not having a PLT stub required for IFUNC calls.
5221 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5222
94d0cea0
JM
52232014-01-16 Joseph Myers <joseph@codesourcery.com>
5224
5225 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5226 * math/test-fpucw-static.c: Likewise.
5227
980cb518
SP
52282013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5229
5230 [BZ #16453]
5231 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5232
2393fc01
AZ
52332014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5234
5235 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5236 implementation for powerpc.
5237
d359bcc2
OB
52382014-01-15 Ondřej Bílka <neleai@seznam.cz>
5239
5240 [BZ #14782]
5241 * sysdeps/posix/system.c (__libc_system): Do not enable
5242 asynchronous cancellation.
5243
7beb48cb
AK
52442014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5245
5246 [BZ #16427]
5247 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5248 handling only for numbers special also in the IEEE case.
5249
c20d5bf5
AK
52502014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5251
5252 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5253
e83bd4ee
AM
52542014-01-11 Allan McRae <allan@archlinux.org>
5255
76d0ea69
AM
5256 * po/bg.po: Update Bulgarian translation from translation project.
5257
e83bd4ee
AM
5258 * po/de.po: Update German translation from translation project.
5259
bc2ba20a
RM
52602014-01-10 Roland McGrath <roland@hack.frob.com>
5261
5262 * sysdeps/generic/gcc-compat.h: New file.
5263
649ecea2
SP
52642014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5265
5266 * benchtests/asin-inputs: Correct slow inputs.
5267 * benchtests/acos-inputs: Likewise.
5268
1b19c006
AM
52692014-01-10 Allan McRae <allan@archlinux.org>
5270
a46dab08
AM
5271 * po:sv.po: Update Swedish translation from translation project.
5272
421df74a
AM
5273 * po/vi.po: Update Vietnamese translation from translation project.
5274
d61c51a7
AM
5275 * po/eo.po: Update Esperanto translation from translation project.
5276
0339a319
AM
5277 * po/cs.po: Update Czech translation from translation project.
5278
94ad3e99
AM
5279 * po/nl.po: Update Dutch translation from translation project.
5280
e349ca71
AM
5281 * po/pl.po: Update Polish translation from translation project.
5282
ddf930c1
AM
5283 * po/ru.po: Update Russian translation from translation project.
5284
1b19c006
AM
5285 * po/uk.po: Update Ukrainian translation from translation project.
5286
9f236c49
BM
52872014-01-08 Brooks Moses <bmoses@google.com>
5288
5289 * elf/dl-load.c: Fix comment typo.
5290
cd6701cf
CD
52912014-01-08 Carlos O'Donell <carlos@redhat.com>
5292
5293 * po/header.pot: Rename to...
5294 * po/pot.header: ... this.
5295 * po/Makefile: Use pot.header.
5296
66671c84
YK
52972014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5298 Maxim Kuvyrkov <maxim@kugelworks.com>
5299
5300 [BZ #16394]
cd6701cf
CD
5301 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5302 SRC and DEST against LEN.
66671c84 5303
38f34581
AZ
53042014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5305
5306 [BZ #16414]
5307 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5308 implementation.
5309 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5310
53112014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5312
5313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5314
4c327f2a
JM
53152014-01-08 Joseph Myers <joseph@codesourcery.com>
5316
5317 [BZ #16408]
5318 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5319 for large positive arguments.
5320
b821f414
JM
53212014-01-07 Joseph Myers <joseph@codesourcery.com>
5322
1f0f2067
JM
5323 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5324
a5a326f6
JM
5325 * math/auto-libm-test-in: Mark various tests with
5326 xfail-rounding:ldbl-128ibm.
5327 * math/auto-libm-test-out: Regenerated.
5328
b821f414
JM
5329 [BZ #16407]
5330 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5331 Increase overflow threshold.
5332
94c8a4bc
OB
53332014-01-07 Ondřej Bílka <neleai@seznam.cz>
5334
5335 [BZ #14286]
5336 * stdio-common/vfprintf.c: Check for integer overflow.
5337
87ded0c3
AK
53382014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5339
5340 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5341 the first argument and return value of __tls_get_addr_internal.
5342
c5eebdd0
AK
53432014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5344
5345 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5346 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5347
05d138ef
AK
53482014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5349
5350 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5351 * sysdeps/s390/rtld-global-offsets.sym: New file.
5352 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5353 GLIBC_2.19 symbol.
5354 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5355 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5356 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5357 ... this.
5358 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5359 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5360 ... this.
5361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5362 Regenerate.
5363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5364 Regenerate.
5365 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5366 halfs of GPRs for high_gprs contexts.
5367 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5368 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5369 field.
5370 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5371 uc_flags field.
5372 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5373 64 bit versions:
5374 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5375 for high GPRs (uc_high_gprs) and for future extensions
5376 (__reserved).
5377 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5378 for future extensions (__reserved).
5379 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5380 64 bit versions:
5381 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5382 SC_HIGHGPRS offset definition.
5383 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5384 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5385
93a45ff1
AK
5386 * Versions.def: Add GLIBC_2.19 for libpthread.
5387 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5388 siglongjmp for libpthread with GLIBC_2.19 symver.
5389 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5390 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5391 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5392 * sysdeps/s390/__longjmp.c: New file.
5393 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5394 * sysdeps/s390/longjmp.c: New file.
5395 * sysdeps/s390/setjmp.S: New file.
5396 * sysdeps/s390/sigjmp.S: New file.
5397 * sysdeps/s390/v1-longjmp.c: New file.
5398 * sysdeps/s390/v1-setjmp.h: New file.
5399 * sysdeps/s390/v1-sigjmp.c: New file.
5400 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5401 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5402 GLIBC_2.19 version.
5403 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5404 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5405 versioned symbols for ____longjmp_chk.
5406 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5407 Likewise.
5408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5409 Regenerate.
5410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5411 Regenerate.
5412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5413 Regenerate.
5414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5415 Regenerate.
5416 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5417 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5418 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5419 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5420 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5421 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5422 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5423 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5424 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5425 * sysdeps/s390/rtld-__longjmp.c: New file.
5426 * sysdeps/s390/rtld-setjmp.S: New file.
5427
eb3fc44b
JM
54282014-01-06 Joseph Myers <joseph@codesourcery.com>
5429
5430 [BZ #16400]
5431 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5432 Return -__logl (x) for small positive arguments without evaluating
5433 a polynomial.
5434
9341dde4
MF
54352014-01-06 Mike Frysinger <vapier@gentoo.org>
5436
5437 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5438 Rename to ...
5439 (__ptrace_peeksiginfo_args): ... this.
5440 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5441 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5442 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5443
4cff0293
AM
54442014-01-06 Allan McRae <allan@archlinux.org>
5445
5446 * inet/netinet/in.h: Fix typo in comment.
5447
75595dcf
AJ
54482014-01-05 Andreas Jaeger <aj@suse.de>
5449
5450 * sysdeps/i386/fpu/libm-test-ulps: Update.
5451
79c1e109
AM
54522014-01-05 Allan McRae <allan@archlinux.org>
5453
dd804818
AM
5454 * po/libc.pot: Regenerated.
5455
79c1e109
AM
5456 * malloc/memusagestat.c: Fix gettext call formatting.
5457
0c813d1f
SK
54582014-01-04 Sami Kerola <kerolasa@iki.fi>
5459
5460 * nscd/nscd.c: Improve usage() output.
5461
20f4a8d9
MF
54622014-01-04 Mike Frysinger <vapier@gentoo.org>
5463
5464 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5465 * sysdeps/unix/sysv/linux/configure: Regenerated.
5466 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5467 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5468
22562bb2
JM
54692014-01-03 Joseph Myers <joseph@codesourcery.com>
5470
5471 [BZ #16390]
5472 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5473 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5474
d7ad2d9b
AZ
54752014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5476
5477 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5478 extra tokens at end of #undef directive.
5479 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5480 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5481 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5482
7dd009d8
JM
54832014-01-03 Joseph Myers <joseph@codesourcery.com>
5484
24db925a
JM
5485 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5486
7dd009d8
JM
5487 * math/auto-libm-test-in: Mark various tests with
5488 xfail-rounding:ldbl-128ibm.
5489 * math/auto-libm-test-out: Regenerated.
5490
396e3ecf
JM
54912014-01-02 Joseph Myers <joseph@codesourcery.com>
5492
819e5d50
JM
5493 [BZ #16386]
5494 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5495 numbers with subnormal high part when calculating exponent.
5496
90b6a1e5
JM
5497 [BZ #16385]
5498 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5499 fabs.
5500
396e3ecf
JM
5501 [BZ #16384]
5502 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5503 M_LN2l.
5504 (__ieee754_acoshl): Use __log1pl not __log1p.
5505
6c8dbf00
OB
55062013-01-02 Ondřej Bílka <neleai@seznam.cz>
5507
57f41c40
AS
5508 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5509 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5510 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5511 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5512 (reused_arena, arena_get2): Convert to GNU style.
5513 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5514 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5515 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 5516 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
5517 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5518 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5519 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5520 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5521 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5522 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 5523 * malloc/malloc.h: Likewise.
57f41c40
AS
5524 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5525 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 5526 * malloc/mcheck.h: Likewise.
57f41c40
AS
5527 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5528 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
5529 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5530 * malloc/morecore.c (__default_morecore): Likewise.
5531 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
5532 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5533 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5534 (print_and_abort): Likewise.
6c8dbf00
OB
5535 * malloc/obstack.h: Likewise.
5536 * malloc/set-freeres.c (__libc_freeres): Likewise.
5537 * malloc/tst-mallocstate.c (main): Likewise.
5538 * malloc/tst-mtrace.c (main): Likewise.
5539 * malloc/tst-realloc.c (do_test): Likewise.
5540
d4124212
SP
55412013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5542
9a3c6a6f
SP
5543 [BZ #16366]
5544 * nscd/netgroupcache.c (do_notfound): New function.
5545 (addgetnetgrentX): Use it.
5546
d4124212
SP
5547 [BZ # 16365]
5548 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5549 NSS_STATUS_NOTFOUND.
5550
97b9a009
JM
55512014-01-01 Joseph Myers <joseph@codesourcery.com>
5552
5553 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5555
d4697bc9
AM
55562014-01-01 Allan McRae <allan@archlinux.org>
5557
ddb3687f
AM
5558 * scripts/update-copyrights: Update configure input file suffix.
5559
88726d48
AM
5560 * NEWS: Update copyright year.
5561 * catgets/gencat.c: Likewise.
5562 * csu/version.c: Likewise.
5563 * debug/catchsegv.sh: Likewise.
5564 * debug/pcprofiledump.c: Likewise.
5565 * debug/xtrace.sh: Likewise.
5566 * elf/ldconfig.c: Likewise.
5567 * elf/ldd.bash.in: Likewise.
5568 * elf/pldd.c: Likewise.
5569 * elf/sotruss.ksh: Likewise.
5570 * elf/sprof.c: Likewise.
5571 * iconv/iconv_prog.c: Likewise.
5572 * iconv/iconvconfig.c: Likewise.
5573 * locale/programs/locale.c: Likewise.
5574 * locale/programs/localedef.c: Likewise.
5575 * login/programs/pt_chown.c: Likewise.
5576 * malloc/memusage.sh: Likewise.
5577 * malloc/memusagestat.c: Likewise.
5578 * malloc/mtrace.pl: Likewise.
5579 * manual/libc.texinfo: Likewise.
5580 * nscd/nscd.c: Likewise.
5581 * nss/getent.c: Likewise.
5582 * nss/makedb.c: Likewise.
5583 * posix/getconf.c: Likewise.
5584 * scripts/test-installation.pl: Likewise.
5585
d4697bc9
AM
5586 * All files with FSF copyright notices: Update copyright dates
5587 using scripts/update-copyrights.
5588 * intl/plural.c: Regenerated.
5589 * locale/programs/charmap-kw.h: Likewise.
5590 * locale/programs/locfile-kw.h: Likewise.
5591
c8590f9d
MF
55922013-12-31 Mike Frysinger <vapier@gentoo.org>
5593
5594 * sysdeps/unix/sysv/linux/configure: Regenerated.
5595 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5596 the linux/fanotify.h header.
5597 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5598 HAVE_LINUX_FANOTIFY_H is defined.
5599
b19221b9
SP
56002013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5601
dd1d85e5
SP
5602 * benchtests/cos-inputs: New inputs.
5603 * benchtests/sin-inputs: Likewise.
5604
1acbb90f
SP
5605 * benchtests/atan-inputs: New inputs. Fix name of multiple
5606 precision fallback inputs.
5607
4c012ed3
SP
5608 * benchtests/atanh-inputs: New inputs.
5609 * benchtests/tanh-inputs: Likewise.
5610
eff98324
SP
5611 * benchtests/acosh-inputs: New inputs.
5612 * benchtests/asinh-inputs: Likewise.
5613
ce641152
SP
5614 * benchtests/cosh-inputs: New inputs.
5615 * benchtests/sinh-inputs: Likewise.
5616
b19221b9
SP
5617 * benchtests/acos-inputs: Add more inputs.
5618 * benchtests/asin-inputs: Likewise.
5619
030a4976 56202013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5621
030a4976 5622 [BZ #16375]
9dcc8f11
VS
5623 * manual/arith.texi: Fix spelling.
5624 * manual/charset.texi: Likewise.
5625 * manual/errno.texi: Likewise.
5626 * manual/filesys.texi: Likewise.
5627 * manual/lang.texi: Likewise.
5628 * manual/llio.texi: Likewise.
5629 * manual/locale.texi: Likewise.
5630 * manual/message.texi: Likewise.
5631 * manual/resource.texi: Likewise.
5632 * manual/search.texi: Likewise.
5633 * manual/setjmp.texi: Likewise.
5634 * manual/stdio.texi: Likewise.
5635 * manual/string.texi: Likewise.
5636 * manual/sysinfo.texi: Likewise.
5637 * manual/time.texi: Likewise.
5638
11520a57
CD
56392013-12-27 Carlos O'Donell <carlos@redhat.com>
5640
5641 * po/sl.po: New file.
5642
471103ae
MF
56432013-12-27 Mike Frysinger <vapier@gentoo.org>
5644
5645 * .gitignore: Add core/.gdbinit/.gdb_history.
5646
6c9642ed
AM
56472013-12-27 Allan McRae <allan@archlinux.org>
5648
5649 [BZ #16369]
5650 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5651 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5652
3f637079
BM
56532013-12-24 Brooks Moses <bmoses@google.com>
5654
5655 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5656 all compilers that claim C++98 compliance, not just GCC.
5657 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5658 Likewise.
5659
abc26e99
MK
56602013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5661
5662 * NEWS: Restore accidentally deleted bug-fix entries.
5663
362b47fe
MK
56642013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5665 Ondřej Bílka <neleai@seznam.cz>
5666
5667 [BZ #15073]
5668 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5669 have_lock.
362b47fe 5670
b9bcbbcb
OB
56712013-12-23 Ondřej Bílka <neleai@seznam.cz>
5672
5673 [BZ #12986]
5674 * manual/stdio.texi (String Input Conversions): Clarify that character
5675 classes are not supported.
5676
fb55fcd2
AZ
56772013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5678
5679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5680
ef7344f0
JM
56812013-12-22 Joseph Myers <joseph@codesourcery.com>
5682
4f40e4b3
JM
5683 [BZ #16337]
5684 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5685 Calculate results for small negative arguments directly rather
5686 than using reflection formula with special underflow handling.
5687
ef7344f0
JM
5688 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5689 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5690 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5691 (fchflags): Likewise.
5692 (revoke): Likewise.
5693 (setlogin): Likewise.
5694 (sigaltstack): Likewise.
5695 (wait4): Likewise.
5696 (sigblock): Remove.
5697 (sigsetmask): Likewise.
5698 (wait3): Likewise.
5699 (waitpid): Likewise.
5700 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5701 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5702 file.
5703 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5704 * sysdeps/unix/bsd/Makefile: ... here.
5705 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5706 * sysdeps/unix/bsd/Versions: ... here.
5707 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5708 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5709 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5710 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5711 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5712 * sysdeps/unix/bsd/sigblock.c: ... here.
5713 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5714 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5715 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5716 * sysdeps/unix/bsd/sigvec.c: ... here.
5717 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5718 * sysdeps/unix/bsd/tcdrain.c: ... here.
5719 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5720 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5721 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5722 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5723 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5724 * sysdeps/unix/bsd/wait.c: ... here.
5725 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5726 * sysdeps/unix/bsd/wait3.c: ... here.
5727 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5728 * sysdeps/unix/bsd/waitpid.c: ... here.
5729
5b0626b9
JM
57302013-12-21 Joseph Myers <joseph@codesourcery.com>
5731
5732 [BZ #16356]
5733 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5734 round-to-nearest for [!USE_AS_EXPM1L].
5735 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5736 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5737 more tests of exp and exp10. Expect some exp10 tests to miss
5738 exceptions or fail in directed rounding modes.
5739 * math/auto-libm-test-out: Regenerated.
5740 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5741 (exp10_test_tonearest): New function.
5742 (exp10_towardzero_test_data): New array.
5743 (exp10_test_towardzero): New function.
5744 (exp10_downward_test_data): New array.
5745 (exp10_test_downward): New function.
5746 (exp10_upward_test_data): New array.
5747 (exp10_test_upward): New function.
5748 (main): Call the new functions.
5749 * sysdeps/i386/fpu/libm-test-ulps: Update.
5750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5751
7fda5682
JM
57522013-12-20 Joseph Myers <joseph@codesourcery.com>
5753
31e3a405
JM
5754 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5755 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5756 * math/auto-libm-test-out: Regenerated.
5757 * math/libm-test.inc (acosh_test_data): Add more tests.
5758 (atanh_test_data): Likewise.
5759 (ceil_test_data): Likewise.
5760 (copysign_test_data): Likewise.
5761 * sysdeps/i386/fpu/libm-test-ulps: Update.
5762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5763
85bff96a
JM
5764 * timezone/checktab.awk: Update from tzcode 2013i.
5765 * timezone/private.h: Likewise.
5766 * timezone/scheck.c: Likewise.
5767 * timezone/tzfile.h: Likewise.
5768 * timezone/tzselect.ksh: Likewise.
5769 * timezone/zdump.c: Likewise.
5770 * timezone/zic.c: Likewise.
5771
b7867a3b
JM
5772 * math/auto-libm-test-in: Add tests of cpow.
5773 * math/auto-libm-test-out: Regenerated.
5774 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 5775 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
5776 mpc_cc_c.
5777 (func_calc_desc): Add mpc_cc_c union field.
5778 (test_functions): Add cpow.
5779 (special_fill_2pi): New function.
5780 (special_real_inputs): Add 2pi.
5781 (calc_generic_results): Handle mpc_cc_c.
5782 * sysdeps/i386/fpu/libm-test-ulps: Update.
5783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5784
7fda5682
JM
5785 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5786 csqrt, ctan and ctanh.
5787 * math/auto-libm-test-out: Regenerated.
5788 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5789 (TEST_COND_x86): Likewise.
5790 (ccos_test_data): Use AUTO_TESTS_c_c.
5791 (ccosh_test_data): Likewise.
5792 (cexp_test_data): Likewise.
5793 (clog_test_data): Likewise.
5794 (csqrt_test_data): Likewise.
5795 (ctan_test_data): Likewise.
5796 (ctan_tonearest_test_data): Likewise.
5797 (ctan_towardzero_test_data): Likewise.
5798 (ctan_downward_test_data): Likewise.
5799 (ctan_upward_test_data): Likewise.
5800 (ctanh_test_data): Likewise.
5801 (ctanh_tonearest_test_data): Likewise.
5802 (ctanh_towardzero_test_data): Likewise.
5803 (ctanh_downward_test_data): Likewise.
5804 (ctanh_upward_test_data): Likewise.
5805 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5806 mpc_c_c.
5807 (func_calc_desc): Add mpc_c_c union field.
5808 (FUNC_mpc_c_c): New macro.
5809 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5810 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5811 ctanh.
5812 (special_fill_min_subnorm_p120): New function.
5813 (special_real_inputs): Add min_subnorm_p120.
5814 (calc_generic_results): Handle mpc_c_c.
5815 * sysdeps/i386/fpu/libm-test-ulps: Update.
5816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5817
5ff8d60e
SP
58182013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5819
57f41c40
AS
5820 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5821 (do_sin_slow): New functions.
5822 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5823 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 5824
84ba214c
SP
5825 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5826 Use M to change sign of result instead of X. Assume X is
5827 positive.
5828 (csloww1): Likewise.
5829 (__sin): Adjust.
5830 (__cos): Adjust.
5831
975195e4
SP
5832 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5833 arguments A and DA.
5834 (__sin): Adjust.
5835 (__cos): Likewise.
5836
5ff8d60e
SP
5837 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5838 (__cos): Likewise.
5839 (sloww1): Don't adjust sign of DX.
5840 (csloww1): Likewise.
5841 (sloww2): Use X directly and don't adjust sign of DX.
5842 (csloww2): Likewise.
5843
eb983568
JM
58442013-12-19 Joseph Myers <joseph@codesourcery.com>
5845
64a17f1a
JM
5846 * math/auto-libm-test-in: Add tests of cabs and carg.
5847 * math/auto-libm-test-out: Regenerated.
5848 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5849 (carg_test_data): Likewise.
5850 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5851 mpc_c_f.
5852 (func_calc_desc): Add mpc_c_f union field.
5853 (test_functions): Add cabs and carg.
5854 (calc_generic_results): Handle mpc_c_f.
5855
eb983568
JM
5856 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5857 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5858 as a macro and a compat symbol.
5859 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5860 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5861 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5862 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5863 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5864 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5865 not use .hidden.
5866 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5867 Likewise.
5868 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5869 Likewise.
5870 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5871 Likewise.
5872 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5873 Likewise.
5874 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5875 Likewise.
5876 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5877 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5878 from GLIBC_2.3.2.
5879
6eeb678a
AZ
58802013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5881
5882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5883
6f6fc482
JM
58842013-12-19 Joseph Myers <joseph@codesourcery.com>
5885
21fea2e2
JM
5886 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5887 trailing whitespace removed.
5888 * scripts/config.guess: Update to version 2013-11-29.
5889 * scripts/config.sub: Update to version 2013-10-01.
5890
6f6fc482
JM
5891 * math/auto-libm-test-in: Add tests of sincos.
5892 * math/auto-libm-test-out: Regenerated.
5893 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5894 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5895 mpfr_f_11.
5896 (func_calc_desc): Add mpfr_f_11 union field.
5897 (test_functions): Add sincos.
5898 (calc_generic_results): Handle mpfr_f_11.
5899 * sysdeps/i386/fpu/libm-test-ulps: Update.
5900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5901
83f5c32d
AS
59022013-12-19 Andreas Schwab <schwab@suse.de>
5903
5904 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5905 CALL_MCOUNT.
5906 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5907 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5908 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5909
c688b419
JM
59102013-12-19 Joseph Myers <joseph@codesourcery.com>
5911
335ee092
JM
5912 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5913 * sysdeps/i386/fpu/libm-test-ulps: Update.
5914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5915
f88acd39
JM
5916 [BZ #16293]
5917 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5918 round-to-nearest mode when using frndint.
5919 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5920 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5921 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5922 Likewise.
5923 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5924 sinh test to fail.
5925 * math/auto-libm-test-out: Regenerated.
5926 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5927 (TEST_COND_x86): Likewise.
5928 (expm1_tonearest_test_data): New array.
5929 (expm1_test_tonearest): New function.
5930 (expm1_towardzero_test_data): New array.
5931 (expm1_test_towardzero): New function.
5932 (expm1_downward_test_data): New array.
5933 (expm1_test_downward): New function.
5934 (expm1_upward_test_data): New array.
5935 (expm1_test_upward): New function.
5936 (main): Run the new test functions.
5937 * sysdeps/i386/fpu/libm-test-ulps: Update.
5938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5939
c688b419
JM
5940 * include/features.h: Update comment documenting feature test
5941 macros. Mention _DEFAULT_SOURCE in comment.
5942 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5943 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5944 _BSD_SOURCE and _SVID_SOURCE.
5945 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5946 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5947 !_SVID_SOURCE]: Likewise.
5948 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5949 (__USE_POSIX_IMPLICITLY): Define.
5950 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5951 (_POSIX_SOURCE): Undefine and redefine.
5952 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5953 (_POSIX_C_SOURCE): Likewise.
5954 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5955 (Feature Test Macros): Update documentation of default features.
5956
9f6e964c
RS
59572013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5958
5959 * benchtests/Makefile: Add bench-strtok.
5960 * benchtests/bench-strtok.c: New file: strtok benchtest.
5961
ee0a148a
AM
59622013-12-19 Allan McRae <allan@archlinux.org>
5963
5964 * manual/install.texi: Suppress menu for plain text output.
5965 * INSTALL: Regenerated.
5966
b9ab448f
BM
59672013-12-18 Brooks Moses <bmoses@google.com>
5968
5969 [BZ #15846]
5970 * misc/getauxval.c: Include errno.h.
5971 (__getauxval): Set errno to ENOENT if the requested type is not
5972 found.
5973 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5974 don't declare with __attribute_const__.
5975 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5976 * manual/startup.texi: Document that getauxval sets errno.
5977
23776487
JM
59782013-12-18 Joseph Myers <joseph@codesourcery.com>
5979
f889953b
JM
5980 * math/auto-libm-test-in: Add tests of jn and yn.
5981 * math/auto-libm-test-out: Regenerated.
5982 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5983 (yn_test_data): Likewise.
5984 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5985 mpfr_if_f.
5986 (func_calc_desc): Add mpfr_if_f union field.
5987 (FUNC_mpfr_if_f): New macro.
5988 (test_functions): Add jn and yn.
5989 (calc_generic_results): Assert type of second input for
5990 mpfr_ff_f. Handle mpfr_if_f.
5991 (output_for_one_input_case): Disable all checking for arguments
5992 fitting floating-point types in case of an integer argument.
5993 * sysdeps/i386/fpu/libm-test-ulps: Update.
5994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5995
23776487
JM
5996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5997 Don't expect fegetround reference in libm.so.
5998
cb756c6d
MS
59992013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6000
6001 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6002 $(config-cflags-nofma).
6003
2dec468f
JM
60042013-12-18 Joseph Myers <joseph@codesourcery.com>
6005
5953eb3a
JM
6006 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6007 * math/auto-libm-test-out: Regenerated.
6008
2dec468f
JM
6009 [BZ #16338]
6010 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6011 to determine exponent and adjust argument to have exponent of -1.
6012 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6013 log2.
6014 * math/auto-libm-test-out: Regenerated.
6015 * sysdeps/i386/fpu/libm-test-ulps: Update.
6016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6017
4d84e6ad
OB
60182013-12-18 Ondřej Bílka <neleai@seznam.cz>
6019
6020 * manual/probes.texi: Remove cases when per-thread arenas are
6021 disabled.
6022
1818483b
AS
60232013-12-18 Andreas Schwab <schwab@suse.de>
6024
6025 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6026 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6027 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6028 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6029 * sysdeps/i386/i686/multiarch/Makefile: Update.
6030 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6031
25de95bf
JM
60322013-12-17 Joseph Myers <joseph@codesourcery.com>
6033
6034 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6035 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6036
674762d9
PE
60372013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6038
ed27ed83 6039 [BZ #15968]
0748546f
PE
6040 Support TZ transition times < 00:00:00.
6041 This is needed for version-3 tz-format files; it supports time
6042 stamps past 2037 for America/Godthab (the only entry in the tz
6043 database for which this change is relevant).
6044 * manual/time.texi (TZ Variable): Document transition times
6045 from -167:59:59 through -00:00:01.
6046 * time/tzset.c (tz_rule): Time of day is now signed.
6047 (__tzset_parse_tz): Parse negative time of day.
6048
4480e934
PE
6049 Document TZ transition times >= 25:00:00.
6050 * manual/time.texi (TZ Variable): Document transition times from
6051 25:00:00 through 167:59:59. These are already supported, and this
6052 support will help with version-3 tz-format files.
6053
69947401
PE
6054 * manual/time.texi (TZ Variable): Modernize North America example
6055 to reflect current (i.e., 2007-and-later) daylight saving rules.
6056
674762d9
PE
6057 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6058
7011c262
JM
60592013-12-17 Joseph Myers <joseph@codesourcery.com>
6060
2fc6557e
JM
6061 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6062 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6065 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6066 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6067 * sysdeps/unix/bsd/clock.c: Likewise.
6068 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6069 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6070 * sysdeps/unix/bsd/init-posix.c: Likewise.
6071 * sysdeps/unix/bsd/poll.c: Likewise.
6072 * sysdeps/unix/bsd/ptsname.c: Likewise.
6073 * sysdeps/unix/bsd/seekdir.c: Likewise.
6074 * sysdeps/unix/bsd/setegid.c: Likewise.
6075 * sysdeps/unix/bsd/seteuid.c: Likewise.
6076 * sysdeps/unix/bsd/setgid.c: Likewise.
6077 * sysdeps/unix/bsd/setrgid.c: Likewise.
6078 * sysdeps/unix/bsd/setruid.c: Likewise.
6079 * sysdeps/unix/bsd/setsid.c: Likewise.
6080 * sysdeps/unix/bsd/setuid.c: Likewise.
6081 * sysdeps/unix/bsd/sigaction.c: Likewise.
6082 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6083 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6084 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6085 * sysdeps/unix/bsd/telldir.c: Likewise.
6086 * sysdeps/unix/bsd/times.c: Likewise.
6087 * sysdeps/unix/bsd/usleep.c: Likewise.
6088
029c7b25
JM
6089 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6090 ($(objpfx)libbsd-compat.a): Remove rule.
6091
7011c262
JM
6092 * include/features.h (__FAVOR_BSD): Do not define.
6093 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6094 features conflicting with POSIX.
6095 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6096 (_BSD_SOURCE): Remove description of not being a subset of other
6097 feature test macros.
6098 * manual/job.texi (getpgrp): Do not document BSD version.
6099 (getpgid): Do not document by reference to BSD getpgrp.
6100 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6101 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6102 * signal/signal.h [__FAVOR_BSD]: Likewise.
6103 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6104 instead of making contents conditional on [__FAVOR_BSD].
6105 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6106
affb6f78
AZ
61072013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6108
6109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6110
c88769dd
JM
61112013-12-17 Joseph Myers <joseph@codesourcery.com>
6112
6432a540
JM
6113 [BZ #16314]
6114 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6115 values below 2**-450, not 2**-500.
6116 * math/auto-libm-test-in: Don't allow spurious underflow from
6117 hypot.
6118 * math/auto-libm-test-out: Regenerated.
6119
c88769dd
JM
6120 [BZ #16316]
6121 [BZ #16330]
6122 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6123 values of ha and hb and sort them after adjusting subnormal
6124 arguments.
6125 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6126 Likewise.
6127 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6128 values of ea and eb and sort them after adjusting subnormal
6129 arguments.
6130 * math/auto-libm-test-in: Do not expect some hypot tests of
6131 subnormals to fail. Add more hypot tests.
6132 * math/auto-libm-test-out: Regenerated.
6133
29618f6b
KK
61342013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6135
6136 [BZ #13304]
6137 * sysdeps/sh/s_fma.c: New file.
6138 * sysdeps/sh/s_fmaf.c: New file.
6139 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6140 version.
6141 * sysdeps/sh/Implies: Add sh/soft-fp.
6142
eacfdfbf
RM
61432013-12-16 Roland McGrath <roland@hack.frob.com>
6144
6145 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6146 level of indirection to members `objname', `errstring', `malloced'.
6147 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6148 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6149 it as the __longjmp argument (just pass 1 instead).
6150 (_dl_catch_error): Initialize C with argument pointers and address of
6151 volatile local ERRCODE rather than copying values out of C at return.
6152
ff362e5b
JM
61532013-12-16 Joseph Myers <joseph@codesourcery.com>
6154
6155 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6156 * math/auto-libm-test-out: Regenerated.
6157 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6158 (hypot_test_data): Likewise.
6159 (pow_test_data): Likewise.
6160 (pow_tonearest_test_data): Likewise.
6161 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6162 mpfr_ff_f.
6163 (func_calc_desc): Add mpfr_ff_f union field.
6164 (FUNC_mpfr_ff_f): New macro.
6165 (test_functions): Add atan2, hypot and pow.
6166 (special_fill_min): New function.
6167 (special_fill_minus_min): Likewise.
6168 (special_fill_min_subnorm): Likewise.
6169 (special_fill_minus_min_subnorm): Likewise.
6170 (special_real_inputs): Add min, -min, min_subnorm and
6171 -min_subnorm.
6172 (calc_generic_results): Handle mpfr_ff_f.
6173 * sysdeps/i386/fpu/libm-test-ulps: Update.
6174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6175
5764c27f
WN
61762013-12-16 Will Newton <will.newton@linaro.org>
6177
6178 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6179 (Aligned Memory Blocks): Add documentation for aligned_alloc
6180 and suggest it as an alternative to posix_memalign.
6181 (Hooks for Malloc): Document __memalign_hook is also called
6182 for aligned_alloc. (Summary of Malloc): Add summary for
6183 aligned alloc. Document __memalign_hook is also called
6184 for aligned_alloc.
6185
0a096e44
WN
61862013-12-16 Will Newton <will.newton@linaro.org>
6187
6188 * manual/memory.texi (Malloc Examples): Clarify default
6189 alignment documentation. Suggest posix_memalign rather
6190 than memalign or valloc.
6191 (Aligned Memory Blocks): Remove suggestion to use memalign
6192 or valloc. Remove obsolete comment about BSD.
6193 Document memalign errno values and mark the function obsolete.
6194 Document posix_memalign returned error codes. Mark valloc
6195 as obsolete. (Hooks for Malloc): __memalign_hook is also
6196 called for posix_memalign and valloc.
6197 (Summary of Malloc): Add posix_memalign to function summary.
6198 __memalign_hook is also called for posix_memalign and valloc.
6199
8d561986
SP
62002013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6201
6202 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6203 TAYLOR_SIN.
6204 (__sin): Adjust.
6205 (__cos): Likewise.
6206 (sloww): Use mynumber union. Expand ternary operator into
6207 if-else statements.
6208 (cslow): use mynumber union.
6209
73616a74
AM
62102013-12-16 Allan McRae <allan@archlinux.org>
6211
9e8ac24b
AM
6212 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6213 * configure: Regenerated.
6214
6f8e37eb
AM
6215 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6216
8894bad3
AM
6217 [BZ #14120]
6218 * configure.ac: Added --enable-maintainer-mode. Check for
6219 autoconf when enabled.
6220 * configure: Regenerated.
6221
73616a74
AM
6222 * nscd/nscd.service: New file.
6223 * nscd/nscd.tmpfiles: New file.
6224
584b18eb
OB
62252013-12-14 Ondřej Bílka <neleai@seznam.cz>
6226
6227 [BZ #12100]
6228 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6229 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6230 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6231 (strstr): Add __strstr_sse2_unaligned ifunc.
6232 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6233 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6234 (strcasestr): Remove __strcasestr_sse42 ifunc.
6235 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6237 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6238
8a5c7897
KK
62392013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6240
6241 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6242 * sysdeps/sh/bits/fenv.h: ... here.
6243 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6244
fd712ef3
AZ
62452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6246
6247 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6248
42fcb46c
AZ
6249 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6250 hypotf multiarch implementations.
6251 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6252 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6253 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6254 multiarch hypot for PPC64.
6255 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6256 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6257 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6258 multiarch hypotf for PPC64.
6259
83efded4
AZ
6260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6261 modff multiarch implementations.
6262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6265 multiarch modf for PPC64.
6266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6269 multiarch modff for PPC64.
6270
43e246d2
AZ
6271 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6272 and logl multiarch implementations.
6273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6276 multiarch logb for PPC64.
6277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6280 multiarch logb for PPC64.
6281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6284 multiarch logb for PPC64.
6285
8fdad123
AZ
6286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6287 isinff multiarch implementation.
6288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6289 file.
6290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6292 multiarch isinf for PPC64.
6293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6294 file.
6295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6296 multiarch isinff for PPC64.
6297
1481d706
AZ
6298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6299 finitef multiarch implementation.
6300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6301 file.
6302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6304 multiarch finite for PPC64.
6305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6306 file.
6307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6308 multiarch finitef for PPC64.
6309
5ccd5fc8
AZ
6310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6311 lrint multiarch implementation.
6312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6313 file.
6314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6316 multiarch llrint for PPC64.
6317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6318 multiarch lrint for PPC64.
6319
2568f3fa
AZ
6320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6321 copysignf multiarch implementation.
6322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6323 file.
6324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6325 file.
6326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6327 multiarch copysign for PPC64.
6328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6329 multiarch copysignf for PPC64.
6330
1cb341fd
AZ
6331 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6332 multiarch implementation.
6333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6334 file.
6335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6336 file.
6337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6338 file.
6339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6340 file.
6341 multiarch llround for PPC64.
6342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6343 multiarch trunc for PPC64.
6344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6345 multiarch truncf for PPC64.
6346
59a3e194
AZ
6347 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6348 multiarch implementation.
6349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6350 file.
6351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6352 file.
6353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6354 file.
6355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6356 file.
6357 multiarch llround for PPC64.
6358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6359 multiarch round for PPC64.
6360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6361 multiarch roundf for PPC64.
6362
357fd3b4
AZ
6363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6364 multiarch implementation.
6365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6366 file.
6367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6368 file.
6369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6370 file.
6371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6372 file.
6373 multiarch llround for PPC64.
6374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6375 multiarch floor for PPC64.
6376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6377 multiarch floorf for PPC64.
6378
96770f12
AZ
6379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6380 multiarch implementation.
6381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6382 file.
6383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6384 file.
6385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6386 file.
6387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6388 file.
6389 multiarch llround for PPC64.
6390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6391 multiarch ceil for PPC64.
6392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6393 multiarch ceilf for PPC64.
6394
c3627f6e
AZ
6395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6396 multiarch implementation.
6397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6398 file.
6399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6400 file.
6401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6402 file.
6403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6404 multiarch llround for PPC64.
6405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6406 multiarch lround for PPC64.
6407
b2284ad7
AZ
6408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6409 multiarch implementation.
6410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6413 file.
6414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6417 multiarch isnan for PPC64.
6418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6419 multiarch isnanf for PPC64.
6420
69bbc63d
AZ
6421 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6422 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6423 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6424 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6425 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6427
c24517c9
AZ
6428 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6429 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6430 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6432
a52374e8
AZ
6433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6434 multiarch implementations.
6435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6436 (__libc_ifunc_impl_list): Likewise.
6437 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6438 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6439 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6440 multiarch stpcpy for PPC64.
6441
7f5ec113
AZ
6442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6443 multiarch implementations.
6444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6445 (__libc_ifunc_impl_list): Likewise.
6446 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6447 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6448 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6449 multiarch strcpy for PPC64.
6450
e28bcd42
AZ
6451 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6452 redefine function name.
6453 (_wordcopy_fwd_dest_aligned): Likewise.
6454 (_wordcopy_bwd_aligned): Likewise.
6455 (_wordcopy_bwd_dest_aligned): Likewise.
6456 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6457 multiarch implementations.
6458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6459 (__libc_ifunc_impl_list): Likewise.
6460 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6461 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6462 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6463 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6464 multiarch wcscpy for PPC64.
6465
92cacfce
AZ
6466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6467 multiarch implementations.
6468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6469 (__libc_ifunc_impl_list): Likewise.
6470 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6471 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6472 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6473 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6474 multiarch wcscpy for PPC64.
6475
7b714620
AZ
6476 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6477 multiarch implementations.
6478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6479 (__libc_ifunc_impl_list): Likewise.
6480 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6481 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6482 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6483 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6484 multiarch wcsrchr for PPC64.
6485
16fd2ae3
AZ
6486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6487 multiarch implementations.
6488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6489 (__libc_ifunc_impl_list): Likewise.
6490 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6491 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6492 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6493 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6494 multiarch wcschr for PPC64.
6495
9ee2969b
AZ
6496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6497 multiarch implementations.
6498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6499 (__libc_ifunc_impl_list): Likewise.
6500 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6501 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6502 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6503 multiarch strchrnul for PPC64.
6504
372dc060
AZ
6505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6506 implementations.
6507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6508 (__libc_ifunc_impl_list): Likewise.
6509 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6510 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6511 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6512 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6513 strchr for PPC64.
6514
24c2c3b9
AZ
6515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6516 implementations.
6517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6518 (__libc_ifunc_impl_list): Likewise.
6519 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6520 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6521 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6522 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6523 strncmp for PPC64.
6524
1c92d9a0
AZ
6525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6526 multiarch implementations.
6527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6528 (__libc_ifunc_impl_list): Likewise.
6529 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6530 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6531 strncasecmp for PPC64.
6532 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6533 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6534 multiarch strncasecmp_l for PPC64.
6535
17de3ee3
AZ
6536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6537 multiarch implementations.
6538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6539 (__libc_ifunc_impl_list): Likewise.
6540 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6541 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6542 multiarch strcasecmp for PPC64.
6543 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6544 file.
6545 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6546 multiarch strcasecmp_l for PPC64.
6547
62982bf9
AZ
6548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6549 implementations.
6550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6551 (__libc_ifunc_impl_list): Likewise.
6552 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6553 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6554 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6555 strnlen for PPC64.
6556
a65f4904
AZ
6557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6558 implementations.
6559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6560 (__libc_ifunc_impl_list): Likewise.
6561 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6562 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6563 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6564 strlen for PPC64.
6565
1fd005ad
AZ
6566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6567 implementations.
6568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6569 (__libc_ifunc_impl_list): Likewise.
6570 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6571 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6572 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6573 rawmemrchr for PPC64.
6574
cd05ba91
AZ
6575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6576 implementation.
6577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6578 (__libc_ifunc_impl_list): Likewise.
6579 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6580 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6581 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6582 memrchr for PPC64.
6583
870f8676
AZ
6584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6585 implementation.
6586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6587 (__libc_ifunc_impl_list): Likewise.
6588 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6589 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6590 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6591 memchr for PPC64.
6592
f00be62b
AZ
6593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6594 implementation.
6595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6596 (__libc_ifunc_impl_list): Likewise.
6597 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6598 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6599 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6600 mempcpy for PPC64.
6601
8a29a3d0
AZ
6602 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6603 avoid cretion of __bzero symbol.
6604 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6605 Likewise.
6606 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6607 Likewise.
6608 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6609 Likewise.
6610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6611 multiarch implementations.
6612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6613 (__libc_ifunc_impl_list): Likewise.
6614 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6615 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6616 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6617 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6618 bzero for PPC32.
6619 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6620 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6621 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6622 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6623 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6624 memset for PPC64.
6625 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6626
07253fcf
AZ
6627 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6628 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6629 implementations.
6630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6631 (__libc_ifunc_impl_list): Likewise.
6632 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6633 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6634 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6635 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6636 memcmp for PPC64.
6637
b5beafbc
AZ
6638 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6639 multiarch for POWER/PPC64.
6640 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6641 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6642 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6643 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6644 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6645 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6646 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6647 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6648 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6649 memcpy for PPC64.
6650
5e6a4d4b
AZ
6651 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6652 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6653 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6654 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6655 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6656 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6657 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6658 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6659 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6660 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6661 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6662 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6663 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6664 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6665 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6673
ddfab6dc
KK
66742013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6675
6676 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6677
19b5525e
SP
66782013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6679
6680 * benchtests/Makefile (bench): Add exp2 and log2.
6681 (LDLIBS-bench-exp2): Add -lm.
6682 (LDLIBS-bench-log2): Likewise.
6683 * benchtests/exp2-inputs: New inputs file.
6684 * benchtests/log2-inputs: New inputs file.
6685 * benchtests/log-inputs: Add new inputs.
6686 * benchtests/tan-inputs: Likewise.
6687
196f7f5d
SP
66882013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6689
7a74607f
SP
6690 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6691 definition...
57f41c40
AS
6692 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6693 (csloww2): ... from here.
7a74607f 6694
196f7f5d
SP
6695 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6696 instead of structures.
6697 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6698 (POLYNOMIAL): Likewise.
6699 (TAYLOR_SLOW): Likewise.
6700 (__sin): Likewise.
6701 (__cos): Likewise.
6702 (slow1): Likewise.
6703 (slow2): Likewise.
6704 (sloww): Likewise.
6705 (sloww1); Likewise.
6706 (sloww2): Likewise.
6707 (bsloww1): Likewise.
6708 (bsloww2): Likewise.
6709 (cslow2): Likewise.
6710 (csloww): Likewise.
6711 (csloww1): Likewise.
6712 (csloww2): Likewise.
6713
0dfa665c
OB
67142013-12-10 Ondřej Bílka <neleai@seznam.cz>
6715
6716 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
6717 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6718 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
6719 * malloc/hooks.c (realloc_check): Likewise.
6720
5782a80f
OB
6721 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6722 * malloc/arena.c: Remove PER_THREAD conditional.
6723 [!PER_THREAD]: Remove code.
6724 (ptmalloc_unlock_all2): Likewise.
6725 (ptmalloc_init): Likewise.
6726 (_int_new_arena): Likewise.
6727 (arena_get2): Likewise.
6728 * malloc/hooks.c (__malloc_get_state): Likewise.
6729 (__malloc_set_state): Likewise.
6730 * malloc/malloc.c: Likewise.
6731 (struct malloc_state): Likewise.
6732 (struct malloc_par): Likewise.
6733 (__libc_realloc): Likewise.
6734 (__libc_mallopt): Likewise.
6735
aeb95445
AZ
67362013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6737
6738 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6739
e8349efd
OB
67402013-12-09 Ondřej Bílka <neleai@seznam.cz>
6741
6742 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6743 macro to a function. Check for zero perturb_byte.
6744 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6745
f3eeb3fc 6746 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
6747 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6748 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
6749 force_reg by atomic_forced_read.
6750 * malloc/arena.c (ptmalloc_init): Likewise.
6751 * malloc/hooks.c (top_check): Likewise.
6752
be2f9009
AZ
67532013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6754
6755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6756
e7b914bd
MT
67572013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6758
6759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6760
9f0be4f8
JM
67612013-12-08 Joseph Myers <joseph@codesourcery.com>
6762
6763 * math/auto-libm-test-in: Add tests of lgamma.
6764 * math/auto-libm-test-out: Regenerated.
6765 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6766 (M_LOG_2_SQRT_PIl): Likewise.
6767 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6768 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6769 mpfr_f_f1.
6770 (func_calc_desc): Add mpfr_f_f1 union field.
6771 (ARGS1): New macro.
6772 (ARGS2): Likewise.
6773 (ARGS3): Likewise.
6774 (ARGS4): Likewise.
6775 (RET1): Likewise.
6776 (RET2): Likewise.
6777 (CALC): Likewise.
6778 (FUNC): Likewise.
6779 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6780 (test_functions): Add lgamma.
6781 (calc_generic_results): Handle mpfr_f_f1.
6782 * sysdeps/i386/fpu/libm-test-ulps: Update.
6783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6784
24eeafdb
AZ
67852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6786
6787 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6788 __mpn_add_n for PowerPC64/POWER7.
6789 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6790 __mpn_sub_n for PowerPC64/POWER7.
6791
4a2c0fd4
AZ
6792 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6793 __mpn_addmul_1 for PowerPC64.
6794 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6795 __mpn_submul_1 for PowerPC64.
6796 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6797 for PowerPC64.
6798 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6799 for PowerPC64.
6800
4b5b548c
FS
68012013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6802
6803 [BZ #15089]
6804 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6805
0a3ac0aa
AZ
68062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6807
6808 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6809
ccdc8438
AZ
6810 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6811 add multiarch folders.
6812 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6813 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6814 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6815 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6816 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6817 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6818 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6819 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6820 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6821 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6822 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6829
2e973d99
AZ
6830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6831 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6833 New file.
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6835 New file.
6836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6837 multiarch __ieee754_hypot for PowerPC32.
6838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6839 New file.
6840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6841 New file.
6842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6843 multiarch __ieee754_hypotf for PowerPC32.
6844
2d9470b2
AZ
6845 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6846 long_double_symbol only if __logbl is defined.
6847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6848 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6850 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6851 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6852 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6854 path for implementation.
6855 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6856 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6858 logb, and logbl multiarch implementations for PowerPC32.
6859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6860 file.
6861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6862 file.
6863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6864 multiarch logb for PowerPC32.
6865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6866 file.
6867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6868 file.
6869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6870 multiarch logbf for PowerPC32.
6871 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6873 file.
6874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6875 multiarch logbl implementation for PowerPC32.
6876
5212ffce
AZ
6877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6878 and modff multiarch implementations.
6879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6880 New file.
6881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6882 New file.
6883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6884 multiarch modf for PowerPC32.
6885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6886 New file.
6887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6888 New file.
6889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6890 multiarch modff for PowerPC32.
6891
79dccf31
AZ
6892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6893 and lrintf multiarch implementations.
6894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6895 New file.
6896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6897 New file.
6898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6899 multiarch lrint for PowerPC32.
6900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6901 file: multiarch lrintf for PowerPC32.
6902
deb66480
AZ
6903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6904 and lroundf multiarch implementations.
6905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6906 New file.
6907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6908 New file.
6909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6910 New file.
6911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6912 multiarch lround for PowerPC32.
6913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6914 file: multiarch lroundf for PowerPC32.
6915
264b036b
AZ
6916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6917 copysign and copysignf multiarch implementations.
6918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6919 New file.
6920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6921 New file.
6922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6923 file: multiarch copysign for PowerPC32.
6924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6925 file: multiarch copysignf for PowerPC32.
6926
d47db6c9
AZ
6927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6928 and truncf multiarch implementations.
6929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6930 New file.
6931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6932 file.
6933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6934 multiarch trunc for PowerPC32.
6935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6936 New file.
6937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6938 New file.
6939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6940 multiarch truncf for PowerPC32.
6941
ddb60b5a
AZ
6942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6943 and roundf multiarch implementations.
6944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6945 New file.
6946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6947 file.
6948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6949 multiarch round for PowerPC32.
6950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6951 New file.
6952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6953 New file.
6954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6955 multiarch roundf for PowerPC32.
6956
bedcf49b
AZ
6957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6958 and floorf multiarch implementations.
6959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6960 New file.
6961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6962 file.
6963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6964 multiarch floor for PowerPC32.
6965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6966 New file.
6967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6968 New file.
6969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6970 multiarch floorf for PowerPC32.
6971
35ae5b40
AZ
6972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6973 and ceilf multiarch implementations.
6974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6975 New file.
6976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6977 file.
6978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6979 multiarch ceil for PowerPC32.
6980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6981 New file.
6982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6983 file.
6984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6985 multiarch ceilf for PowerPC32.
6986
ae1a4cd9
AZ
6987 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6988 is defined.
6989 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6990 FINITEF is defined.
6991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6992 and finitef multiarch implementations.
6993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6994 New file.
6995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6996 file.
6997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6998 multiarch finite for PowerPC32.
6999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7000 New file.
7001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7002 file: multiarch finitef for PowerPC32.
7003
64fffd65
AZ
7004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7005 and isinff multiarch implementations.
7006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7007 file.
7008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7009 file.
7010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7011 multiarch isinf for PowerPC32.
7012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7013 New file.
7014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7015 multiarch isinff for PowerPC32.
7016
8e4e7ba2
AZ
7017 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7018 alias when __isnan is defined.
7019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7020 and isnanf multiarch implementations.
7021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7022 file.
7023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7024 file.
7025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7026 file.
7027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7028 file.
7029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7030 multiarch isnan for PowerPC32.
7031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7032 New file.
7033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7034 New file.
7035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7036 multiarch isnanf for PowerPC32.
7037
ddba588e
AZ
7038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7039 and sqrtf multiarch implementations.
7040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7041 file.
7042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7043 file.
7044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7045 multiarch sqrt for PowerPC32.
7046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7047 file.
7048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7049 file.
7050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7051 multiarch sqrtf for PowerPC32.
7052
0f96a2f0
AZ
7053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7054 and llroundf multiarch implementations.
7055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7056 New file.
7057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7058 New file.
7059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7060 New file.
7061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7062 file: multiarch llround for PowerPC32.
7063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7064 file: multiarch llroundf for PowerPC32.
7065
c9b5d79e
AZ
7066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7067 multiarch PowerPC32 fpu implementations.
7068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7069 New file.
7070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7071 New file.
7072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7073 multiarch llrint for PowerPC32.
7074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7075 New file.
7076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7077 New file.
7078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7079 file.
7080
9cbb3aab
AZ
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7082
ea5a72f8
AZ
7083 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7084 file.
7085 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7086 file.
7087 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7088 file.
7089 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7090 multiarch wordcopy for PPC32.
7091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7092 wordcopy objects.
7093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7094 (__libc_ifunc_impl_list): Likewise.
7095 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7096 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7097 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7098 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7099 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7100 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7101
93be09e7
AZ
7102 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7104 file.
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7106 file.
7107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7108 file.
7109 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7110 multiarch wcscpy for PPC32.
7111 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7112 multiarch objects.
7113 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7114 (__libc_ifunc_impl_list): Likewise.
7115 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7116 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7117 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7118 sysdeps/powerpc/power6/wcscpy.c.
7119
bb04e529
AZ
7120 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7122 file.
7123 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7124 file.
7125 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7126 file.
7127 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7128 multiarch wcsrchr for PPC32.
7129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7130 multiarch objects.
7131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7132 (__libc_ifunc_impl_list): Likewise.
7133 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7134 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7135 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7136 sysdeps/powerpc/power6/wcsrchr.c.
7137
05b5cd1c
AZ
7138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7139 file.
7140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7141 file.
7142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7143 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7144 multiarch wcschr for PPc32.
7145 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7146 multiarch objects.
7147 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7148 (__libc_ifunc_impl_list): Likewise.
7149 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7150 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7151 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7152 sysdeps/powerpc/power6/wcschr.c.
7153
ba964147
AZ
7154 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7155 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7156 file.
7157 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7158 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7159 file: multiarch strchr for PPC32.
7160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7161 multiarch objects.
7162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7163 (__libc_ifunc_impl_list): Likewise.
7164
31c81aaa
AZ
7165 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7166 name.
7167 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7168 file.
7169 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7170 file.
7171 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7172 multiarch strchrnul for PPC32.
7173 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7174 multiarch objects.
7175 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7176 (__libc_ifunc_impl_list): Likewise.
7177
0d0607d9
AZ
7178 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7179 file.
7180 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7181 multiarch strncasecmp for PPC32.
7182 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7183 file.
7184 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7185 multiarch strncasecmp_l for PPC32.
7186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7187 strncasecmp multiarch objects.
7188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7189 (__libc_ifunc_impl_list): Likewise.
7190
4dfd5c86
AZ
7191 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7192 file.
7193 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7194 multiarch strncasecmp for PPC32.
7195 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7196 New file.
7197 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7198 multiarch strcasecmp_l for PPC32.
7199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7200 multiarch objects.
7201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7202 (__libc_ifunc_impl_list): Likewise.
7203
a19e01a3
AZ
7204 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7205 file.
7206 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7207 file.
7208 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7209 multiarch strncmp for PPC32.
7210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7211 multiarch objects.
7212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7213 (__libc_ifunc_impl_list): Likewise.
7214
ae9cf7a2
AZ
7215 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7216 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7217 file.
7218 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7219 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7221 multiarch objects.
7222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7223 (__libc_ifunc_impl_list): Likewise.
7224
3148bb7d
AZ
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7226 file.
7227 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7228 file.
7229 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7230 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7231 multiarch objects.
7232 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7233 (__libc_ifunc_impl_list): Likewise.
7234
7af8b946
AZ
7235 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7236 file.
7237 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7238 file.
7239 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7240 multiarch rawmemchr for PPC32.
7241 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7242 multiarch objects.
7243 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7244 (__libc_ifunc_impl_list): Likewise.
7245
03a6aa6a
AZ
7246 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7247 file.
7248 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7249 file.
7250 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7251 file: memrchr multiarch for PPC32.
7252 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7253 multiarch objects.
7254 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7255 (__libc_ifunc_impl_list): Likewise.
7256
1c62e6d9
AZ
7257 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7258 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7259 file.
7260 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7261 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7262 multiarch memchr for PPC32.
7263 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7264 multiarch objects.
7265 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7266 (__libc_ifunc_impl_list): Likewise.
7267
87da8bdb
AZ
7268 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7269 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7270 file.
7271 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7272 file.
7273 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7274 file: multiarch mempcpy for PPC32.
7275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7276 multiarch objects.
7277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7278 (__libc_ifunc_impl_list): Likewise.
7279
20ed4714
AZ
7280 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7281 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7282 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7283 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7284 multiarch bzero for PPC32.
7285 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7286 file.
7287 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7288 file.
7289 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7290 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7291 file: multiarch memset for PPC32.
7292 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7294 memset multiarch objects.
7295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7296 (__libc_ifunc_impl_list): Likewise.
7297
ab3e3a46
AZ
7298 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7299 file.
7300 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7301 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7302 memcmp for PPC32.
7303 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7305 multiarch objects.
7306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7307 (__libc_ifunc_impl_list): Likewise.
7308
930de6f0
AZ
7309 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7310 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7311 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7312 file.
7313 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7314 file.
7315 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7316 file.
7317 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7318 multiarch memcpy for PPC32.
7319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7320 multiarch objects.
7321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7322 (__libc_ifunc_impl_list): Likewise.
7323
4c628e00
AZ
7324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7325 support multiarch for POWER/PPC32.
7326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7327 Likewise.
7328 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7330 Implies file to make multiarch folder appers before the fpu and
7331 default folder for power4 configuration.
7332
f4479220
SP
73332013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7334
7335 * scripts/bench.pl: Append volatile keyword to type.
7336
8517800f
KK
73372013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7338
7339 * sysdeps/sh/sotruss-lib.c: New file.
7340 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7341
180138f1
AZ
73422013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7343
7344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7345
bbf37bdc
JM
73462013-12-05 Joseph Myers <joseph@codesourcery.com>
7347
e47cc4e0
JM
7348 [BZ #6810]
7349 * math/w_tgamma.c: Include <errno.h>.
7350 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7351 * math/w_tgammaf.c: Include <errno.h>.
7352 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7353 * math/w_tgammal.c: Include <errno.h>.
7354 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7355 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7356 underflow. Add more tgamma tests.
7357 * math/auto-libm-test-out: Regenerated.
7358 * sysdeps/i386/fpu/libm-test-ulps: Update.
7359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7360
bbf37bdc
JM
7361 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7362 sin, sinh, tan, tanh, tgamma, y0 and y1.
7363 * math/auto-libm-test-out: Regenerated.
7364 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7365 (TEST_COND_x86): Likewise.
7366 (M_E2l): Remove macro.
7367 (M_E3l): Likewise.
7368 (M_2_SQRT_PIl): Likewise.
7369 (M_SQRT_PIl): Likewise.
7370 (M_1_DIV_El): Likewise.
7371 (log_test_data): Use AUTO_TESTS_f_f.
7372 (log10_test_data): Likewise.
7373 (log1p_test_data): Likewise.
7374 (log2_test_data): Likewise.
7375 (sin_test_data): Likewise.
7376 (sin_tonearest_test_data): Likewise.
7377 (sin_towardzero_test_data): Likewise.
7378 (sin_downward_test_data): Likewise.
7379 (sin_upward_test_data): Likewise.
7380 (sinh_test_data): Likewise.
7381 (sinh_tonearest_test_data): Likewise.
7382 (sinh_towardzero_test_data): Likewise.
7383 (sinh_downward_test_data): Likewise.
7384 (sinh_upward_test_data): Likewise.
7385 (tan_test_data): Likewise.
7386 (tan_tonearest_test_data): Likewise.
7387 (tan_towardzero_test_data): Likewise.
7388 (tan_downward_test_data): Likewise.
7389 (tan_upward_test_data): Likewise.
7390 (tanh_test_data): Likewise.
7391 (tgamma_test_data): Likewise.
7392 (y0_test_data): Likewise.
7393 (y1_test_data): Likewise.
7394 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7395 (special_real_inputs): Add pi/4.
7396 * sysdeps/i386/fpu/libm-test-ulps: Update.
7397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7398
eb5ad6b9
AZ
73992013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7400
7401 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7402 "longjmp_target" static probes.
7403 (__longjmp): Rename to __longjmp_symbol.
7404 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7405 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7406 on which longjmp to generate.
7407 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7408 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7409 probe.
7410 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7411 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7412 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7413 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7414 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7415 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7417 __longjmp_symbol based on which __longjmp to generate.
7418 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7419 probe.
7420 (setjmp): Rename to setjmp_symbol.
7421 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7422 (_setjmp): Rename to _setjmp_symbol.
7423 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7424 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7425 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7426 which setjmp to generate.
7427 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7428 "longjmp_target" static probes.
7429
d136c6dc
SP
74302013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7431
9298ecba
SP
7432 * benchtests/README: Add note about output arguments.
7433 * benchtests/bench-sincos.c: Remove file.
7434 * benchtests/sincos-inputs: New file.
7435 * scripts/bench.pl: Identify output arguments and define
7436 static variables for them.
7437
232983e9
SP
7438 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7439
d136c6dc
SP
7440 [BZ #15941]
7441 * Makefile (INSTALL): Add install-plain.texi as the primary
7442 dependency.
7443 * manual/install-plain.texi: New file.
7444 * manual/install.texi: Include node directive only for
7445 non-plaintext output.
7446
699ff837
JM
74472013-12-04 Joseph Myers <joseph@codesourcery.com>
7448
ab07cea8
JM
7449 * stdlib/longlong.h: Update from GCC.
7450
699ff837
JM
7451 [BZ #6807]
7452 [BZ #15901]
7453 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7454 * math/w_j0f.c (y0f): Likewise.
7455 * math/w_j0l.c (__y0l): Likewise.
7456 * math/w_j1.c (y1): Likewise.
7457 * math/w_j1f.c (y1f): Likewise.
7458 * math/w_j1l.c (__y1l): Likewise
7459 * math/w_jn.c (yn): Likewise.
7460 * math/w_jnf.c (ynf): Likewise.
7461 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7462 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7463 value for Bessel function domain errors outside _SVID_ mode.
7464 Adjust sign of return value for yn (negative integer, 0).
7465 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7466 by zero in return for negative x and set sign appropriately for
7467 negative n.
7468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7469 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7470 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7471 expectations in error cases.
7472 (y1_test_data): Likewise.
7473 (yn_test_data): Likewise.
7474 * sysdeps/i386/fpu/libm-test-ulps: Update.
7475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7476
5b118558
UW
74772013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7478
7479 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7480 "64" to "64-v1". Add "64-v2".
7481 (abi-64-options): Rename to ...
7482 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7483 (abi-64-condition): Rename to ...
7484 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7485 (abi-64-ld-soname): Rename to ...
7486 (abi-64-v1-ld-soname): ... this.
7487 (abi-64-v2-options): Define.
7488 (abi-64-v2-condition): Likewise.
7489 (abi-64-v2-ld-soname): Likewise.
7490 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7491 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7495
61cd8fe4
UW
74962013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7497 Alan Modra <amodra@gmail.com>
7498
7499 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7500 New versions for use with the ELFv2 ABI.
7501 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7502 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7503 declaration.
7504 (struct La_ppc64v2_retval): Likewise.
7505 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7506 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7507 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7508 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7509 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7510 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7511 Do not save or restore CR.
7512 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7513 (_dl_profile_resolve): Do no save or restore CR. Support extended
7514 return values for ELFv2 ABI. Fix location of FPR return registers.
7515 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7516 updated values for _CALL_ELF == 2.
7517 (La_regs, La_retval, int_retval): Likewise.
7518
8b8a692c
UW
75192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7520
7521 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7522 (FRAME_MIN_SIZE_PARM): Likewise.
7523 (FRAME_BACKCHAIN): Likewise.
7524 (FRAME_CR_SAVE): Likewise.
7525 (FRAME_LR_SAVE): Likewise.
7526 (FRAME_TOC_SAVE): Likewise.
7527 (FRAME_PARM_SAVE): Likewise.
7528 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7529 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7530 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7531 (call_mcount_parm_offset): New macro.
7532 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7533 (PROF): Use symbolic stack frame offsets.
7534 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7535 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7536 Redefine in terms of FRAME_MIN_SIZE.
7537 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7538 (_dl_profile_resolve): Likewise. Update comment.
7539 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7540 symbols stack frame offsets.
7541 (__sigsetjmp): Likewise.
7542 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7543 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7544 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7545 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7546
7547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7548 (FRAME_BACKCHAIN): Remove.
7549 (FRAME_CR_SAVE): Likewise.
7550 (FRAME_LR_SAVE): Likewise.
7551 (FRAME_COMPILER_DW): Likewise.
7552 (FRAME_LINKER_DW): Likewise.
7553 (FRAME_TOC_SAVE): Likewise.
7554 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
7555 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7556 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7557 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
7558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7559 (CHECK_SP): Use symbolic stack frame offsets.
7560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7561 zone" instead of caller's parameter save area for temp storage.
7562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7563 Likewise. Also, use symbolic stack frame offsets.
7564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7565 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7566 our own stack frame instead of the caller's.
7567 (__socket): Use symbolic stack frame offsets.
7568
122b66de
UW
75692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7570 Alan Modra <amodra@gmail.com>
7571
7572 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7573 Define.
57f41c40
AS
7574 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7575 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
7576 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7577 New function.
7578 (elf_machine_fixup_plt): Call it.
7579 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7580 reloc arguments.
7581 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
7582 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7583 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7584 r2 before calling target.
7585
696caf1d
UW
75862013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7587 Alan Modra <amodra@gmail.com>
7588
7589 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7590 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7591 versions of macros to support ELFv2 ABI.
7592 (LOCALENTRY): New macro.
7593 (ENTRY, EALIGN): Use it.
7594 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7595 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7596 fall through into ENTRY entry point.
7597 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7598 Only define if _CALL_ELF != 2.
7599
7600 (elf_machine_matches_host): Verify ABI version matches.
7601 (RTLD_START): Use LOCALENTRY.
7602 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7603 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7604 (PLT_ENTRY_WORDS): New macro.
7605 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7606 (elf_machine_runtime_setup): Support ELFv2 ABI.
7607 (elf_machine_fixup_plt): Likewise.
7608 (elf_machine_plt_conflict): Likewise.
7609 (resolve_ifunc): Likewise.
7610 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7611 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7612 Likewise.
7613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7614 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7616 (makecontext): Support ELFv2 ABI.
7617 * elf/elf.h (EF_PPC64_ABI): Define.
7618
d31beafa
UW
76192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7620
57f41c40
AS
7621 * sysdeps/powerpc/powerpc64/sysdep.h
7622 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7623 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7624 (ENTRY) [ASSEMBLER]: ... but instead here ...
7625 (EALIGN) [ASSEMBLER]: ... and here.
7626 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7627 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7628 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
7629 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7630 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
7631 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7632 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
7633 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7635 Use PPC64_LOAD_FUNCPTR.
7636
b525166b
UW
7637 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7638
7ec07d9a
AM
76392013-12-04 Alan Modra <amodra@gmail.com>
7640
7641 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7642 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7643 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7644 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7645
7646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7647 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7648 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7649 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7650 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7651 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7652
5162e7dd
UW
76532013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7654
7655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7656 (__makecontext): Fix incorrect CFI when backtracing out of
7657 context created via makecontext.
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7659 (__setcontext): Fix incorrect CFI during switch to new context.
7660 (__novec_setcontext): Likewise.
7661
19e3372b
OB
76622013-12-04 Ondřej Bílka <neleai@seznam.cz>
7663
7664 [BZ #4772]
7665 * time/strptime_l.c (__strptime_internal): Allow modifiers
7666 in strptime.
7667 * time/tst-strptime.c (day_tests): Add testcase.
7668
ecaf142d
SP
76692013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7670
7671 * scripts/bench.pl: Skip over blank lines.
7672
fbf964ae
PE
76732013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7674
7675 [BZ #926]
7676 * manual/time.texi (Calendar Time): Clarify what timezone functions
7677 use.
7678
fa60a674
AZ
76792013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7680
7681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7682
d674f0ef
OB
76832013-12-04 Ondřej Bílka <neleai@seznam.cz>
7684
7685 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7686 implementation.
7687 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7688 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7689 * debug/memset_chk.c (__memset_chk): Likewise.
7690 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7691 * debug/strncpy_chk.c: Likewise.
7692
17dea188
JM
76932013-12-03 Joseph Myers <joseph@codesourcery.com>
7694
749008ff
JM
7695 [BZ #15268]
7696 [BZ #15425]
7697 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7698 (__ieee754_exp): For possibly underflowing results, check size of
7699 result and force underflow exception if required.
7700 * math/auto-libm-test-in: Add more tests of exp.
7701 * math/auto-libm-test-out: Regenerated.
7702 * sysdeps/i386/fpu/libm-test-ulps: Update.
7703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7704
17dea188
JM
7705 [BZ #16283]
7706 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7707 * math/w_exp2f.c (__exp2f): Likewise.
7708 * math/w_exp2l.c (__exp2l): Likewise.
7709 * math/auto-libm-test-in: Do not allow missing errno on exp2
7710 underflow.
7711 * math/auto-libm-test-out: Regenerated.
7712
b20de2c3
OB
77132013-12-03 Ondřej Bílka <neleai@seznam.cz>
7714
7715 [BZ #16274]
7716 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7717 handle filename validation.
7718 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7719 (do_open): Delete.
7720
d8e2dbe3
JM
77212013-12-03 Joseph Myers <joseph@codesourcery.com>
7722
34e16df5
JM
7723 [BZ #6786]
7724 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7725 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7726 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7727 <float.h>.
7728 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7729 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7730 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7732 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7733 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7734 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7735 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7736 Add more erfc tests.
7737 * math/auto-libm-test-out: Regenerated.
7738 * sysdeps/i386/fpu/libm-test-ulps: Update.
7739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7740
d8e2dbe3
JM
7741 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7742 exp2, expm1, j0 and j1.
7743 * math/auto-libm-test-out: Regenerated.
7744 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7745 (erfc_test_data): Likewise.
7746 (exp_test_data): Likewise.
7747 (exp_tonearest_test_data): Likewise.
7748 (exp_towardzero_test_data): Likewise.
7749 (exp_downward_test_data): Likewise.
7750 (exp_upward_test_data): Likewise.
7751 (exp10_test_data): Likewise.
7752 (exp2_test_data): Likewise.
7753 (expm1_test_data): Likewise.
7754 (j0_test_data): Likewise.
7755 (j1_test_data): Likewise.
7756 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7757 (input_flag_type): Add flag_xfail_rounding.
7758 (input_flags): Add xfail-rounding.
7759 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7760 (output_for_one_input_case): Handle flag_xfail_rounding.
7761 * sysdeps/i386/fpu/libm-test-ulps: Update.
7762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7763
18d14251
AJ
77642013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7765
3d2e6075 7766 [BZ #16289]
18d14251
AJ
7767 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7768 division by 0.
7769
520d437b
SP
77702013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7771
7772 [BZ #16195]
7773 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7774 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7775 (STAP_PROBE0): New macro.
7776 (STAP_PROBE1): Likewise.
7777 (STAP_PROBE2): Likewise.
7778 (STAP_PROBE3): Likewise.
7779 (STAP_PROBE4): Likewise.
7780
416e0145
OB
77812013-12-02 Ondřej Bílka <neleai@seznam.cz>
7782
7783 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7784
9d17796a
SE
77852013-12-02 Steve Ellcey <sellcey@mips.com>
7786
7787 * benchtests/Makefile (bench): Add sqrt.
7788 (LDLIBS-bench-sqrt): New.
7789 * benchtests/sqrt-input: New.
7790
f524d6a8
PS
77912013-12-02 Pavel Simerda <psimerda@redhat.com>
7792
639a0ef8
PS
7793 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7794 (GAIH_EAI): Likewise.
7795 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7796 (gaih_inet): Likewise.
7797 (getaddrinfo): Don't use GAIH_EAI.
7798
f524d6a8
PS
7799 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7800 (struct gaih): Remove definition.
7801
df3aedaf
SP
78022013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7803
7804 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7805 Use HERRNOP directly.
7806
1ab19dec
AZ
78072013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7808
b42ad38d 7809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7810
176b0c79
JM
78112013-11-30 Joseph Myers <joseph@codesourcery.com>
7812
7813 * math/gen-auto-libm-tests.c (test_functions): Add more
7814 single-argument functions.
7815 (special_fill_pi_2): New function.
7816 (special_fill_minus_pi_2): Likewise.
7817 (special_fill_pi_6): Likewise.
7818 (special_fill_minus_pi_6): Likewise.
7819 (special_fill_pi_3): Likewise.
7820 (special_fill_2pi_3): Likewise.
7821 (special_fill_e): Likewise.
7822 (special_fill_1_e): Likewise.
7823 (special_fill_e_minus_1): Likewise.
7824 (special_real_inputs): Add more special inputs.
7825 (output_for_one_input_case): Do not require ERANGE on underflow to
7826 zero if round-to-nearest result does not underflow to zero, unless
7827 exact results required.
7828 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7829 atan, atanh, cbrt, cos and cosh.
7830 * math/auto-libm-test-out: Regenerated.
7831 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7832 (acos_tonearest_test_data): Likewise.
7833 (acos_towardzero_test_data): Likewise.
7834 (acos_downward_test_data): Likewise.
7835 (acos_upward_test_data): Likewise.
7836 (acosh_test_data): Likewise.
7837 (asin_test_data): Likewise.
7838 (asin_tonearest_test_data): Likewise.
7839 (asin_towardzero_test_data): Likewise.
7840 (asin_upward_test_data): Likewise.
7841 (asinh_test_data): Likewise.
7842 (atan_test_data): Likewise.
7843 (atanh_test_data): Likewise.
7844 (cbrt_test_data): Likewise.
7845 (cos_test_data): Likewise.
7846 (cos_tonearest_test_data): Likewise.
7847 (cos_towardzero_test_data): Likewise.
7848 (cos_downward_test_data): Likewise.
7849 (cos_upward_test_data): Likewise.
7850 (cosh_test_data): Likewise.
7851 (cosh_tonearest_test_data): Likewise.
7852 (cosh_towardzero_test_data): Likewise.
7853 (cosh_downward_test_data): Likewise.
7854 (cosh_upward_test_data): Likewise.
7855 * sysdeps/i386/fpu/libm-test-ulps: Update.
7856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7857
ffb536d0
JM
78582013-11-29 Joseph Myers <joseph@codesourcery.com>
7859
2a77a467
JM
7860 [BZ #6787]
7861 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7862 * math/w_exp10f.c (__exp10f): Likewise.
7863 * math/w_exp10l.c (__exp10l): Likewise.
7864 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7865 errno settings in existing tests.
7866
ea3bc4e8
JM
7867 [BZ #14032]
7868 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7869 precision control set to double precision.
7870 * sysdeps/i386/fpu/w_sqrt.c: New file.
7871 * math/auto-libm-test-in: Add more tests.
7872 * math/auto-libm-test-out: Update.
7873
0712c9d8
JM
7874 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7875 (sqrt_test_tonearest): New function.
7876 (sqrt_towardzero_test_data): New variable.
7877 (sqrt_test_towardzero): New function.
7878 (sqrt_downward_test_data): New variable.
7879 (sqrt_test_downward): New function.
7880 (sqrt_upward_test_data): New variable.
7881 (sqrt_test_upward): New function.
7882 (main): Call the new functions.
7883
ffb536d0
JM
7884 * math/gen-auto-libm-tests.c: New file.
7885 * math/auto-libm-test-in: Likewise.
7886 * math/auto-libm-test-out: New generated file.
7887 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7888 variables.
7889 (%beautify): Add generated representations of zero.
7890 (top level): Set $auto_input and call parse_auto_input.
7891 (beautify): Remove trailing "f" from hex float constants.
7892 (parse_args): Handle XFAIL_TEST.
7893 (convert_condition): New function.
7894 (or_value): Likewise.
7895 (or_cond_value): Likewise.
7896 (generate_testfile): Handle AUTO_TESTS_* lines.
7897 (parse_auto_input): New function.
7898 * math/libm-test.inc (XFAIL_TEST): New macro.
7899 (ERRNO_UNCHANGED): Update value.
7900 (ERRNO_EDOM): Likewise.
7901 (ERRNO_ERANGE): Likewise.
7902 (IGNORE_RESULT): Likewise.
7903 (TEST_COND_flt_32): New macro.
7904 (TEST_COND_dbl_64): Likewise.
7905 (TEST_COND_ldbl_96_intel): Likewise.
7906 (TEST_COND_ldbl_96_m68k): Likewise.
7907 (TEST_COND_ldbl_128): Likewise.
7908 (TEST_COND_ldbl_128ibm): Likewise.
7909 (TEST_COND_long32): Likewise.
7910 (TEST_COND_long64): Likewise.
7911 (TEST_COND_before_rounding): Likewise.
7912 (TEST_COND_after_rounding): Likewise.
7913 (enable_test): Handle XFAIL_TEST flag.
7914 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7915 with finite results.
7916 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7917 auto-libm-test-out.
7918
acd98a8e
AK
79192013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7920 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7921
7922 [BZ #16214]
7923 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7924 __tls_get_addr_internal instead of __tls_get_offset in order to
7925 avoid GOT pointer dependency. Make rtld export
7926 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7927 __tls_get_addr since we are a __tls_get_offset platform.
7928 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7929 GOT pointer being set up before.
7930 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7931
3c1c46a6
JM
79322013-11-28 Joseph Myers <joseph@codesourcery.com>
7933
7475aef5
JM
7934 * manual/math.texi (Errors in Math Functions): Document accuracy
7935 goals.
7936
8bca7cd8
JM
7937 [BZ #15004]
7938 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7939 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7940 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7941 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7942 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7943 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7944 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7945 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7946 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7947 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7948 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7949 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7950 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7951 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7952 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7953 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7954
91a1f3fe
JM
7955 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7956 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7957 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7958 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7959 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7960 Likewise.
7961 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7962 Likewise.
7963 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7964 Likewise.
7965 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7966 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7967 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7968 atomic-feupdateenv and flt-rounds.
7969 * sysdeps/powerpc/nofpu/Versions (libc): Add
7970 __atomic_feholdexcept, __atomic_feclearexcept,
7971 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7972 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7973 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7974 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7975 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7976 here.
7977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7978 Update.
7979
c5df7609
JM
7980 * manual/arith.texi (FP Exceptions): Document that exceptions may
7981 not be raised when matherr is used.
7982 (Math Error Reporting): Document overflow in directed rounding
7983 modes. Document that errno may not be set when finite values are
7984 returned on overflow. Document intent to set errno on underflow
7985 only for underflow to zero.
7986
3c1c46a6
JM
7987 [BZ #16271]
7988 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7989 round-to-nearest then adjust result for other rounding modes.
7990 * include/fenv.h (fegetround): Use libm_hidden_proto.
7991 * math/fegetround.c (fegetround): Use libm_hidden_def.
7992 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7993 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7994 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7995 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7996 Likewise.
7997 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7998 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7999 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8000 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8001
5a4c6d53
SP
80022013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8003
8004 [BZ #16077]
8005 * nss/Versions (libnss_files): Add
8006 _nss_files_gethostbyname3_r.
8007 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8008 New function.
8009 (HOST_DB_LOOKUP): Remove macro.
8010 (_nss_files_gethostbyname_r): Implement function without the
8011 HOST_DB_LOOKUP macro.
8012 (_nss_files_gethostbyname2_r): Likewise.
8013
897b98ba
OB
80142013-11-28 Ondřej Bílka <neleai@seznam.cz>
8015
8016 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8017
6f476861
UB
80182013-11-26 Uros Bizjak <ubizjak@gmail.com>
8019
8020 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8021 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8022 warning.
8023
bd12ab55
AZ
80242013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8025
8026 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8027 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8028 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8029 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8030 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8031 __fe_nomask_env_priv and attribute_hidden.
8032 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8033 (libc_feupdateenv_test_ppc): Likewise.
8034 (libc_feresetround_ppc): Likewise.
8035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8036 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8037 compat_symbol macro.
8038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8039 (__fe_nomask_env): Likewise.
8040 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8041
52bb6543
OB
80422013-11-26 Ondřej Bílka <neleai@seznam.cz>
8043
8044 * string/Makefile: Remove ifunc tests.
8045 * string/test-string.h: Define TEST_IFUNC.
8046 * string/test-bcopy-ifunc.c: Remove.
8047 * string/test-bzero-ifunc.c: Likewise.
8048 * string/test-memccpy-ifunc.c: Likewise.
8049 * string/test-memchr-ifunc.c: Likewise.
8050 * string/test-memcmp-ifunc.c: Likewise.
8051 * string/test-memcpy-ifunc.c: Likewise.
8052 * string/test-memmem-ifunc.c: Likewise.
8053 * string/test-memmove-ifunc.c: Likewise.
8054 * string/test-mempcpy-ifunc.c: Likewise.
8055 * string/test-memrchr-ifunc.c: Likewise.
8056 * string/test-memset-ifunc.c: Likewise.
8057 * string/test-rawmemchr-ifunc.c: Likewise.
8058 * string/test-stpcpy-ifunc.c: Likewise.
8059 * string/test-stpncpy-ifunc.c: Likewise.
8060 * string/test-strcasecmp-ifunc.c: Likewise.
8061 * string/test-strcasestr-ifunc.c: Likewise.
8062 * string/test-strcat-ifunc.c: Likewise.
8063 * string/test-strchr-ifunc.c: Likewise.
8064 * string/test-strchrnul-ifunc.c: Likewise.
8065 * string/test-strcmp-ifunc.c: Likewise.
8066 * string/test-strcpy-ifunc.c: Likewise.
8067 * string/test-strcspn-ifunc.c: Likewise.
8068 * string/test-strlen-ifunc.c: Likewise.
8069 * string/test-strncasecmp-ifunc.c: Likewise.
8070 * string/test-strncat-ifunc.c: Likewise.
8071 * string/test-strncmp-ifunc.c: Likewise.
8072 * string/test-strncpy-ifunc.c: Likewise.
8073 * string/test-strnlen-ifunc.c: Likewise.
8074 * string/test-strpbrk-ifunc.c: Likewise.
8075 * string/test-strrchr-ifunc.c: Likewise.
8076 * string/test-strspn-ifunc.c: Likewise.
8077 * string/test-strstr-ifunc.c: Likewise.
8078
ab260039 80792013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
8080
8081 * benchtests/Makefile: Remove ifunc tests.
8082 * benchtests/bench-string.h: Define TEST_IFUNC.
8083 * benchtests/bench-bcopy-ifunc.c: Remove.
8084 * benchtests/bench-bzero-ifunc.c: Likewise.
8085 * benchtests/bench-memccpy-ifunc.c: Likewise.
8086 * benchtests/bench-memchr-ifunc.c: Likewise.
8087 * benchtests/bench-memcmp-ifunc.c: Likewise.
8088 * benchtests/bench-memcpy-ifunc.c: Likewise.
8089 * benchtests/bench-memmem-ifunc.c: Likewise.
8090 * benchtests/bench-memmove-ifunc.c: Likewise.
8091 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8092 * benchtests/bench-memrchr-ifunc.c: Likewise.
8093 * benchtests/bench-memset-ifunc.c: Likewise.
8094 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8095 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8096 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8097 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8098 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8099 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8100 * benchtests/bench-strcat-ifunc.c: Likewise.
8101 * benchtests/bench-strchr-ifunc.c: Likewise.
8102 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8103 * benchtests/bench-strcmp-ifunc.c: Likewise.
8104 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8105 * benchtests/bench-strcpy-ifunc.c: Likewise.
8106 * benchtests/bench-strcspn-ifunc.c: Likewise.
8107 * benchtests/bench-strlen-ifunc.c: Likewise.
8108 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8109 * benchtests/bench-strncat-ifunc.c: Likewise.
8110 * benchtests/bench-strncmp-ifunc.c: Likewise.
8111 * benchtests/bench-strncpy-ifunc.c: Likewise.
8112 * benchtests/bench-strnlen-ifunc.c: Likewise.
8113 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8114 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 8115 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
8116 * benchtests/bench-strspn-ifunc.c: Likewise.
8117 * benchtests/bench-strstr-ifunc.c: Likewise.
8118
81192013-11-26 Ondřej Bílka <neleai@seznam.cz>
8120
ab260039
OB
8121 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8122
d1d9eaf4 81232013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 8124
d1d9eaf4
OB
8125 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8126 * rt/aio.h: Likewise.
8127 * sysdeps/gnu/bits/utmp.h: Likewise.
8128 * sysdeps/gnu/bits/utmpx.h: Likewise.
8129 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8130 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8131 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8132 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8133 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8134 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8135 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8136 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8137 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8138 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8139 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8140 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8141 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8143 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8144 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8145 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8146 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8147 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8148 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8149 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8150 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8151 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8152 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8153 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8155 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8156 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8157 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8158 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8159 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8160 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8161 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8162 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8163 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8164 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8165 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8166 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8167 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8168 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8169 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8170 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8171
a7624ed9
CD
81722013-11-25 Carlos O'Donell <carlos@redhat.com>
8173
8174 [BZ #16245]
8175 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8176 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8177
63cfe52b
JM
81782013-11-25 Joseph Myers <joseph@codesourcery.com>
8179
8180 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8181 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8182 Likewise.
8183
41e8926a
AZ
81842013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8185
8186 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8187 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8188 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8189 (__fesetround): Remove define.
8190 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8191 rounding and exceptions handling.
8192 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8193 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8194 (__fe_nomask_env): Likewise.
8195 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8196 __fegetround instead of fegetround.
8197 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8198 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8199
6851bd4d
RM
82002013-11-21 Roland McGrath <roland@hack.frob.com>
8201
070906ff
RM
8202 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8203 it's there.
8204
6851bd4d
RM
8205 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8206
84ae135d
MI
82072013-11-21 Meador Inge <meadori@codesourcery.com>
8208
8209 [BZ #11157]
8210 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8211 (encrypt_r): Likewise.
8212 * malloc/obstack.h (obstack_free): Likewise.
8213 * posix/unistd.h (encrypt): Likewise.
8214
daf75146
GM
82152013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8216
8217 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8218 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8219 DL_CALL_DT_FINI() that call the functions directly.
8220 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8221 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8222 * elf/dl-fini.c: Likewise.
8223
10ad46bc
OB
82242013-11-20 Ondřej Bílka <neleai@seznam.cz>
8225
8226 * malloc/hooks.c (memalign_check): Add alignment rounding.
8227 * malloc/malloc.c (_mid_memalign): New function.
8228 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8229 Implement by calling _mid_memalign.
8230 * manual/probes.texi (Memory Allocation Probes): Remove
8231 memory_valloc_retry and memory_pvalloc_retry.
8232
f3fd2628
SP
82332013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8234
4712799f
SP
8235 * locale/programs/locarchive.c (open_archive): Add const
8236 qualifier to ARCHIVEFNAME and copy default fname to
8237 DEFAULT_FNAME.
8238
0417b20f
SP
8239 [BZ #15601]
8240 * libio/tst-widetext.input: Rename Oriya to Odia.
8241 * locale/iso-639.def: Likewise.
8242
f3fd2628
SP
8243 * manual/probes.texi (Mathematical Function Probes): Add
8244 documentation for sin, cos, asin and acos probes.
8245 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8246 (__sin32): Add slowasin probe.
8247 (__cos32): Add slowacos probe.
8248 (__mpsin): Add slowsin probe.
8249 (__mpcos): Add slowcos probe.
8250
73c1ce4f
JM
82512013-11-19 Joseph Myers <joseph@codesourcery.com>
8252
8253 [BZ #15483]
8254 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8255 thread-local __sim_exceptions_thread and global
8256 __sim_exceptions_global.
8257 (__sim_disabled_exceptions): Change to thread-local
8258 __sim_disabled_exceptions_thread and global
8259 __sim_disabled_exceptions_global.
8260 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8261 and global __sim_round_mode_global.
8262 (__simulate_exceptions): Use thread-local floating-point state and
8263 set global state from it as needed.
8264 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8265 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8266 __sim_round_mode_thread.
8267 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8268 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8269 and global __sim_exceptions_global.
8270 (__sim_disabled_exceptions): Change to thread-local
8271 __sim_disabled_exceptions_thread and global
8272 __sim_disabled_exceptions_global.
8273 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8274 and global __sim_round_mode_global.
8275 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8276 (SIM_SET_GLOBAL): Likewise.
8277 * sysdeps/powerpc/soft-fp/sfp-machine.h
8278 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8279 __sim_round_mode_thread.
8280 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8281 __sim_disabled_exceptions_thread.
8282 (__sim_exceptions): Change to __sim_exceptions_thread.
8283 (__sim_disabled_exceptions): Change to
8284 __sim_disabled_exceptions_thread.
8285 (__sim_round_mode): Change to __sim_round_mode_thread.
8286 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8287 thread-local floating-point state and set global state from it as
8288 needed.
8289 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8290 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8291 (__sim_disabled_exceptions): Remove extern declaration.
8292 (feenableexcept): Use thread-local floating-point state and set
8293 global state from it as needed.
8294 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8295 extern declaration.
8296 (__sim_disabled_exceptions): Likewise.
8297 (__sim_round_mode): Likewise.
8298 (__fegetenv): Use thread-local floating-point state.
8299 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8300 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8301 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8302 floating-point state and set global state from it as needed.
8303 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8304 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8305 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8306 Likewise.
8307 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8308 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8309 Likewise.
8310 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8311 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8312 Use __sim_round_mode_thread.
8313 * math/test-fenv-tls.c: New file.
8314 * math/Makefile (tests): Add test-fenv-tls.
8315 ($(objpfx)test-fenv-tls): Depend on
8316 $(common-objpfx)nptl/libpthread.so.
8317
b5449b12
AS
83182013-11-19 Andreas Schwab <schwab@suse.de>
8319
8320 * locale/programs/locale.c (show_info): Decode wordarray elements.
8321 * locale/categories.def (LC_MONETARY): Add element for
8322 _NL_MONETARY_CRNCYSTR.
8323 * locale/C-monetary.c (conversion_rate): New variable.
8324 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8325 element.
8326
e186536b
CM
83272013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8328
8329 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8330 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8331
5c349950
PP
83322013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8333
8334 * elf/Makefile (tst-auxv): New test.
8335 * elf/tst-auxv.c: New
8336 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8337
699df45b
JM
83382013-11-18 Joseph Myers <joseph@codesourcery.com>
8339
8340 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8341 (hidden_proto): Caller changed.
8342 (hidden_tls_proto): New macro.
8343 (libc_hidden_tls_proto): Likewise.
8344 (rtld_hidden_tls_proto): Likewise.
8345 (libm_hidden_tls_proto): Likewise.
8346 (libresolv_hidden_tls_proto): Likewise.
8347 (librt_hidden_tls_proto): Likewise.
8348 (libdl_hidden_tls_proto): Likewise.
8349 (libnss_files_hidden_tls_proto): Likewise.
8350 (libnsl_hidden_tls_proto): Likewise.
8351 (libnss_nisplus_hidden_tls_proto): Likewise.
8352 (libutil_hidden_tls_proto): Likewise.
8353
b7589107
OB
83542013-11-18 Ondřej Bílka <neleai@seznam.cz>
8355
8356 [BZ #10253]
8357 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8358 (decompose_rpath): Defer expansion to fillin_rpath.
8359 (_dl_init_paths): Pass linkmap to fillin_rpath.
8360
250c23bd
RS
83612013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8362
8363 * benchtests/Makefile: Add strsep.
8364 * benchtests/bench-strsep.c: New file: strsep benchtest.
8365 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8366
a7931fcf
AS
83672013-11-18 Andreas Schwab <schwab@suse.de>
8368
8369 * locale/programs/locale.c (show_info) [case byte]: Check for
8370 '\377' instead of '\177'.
8371 * locale/C-monetary.c (not_available): Always use "\377".
8372 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8373 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8374 detect unavailable sign_posn locale elements.
8375 * locale/localeconv.c (__localeconv): For grouping and
8376 mon_grouping handle "\177" and "\377" like no grouping.
8377 (INT_ELEM): New macro. Use it to set all numeric members.
8378 * locale/programs/ld-monetary.c (monetary_read)
8379 <tok_mon_grouping>: Normalize single -1 to the empty string.
8380 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8381 Likewise.
8382
728dab0e
OB
83832013-11-07 Ondřej Bílka <neleai@seznam.cz>
8384
8385 [BZ #16055]
8386 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8387 when we match (nil).
8388 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8389
66294491
JM
83902013-11-16 Joseph Myers <joseph@codesourcery.com>
8391
ce665817
JM
8392 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8393 (NO_TEST_INLINE): Update value.
8394 (ERRNO_UNCHANGED): Likewise.
8395 (ERRNO_EDOM): Likewise.
8396 (ERRNO_ERANGE): Likewise.
8397 (IGNORE_RESULT): Likewise.
8398 (check_float_internal): Check signs of NaN results if
8399 TEST_NAN_SIGN used.
8400 (check_complex): Pass TEST_NAN_SIGN flag through to second
8401 check_float_internal call.
8402 (copysign_test_data): Add tests with quiet NaNs as second
8403 argument. Use TEST_NAN_SIGN.
8404 (fabs_test_data): Add test of negative quiet NaN argument. Use
8405 TEST_NAN_SIGN.
8406 (signbit_test_data): Add tests of quiet NaN argument.
8407 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8408
ee1466a9
JM
8409 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8410 $ignore_result.
8411 (parse_args): Handle function results specified as IGNORE.
8412 * math/libm-test.inc (IGNORE_RESULT): New macro.
8413 (check_float_internal): Do not check numerical result if flag
8414 IGNORE_RESULT set.
8415 (check_complex): Pass through IGNORE_RESULT to second
8416 check_float_internal call.
8417 (check_int): Do not check numerical result if flag IGNORE_RESULT
8418 set.
8419 (check_long): Likewise.
8420 (check_bool): Likewise.
8421 (check_longlong): Likewise.
8422 (lrint_test_data): Add tests of infinite and NaN arguments.
8423 (lrint_tonearest_test_data): Likewise.
8424 (lrint_towardzero_test_data): Likewise.
8425 (lrint_downward_test_data): Likewise.
8426 (lrint_upward_test_data): Likewise.
8427 (llrint_test_data): Likewise.
8428 (llrint_tonearest_test_data): Likewise.
8429 (llrint_towardzero_test_data): Likewise.
8430 (llrint_downward_test_data): Likewise.
8431 (llrint_upward_test_data): Likewise.
8432 (lround_test_data): Likewise.
8433 (llround_test_data): Likewise.
8434
14407b7e
JM
8435 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8436 (ERRNO_UNCHANGED): Update value.
8437 (ERRNO_EDOM): Likewise.
8438 (ERRNO_ERANGE): Likewise.
8439 (NO_TEST_INLINE_FLOAT): New macro.
8440 (NO_TEST_INLINE_DOUBLE): Likewise.
8441 (enable_test): New function.
8442 (RUN_TEST_f_f): Check enable_test before running test.
8443 (RUN_TEST_2_f): Likewise.
8444 (RUN_TEST_fff_f): Likewise.
8445 (RUN_TEST_c_f): Likewise.
8446 (RUN_TEST_f_f1): Likewise.
8447 (RUN_TEST_fF_f1): Likewise.
8448 (RUN_TEST_fI_f1): Likewise.
8449 (RUN_TEST_ffI_f1): Likewise.
8450 (RUN_TEST_c_c): Likewise.
8451 (RUN_TEST_cc_c): Likewise.
8452 (RUN_TEST_f_i): Likewise.
8453 (RUN_TEST_f_i_tg): Likewise.
8454 (RUN_TEST_ff_i_tg): Likewise.
8455 (RUN_TEST_f_b): Likewise.
8456 (RUN_TEST_f_b_tg): Likewise.
8457 (RUN_TEST_f_l): Likewise.
8458 (RUN_TEST_f_L): Likewise.
8459 (RUN_TEST_fFF_11): Likewise.
8460 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8461 conditionals.
8462 (cosh_test_data): Likewise.
8463 (exp_test_data): Likewise.
8464 (expm1_test_data): Likewise.
8465 (hypot_test_data): Likewise.
8466 (pow_test_data): Likewise.
8467 (sinh_test_data): Likewise.
8468 (tanh_test_data): Likewise.
8469 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8470 flags argument.
8471
ca07f197
JM
8472 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8473 tests with quiet NaN input and output.
8474 (acosh_test_data): Likewise.
8475 (asin_test_data): Likewise.
8476 (asinh_test_data): Likewise.
8477 (atan_test_data): Likewise.
8478 (atanh_test_data): Likewise.
8479 (atan2_test_data): Likewise.
8480 (cbrt_test_data): Likewise.
8481 (cos_test_data): Likewise.
8482 (cosh_test_data): Likewise.
8483 (erf_test_data): Likewise.
8484 (erfc_test_data): Likewise.
8485 (exp_test_data): Likewise.
8486 (exp10_test_data): Likewise.
8487 (exp2_test_data): Likewise.
8488 (expm1_test_data): Likewise.
8489 (hypot_test_data): Likewise.
8490 (j0_test_data): Likewise.
8491 (j1_test_data): Likewise.
8492 (jn_test_data): Likewise.
8493 (lgamma_test_data): Likewise.
8494 (log_test_data): Likewise.
8495 (log10_test_data): Likewise.
8496 (log1p_test_data): Likewise.
8497 (log2_test_data): Likewise.
8498 (pow_test_data): Likewise.
8499 (scalb_test_data): Likewise.
8500 (sin_test_data): Likewise.
8501 (sincos_test_data): Likewise.
8502 (sinh_test_data): Likewise.
8503 (tan_test_data): Likewise.
8504 (tanh_test_data): Likewise.
8505 (tgamma_test_data): Likewise.
8506 (y0_test_data): Likewise.
8507 (y1_test_data): Likewise.
8508 (yn_test_data): Likewise.
8509
66294491
JM
8510 [BZ #16167]
8511 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8512 argument being NaN and avoid computations with second argument in
8513 that case.
8514 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8515 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8516 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8517
1820b143
CL
85182013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8519
8520 * locale/iso-639.def: Add Chitwani Tharu (the).
8521
714bd261
AS
85222013-11-14 Andreas Schwab <schwab@suse.de>
8523
8524 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8525 word instead of empty string.
8526
7ab44563
AZ
85272013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8528
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8530 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8532 (__fe_nomask_env): Likewise.
8533
e8470ea2
SE
85342013-11-13 Steve Ellcey <sellcey@mips.com>
8535
8536 * benchtests/bench-timing.h: Include time.h.
8537
17c1d9f0
L
85382013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8539
8540 [BZ #15997]
8541 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8542 to 3.4.0 for x32.
8543 * sysdeps/unix/sysv/linux/configure: Regenerated.
8544
9310c284
JM
85452013-11-13 Joseph Myers <joseph@codesourcery.com>
8546
8547 [BZ #16151]
8548 * stdlib/strtod_l.c (round_and_return): Do not consider
8549 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8550 exponent one less than half the least subnormal exponent.
8551 * stdlib/test-strtod-round-data: Add more tests.
8552 * stdlib/tst-strtod-round.c (tests): Regenerated.
8553
7a2ad8cf
AZ
85542013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8555
8556 [BZ #14143]
8557 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8558 (__fe_mask_env): Likewise.
8559 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8560 libm_hidden_proto and add function prototype.
8561 (__fe_mask_env): Add function prototype.
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8563 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8565 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8567 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8568
50727aa7
MS
85692013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8570
b2f386c1 8571 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8572 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8573
a615be46
MS
85742013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8575
8576 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8577 of htab_find_slot().
8578
7ddace62
DM
85792013-11-11 David S. Miller <davem@davemloft.net>
8580
8581 [BZ #16150]
8582 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8583 symbol in the non-vis3 case in static builds.
8584 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8585 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8586 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8587 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8588
9182aa67
JK
85892013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8590
8591 [BZ #387]
8592 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8593 it is empty.
8594
450a2e2d
AZ
85952013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8596
b2f386c1
SP
8597 * benchtests/Makefile: Add bench-strtod.
8598 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8599
8ec3f656
AS
86002013-11-11 Andreas Schwab <schwab@suse.de>
8601
8602 [BZ #16153]
8603 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8604 terminating NUL in key length.
8605
76a9b998
AZ
86062013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8607
8608 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8609 Add artificial ODP entry for vDSO symbol for PPC64.
8610 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8611 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8612
e4368156
OB
86132013-11-07 Ondřej Bílka <neleai@seznam.cz>
8614
8615 [BZ #15374]
8616 * nss/getent.c (services_keys): Recognize services starting with digit.
8617
8d6bb57c
DM
86182013-11-06 David S. Miller <davem@davemloft.net>
8619
8620 [BZ #15985]
8621 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8622 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8623
e256c421
WN
86242013-11-06 Will Newton <will.newton@linaro.org>
8625
8626 * manual/memory.texi (Malloc Examples): Remove register
8627 keyword from examples.
8628
f6e12daa 86292013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8630
f6e12daa 8631 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8632
9d880655
AS
86332013-11-04 Joseph Myers <joseph@codesourcery.com>
8634
fd2f9486 8635 [BZ #6981]
9d880655
AS
8636 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8637 depending on [__GCC_IEC_559 > 0].
8638 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8639 depending on [__GCC_IEC_559_COMPLEX > 0].
8640
ae129d3c
CL
86412013-11-03 Chris Leonard <cjl@sugarlabs.org>
8642
8643 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8644 to iso-639.def.
8645
4a15c2a4 86462013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8647
8648 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8649
8b35e35d
OB
86502013-11-01 Ondřej Bílka <neleai@seznam.cz>
8651
8652 [BZ #16112]
8653 * malloc/malloc (malloc_info): Do not handle first bin as
8654 special case.
8655
1d70fd6c
CL
86562013-11-01 Chris Leonard <cjl@sugarlabs.org>
8657
8658 * locale/iso-639.def: Add Central Nahuatl (nhn).
8659
8c5c2600
BH
86602013-11-01 Bruno Haible <bruno@clisp.org>
8661
8662 [BZ #7003]
8663 * manual/math.texi (BSD Random): Specify range upper bound as
8664 in POSIX.
8665
da5579c2
CL
86662013-10-31 Chris Leonard <cjl@sugarlabs.org>
8667
8668 * locale/iso-639.def: Add Meadow Mari (mhr).
8669
5d30d853
OB
86702013-10-31 Ondřej Bílka <neleai@seznam.cz>
8671
8672 [BZ #14752], [BZ #15763]
8673 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8674 Validate name.
8675 * rt/tst_shm.c: Add test for escaping directory.
8676
a4966c61
AS
86772013-10-31 Andreas Schwab <schwab@suse.de>
8678
8a43e768 8679 [BZ #15917]
a4966c61
AS
8680 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8681 followed by 'x' as part of digit sequence.
8682 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8683
28d708c4
MAP
86842013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8685
8686 [BZ #16037]
8687 * configure.ac: allow GNU Make 4.0 and greater.
8688 * configure: Regenerated.
8689
a56ee40b
WN
86902013-10-30 Will Newton <will.newton@linaro.org>
8691
8692 [BZ #16038]
8693 * malloc/hooks.c (memalign_check): Limit alignment to the
8694 maximum representable power of two.
8695 * malloc/malloc.c (__libc_memalign): Likewise.
8696 * malloc/tst-memalign.c (do_test): Add test for very
8697 large alignment values.
8698 * malloc/tst-posix_memalign.c (do_test): Likewise.
8699
c6e4925d
OB
87002013-10-30 Ondřej Bílka <neleai@seznam.cz>
8701
8702 [BZ #11087]
8703 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8704 (munmap_chunk): Likewise.
8705 (mremap_chunk): Likewise.
8706
87072013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8708
8a43e768 8709 [BZ #15799]
bbea82f7
OB
8710 * stdlib/div.c (div): Remove obsolete code.
8711 * stdlib/ldiv.c (ldiv): Likewise.
8712 * stdlib/lldiv.c (lldiv): Likewise.
8713
977f4b31
SP
87142013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8715
8716 [BZ #16071]
8717 * nss/nss_files/files-XXX.c (get_contents_ret): New
8718 enumerator.
8719 (get_contents): New function.
8720 (internal_getent): Use it. Expand size of LINEBUFLEN.
8721
cb8a6dbd
MF
87222013-10-30 Mike Frysinger <vapier@gentoo.org>
8723
8724 * configure.in: Moved to ...
8725 * configure.ac: ... here. Change reference to configure.in
8726 to configure.ac.
8727 * sysdeps/arm/preconfigure.ac: ... here.
8728 configure.in to configure.ac.
8729 * sysdeps/gnu/configure.in: Moved to ...
8730 * sysdeps/gnu/configure.ac: ... here.
8731 * sysdeps/i386/configure.in: Moved to ...
8732 * sysdeps/i386/configure.ac: ... here.
8733 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8734 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8735 * sysdeps/mach/configure.in: Moved to ...
8736 * sysdeps/mach/configure.ac: ... here.
8737 * sysdeps/mach/hurd/configure.in: Moved to ...
8738 * sysdeps/mach/hurd/configure.ac: ... here.
8739 * sysdeps/powerpc/configure.in: Moved to ...
8740 * sysdeps/powerpc/configure.ac: ... here.
8741 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8742 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8743 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8744 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8745 * sysdeps/s390/s390-32/configure.in: Moved to ...
8746 * sysdeps/s390/s390-32/configure.ac: ... here.
8747 * sysdeps/s390/s390-64/configure.in: Moved to ...
8748 * sysdeps/s390/s390-64/configure.ac: ... here.
8749 * sysdeps/sh/configure.in: Moved to ...
8750 * sysdeps/sh/configure.ac: ... here.
8751 * sysdeps/sparc/configure.in: Moved to ...
8752 * sysdeps/sparc/configure.ac: ... here.
8753 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8754 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8755 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8756 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8757 * sysdeps/x86_64/configure.in: Moved to ...
8758 * sysdeps/x86_64/configure.ac: ... here.
8759 * sysdeps/x86_64/preconfigure.in: Moved to ...
8760 * sysdeps/x86_64/preconfigure.ac: ... here.
8761 * aclocal.m4: Change reference to configure.in to configure.ac.
8762 * config.h.in: Likewise.
8763 * manual/install.texi: Likewise.
8764 * manual/maint.texi: Likewise.
8765 * Makefile: Likewise.
8766 * malloc/Makefile: Likewise.
8767 * nscd/Makefile: Likewise.
8768 * Makeconfig: Change reference to configure.in and
8769 preconfigure.in to configure.ac and preconfigure.ac
8770 respectively.
8771 * INSTALL: Regenerated.
8772 * configure: Likewise.
8773 * sysdeps/gnu/configure: Likewise.
8774 * sysdeps/i386/configure: Likewise.
8775 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8776 * sysdeps/mach/configure: Likewise.
8777 * sysdeps/mach/hurd/configure: Likewise.
8778 * sysdeps/powerpc/configure: Likewise.
8779 * sysdeps/powerpc/powerpc32/configure: Likewise.
8780 * sysdeps/powerpc/powerpc64/configure: Likewise.
8781 * sysdeps/s390/s390-32/configure: Likewise.
8782 * sysdeps/s390/s390-64/configure: Likewise.
8783 * sysdeps/sh/configure: Likewise.
8784 * sysdeps/sparc/configure: Likewise.
8785 * sysdeps/unix/sysv/linux/configure: Likewise.
8786 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8787 * sysdeps/x86_64/configure: Likewise.
8788 * sysdeps/x86_64/preconfigure: Likewise.
8789
36a4953a
AS
87902013-10-29 Andreas Schwab <schwab@suse.de>
8791
8792 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8793
c79a1204
SP
87942013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8795
dfa1b402
SP
8796 * benchtests/pow-inputs: Add new inputs.
8797
54f73d9c
SP
8798 * benchtests/exp-inputs: Add new inputs.
8799
c79a1204
SP
8800 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8801 conditional check for return value.
8802 (__cos32): Likewise.
8803
67beb545 88042013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8805
8806 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8807 to provide a boost for large inputs with word alignment.
8808 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8809 implementation based on optimized PPC64 strcpy.
8810 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8811 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8812 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8813 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8814
151659f6
OB
88152013-10-25 Ondřej Bílka <neleai@seznam.cz>
8816
482a077e 8817 [BZ #2801]
151659f6
OB
8818 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8819
10b0f26b
OB
88202013-10-25 Ondřej Bílka <neleai@seznam.cz>
8821
8822 [BZ #14876]
8823 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8824 * time/tst-strptime.c (day_tests): Add testcase.
8825
ca42d35e
OB
88262013-10-25 Ondřej Bílka <neleai@seznam.cz>
8827
482a077e 8828 [BZ #14029]
ca42d35e
OB
8829 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8830
52e6d801
FB
88312013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8832
8833 [BZ #16074]
8834 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8835 MAP_FAILED on error.
8836
7cbcdb36
SP
88372013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8838
8839 [BZ #16072]
8840 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8841 heap for large requests.
8842
894f3f10
AM
88432013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8844
8845 [BZ #9954]
8846 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8847 result if the result has no associated interface.
8848 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8849 interface for all 127.X.Y.Z addresses.
8850
b85545a6
CL
88512013-10-24 Chris Leonard <cjl@sugarlabs.org>
8852
8853 * locale/iso-639.def: Add Ligurian (lij)
8854
d1f23d46
OB
88552013-10-21 Ondřej Bílka <neleai@seznam.cz>
8856
8857 [BZ #15825]
8858 * sunrpc/rpc_main.c: Document rpcgen -5.
8859
4db5b08f
MS
88602013-10-19 Michael Stahl <mstahl@redhat.com>
8861
8862 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8863
a471e96a
OB
88642013-10-19 Ondřej Bílka <neleai@seznam.cz>
8865
d1f23d46 8866 [BZ #10278]
a471e96a
OB
8867 * posix/glob.c: Match only directories when trailing slash is present.
8868 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8869 (main): Add testcase.
8870
45c30c61
OB
88712013-10-19 Ondřej Bílka <neleai@seznam.cz>
8872
8873 [BZ #15670]
8874 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8875
484c12fb
CD
88762013-10-18 Carlos O'Donell <carlos@redhat.com>
8877
3d7dc513
CD
8878 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8879 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8880 AUTH_DES and cindex for FIPS 140-2.
8881 (DES Encryption): Add cindex FIPS 46-3.
8882
484c12fb
CD
8883 * locale/locarchive.h (struct locarhandle): Add fname.
8884 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8885 if an optional argument was specified to --list-archive,
8886 otherwise NULL.
8887 * locale/programs/locarchive.c (show_archive_content): Take new
8888 argument fname and pass it via ah.fname to open_archive.
8889 * locale/programs/localedef.h: Update decl.
8890 (open_archive): If AH->fname is non-null, open that file
8891 rather than the default file name, and don't ignore ENOENT.
8892 (create_archive): Set AH.fname to NULL.
8893 (delete_locales_from_archive): Likewise.
8894 (add_locales_to_archive): Likewise.
8895 * locale/programs/locfile.c (write_all_categories): Likewise.
8896
3c8325fb
JM
88972013-10-18 Joseph Myers <joseph@codesourcery.com>
8898 Aldy Hernandez <aldyh@redhat.com>
8899
8900 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8901 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8902 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8903 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8904 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8905 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8906 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8907 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8908 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8909 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8910 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8911 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8912 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8913 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8914 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8915 Likewise.
8916 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8917 Likewise.
8918 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8919 Likewise.
8920 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8921 Likewise.
8922 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8923 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8924 Likewise.
8925 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8926 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8927 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8928 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8929 Likewise.
8930 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8931 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8932 * sysdeps/powerpc/preconfigure: Likewise.
8933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8934 Likewise.
8935 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8936 Replace contents of file by #include of <fenv_libc.h>.
8937 * sysdeps/powerpc/soft-fp/sfp-machine.h
8938 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8939 and <sys/prctl.h>.
8940 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8941 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8942 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8943 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8944 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8946 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8947 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8948 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8949 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8950 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8951 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8953 Allow copysignl PLT reference to be missing.
8954
5abe0682
RS
89552013-10-18 Richard Sandiford <richard@codesourcery.com>
8956 Joseph Myers <joseph@codesourcery.com
8957
8958 [BZ #15948]
8959 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8960 single character.
8961 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8962
c7738d08
SP
89632013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8964
8965 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8966 * elf/tst-tls1.c: Likewise.
8967 * elf/tst-tls10.h: Likewise.
8968 * elf/tst-tls14.c: Likewise.
8969 * elf/tst-tls2.c: Likewise.
8970 * elf/tst-tls3.c: Likewise.
8971 * elf/tst-tls4.c: Likewise.
8972 * elf/tst-tls5.c: Likewise.
8973 * elf/tst-tls6.c: Likewise.
8974 * elf/tst-tls7.c: Likewise.
8975 * elf/tst-tls8.c: Likewise.
8976 * elf/tst-tls9.c: Likewise.
8977 * elf/tst-tlsmod1.c: Likewise.
8978 * elf/tst-tlsmod13.c: Likewise.
8979 * elf/tst-tlsmod13a.c: Likewise.
8980 * elf/tst-tlsmod14a.c: Likewise.
8981 * elf/tst-tlsmod16a.c: Likewise.
8982 * elf/tst-tlsmod16b.c: Likewise.
8983 * elf/tst-tlsmod2.c: Likewise.
8984 * elf/tst-tlsmod3.c: Likewise.
8985 * elf/tst-tlsmod4.c: Likewise.
8986 * elf/tst-tlsmod5.c: Likewise.
8987 * elf/tst-tlsmod6.c: Likewise.
8988
0bfcf2c7
OB
89892013-10-18 Ondřej Bílka <neleai@seznam.cz>
8990
8991 [BZ #12486]
8992 * malloc/malloc.c: remove checks for statistics.
8993
264aad1e
OB
89942013-10-17 Ondřej Bílka <neleai@seznam.cz>
8995
8996 [BZ #15277]
8997 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8998 * inet/tst-network.c: Add testcase.
8999
b957ced8
AS
90002013-10-17 Andreas Schwab <schwab@suse.de>
9001
9002 [BZ #15218]
9003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9004 to determine canonical name.
9005
c5d5d574
OB
90062013-10-17 Ondřej Bílka <neleai@seznam.cz>
9007
9008 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9009 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9014 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9016 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9017 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9018 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9019 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9020 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9021 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9022 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9023 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9024 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9030 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9032 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9033 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9034 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9035 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9038 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9044 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9045 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9046 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9048 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9057 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9058 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9066
e5c2c2d0
JM
90672013-10-17 Joseph Myers <joseph@codesourcery.com>
9068
9069 [BZ #16041]
9070 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9071 make result into a quiet NaN.
9072
51ca9e29
JM
90732013-10-16 Joseph Myers <joseph@codesourcery.com>
9074
9075 * soft-fp/adddf3.c: Fix horizontal whitespace.
9076 * soft-fp/addsf3.c: Likewise.
9077 * soft-fp/addtf3.c: Likewise.
9078 * soft-fp/divdf3.c: Likewise.
9079 * soft-fp/divsf3.c: Likewise.
9080 * soft-fp/divtf3.c: Likewise.
9081 * soft-fp/double.h: Likewise.
9082 * soft-fp/eqdf2.c: Likewise.
9083 * soft-fp/eqsf2.c: Likewise.
9084 * soft-fp/eqtf2.c: Likewise.
9085 * soft-fp/extenddftf2.c: Likewise.
9086 * soft-fp/extended.h: Likewise.
9087 * soft-fp/extendsfdf2.c: Likewise.
9088 * soft-fp/extendsftf2.c: Likewise.
9089 * soft-fp/extendxftf2.c: Likewise.
9090 * soft-fp/fixdfdi.c: Likewise.
9091 * soft-fp/fixdfsi.c: Likewise.
9092 * soft-fp/fixdfti.c: Likewise.
9093 * soft-fp/fixsfdi.c: Likewise.
9094 * soft-fp/fixsfsi.c: Likewise.
9095 * soft-fp/fixsfti.c: Likewise.
9096 * soft-fp/fixtfdi.c: Likewise.
9097 * soft-fp/fixtfsi.c: Likewise.
9098 * soft-fp/fixtfti.c: Likewise.
9099 * soft-fp/fixunsdfdi.c: Likewise.
9100 * soft-fp/fixunsdfsi.c: Likewise.
9101 * soft-fp/fixunsdfti.c: Likewise.
9102 * soft-fp/fixunssfdi.c: Likewise.
9103 * soft-fp/fixunssfsi.c: Likewise.
9104 * soft-fp/fixunssfti.c: Likewise.
9105 * soft-fp/fixunstfdi.c: Likewise.
9106 * soft-fp/fixunstfsi.c: Likewise.
9107 * soft-fp/fixunstfti.c: Likewise.
9108 * soft-fp/floatdidf.c: Likewise.
9109 * soft-fp/floatdisf.c: Likewise.
9110 * soft-fp/floatditf.c: Likewise.
9111 * soft-fp/floatsidf.c: Likewise.
9112 * soft-fp/floatsisf.c: Likewise.
9113 * soft-fp/floatsitf.c: Likewise.
9114 * soft-fp/floattidf.c: Likewise.
9115 * soft-fp/floattisf.c: Likewise.
9116 * soft-fp/floattitf.c: Likewise.
9117 * soft-fp/floatundidf.c: Likewise.
9118 * soft-fp/floatundisf.c: Likewise.
9119 * soft-fp/floatunditf.c: Likewise.
9120 * soft-fp/floatunsidf.c: Likewise.
9121 * soft-fp/floatunsisf.c: Likewise.
9122 * soft-fp/floatunsitf.c: Likewise.
9123 * soft-fp/floatuntidf.c: Likewise.
9124 * soft-fp/floatuntisf.c: Likewise.
9125 * soft-fp/floatuntitf.c: Likewise.
9126 * soft-fp/fmadf4.c: Likewise.
9127 * soft-fp/fmasf4.c: Likewise.
9128 * soft-fp/fmatf4.c: Likewise.
9129 * soft-fp/gedf2.c: Likewise.
9130 * soft-fp/gesf2.c: Likewise.
9131 * soft-fp/getf2.c: Likewise.
9132 * soft-fp/ledf2.c: Likewise.
9133 * soft-fp/lesf2.c: Likewise.
9134 * soft-fp/letf2.c: Likewise.
9135 * soft-fp/muldf3.c: Likewise.
9136 * soft-fp/mulsf3.c: Likewise.
9137 * soft-fp/multf3.c: Likewise.
9138 * soft-fp/negdf2.c: Likewise.
9139 * soft-fp/negsf2.c: Likewise.
9140 * soft-fp/negtf2.c: Likewise.
9141 * soft-fp/op-1.h: Likewise.
9142 * soft-fp/op-2.h: Likewise.
9143 * soft-fp/op-4.h: Likewise.
9144 * soft-fp/op-8.h: Likewise.
9145 * soft-fp/op-common.h: Likewise.
9146 * soft-fp/quad.h: Likewise.
9147 * soft-fp/single.h: Likewise.
9148 * soft-fp/soft-fp.h: Likewise.
9149 * soft-fp/sqrtdf2.c: Likewise.
9150 * soft-fp/sqrtsf2.c: Likewise.
9151 * soft-fp/sqrttf2.c: Likewise.
9152 * soft-fp/subdf3.c: Likewise.
9153 * soft-fp/subsf3.c: Likewise.
9154 * soft-fp/subtf3.c: Likewise.
9155 * soft-fp/truncdfsf2.c: Likewise.
9156 * soft-fp/trunctfdf2.c: Likewise.
9157 * soft-fp/trunctfsf2.c: Likewise.
9158 * soft-fp/trunctfxf2.c: Likewise.
9159 * soft-fp/unorddf2.c: Likewise.
9160 * soft-fp/unordsf2.c: Likewise.
9161 * soft-fp/unordtf2.c: Likewise.
9162
9ebb0332
JM
91632013-10-15 Joseph Myers <joseph@codesourcery.com>
9164
9165 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9166 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9167
4b1a6d8b
OB
91682013-10-15 Ondřej Bílka <neleai@seznam.cz>
9169
9170 * elf/dl-libc.c: Clear initfini list after freeing.
9171
1e145589
JM
91722013-10-14 Joseph Myers <joseph@codesourcery.com>
9173
9174 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9175 * soft-fp/addsf3.c: Likewise.
9176 * soft-fp/addtf3.c: Likewise.
9177 * soft-fp/divdf3.c: Likewise.
9178 * soft-fp/divsf3.c: Likewise.
9179 * soft-fp/divtf3.c: Likewise.
9180 * soft-fp/double.h: Likewise.
9181 * soft-fp/eqdf2.c: Likewise.
9182 * soft-fp/eqsf2.c: Likewise.
9183 * soft-fp/eqtf2.c: Likewise.
9184 * soft-fp/extenddftf2.c: Likewise.
9185 * soft-fp/extended.h: Likewise.
9186 * soft-fp/extendsfdf2.c: Likewise.
9187 * soft-fp/extendsftf2.c: Likewise.
9188 * soft-fp/extendxftf2.c: Likewise.
9189 * soft-fp/fixdfdi.c: Likewise.
9190 * soft-fp/fixdfsi.c: Likewise.
9191 * soft-fp/fixdfti.c: Likewise.
9192 * soft-fp/fixsfdi.c: Likewise.
9193 * soft-fp/fixsfsi.c: Likewise.
9194 * soft-fp/fixsfti.c: Likewise.
9195 * soft-fp/fixtfdi.c: Likewise.
9196 * soft-fp/fixtfsi.c: Likewise.
9197 * soft-fp/fixtfti.c: Likewise.
9198 * soft-fp/fixunsdfdi.c: Likewise.
9199 * soft-fp/fixunsdfsi.c: Likewise.
9200 * soft-fp/fixunsdfti.c: Likewise.
9201 * soft-fp/fixunssfdi.c: Likewise.
9202 * soft-fp/fixunssfsi.c: Likewise.
9203 * soft-fp/fixunssfti.c: Likewise.
9204 * soft-fp/fixunstfdi.c: Likewise.
9205 * soft-fp/fixunstfsi.c: Likewise.
9206 * soft-fp/fixunstfti.c: Likewise.
9207 * soft-fp/floatdidf.c: Likewise.
9208 * soft-fp/floatdisf.c: Likewise.
9209 * soft-fp/floatditf.c: Likewise.
9210 * soft-fp/floatsidf.c: Likewise.
9211 * soft-fp/floatsisf.c: Likewise.
9212 * soft-fp/floatsitf.c: Likewise.
9213 * soft-fp/floattidf.c: Likewise.
9214 * soft-fp/floattisf.c: Likewise.
9215 * soft-fp/floattitf.c: Likewise.
9216 * soft-fp/floatundidf.c: Likewise.
9217 * soft-fp/floatundisf.c: Likewise.
9218 * soft-fp/floatunsidf.c: Likewise.
9219 * soft-fp/floatunsisf.c: Likewise.
9220 * soft-fp/floatuntidf.c: Likewise.
9221 * soft-fp/floatuntisf.c: Likewise.
9222 * soft-fp/floatuntitf.c: Likewise.
9223 * soft-fp/fmadf4.c: Likewise.
9224 * soft-fp/fmasf4.c: Likewise.
9225 * soft-fp/fmatf4.c: Likewise.
9226 * soft-fp/gedf2.c: Likewise.
9227 * soft-fp/gesf2.c: Likewise.
9228 * soft-fp/getf2.c: Likewise.
9229 * soft-fp/ledf2.c: Likewise.
9230 * soft-fp/lesf2.c: Likewise.
9231 * soft-fp/letf2.c: Likewise.
9232 * soft-fp/muldf3.c: Likewise.
9233 * soft-fp/mulsf3.c: Likewise.
9234 * soft-fp/multf3.c: Likewise.
9235 * soft-fp/negdf2.c: Likewise.
9236 * soft-fp/negsf2.c: Likewise.
9237 * soft-fp/negtf2.c: Likewise.
9238 * soft-fp/op-1.h: Likewise.
9239 * soft-fp/op-2.h: Likewise.
9240 * soft-fp/op-4.h: Likewise.
9241 * soft-fp/op-8.h: Likewise.
9242 * soft-fp/op-common.h: Likewise.
9243 * soft-fp/quad.h: Likewise.
9244 * soft-fp/single.h: Likewise.
9245 * soft-fp/soft-fp.h: Likewise.
9246 * soft-fp/sqrtdf2.c: Likewise.
9247 * soft-fp/sqrtsf2.c: Likewise.
9248 * soft-fp/sqrttf2.c: Likewise.
9249 * soft-fp/subdf3.c: Likewise.
9250 * soft-fp/subsf3.c: Likewise.
9251 * soft-fp/subtf3.c: Likewise.
9252 * soft-fp/truncdfsf2.c: Likewise.
9253 * soft-fp/trunctfdf2.c: Likewise.
9254 * soft-fp/trunctfsf2.c: Likewise.
9255 * soft-fp/trunctfxf2.c: Likewise.
9256 * soft-fp/unorddf2.c: Likewise.
9257 * soft-fp/unordsf2.c: Likewise.
9258 * soft-fp/unordtf2.c: Likewise.
9259
17c48a60
OB
92602013-10-14 Ondřej Bílka <neleai@seznam.cz>
9261
9262 [BZ #15672]
9263 * misc/error.c (error_tail): Fix possible buffer overflow.
9264
cabba934
OB
92652013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9266
9267 [BZ #13028]
9268 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9269 address.
9270
94bf958a
PM
92712013-10-14 P. J. McDermott <pj@pehjota.net>
9272
9273 [BZ #832]
9274 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9275 testing pipefail option.
9276
71b4dea7
JM
92772013-10-12 Joseph Myers <joseph@codesourcery.com>
9278
9279 * soft-fp/double.h: Indent preprocessor directives inside #if.
9280 * soft-fp/extended.h: Likewise.
9281 * soft-fp/op-2.h: Likewise.
9282 * soft-fp/op-4.h: Likewise.
9283 * soft-fp/op-common.h: Likewise.
9284 * soft-fp/quad.h: Likewise.
9285 * soft-fp/single.h: Likewise.
9286 * soft-fp/soft-fp.h: Likewise.
9287
55602758
YC
92882013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9289
9290 * iconv/iconv_prog.c: Fix typos.
9291 * stdio-common/psiginfo-data.h: Likewise.
9292
9cd83302
RT
92932013-10-12 Reuben Thomas <rrt@sc3d.org>
9294
9295 [BZ #15764]
9296 * locale/setlocale.c: Fix typo.
9297
99fd9f47
JM
92982013-10-12 Joseph Myers <joseph@codesourcery.com>
9299
b7ea74f0
JM
9300 [BZ #16036]
9301 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9302 signaling NaN arguments.
9303 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9304 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9305
8a509447
JM
9306 [BZ #14910]
9307 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9308 unordered operands.
9309 * soft-fp/gesf2.c (__gesf2): Likewise.
9310 * soft-fp/getf2.c (__getf2): Likewise.
9311 * soft-fp/ledf2.c (__ledf2): Likewise.
9312 * soft-fp/lesf2.c (__lesf2): Likewise.
9313 * soft-fp/letf2.c (__letf2): Likewise.
9314
98998e9f
JM
9315 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9316 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9317 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9318 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9319 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9320 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9321 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9322 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9323 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9324 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9325 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9326 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9327 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9328 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9329 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9330 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9331 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9332 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9333 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9334 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9335 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9336 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9337 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9338 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9339 * soft-fp/floattidf.c (__floattidf): Likewise.
9340 * soft-fp/floattisf.c (__floattisf): Likewise.
9341 * soft-fp/floattitf.c (__floattitf): Likewise.
9342 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9343 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9344 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9345 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9346 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9347 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9348 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9349 * soft-fp/gesf2.c (__gesf2): Likewise.
9350 * soft-fp/getf2.c (__getf2): Likewise.
9351 * soft-fp/ledf2.c (__ledf2): Likewise.
9352 * soft-fp/lesf2.c (__lesf2): Likewise.
9353 * soft-fp/letf2.c (__letf2): Likewise.
9354
8edc4a11
JM
9355 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9356 Undefine and redefine.
9357 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9358 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9359 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9360 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9361 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9362 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9363 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9364 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9365 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9366 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9367 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9368 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9369 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9370 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9371 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9372
8399acaf
JM
9373 [BZ #16032]
9374 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9375 without decrementing exponent if mantissa >= that for the
9376 denominator, not >.
9377 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9378 denominator, not >. Decrement exponent in < case instead of
9379 incrementing in >= case.
9380 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9381 without decrementing exponent if mantissa >= that for the
9382 denominator, not >.
9383
99fd9f47
JM
9384 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9385 computing saturated result for unsigned overflow.
9386
10e1cf6b
SP
93872013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9388 Jeff Law <law@redhat.com>
9389
9390 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9391 (atan2Mp): Add systemtap probe marker.
9392 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9393 (__ieee754_log): Add systemtap probe marker.
9394 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9395 (atanMp): Add systemtap probe marker.
9396 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9397 (tanMp): Add systemtap probe marker.
9398 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9399 (__slowexp): Add systemtap probe marker.
9400 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9401 (__slowpow): Add systemtap probe marker.
9402 * manual/probes.texi: Document probes.
9403
3d110c7c
EB
94042013-10-11 Eric Biggers <ebiggers3@gmail.com>
9405
9406 [BZ #15362]
9407 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9408 written.
9409 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9410 written.
9411 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9412 written to buffer but not flushed.
9413 * libio/iofwrite_u.c: Likewise.
9414 * libio/iopadn.c: Return bytes returned even if EOF was
9415 encountered.
9416 * libio/iowpadn.c: Likewise.
9417 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9418 if _IO_padn does not write the whole buffer.
9419 [!COMPILE_WPRINTF] (PAD): Likewise.
9420
75b4202a
DM
94212013-10-10 David S. Miller <davem@davemloft.net>
9422
9423 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9424 directory block.
9425
6c6352e6
JM
94262013-10-10 Joseph Myers <joseph@codesourcery.com>
9427
33b853c3
JM
9428 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9429 instead of FSF address.
9430 * soft-fp/fixdfti.c: Likewise.
9431 * soft-fp/fixsfti.c: Likewise.
9432 * soft-fp/fixtfti.c: Likewise.
9433 * soft-fp/fixunsdfti.c: Likewise.
9434 * soft-fp/fixunssfti.c: Likewise.
9435 * soft-fp/fixunstfti.c: Likewise.
9436 * soft-fp/floattidf.c: Likewise.
9437 * soft-fp/floattisf.c: Likewise.
9438 * soft-fp/floattitf.c: Likewise.
9439 * soft-fp/floatuntidf.c: Likewise.
9440 * soft-fp/floatuntisf.c: Likewise.
9441 * soft-fp/floatuntitf.c: Likewise.
9442 * soft-fp/trunctfxf2.c: Likewise.
9443
6c6352e6
JM
9444 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9445 * soft-fp/fixdfti.c: Likewise.
9446 * soft-fp/fixsfti.c: Likewise.
9447 * soft-fp/fixtfti.c: Likewise.
9448 * soft-fp/fixunsdfti.c: Likewise.
9449 * soft-fp/fixunssfti.c: Likewise.
9450 * soft-fp/fixunstfti.c: Likewise.
9451 * soft-fp/floattidf.c: Likewise.
9452 * soft-fp/floattisf.c: Likewise.
9453 * soft-fp/floattitf.c: Likewise.
9454 * soft-fp/floatuntidf.c: Likewise.
9455 * soft-fp/floatuntisf.c: Likewise.
9456 * soft-fp/floatuntitf.c: Likewise.
9457 * soft-fp/trunctfxf2.c: Likewise.
9458
3bf78b71
DM
94592013-10-10 David S. Miller <davem@davemloft.net>
9460
9461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9462
6f10289e
JM
94632013-10-10 Joseph Myers <joseph@codsourcery.com>
9464
bd878fc0
JM
9465 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9466 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9467 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9468 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9469 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9470 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9471 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9472
6f10289e
JM
9473 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9474 for NaNs before doing comparisons on argument.
9475 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9476 Likewise.
9477
321e2684
WN
94782013-10-10 Will Newton <will.newton@linaro.org>
9479
9480 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9481 passed to _int_memalign does not overflow.
9482
40fefba1
TR
94832013-10-10 Torvald Riegel <triegel@redhat.com>
9484
9485 * scripts/bench.pl: Add include-sources directive.
9486 * benchtests/README: Update documentation.
9487
2ae21ed2
JM
94882013-10-10 Joseph Myers <joseph@codesourcery.com>
9489
dcc2dd3f
JM
9490 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9491 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9492 instead of FP_INIT_ROUNDMODE.
9493 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9494 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9495
2ae21ed2
JM
9496 [BZ #16034]
9497 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9498 copy class of input value.
9499 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9500 not handle exceptions.
9501 * soft-fp/negsf2.c (__negsf2): Likewise.
9502 * soft-fp/negtf2.c (__negtf2): Likewise.
9503 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9504
cb8f9562
JM
95052013-10-09 Joseph Myers <joseph@codesourcery.com>
9506
9507 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9508 semicolon. From Linux kernel.
9509
5b60c59d
AB
95102013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9511
9512 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9513
b86835ca
YC
95142013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9515
9516 [BZ #156]
9517 * manual/socket.texi: Added statement about buffer
9518 for gethostbyname2_r.
9519
e7044ea7
OB
95202013-10-08 Ondřej Bílka <neleai@seznam.cz>
9521
9522 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9523 Use .p2align directive instead, throughout.
9524 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9525 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9526 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9527 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9528 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9529 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9530 * sysdeps/x86_64/strchr.S: Likewise.
9531 * sysdeps/x86_64/strrchr.S: Likewise.
9532
09544cbc
SP
95332013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9534
88576635
SP
9535 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9536
e7b2d1dd
SP
9537 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9538
09544cbc
SP
9539 * sysdeps/generic/math_private.h (__mpsin1): Remove
9540 declaration.
9541 (__mpcos1): Likewise.
9542 (__mpsin): New argument __range_reduce.
9543 (__mpcos): Likewise.
9544 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9545 (slow): Use __mpsin and __mpcos.
9546 (slow1): Likewise.
9547 (slow2): Likewise.
9548 (sloww): Likewise.
9549 (sloww1): Likewise.
9550 (sloww2): Likewise.
9551 (bsloww): Likewise.
9552 (bsloww1): Likewise.
9553 (bsloww2): Likewise.
9554 (cslow2): Likewise.
9555 (csloww): Likewise.
9556 (csloww1): Likewise.
9557 (csloww2): Likewise.
9558 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9559 range_reduce. Merge in __mpsin1.
9560 (__mpcos): Likewise.
9561 (__mpsin1): Remove.
9562 (__mpcos1): Likewise.
9563
7602d070
JM
95642013-10-07 Joseph Myers <joseph@codesourcery.com>
9565
9566 * locale/loadlocale.c (_nl_intern_locale_data): Use
9567 LOCFILE_ALIGNED_P.
9568 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9569 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9570 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9571 obstack data is appropriately aligned.
9572 (obstack_int32_grow_fast): Likewise.
9573 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9574 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9575 (add_locale_uint32_array): Likewise.
9576
a357259b
SP
95772013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9578
9579 * benchtests/Makefile: Remove ARGLIST and RET variables.
9580 ($(objpfx)bench-%.c): Pass only function name to the script.
9581 * benchtests/README: Update documentation.
9582 * benchtests/acos-inputs: Add new directives.
9583 * benchtests/acosh-inputs: Likewise.
9584 * benchtests/asin-inputs: Likewise.
9585 * benchtests/asinh-inputs: Likewise.
9586 * benchtests/atan-inputs: Likewise.
9587 * benchtests/atanh-inputs: Likewise.
9588 * benchtests/cos-inputs: Likewise.
9589 * benchtests/cosh-inputs: Likewise.
9590 * benchtests/exp-inputs: Likewise.
9591 * benchtests/log-inputs: Likewise.
9592 * benchtests/pow-inputs: Likewise.
9593 * benchtests/rint-inputs: Likewise.
9594 * benchtests/sin-inputs: Likewise.
9595 * benchtests/sinh-inputs: Likewise.
9596 * benchtests/tan-inputs: Likewise.
9597 * benchtests/tanh-inputs: Likewise.
9598 * scripts/bench.pl: Add support for new directives.
9599
9ec1b13d
AM
96002013-10-07 Alan Modra <amodra@gmail.com>
9601
9602 * README: Fix careless merge.
9603
8b7d57cd
AM
96042013-10-05 Alan Modra <amodra@gmail.com>
9605
9606 * NEWS: Mention powerpc64le support and bugs fixed.
9607 * README: Both big-endian and little-endian powerpc64 supported.
9608
7b7bab13
ST
96092013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9610
57f41c40
AS
9611 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9612 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
9613 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9614 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9615
d39baad1
RA
96162013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9617
9618 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9619 match prototype.
9620
cd78f7e7
JM
96212013-10-04 Joseph Myers <joseph@codesourcery.com>
9622
29d73d86
JM
9623 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9624 Move -mhard-float appending from
9625 ports/sysdeps/powerpc/powerpc32/Makefile.
9626 [$(with-fp) = yes] (ASFLAGS): Likewise.
9627 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9628 * sysdeps/powerpc/nofpu: Move directory from
9629 ports/sysdeps/powerpc/nofpu.
9630 * sysdeps/powerpc/soft-fp: Move directory from
9631 ports/sysdeps/powerpc/soft-fp.
9632 * sysdeps/powerpc/powerpc32/405: Move directory from
9633 ports/sysdeps/powerpc/powerpc32/405.
9634 * sysdeps/powerpc/powerpc32/440: Move directory from
9635 ports/sysdeps/powerpc/powerpc32/440.
9636 * sysdeps/powerpc/powerpc32/464: Move directory from
9637 ports/sysdeps/powerpc/powerpc32/464.
9638 * sysdeps/powerpc/powerpc32/476: Move directory from
9639 ports/sysdeps/powerpc/powerpc32/476.
9640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9641 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9643 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9645 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9647 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9649 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9650 * README: Update for powerpc-*-linux-gnu software floating point
9651 support in libc.
9652
e246b347
JM
9653 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9654 case to powerpc/powerpc32*.
9655 * sysdeps/unix/sysv/linux/configure: Regenerated.
9656
89c2003e
JM
9657 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9658 (_FPU_MASK_OM): Define as 0x04.
9659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9661 0x00c10080.
9662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9663 0x0000003c.
9664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9665
cd78f7e7
JM
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9667 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9668 getcontext_e500.
9669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9670 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9671 setcontext_e500.
9672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9673 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9674 and setcontext_e500.
9675
c755294d
CL
96762013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9677
9678 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9679
e16d221c
SP
96802013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9681
9682 * manual/threads.texi (Default Thread Attributes): Fix typo.
9683
215c7d43
WN
96842013-10-04 Will Newton <will.newton@linaro.org>
9685
9686 * malloc/Makefile: Add tst-memalign.
9687 * malloc/tst-memalign.c: New file.
9688
27d0461b
WN
9689 * malloc/tst-posix_memalign.c: Add comments.
9690 (do_test): Add comments and call free on all potentially
9691 allocated pointers. Add space after cast.
9692
1bc92709
WN
9693 * malloc/tst-pvalloc.c: Add comments.
9694 (do_test): Add comments and call free on all potentially
9695 allocated pointers. Remove duplicate check for NULL pointer.
9696 Add space after cast.
9697
66a9be9d
WN
9698 * malloc/tst-valloc.c: Add comments.
9699 (do_test): Add comments and call free on all potentially
9700 allocated pointers. Remove duplicate check for NULL pointer.
9701 Add space after cast.
9702
4cb81307
AM
97032013-10-04 Alan Modra <amodra@gmail.com>
9704
9705 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9706 Use stdint types in rather than __attribute__((mode())).
9707 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9708
f8e3e9f3
AM
97092013-10-04 Alan Modra <amodra@gmail.com>
9710
9711 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9712 Correct handling of unaligned relocs for little-endian.
9713 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9714
8f9ebb08
AM
97152013-10-04 Alan Modra <amodra@gmail.com>
9716
9717 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9718 * configure: Regenerate.
9719 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9720 * shlib-versions: Likewise.
9721
0edf96c2
AM
97222013-10-04 Alan Modra <amodra@gmail.com>
9723
9724 * string/tester.c (test_memrchr): Increment reported test cycle.
9725
e0f7a380
AM
97262013-10-04 Alan Modra <amodra@gmail.com>
9727
9728 * string/test-memcpy.c (do_one_test): When reporting errors, print
9729 string address and don't overrun end of string.
9730
466b0393
AM
97312013-10-04 Alan Modra <amodra@gmail.com>
9732
9733 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9734 insrdi. Make better use of reg selection to speed exit slightly.
9735 Schedule entry path a little better. Remove useless "are we done"
9736 checks on entry to main loop. Handle wrapping around zero address.
9737 Correct main loop count. Handle single left-over word from main
9738 loop inline rather than by using loop_small. Remove extra word
9739 case in loop_small caused by wrong loop count. Add little-endian
9740 support.
9741 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9742 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9743 cache hint.
9744 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9745 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9746 support. Avoid rlwimi.
9747 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9748
3be87c77
AM
97492013-10-04 Alan Modra <amodra@gmail.com>
9750
9751 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9752 insrdi. Formatting.
3be87c77
AM
9753 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9754 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9755 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9756 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9757 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9758 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9759
759cfef3
AM
97602013-10-04 Alan Modra <amodra@gmail.com>
9761
9762 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9763 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9764 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9765 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9766 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9767 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9768 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9769 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9770 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9771 use of regs. Use power7 mtocrf. Tidy function tails.
9772
fe6e95d7
AM
97732013-10-04 Alan Modra <amodra@gmail.com>
9774
9775 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9776 Formatting. Consistently use rXXX register defines or rN defines.
9777 Use early exit labels that avoid restoring unused non-volatile regs.
9778 Make cr field use more consistent with rWORDn compares. Rename
9779 regs used as shift registers for unaligned loop, using rN defines
9780 for short lifetime/multiple use regs.
9781 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9782 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9783 addi 1,1,64 to pop stack frame. Simplify return value code.
9784 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9785
664318c3
AM
97862013-10-04 Alan Modra <amodra@gmail.com>
9787
9788 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9789 support. Correct typos, formatting. Optimize tail. Use insrdi
9790 rather than rlwimi.
9791 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9792 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9793 little-endian support. Correct typos.
9794 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9795 rather than rlwimi.
9796 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9797 in loop and entry code to keep "and." results.
9798 (strchr): Add little-endian support. Comment. Move cntlzd
9799 earlier in tail.
9800 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9801
43b84013
AM
98022013-10-04 Alan Modra <amodra@gmail.com>
9803
9804 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9805 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9806 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9807 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9808
8a7413f9
AM
98092013-10-04 Alan Modra <amodra@gmail.com>
9810
9811 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9812 (rTMP): Define as r11.
9813 (strcmp): Add little-endian support. Optimise tail.
9814 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9815 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9816 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9817 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9818 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9820 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9821
33ee81de
AM
98222013-10-04 Alan Modra <amodra@gmail.com>
9823
9824 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9825 little-endian support. Remove unnecessary "are we done" tests.
9826 Handle "s" wrapping around zero and extremely large "size".
9827 Correct main loop count. Handle single left-over word from main
9828 loop inline rather than by using small_loop. Correct comments.
9829 Delete "zero" tail, use "end_max" instead.
9830 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9831
db9b4570
AM
98322013-10-04 Alan Modra <amodra@gmail.com>
9833
9834 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9835 support. Don't branch over align.
9836 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9837 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9838 support. Rearrange tmp reg use to suit. Comment.
9839 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9840
f7c399cf
AM
98412013-10-04 Alan Modra <amodra@gmail.com>
9842
9843 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9844
0b2c2ace
AM
98452013-10-04 Alan Modra <amodra@gmail.com>
9846
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9848 conditional form of branch and link when obtaining pc.
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9850
02f04a6c
AM
98512013-10-04 Alan Modra <amodra@gmail.com>
9852
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9854 HIWORD/LOWORD.
9855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9857
9b874b2f
AM
98582013-10-04 Alan Modra <amodra@gmail.com>
9859
9860 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9861 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9862 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9863 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9864 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9865 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9866 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9867 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9868 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9869 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9870
be1e5d31
AB
98712013-10-04 Anton Blanchard <anton@au1.ibm.com>
9872 Alistair Popple <alistair@ozlabs.au.ibm.com>
9873 Alan Modra <amodra@gmail.com>
9874
9875 [BZ #15723]
9876 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9877 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9878 _dl_hwcap access for little-endian.
9879 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9880 destroy vmx regs when saving unaligned.
9881 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9882 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9883 destroy vmx regs when saving unaligned.
9884
fef13a78
AM
98852013-10-04 Alan Modra <amodra@gmail.com>
9886
9887 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9888 Don't use a union to pack hi/low value.
9889
76a66d51
AB
98902013-10-04 Anton Blanchard <anton@au1.ibm.com>
9891
9892 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9893 for little-endian.
9894 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9895 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9896 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9897 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9898 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9899
6a31fe7f
AM
99002013-10-04 Alan Modra <amodra@gmail.com>
9901
9902 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9903 constants to usual value for .cst8 section, and remove redundant
9904 high address load.
9905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9906 constant for 0x1p52. Load little-endian words of double from
9907 correct stack offsets.
9908
7b88401f
AM
99092013-10-04 Alan Modra <amodra@gmail.com>
9910
9911 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9912 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9913 words of double from correct stack offsets.
9914 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9915 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9916 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9917 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9918 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9919 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9920 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9921 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9922 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9923 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9924 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9925 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9926 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9927 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9928 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9929 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9930 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9931
9c008155
AM
99322013-10-04 Alan Modra <amodra@gmail.com>
9933
9934 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9935 64-bit int/double union.
9936 (_FPU_SETCW): Likewise.
9937 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9938 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9939
da13146d
AM
99402013-10-04 Alan Modra <amodra@gmail.com>
9941
9942 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9943 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9944
603e8410
AM
99452013-10-04 Alan Modra <amodra@gmail.com>
9946
9947 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9948 use vector int constants.
9949 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9950
4a28b3ca
AB
99512013-10-04 Anton Blanchard <anton@au1.ibm.com>
9952
9953 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9954 array with long long.
9955 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9956 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9957 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9958 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9959 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9960 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9961 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9962 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9963 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9964 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9965 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9966 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9967 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9968
2ca85d2b
AB
99692013-10-04 Anton Blanchard <anton@au1.ibm.com>
9970
9971 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9972 (__signbit): Likewise. Correct for little-endian.
9973 (__signbitl): Call __signbit.
9974 (lrint): Correct for little-endian.
9975 (lrintf): Call lrint.
9976
62a728ae
AM
99772013-10-04 Alan Modra <amodra@gmail.com>
9978
9979 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9980 union 32-bit int array member with 64-bit int array.
9981 (t515, tm256): Double rather than long double.
9982 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9983
32c301df
AM
99842013-10-04 Alan Modra <amodra@gmail.com>
9985
9986 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9987 Delete.
9988 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9989 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9990 version of math_ldbl.h.
9991
650ef4bd
AM
99922013-10-04 Alan Modra <amodra@gmail.com>
9993
9994 [BZ #15734], [BZ #15735]
9995 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9996 all uses of ieee875 long double macros and unions. Simplify test
9997 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9998 ldbl_extract_mantissa value for ix,iy exponents. Properly
9999 normalize after ldbl_extract_mantissa, and don't add hidden bit
10000 already handled. Don't treat low word of ieee854 mantissa like
10001 low word of IBM long double and mask off bit when testing for
10002 zero.
10003 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10004 all uses of ieee875 long double macros and unions. Simplify tests
10005 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10006 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10007 two1022, instead use their values. Recognise that tests for large
10008 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10009 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10010 Rewrite all uses of ieee875 long double macros and unions. Simplify
10011 test for 0.0L and nan. Correct negation.
10012 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10013 ieee875 long double macros and unions. Correct output for large
10014 magnitude x. Correct absolute value calculation.
10015 (__erfcl): Likewise.
10016 * math/libm-test.inc: Add tests for errors discovered in IBM long
10017 double versions of fmodl, remainderl, erfl and erfcl.
10018
765714ca
AM
100192013-10-04 Alan Modra <amodra@gmail.com>
10020
10021 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10022 all uses of ieee854 long double macros and unions. Simplify tests
10023 for long doubles that are fully specified by the high double.
10024 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10025 Likewise.
10026 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10027 Remove dead code too.
10028 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10029 (__ieee754_ynl): Likewise.
10030 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10031 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10032 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10033 Remove dead code too.
10034 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10035 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10036 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10037 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10038 Simplify.
10039 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10040 Simplify.
10041 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10042 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10043 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10044 Comment on variable precision.
10045 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10046 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10047 Likewise.
10048 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10049 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10050 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10051 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10052 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10053
4ebd120c
AM
100542013-10-04 Alan Modra <amodra@gmail.com>
10055
10056 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10057 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10058 all uses of ieee854 long double macros and unions.
10059 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10060 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10061 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10062 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10063 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10064 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10065 Likewise.
10066 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10067 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10068 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10069 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10070 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10071 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10072 Simplify sign and nan test too.
10073 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10074 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10075 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10076 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10077 Likewise.
10078 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10079 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10080 Likewise.
10081 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10082 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10083 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10084 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10085 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10086 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10087
1b6adf88
AM
100882013-10-04 Alan Modra <amodra@gmail.com>
10089
10090 * stdio-common/printf_size.c (__printf_size): Don't use
10091 union ieee854_long_double in fpnum union.
10092 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10093 signbit macro to retrieve sign from long double.
10094 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10095 retrieve sign from long double.
10096 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10097 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10098 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10099 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10100 * math/test-misc.c (main): Don't use union ieee854_long_double.
10101
4cf69995
AM
101022013-10-04 Alan Modra <amodra@gmail.com>
10103
10104 [BZ #15680]
10105 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10106 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10107 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10108 calculation. Remove unnecessary test for denormal exponent.
10109 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10110 Correct handling of denormals. Avoid undefined shift behaviour.
10111 Correct normalisation of low mantissa when low double is denormal.
10112 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10113 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10114 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10115 Correct normalisation of low mantissa. Test for overflow of high
10116 mantissa and normalise.
10117 (ldbl_nearbyint): Use more readable constant for two52.
10118 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10119 (__mpn_construct_long_double): Fix test for overflow of high
10120 mantissa and correct normalisation. Avoid undefined shift.
10121
9605ca6c
AM
101222013-10-04 Alan Modra <amodra@gmail.com>
10123
10124 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10125 (union ibm_extended_long_double): Define as an array of ieee754_double.
10126 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10127 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10128 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10129 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10130 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10131 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10132 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10133 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10134 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10135 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10136 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10137
975569d0
JM
101382013-10-03 Joseph Myers <joseph@codesourcery.com>
10139
d3d23756
JM
10140 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10141 page size instead of calling getpagesize.
10142
975569d0
JM
10143 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10144 (LOCFILE_ALIGN_MASK): Likewise.
10145 (LOCFILE_ALIGN_UP): Likewise.
10146 (LOCFILE_ALIGNED_P): Likewise.
10147 * locale/programs/ld-collate.c (collate_output): Use the new
10148 macros instead of __alignof__ (int32_t).
10149 * locale/weight.h (findidx): Likewise.
10150
b1fe1f2b
OB
101512013-10-03 Ondřej Bílka <neleai@seznam.cz>
10152
10153 [BZ #431]
10154 * manual/string.texi: Fix strncat and wcsncat.
10155
5f855e35
BM
101562013-10-03 Brooks Moses <bmoses@google.com>
10157
10158 [BZ #15915]
10159 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10160 * Makerules: ...here, and adjust associated comments.
10161
3cef6009
WN
101622013-10-02 Will Newton <will.newton@linaro.org>
10163
10164 * malloc/Makefile: Add tst-pvalloc.
10165 * malloc/tst-pvalloc.c: New file.
10166
7815420b
WN
101672013-10-02 Will Newton <will.newton@linaro.org>
10168
10169 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10170 improve test coverage.
10171
4868b204
WN
101722013-10-02 Will Newton <will.newton@linaro.org>
10173
10174 * malloc/Makefile: Add tst-posix_memalign.
10175 * malloc/tst-posix_memalign.c: New file.
10176
29c793b3
EB
101772013-10-01 Eric Blake <eblake@redhat.com>
10178
10179 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10180 Use __THROWNL rather than __THROW on static functions.
10181
fd967522
PM
101822013-09-30 Petr Machata <pmachata@redhat.com>
10183
10184 * elf/elf.h (R_AARCH64_ABS16): New macro.
10185 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10186 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10187 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10188 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10189 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10190 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10191 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10192 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10193 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10194 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10195 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10196 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10197 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10198 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10199 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10200 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10201 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10202 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10203 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10204 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10205 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10206 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10207 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10208 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10209 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10210 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10211 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10212 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10213 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10214 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10215 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10216 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10217 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10218 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10219 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10220 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10221 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10222 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10223 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10224 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10225 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10226 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10227 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10228 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10229 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10230 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10231 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10232 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10233 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10234 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10235 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10236 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10237 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10238 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10239 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10240 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10241 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10242 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10243 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10244 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10245 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10246 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10247 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10248 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10249 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10250 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10251 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10252 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10253 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10254 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10255 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10256 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10257 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10258 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10259 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10260 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10261 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10262 (R_AARCH64_TLSDESC_LDR): Likewise.
10263 (R_AARCH64_TLSDESC_ADD): Likewise.
10264 (R_AARCH64_TLSDESC_CALL): Likewise.
10265
b2179107
AS
102662013-09-30 Andreas Schwab <schwab@suse.de>
10267
10268 [BZ #15048]
10269 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10270 the nss database lookup.
10271 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10273
47f28d0a
MF
102742013-09-28 Mike Frysinger <vapier@gentoo.org>
10275
10276 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10277
102782013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10279
10280 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10281 ${Bash-specific parameter/pattern/string} parameter expansion.
10282 * sysdeps/unix/make-syscalls.sh: Likewise.
10283
f4518a17
KK
102842013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10285
10286 * sysdeps/sh/stackguard-macros.h: New file.
10287
dc1a95c7
OB
102882013-09-26 Ondřej Bílka <neleai@seznam.cz>
10289
10290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10291 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10292 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10293 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10294 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10295 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10296
5ebbff8f
AZ
102972013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10298
10299 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10300 Fix thread ID register.
10301
4fd2cf9f
JM
103022013-09-25 Joseph Myers <joseph@codesourcery.com>
10303
10304 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10305 [POSIX || UNIX98]: Require rather than permitting all symbols from
10306 <time.h>.
10307 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10308 element of struct sched_param.
10309 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10310 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10311 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10312 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10313 constant.
10314
12c22bc4
OL
103152013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10316
10317 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10318 argument calculation.
10319
a03d8ea7
JM
103202013-09-24 Joseph Myers <joseph@codesourcery.com>
10321
10322 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10323 Expect macro.
10324 [POSIX] (pthread_attr_t): Do not require type.
10325 [POSIX] (pthread_cond_t): Likewise.
10326 [POSIX] (pthread_condattr_t): Likewise.
10327 [POSIX] (pthread_key_t): Likewise.
10328 [POSIX] (pthread_mutex_t): Likewise.
10329 [POSIX] (pthread_mutexattr_t): Likewise.
10330 [POSIX] (pthread_once_t): Likewise.
10331 [POSIX] (pthread_t): Likewise.
10332 [POSIX-based standards] (pthread_atfork): Expect function.
10333
6055173a
JM
103342013-09-24 Joseph Myers <joseph@codesourcery.com>
10335 Richard Sandiford <richard@codesourcery.com>
10336
10337 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10338 (swap_endianness_p): New extern variable.
10339 (set_big_endian): New inline function.
10340 (maybe_swap_uint32): Likewise.
10341 (maybe_swap_uint32_array): Likewise.
10342 (maybe_swap_uint32_obstack): Likewise.
10343 * locale/programs/locfile.c: Include <stdbool.h>.
10344 (swap_endianness_p): New variable.
10345 (add_locale_uint32): Call maybe_swap_uint32.
10346 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10347 (write_locale_data): Call maybe_swap_uint32_array.
10348 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10349 maybe_swap_uint32.
10350 (obstack_int32_grow_fast): Likewise.
10351 (output_weightwc): Call maybe_swap_uint32_obstack.
10352 (collate_output): Likewise.
10353 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10354 (OPT_LITTLE_ENDIAN): Likewise.
10355 (options): Add --little-endian and --big-endian options.
10356 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10357 * locale/programs/locarchive.c: Include "locfile.h".
10358 (GET): New macro.
10359 (SET): Likewise.
10360 (INC): Likewise.
10361 (create_archive): Use the new macros to access fields of
10362 structures directly mapped from or written to locale archives.
10363 (oldlocrecentcmp): Likewise.
10364 (enlarge_archive): Likewise.
10365 (insert_name): Likewise.
10366 (add_alias): Likewise.
10367 (add_locale): Likewise.
10368 (delete_locales_from_archive): Likewise.
10369 (show_archive_content): Likewise.
10370 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10371 locale data.
10372
39bf0bb4
RM
103732013-09-24 Roland McGrath <roland@hack.frob.com>
10374
10375 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10376 http://www.gnu.org/doc/freemanuals.texi.
10377 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10378
f02eed10
WN
103792013-09-24 Will Newton <will.newton@linaro.org>
10380
10381 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10382 macro.
10383
a3a6c312
JM
103842013-09-23 Joseph Myers <joseph@codesourcery.com>
10385
10386 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10387 unsigned char.
10388
107375ac
MR
103892013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10390
10391 * manual/threads.texi (POSIX Threads): Fix a typo.
10392
141f3a77
SP
103932013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10394
303e567a
SP
10395 [BZ #14547]
10396 * string/tst-strcoll-overflow.c: New test case.
10397 * string/Makefile (xtests): Add tst-strcoll-overflow.
10398 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10399 cache if string sizes may cause integer overflow.
10400
141f3a77
SP
10401 [BZ #14547]
10402 * string/strcoll_l.c (coll_seq): New members rule, idx,
10403 save_idx and back_us.
10404 (get_next_seq_nocache): New function.
10405 (do_compare_nocache): New function.
10406 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10407 when malloc fails.
10408
c61b4d41
CD
104092013-09-23 Carlos O'Donell <carlos@redhat.com>
10410
0b1f8e35
CD
10411 [BZ #15754]
10412 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10413 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10414 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10415
c61b4d41
CD
10416 [BZ #15754]
10417 * elf/Makefile (tests): Add tst-ptrguard1.
10418 (tests-static): Add tst-ptrguard1-static.
10419 (tst-ptrguard1-ARGS): Define.
10420 (tst-ptrguard1-static-ARGS): Define.
10421 * elf/tst-ptrguard1.c: New file.
10422 * elf/tst-ptrguard1-static.c: New file.
10423 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10424 * sysdeps/i386/stackguard-macros.h: Likewise.
10425 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10426 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10427 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10428 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10429 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10430 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10431
104322013-09-23 Hector Marco <hecmargi@upv.es>
10433 Ismael Ripoll <iripoll@disca.upv.es>
10434 Carlos O'Donell <carlos@redhat.com>
10435
10436 [BZ #15754]
10437 * sysdeps/generic/stackguard-macros.h: Define
10438 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10439 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10440 Define __pointer_chk_guard_local.
10441 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10442 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10443
f5f4e7b4
VV
104442013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10445
10446 [BZ #15859]
10447 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10448
5bb43a43
AS
104492013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10450
10451 * include/string.h (__ffs): Declare as hidden.
10452 * string/ffs.c (__ffs): Define as hidden.
10453 * sysdeps/i386/ffs.c (__ffs): Likewise.
10454 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10455 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10456 * sysdeps/s390/ffs.c (__ffs): Likewise.
10457 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10458
3ea5be54
AO
104592013-09-20 Alexandre Oliva <aoliva@redhat.com>
10460
ffb89e53
AO
10461 * NEWS: Mention malloc probes.
10462
322dea08
AO
10463 * malloc/arena.c (new_heap): New memory_heap_new probe.
10464 (grow_heap): New memory_heap_more probe.
10465 (shrink_heap): New memory_heap_less probe.
10466 (heap_trim): New memory_heap_free probe.
10467 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10468 (systrim): New memory_sbrk_less probe.
10469 * manual/probes.texi: Document them.
10470
655673f3
AO
10471 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10472 * manual/probes.texi: Document it.
10473
35fed6f1
AO
10474 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10475 (__libc_realloc): Add memory_realloc_retry probe.
10476 (__libc_memalign): Add memory_memalign_retry probe.
10477 (__libc_valloc): Add memory_valloc_retry probe.
10478 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10479 (__libc_calloc): Add memory_calloc_retry probe.
10480 * manual/probes.texi: Document them.
10481
6999d38c
AO
10482 * malloc/arena.c (get_free_list): Add probe
10483 memory_arena_reuse_free_list.
10484 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10485 and memory_arena_reuse.
10486 (arena_get2) [!PER_THREAD]: Likewise.
10487 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10488 memory_arena_reuse_realloc.
10489 * manual/probes.texi: Document them.
10490
0653427f
AO
10491 * malloc/malloc.c (__libc_free): Add
10492 memory_mallopt_free_dyn_thresholds probe.
10493 (__libc_mallopt): Add multiple memory_mallopt probes.
10494 * manual/probes.texi: Document them.
10495
3ea5be54
AO
10496 * malloc/malloc.c: Include stap-probe.h.
10497 (__libc_mallopt): Add memory_mallopt probe.
10498 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10499 * manual/probes.texi: New.
10500 * manual/Makefile (chapters): Add probes.
10501 * manual/threads.texi: Set next node.
10502
e35696c3 105032013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10504
e35696c3
CL
10505 [BZ #15963, #13985]
10506 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10507 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10508 Add `Chinese' to `nan' entry name.
10509
4aafb73c
SP
105102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10511
10512 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10513 (POLYNOMIAL): Likewise.
10514 (TAYLOR_SINCOS): Likewise.
10515 (TAYLOR_SLOW): Likewise.
10516 (__sin): Use TAYLOR_SINCOS.
10517 (__cos): Likewise.
10518 (slow): Use TAYLOR_SLOW.
10519 (sloww): Likewise.
10520 (bsloww): Likewise.
10521 (csloww): Likewise.
10522
d84f25c7
LD
105232013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10524
10525 * stdlib/strtod_l.c: Fix buffer overrun.
10526
5eea0404
SP
105272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10528
7849ff93
SP
10529 * benchtests/Makefile (bench): Add sincos.
10530 * benchtests/bench-sincos.c: New file.
10531
cfa3c886
SP
10532 * math/libm-test.inc (cos_test_data): New test inputs.
10533 (sin_test_data): Likewise.
10534
b348e1e3
SP
10535 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10536 macro.
10537 (__sin): Use it.
10538 (__cos): Likewise.
10539 (slow1): Likewise.
10540 (slow2): Likewise.
10541 (sloww1): Likewise.
10542 (sloww2): Likewise.
10543 (bsloww1): Likewise.
10544 (bsloww2): Likewise.
10545 (cslow2): Likewise.
10546 (csloww1): Likewise.
10547 (csloww2): Likewise.
10548
6cce25f8
SP
10549 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10550 function.
10551 (__sin): Use it.
10552 (__cos): Likewise.
10553
5eea0404
SP
10554 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10555 gotos.
10556 (__cos): Likewise.
10557
9c21573c
MR
105582013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10559
10560 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10561 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10562 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10563 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10564 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10565 * elf/cache.c (print_entry): Handle the new cache flags.
10566
24d22e65
JM
105672013-09-18 Joseph Myers <joseph@codesourcery.com>
10568 Aldy Hernandez <aldyh@redhat.com>
10569
10570 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10571 Change condition to [_SOFT_FLOAT].
10572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10583 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10584 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10585 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10586 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10587 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10588 declaration.
10589
d13ef066
JM
105902013-09-18 Joseph Myers <joseph@codesourcery.com>
10591
2e071de0
JM
10592 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10593 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10594 (__longjmp): Use LOAD_GP to load saved GPRs.
10595 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10596 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10597 (__sigsetjmp): Use SAVE_GP to save GPRs.
10598
d13ef066
JM
10599 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10600 Do not append -msoft-float.
10601 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10602
97a0650b
SP
106032013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10604
10605 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10606
11ca09e9
JM
106072013-09-17 Joseph Myers <joseph@codesourcery.com>
10608
10609 [BZ #15966]
10610 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10611 (_FPU_GETCW): Use initial "__" on variable and field names but not
10612 on macro parameter name.
10613 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10614 parentheses around reference to macro parameter.
10615
08ffcf34
RS
106162013-09-13 Richard Sandiford <richard@codesourcery.com>
10617
10618 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10619 prototype.
10620 (ctype_startup): Use uint32_t in cast and sizeof for
10621 ctype->charnames.
10622
ae7080d3
JL
106232013-09-11 Jia Liu <proljc@gmail.com>
10624
10625 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10626 __daddr_t_defined.
10627 [__FreeBSD__]: Likewise.
10628
5905e7b3
OB
106292013-09-11 Ondřej Bílka <neleai@seznam.cz>
10630
10631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10632 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10633 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10634 (strchr): Remove __strchr_sse42 ifunc selection.
10635 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10636 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10637
b987c776
WN
106382013-09-11 Will Newton <will.newton@linaro.org>
10639
10640 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10641 parameter to RES. Remove hardcoded 1000 value.
10642 * benchtests/bench-skeleton.c (main): Pass RES parameter
10643 to TIMING_INIT and multiply result by 1000.
10644
ddf985af
AZ
106452013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10646
10647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10648
ffdd3181
AS
106492013-09-11 Andreas Schwab <schwab@suse.de>
10650
10651 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10652 if not defined.
10653 (O_TMPFILE) [__USE_GNU]: Define.
10654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10655 Define.
10656
b73ed247
WN
106572013-09-11 Will Newton <will.newton@linaro.org>
10658
10659 [BZ #15857]
10660 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10661 does not overflow.
10662
55e17aad
WN
106632013-09-11 Will Newton <will.newton@linaro.org>
10664
10665 [BZ #15856]
10666 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10667 does not overflow.
10668
1159a193
WN
106692013-09-11 Will Newton <will.newton@linaro.org>
10670
10671 [BZ #15855]
10672 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10673 does not overflow.
10674
5905e7b3 106752013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10676
10677 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10678 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10679 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10681 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10682
cdfc721b
AM
106832013-09-10 Allan McRae <allan@archlinux.org>
10684
aa04af00
AM
10685 [BZ #15748]
10686 * manual/arith.texi (Parsing of Floats): Clarify
10687 cross-reference.
10688
cdfc721b
AM
10689 [BZ #15849]
10690 * manual/install.texi (Running make install): Mention
10691 --enable-pt-chown.
10692 * INSTALL: Regenerated.
10693
95e7cf29
MR
106942013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10695
10696 * csu/init-first.c (_init): Remove the !SHARED condition around
10697 FPU control word initialization.
10698 * elf/dl-support.c (_dl_fpu_control): New variable.
10699 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10700 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10701 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10702 * math/test-fpucw-static.c: New file.
10703 * math/test-fpucw-ieee.c: New file.
10704 * math/test-fpucw-ieee-static.c: New file.
10705 * math/Makefile (tests): Add `test-fpucw-ieee' and
10706 `$(tests-static)'.
10707 (tests-static): New variable.
10708 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10709 dependency to...
10710 [($(build-shared),yes)]
10711 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10712 ... this.
10713 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10714 New dependency.
10715
83e43bf0
AM
107162013-09-09 Allan McRae <allan@archlinux.org>
10717
a9f5ce09
AM
10718 [BZ #15939]
10719 * manual/string.texi (Collation Functions): Fix typo in
10720 strcoll example.
10721 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10722
34829bc2
AM
10723 [BZ #15893]
10724 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10725
3932737d
AM
10726 [BZ #15892]
10727 * libio/memstream.c (open_memstream): Fix memory leak.
10728 * libio/wmemstream.c (open_wmemstream): Likewise.
10729
83e43bf0
AM
10730 [BZ #15895]
10731 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10732
0c66b8e9
WN
107332013-09-09 Will Newton <will.newton@linaro.org>
10734
10735 * malloc/Makefile: Add tst-realloc to tests.
10736 * malloc/tst-realloc.c: New file.
10737
f6b00fd1
AM
107382013-09-09 Allan McRae <allan@archlinux.org>
10739
10740 [BZ #15844]
10741 * COPYING: Update from GNU website to fix FSF address.
10742 * COPYING.LIB: Likewise.
10743
eec55e16
DM
107442013-09-06 David S. Miller <davem@davemloft.net>
10745
10746 * po/zh_TW.po: Update Chinese (traditional) translation from
10747 translation project.
10748
1ecbb381
RS
107492013-09-06 Richard Sandiford <richard@codesourcery.com>
10750 Joseph Myers <joseph@codesourcery.com>
10751
10752 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10753 "localeinfo.h".
10754 (obstack_chunk_alloc): New macro.
10755 (obstack_chunk_free): Likewise.
10756 (record_offset): New function.
10757 (init_locale_data): Likewise.
10758 (align_locale_data): Likewise.
10759 (add_locale_empty): Likewise.
10760 (add_locale_raw_data): Likewise.
10761 (add_locale_raw_obstack): Likewise.
10762 (add_locale_string): Likewise.
10763 (add_locale_wstring): Likewise.
10764 (add_locale_uint32): Likewise.
10765 (add_locale_uint32_array): Likewise.
10766 (add_locale_char): Likewise.
10767 (start_locale_structure): Likewise.
10768 (end_locale_structure): Likewise.
10769 (start_locale_prelude): Likewise.
10770 (end_locale_prelude): Likewise.
10771 (write_locale_data): Take locale_file structure rather than an
10772 iovec.
10773 * locale/programs/locfile.h: Include "obstack.h".
10774 (struct locale_file): Change to store locale file contents instead
10775 of header.
10776 (init_locale_data): New prototype.
10777 (align_locale_data): Likewise.
10778 (add_locale_empty): Likewise.
10779 (add_locale_raw_data): Likewise.
10780 (add_locale_raw_obstack): Likewise.
10781 (add_locale_string): Likewise.
10782 (add_locale_wstring): Likewise.
10783 (add_locale_uint32): Likewise.
10784 (add_locale_uint32_array): Likewise.
10785 (add_locale_char): Likewise.
10786 (start_locale_structure): Likewise.
10787 (end_locale_structure): Likewise.
10788 (start_locale_prelude): Likewise.
10789 (end_locale_prelude): Likewise.
10790 (write_locale_data): Update prototype.
10791 * locale/programs/3level.h (struct TABLE): Remove result field.
10792 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10793 Use new locale_file interface.
10794 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10795 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10796 * locale/programs/ld-address.c (address_output): Use new
10797 locale_file interface.
10798 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10799 NO_ADD_LOCALE.
10800 (collate_finish): Don't call collseq_table_finalize.
10801 (collate_output): Use new locale_file interface.
10802 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10803 in file.
10804 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10805 (TABLE): Move defines earlier in file.
10806 (ELEMENT): Likewise.
10807 (DEFAULT): Likewise.
10808 (wctrans_table_add): Move macro and inline function earlier in
10809 file.
10810 (struct wctype_table): Move type earlier in file.
10811 (add_locale_wctype_table): New static prototype.
10812 (struct locale_ctype_t): Use logical types instead of struct iovec
10813 pointers for members.
10814 (ctype_output): Use new locale_file interface.
10815 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10816 new locale_file interface.
10817 (allocate_arrays): Update for use of new locale_file interface.
10818 * locale/programs/ld-identification.c (identification_output): Use
10819 new locale_file interface.
10820 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10821 * locale/programs/ld-messages.c (messages_output): Likewise.
10822 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10823 * locale/programs/ld-name.c (name_output): Likewise.
10824 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10825 * locale/programs/ld-paper.c (paper_output): Likewise.
10826 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10827 * locale/programs/ld-time.c (time_output): Likewise.
10828
e029e2e5
AZ
108292013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10830
10831 * benchtests/Makefile: Add memrchr benchmark.
10832 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10833 benchmark as memrchr.
10834 * benchtests/bench-memrchr-ifunc.c: New file.
10835 * benchtests/bench-memrchr.c: New file.
10836
bbf6e8e4
WN
108372013-09-06 Will Newton <will.newton@linaro.org>
10838
10839 * benchtests/Makefile (string-bench): Add memcpy.
10840
6c82a2f8
CD
108412013-09-05 Carlos O'Donell <carlos@redhat.com>
10842 Cong Wang <amwang@redhat.com>
10843
e732c5f0 10844 [BZ #15850]
6c82a2f8
CD
10845 * sysdeps/unix/sysv/linux/bits/in.h
10846 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10847 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10848 before __USE_KERNEL_IPV6_DEFS uses.
10849 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10850 IPPROTO_BEETPH.
10851 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10852 sockaddr_in6, or ipv6_mreq.
10853
5430fc65
AZ
108542013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10855
10856 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10857 memory access for final bytes in some large inputs.
10858 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10859
4660856c
AZ
108602013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10861
10862 * string/test-memrchr.c: New file.
10863 * string/test-memrchr-ifunc.c: New file.
10864 * string/Makefile: Add new memrchr testcase.
10865
bb8ea713
MF
108662013-09-05 Mike Frysinger <vapier@gentoo.org>
10867
10868 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10869 fanotify_init returns EPERM.
10870
b92a20b5
JM
108712013-09-04 Joseph Myers <joseph@codesourcery.com>
10872
10873 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10874 errors.
10875 (top level): Treat second token from macro or constant entries for
10876 allowed headers as allowed.
10877 * include/complex.h: Condition internal declarations on
10878 [!_ISOMAC].
10879 * include/fenv.h: Condition include of <stdbool.h> and internal
10880 declarations on [!_ISOMAC].
7447ccd9
CL
10881
108822013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10883
3e181dda 10884 [BZ #15923]
7447ccd9
CL
10885 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10886
3f2e46a4
JM
108872013-09-04 Joseph Myers <joseph@codesourcery.com>
10888
10889 * configure.in (--enable-versioning): Remove configure option.
10890 (libc_cv_asm_symver_directive): Remove configure test.
10891 (libc_cv_ld_version_script_option): Likewise.
10892 (VERSIONING): Remove variable and AC_SUBST.
10893 (DO_VERSIONING): Remove AC_DEFINE.
10894 * configure: Regenerated.
10895 * config.h.in (DO_VERSIONING): Remove macro.
10896 * Makerules [$(versioning) = yes]: Change conditionals to
10897 [$(build-shared) = yes].
10898 * config.make.in (versioning): Remove variable.
10899 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10900 [$(build-shared) = yes].
10901 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10902 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10903 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10904 [$(build-shared) = yes].
10905 * extra-lib.mk [$(versioning) = yes]: Likewise.
10906 * hurd/Makefile [$(versioning) = yes]: Likewise.
10907 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10908 [SHARED].
10909 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10910 [SHARED].
10911 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10912 [SHARED && !NO_HIDDEN].
10913 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10914 [SHARED].
10915 [SHARED && DO_VERSIONING]: Likewise..
10916 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10917 [$(build-shared) = yes].
10918 * manual/install.texi (--disable-versioning): Remove
10919 documentation.
10920 * INSTALL: Regenerated.
10921 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10922 to [SHARED].
10923 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10924 [$(build-shared) = yes].
10925 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10926 * sysdeps/i386/i686/multiarch/strstr-c.c
10927 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10928 [SHARED && !NO_HIDDEN].
10929 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10930 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10931 * sysdeps/powerpc/powerpc32/dl-machine.c
10932 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10933 * sysdeps/powerpc/powerpc32/sysdep.h
10934 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10935 to [SHARED && PIC && !NO_HIDDEN].
10936 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10937 conditional to [SHARED].
10938
44558701
WN
109392013-09-04 Will Newton <will.newton@linaro.org>
10940
10941 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10942 * benchtests/bench-string.h: Include bench-timing.h instead
10943 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10944 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10945 call to HP_TIMING_DIFF_INIT.
10946 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10947 instead of hp-timing.h macros.
10948 * benchtests/bench-memchr.c: Likewise.
10949 * benchtests/bench-memcmp.c: Likewise.
10950 * benchtests/bench-memcpy.c: Likewise.
10951 * benchtests/bench-memmem.c: Likewise.
10952 * benchtests/bench-memmove.c: Likewise.
10953 * benchtests/bench-memset.c: Likewise.
10954 * benchtests/bench-rawmemchr.c: Likewise.
10955 * benchtests/bench-strcasecmp.c: Likewise.
10956 * benchtests/bench-strcasestr.c: Likewise.
10957 * benchtests/bench-strcat.c: Likewise.
10958 * benchtests/bench-strchr.c: Likewise.
10959 * benchtests/bench-strcmp.c: Likewise.
10960 * benchtests/bench-strcpy.c: Likewise.
10961 * benchtests/bench-strcpy_chk.c: Likewise.
10962 * benchtests/bench-strlen.c: Likewise.
10963 * benchtests/bench-strncasecmp.c: Likewise.
10964 * benchtests/bench-strncat.c: Likewise.
10965 * benchtests/bench-strncmp.c: Likewise.
10966 * benchtests/bench-strncpy.c: Likewise.
10967 * benchtests/bench-strnlen.c: Likewise.
10968 * benchtests/bench-strpbrk.c: Likewise.
10969 * benchtests/bench-strrchr.c: Likewise.
10970 * benchtests/bench-strspn.c: Likewise.
10971 * benchtests/bench-strstr.c: Likewise.
10972
cae16d66
WN
109732013-09-04 Will Newton <will.newton@linaro.org>
10974
10975 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10976
ffa3cd7f
JM
109772013-09-03 Joseph Myers <joseph@codesourcery.com>
10978
10979 [BZ #15427]
10980 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10981 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10982 * math/libm-test.inc (lgamma_test_data): Add more tests.
10983 * sysdeps/i386/fpu/libm-test-ulps: Update.
10984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10985
8f02859f
OB
109862013-09-03 Ondřej Bílka <neleai@seznam.cz>
10987
10988 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10990 Add ifunc.
10991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10992 Add strcmp-sse2-unaligned
10993 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10994
18d43716
MF
109952013-09-02 Mike Frysinger <vapier@gentoo.org>
10996
10997 * Versions.def (libc): Add GLIBC_2.19.
10998
ac444012
MF
109992013-09-02 Mike Frysinger <vapier@gentoo.org>
11000
11001 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11002 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11003
b7835e32
JM
110042013-09-02 Joseph Myers <joseph@codesourcery.com>
11005
11006 [BZ #14155]
11007 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11008 intermediate calculations in recurrence.
11009 (__ieee754_ynf): Likewise.
11010 * math/libm-test.inc (jn_test_data): Do not allow spurious
11011 underflow exception. Add more tests.
11012 (yn_test_data): Add more tests.
11013 * sysdeps/i386/fpu/libm-test-ulps: Update.
11014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11015
8220f4f0
OB
110162013-09-02 Ondřej Bílka <neleai@seznam.cz>
11017
11018 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11019
f24a6d08
OB
110202013-08-30 Ondřej Bílka <neleai@seznam.cz>
11021
11022 * csu/init-first.c: Fix then/than typos.
11023 * locale/programs/ld-collate.c: Likewise.
11024 * locale/programs/linereader.h: Likewise.
11025 * manual/charset.texi: Likewise.
11026 * manual/filesys.texi: Likewise.
11027 * manual/stdio.texi: Likewise.
11028 * manual/string.texi: Likewise.
11029 * stdlib/fmtmsg.c: Likewise.
11030 * sysdeps/i386/stpncpy.S: Likewise.
11031 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11032 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11033 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11034 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11035
382466e0
OB
110362013-08-30 Ondřej Bílka <neleai@seznam.cz>
11037
11038 * elf/dl-open.c: Fix typos.
11039 * iconvdata/gbbig5.c: Likewise.
11040 * iconvdata/iso-2022-jp.c: Likewise.
11041 * iconv/gconv_int.h: Likewise.
11042 * iconv/loop.c: Likewise.
11043 * nis/rpcsvc/nis.h: Likewise.
11044 * resolv/ns_name.c: Likewise.
11045 * stdio-common/vfscanf.c: Likewise.
11046 * streams/stropts.h: Likewise.
11047 * sunrpc/rpc_thread.c: Likewise.
11048 * sysdeps/i386/strpbrk.S: Likewise.
11049 * sysdeps/ieee754/k_standard.c: Likewise.
11050 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11051 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11052 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11053 * sysdeps/mach/hurd/profil.c: Likewise.
11054 * sysdeps/s390/dl-procinfo.h: Likewise.
11055 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11056 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11057 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11058 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11059 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11060
0186c6e9
OB
110612013-08-30 Ondřej Bílka <neleai@seznam.cz>
11062
11063 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11064 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11065
d4e16af1
OB
110662013-08-29 Ondřej Bílka <neleai@seznam.cz>
11067
11068 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11069 aix specific files.
11070 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11071 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11072 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11073 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11074 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11075 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11076 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11077 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11078
88335980
TS
110792013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11080 Roland McGrath <roland@hack.frob.com>
11081
11082 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11083 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11084
ed479b02
ST
110852013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11086
11087 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11088 __executable_start symbol instead of _start.
11089
f1cc4c86
TS
110902013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11091
d821f07c
TS
11092 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11093 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11094 Move macros to...
11095 * sysdeps/gnu/ldsodefs.h: ... this new file.
11096
c54290cf
TS
11097 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11098 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11099 instead of ELFOSABI_LINUX.
11100
0007fc9b 11101 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
11102 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11103 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11104 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11105 Likewise.
11106 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11107 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11108 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11109 Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11111 (ibm_extended_long_double): Add ieee_nan member.
11112 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11113 (do_test): New function.
11114
f1cc4c86
TS
11115 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11116 TEST_TRUNC.
11117 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11118 functions, renamed from truncdfsf_test, trunctfsf_test,
11119 trunctfdf_test.
11120 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11121 functions.
11122 (do_test): Run all these.
11123
6f65e668
OB
111242013-08-29 Ondřej Bílka <neleai@seznam.cz>
11125
11126 * argp/argp-help.c: Fix typos.
11127 * argp/argp-parse.c: Likewise.
11128 * debug/backtracesyms.c: Likewise.
11129 * elf/elf.h: Likewise.
11130 * malloc/malloc.c: Likewise.
11131 * nis/nis_print.c: Likewise.
11132 * resolv/res_comp.c: Likewise.
11133 * stdlib/stdlib.h: Likewise.
11134 * sunrpc/clnt_tcp.c: Likewise.
11135 * sunrpc/clnt_udp.c: Likewise.
11136 * sunrpc/clnt_unix.c: Likewise.
11137 * sysdeps/unix/bsd/ptsname.c: Likewise.
11138 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11139 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
11140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11141 Likewise.
11142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11143 Likewise.
11144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11145 Likewise.
6f65e668
OB
11146 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11147
3a309239
SP
111482013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11149
11150 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11152
3b813b29
MF
111532013-08-27 Mike Frysinger <vapier@gentoo.org>
11154
11155 [BZ #15897]
11156 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11157 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11158 ($(objpfx)bug-dl-leaf): New rule.
11159 ($(objpfx)bug-dl-leaf.so): Likewise.
11160 ($(objpfx)bug-dl-leaf.out): Likewise.
11161 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11162 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11163 * dlfcn/bug-dl-leaf.c: New test.
11164 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11165 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11166 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11167 (dlclose): Likewise.
11168 (dlmopen): Likewise.
11169
8cc3269f
RM
111702013-08-27 Roland McGrath <roland@hack.frob.com>
11171
7f9d0034
RM
11172 * include/netdb.h [!_ISOMAC]:
11173 Don't include <tls.h>.
11174 (h_errno, __libc_h_errno): Move declaration and macros out of
11175 [_LIBC_REENTRANT].
11176
fb431262
RM
11177 * include/resolv.h [_RESOLV_H_]:
11178 Don't include <tls.h>.
11179 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11180 * resolv/res_libc.c: Don't include <tls.h>.
11181 (_res): Use __attribute__ ((nocommon)) in place of
11182 __attribute__ ((section (".bss"))).
11183
bd81123a
RM
11184 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11185 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11186
c4e42566
RM
11187 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11188
f890a59b
RM
11189 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11190 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11191
11192 * resolv/res_mkquery.c: Include <sys/time.h>.
11193
5d1f0a09
RM
11194 * inet/ifreq.c: Moved to ...
11195 * sysdeps/unix/ifreq.c: ... here.
11196 * inet/ifreq.c: New file, true stub version.
11197
6fcf28b3
RM
11198 * socket/sa_len.c: New file.
11199 * socket/Makefile (aux): Add it.
11200 * sysdeps/unix/sysv/linux/Makefile
11201 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11202 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11203 and #include <socket/sa_len.c>.
11204 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11205 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11206
e041fb8b
RM
11207 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11208 * bits/socket.h: ... here.
11209
8cc3269f
RM
11210 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11211 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11212 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11213
5d228a43
AS
112142013-08-27 Andreas Schwab <schwab@suse.de>
11215
45b8accc
AS
11216 [BZ #15736]
11217 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11218 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11219 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11220 * string/test-strcasecmp.c (test_main): Run tests in several
11221 locales.
11222 * string/test-strncasecmp.c (test_main): Likewise.
11223
5d228a43
AS
11224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11225 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11226 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11228 (__strncasecmp_ssse3) [PIC]: Likewise.
11229
59d112a4
RM
112302013-08-26 Roland McGrath <roland@hack.frob.com>
11231
53234cc3
RM
11232 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11233
59d112a4
RM
11234 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11235 instead of explicitly declaring xdecrypt.
11236 * nis/nss_nis/nis-publickey.c: Likewise.
11237
595aba70
SP
112382013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11239
11240 [BZ #15890]
11241 * nscd/aicache.c: Include res_hconf.h.
11242 (addhstaiX): Initialize res_hconf.
11243
ffabd393
AS
112442013-08-26 Andreas Schwab <schwab@suse.de>
11245
11246 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11247 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11248
e0a69f5c
SP
112492013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11250
11251 * nscd/aicache.c (addhstaiX): Fix indentation.
11252
8c12f01d
MF
112532013-08-25 Mike Frysinger <vapier@gentoo.org>
11254
11255 * configure.ac: Quote $build_pt_chown test.
11256 * configure: Regenerated.
11257
8fe89494
JM
112582013-08-23 Joseph Myers <joseph@codesourcery.com>
11259
11260 [BZ #15532]
11261 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11262 * math/s_cexpf.c (__cexpf): Likewise.
11263 * math/s_cexpl.c (__cexpl): Likewise.
11264 * math/libm-test.inc (cexp_test_data): Correct expected return
11265 value for NaN + i0. Add another test.
11266
75b181d6
DM
112672013-08-22 David S. Miller <davem@davemloft.net>
11268
11269 * po/ca.po: Update Catalan translation from translation project.
936241e4 11270 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11271
acd06bb1
JM
112722013-08-21 Joseph Myers <joseph@codesourcery.com>
11273
11274 [BZ #15797]
11275 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11276 is infinite, not alongside NaN test.
11277 * math/s_fdimf.c (__fdimf): Likewise.
11278 * math/s_fdiml.c (__fdiml): Likewise.
11279 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11280 errno is unchanged.
11281
c0c3f78a
OB
112822013-08-21 Ondřej Bílka <neleai@seznam.cz>
11283
11284 * argp/argp-help.c: Fix typos.
11285 * crypt/speeds.c: Likewise.
11286 * csu/check_fds.c: Likewise.
11287 * elf/dl-load.c: Likewise.
11288 * elf/dl-open.c: Likewise.
11289 * elf/reldep3.c: Likewise.
11290 * elf/reldep.c: Likewise.
11291 * elf/sprof.c: Likewise.
11292 * iconv/iconv_charmap.c: Likewise.
11293 * iconv/skeleton.c: Likewise.
11294 * iconv/strtab.c: Likewise.
11295 * io/lockf64.c: Likewise.
11296 * libio/libioP.h: Likewise.
11297 * resolv/gai_notify.c: Likewise.
11298 * resolv/ns_name.c: Likewise.
11299 * resolv/ns_samedomain.c: Likewise.
11300 * resolv/res_send.c: Likewise.
11301 * stdlib/random.c: Likewise.
11302 * sunrpc/rpc/xdr.h: Likewise.
11303 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11304 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11305 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11306 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11307 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11308 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11310 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11311 * sysdeps/mach/hurd/check_fds.c: Likewise.
11312 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11313 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11314 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11315 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11316 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11317 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11318 * sysdeps/pthread/aio_notify.c: Likewise.
11319 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11320 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11321 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11322 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11323 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11324
46ed1038
LD
113252013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11326
11327 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11328 version if bit_Slow_SSE4_2 is set.
11329 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11330 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11331
d400dcac
AZ
113322013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11333
11334 [BZ #15867]
11335 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11336 trampoline stack frame information.
11337 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11338 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11339 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11340 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11341 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11342 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11343 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11344 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11345 sa_flags value.
11346 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11347 interrupting a syscall and set with option SA_SIGINFO.
11348
42c8fdd8
JM
113492013-08-20 Joseph Myers <joseph@codesourcery.com>
11350
c980f2f4
JM
11351 [BZ #15531]
11352 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11353 argument is infinite.
11354 * math/s_cprojf.c (__cprojf): Likewise.
11355 * math/s_cprojl.c (__cprojl): Likewise.
11356 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11357 * math/libm-test.inc (cproj_test_data): Add more tests.
11358
0716c4fc
JM
11359 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11360
42c8fdd8
JM
11361 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11362 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11363 size. Use __ffs to determine corresponding shift.
11364
b31469d0
JM
113652013-08-20 Joseph Myers <joseph@codesourcery.com>
11366 Roland McGrath <roland@hack.frob.com>
11367
11368 * Makefile (INSTALL): Remove trailing blank lines from output of
11369 makeinfo.
11370
4e39af6e
AK
113712013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11372
11373 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11374 Align 32 bit compat elf_greg to 8 bytes.
11375
f315524e
AA
113762013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11377
11378 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11379
1326ba1a
SP
113802013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11381
11382 * string/strcoll_l.c (coll_seq): New structure.
11383 (get_next_seq_cached): New function.
11384 (get_next_seq): New function.
11385 (do_compare): New function.
11386 (STRCOLL): Use GNU style definition. Simplify implementation
11387 by using get_next_seq, get_next_seq_cached and do_compare.
11388
91ce4085
FW
113892013-08-16 Florian Weimer <fweimer@redhat.com>
11390
11391 [BZ #14699]
11392 CVE-2013-4237
11393 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11394 member.
11395 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11396 member.
11397 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11398 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11399 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11400 conditional.
11401 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11402 GETDENTS_64BIT_ALIGNED.
11403 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11404 * manual/filesys.texi (Reading/Closing Directory): Document
11405 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11406 strongly.
11407 * manual/conf.texi (Limits for Files): Add portability note to
11408 NAME_MAX, PATH_MAX.
11409 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11410
ca0a6bc4
AS
114112013-08-13 Andreas Schwab <schwab@suse.de>
11412
11413 [BZ #15749]
11414 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11415 of fabs.
11416 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11417 LDBL_MAX_EXP >= 16384]: Add tests for it.
11418
6c1fd795
DM
114192013-08-12 David S. Miller <davem@davemloft.net>
11420
11421 * version.h (RELEASE): Set to "development".
11422 (VERSION): Set to "2.18.90".
11423 * NEWS: Add 2.19 section.
11424
31ad488d
DM
114252013-08-03 David S. Miller <davem@davemloft.net>
11426
11427 * po/ko.po: Update Korean translation from translation project.
11428
db24e684
DM
114292013-08-01 David S. Miller <davem@davemloft.net>
11430
11431 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11432 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11433 Bilka.
11434
f723285b
DM
114352013-07-30 David S. Miller <davem@davemloft.net>
11436
11437 * po/fr.po: Update French translation from translation project.
11438
3cbc52db
DM
114392013-07-28 David S. Miller <davem@davemloft.net>
11440
30bbc0cc
DM
11441 * po/cs.po: Update Czech translation from translation project.
11442
3cbc52db
DM
11443 * po/sv.po: Update Swedish translation from translation project.
11444
d492e6d0
DM
114452013-07-27 David S. Miller <davem@davemloft.net>
11446
f1a7f492
DM
11447 * po/eo.po: Update Esperanto translation from translation project.
11448
90e62a4a
DM
11449 * po/vi.po: Update Vietnamese translation from translation project.
11450
d492e6d0
DM
11451 * po/de.po: Update German translation from translation project.
11452
d4baa62d
DM
114532013-07-26 David S. Miller <davem@davemloft.net>
11454
641aa7b4
DM
11455 * po/bg.po: Update Bulgarian translation from translation project.
11456
d4baa62d
DM
11457 * po/nl.po: Update Dutch translation from translation project.
11458 * po/pl.po: Update Polish translation from translation project.
11459 * po/ru.po: Update Russian translation from translation project.
11460
61a9dcb9
DM
114612013-07-24 David S. Miller <davem@davemloft.net>
11462
11463 * po/libc.pot: Update.
11464
7b1f8b58
AZ
114652013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11466
11467 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11468 variable page size.
11469 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11470 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11471 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11472
a8fc7a03
AK
114732013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11474
11475 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11476
e4608715
CD
114772013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11478 Andreas Schwab <schwab@suse.de>
11479 Roland McGrath <roland@hack.frob.com>
11480 Joseph Myers <joseph@codesourcery.com>
11481 Carlos O'Donell <carlos@redhat.com>
11482
11483 [BZ #15755]
11484 * config.h.in: Define HAVE_PT_CHOWN.
11485 * config.make.in (build-pt-chown): New variable.
11486 * configure.in (--enable-pt_chown): New configure option.
11487 * configure: Regenerate.
11488 * login/Makefile: Include Makeconfig. Build pt_chown only if
11489 build-pt-chown is enabled.
11490 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11491 pt_chown to fix pty ownership.
11492 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11493 CLOSE_ALL_FDS.
11494 * manual/install.texi (Configuring and compiling): Mention
11495 --enable-pt_chown. Add @findex for grantpt.
11496 * INSTALL: Regenerate.
11497
da2d62df
DM
114982013-07-20 David S. Miller <davem@davemloft.net>
11499
11500 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11501 difference between 32-bit and 64-bit.
11502
d7e06450
CD
115032013-07-15 Carlos O'Donell <carlos@redhat.com>
11504
11505 [BZ #15711]
11506 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11507 Avoid system header dependency with -ffreestanding.
11508 ($(objpfx)bits/syscall%d): Likewise.
11509
f959cfd7
DM
115102013-07-13 David S. Miller <davem@davemloft.net>
11511
11512 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11513 underflows from atanl/atan2l due to bug 15319.
11514 (casinh_test_data): Likewise.
11515
c61f8513
DM
115162013-07-07 David S. Miller <davem@davemloft.net>
11517
11518 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11519
72c90ed0
JA
115202013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11521
11522 * sysdeps/i386/fpu/libm-test-ulps: Update.
11523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11524
52dfbe13
SP
115252013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11526
11527 * configure.in (--enable-lock-elision): Fix message text.
11528 * INSTALL: Regenerate.
11529 * configure: Regenerate.
11530
3f169543
AZ
115312013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11532
11533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11534
521c6785
AJ
115352013-07-03 Andreas Jaeger <aj@suse.de>
11536
11537 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11538 define.
11539 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11540 (ptrace_peeksiginfo_args): Add.
11541 (__ptrace_peeksiginfo_flags): Add.
11542 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11543 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11544 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11545
d2cc15cb
AM
115462013-07-03 Allan McRae <allan@archlinux.org>
11547
11548 * sysdeps/i386/fpu/libm-test-ulps: Update.
11549
3aaeeca7
DM
115502013-07-02 David S. Miller <davem@davemloft.net>
11551
11552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11553
5314ed1a
MT
115542013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11555
11556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11557
67338156
JM
115582013-07-02 Joseph Myers <joseph@codesourcery.com>
11559
11560 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11562
1717da59
AK
115632013-07-02 Andi Kleen <ak@linux.intel.com>
11564
11565 * config.h.in (ENABLE_LOCK_ELISION): Add.
11566 * configure.in (--enable-lock-elision): Add option.
11567 * manual/install.texi: Document --enable lock elision.
11568 * configure: Regenerate
11569 * INSTALL: Regenerate.
11570
1c81621c
L
115712013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11572
11573 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11574 SSE4.2 strcasecmp for libc.a.
11575 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11576
77f01ab5
JM
115772013-07-02 Joseph Myers <joseph@codesourcery.com>
11578
11579 [BZ #13304]
11580 * soft-fp/op-common.h (_FP_FMA): New macro.
11581 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11582 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11583 (_FP_MUL_MEAT_1_imm): ... here.
11584 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11585 (_FP_MUL_MEAT_1_wide): ... here.
11586 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11587 (_FP_MUL_MEAT_1_hard): ... here.
11588 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11589 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11590 (_FP_MUL_MEAT_2_wide): ... here.
11591 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11592 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11593 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11594 (_FP_MUL_MEAT_2_gmp): ... here.
11595 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11596 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11597 (_FP_MUL_MEAT_4_wide): ... here.
11598 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11599 (_FP_MUL_MEAT_4_gmp): ... here.
11600 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11601 (_FP_WFRACBITS_DW_S): Likewise.
11602 (_FP_WFRACXBITS_DW_S): Likewise.
11603 (_FP_HIGHBIT_DW_S): Likewise.
11604 (FP_FMA_S): Likewise.
11605 (_FP_FRAC_HIGH_DW_S): Likewise.
11606 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11607 (_FP_WFRACBITS_DW_D): Likewise.
11608 (_FP_WFRACXBITS_DW_D): Likewise.
11609 (_FP_HIGHBIT_DW_D): Likewise.
11610 (FP_FMA_D): Likewise.
11611 (_FP_FRAC_HIGH_DW_D): Likewise.
11612 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11613 (_FP_WFRACBITS_DW_E): Likewise.
11614 (_FP_WFRACXBITS_DW_E): Likewise.
11615 (_FP_HIGHBIT_DW_E): Likewise.
11616 (FP_FMA_E): Likewise.
11617 (_FP_FRAC_HIGH_DW_E): Likewise.
11618 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11619 (_FP_WFRACBITS_DW_Q): Likewise.
11620 (_FP_WFRACXBITS_DW_Q): Likewise.
11621 (_FP_HIGHBIT_DW_Q): Likewise.
11622 (FP_FMA_Q): Likewise.
11623 (_FP_FRAC_HIGH_DW_Q): Likewise.
11624 * soft-fp/fmasf4.c: New file.
11625 * soft-fp/fmadf4.c: Likewise.
11626 * soft-fp/fmatf4.c: Likewise.
11627
6308fd9a
LD
116282013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11629
11630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11631 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11632 Silvermont.
11633 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11634 macro.
11635 (index_Slow_SSE4_2): Likewise.
11636 (index_Prefer_PMINUB_for_stringop): Likewise.
11637 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11638 bit_Slow_SSE4_2 is set.
11639 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11640 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11641
89cd9569
RA
116422013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11643
11644 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11645 rtld_global._dl_hwcap2.
11646 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11647 POWER8.
11648 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11649 POWER8 feature descriptions defined in _dl_hwcap2.
11650 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11651 string handling for POWER8 feature bits.
11652 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11653 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11654 _dl_powerpc_cap_flags.
11655 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11656 * sysdeps/powerpc/rtld-global-offsets.sym
11657 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11658 _dl_hwcap2 in the rtld_global_ro structure.
11659
1ae8bfe0
RA
116602013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11661
11662 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11663 hardware capabilities in support of AT_HWCAP2.
11664 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11665 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11666 GLRO(dl_hwcap2).
11667 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11668 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11669 explicitly the unknown a_type display mechanism is used.
11670 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11671 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11672 struct member.
11673 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11674 to macro prototype for AT_HWCAP2 support.
11675 * sysdeps/i386/dl-procinfo.h: Likewise.
11676 * sysdeps/s390/dl-procinfo.h: Likewise.
11677 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11678 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11679 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11680 return -1 for unknown a_type display fallback.
11681 * sysdeps/sparc/dl-procinfo.h: Likewise.
11682 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11683 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11684
8fbec010
JM
116852013-06-28 Joseph Myers <joseph@codesourcery.com>
11686
11687 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11688 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11689
0432680e
PY
116902013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11691
11692 [BZ #12492]
11693 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11694 mprotect making __stack_prot writable.
11695
ce61a2ad
NF
116962013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11697 Joseph Myers <joseph@codesourcery.com>
11698
11699 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11700 as being properly aligned.
11701
f91f1c0f
MR
117022013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11703
3d0f5d0c
MR
11704 * dlfcn/modstatic5.c: New file.
11705 * dlfcn/tststatic5.c: New file.
11706 * dlfcn/Makefile (tests): Add tststatic5.
11707 (tests-static): Likewise.
11708 (modules-names): Add modstatic5.
11709 (tststatic5-ENV): New variable.
11710 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11711
f91f1c0f
MR
11712 [BZ #15022]
11713 * elf/dl-support.c (_dl_main_map): New variable.
11714 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11715 (_dl_nns, _dl_load_adds): Set to 1.
11716 (_dl_initial_searchlist): Refer to _dl_main_map.
11717 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11718 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11719 call to _dl_get_origin.
11720 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11721 around call_map.
11722 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11723 * dlfcn/modstatic3.c: New file.
11724 * dlfcn/tststatic3.c: New file.
11725 * dlfcn/tststatic4.c: New file.
11726 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11727 (tests-static): Likewise.
11728 (modules-names): Add modstatic3.
11729 (tststatic3-ENV, tststatic4-ENV): New variables.
11730 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11731 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11732
cbe7d24b
JM
117332013-06-26 Joseph Myers <joseph@codesourcery.com>
11734
11735 * configure.in (CC): Require GCC version 4.4 or later.
11736 * configure: Regenerated.
11737 * manual/install.texi (Tools for Compilation): Update GCC version
11738 requirement.
11739 * INSTALL: Regenerated.
11740
11b8a0e1
LD
117412013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11742
11743 [BZ #15674]
bb5bb87c
L
11744 * string/test-memcmp.c (check2): New.
11745 (main): Call check2.
11746
11b8a0e1
LD
11747 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11748
b0037103
MR
117492013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11750
11751 [BZ #15022]
11752 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11753 over to...
11754 (dl_open_worker) [!SHARED]: ... here.
11755
c18c701d
RA
117562013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11757
11758 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11759
1d17fa5f
RH
117602013-06-25 Richard Henderson <rth@redhat.com>
11761
11762 * locale/programs/locarchive.c: Include <libc-internal.h>
11763
8fcb833a
JM
117642013-06-25 Joseph Myers <joseph@codesourcery.com>
11765
11766 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11767 trailing whitespace removed.
11768
17db6e8d
MF
117692013-06-24 Mike Frysinger <vapier@gentoo.org>
11770
11771 [BZ #10283]
17db6e8d
MF
11772 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11773 * locale/programs/locarchive.c: Include libc-mmap.h.
11774 (prepare_address_space): Take two new outputs (the mmap base and len).
11775 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11776 values.
11777 (create_archive): Declare new mmap base and len values for
11778 prepare_address_space, and store the result in ah.
11779 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11780 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11781 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11782 Declare new mmap base and len values for
11783 prepare_address_space, and store the result in new_ah.
11784 (open_archive): Declare new mmap base and len values for
11785 prepare_address_space, and store the result in ah.
11786 (close_archive): If ah->mmap_base is not NULL, use that and
11787 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11788 * sysdeps/generic/libc-mmap.h: New file.
11789
d605071e
MF
117902013-06-24 Mike Frysinger <vapier@gentoo.org>
11791
11792 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11793 (ALIGN_UP): Likewise.
11794 (PTR_ALIGN_DOWN): Likewise.
11795 (PTR_ALIGN_UP): Likewise.
11796
2f063a6e
RA
117972013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11798
11799 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11800 entry mapped to PPC_PLATFORM_POWER8.
11801 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11802 POWER8.
11803 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11804 (_dl_string_platform): Add case for exporting platform position for
11805 POWER8.
11806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11807 search path to sysdeps/powerpc/powerpc32/power8 directory.
11808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11809 search path to sysdeps/powerpc/powerpc64/power8 directory.
11810 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11811 power7 directories.
11812 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11813 power7 directories.
11814
a31ee4b3
SP
118152013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11816
a74ca98f
SP
11817 * INSTALL: Regenerate.
11818
a31ee4b3
SP
11819 * nscd/connections.c (nscd_init): Fix comment.
11820
695c378f
JM
118212013-06-22 Joseph Myers <joseph@codesourcery.com>
11822
d8412221
JM
11823 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11824
695c378f
JM
11825 [BZ #15667]
11826 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11827 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11828
d1d54715
MR
118292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11830
11831 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11832 DL_DST_REQ_STATIC.
11833 (DL_DST_REQ_STATIC): Remove macro.
11834
8fdda7af
JM
118352013-06-21 Joseph Myers <joseph@codesourcery.com>
11836
11837 [BZ #7006]
11838 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11839 with a shift of 0 bits.
11840
f3bc5e5a
MR
118412013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11842
11843 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11844 $(tststatic-ENV).
11845
be09e8c9
KK
118462013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11847
11848 [BZ #15655]
11849 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11850
85c2e611
AZ
118512013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11852
11853 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11854 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11855 accepts -fno-tree-loop-distribute-patterns.
11856 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11857 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11858 recursive call.
11859 * string/memset.c (memset): Likewise.
11860 * string/test-memmove.c (simple_memmove): Disable loop transformation
11861 to library calls.
11862 * string/test-memset.c (simple_memset): Likewise.
11863 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11864 * benchtests/bench-memset.c (simple_memset): Likewise.
11865 * configure: Regenerated.
11866
c91e0825
JM
118672013-06-20 Joseph Myers <joseph@codesourcery.com>
11868
b8c792af
JM
11869 * math/test-misc.c (main): Ignore fesetround failure when failures
11870 of subsequent rounding tests would be ignored.
11871
c91e0825
JM
11872 [BZ #15654]
11873 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11874 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11875 * math/fegetenv.c (__fegetenv): Return 0.
11876 * math/fegetexcept.c (fegetexcept): Return 0.
11877 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11878 FE_TONEAREST.
11879 * math/feholdexcpt.c (feholdexcept): Return 0.
11880 * math/fesetenv.c (__fesetenv): Return 0.
11881 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11882 argument FE_TONEAREST.
11883 * math/feupdateenv.c (__feupdateenv): Return 0.
11884 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11885
bfcacbde
RM
118862013-06-18 Roland McGrath <roland@hack.frob.com>
11887
11888 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11889 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11890 ($(objpfx)rtld-%.os rules): Use them.
11891
e55a9b25
AZ
118922013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11893
11894 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11895 fields.
11896
346d65b3
RM
118972013-06-17 Roland McGrath <roland@hack.frob.com>
11898
12086fb4
RM
11899 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11900 length of target pattern, then descending length of dependency pattern.
11901 * configure.in (AWK): Require gawk 3.1.2 or newer.
11902 * manual/install.texi (Tools for Compilation): Say that we do.
11903 * configure: Regenerated.
11904
346d65b3
RM
11905 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11906 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11907 * scripts/sysd-rules.awk: ... this new script.
11908 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11909 than a glob-style pattern.
11910
1a846317
JM
119112013-06-17 Joseph Myers <joseph@codesourcery.com>
11912
11913 * math/test-misc.c (main): Do not treat incorrectly rounded
11914 conversions as failure unless ROUNDING_TESTS passes.
11915
8fc75e6f
JM
119162013-06-15 Joseph Myers <joseph@codesourcery.com>
11917
3711a167
JM
11918 [BZ #15631]
11919 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11920 restore exception state around main square root computation, then
11921 check for inexactness explicitly.
11922
8fc75e6f
JM
11923 * math/libm-test.inc (fma_test_data): Add another test.
11924
61dd6208
SP
119252013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11926
adf23d2c
SP
11927 * manual/threads.texi (Non-POSIX Extensions): New document
11928 node. Document pthread_getattr_default_np and
11929 pthread_setattr_default_np.
11930
61dd6208
SP
11931 * Versions.def (libpthread): Add GLIBC_2.18.
11932 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11934 Likewise.
11935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11936 Likewise.
11937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11938 Likewise.
11939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11940 Likewise.
11941 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11942 Likewise.
11943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11944 Likewise.
11945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11946 Likewise.
11947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11948 Likewise.
11949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11950 Likewise.
11951
d086fc7b
LD
119522013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11953
11954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11955 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11956
747ef469
SP
119572013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11958 H.J. Lu <hjl.tools@gmail.com>
11959
11960 [BZ #15627]
11961 * sysdeps/x86_64/rtld-memset.c: Remove file.
11962 * sysdeps/x86_64/rtld-memset.S: New file.
11963
1b2feed2
JM
119642013-06-14 Joseph Myers <joseph@codesourcery.com>
11965
11966 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11967 (test_in_one_mode): Take arguments for whether the rounding mode
11968 is supported for each floating-point type.
11969 (do_test): Pass new arguments to test_in_one_mode using
11970 ROUNDING_TESTS.
11971
a58ad3f8
RM
119722013-06-13 Roland McGrath <roland@hack.frob.com>
11973
11974 * posix/tst-waitid.c (do_test): Distinguish different instances of
11975 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11976 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11977 before entering the kernel for waitpid.
11978
c204ab28
SP
119792013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11980
11981 * NEWS: Fix note on clock function precision. Text by Roland
11982 McGrath.
11983
f4a29fba
RM
119842013-06-13 Roland McGrath <roland@hack.frob.com>
11985
11986 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11987 it into place only when and if the sanity check passes.
11988
1f24b9ad
JM
119892013-06-13 Joseph Myers <joseph@codesourcery.com>
11990
11991 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11992 output for whether conversion result is exact. Take argument
11993 indicating whether type is IBM long double.
11994 (round_for_all): Change need_exact field to ibm_ld.
11995 * stdlib/tst-strtod-round.c (struct exactness): New type.
11996 (struct test): Change bool ld_ok field to struct exactness exact.
11997 (TEST): Update all definitions for change to field.
11998 (tests): Regenerate array contents.
11999 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12000 field value. Check for IBM long double here.
12001 (do_test): Update calls to test_in_one_mode.
12002
58206c68
SP
120032013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12004
12005 [BZ #12515]
12006 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12007 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12008
2d6f4c5b 120092013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
12010
12011 [BZ #15605]
12012 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12013 generated by the compiler on loop optimizations.
12014 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12015 general definitions.
12016
94f2c076
JM
120172013-06-12 Joseph Myers <joseph@codesourcery.com>
12018
12019 * math/bug-nextafter.c: Include <math-tests.h>.
12020 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12021 the relevant type.
12022 * math/bug-nexttoward.c: Include <math-tests.h>.
12023 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12024 the relevant type.
12025 * math/test-misc.c: Include <math-tests.h>.
12026 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12027 the relevant type.
12028
e0e50a0a
AJ
120292013-06-12 Andreas Jaeger <aj@suse.de>
12030
12031 * po/ia.po: Update Interlingua translation from translation
12032 project.
12033
25061094
SP
120342013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12035
12036 * include/fenv.h: Include stdbool.h.
12037 (struct rm_ctx): New structure.
12038 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12039 Define macro.
12040 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12041 (SET_RESTORE_ROUNDF): Likewise.
12042 (SET_RESTORE_ROUNDL): Likewise.
12043 (SET_RESTORE_ROUND_NOEX): Likewise.
12044 (SET_RESTORE_ROUND_NOEXF): Likewise.
12045 (SET_RESTORE_ROUND_NOEXL): Likewise.
12046 (SET_RESTORE_ROUND_53BIT): Likewise.
12047 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12048 (libc_feresetround_noexf_ctx): Likewise.
12049 (libc_feresetround_noexl_ctx): Likewise.
12050 (libc_feholdsetround_53bit_ctx): Likewise.
12051 (libc_feresetround_53bit_ctx): Likewise.
12052 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12053 (libc_feholdexcept_setround_sse_ctx): New function.
12054 (libc_fesetenv_sse_ctx): Likewise.
12055 (libc_feupdateenv_sse_ctx): Likewise.
12056 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12057 (libc_feholdexcept_setround_387_ctx): Likewise.
12058 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12059 (libc_feholdsetround_387_prec_ctx): Likewise.
12060 (libc_feholdsetround_387_ctx): Likewise.
12061 (libc_feholdsetround_387_53bit_ctx): Likewise.
12062 (libc_feholdsetround_sse_ctx): Likewise.
12063 (libc_feresetround_sse_ctx): Likewise.
12064 (libc_feresetround_387_ctx): Likewise.
12065 (libc_feupdateenv_387_ctx): Likewise.
12066 (libc_feholdexcept_setroundf_ctx): Define macro.
12067 (libc_fesetenvf_ctx): Likewise.
12068 (libc_feupdateenvf_ctx): Likewise.
12069 (libc_feholdsetroundf_ctx): Likewise.
12070 (libc_feresetroundf_ctx): Likewise.
12071 (libc_feholdexcept_setround_ctx): Likewise.
12072 (libc_fesetenv_ctx): Likewise.
12073 (libc_feupdateenv_ctx): Likewise.
12074 (libc_feholdsetround_ctx): Likewise.
12075 (libc_feresetround_ctx): Likewise.
12076 (libc_feholdexcept_setroundl_ctx): Likewise.
12077 (libc_feupdateenvl_ctx): Likewise.
12078 (libc_feholdsetroundl_ctx): Likewise.
12079 (libc_feresetroundl_ctx): Likewise.
12080 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12081 (libc_feresetround_53bit_ctx): Likewise.
12082
59b30555
SP
120832013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12084
12085 * locale/iso-639.def: Convert to UTF-8.
12086
f1d73d30
JM
120872013-06-11 Joseph Myers <joseph@codesourcery.com>
12088
12089 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12090 (EXCEPTION_TESTS_double): Likewise.
12091 (EXCEPTION_TESTS_long_double): Likewise.
12092 (EXCEPTION_TESTS): Likewise.
12093 * math/libm-test.inc (test_exceptions): Only test exceptions if
12094 EXCEPTION_TESTS (FLOAT).
12095
94aca5e7
SP
120962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12097
12098 * benchtests/Makefile (string-bench): Add strcpy_chk and
12099 stpcpy_chk.
12100 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12101 * benchtests/bench-stpcpy_chk.c: New file.
12102 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12103 * benchtests/bench-strcpy_chk.c: New file.
12104 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12105 code.
12106 (do_test): Likewise.
12107
fac0c5f2
RA
121082013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12109
12110 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12111 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12112 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12113 with tabs where appropriate.
12114 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12115 dl-procinfo.h.
12116 [PPC_PLATFORM_PPC440]: Likewise.
12117 [PPC_PLATFORM_PPC464]: Likewise.
12118 [PPC_PLATFORM_PPC476]: Likewise.
12119 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12120 ppc464, and ppc476 platform strings merging from ports/
12121 dl-procinfo.h.
12122
f22bc486
AS
121232013-06-11 Andreas Schwab <schwab@suse.de>
12124
12125 [BZ #14991]
12126 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12127 (from_ucs4_idx): Regenerate.
12128 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12129 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12130 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12131 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12132 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12133 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12134 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12135 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12136 from FROM_LOOP and TO_LOOP specific macros.
12137 (BODY): Handle combining characters.
12138 * iconvdata/BIG5HKSCS.irreversible: Update.
12139 * iconvdata/BIG5HKSCS.precomposed: New file.
12140 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12141 characters.
12142 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12143
c1f75dc3
SP
121442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12145
4eacded2
SP
12146 * include/sys/time.h: Fix indentation and add copyright header.
12147
fec799f8
SP
12148 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12149 (do_test): Likewise.
12150 * string/test-memchr.c (do_one_test): Likewise.
12151 (do_test): Likewise.
12152 * string/test-memcmp.c (do_one_test): Likewise.
12153 (do_test): Likewise.
12154 * string/test-memcpy.c (do_one_test): Likewise.
12155 (do_test): Likewise.
12156 * string/test-memmem.c (do_one_test): Likewise.
12157 (do_test): Likewise.
12158 (do_random_tests): Likewise.
12159 * string/test-memmove.c (do_one_test): Likewise.
12160 (do_test): Likewise.
12161 * string/test-memset.c (do_one_test): Likewise.
12162 (do_test): Likewise.
12163 * string/test-rawmemchr.c (do_one_test): Likewise.
12164 (do_test): Likewise.
12165 * string/test-strcasecmp.c (do_one_test): Likewise.
12166 (do_test): Likewise.
12167 * string/test-strcasestr.c (do_one_test): Likewise.
12168 (do_test): Likewise.
12169 * string/test-strcat.c (do_one_test): Likewise.
12170 (do_test): Likewise.
12171 * string/test-strchr.c (do_one_test): Likewise.
12172 (do_test): Likewise.
12173 * string/test-strcmp.c (do_one_test): Likewise.
12174 (do_test): Likewise.
12175 * string/test-strcpy.c (do_one_test): Likewise.
12176 (do_test): Likewise.
12177 * string/test-string.h: Likewise.
12178 (test_init): Likewise.
12179 * string/test-strlen.c (do_one_test): Likewise.
12180 (do_test): Likewise.
12181 * string/test-strncasecmp.c (do_one_test): Likewise.
12182 (do_test): Likewise.
12183 * string/test-strncat.c (do_one_test): Likewise.
12184 (do_test): Likewise.
12185 * string/test-strncmp.c (do_one_test): Likewise.
12186 (do_test_limit): Likewise.
12187 (do_test): Likewise.
12188 * string/test-strncpy.c (do_one_test): Likewise.
12189 (do_test): Likewise.
12190 * string/test-strnlen.c (do_one_test): Likewise.
12191 (do_test): Likewise.
12192 * string/test-strpbrk.c (do_one_test): Likewise.
12193 (do_test): Likewise.
12194 * string/test-strrchr.c (do_one_test): Likewise.
12195 (do_test): Likewise.
12196 * string/test-strspn.c (do_one_test): Likewise.
12197 (do_test): Likewise.
12198 * string/test-strstr.c (do_one_test): Likewise.
12199 (do_test): Likewise.
12200
97020474
SP
12201 * benchtests/Makefile (string-bench): Add string benchmarks.
12202 * benchtests/bench-bcopy-ifunc.c: New file.
12203 * benchtests/bench-bcopy.c: New file.
12204 * benchtests/bench-bzero-ifunc.c: New file.
12205 * benchtests/bench-bzero.c: New file.
12206 * benchtests/bench-memccpy-ifunc.c: New file.
12207 * benchtests/bench-memccpy.c: New file.
12208 * benchtests/bench-memchr-ifunc.c: New file.
12209 * benchtests/bench-memchr.c: New file.
12210 * benchtests/bench-memcmp-ifunc.c: New file.
12211 * benchtests/bench-memcmp.c: New file.
12212 * benchtests/bench-memmem-ifunc.c: New file.
12213 * benchtests/bench-memmem.c: New file.
12214 * benchtests/bench-memmove-ifunc.c: New file.
12215 * benchtests/bench-memmove.c: New file.
12216 * benchtests/bench-mempcpy-ifunc.c: New file.
12217 * benchtests/bench-mempcpy.c: New file.
12218 * benchtests/bench-memset-ifunc.c: New file.
12219 * benchtests/bench-memset.c: New file.
12220 * benchtests/bench-rawmemchr-ifunc.c: New file.
12221 * benchtests/bench-rawmemchr.c: New file.
12222 * benchtests/bench-stpcpy-ifunc.c: New file.
12223 * benchtests/bench-stpcpy.c: New file.
12224 * benchtests/bench-stpncpy-ifunc.c: New file.
12225 * benchtests/bench-stpncpy.c: New file.
12226 * benchtests/bench-strcasecmp-ifunc.c: New file.
12227 * benchtests/bench-strcasecmp.c: New file.
12228 * benchtests/bench-strcasestr-ifunc.c: New file.
12229 * benchtests/bench-strcasestr.c: New file.
12230 * benchtests/bench-strcat-ifunc.c: New file.
12231 * benchtests/bench-strcat.c: New file.
12232 * benchtests/bench-strchr-ifunc.c: New file.
12233 * benchtests/bench-strchr.c: New file.
12234 * benchtests/bench-strchrnul-ifunc.c: New file.
12235 * benchtests/bench-strchrnul.c: New file.
12236 * benchtests/bench-strcmp-ifunc.c: New file.
12237 * benchtests/bench-strcmp.c: New file.
12238 * benchtests/bench-strcpy-ifunc.c: New file.
12239 * benchtests/bench-strcpy.c: New file.
12240 * benchtests/bench-strcspn-ifunc.c: New file.
12241 * benchtests/bench-strcspn.c: New file.
12242 * benchtests/bench-strlen-ifunc.c: New file.
12243 * benchtests/bench-strlen.c: New file.
12244 * benchtests/bench-strncasecmp-ifunc.c: New file.
12245 * benchtests/bench-strncasecmp.c: New file.
12246 * benchtests/bench-strncat-ifunc.c: New file.
12247 * benchtests/bench-strncat.c: New file.
12248 * benchtests/bench-strncmp-ifunc.c: New file.
12249 * benchtests/bench-strncmp.c: New file.
12250 * benchtests/bench-strncpy-ifunc.c: New file.
12251 * benchtests/bench-strncpy.c: New file.
12252 * benchtests/bench-strnlen-ifunc.c: New file.
12253 * benchtests/bench-strnlen.c: New file.
12254 * benchtests/bench-strpbrk-ifunc.c: New file.
12255 * benchtests/bench-strpbrk.c: New file.
12256 * benchtests/bench-strrchr-ifunc.c: New file.
12257 * benchtests/bench-strrchr.c: New file.
12258 * benchtests/bench-strspn-ifunc.c: New file.
12259 * benchtests/bench-strspn.c: New file.
12260 * benchtests/bench-strstr-ifunc.c: New file.
12261 * benchtests/bench-strstr.c: New file.
12262
c1f75dc3
SP
12263 * benchtests/Makefile: Disable parallel execution of targets.
12264 (string-bench): Add memcpy.
12265 (benchset): New variable to store a list of benchmark sets.
12266 (bench-func): Renamed from bench.
12267 (bench-set): New target.
12268 (bench): Depend on bench-func and bench-set.
12269 * benchtests/README: Add section on benchmark sets.
12270 * benchtests/bench-memcpy-ifunc.c: New file.
12271 * benchtests/bench-memcpy.c: New file.
12272 * benchtests/bench-string.h: New file.
12273
50fd745b
AS
122742013-06-11 Andreas Schwab <schwab@suse.de>
12275
12276 [BZ #15577]
12277 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12278 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12279 values in the triple.
12280 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12281 terminator in the group key.
12282
3ee7e9fe
AJ
122832013-06-11 Andreas Jaeger <aj@suse.de>
12284
12285 * po/zh_TW.po: Update Chinese (traditional) translation from
12286 translation project.
12287
89fb6835
SP
122882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12289
12290 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12291 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12292 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12293 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12294 (clock_getcpuclockid): Likewise.
12295 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12296 Add weak_alias and libc_hidden_def.
12297 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12298 * rt/clock_gettime.c (clock_gettime): Rename to
12299 __clock_gettime. Add weak_alias and libc_hidden_def.
12300 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12301 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12302 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12303 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12304 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12305 Likewise.
12306 * rt/clock_settime.c (clock_settime): Rename to
12307 __clock_settime. Add weak_alias and libc_hidden_def.
12308 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12309
0efa6f8b
JM
123102013-06-10 Joseph Myers <joseph@codesourcery.com>
12311
b8c61b4b
JM
12312 * mach/err_boot.sub: Remove trailing whitespace.
12313 * mach/err_ipc.sub: Likewise.
12314 * mach/err_mach.sub: Likewise.
12315
0efa6f8b
JM
12316 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12317 (ROUNDING_TESTS_double): Likewise.
12318 (ROUNDING_TESTS_long_double): Likewise.
12319 (ROUNDING_TESTS): Likewise.
12320 * math/libm-test.inc: Include <math-tests.h>.
12321 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12322 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12323 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12324 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12325
50b818bf
SP
123262013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12327
12328 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12329 of assigning.
12330
60d2f8f3
JM
123312013-06-08 Joseph Myers <joseph@codesourcery.com>
12332
4902d2c3
JM
12333 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12334 otherwise empty TRANS lines.
12335 * sysdeps/gnu/errlist.c: Regenerated.
12336
60d2f8f3
JM
12337 * catgets/gencat.c (error_print): Use (void) in function
12338 definition.
12339 * crypt/crypt_util.c (__init_des): Likewise.
12340 * crypt/speeds.c (Stop): Likewise.
12341 (main): Likewise.
12342 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12343 * inet/ruserpass.c (token): Likewise.
12344 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12345 * intl/localealias.c (extend_alias_table): Likewise.
12346 * intl/plural-exp.c (init_germanic_plural): Likewise.
12347 * libio/fcloseall.c (__fcloseall): Likewise.
12348 * libio/genops.c (_IO_flush_all): Likewise.
12349 (_IO_flush_all_linebuffered): Likewise.
12350 (_IO_cleanup): Likewise.
12351 (_IO_iter_begin): Likewise.
12352 (_IO_iter_end): Likewise.
12353 (_IO_list_lock): Likewise.
12354 (_IO_list_unlock): Likewise.
12355 (_IO_list_resetlock): Likewise.
12356 * libio/getchar.c (getchar): Likewise.
12357 * libio/getchar_u.c (getchar_unlocked): Likewise.
12358 * libio/getwchar.c (getwchar): Likewise.
12359 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12360 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12361 * login/getpt.c (__getpt): Likewise.
12362 * login/tst-utmp.c (main): Likewise.
12363 * malloc/hooks.c (__malloc_check_init): Likewise.
12364 * malloc/malloc.c (__malloc_stats): Likewise.
12365 * malloc/mtrace.c (tr_break): Likewise.
12366 (mtrace): Likewise.
12367 (muntrace): Likewise.
12368 * misc/fstab.c (endfsent): Likewise.
12369 * misc/getclktck.c (__getclktck): Likewise.
12370 * misc/getdtsz.c (__getdtablesize): Likewise.
12371 * misc/gethostid.c (gethostid): Likewise.
12372 * misc/getpagesize.c (__getpagesize): Likewise.
12373 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12374 (__get_nprocs): Likewise.
12375 (__get_phys_pages): Likewise.
12376 (__get_avphys_pages): Likewise.
12377 * misc/getttyent.c (getttyent): Likewise.
12378 (setttyent): Likewise.
12379 (endttyent): Likewise.
12380 * misc/getusershell.c (getusershell): Likewise.
12381 (endusershell): Likewise.
12382 (setusershell): Likewise.
12383 (initshells): Likewise.
12384 * misc/hsearch.c (__hdestroy): Likewise.
12385 * misc/sync.c (sync): Likewise.
12386 * misc/syslog.c (closelog_internal): Likewise.
12387 (closelog): Likewise.
12388 * misc/ttyslot.c (ttyslot): Likewise.
12389 * misc/vhangup.c (vhangup): Likewise.
12390 * posix/fork.c (__fork): Likewise.
12391 * posix/getegid.c (__getegid): Likewise.
12392 * posix/geteuid.c (__geteuid): Likewise.
12393 * posix/getgid.c (__getgid): Likewise.
12394 * posix/getpid.c (__getpid): Likewise.
12395 * posix/getppid.c (__getppid): Likewise.
12396 * posix/getuid.c (__getuid): Likewise.
12397 * posix/pause.c (pause): Likewise.
12398 * posix/setpgrp.c (setpgrp): Likewise.
12399 * posix/setsid.c (__setsid): Likewise.
12400 * posix/test-vfork.c (noop): Likewise.
12401 * resolv/gethnamaddr.c (_endhtent): Likewise.
12402 (_gethtent): Likewise.
12403 (ht_endhostent): Likewise.
12404 (gethostent): Likewise.
12405 (dns_service): Likewise.
12406 * stdlib/drand48.c (drand48): Likewise.
12407 * stdlib/lrand48.c (lrand48): Likewise.
12408 * stdlib/mrand48.c (mrand48): Likewise.
12409 * stdlib/rand.c (rand): Likewise.
12410 * stdlib/random.c (__random): Likewise.
12411 * stdlib/setenv.c (clearenv): Likewise.
12412 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12413 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12414 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12415 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12416 (__get_nprocs): Likewise.
12417 (__get_phys_pages): Likewise.
12418 (__get_avphys_pages): Likewise.
12419 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12420 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12421 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12422 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12423 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12424 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12425 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12426 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12427 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12428 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12429 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12430 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12431 * sysdeps/posix/clock.c (clock): Likewise.
12432 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12433 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12434 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12435 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12436 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12437 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12438 (__get_nprocs_conf): Likewise.
12439 (__get_phys_pages): Likewise.
12440 (__get_avphys_pages): Likewise.
12441 * time/clock.c (clock): Likewise.
12442 * time/tzset.c (__tzname_max): Likewise.
12443
2e09a79a
JM
124442013-06-07 Joseph Myers <joseph@codesourcery.com>
12445
12446 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12447 (__bswap_32): Do not use "register".
12448 * crypt/crypt.c (_ufc_doit_r): Likewise.
12449 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12450 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12451 * gmon/gmon.c (__monstartup): Likewise.
12452 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12453 * hurd/hurdmalloc.c (more_memory): Likewise.
12454 (malloc): Likewise.
12455 (free): Likewise.
12456 (realloc): Likewise.
12457 (malloc_fork_prepare): Likewise.
12458 (malloc_fork_parent): Likewise.
12459 (malloc_fork_child): Likewise.
12460 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12461 (_svcauth_des): Likewise.
12462 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12463 * inet/inet_net.c (inet_network): Likewise.
12464 * inet/inet_netof.c (inet_netof): Likewise.
12465 * inet/rcmd.c (__validuser2_sa): Likewise.
12466 * io/fts.c (fts_open): Likewise.
12467 (fts_load): Likewise.
12468 (fts_close): Likewise.
12469 (fts_read): Likewise.
12470 (fts_children): Likewise.
12471 (fts_build): Likewise.
12472 (fts_stat): Likewise.
12473 (fts_sort): Likewise.
12474 (fts_alloc): Likewise.
12475 (fts_lfree): Likewise.
12476 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12477 (_IO_file_xsgetn): Likewise.
12478 (_IO_file_xsgetn_mmap): Likewise.
12479 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12480 (_IO_cookie_write): Likewise.
12481 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12482 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12483 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12484 * malloc/obstack.c (_obstack_begin): Likewise.
12485 (_obstack_begin_1): Likewise.
12486 (_obstack_newchunk): Likewise.
12487 (_obstack_allocated_p): Likewise.
12488 (obstack_free): Likewise.
12489 (_obstack_memory_used): Likewise.
12490 * misc/getttyent.c (getttynam): Likewise.
12491 (getttyent): Likewise.
12492 (skip): Likewise.
12493 (value): Likewise.
12494 * misc/getusershell.c (initshells): Likewise.
12495 * misc/syslog.c (__vsyslog_chk): Likewise.
12496 * misc/ttyslot.c (ttyslot): Likewise.
12497 * nis/nis_hash.c (__nis_hash): Likewise.
12498 * posix/fnmatch_loop.c (FCT): Likewise.
12499 * posix/getconf.c (print_all): Likewise.
12500 (main): Likewise.
12501 * posix/getopt.c (exchange): Likewise.
12502 * posix/glob.c (globfree): Likewise.
12503 (prefix_array): Likewise.
12504 (__glob_pattern_type): Likewise.
12505 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12506 (NS_GET32): Likewise.
12507 (NS_PUT16): Likewise.
12508 (NS_PUT32): Likewise.
12509 * resolv/gethnamaddr.c (getanswer): Likewise.
12510 (gethostbyname2): Likewise.
12511 (gethostbyaddr): Likewise.
12512 (_gethtent): Likewise.
12513 (_gethtbyname2): Likewise.
12514 (_gethtbyaddr): Likewise.
12515 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12516 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12517 * resolv/res_init.c (__res_vinit): Likewise.
12518 (net_mask): Likewise.
12519 * resolv/res_mkquery.c (outchar): Likewise.
12520 (PRINT): Likewise.
12521 * stdio-common/printf_fp.c (outchar): Likewise.
12522 (PRINT): Likewise.
12523 * stdio-common/printf_fphex.c (outchar): Likewise.
12524 (PRINT): Likewise.
12525 * stdio-common/printf_size.c (outchar): Likewise.
12526 (PRINT): Likewise.
12527 * stdio-common/test_rdwr.c (main): Likewise.
12528 * stdio-common/tfformat.c (matches): Likewise.
12529 * stdio-common/vfprintf.c (outchar): Likewise.
12530 (printf_unknown): Likewise.
12531 (buffered_vfprintf): Likewise.
12532 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12533 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12534 (ReadFile): Likewise.
12535 * stdlib/qsort.c (SWAP): Likewise.
12536 (_quicksort): Likewise.
12537 * stdlib/setenv.c (__add_to_environ): Likewise.
12538 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12539 * stdlib/strtol_l.c (__strtol_l): Likewise.
12540 * stdlib/tst-strtod.c (main): Likewise.
12541 * stdlib/tst-strtol.c (main): Likewise.
12542 * stdlib/tst-strtoll.c (main): Likewise.
12543 * string/bits/string2.h (__strcmp_cc): Likewise.
12544 (__strcmp_cg): Likewise.
12545 (__strcspn_c1): Likewise.
12546 (__strcspn_c2): Likewise.
12547 (__strcspn_c3): Likewise.
12548 (__strspn_c1): Likewise.
12549 (__strspn_c2): Likewise.
12550 (__strspn_c3): Likewise.
12551 (__strsep_1c): Likewise.
12552 (__strsep_2c): Likewise.
12553 (__strsep_3c): Likewise.
12554 * string/memccpy.c (__memccpy): Likewise.
12555 * string/stpcpy.c (__stpcpy): Likewise.
12556 * string/strcmp.c (strcmp): Likewise.
12557 * string/strrchr.c (strrchr): Likewise.
12558 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12559 Likewise.
12560 * sysdeps/mach/hurd/getcwd.c
12561 (_hurd_canonicalize_directory_name_internal): Likewise.
12562 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12563 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12564 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12565 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12566 Likewise, in both definitions.
12567 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12568 definitions.
12569 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12570 64] (__bswap_64): Likewise.
12571 * time/test_time.c (main): Likewise.
12572 * time/tzfile.c (__tzfile_read): Likewise.
12573 (__tzfile_compute): Likewise.
12574 * time/tzset.c (__tzset_parse_tz): Likewise.
12575 (tzset_internal): Likewise.
12576 (compute_change): Likewise.
12577 * wcsmbs/wcscat.c (__wcscat): Likewise.
12578 * wcsmbs/wcschr.c (wcschr): Likewise.
12579 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12580 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12581 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12582 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12583 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12584 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12585 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12586 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12587 * wcsmbs/wmemset.c (wmemset): Likewise.
12588
9e54314b
JM
125892013-06-06 Joseph Myers <joseph@codesourcery.com>
12590
12591 * scripts/config.guess: Update to version 2013-05-16.
12592 * scripts/config.sub: Update to version 2013-04-24.
12593 * scripts/install-sh: Update to version 2011-11-20.07.
12594 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12595 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12596
350635a5
OB
125972013-06-06 Ondřej Bílka <neleai@seznam.cz>
12598
12599 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12600 * elf/sln.c: Likewise.
12601 * hurd/hurd/ioctl.h: Likewise.
12602 * hurd/hurdmalloc.c: Likewise.
12603 * hurd/xattr.c: Likewise.
12604 * include/shlib-compat.h: Likewise.
12605 * inet/ruserpass.c: Likewise.
12606 * libio/iofgets_u.c: Likewise.
12607 * libio/iofgetws_u.c: Likewise.
12608 * locale/programs/ld-identification.c: Likewise.
12609 * locale/programs/ld-time.c: Likewise.
12610 * mach/msg-destroy.c: Likewise.
12611 * nss/nss_files/files-netgrp.c: Likewise.
12612 * resolv/res_data.c: Likewise.
12613 * soft-fp/op-1.h: Likewise.
12614 * soft-fp/op-2.h: Likewise.
12615 * soft-fp/op-4.h: Likewise.
12616 * soft-fp/op-common.h: Likewise.
12617 * stdio-common/printf_fphex.c: Likewise.
12618 * stdlib/strtod_l.c: Likewise.
12619 * sunrpc/rpc/clnt.h: Likewise.
12620 * sysdeps/generic/framestate.c: Likewise.
12621 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12622 * sysdeps/i386/bsd-setjmp.S: Likewise.
12623 * sysdeps/i386/__longjmp.S: Likewise.
12624 * sysdeps/i386/setjmp.S: Likewise.
12625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12626 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12627 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12628 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12629 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12630 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12631 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12632 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12633 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12634 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12635 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12636 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12637 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12640 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12641 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12642 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12643 * sysdeps/ieee754/support.c: Likewise.
12644 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12645 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12646 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12647 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12648 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12649 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12650 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12651 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12652 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12653 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12654 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12655 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12656 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12657 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12658 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12659 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12660 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12662
44a988af
OB
126632013-06-05 Ondřej Bílka <neleai@seznam.cz>
12664
25506f09 12665 * posix/transbug.c: Remove executable mode.
44a988af 12666
9c84384c
JM
126672013-06-05 Joseph Myers <joseph@codesourcery.com>
12668
12669 * crypt/speeds.c: Remove trailing whitespace.
12670 * dlfcn/default.c: Likewise.
12671 * elf/ifuncdep2.c: Likewise.
12672 * elf/ifuncmain1.c: Likewise.
12673 * elf/ifuncmain1vis.c: Likewise.
12674 * elf/testobj.h: Likewise.
12675 * elf/tst-stackguard1.c: Likewise.
12676 * gmon/sys/gmon.h: Likewise.
12677 * hurd/hurdmsg.c: Likewise.
12678 * hurd/new-fd.c: Likewise.
12679 * hurd/ports-get.c: Likewise.
12680 * iconvdata/ibm1008_420.c: Likewise.
12681 * inet/tst-getni1.c: Likewise.
12682 * inet/tst-getni2.c: Likewise.
12683 * libio/ioungetc.c: Likewise.
12684 * libio/wfiledoalloc.c: Likewise.
12685 * manual/libm-err-tab.pl: Likewise.
12686 * math/w_dremf.c: Likewise.
12687 * misc/ftruncate.c: Likewise.
12688 * posix/bug-glob2.c: Likewise.
12689 * posix/tst-pcre.c: Likewise.
12690 * posix/wait4.c: Likewise.
12691 * resolv/README: Likewise.
12692 * resolv/res_debug.h: Likewise.
12693 * resolv/tst-inet_ntop.c: Likewise.
12694 * setjmp/bug269-setjmp.c: Likewise.
12695 * soft-fp/extended.h: Likewise.
12696 * soft-fp/op-1.h: Likewise.
12697 * soft-fp/op-2.h: Likewise.
12698 * soft-fp/op-4.h: Likewise.
12699 * soft-fp/op-8.h: Likewise.
12700 * soft-fp/testit.c: Likewise.
12701 * stdio-common/bug16.c: Likewise.
12702 * stdlib/random.c: Likewise.
12703 * sunrpc/rpcsvc/rquota.x: Likewise.
12704 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12705 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12706 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12707 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12708 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12709 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12710 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12711 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12712 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12713 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12714 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12715 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12716 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12717 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12718 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12719 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12720 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12721 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12722 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12723 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12724 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12725 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12726 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12727 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12728 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12729 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12731 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12732 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12733 * sysdeps/ieee754/s_lib_version.c: Likewise.
12734 * sysdeps/mach/hurd/check_fds.c: Likewise.
12735 * sysdeps/mach/hurd/getsockname.c: Likewise.
12736 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12737 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12738 * sysdeps/powerpc/bits/link.h: Likewise.
12739 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12740 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12741 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12742 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12743 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12744 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12745 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12746 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12747 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12748 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12749 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12750 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12751 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12752 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12753 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12754 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12756 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12757 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12758 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12759 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12760 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12761 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12762 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12763 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12764 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12765 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12766 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12767 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12768 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12769 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12770 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12771 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12772 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12773 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12774 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12775 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12776 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12777 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12778 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12779 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12780 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12781 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12782 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12783 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12784 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12785 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12786 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12787 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12788 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12791 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12792 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12793 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12794 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12795 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12796 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12797 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12798 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12799 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12800 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12801 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12802 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12803 * sysdeps/powerpc/sysdep.h: Likewise.
12804 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12805 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12806 * sysdeps/sh/dl-trampoline.S: Likewise.
12807 * sysdeps/sh/memset.S: Likewise.
12808 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12809 * sysdeps/sh/strlen.S: Likewise.
12810 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12811 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12812 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12813 * sysdeps/sparc/sparc32/rem.S: Likewise.
12814 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12815 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12816 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12817 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12818 * sysdeps/sparc/sparc32/urem.S: Likewise.
12819 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12820 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12821 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12822 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12823 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12824 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12825 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12826 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12827 * sysdeps/unix/bsd/times.c: Likewise.
12828 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12829 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12833 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12834 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12835 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12836 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12837 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12838 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12839 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12840 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12841 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12842 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12843 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12844 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12845 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12846 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12847 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12848 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12849 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12850 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12851 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12852 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12853 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12854 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12855 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12856 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12857 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12858 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12859 * sysdeps/x86_64/strcspn.S: Likewise.
12860
869378a5
RA
128612013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12862
12863 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12864 generated file. Regenerate properly from gen-translit.pl.
12865 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12866 locale/C-translit.h.
12867
840e2943
AS
128682013-06-05 Andreas Schwab <schwab@suse.de>
12869
12870 [BZ #15100]
12871 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12872 week as 6 instead of -1.
12873 * time/tst-strptime.c (day_tests): Add test case.
12874
4c60cb0c
SP
128752013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12876
12877 * sysdeps/generic/math_private.h
12878 (libc_feholdexcept_setround_53bit): Replace with
12879 libc_feholdsetround_53bit.
12880 (libc_feupdateenv_53bit): Replace with
12881 libc_feresetround_53bit.
12882 (SET_RESTORE_ROUND_53BIT): Adjust.
12883
d180203e
SP
128842013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12885
96df079a
SP
12886 * string/test-strchrnul.c: Add copyright header.
12887
d180203e
SP
12888 * posix/tst-getaddrinfo4.c: Increase test timeout.
12889
8b0ccb2d
CD
128902013-06-03 Carlos O'Donell <carlos@redhat.com>
12891
12892 [BZ #15536]
12893 * math/libm-test.inc (MAX_EXP): Remove
12894 (MIN_EXP): Define.
12895 (ulp): Use MIN_EXP - MANT_DIG.
12896 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12897
3b3c4d40
CD
128982013-05-31 Carlos O'Donell <carlos@redhat.com>
12899
12900 * po/be.po: Revert last change.
12901 * po/zh_CN.po: Likewise.
12902 * po/header.pot: Likewise.
12903
fab7ce3f
JM
129042013-05-31 Joseph Myers <joseph@codesourcery.com>
12905
12906 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12907 link-libc-deps to empty as target-specific variable.
12908 * Makerules (link-libc-args): New variable.
12909 (libc-for-link): Likewise.
12910 (link-libc-deps): Likewise.
12911 (lib%.so): Depend on $(link-libc-deps). Link with
12912 $(link-libc-args).
12913 (build-module): Link with $(link-libc-args).
12914 (build-module-asneeded): Likewise.
12915 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12916 list of objects.
12917 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12918 target-specific variable.
12919 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12920 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12921 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12922 libc.
12923 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12924 libc and ld.so.
12925 ($(objpfx)libpcprofile.so): Likewise.
12926 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12927 libc_nonshared.a.
12928 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12929 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12930 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12931 $(link-libc-deps).
12932 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12933 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12934 * login/Makefile ($(objpfx)libutil.so): Likewise.
12935 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12936 * math/Makefile ($(objpfx)libm.so): Likewise.
12937 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12938 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12939 variable instead of depending directly on libc.
12940 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12941 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12942 $(link-libc-deps).
12943 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12944 libc.
12945 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12946 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12947 ($(objpfx)libanl.so): Likewise.
12948 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12949 ld.so.
12950 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12951 $(link-libc-deps).
12952 * sysdeps/i386/fpu/Makefile: Remove file.
12953 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12954 ($(objpfx)libm.so): Remove dependency on ld.so.
12955
eca5920c
PF
129562013-05-30 Patsy Franklin <pfrankli@redhat.com>
12957
12958 [BZ # 15553]
12959 * nis/yp_xdr.c (XDRMAXNAME): Define.
12960 (XDRMAXRECORD): Define.
12961 (xdr_domainname): Use XDRMAXNAME.
12962 (xdr_mapname): Likewise.
12963 (xdr_peername): Likewise.
12964 (xdr_keydat): Use XDRMAXRECORD.
12965 (xdr_valdat): Likewise.
12966
129672013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12968
12969 [BZ #14256]
12970 * manual/errno.texi (ESTALE): Update to account for more than
12971 just NFS file systems.
12972 * sysdeps/gnu/errlist.c: Regenerated.
12973
b9375348
SP
129742013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12975
12976 [BZ #15465]
12977 * elf/Makefile (tests): Add tst-null-argv.
12978 (modules-names): Add tst-null-argv-lib.
12979 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12980 (tst-null-argv-ENV): Set environment for tst-null-argv.
12981 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12982 (RTLD_PROGNAME): New macro.
12983 * elf/tst-null-argv.c: New test case.
12984 * elf/tst-null-argv-lib.c: Library for test case.
12985 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12986 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12987 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12988 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12989 * elf/dl-init.c (call_init): Likewise.
12990 (_dl_init): Likewise.
12991 * elf/dl-load.c (print_search_path): Likewise.
12992 (_dl_map_object): Likewise.
12993 * elf/dl-lookup.c (do_lookup_x): Likewise.
12994 (add_dependency): Likewise.
12995 (_dl_lookup_symbol_x): Likewise.
12996 (_dl_debug_bindings): Likewise.
12997 * elf/dl-open.c (_dl_show_scope): Likewise.
12998 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12999 * elf/dl-version.c (match_symbol): Likewise.
13000 (_dl_check_map_versions): Likewise.
13001 * elf/rtld.c (dl_main): Likewise.
13002 (print_unresolved): Use RTLD_PROGNAME.
13003 (print_missing_version): Likewise.
13004 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13005 (elf_machine_rela): Likewise.
13006 * sysdeps/powerpc/powerpc32/dl-machine.c
13007 (__process_machine_rela): Likewise.
13008 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13009 Likewise.
13010 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13011 Likewise.
13012 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13013 Likewise.
13014 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13015 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13016 Likewise.
13017 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13018 Likewise.
13019 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13020
8a9f20c8
CD
130212013-05-28 Carlos O'Donell <carlos@redhat.com>
13022
13023 * po/be.po: Add descriptive title.
13024 * po/zh_CN.po: Likewise.
13025 * po/header.pot: Likewise.
13026
0e60d68e
MF
130272013-05-28 Mike Frysinger <vapier@gentoo.org>
13028
13029 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13030 error message.
13031 (enlarge_archive): Likewise.
13032
56b672e9
BN
130332013-05-28 Ben North <ben@redfrontdoor.org>
13034
13035 * manual/arith.texi (frexp): It is the magnitude of the return
13036 value which lies in [0.5, 1), not the return value itself.
13037
5e056687
AZ
130382013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13039
13040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13041
2b66ef5d
TS
130422013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13043
528c2405
TS
13044 * stdio-common/bug26.c (main): Correct fscanf template.
13045
07b4c13d
TS
13046 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13047 declare _dl_skip_args.
13048
ec9dd97c
TS
13049 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13050 Don't declare.
13051
2b66ef5d
TS
13052 * manual/platform.texi: Add missing @end deftypefun.
13053
4f8dfe27
JM
130542013-05-24 Joseph Myers <joseph@codesourcery.com>
13055
0323d086
JM
13056 [BZ #15529]
13057 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13058 bit of mantissa of 2^16382.
13059 * math/libm-test.inc (hypot_test_data): Add more tests.
13060
dd4259b9
JM
13061 * math/libm-test.inc: Add drem and pow10 to list of tested
13062 functions.
13063 (pow10_test): New function.
13064 (drem_test): Likewise.
13065 (drem_test_tonearest): Likewise.
13066 (drem_test_towardzero): Likewise.
13067 (drem_test_downward): Likewise.
13068 (drem_test_upward): Likewise.
13069 (main): Call the new functions.
13070
4f8dfe27
JM
13071 * math/libm-test.inc (finite_test_data): Remove.
13072 (finite_test): Run tests from isfinite_test_data.
13073 (gamma_test_data): Remove.
13074 (gamma_test): Run tests from lgamma_test_data.
13075 * sysdeps/i386/fpu/libm-test-ulps: Update.
13076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13077
d116b7c4
AZ
130782013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13079
13080 * manual/platform.texi: Add PowerPC PPR function set documentation.
13081 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13082 implementation.
13083
e96e3767
CD
130842013-05-24 Carlos O'Donell <carlos@redhat.com>
13085
13086 * math/libm-test.inc (MAX_EXP): Define.
13087 (ULPDIFF): Define.
13088 (ulp): New function.
13089 (check_float_internal): Use ULPDIFF.
13090 (cpow_test): Disable failing test.
13091 (check_ulp): Test ulp() implemetnation.
13092 (main): Call check_ulp before starting tests.
13093
b679a606
JM
130942013-05-24 Joseph Myers <joseph@codesourcery.com>
13095
e8bdba36
JM
13096 * math/gen-libm-test.pl (generate_testfile): Do not handle
13097 START_DATA and END_DATA.
13098 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13099 END_DATA.
13100 (acos_tonearest_test_data): Likewise.
13101 (acos_towardzero_test_data): Likewise.
13102 (acos_downward_test_data): Likewise.
13103 (acos_upward_test_data): Likewise.
13104 (acosh_test_data): Likewise.
13105 (asin_test_data): Likewise.
13106 (asin_tonearest_test_data): Likewise.
13107 (asin_towardzero_test_data): Likewise.
13108 (asin_downward_test_data): Likewise.
13109 (asin_upward_test_data): Likewise.
13110 (asinh_test_data): Likewise.
13111 (atan_test_data): Likewise.
13112 (atanh_test_data): Likewise.
13113 (atan2_test_data): Likewise.
13114 (cabs_test_data): Likewise.
13115 (cacos_test_data): Likewise.
13116 (cacosh_test_data): Likewise.
13117 (carg_test_data): Likewise.
13118 (casin_test_data): Likewise.
13119 (casinh_test_data): Likewise.
13120 (catan_test_data): Likewise.
13121 (catanh_test_data): Likewise.
13122 (cbrt_test_data): Likewise.
13123 (ccos_test_data): Likewise.
13124 (ccosh_test_data): Likewise.
13125 (ceil_test_data): Likewise.
13126 (cexp_test_data): Likewise.
13127 (cimag_test_data): Likewise.
13128 (clog_test_data): Likewise.
13129 (clog10_test_data): Likewise.
13130 (conj_test_data): Likewise.
13131 (copysign_test_data): Likewise.
13132 (cos_test_data): Likewise.
13133 (cos_tonearest_test_data): Likewise.
13134 (cos_towardzero_test_data): Likewise.
13135 (cos_downward_test_data): Likewise.
13136 (cos_upward_test_data): Likewise.
13137 (cosh_test_data): Likewise.
13138 (cosh_tonearest_test_data): Likewise.
13139 (cosh_towardzero_test_data): Likewise.
13140 (cosh_downward_test_data): Likewise.
13141 (cosh_upward_test_data): Likewise.
13142 (cpow_test_data): Likewise.
13143 (cproj_test_data): Likewise.
13144 (creal_test_data): Likewise.
13145 (csin_test_data): Likewise.
13146 (csinh_test_data): Likewise.
13147 (csqrt_test_data): Likewise.
13148 (ctan_test_data): Likewise.
13149 (ctan_tonearest_test_data): Likewise.
13150 (ctan_towardzero_test_data): Likewise.
13151 (ctan_downward_test_data): Likewise.
13152 (ctan_upward_test_data): Likewise.
13153 (ctanh_test_data): Likewise.
13154 (ctanh_tonearest_test_data): Likewise.
13155 (ctanh_towardzero_test_data): Likewise.
13156 (ctanh_downward_test_data): Likewise.
13157 (ctanh_upward_test_data): Likewise.
13158 (erf_test_data): Likewise.
13159 (erfc_test_data): Likewise.
13160 (exp_test_data): Likewise.
13161 (exp_tonearest_test_data): Likewise.
13162 (exp_towardzero_test_data): Likewise.
13163 (exp_downward_test_data): Likewise.
13164 (exp_upward_test_data): Likewise.
13165 (exp10_test_data): Likewise.
13166 (exp2_test_data): Likewise.
13167 (expm1_test_data): Likewise.
13168 (fabs_test_data): Likewise.
13169 (fdim_test_data): Likewise.
13170 (finite_test_data): Likewise.
13171 (floor_test_data): Likewise.
13172 (fma_test_data): Likewise.
13173 (fma_towardzero_test_data): Likewise.
13174 (fma_downward_test_data): Likewise.
13175 (fma_upward_test_data): Likewise.
13176 (fmax_test_data): Likewise.
13177 (fmin_test_data): Likewise.
13178 (fmod_test_data): Likewise.
13179 (fpclassify_test_data): Likewise.
13180 (frexp_test_data): Likewise.
13181 (gamma_test_data): Likewise.
13182 (hypot_test_data): Likewise.
13183 (ilogb_test_data): Likewise.
13184 (isfinite_test_data): Likewise.
13185 (isgreater_test_data): Likewise.
13186 (isgreaterequal_test_data): Likewise.
13187 (isinf_test_data): Likewise.
13188 (isless_test_data): Likewise.
13189 (islessequal_test_data): Likewise.
13190 (islessgreater_test_data): Likewise.
13191 (isnan_test_data): Likewise.
13192 (isnormal_test_data): Likewise.
13193 (issignaling_test_data): Likewise.
13194 (isunordered_test_data): Likewise.
13195 (j0_test_data): Likewise.
13196 (j1_test_data): Likewise.
13197 (jn_test_data): Likewise.
13198 (ldexp_test_data): Likewise.
13199 (lgamma_test_data): Likewise.
13200 (lrint_test_data): Likewise.
13201 (lrint_tonearest_test_data): Likewise.
13202 (lrint_towardzero_test_data): Likewise.
13203 (lrint_downward_test_data): Likewise.
13204 (lrint_upward_test_data): Likewise.
13205 (llrint_test_data): Likewise.
13206 (llrint_tonearest_test_data): Likewise.
13207 (llrint_towardzero_test_data): Likewise.
13208 (llrint_downward_test_data): Likewise.
13209 (llrint_upward_test_data): Likewise.
13210 (log_test_data): Likewise.
13211 (log10_test_data): Likewise.
13212 (log1p_test_data): Likewise.
13213 (log2_test_data): Likewise.
13214 (logb_test_data): Likewise.
13215 (logb_downward_test_data): Likewise.
13216 (lround_test_data): Likewise.
13217 (llround_test_data): Likewise.
13218 (modf_test_data): Likewise.
13219 (nearbyint_test_data): Likewise.
13220 (nextafter_test_data): Likewise.
13221 (nexttoward_test_data): Likewise.
13222 (pow_test_data): Likewise.
13223 (pow_tonearest_test_data): Likewise.
13224 (pow_towardzero_test_data): Likewise.
13225 (pow_downward_test_data): Likewise.
13226 (pow_upward_test_data): Likewise.
13227 (remainder_test_data): Likewise.
13228 (remainder_tonearest_test_data): Likewise.
13229 (remainder_towardzero_test_data): Likewise.
13230 (remainder_downward_test_data): Likewise.
13231 (remainder_upward_test_data): Likewise.
13232 (remquo_test_data): Likewise.
13233 (rint_test_data): Likewise.
13234 (rint_tonearest_test_data): Likewise.
13235 (rint_towardzero_test_data): Likewise.
13236 (rint_downward_test_data): Likewise.
13237 (rint_upward_test_data): Likewise.
13238 (round_test_data): Likewise.
13239 (scalb_test_data): Likewise.
13240 (scalbn_test_data): Likewise.
13241 (scalbln_test_data): Likewise.
13242 (signbit_test_data): Likewise.
13243 (sin_test_data): Likewise.
13244 (sin_tonearest_test_data): Likewise.
13245 (sin_towardzero_test_data): Likewise.
13246 (sin_downward_test_data): Likewise.
13247 (sin_upward_test_data): Likewise.
13248 (sincos_test_data): Likewise.
13249 (sinh_test_data): Likewise.
13250 (sinh_tonearest_test_data): Likewise.
13251 (sinh_towardzero_test_data): Likewise.
13252 (sinh_downward_test_data): Likewise.
13253 (sinh_upward_test_data): Likewise.
13254 (sqrt_test_data): Likewise.
13255 (tan_test_data): Likewise.
13256 (tan_tonearest_test_data): Likewise.
13257 (tan_towardzero_test_data): Likewise.
13258 (tan_downward_test_data): Likewise.
13259 (tan_upward_test_data): Likewise.
13260 (tanh_test_data): Likewise.
13261 (tgamma_test_data): Likewise.
13262 (trunc_test_data): Likewise.
13263 (y0_test_data): Likewise.
13264 (y1_test_data): Likewise.
13265 (yn_test_data): Likewise.
13266 (significand_test_data): Likewise.
13267
b679a606
JM
13268 * math/gen-libm-test.pl (@functions): Remove variable.
13269 (generate_testfile): Don't handle START and END lines.
13270 * math/libm-test.inc (START): New macro.
13271 (END): Likewise.
13272 (END_COMPLEX): Likewise.
13273 (acos_test): Use END macro without arguments.
13274 (acos_test_tonearest): Likewise.
13275 (acos_test_towardzero): Likewise.
13276 (acos_test_downward): Likewise.
13277 (acos_test_upward): Likewise.
13278 (acosh_test): Likewise.
13279 (asin_test): Likewise.
13280 (asin_test_tonearest): Likewise.
13281 (asin_test_towardzero): Likewise.
13282 (asin_test_downward): Likewise.
13283 (asin_test_upward): Likewise.
13284 (asinh_test): Likewise.
13285 (atan_test): Likewise.
13286 (atanh_test): Likewise.
13287 (atan2_test): Likewise.
13288 (cabs_test): Likewise.
13289 (cacos_test): Use END_COMPLEX macro without arguments.
13290 (cacosh_test): Likewise.
13291 (carg_test): Use END macro without arguments.
13292 (casin_test): Use END_COMPLEX macro without arguments.
13293 (casinh_test): Likewise.
13294 (catan_test): Likewise.
13295 (catanh_test): Likewise.
13296 (cbrt_test): Use END macro without arguments.
13297 (ccos_test): Use END_COMPLEX macro without arguments.
13298 (ccosh_test): Likewise.
13299 (ceil_test): Use END macro without arguments.
13300 (cexp_test): Use END_COMPLEX macro without arguments.
13301 (cimag_test): Use END macro without arguments.
13302 (clog_test): Use END_COMPLEX macro without arguments.
13303 (clog10_test): Likewise.
13304 (conj_test): Likewise.
13305 (copysign_test): Use END macro without arguments.
13306 (cos_test): Likewise.
13307 (cos_test_tonearest): Likewise.
13308 (cos_test_towardzero): Likewise.
13309 (cos_test_downward): Likewise.
13310 (cos_test_upward): Likewise.
13311 (cosh_test): Likewise.
13312 (cosh_test_tonearest): Likewise.
13313 (cosh_test_towardzero): Likewise.
13314 (cosh_test_downward): Likewise.
13315 (cosh_test_upward): Likewise.
13316 (cpow_test): Use END_COMPLEX macro without arguments.
13317 (cproj_test): Likewise.
13318 (creal_test): Use END macro without arguments.
13319 (csin_test): Use END_COMPLEX macro without arguments.
13320 (csinh_test): Likewise.
13321 (csqrt_test): Likewise.
13322 (ctan_test): Likewise.
13323 (ctan_test_tonearest): Likewise.
13324 (ctan_test_towardzero): Likewise.
13325 (ctan_test_downward): Likewise.
13326 (ctan_test_upward): Likewise.
13327 (ctanh_test): Likewise.
13328 (ctanh_test_tonearest): Likewise.
13329 (ctanh_test_towardzero): Likewise.
13330 (ctanh_test_downward): Likewise.
13331 (ctanh_test_upward): Likewise.
13332 (erf_test): Use END macro without arguments.
13333 (erfc_test): Likewise.
13334 (exp_test): Likewise.
13335 (exp_test_tonearest): Likewise.
13336 (exp_test_towardzero): Likewise.
13337 (exp_test_downward): Likewise.
13338 (exp_test_upward): Likewise.
13339 (exp10_test): Likewise.
13340 (exp2_test): Likewise.
13341 (expm1_test): Likewise.
13342 (fabs_test): Likewise.
13343 (fdim_test): Likewise.
13344 (finite_test): Likewise.
13345 (floor_test): Likewise.
13346 (fma_test): Likewise.
13347 (fma_test_towardzero): Likewise.
13348 (fma_test_downward): Likewise.
13349 (fma_test_upward): Likewise.
13350 (fmax_test): Likewise.
13351 (fmin_test): Likewise.
13352 (fmod_test): Likewise.
13353 (fpclassify_test): Likewise.
13354 (frexp_test): Likewise.
13355 (gamma_test): Likewise.
13356 (hypot_test): Likewise.
13357 (ilogb_test): Likewise.
13358 (isfinite_test): Likewise.
13359 (isgreater_test): Likewise.
13360 (isgreaterequal_test): Likewise.
13361 (isinf_test): Likewise.
13362 (isless_test): Likewise.
13363 (islessequal_test): Likewise.
13364 (islessgreater_test): Likewise.
13365 (isnan_test): Likewise.
13366 (isnormal_test): Likewise.
13367 (issignaling_test): Likewise.
13368 (isunordered_test): Likewise.
13369 (j0_test): Likewise.
13370 (j1_test): Likewise.
13371 (jn_test): Likewise.
13372 (ldexp_test): Likewise.
13373 (lgamma_test): Likewise.
13374 (lrint_test): Likewise.
13375 (lrint_test_tonearest): Likewise.
13376 (lrint_test_towardzero): Likewise.
13377 (lrint_test_downward): Likewise.
13378 (lrint_test_upward): Likewise.
13379 (llrint_test): Likewise.
13380 (llrint_test_tonearest): Likewise.
13381 (llrint_test_towardzero): Likewise.
13382 (llrint_test_downward): Likewise.
13383 (llrint_test_upward): Likewise.
13384 (log_test): Likewise.
13385 (log10_test): Likewise.
13386 (log1p_test): Likewise.
13387 (log2_test): Likewise.
13388 (logb_test): Likewise.
13389 (logb_test_downward): Likewise.
13390 (lround_test): Likewise.
13391 (llround_test): Likewise.
13392 (modf_test): Likewise.
13393 (nearbyint_test): Likewise.
13394 (nextafter_test): Likewise.
13395 (nexttoward_test): Likewise.
13396 (pow_test): Likewise.
13397 (pow_test_tonearest): Likewise.
13398 (pow_test_towardzero): Likewise.
13399 (pow_test_downward): Likewise.
13400 (pow_test_upward): Likewise.
13401 (remainder_test): Likewise.
13402 (remainder_test_tonearest): Likewise.
13403 (remainder_test_towardzero): Likewise.
13404 (remainder_test_downward): Likewise.
13405 (remainder_test_upward): Likewise.
13406 (remquo_test): Likewise.
13407 (rint_test): Likewise.
13408 (rint_test_tonearest): Likewise.
13409 (rint_test_towardzero): Likewise.
13410 (rint_test_downward): Likewise.
13411 (rint_test_upward): Likewise.
13412 (round_test): Likewise.
13413 (scalb_test): Likewise.
13414 (scalbn_test): Likewise.
13415 (scalbln_test): Likewise.
13416 (signbit_test): Likewise.
13417 (sin_test): Likewise.
13418 (sin_test_tonearest): Likewise.
13419 (sin_test_towardzero): Likewise.
13420 (sin_test_downward): Likewise.
13421 (sin_test_upward): Likewise.
13422 (sincos_test): Likewise.
13423 (sinh_test): Likewise.
13424 (sinh_test_tonearest): Likewise.
13425 (sinh_test_towardzero): Likewise.
13426 (sinh_test_downward): Likewise.
13427 (sinh_test_upward): Likewise.
13428 (sqrt_test): Likewise.
13429 (tan_test): Likewise.
13430 (tan_test_tonearest): Likewise.
13431 (tan_test_towardzero): Likewise.
13432 (tan_test_downward): Likewise.
13433 (tan_test_upward): Likewise.
13434 (tanh_test): Likewise.
13435 (tgamma_test): Likewise.
13436 (trunc_test): Likewise.
13437 (y0_test): Likewise.
13438 (y1_test): Likewise.
13439 (yn_test): Likewise.
13440 (significand_test): Likewise.
13441
bae143d2
OB
134422013-05-24 Ondřej Bílka <neleai@seznam.cz>
13443
13444 [BZ #15381]
13445 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13446
9323d39b
EM
134472013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13448
d4ea44a0 13449 [BZ #14894]
9323d39b
EM
13450 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13451 __ppc_mdoio and __ppc_mdoom.
13452 * manual/platform.texi: Document new functions __ppc_yield,
13453 __ppc_mdoio and __ppc_mdoom.
13454
13e23af7
CD
134552013-05-22 Carlos O'Donell <carlos@redhat.com>
13456
13457 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13458 (main): Mention "tls" pseudo-hwcap is legacy.
13459 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13460
351fe550
JM
134612013-05-22 Joseph Myers <joseph@codesourcery.com>
13462
13463 * math/gen-libm-test.pl (parse_args): Output only string of
13464 arguments as text for test name, not full call or descriptions of
13465 tests for extra outputs.
13466 (generate_testfile): Do not pass function name to parse_args.
13467 Generate this_func variable from START.
13468 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13469 field to arg_str.
13470 (struct test_ff_f_data): Likewise.
13471 (test_ff_f_data_nexttoward): Likewise.
13472 (struct test_fi_f_data): Likewise.
13473 (struct test_fl_f_data): Likewise.
13474 (struct test_if_f_data): Likewise.
13475 (struct test_fff_f_data): Likewise.
13476 (struct test_c_f_data): Likewise.
13477 (struct test_f_f1_data): Likewise. Remove field extra_name.
13478 (struct test_fF_f1_data): Likewise.
13479 (struct test_ffI_f1_data): Likewise.
13480 (struct test_c_c_data): Rename test_name field to arg_str.
13481 (struct test_cc_c_data): Likewise.
13482 (struct test_f_i_data): Likewise.
13483 (struct test_ff_i_data): Likewise.
13484 (struct test_f_l_data): Likewise.
13485 (struct test_f_L_data): Likewise.
13486 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13487 and extra2_name.
13488 (COMMON_TEST_SETUP): New macro.
13489 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13490 (COMMON_TEST_CLEANUP): Likewise.
13491 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13492 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13493 macros.
13494 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13495 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13496 macros.
13497 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13498 (RUN_TEST_fff_f): Take argument string. Call new setup and
13499 cleanup macros.
13500 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13501 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13502 macros.
13503 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13504 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13505 macros.
13506 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13507 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13508 cleanup macros.
13509 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13510 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13511 cleanup macros.
13512 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13513 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13514 cleanup macros.
13515 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13516 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13517 macros.
13518 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13519 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13520 macros.
13521 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13522 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13523 macros.
13524 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13525 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13526 cleanup macros.
13527 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13528 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13529 cleanup macros.
13530 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13531 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13532 macros.
13533 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13534 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13535 cleanup macros.
13536 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13537 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13538 macros.
13539 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13540 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13541 macros.
13542 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13543 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13544 cleanup macros.
13545 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13546
85118d4d
EBM
135472013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13548
13549 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13550 to _sifields.sigfault.
13551 (si_addr_lsb): Define new macro.
13552 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13553 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13554 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13555
7a44c18f
CD
135562013-05-03 Carlos O'Donell <carlos at redhat.com>
13557
13558 [BZ #15441]
13559 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13560 returns -1.
13561 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13562 null return -1.
13563 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13564 loading the domain.
13565
b50a7181
JM
135662013-05-22 Joseph Myers <joseph@codesourcery.com>
13567
13568 * math/gen-libm-test.pl (parse_args): Do not include expected
13569 result in test name.
13570 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13571 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13572 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13573 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13574 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13576
051063c8
SP
135772013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13578
3ce9e010
SP
13579 * benchtests/Makefile: Sort function entries.
13580
051063c8
SP
13581 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13582 tanh, asinh, acosh, atanh.
13583 * benchtests/acos-inputs: New file.
13584 * benchtests/acosh-inputs: New file.
13585 * benchtests/asin-inputs: New file.
13586 * benchtests/asinh-inputs: New file.
13587 * benchtests/atanh-inputs: New file.
13588 * benchtests/cosh-inputs: New file.
13589 * benchtests/log-inputs: New file.
13590 * benchtests/sinh-inputs: New file.
13591 * benchtests/tanh-inputs: New file.
13592
47c22455
DL
135932013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13594
13595 [BZ #15339]
13596 * posix/tst-getaddrinfo4.c: New test.
13597 * posix/Makefile (tests): Add it.
13598
3d04f5db
SP
135992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13600
13601 [BZ #15339]
13602 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13603 when no services were used.
13604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13605 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13606
d5dd6189
AS
136072013-05-21 Andreas Schwab <schwab@suse.de>
13608
13609 [BZ #15014]
13610 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13611 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13612 successful.
13613 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13614 redundant variable declarations and reallocation of buffer when
13615 parsing as IPv6 address. Always set NSS status when called from
13616 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13617 buffer too small. Correct computation of needed size.
13618 * nss/Makefile (tests): Add test-digits-dots.
13619 * nss/test-digits-dots.c: New test.
13620
fef94eab
SP
136212013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13622
13623 * benchtests/Makefile: Remove instructions for adding
13624 benchmark tests.
13625 * benchtests/README: New file to explain how to execute and
13626 enhance the benchmark tests.
13627
e39adf43
AS
136282013-05-21 Andreas Schwab <schwab@suse.de>
13629
13630 [BZ #15493]
13631 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13632 * setjmp/tst-sigsetjmp.c: New test.
13633
b2b671b6
OB
136342013-05-20 Ondřej Bílka <neleai@seznam.cz>
13635
13636 * sysdeps/x86_64/memset.S (memset): New implementation.
13637 (__bzero): Likewise.
13638 (__memset_tail): New function.
13639
2d48b41c
OB
136402013-05-20 Ondřej Bílka <neleai@seznam.cz>
13641
13642 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13643 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13644 __memcpy_sse2_unaligned ifunc selection.
13645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13646 Add memcpy-sse2-unaligned.S.
13647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13648 Add: __memcpy_sse2_unaligned.
13649
f16cc3eb
JM
136502013-05-19 Joseph Myers <joseph@codesourcery.com>
13651
3e694268
JM
13652 [BZ #15490]
13653 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13654 math_force_eval before restoring floating-point envrionment.
13655 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13656 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13657 Likewise.
13658 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13659 <math_private.h>.
13660 (__nearbyintl): Use math_force_eval before restoring
13661 floating-point environment.
13662 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13663
db62a907
JM
13664 * math/gen-libm-test.pl (special_functions): Remove.
13665 (parse_args): Don't handle TEST_extra. Handle functions with no
13666 return value.
13667 * math/libm-test.inc (struct test_sincos_data): Replace with
13668 struct test_fFF_11_data.
13669 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13670 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13671 (sincos_test_data): Change element type to struct
13672 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13673 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13674 RUN_TEST_LOOP_sincos.
13675 * math/README.libm-test: Don't mention special handling of
13676 individual functions.
13677 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13678 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13679 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13680 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13681 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13683
f16cc3eb
JM
13684 * math/gen-libm-test.pl (get_variable): Remove function.
13685 (parse_args): Don't show pointer parameters to call in test
13686 names. Use "extra output N" in test names for extra outputs
13687 rather than naming variables.
13688
3779b5b6
JM
136892013-05-18 Joseph Myers <joseph@codesourcery.com>
13690
2ee094ff
JM
13691 [BZ #15488]
13692 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13693 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13694 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13695 double tests.
13696 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13697 disable.
13698 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13699 check_long_double.
13700
3779b5b6
JM
13701 * math/gen-libm-test.pl (@tests): Remove variable.
13702 ($count): Likewise.
13703 (new_test): Remove function.
13704 (show_exceptions): New function.
13705 (special_functions): Use show_exceptions instead of new_test.
13706 (parse_args): Likewise.
13707 (generate_testfile): Pass only function name in generated call to
13708 print_max_error or print_complex_max_error.
13709 (get_ulps): Do not handle complex tests specially.
13710 (output_test): Rename to ...
13711 (get_all_ulps_for_test): ... this. Return a string rather than
13712 printing to a file. Require ulps to be present.
13713 (output_ulps): Generate arrays rather than #defines.
13714 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13715 (struct ulp_data): New type.
13716 (BUILD_COMPLEX_ULP): Remove macro.
13717 (compare_ulp_data): New function.
13718 (find_ulps): Likewise.
13719 (find_test_ulps): Likewise.
13720 (find_function_ulps): Likewise.
13721 (find_complex_function_ulps): Likewise.
13722 (print_max_error): Determine allowed ulps using
13723 find_function_ulps.
13724 (print_complex_max_error): Determine allowed ulps using
13725 find_complex_function_ulps.
13726 (check_float_internal): Determine max ulps using find_test_ulps.
13727 (check_float): Do not take max_ulp parameter. Update call to
13728 check_float_internal.
13729 (check_complex): Likewise.
13730 (check_int): Do not take max_ulp parameter.
13731 (check_long): Likewise.
13732 (check_bool): Likewise.
13733 (check_longlong): Likewise.
13734 (struct test_f_f_data): Remove max_ulp field.
13735 (struct test_ff_f_data): Likewise.
13736 (struct test_ff_f_data_nexttoward): Likewise.
13737 (struct test_fi_f_data): Likewise.
13738 (struct test_fl_f_data): Likewise.
13739 (struct test_if_f_data): Likewise.
13740 (struct test_fff_f_data): Likewise.
13741 (struct test_c_f_data): Likewise.
13742 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13743 (struct test_fF_f1_data): Likewise.
13744 (struct test_ffI_f1_data): Likewise.
13745 (struct test_c_c_data): Remove max_ulp field.
13746 (struct test_cc_c_data): Likewise.
13747 (struct test_f_i_data): Likewise.
13748 (struct test_ff_i_data): Likewise.
13749 (struct test_f_l_data): Likewise.
13750 (struct test_f_L_data): Likewise.
13751 (struct test_sincos_data): Likewise.
13752 (RUN_TEST_f_f): Do not handle ulps.
13753 (RUN_TEST_LOOP_f_f): Likewise.
13754 (RUN_TEST_2_f): Likewise.
13755 (RUN_TEST_LOOP_2_f): Likewise.
13756 (RUN_TEST_fff_f): Likewise.
13757 (RUN_TEST_LOOP_fff_f): Likewise.
13758 (RUN_TEST_c_f): Likewise.
13759 (RUN_TEST_LOOP_c_f): Likewise.
13760 (RUN_TEST_f_f1): Likewise.
13761 (RUN_TEST_LOOP_f_f1): Likewise.
13762 (RUN_TEST_fF_f1): Likewise.
13763 (RUN_TEST_LOOP_fF_f1): Likewise.
13764 (RUN_TEST_fI_f1): Likewise.
13765 (RUN_TEST_LOOP_fI_f1): Likewise.
13766 (RUN_TEST_ffI_f1): Likewise.
13767 (RUN_TEST_LOOP_ffI_f1): Likewise.
13768 (RUN_TEST_c_c): Likewise.
13769 (RUN_TEST_LOOP_c_c): Likewise.
13770 (RUN_TEST_cc_c): Likewise.
13771 (RUN_TEST_LOOP_cc_c): Likewise.
13772 (RUN_TEST_f_i): Likewise.
13773 (RUN_TEST_LOOP_f_i): Likewise.
13774 (RUN_TEST_f_i_tg): Likewise.
13775 (RUN_TEST_LOOP_f_i_tg): Likewise.
13776 (RUN_TEST_ff_i_tg): Likewise.
13777 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13778 (RUN_TEST_f_b): Likewise.
13779 (RUN_TEST_LOOP_f_b): Likewise.
13780 (RUN_TEST_f_b_tg): Likewise.
13781 (RUN_TEST_LOOP_f_b_tg): Likewise.
13782 (RUN_TEST_f_l): Likewise.
13783 (RUN_TEST_LOOP_f_l): Likewise.
13784 (RUN_TEST_f_L): Likewise.
13785 (RUN_TEST_LOOP_f_L): Likewise.
13786 (RUN_TEST_sincos): Likewise.
13787 (RUN_TEST_LOOP_sincos): Likewise.
13788
8269107f
JM
137892013-05-17 Joseph Myers <joseph@codesourcery.com>
13790
bb38759d
JM
13791 [BZ #15480]
13792 [BZ #15485]
13793 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13794 main case of finite arguments, set rounding mode to FE_TONEAREST
13795 and discard exceptions.
13796 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13797 exceptions.
13798 (remainder_tonearest_test_data): New variable.
13799 (remainder_test_tonearest): New function.
13800 (remainder_towardzero_test_data): New variable.
13801 (remainder_test_towardzero): New function.
13802 (remainder_downward_test_data): New variable.
13803 (remainder_test_downward): New function.
13804 (remainder_upward_test_data): New variable.
13805 (remainder_test_upward): New function.
13806 (main): Call the new test functions.
13807
a00bdcf0
JM
13808 * math/libm-test.inc (struct test_f_f1_data): Remove field
13809 extra_init.
13810 (struct test_fF_f1_data): Likewise.
13811 (struct test_ffI_f1_data): Likewise.
13812 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13813 based on value of EXTRA_EXPECTED.
13814 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13815 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13816 EXTRA_VAR based on value of EXTRA_EXPECTED.
13817 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13818 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13819 EXTRA_VAR based on value of EXTRA_EXPECTED.
13820 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13821 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13822 EXTRA_VAR based on value of EXTRA_EXPECTED.
13823 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13824 * math/gen-libm-test.pl (parse_args): Don't output initializers
13825 for extra output values.
13826
de407f79
JM
13827 * math/libm-test.inc (check_int): Expect result to be exactly
13828 equal to expected value and do not handle ulps.
13829 (check_long): Likewise.
13830 (check_longlong): Likewise.
13831
8269107f
JM
13832 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13833 exceptions.
13834 (cimag_test_data): Likewise.
13835 (conj_test_data): Likewise.
13836 (copysign_test_data): Likewise.
13837 (cproj_test_data): Likewise.
13838 (creal_test_data): Likewise.
13839 (fabs_test_data): Likewise.
13840 (fdim_test_data): Likewise.
13841 (finite_test_data): Likewise.
13842 (floor_test_data): Likewise.
13843 (fmax_test_data): Likewise.
13844 (fmin_test_data): Likewise.
13845 (fmod_test_data): Likewise.
13846 (fpclassify_test_data): Likewise.
13847 (frexp_test_data): Likewise.
13848 (ilogb_test_data): Likewise.
13849 (isfinite_test_data): Likewise.
13850 (isgreater_test_data): Likewise.
13851 (isgreaterequal_test_data): Likewise.
13852 (isinf_test_data): Likewise.
13853 (isless_test_data): Likewise.
13854 (islessequal_test_data): Likewise.
13855 (islessgreater_test_data): Likewise.
13856 (isnan_test_data): Likewise.
13857 (isnormal_test_data): Likewise.
13858 (issignaling_test_data): Likewise.
13859 (isunordered_test_data): Likewise.
13860 (ldexp_test_data): Likewise.
13861 (lrint_test_data): Likewise.
13862 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13863 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13864 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13865 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13866 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13867 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13868 test input.
13869 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13870 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13871 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13872 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13873 that test input.
13874 (lrint_downward_test_data): Test for "inexact" exceptions.
13875 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13876 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13877 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13878 test input.
13879 (lrint_upward_test_data): Test for "inexact" exceptions.
13880 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13881 test input.
13882 (llrint_test_data): Test for "inexact" exceptions.
13883 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13884 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13885 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13886 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13887 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13888 (llrint_downward_test_data): Test for "inexact" exceptions.
13889 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13890 (llrint_upward_test_data): Test for "inexact" exceptions.
13891 (logb_test_data): Likewise.
13892 (logb_downward_test_data): Likewise.
13893 (nextafter_test_data): Likewise.
13894 (nexttoward_test_data): Likewise.
13895 (remainder_test_data): Likewise.
13896 (remquo_test_data): Likewise.
13897 (scalbn_test_data): Likewise.
13898 (scalbln_test_data): Likewise.
13899 (signbit_test_data): Likewise.
13900 (sqrt_test_data): Likewise.
13901 (significand_test_data): Likewise.
13902
48a18de1
SP
139032013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13904
13905 [BZ #15424]
13906 * benchtests/bench-modf.c (struct args): Mark arg0 as
13907 volatile.
13908 * scripts/bench.pl: Mark members of struct args as volatile.
13909
13d3b41a
AZ
139102013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13911
68191c1d 13912 [BZ # 15497]
13d3b41a
AZ
13913 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13914 negative infinity on POWER6 or lower.
13915 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13916
2848b105
MR
139172013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13918
13919 [BZ #15442]
13920 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13921 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13922 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13923 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13924 (_FP_SETQNAN): New macro.
13925 (_FP_SETQNAN_SEMIRAW): Likewise.
13926 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13927 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13928 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13929 (FP_EXTEND): Use _FP_FRAC_SNANP.
13930 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13931 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13932 into account.
13933 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13934 New macro.
13935 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13936 Likewise.
13937
323e5cb7
JM
139382013-05-16 Joseph Myers <joseph@codesourcery.com>
13939
c58b274f
JM
13940 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13941 with DIVIDE_BY_ZERO_EXCEPTION.
13942 (gamma_test_data): Likewise.
13943 (lgamma_test_data): Likewise.
13944 (log_test_data): Likewise.
13945 (log10_test_data): Likewise.
13946 (log2_test_data): Likewise.
13947 (tgamma_test_data): Likewise.
13948
0ab34904
JM
13949 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13950 (acos_test_tonearest): Likewise.
13951 (acos_test_towardzero): Likewise.
13952 (acos_test_downward): Likewise.
13953 (acos_test_upward): Likewise.
13954 (acosh_test): Likewise.
13955 (asin_test): Likewise.
13956 (asin_test_tonearest): Likewise.
13957 (asin_test_towardzero): Likewise.
13958 (asin_test_downward): Likewise.
13959 (asin_test_upward): Likewise.
13960 (asinh_test): Likewise.
13961 (atan_test): Likewise.
13962 (atanh_test): Likewise.
13963 (atan2_test): Likewise.
13964 (cabs_test): Likewise.
13965 (cacos_test): Likewise.
13966 (cacosh_test): Likewise.
13967 (casin_test): Likewise.
13968 (casinh_test): Likewise.
13969 (catan_test): Likewise.
13970 (catanh_test): Likewise.
13971 (cbrt_test): Likewise.
13972 (ccos_test): Likewise.
13973 (ccosh_test): Likewise.
13974 (cexp_test): Likewise.
13975 (clog_test): Likewise.
13976 (clog10_test): Likewise.
13977 (cos_test): Likewise.
13978 (cos_test_tonearest): Likewise.
13979 (cos_test_towardzero): Likewise.
13980 (cos_test_downward): Likewise.
13981 (cos_test_upward): Likewise.
13982 (cosh_test): Likewise.
13983 (cosh_test_tonearest): Likewise.
13984 (cosh_test_towardzero): Likewise.
13985 (cosh_test_downward): Likewise.
13986 (cosh_test_upward): Likewise.
13987 (cpow_test): Likewise.
13988 (csin_test): Likewise.
13989 (csinh_test): Likewise.
13990 (csqrt_test): Likewise.
13991 (ctan_test): Likewise.
13992 (ctan_test_tonearest): Likewise.
13993 (ctan_test_towardzero): Likewise.
13994 (ctan_test_downward): Likewise.
13995 (ctan_test_upward): Likewise.
13996 (ctanh_test): Likewise.
13997 (ctanh_test_tonearest): Likewise.
13998 (ctanh_test_towardzero): Likewise.
13999 (ctanh_test_downward): Likewise.
14000 (ctanh_test_upward): Likewise.
14001 (erf_test): Likewise.
14002 (erfc_test): Likewise.
14003 (exp_test): Likewise.
14004 (exp_test_tonearest): Likewise.
14005 (exp_test_towardzero): Likewise.
14006 (exp_test_downward): Likewise.
14007 (exp_test_upward): Likewise.
14008 (exp10_test): Likewise.
14009 (exp2_test): Likewise.
14010 (expm1_test): Likewise.
14011 (fmod_test): Likewise.
14012 (gamma_test): Likewise.
14013 (hypot_test): Likewise.
14014 (j0_test): Likewise.
14015 (j1_test): Likewise.
14016 (jn_test): Likewise.
14017 (lgamma_test): Likewise.
14018 (log_test): Likewise.
14019 (log10_test): Likewise.
14020 (log1p_test): Likewise.
14021 (log2_test): Likewise.
14022 (logb_test_downward): Likewise.
14023 (pow_test): Likewise.
14024 (pow_test_tonearest): Likewise.
14025 (pow_test_towardzero): Likewise.
14026 (pow_test_downward): Likewise.
14027 (pow_test_upward): Likewise.
14028 (remainder_test): Likewise.
14029 (remquo_test): Likewise.
14030 (sin_test): Likewise.
14031 (sin_test_tonearest): Likewise.
14032 (sin_test_towardzero): Likewise.
14033 (sin_test_downward): Likewise.
14034 (sin_test_upward): Likewise.
14035 (sincos_test): Likewise.
14036 (sinh_test): Likewise.
14037 (sinh_test_tonearest): Likewise.
14038 (sinh_test_towardzero): Likewise.
14039 (sinh_test_downward): Likewise.
14040 (sinh_test_upward): Likewise.
14041 (sqrt_test): Likewise.
14042 (tan_test): Likewise.
14043 (tan_test_tonearest): Likewise.
14044 (tan_test_towardzero): Likewise.
14045 (tan_test_downward): Likewise.
14046 (tan_test_upward): Likewise.
14047 (tanh_test): Likewise.
14048 (tgamma_test): Likewise.
14049 (y0_test): Likewise.
14050 (y1_test): Likewise.
14051 (yn_test): Likewise.
14052
323e5cb7
JM
14053 * math/gen-libm-test.pl (adjust_arg): Remove function.
14054 (special_function): Remove argument $in_func. Only handle
14055 generating output for tables of tests, not inside functions.
14056 (parse_args): Likewise.
14057 (generate_testfile): Remove variable $in_func. Update call to
14058 parse_args.
14059 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14060 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14061 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14062 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14063 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14064 (MAX_VALUE_INIT): Rename macro to max_value.
14065 (MIN_VALUE_INIT): Rename macro to min_value.
14066 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14067 (plus_zero): Remove variable.
14068 (minus_zero): Likewise.
14069 (plus_infty): Likewise.
14070 (minus_infty): Likewise.
14071 (qnan_value): Likewise.
14072 (max_value): Likewise.
14073 (min_value): Likewise.
14074 (min_subnorm_value): Likewise.
14075
e054f494
RA
140762013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14077
14078 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14079 uint64_t or uint32_t usage.
14080 * crypt/sha256-block.c: Likewise.
14081 * crypt/sha256-crypt.c: Likewise.
14082 * crypt/sha256.c: Likewise.
14083 * crypt/sha512-block.c: Likewise.
14084 * crypt/sha512-crypt.c: Likewise.
14085 * crypt/sha512.c: Likewise.
14086 * debug/backtrace-tst.c: Likewise.
14087 * debug/pcprofiledump.c: Likewise.
14088 * elf/cache.c: Likewise.
14089 * elf/dl-cache.c: Likewise.
14090 * elf/dl-misc.c: Likewise.
14091 * elf/dl-profile.c: Likewise.
14092 * elf/dl-support.c: Likewise.
14093 * elf/ldconfig.c: Likewise.
14094 * elf/sprof.c: Likewise.
14095 * iconv/dummy-repertoire.c: Likewise.
14096 * iconv/iconv_charmap.c: Likewise.
14097 * iconv/skeleton.c: Likewise.
14098 * iconvdata/8bit-generic.c: Likewise.
14099 * iconvdata/cp737.h: Likewise.
14100 * iconvdata/cp775.h: Likewise.
14101 * iconvdata/ibm1008.h: Likewise.
14102 * iconvdata/ibm1025.h: Likewise.
14103 * iconvdata/ibm1046.h: Likewise.
14104 * iconvdata/ibm1097.h: Likewise.
14105 * iconvdata/ibm1112.h: Likewise.
14106 * iconvdata/ibm1122.h: Likewise.
14107 * iconvdata/ibm1123.h: Likewise.
14108 * iconvdata/ibm1124.h: Likewise.
14109 * iconvdata/ibm1129.h: Likewise.
14110 * iconvdata/ibm1130.h: Likewise.
14111 * iconvdata/ibm1132.h: Likewise.
14112 * iconvdata/ibm1133.h: Likewise.
14113 * iconvdata/ibm1137.h: Likewise.
14114 * iconvdata/ibm1140.h: Likewise.
14115 * iconvdata/ibm1141.h: Likewise.
14116 * iconvdata/ibm1142.h: Likewise.
14117 * iconvdata/ibm1143.h: Likewise.
14118 * iconvdata/ibm1144.h: Likewise.
14119 * iconvdata/ibm1145.h: Likewise.
14120 * iconvdata/ibm1146.h: Likewise.
14121 * iconvdata/ibm1147.h: Likewise.
14122 * iconvdata/ibm1148.h: Likewise.
14123 * iconvdata/ibm1149.h: Likewise.
14124 * iconvdata/ibm1153.h: Likewise.
14125 * iconvdata/ibm1154.h: Likewise.
14126 * iconvdata/ibm1155.h: Likewise.
14127 * iconvdata/ibm1156.h: Likewise.
14128 * iconvdata/ibm1157.h: Likewise.
14129 * iconvdata/ibm1158.h: Likewise.
14130 * iconvdata/ibm1160.h: Likewise.
14131 * iconvdata/ibm1161.h: Likewise.
14132 * iconvdata/ibm1162.h: Likewise.
14133 * iconvdata/ibm1163.h: Likewise.
14134 * iconvdata/ibm1164.h: Likewise.
14135 * iconvdata/ibm1166.h: Likewise.
14136 * iconvdata/ibm1167.h: Likewise.
14137 * iconvdata/ibm12712.h: Likewise.
14138 * iconvdata/ibm1390.h: Likewise.
14139 * iconvdata/ibm1399.h: Likewise.
14140 * iconvdata/ibm16804.h: Likewise.
14141 * iconvdata/ibm4517.h: Likewise.
14142 * iconvdata/ibm4899.h: Likewise.
14143 * iconvdata/ibm4909.h: Likewise.
14144 * iconvdata/ibm4971.h: Likewise.
14145 * iconvdata/ibm5347.h: Likewise.
14146 * iconvdata/ibm803.h: Likewise.
14147 * iconvdata/ibm856.h: Likewise.
14148 * iconvdata/ibm901.h: Likewise.
14149 * iconvdata/ibm902.h: Likewise.
14150 * iconvdata/ibm9030.h: Likewise.
14151 * iconvdata/ibm9066.h: Likewise.
14152 * iconvdata/ibm921.h: Likewise.
14153 * iconvdata/ibm922.h: Likewise.
14154 * iconvdata/ibm9448.h: Likewise.
14155 * iconvdata/isiri-3342.h: Likewise.
14156 * iconvdata/jis0201.h: Likewise.
14157 * include/link.h: Likewise.
14158 * include/netdb.h: Likewise.
14159 * inet/check_native.c: Likewise.
14160 * inet/check_pf.c: Likewise.
14161 * inet/getipv4sourcefilter.c: Likewise.
14162 * inet/getnameinfo.c: Likewise.
14163 * inet/getsourcefilter.c: Likewise.
14164 * inet/htonl.c: Likewise.
14165 * inet/setipv4sourcefilter.c: Likewise.
14166 * inet/setsourcefilter.c: Likewise.
14167 * inet/test-inet6_opt.c: Likewise.
14168 * inet/tst-network.c: Likewise.
14169 * locale/C-collate.c: Likewise.
14170 * locale/C-ctype.c: Likewise.
14171 * locale/C-time.c: Likewise.
14172 * locale/C-translit.h: Likewise.
14173 * locale/loadarchive.c: Likewise.
14174 * locale/programs/3level.h: Likewise.
14175 * locale/programs/charmap.c: Likewise.
14176 * locale/programs/charmap.h: Likewise.
14177 * locale/programs/ld-address.c: Likewise.
14178 * locale/programs/ld-collate.c: Likewise.
14179 * locale/programs/ld-ctype.c: Likewise.
14180 * locale/programs/ld-identification.c: Likewise.
14181 * locale/programs/ld-measurement.c: Likewise.
14182 * locale/programs/ld-messages.c: Likewise.
14183 * locale/programs/ld-monetary.c: Likewise.
14184 * locale/programs/ld-name.c: Likewise.
14185 * locale/programs/ld-numeric.c: Likewise.
14186 * locale/programs/ld-paper.c: Likewise.
14187 * locale/programs/ld-telephone.c: Likewise.
14188 * locale/programs/ld-time.c: Likewise.
14189 * locale/programs/linereader.c: Likewise.
14190 * locale/programs/locale.c: Likewise.
14191 * locale/programs/locarchive.c: Likewise.
14192 * locale/programs/locfile.h: Likewise.
14193 * locale/programs/repertoire.c: Likewise.
14194 * locale/programs/simple-hash.c: Likewise.
14195 * locale/programs/simple-hash.h: Likewise.
14196 * malloc/memusage.c: Likewise.
14197 * malloc/memusagestat.c: Likewise.
14198 * nis/nis_defaults.c: Likewise.
14199 * nis/nis_hash.c: Likewise.
14200 * nis/nis_print.c: Likewise.
14201 * nis/nis_xdr.c: Likewise.
14202 * nscd/connections.c: Likewise.
14203 * nscd/hstcache.c: Likewise.
14204 * nscd/nscd_gethst_r.c: Likewise.
14205 * nscd/nscd_getserv_r.c: Likewise.
14206 * nscd/nscd_helper.c: Likewise.
14207 * nscd/servicescache.c: Likewise.
14208 * nss/makedb.c: Likewise.
14209 * nss/nss_db/db-XXX.c: Likewise.
14210 * nss/nss_db/db-initgroups.c: Likewise.
14211 * nss/nss_db/db-netgrp.c: Likewise.
14212 * nss/nss_files/files-network.c: Likewise.
14213 * nss/nss_files/files-parse.c: Likewise.
14214 * posix/bug-regex5.c: Likewise.
14215 * posix/fnmatch_loop.c: Likewise.
14216 * posix/regcomp.c: Likewise.
14217 * posix/regexec.c: Likewise.
14218 * posix/tst-rfc3484-2.c: Likewise.
14219 * posix/tst-rfc3484-3.c: Likewise.
14220 * posix/tst-rfc3484.c: Likewise.
14221 * resolv/nss_dns/dns-canon.c: Likewise.
14222 * resolv/nss_dns/dns-network.c: Likewise.
14223 * resolv/res_init.c: Likewise.
14224 * resolv/res_mkquery.c: Likewise.
14225 * resolv/tst-aton.c: Likewise.
14226 * stdlib/cxa_atexit.c: Likewise.
14227 * stdlib/cxa_finalize.c: Likewise.
14228 * stdlib/gen-fpioconst.c: Likewise.
14229 * stdlib/strtol_l.c: Likewise.
14230 * string/tst-endian.c: Likewise.
14231 * sunrpc/auth_des.c: Likewise.
14232 * sunrpc/clnt_udp.c: Likewise.
14233 * sunrpc/rtime.c: Likewise.
14234 * sunrpc/svcauth_des.c: Likewise.
14235 * sunrpc/xdr.c: Likewise.
14236 * sunrpc/xdr_intXX_t.c: Likewise.
14237 * sunrpc/xdr_rec.c: Likewise.
14238 * sysdeps/generic/ldconfig.h: Likewise.
14239 * sysdeps/generic/ldsodefs.h: Likewise.
14240 * sysdeps/generic/memusage.h: Likewise.
14241 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14242 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14243 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14244 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14245 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14246 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14247 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14248 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14249 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14251 * sysdeps/posix/getaddrinfo.c: Likewise.
14252 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14253 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14254 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14255 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14256 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14257 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14258 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14259 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14260 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14261 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14262 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14263 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14264 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14265 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14266 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14267 * sysdeps/x86_64/dl-tls.h: Likewise.
14268 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14269 * time/alt_digit.c: Likewise.
14270 * time/era.c: Likewise.
14271 * wcsmbs/tst-c16c32-1.c: Likewise.
14272
8c75f674
JM
142732013-05-16 Joseph Myers <joseph@codesourcery.com>
14274
14275 * math/libm-test.inc (struct test_sincos_data): New type.
14276 (RUN_TEST_LOOP_sincos): New macro.
14277 (sincos_test_data): New variable.
14278 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14279
e6e49e59
RH
142802013-05-16 Richard Henderson <rth@redhat.com>
14281
14282 * math/atest-exp2.c (LIMB64): New macro.
14283 (CONSTSZ): New macro.
14284 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14285 (hexdig): Move ...
14286 (print_mpn_fp): ... to function scope.
14287 (read_mpn_hex): Remove.
14288 (get_log2): Remove.
14289 (exp2_mpn): Use mp_log2.
14290 (main): Use mp_exp1.
14291
15c7c18d
JM
142922013-05-16 Joseph Myers <joseph@codesourcery.com>
14293
105a07df
JM
14294 * math/libm-test.inc: Remove comment about not testing "inexact"
14295 exceptions.
14296 (INEXACT_EXCEPTION): New macro.
14297 (NO_INEXACT_EXCEPTION): Likewise.
14298 (INVALID_EXCEPTION_OK): Update value.
14299 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14300 (OVERFLOW_EXCEPTION_OK): Likewise.
14301 (UNDERFLOW_EXCEPTION_OK): Likewise.
14302 (IGNORE_ZERO_INF_SIGN): Likewise.
14303 (ERRNO_UNCHANGED): Likewise.
14304 (ERRNO_EDOM): Likewise.
14305 (ERRNO_ERANGE): Likewise.
14306 (test_exceptions): Handle testing "inexact" exceptions.
14307 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14308 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14309 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14310 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14311 INEXACT_EXCEPTION.
14312 (rint_towardzero_test_data): Likewise.
14313 (rint_downward_test_data): Likewise.
14314 (rint_upward_test_data): Likewise.
14315
e9eee333
JM
14316 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14317 with OVERFLOW_EXCEPTION.
14318 (exp10_test_data): Likewise.
14319 (exp2_test_data): Likewise.
14320 (expm1_test_data): Likewise.
14321 (lgamma_test_data): Likewise.
14322 (pow_test_data): Likewise.
14323 (tgamma_test_data): Likewise.
14324 (yn_test_data): Remove duplicate test of overflow.
14325
1c38ff73
JM
14326 * math/libm-test.inc (struct test_cc_c_data): New type.
14327 (RUN_TEST_LOOP_cc_c): New macro.
14328 (cpow_test_data): New variable.
14329 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14330
15c7c18d
JM
14331 * math/libm-test.inc (struct test_f_L_data): New type.
14332 (RUN_TEST_LOOP_f_L): New macro.
14333 (llrint_test_data): New variable.
14334 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14335 (llrint_tonearest_test_data): New variable.
14336 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14337 (llrint_towardzero_test_data): New variable.
14338 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14339 (llrint_downward_test_data): New variable.
14340 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14341 (llrint_upward_test_data): New variable.
14342 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14343 (llround_test_data): New variable.
14344 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14345
f137ff13
PC
143462013-05-13 Peter Collingbourne <pcc@google.com>
14347
14348 * math/atest-exp2.c (get_log2): Remove const attribute.
14349
3608cb24
JM
143502013-05-15 Joseph Myers <joseph@codesourcery.com>
14351
14352 * math/libm-test.inc (struct test_f_l_data): New type.
14353 (RUN_TEST_LOOP_f_l): New macro.
14354 (lrint_test_data): New variable.
14355 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14356 (lrint_tonearest_test_data): New variable.
14357 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14358 (lrint_towardzero_test_data): New variable.
14359 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14360 (lrint_downward_test_data): New variable.
14361 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14362 (lrint_upward_test_data): New variable.
14363 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14364 (lround_test_data): New variable.
14365 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14366
39b1f617
PC
143672013-05-15 Peter Collingbourne <pcc@google.com>
14368
1deff3dc
PC
14369 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14370 (EXTRACT_WORDS64) Use where appropriate.
14371 (INSERT_WORDS64) Likewise.
14372
791f3ba0
PC
14373 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14374 constraints with x constraints.
14375 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14376
39b1f617
PC
14377 * malloc/obstack.c (_obstack_compat): Add initializer.
14378
12fba011
EM
143792013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14380
14381 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14382 si_trapno and add si_addr_lsb to _sifields.sigfault.
14383 (si_trapno): Remove macro.
14384 (si_addr_lsb): Define new macro.
14385 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14386
d369f531
JM
143872013-05-15 Joseph Myers <joseph@codesourcery.com>
14388
b861c6c4
JM
14389 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14390 instead of TEST_f_l.
14391 (llrint_test_tonearest): Likewise.
14392 (llrint_test_towardzero): Likewise.
14393 (llrint_test_downward): Likewise.
14394 (llrint_test_upward): Likewise.
14395 (llround_test): Likewise.
14396
7abeee12
JM
14397 * math/libm-test.inc (struct test_f_i_data): Add comment.
14398 (RUN_TEST_LOOP_f_b): New macro.
14399 (RUN_TEST_LOOP_f_b_tg): Likewise.
14400 (finite_test_data): New variable.
14401 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14402 (isfinite_test_data): New variable.
14403 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14404 (isinf_test_data): New variable.
14405 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14406 (isnan_test_data): New variable.
14407 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14408 (isnormal_test_data): New variable.
14409 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14410 (issignaling_test_data): New variable.
14411 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14412 (signbit_test_data): New variable.
14413 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14414
cbe8c4d3
JM
14415 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14416 with INVALID_EXCEPTION.
14417 (acosh_test_data): Likewise.
14418 (asin_test_data): Likewise.
14419 (atanh_test_data): Likewise.
14420 (fmod_test_data): Likewise.
14421 (log_test_data): Likewise.
14422 (log10_test_data): Likewise.
14423 (log2_test_data): Likewise.
14424 (pow_test_data): Likewise.
14425 (sqrt_test_data): Likewise.
14426 (y0_test_data): Likewise.
14427 (y1_test_data): Likewise.
14428 (yn_test_data): Likewise.
14429
5575c0e5
JM
14430 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14431 function contents.
14432
d369f531
JM
14433 * math/libm-test.inc (struct test_ff_i_data): New type.
14434 (RUN_TEST_LOOP_ff_i_tg): New macro.
14435 (isgreater_test_data): New variable.
14436 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14437 (isgreaterequal_test_data): New variable.
14438 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14439 (isless_test_data): New variable.
14440 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14441 (islessequal_test_data): New variable.
14442 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14443 (islessgreater_test_data): New variable.
14444 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14445 (isunordered_test_data): New variable.
14446 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14447
781fd748
DM
144482013-05-14 David S. Miller <davem@davemloft.net>
14449
14450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14451
87aa21df
JM
144522013-05-14 Joseph Myers <joseph@codesourcery.com>
14453
5e908270
JM
14454 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14455
f71172e5
JM
14456 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14457 extra_test to int.
14458 (struct test_f_i_data): Change type of max_ulp to int.
14459
8cfa635a
JM
14460 * math/libm-test.inc (test_ffI_f1_data): New type.
14461 (RUN_TEST_LOOP_ffI_f1): New macro.
14462 (remquo_test_data): New variable.
14463 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14464
2bcb36b2
JM
14465 * setjmp/tst-setjmp-fp.c: New file.
14466 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14467 (link-libm): New variable.
14468 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14469
acbd839a
JM
14470 * math/libm-test.inc (struct test_f_i_data): New type.
14471 (RUN_TEST_LOOP_f_i): New macro.
14472 (RUN_TEST_LOOP_f_i_tg): Likewise.
14473 (fpclassify_test_data): New variable.
14474 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14475 (ilogb_test_data): New variable.
14476 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14477
e414d745
JM
14478 * math/libm-test.inc (scalbln_test): Correct function name in END
14479 call.
14480
d9c2a0fd
JM
14481 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14482 (RUN_TEST_LOOP_fI_f1): New macro.
14483 (frexp_test_data): New variable.
14484 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14485
9dc9095d
JM
14486 * math/libm-test.inc (struct test_fF_f1_data): New type.
14487 (RUN_TEST_LOOP_fF_f1): New macro.
14488 (modf_test_data): New variable.
14489 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14490
87aa21df
JM
14491 * math/libm-test.inc (struct test_f_f1_data): New type.
14492 (RUN_TEST_LOOP_f_f1): New macro.
14493 (gamma_test_data): New variable.
14494 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14495 (lgamma_test_data): New variable.
14496 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14497
141af660
CD
144982013-05-13 Carlos O'Donell <carlos@redhat.com>
14499
14500 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14501 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14502 (main): Comment "tls" pseudo-hwcap.
14503
6d33265c
JM
145042013-05-13 Joseph Myers <joseph@codesourcery.com>
14505
68fc074c
JM
14506 * math/libm-test.inc (struct test_fl_f_data): New type.
14507 (RUN_TEST_LOOP_fl_f): New variable.
14508 (scalbln_test_data): New variable.
14509 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14510
243216e1
JM
14511 * math/libm-test.inc (struct test_fi_f_data): New type.
14512 (RUN_TEST_LOOP_fi_f): New macro.
14513 (ldexp_test_data): New variable.
14514 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14515 (scalbn_test_data): New variable.
14516 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14517
6a1992e2
JM
14518 * math/libm-test.inc (struct test_c_f_data): New type.
14519 (RUN_TEST_LOOP_c_f): New macro.
14520 (cabs_test_data): New variable.
14521 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14522 (carg_test_data): New variable.
14523 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14524 (cimag_test_data): New variable.
14525 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14526 (creal_test_data): New variable.
14527 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14528
0e400df5
JM
14529 * math/libm-test.inc (struct test_if_f_data): New type.
14530 (RUN_TEST_LOOP_if_f): New macro.
14531 (jn_test_data): New variable.
14532 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14533 (yn_test_data): New variable.
14534 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14535
6d33265c
JM
14536 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14537
f98ece5f
AZ
145382013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14539
14540 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14541 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14542
0f7d347b
SP
145432013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14544
43fe811b
SP
14545 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14546 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14547 (bench-deps): Add bench-timing.h.
14548 * benchtests-bench-skeleton.c: Include bench-timing.h.
14549 (main): Use TIMING_* macros instead of clock_gettime.
14550 * benchtests/bench-timing.h: New file.
14551
0f7d347b
SP
14552 [BZ #14582]
14553 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14554 Renamed from _LIB_VERSION.
14555 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14556
601a3a5f
JM
145572013-05-12 Joseph Myers <joseph@codesourcery.com>
14558
4f184d30
JM
14559 * math/libm-test.inc (struct test_fff_f_data): New type.
14560 (RUN_TEST_LOOP_fff_f): New macro.
14561 (fma_test_data): New variable.
14562 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14563 (fma_towardzero_test_data): New variable.
14564 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14565 (fma_downward_test_data): New variable.
14566 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14567 (fma_upward_test_data): New variable.
14568 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14569
08198877
JM
14570 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14571 (struct test_c_c_data): New type.
14572 (RUN_TEST_LOOP_c_c): New macro.
14573 (cacos_test_data): New variable.
14574 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14575 (cacosh_test_data): New variable.
14576 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14577 (casin_test_data): New variable.
14578 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14579 (casinh_test_data): New variable.
14580 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14581 (catan_test_data): New variable.
14582 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14583 (catanh_test_data): New variable.
14584 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14585 (ccos_test_data): New variable.
14586 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14587 (ccosh_test_data): New variable.
14588 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14589 (cexp_test_data): New variable.
14590 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14591 (clog_test_data): New variable.
14592 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14593 (clog10_test_data): New variable.
14594 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14595 (conj_test_data): New variable.
14596 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14597 (cproj_test_data): New variable.
14598 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14599 (csin_test_data): New variable.
14600 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14601 (csinh_test_data): New variable.
14602 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14603 (csqrt_test_data): New variable.
14604 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14605 (ctan_test_data): New variable.
14606 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14607 (ctan_tonearest_test_data): New variable.
14608 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14609 (ctan_towardzero_test_data): New variable.
14610 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14611 (ctan_downward_test_data): New variable.
14612 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14613 (ctan_upward_test_data): New variable.
14614 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14615 (ctanh_test_data): New variable.
14616 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14617 (ctanh_tonearest_test_data): New variable.
14618 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14619 (ctanh_towardzero_test_data): New variable.
14620 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14621 (ctanh_downward_test_data): New variable.
14622 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14623 (ctanh_upward_test_data): New variable.
14624 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14625 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14626 of BUILD_COMPLEX.
14627
601a3a5f
JM
14628 * math/libm-test.inc (struct test_ff_f_data): New type.
14629 (struct test_ff_f_data_nexttoward): Likewise.
14630 (RUN_TEST_LOOP_2_f): New macro.
14631 (RUN_TEST_LOOP_ff_f): Likewise.
14632 (atan2_test_data): New variable.
14633 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14634 (copysign_test_data): New variable.
14635 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14636 (fdim_test_data): New variable.
14637 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14638 (fmax_test_data): New variable.
14639 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14640 (fmin_test_data): New variable.
14641 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14642 (fmod_test_data): New variable.
14643 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14644 (hypot_test_data): New variable.
14645 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14646 (nextafter_test_data): New variable.
14647 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14648 (nexttoward_test_data): New variable.
14649 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14650 (pow_test_data): New variable.
14651 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14652 (pow_tonearest_test_data): New variable.
14653 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14654 (pow_towardzero_test_data): New variable.
14655 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14656 (pow_downward_test_data): New variable.
14657 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14658 (pow_upward_test_data): New variable.
14659 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14660 (remainder_test_data): New variable.
14661 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14662 (scalb_test_data): New variable.
14663 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14664 * sysdeps/i386/fpu/libm-test-ulps: Update.
14665
74c57478
JM
146662013-05-11 Joseph Myers <joseph@codesourcery.com>
14667
8329e4da
JM
14668 * math/libm-test.inc (fma_test): Use max_value instead of local
14669 variable fltmax.
14670 (nextafter_test): Likewise.
14671
74c57478
JM
14672 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14673 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14674 (acos_downward_test_data): New variable.
14675 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14676 (acos_upward_test_data): New variable.
14677 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14678 (acosh_test_data): New variable.
14679 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14680 (asin_test_data): New variable.
14681 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14682 (asin_tonearest_test_data): New variable.
14683 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14684 (asin_towardzero_test_data): New variable.
14685 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14686 (asin_downward_test_data): New variable.
14687 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14688 (asin_upward_test_data): New variable.
14689 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14690 (asinh_test_data): New variable.
14691 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14692 (atan_test_data): New variable.
14693 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14694 (atanh_test_data): New variable.
14695 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14696 (cbrt_test_data): New variable.
14697 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14698 (ceil_test_data): New variable.
14699 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14700 (cos_test_data): New variable.
14701 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14702 (cos_tonearest_test_data): New variable.
14703 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14704 (cos_towardzero_test_data): New variable.
14705 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14706 (cos_downward_test_data): New variable.
14707 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14708 (cos_upward_test_data): New variable.
14709 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14710 (cosh_test_data): New variable.
14711 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14712 (cosh_tonearest_test_data): New variable.
14713 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14714 (cosh_towardzero_test_data): New variable.
14715 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14716 (cosh_downward_test_data): New variable.
14717 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14718 (cosh_upward_test_data): New variable.
14719 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14720 (erf_test_data): New variable.
14721 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14722 (erfc_test_data): New variable.
14723 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14724 (exp_test_data): New variable.
14725 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14726 (exp_tonearest_test_data): New variable.
14727 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14728 (exp_towardzero_test_data): New variable.
14729 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14730 (exp_downward_test_data): New variable.
14731 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14732 (exp_upward_test_data): New variable.
14733 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14734 (exp10_test_data): New variable.
14735 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14736 (exp2_test_data): New variable.
14737 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14738 (expm1_test_data): New variable.
14739 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14740 (fabs_test_data): New variable.
14741 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14742 (floor_test_data): New variable.
14743 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14744 (j0_test_data): New variable.
14745 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14746 (j1_test_data): New variable.
14747 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14748 (log_test_data): New variable.
14749 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14750 (log10_test_data): New variable.
14751 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14752 (log1p_test_data): New variable.
14753 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14754 (log2_test_data): New variable.
14755 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14756 (logb_test_data): New variable.
14757 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14758 (logb_downward_test_data): New variable.
14759 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14760 (nearbyint_test_data): New variable.
14761 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14762 (rint_test_data): New variable.
14763 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14764 (rint_tonearest_test_data): New variable.
14765 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14766 (rint_towardzero_test_data): New variable.
14767 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14768 (rint_downward_test_data): New variable.
14769 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14770 (rint_upward_test_data): New variable.
14771 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14772 (round_test_data): New variable.
14773 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14774 (sin_test_data): New variable.
14775 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14776 (sin_tonearest_test_data): New variable.
14777 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14778 (sin_towardzero_test_data): New variable.
14779 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14780 (sin_downward_test_data): New variable.
14781 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14782 (sin_upward_test_data): New variable.
14783 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14784 (sinh_test_data): New variable.
14785 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14786 (sinh_tonearest_test_data): New variable.
14787 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14788 (sinh_towardzero_test_data): New variable.
14789 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14790 (sinh_downward_test_data): New variable.
14791 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14792 (sinh_upward_test_data): New variable.
14793 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14794 (sqrt_test_data): New variable.
14795 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14796 (tan_test_data): New variable.
14797 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14798 (tan_tonearest_test_data): New variable.
14799 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14800 (tan_towardzero_test_data): New variable.
14801 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14802 (tan_downward_test_data): New variable.
14803 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14804 (tan_upward_test_data): New variable.
14805 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14806 (tanh_test_data): New variable.
14807 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14808 (tgamma_test_data): New variable.
14809 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14810 (trunc_test_data): New variable.
14811 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14812 (y0_test_data): New variable.
14813 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14814 (y1_test_data): New variable.
14815 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14816 (significand_test_data): New variable.
14817 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14818
7187d844
CG
148192013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14820
14821 [BZ #12387]
14822 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14823
f63fae73
PT
148242013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14825
14826 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14827
8a67a4b3
AJ
148282013-05-10 Andreas Jaeger <aj@suse.de>
14829
14830 [BZ #15448]
14831 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14832 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14833
51df539d
JM
148342013-05-10 Joseph Myers <joseph@codesourcery.com>
14835
14836 * math/gen-libm-test.pl (adjust_arg): New function.
14837 (special_functions): Handle generating output in both functions
14838 and arrays.
14839 (parse_args): Likewise.
14840 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14841 $in_func argument to parse_args.
14842 * math/libm-test.inc (struct test_f_f_data): New type.
14843 (IF_ROUND_INIT_): New macro.
14844 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14845 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14846 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14847 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14848 (ROUND_RESTORE_): Likewise.
14849 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14850 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14851 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14852 (ROUND_RESTORE_FE_UPWARD): Likewise.
14853 (RUN_TEST_LOOP_f_f): New macro.
14854 (acos_test_data): New variable.
14855 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14856 (acos_tonearest_test_data): New variable.
14857 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14858
5c637fe5
SP
148592013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14860
14861 * benchtests/bench-skeleton.c (startup): Fix coding style.
14862
ab2b9461
JM
148632013-05-10 Joseph Myers <joseph@codesourcery.com>
14864
14865 [BZ #6809]
14866 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14867 negative infinity argument.
14868 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14869 negative infinity argument.
14870 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14871 negative infinity argument.
14872 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14873 domain errors.
14874
4c0fe6fe
FW
148752013-05-10 Florian Weimer <fweimer@redhat.com>
14876
14877 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14878 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14879 * iconv/iconv_prog.c (main): Likewise.
14880 * locale/programs/charmap-dir.c (charmap_readdir)
14881 (fopen_uncompressed): Likewise.
14882 * locale/programs/locfile.c (siblings_uncached)
14883 (write_locale_data): Use lstat64 instead of lstat.
14884 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14885 stat.
14886
a3375d29
AJ
148872013-05-10 Andreas Jaeger <aj@suse.de>
14888
14889 [BZ #15395]
14890 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14891 localization.
14892 Include <locale.h>.
14893
36129722
CD
148942013-05-09 Carlos O'Donell <carlos@redhat.com>
14895
14896 * elf/dl-close.c (_dl_close_worker): Add comments.
14897
faa7f811
JM
148982013-05-09 Joseph Myers <joseph@codesourcery.com>
14899
ed41ffef
JM
14900 [BZ #15359]
14901 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14902 high part of pi/2.
14903 (__ieee754_rem_pio2l): Update comments.
14904
d0213cd0
JM
14905 [BZ #15429]
14906 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14907 high part of pi/2.
14908 (__ieee754_rem_pio2l): Update comments.
14909
0d3e777a
JM
14910 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14911 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14912
24f56066
JM
14913 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14914 M_PI_4l.
14915
faa7f811
JM
14916 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14917 (M_PI_34_LOG10El): Likewise.
14918 (M_PI2_LOG10El): Likewise.
14919 (M_PI4_LOG10El): Likewise.
14920 (M_PI_LOG10El): Likewise.
14921
e9a5e0fd
AZ
149222013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14923
14924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14925
d8cd06db
JM
149262013-05-08 Joseph Myers <joseph@codesourcery.com>
14927
a0d9f9d7
JM
14928 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14929 (MINUS_ZERO_INIT): Likewise.
14930 (PLUS_INFTY_INIT): Likewise.
14931 (MINUS_INFTY_INIT): Likewise.
14932 (QNAN_VALUE_INIT): Likewise.
14933 (MAX_VALUE_INIT): Likewise.
14934 (MIN_VALUE_INIT): Likewise.
14935 (MIN_SUBNORM_VALUE_INIT): Likewise.
14936 (plus_zero): Initialize with PLUS_ZERO_INIT.
14937 (minus_zero): Initialize with MINUS_ZERO_INIT.
14938 (plus_infty): Initialize with PLUS_INFTY_INIT.
14939 (minus_infty): Initialize with MINUS_INFTY_INIT.
14940 (qnan_value): Initialize with QNAN_VALUE_INIT.
14941 (max_value): Initialize with MAX_VALUE_INIT.
14942 (min_value): Initialize with MIN_VALUE_INIT.
14943 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14944
ae08db3b
JM
14945 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14946 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14947 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14948 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14949
f44bf14a
JM
14950 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14951 (RUN_TEST_2_f): Likewise.
14952 (RUN_TEST_ff_f): Likewise.
14953 (RUN_TEST_fi_f): Likewise.
14954 (RUN_TEST_fl_f): Likewise.
14955 (RUN_TEST_fff_f): Likewise.
14956 (RUN_TEST_c_f): Likewise.
14957 (RUN_TEST_f_f1): Likewise.
14958 (RUN_TEST_fF_f1): Likewise.
14959 (RUN_TEST_fI_f1): Likewise.
14960 (RUN_TEST_ffI_f1): Likewise.
14961 (RUN_TEST_c_c): Likewise.
14962 (RUN_TEST_cc_c): Likewise.
14963 (RUN_TEST_f_i): Likewise.
14964 (RUN_TEST_f_i_tg): Likewise.
14965 (RUN_TEST_ff_i_tg): Likewise.
14966 (RUN_TEST_f_b): Likewise.
14967 (RUN_TEST_f_b_tg): Likewise.
14968 (RUN_TEST_f_l): Likewise.
14969 (RUN_TEST_f_L): Likewise.
14970 (RUN_TEST_sincos): Likewise.
14971 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14972 whether to show exceptions. Do not include ");\n" in return
14973 value.
14974 (special_functions): Output call to RUN_TEST_sincos instead of
14975 check_float calls. Update calls to new_test.
14976 (parse_args): Output call to single RUN_TEST_* macro instead of
14977 check_* calls and other assignments. Update calls to new_test.
14978
d8cd06db
JM
14979 [BZ #2546]
14980 [BZ #2560]
14981 [BZ #5159]
14982 [BZ #15426]
14983 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14984 input to result for tgamma overflow.
14985 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14986 (gamma_coeff): New variable.
14987 (NCOEFF): New macro.
14988 (gamma_positive): New function.
14989 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14990 underflow here. Use gamma_positive instead of exp (lgamma) for
14991 other arguments.
14992 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14993 (gamma_coeff): New variable.
14994 (NCOEFF): New macro.
14995 (gammaf_positive): New function.
14996 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14997 underflow here. Use gamma_positive instead of exp (lgamma) for
14998 other arguments.
14999 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15000 (gamma_coeff): New variable.
15001 (NCOEFF): New macro.
15002 (gammal_positive): New function.
15003 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15004 underflow here. Use gamma_positive instead of exp (lgamma) for
15005 other arguments.
15006 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15007 (gamma_coeff): New variable.
15008 (NCOEFF): New macro.
15009 (gammal_positive): New function.
15010 (__ieee754_gammal_r): Handle positive infinity, overflow and
15011 underflow here. Handle NaN the same as positive infinity. Remove
15012 check x < 0xffffffff for negative integers. Use gamma_positive
15013 instead of exp (lgamma) for other arguments.
15014 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15015 (gamma_coeff): New variable.
15016 (NCOEFF): New macro.
15017 (gammal_positive): New function.
15018 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15019 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15020 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15021 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15022 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15023 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15024 * sysdeps/generic/math_private.h (__gamma_productf): New
15025 prototype.
15026 (__gamma_product): Likewise.
15027 (__gamma_productl): Likewise.
15028 * math/Makefile (libm-calls): Add gamma_product.
15029 * math/libm-test.inc (tgamma_test): Add more tests.
15030 * sysdeps/i386/fpu/libm-test-ulps: Update.
15031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15032
bb7cf681
OB
150332013-05-08 Ondřej Bílka <neleai@seznam.cz>
15034
15035 * benchtests/bench-skeleton.c (main): Preheat CPU.
15036
ba853947
AJ
150372013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15038
15039 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15040
8347c74c
RM
150412013-05-07 Roland McGrath <roland@hack.frob.com>
15042
15043 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15044 and _dl_skip_args_internal.
15045
e8dd4791
CD
150462013-05-07 Carlos O'Donell <carlos@redhat.com>
15047
15048 * manual/message.texi (Message Translation): Talk about users.
15049 Message to key mapping impacts design.
15050
c7405830
RM
150512013-05-06 Roland McGrath <roland@hack.frob.com>
15052
a9173057
RM
15053 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15054
976e2f03
RM
15055 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15056
9723ffc5
RM
15057 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15058 * sysdeps/wordsize-64/glob64.c: ... here.
15059
962e6658
RM
15060 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15061 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15062 New macros.
15063
ee586a6d
RM
15064 * debug/getlogin_r_chk.c: Moved to ...
15065 * login/getlogin_r_chk.c: ... here.
15066 * debug/Makefile (routines): Move getlogin_r_chk to ...
15067 * login/Makefile (routines): ... here.
15068 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15069 * login/Versions (libc: GLIBC_2.4): ... here.
15070
355f9165
RM
15071 * io/poll.c (__poll): Renamed from poll.
15072 Add libc_hidden_def.
15073 (poll): Define as weak alias.
15074
bd9ffde6
RM
15075 * debug/ptsname_r_chk.c: Moved to ...
15076 * login/ptsname_r_chk.c: ... here.
15077 * debug/Makefile (routines): Move ptsname_r_chk to ...
15078 * login/Makefile (routines): ... here.
15079 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15080 * login/Versions (libc: GLIBC_2.4): ... here.
15081
8fb16a04
RM
15082 * posix/getlogin.c: Moved to ...
15083 * login/getlogin.c: ... here.
15084 * posix/getlogin_r.c: Moved to ...
15085 * login/getlogin_r.c: ... here.
15086 * posix/getlogin_r.c: Moved to ...
15087 * login/getlogin_r.c: ... here.
15088 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15089 * login/Makefile (routines): ... here.
15090 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15091 * login/Versions (libc: GLIBC_2.0): ... here.
15092
b99b892f
RM
15093 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15094 (setrlimit): Define as weak alias.
15095
c7405830
RM
15096 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15097 Call __ names for open, ftruncate, and close.
15098 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15099 (truncate): Define as weak alias.
15100
5bf96de5
JM
151012013-05-06 Joseph Myers <joseph@codesourcery.com>
15102
9ea3513c
JM
15103 * math/gen-libm-test.pl (parse_args): Initialize x before each
15104 test of frexp, modf and remquo.
15105
5bf96de5
JM
15106 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15107 test signgam value.
15108
16e616a7
AZ
151092013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15110
15111 [BZ #15418]
15112 [BZ #15419]
15113 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15114 internal tests.
15115 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15116
d5e82754
RM
151172013-05-06 Roland McGrath <roland@hack.frob.com>
15118
15119 * elf/dl-writev.h: New file.
15120 * elf/dl-misc.c: Include it.
15121 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15122 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15123
a7548d41
JM
151242013-05-04 Joseph Myers <joseph@codesourcery.com>
15125
b7dab1e4
JM
15126 * math/libm-test.inc (noXFails): Remove variable.
15127 (noXPasses): Likewise.
15128 (BUILD_COMPLEX_INT): Remove macro.
15129 (print_screen): Remove xfail argument.
15130 (print_screen_max_error): Likewise.
15131 (update_stats): Likewise.
15132 (print_max_error): Likewise. Update calls to other affected
15133 functions.
15134 (print_complex_max_error): Likewise.
15135 (test_single_exception): Update calls to print_screen.
15136 (test_single_errno): Likewise.
15137 (check_float_internal): Remove xfail argument. Update calls to
15138 other affected functions.
15139 (check_float): Likewise.
15140 (check_complex): Likewise.
15141 (check_int): Likewise.
15142 (check_long): Likewise.
15143 (check_bool): Likewise.
15144 (check_longlong): Likewise.
15145 (main): Don't print noXFails and noXPasses.
15146 * math/gen-libm-test.pl (top level): Don't mention expected
15147 failure handling in comment.
15148 (new_test): Don't handle expected failures.
15149 (parse_args): Don't mention expected failure handling in comment.
15150 (generate_testfile): Don't handle expected failures.
15151 (parse_ulps): Likewise.
15152 (print_ulps_file): Likewise.
15153 (get_failure): Remove function.
15154 (output_test): Don't handle expected failures.
15155 * make/README.libm-test: Don't mention expected failure handling.
15156
a7548d41
JM
15157 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15158 (minus_zero): Likewise.
15159 (plus_infty): Likewise.
15160 (minus_infty): Likewise.
15161 (qnan_value): Likewise.
15162 (max_value): Likewise.
15163 (min_value): Likewise.
15164 (min_subnorm_value): Likewise.
15165 (initialize): Do not initialize those variables dynamically.
15166
60bfd54c
RM
151672013-05-03 Roland McGrath <roland@hack.frob.com>
15168
cc0e6ed8
RM
15169 * io/open.c (__open_2): Moved to ...
15170 * io/open_2.c: ... this new file.
15171 * io/open64.c (__open64_2): Moved to ...
15172 * io/open64_2.c: ... this new file.
15173 * io/openat.c (__openat_2): Moved to ...
15174 * io/openat_2.c: ... this new file.
15175 * io/openat64.c (__openat64_2): Moved to ...
15176 * io/openat64_2.c: ... this new file.
15177 * io/Makefile (routines): Add them.
15178 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15179 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15180 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15181 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15182 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15183 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15184 (__openat64): Add hidden_ver.
15185 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15186 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15187
60bfd54c
RM
15188 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15189 Separately conditionalize setting of GLRO(dl_sysinfo) so
15190 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15191 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15192
83e7640f
AZ
151932013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15194
15195 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15196 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15197 definition.
15198 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15199 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15200 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15201 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15202 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15203
d5dc2af3
JM
152042013-05-03 Joseph Myers <joseph@codesourcery.com>
15205
c31a5b1e
JM
15206 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15207 test signgam value.
15208
d5dc2af3
JM
15209 * math/libm-test.inc (hypot_test): Do not use
15210 IGNORE_ZERO_INF_SIGN.
15211
164fd39d
AJ
152122013-05-03 Andreas Jaeger <aj@suse.de>
15213
15214 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15215 Linux 3.9.
15216 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15217 (PF_MAX): Adjust for VSOCK change.
15218
8237f48c
AZ
152192013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15220
15221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15222
9df02941
CD
152232013-05-02 Carlos O'Donell <carlos@redhat.com>
15224
15225 [BZ #15264]
15226 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15227 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15228 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15229
d422395e
DM
152302013-05-02 David S. Miller <davem@davemloft.net>
15231
15232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15233
a07c5731
OB
152342013-05-01 Ondřej Bílka <neleai@seznam.cz>
15235
15236 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15237
1324e37f
RM
152382013-05-01 Roland McGrath <roland@hack.frob.com>
15239
15240 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15241
0695940b
RS
152422013-05-01 Richard Smith <richard@metafoo.co.uk>
15243
bb5f27ad 15244 [BZ #14952]
0695940b
RS
15245 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15246 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15247 Use __attribute__ ((__gnu_inline__)).
15248 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15249 Don't use __attribute__ ((__gnu_inline__)).
15250
10de07f5
JM
152512013-05-01 Joseph Myers <joseph@codesourcery.com>
15252
15253 [BZ #15423]
15254 * math/s_catan.c (__catan): Handle small real or imaginary part of
15255 input specially to avoid spurious underflow.
15256 * math/s_catanf.c (__catanf): Likewise.
15257 * math/s_catanh.c (__catanh): Likewise.
15258 * math/s_catanhf.c (__catanhf): Likewise.
15259 * math/s_catanhl.c (__catanhl): Likewise.
15260 * math/s_catanl.c (__catanl): Likewise.
15261 * math/libm-test.inc (catan_test): Add more tests.
15262 (catanh_test): Likewise.
15263 * sysdeps/i386/fpu/libm-test-ulps: Update.
15264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15265
cb4d5414
AZ
152662013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15267
15268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15269
caf84319
JM
152702013-04-30 Joseph Myers <joseph@codesourcery.com>
15271
15272 [BZ #15416]
15273 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15274 accurately for denominator in atan2.
15275 * math/s_catanf.c (__catanf): Likewise.
15276 * math/s_catanh.c (__catanh): Likewise.
15277 * math/s_catanhf.c (__catanhf): Likewise.
15278 * math/s_catanhl.c (__catanhl): Likewise.
15279 * math/s_catanl.c (__catanl): Likewise.
15280 * math/libm-test.inc (catan_test): Add more tests.
15281 (catanh_test): Likewise.
15282 * sysdeps/i386/fpu/libm-test-ulps: Update.
15283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15284
d569c6ee
SP
152852013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15286
6dbe713d
SP
15287 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15288
f0ee064b
SP
15289 * benchtests/Makefile (bench): Remove slow benchmarks.
15290 * benchtests/atan-inputs: Add slow benchmark inputs.
15291 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15292 (BENCH_FUNC): Accept variant offset.
15293 (VARIANT): Define.
15294 * benchtests/bench-skeleton.c (main): Run benchmark for each
15295 variant.
15296 * benchtests/cos-inputs: Add slow benchmark inputs.
15297 * benchtests/exp-inputs: Likewise.
15298 * benchtests/pow-inputs: Likewise.
15299 * benchtests/sin-inputs: Likewise.
15300 * benchtests/slowatan-inputs: Remove.
15301 * benchtests/slowatan.c: Remove.
15302 * benchtests/slowcos-inputs: Remove.
15303 * benchtests/slowcos.c: Remove.
15304 * benchtests/slowexp-inputs: Remove.
15305 * benchtests/slowexp.c: Remove.
15306 * benchtests/slowpow-inputs: Remove.
15307 * benchtests/slowpow.c: Remove.
15308 * benchtests/slowsin-inputs: Remove.
15309 * benchtests/slowsin.c: Remove.
15310 * benchtests/slowtan-inputs: Remove.
15311 * benchtests/slowtan.c: Remove.
15312 * benchtests/tan-inputs: Add slow benchmark inputs.
15313 * scripts/bench.pl: Parse comments and directives.
15314
d569c6ee
SP
15315 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15316 in CPPFLAGS.
15317 ($(objpfx)bench-%.c): Remove *-ITER.
15318 * benchtests/bench-modf.c: Remove definition of ITER.
15319 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15320 (main): Loop for DURATION seconds instead of fixed number of
15321 iterations.
15322 * scripts/bench.pl: Don't expect iterations in parameters.
15323
a6a242fe
RM
153242013-04-29 Roland McGrath <roland@hack.frob.com>
15325
15326 * io/fchdir.c (__fchdir): Renamed from fchdir.
15327 (fchdir): Define as weak alias.
15328
f2da7793
JM
153292013-04-29 Joseph Myers <joseph@codesourcery.com>
15330
15331 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15332 (ERRNO_EDOM): Likewise.
15333 (ERRNO_ERANGE): Likewise.
15334 (noErrnoTests): New variable.
15335 (init_max_error): Set errno to 0.
15336 (test_single_errno): New function.
15337 (test_errno): Likewise.
15338 (check_float_internal): Call test_errno. Set errno to 0.
15339 (check_complex): Refer to errno tests in comment.
15340 (check_int): Call test_errno. Set errno to 0.
15341 (check_long): Likewise.
15342 (check_bool): Likewise.
15343 (check_longlong): Likewise.
15344 (cos_test): Use ERRNO_* flags for errno tests instead of
15345 check_int.
15346 (expm1_test): Likewise.
15347 (fmod_test): Likewise.
15348 (ilogb_test): Likewise.
15349 (lgamma_test): Likewise.
15350 (pow_test): Likewise.
15351 (remainder_test): Likewise.
15352 (sin_test): Likewise.
15353 (tan_test): Likewise.
15354 (yn_test): Likewise.
15355 (initialize): Set errno to 0.
15356 (main): Print number of errno tests.
15357 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15358
b1a36ceb
AJ
153592013-04-29 Andreas Jaeger <aj@suse.de>
15360
c3ed8088
AJ
15361 [BZ #15084]
15362 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15363 and RES_USEVC.
15364
f1a24198
AJ
15365 [BZ #15085]
15366 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15367 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15368 unimplemented.
15369
9ce3b2cb
AJ
15370 [BZ #15380]
15371 * stdlib/random.c (__initstate): Return NULL if
15372 __initstate fails.
15373
f1a24198 15374 [BZ #15086]
b1a36ceb
AJ
15375 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15376 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15377 RES_SNGLKUPREOP.
15378
7e7b6f36
AZ
153792013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15380
15381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15382
4d14f449
JM
153832013-04-29 Joseph Myers <joseph@codesourcery.com>
15384
15385 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15386 of individual tests.
15387 (casin_test): Likewise.
15388 (casinh_test): Likewise.
15389
5b4217d7
JM
153902013-04-27 Joseph Myers <joseph@codesourcery.com>
15391
15392 [BZ #15409]
15393 * math/s_catan.c (__catan): Handle arguments with large real or
15394 imaginary part separately without squaring.
15395 * math/s_catanf.c (__catanf): Likewise.
15396 * math/s_catanh.c (__catanh): Likewise.
15397 * math/s_catanhf.c (__catanhf): Likewise.
15398 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15399 and redefine.
15400 (__catanhl): Handle arguments with large real or imaginary part
15401 separately without squaring.
15402 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15403 and redefine.
15404 (__catanl): Handle arguments with large real or imaginary part
15405 separately without squaring.
15406 * math/libm-test.inc (catan_test): Add more tests.
15407 (catanh_test): Likewise.
15408 * sysdeps/i386/fpu/libm-test-ulps: Update.
15409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15410
4220c3ef
AJ
154112013-04-27 Andreas Jaeger <aj@suse.de>
15412
15413 [BZ #15007]
15414 * stdlib/stdlib.h: Update guards for qecvt.
15415 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15416 <stdlib.h>.
15417
4721b2d1
AM
154182013-04-27 Allan McRae <allan@archlinux.org>
15419
15420 * sysdeps/i386/fpu/libm-test-ulps: Update.
15421
f0302940
JM
154222013-04-26 Joseph Myers <joseph@codesourcery.com>
15423
9457fd95
JM
15424 [BZ #15406]
15425 * math/s_catan.c: Include <float.h>.
15426 (__catan): Ensure underflow exception occurs for underflowed
15427 result.
15428 * math/s_catanf.c: Include <float.h>.
15429 (__catanf): Ensure underflow exception occurs for underflowed
15430 result.
15431 * math/s_catanh.c: Include <float.h>.
15432 (__catanh): Ensure underflow exception occurs for underflowed
15433 result.
15434 * math/s_catanhf.c: Include <float.h>.
15435 (__catanhf): Ensure underflow exception occurs for underflowed
15436 result.
15437 * math/s_catanhl.c: Include <float.h>.
15438 (__catanhl): Ensure underflow exception occurs for underflowed
15439 result.
15440 * math/s_catanl.c: Include <float.h>.
15441 (__catanl): Ensure underflow exception occurs for underflowed
15442 result.
15443 * math/libm-test.inc (catan_test): Add more tests.
15444 (catanh_test): Likewise.
15445
f0302940
JM
15446 [BZ #15405]
15447 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15448 underflowed result.
15449 * math/s_ccoshf.c (__ccoshf): Likewise.
15450 * math/s_ccoshl.c (__ccoshl): Likewise.
15451 * math/s_csin.c (__csin): Likewise.
15452 * math/s_csinf.c (__csinf): Likewise.
15453 * math/s_csinh.c (__csinh): Likewise.
15454 * math/s_csinhf.c (__csinhf): Likewise.
15455 * math/s_csinhl.c (__csinhl): Likewise.
15456 * math/s_csinl.c (__csinl): Likewise.
15457 * math/libm-test.inc (ccos_test): Add more tests.
15458 (ccosh_test): Likewise.
15459 (csin_test): Likewise.
15460 (csinh_test): Likewise.
15461
aa630f59
AZ
154622013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15463
15464 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15465 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15466 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15467 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15468 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15469 powerpc/power5+/fpu folders.
15470 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15471
15472
1b835983
MT
154732013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15474
15475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15476
73709b26
JM
154772013-04-25 Joseph Myers <joseph@codesourcery.com>
15478
15479 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15480 additions to variable.
15481 [$(config-machine) = x86_64] (modules-names): Likewise.
15482 ($(objpfx)tst-audit3): Remove dependency.
15483 ($(objpfx)tst-audit3.out): Likewise.
15484 ($(objpfx)tst-audit4): Likewise.
15485 ($(objpfx)tst-audit4.out): Likewise.
15486 ($(objpfx)tst-audit5): Likewise.
15487 ($(objpfx)tst-audit5.out): Likewise.
15488 ($(objpfx)tst-audit6): Likewise.
15489 ($(objpfx)tst-audit6.out): Likewise.
15490 ($(objpfx)tst-audit7): Likewise.
15491 ($(objpfx)tst-audit7.out): Likewise.
15492 (tst-audit3-ENV): Remove variable.
15493 (tst-audit4-ENV): Likewise.
15494 (tst-audit5-ENV): Likewise.
15495 (tst-audit6-ENV): Likewise.
15496 (tst-audit7-ENV): Likewise.
15497 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15498 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15499 addition to variable.
15500 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15501 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15502 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15503 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15504 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15505 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15506 tst-audit3, tst-audit4 and tst-audit5.
15507 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15508 tst-audit6 and tst-audit7.
15509 [$(subdir) = elf] (modules-names): Add audit modules for those
15510 tests.
15511 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15512 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15513 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15514 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15515 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15516 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15517 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15518 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15519 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15520 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15521 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15522 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15523 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15524 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15525 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15526 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15527 Likewise.
15528 [$(subdir) = elf && $(config-cflags-avx) = yes]
15529 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15530 [$(subdir) = elf && $(config-cflags-avx) = yes]
15531 (CFLAGS-tst-auditmod4a.c): Likewise.
15532 [$(subdir) = elf && $(config-cflags-avx) = yes]
15533 (CFLAGS-tst-auditmod4b.c): Likewise.
15534 [$(subdir) = elf && $(config-cflags-avx) = yes]
15535 (CFLAGS-tst-auditmod6b.c): Likewise.
15536 [$(subdir) = elf && $(config-cflags-avx) = yes]
15537 (CFLAGS-tst-auditmod6c.c): Likewise.
15538 [$(subdir) = elf && $(config-cflags-avx) = yes]
15539 (CFLAGS-tst-auditmod7b.c): Likewise.
15540 * elf/tst-audit3.c: Move to ...
15541 * sysdeps/x86_64/tst-audit3.c: ... here.
15542 * elf/tst-audit4.c: Move to ...
15543 * sysdeps/x86_64/tst-audit4.c: ... here.
15544 * elf/tst-audit5.c: Move to ...
15545 * sysdeps/x86_64/tst-audit5.c: ... here.
15546 * elf/tst-audit6.c: Move to ...
15547 * sysdeps/x86_64/tst-audit6.c: ... here.
15548 * elf/tst-audit7.c: Move to ...
15549 * sysdeps/x86_64/tst-audit7.c: ... here.
15550 * elf/tst-auditmod3a.c: Move to ...
15551 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15552 * elf/tst-auditmod3b.c: Move to ...
15553 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15554 * elf/tst-auditmod4a.c: Move to ...
15555 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15556 * elf/tst-auditmod4b.c: Move to ...
15557 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15558 * elf/tst-auditmod5a.c: Move to ...
15559 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15560 * elf/tst-auditmod5b.c: Move to ...
15561 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15562 * elf/tst-auditmod6a.c: Move to ...
15563 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15564 * elf/tst-auditmod6b.c: Move to ...
15565 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15566 * elf/tst-auditmod6c.c: Move to ...
15567 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15568 * elf/tst-auditmod7a.c: Move to ...
15569 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15570 * elf/tst-auditmod7b.c: Move to ...
15571 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15572
1ef74943
PP
155732013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15574
15575 [BZ #15366]
15576 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15577 define unconditionally.
15578 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15579 define unconditionally.
15580 (INT8_C, INT16_C, etc.): Likewise.
15581
93fd48c5
MR
155822013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15583
ae9552cf
MR
15584 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15585 __ehdr_start with hidden visibility.
15586
93fd48c5
MR
15587 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15588
418601aa
CD
155892013-04-24 Carlos O'Donell <carlos@redhat.com>
15590
15591 * math/libm-test.inc (cos_test): Use accurate hex constants.
15592 (sincost_test): Likewise.
15593
2f38fbfe
JM
155942013-04-24 Joseph Myers <joseph@codesourcery.com>
15595
5e221800
JM
15596 * math/libm-test.inc (catan_test): Add more tests.
15597 (catanh_test): Likewise.
15598
77f143fd
JM
15599 * math/s_catanf.c (__catanf): Use suffixed floating-point
15600 constants.
15601 * math/s_catanhf.c (__catanhf): Likewise.
15602 * math/s_catanhl.c (__catanhl): Likewise.
15603 * math/s_catanl.c (__catanl): Likewise.
15604
2f38fbfe
JM
15605 [BZ #15394]
15606 * math/s_catan.c (__catan): Calculate imaginary part of result
15607 with log1p not log unless computing log of number close to 0.
15608 * math/s_catanf.c (__catanf): Likewise.
15609 * math/s_catanl.c (__catanl): Likewise.
15610 * math/s_catanh.c (__catanh): Calculate real part of result with
15611 log1p not log unless computing log of number close to 0.
15612 * math/s_catanhf.c (__catanhf): Likewise.
15613 * math/s_catanhl.c (__catanhl): Likewise.
15614 * math/libm-test.inc (catan_test): Add more tests.
15615 (catanh_test): Likewise.
15616 * sysdeps/i386/fpu/libm-test-ulps: Update.
15617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15618
45d69176
SP
156192013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15620
15621 * benchtests/Makefile: Mention files in which fast and slow
15622 paths of math functions are implemented.
15623
87f51853
RM
156242013-04-23 Roland McGrath <roland@hack.frob.com>
15625
15626 * sysdeps/posix/timespec_get.c: New file.
15627
3c026539
AZ
156282013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15629
15630 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15631 POWER.
15632 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15633 for POWER.
15634 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15635 powerpc/power5/fpu folders.
15636 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15637 * benchtests/Makefile: Add modf testcase.
15638 * benchtests/bench-modf.c: New file: Benchmark test for mo
15639
ff491d14
SP
156402013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15641
15642 [BZ #14888]
15643 * time/Makefile (tests): Add tst-strptime-whitespace.
15644 * time/strptime_l.c (get_number): Use ISSPACE.
15645 (__strptime_internal): Likewise.
15646 * time/tst-strptime-whitespace.c: New test case.
15647
7ed3f4e8
AS
156482013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15649
15650 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15651 member.
15652 (_nss_files_init): Set it here.
15653
5c95f7b6
HC
156542013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15655
15656 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15657 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15658 unsigned.
15659
d34c9158
JBG
156602013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15661
15662 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15663
2169712d
SP
156642013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15665
15666 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15667 size just once.
15668
29c5de99
DM
156692013-04-21 David S. Miller <davem@davemloft.net>
15670
15671 * po/ru.po: Update Russion translation from translation project.
15672
ccdad15d
AC
156732013-04-17 Adam Conrad <adconrad@0c3.net>
15674
15675 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15676 and setfsgid.
15677
0f122b8d
CD
156782013-04-17 Carlos O'Donell <carlos@redhat.com>
15679
5c5b07da 15680 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15681 * configure: Regenerate.
5c5b07da 15682 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15683 Add example to error message.
15684 * sysdeps/i386/configure: Regenerate.
15685
037714dd
SP
156862013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15687
15688 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15689 slowtan.
15690 * benchtests/cos-inputs: New file.
15691 * benchtests/slowcos-inputs: New file.
15692 * benchtests/slowcos.c: New file.
15693 * benchtests/slowtan-inputs: New file.
15694 * benchtests/slowtan.c: New file.
15695 * benchtests/tan-inputs: New file.
15696
e913141d
RM
156972013-04-16 Roland McGrath <roland@hack.frob.com>
15698
15699 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15700 considered kosher.
15701
a2964074
SP
157022013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15703
4856bcd2
SP
15704 * benchtests/Makefile: Include cppflags-iterator.mk to add
15705 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15706
a2964074
SP
15707 * Makefile.in (bench-clean): New target.
15708 * benchtests/Makefile (bench-clean): Likewise.
15709
9fbf9aca
DH
157102013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15711
15712 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15713
207d1e2a
TS
157142013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15715
15716 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15717
306dfba9
AS
157182013-04-15 Andreas Schwab <schwab@suse.de>
15719
15720 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15721 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15722 * nscd/pwdcache.c (cache_addpw): Likewise.
15723 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15724 more than recsize.
15725
206a6699
SP
157262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15727
15728 * benchtests/Makefile (bench): Write all output to
15729 bench-out.tmp together.
15730
0582f6b3
AS
157312013-04-15 Andreas Schwab <schwab@suse.de>
15732
15733 * nscd/nscd.c (main): Don't fork again after closing files.
15734
acb4325f
SP
157352013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15736
5cb26d0a
SP
15737 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15738
acb4325f
SP
15739 * benchtests/Rules (bench-deps): Collect dependencies into a
15740 single variable. Add Makefile to dependencies.
15741 ($(objpfx)bench-%.c): Depend on bench-deps.
15742
47792506
RM
157432013-04-12 Roland McGrath <roland@hack.frob.com>
15744 Xavier Roche <roche+kml2@exalead.com>
15745
15746 [BZ #15361]
15747 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15748 just that it's a file descriptor.
15749 * manual/llio.texi (Synchronizing AIO Operations): Update description
15750 for EBADF error from aio_fsync.
15751
8fc1bee5
SP
157522013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15753
15754 * Rules (bench): Move target definition...
15755 * benchtests/Makefile: ... here.
15756
aba5e333
CD
157572013-04-11 Carlos O'Donell <carlos@redhat.com>
15758
15759 * math/libm-test.inc (cos_test): Fix PI/2 test.
15760 (sincos_test): Likewise.
15761 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15762 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15763
273cdee8
AS
157642013-04-11 Andreas Schwab <schwab@suse.de>
15765
6ecec3b6
AS
15766 [BZ #13988]
15767 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15768 accept exponent character only when digits were seen.
15769 * stdio-common/Makefile (tests): Add bug26.
15770 * stdio-common/bug26.c: New file.
15771
273cdee8
AS
15772 [BZ #14293]
15773 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15774 non-freeable.
15775
8da491f5
SP
157762013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15777
01dc6df9
SP
15778 * Makeconfig (rtld-prefix): Define built linker prefix.
15779 * Rules (run-bench): Use it.
15780 * math/Makefile (run-regen-ulps): Likewise.
15781
8da491f5
SP
15782 * Rules (bench): Remove eval.
15783
abe7f530
SP
157842013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15785 Roland McGrath <roland@hack.frob.com>
15786 Ondrej Bilka <neleai@seznam.cz>
15787
15788 [BZ #15346]
15789 * time/getdate.c: Include ctype.h and alloca.h.
15790 (__getdate_r): Trim leading and trailing spaces of input.
15791 * time/tst-getdate.c (tests): Add tests with leading and
15792 trailing spaces.
15793
61c23e62
RM
157942013-04-08 Roland McGrath <roland@hack.frob.com>
15795
15796 [BZ #14280]
15797 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15798 when computing value.
15799
7208a313
CD
158002013-04-06 Carlos O'Donell <carlos@redhat.com>
15801
085b2d41
CD
15802 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15803 Use testrun.sh to run libm tests.
15804
7208a313
CD
15805 [BZ #15309]
15806 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15807
872c0acd
MM
158082013-04-06 Marko Myllynen <myllynen@redhat.com>
15809
15810 [BZ #15264]
15811 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15812
26510bdd
CD
158132013-04-06 Carlos O'Donell <carlos@redhat.com>
15814
15815 * Makefile.in (regen-ulps): New target.
15816 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15817 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15818 [ifneq (no,$(PERL)] (regen-ulps): New target.
15819 [ifeq (no,$(PERL)] (regen-ulps): New target.
15820 * math/libm-test.inc (ulps_file_name): Define.
15821 (output_dir): New variable.
15822 (options): Add "output-dir" option.
15823 (parse_opt): Handle 'o' case.
15824 (main): If output_dir is non-NULL use it as a prefix
15825 otherwise use "".
15826 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15827
a01f19c8
CD
158282013-04-06 Carlos O'Donell <carlos@redhat.com>
15829
15830 [BZ #10060, #10062]
15831 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15832 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15833 fail configure if __sync_val_compare_and_swap is not inlined.
15834 * sysdeps/i386/configure: Regenerate.
15835 * configure.in: Build for i686 when configured for i386.
15836 * configure: Regenerate.
15837 * README: Remove i386 reference.
15838
b7a329a5
CD
158392013-04-06 Carlos O'Donell <carlos@redhat.com>
15840
15841 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15842 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15843
bf0f50df
TS
158442013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15845
ee091edf
TS
15846 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15847 (lmsnanval): New variables.
15848 (F): Add conversion tests.
15849 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15850 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15851
a8b792d6
TS
15852 * stdio-common/tstdiomisc.c (F): Properly collect individual
15853 tests' results.
15854
a1cbf437
TS
15855 [BZ #14686, #15336]
15856 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15857 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15858 Instead, use input NaN values or generate a qNaN by arithmetic
15859 operation. Also fix bugs to comply with the standard.
15860 * math/libm-test.inc (remainder_test): Add more tests.
15861
8b43a0c9
TS
15862 [BZ #15335, #15342]
15863 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15864 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15865 input NaN values or generate a qNaN by arithmetic operation.
15866
d91da4ce
TS
15867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15868 unreachable code.
15869
bf0f50df
TS
15870 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15871 definitions.
15872
05e166c8
JM
158732013-04-03 Joseph Myers <joseph@codesourcery.com>
15874
15875 [BZ #14478]
15876 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15877 underflowed result.
15878 * math/s_cexpf.c (__cexpf): Likewise.
15879 * math/s_cexpl.c (__cexpl): Likewise.
15880 * math/libm-test.inc (cexp_test): Add more tests.
15881
1cef1b19
AS
158822013-04-03 Andreas Schwab <schwab@suse.de>
15883
15884 [BZ #15330]
15885 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15886 order arrays from heap if bigger than alloca cutoff.
15887
74d87055
TS
158882013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15889
15890 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15891 (SNAN_TESTS_double): Refer to GCC PR56831.
15892 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15893 GCC PR56828.
15894
d755bba4
SP
158952013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15896
90d5d5bb
SP
15897 * Rules (bench): Move bench.out after the run is complete.
15898
73e0cd5d
SP
15899 * Rules (bench): Echo currently running benchmark.
15900
64aabd4b
SP
15901 * benchtests/Makefile (bench): Add atan and slowatan.
15902 * benchtests/atan-inputs: New file.
15903 * benchtests/slowatan-inputs: New file.
15904 * benchtests/slowatan.c: New file.
15905
c871eccd
SP
15906 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15907 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15908 its value.
15909
d755bba4
SP
15910 [BZ #15305]
15911 * sysdeps/unix/sysv/linux/kernel-features.h
15912 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15913 __ASSUME_XFS_RESTRICTED_CHOWN.
15914 * sysdeps/unix/sysv/linux/pathconf.c
15915 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15916 Save and restore errno.
15917
52ce4860
JM
159182013-04-02 Joseph Myers <joseph@codesourcery.com>
15919
15920 [BZ #15327]
15921 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15922 arguments using __kernel_casinh.
15923 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15924 arguments using __kernel_casinhf.
15925 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15926 arguments using __kernel_casinhl.
15927 * math/libm-test.inc (cacosh_test): Add more tests.
15928 * sysdeps/i386/fpu/libm-test-ulps: Update.
15929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15930
81f311c2
SP
159312013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15932
e7906a47
SP
15933 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15934 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15935
92e3664b
SP
15936 * bench/Makefile (bench): Add sin and slowsin.
15937 * benchtests/sin-inputs: New file.
15938 * benchtests/slowsin-inputs: New file.
15939 * benchtests/slowsin.c: New file.
15940
81f311c2
SP
15941 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15942 (bench): Add slowexp and slowpow.
15943 (exp-ITER): Increase iterations.
15944 (pow-ITER): Likewise.
15945 * benchtests/exp-inputs: Change input.
15946 * benchtests/pow-inputs: Likewise.
15947 * benchtests/slowexp-inputs: New file.
15948 * benchtests/slowexp.c: New file.
15949 * benchtests/slowpow-inputs: New file.
15950 * benchtests/slowpow.c: New file.
15951
ab0f1aa9
AZ
159522013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15953
15954 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15955 instructions.
15956 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15957 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15958 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15959 * benchtests/Makefile: Add rint benchtest.
15960 * benchtests/rint-inputs: Input for rint benchtest.
15961
57267616
TS
159622013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15963
15964 * Versions.def (libm): Add GLIBC_2.18.
15965 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15966 hidden libm prototypes.
15967 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15968 * math/Makefile (libm-calls): Add s_issignaling.
15969 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15970 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15971 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15972 declaration.
15973 * math/math.h [__USE_GNU] (issignaling): New macro.
15974 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15975 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15976 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15977 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15978 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15979 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15980 * manual/arith.texi (issignaling): New section.
15981 * manual/libm-err-tab.pl (@all_functions): Update comment.
15982 * math/gen-libm-test.pl (parse_args): Apply special handling for
15983 issignaling.
15984 * math/libm-test.inc (print_float, issignaling_test): New
15985 functions.
15986 (check_float_internal): Add issignaling checks.
15987 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15988 default definition.
15989 * sysdeps/powerpc/math-tests.h: New file.
15990 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15991 tests.
15992 * math/test-snan.c (TEST_FUNC): Likewise.
15993
6142896d
DM
159942013-03-30 David S. Miller <davem@davemloft.net>
15995
15996 * po/de.po: Update from translation team.
15997
ccc8cadf
JM
159982013-03-30 Joseph Myers <joseph@codesourcery.com>
15999
16000 [BZ #10357]
16001 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16002 imaginary part less than 1.0 and real part less than 0.5
16003 specially.
16004 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16005 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16006 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16007 (cacos_test): Add more tests.
16008 (casin_test): Likewise.
16009 (casinh_test): Likewise.
16010 * sysdeps/i386/fpu/libm-test-ulps: Update.
16011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16012
0f6a8d4b
SP
160132013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16014
0d1029de
SP
16015 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16016 ONE with its value.
16017
c2d94018
SP
16018 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16019 (__pow_mp): Replace ONE and MONE with their values.
16020 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16021 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16022 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16023 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16024 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16025 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16026
27ec37f1
SP
16027 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16028
a64d7e0e
SP
16029 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16030 (__pow_mp): Replace ZERO and MZERO with their values.
16031 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16032 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16033 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16035 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16036 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16037 (__sqr): Likewise.
16038
d26dd3eb
SP
16039 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16040
0f6a8d4b
SP
16041 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16042
e57b0c61
RM
160432013-03-28 Roland McGrath <roland@hack.frob.com>
16044
16045 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16046 Declare with __attribute__ ((weak)).
16047 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16048 Call __call_tls_dtors only if it's not NULL.
16049
356b3480
RM
160502013-03-28 Roland McGrath <roland@hack.frob.com>
16051
288f7d79
RM
16052 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16053 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16054 magic __ehdr_start linker symbol if it's defined.
16055 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16056 them up here if it was already done.
16057
dc0a0263
RM
16058 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16059 (_dl_aux_init): Use const in cast when setting it.
16060 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16061 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16062 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16063
3d3436ae
RM
16064 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16065 Declare them here.
16066 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16067 * csu/libc-tls.c: Nor here.
16068 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16069
356b3480
RM
16070 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16071 (__libc_message): Never call vsyslog.
16072
b0f1246a
AM
160732013-03-28 Alan Modra <amodra@gmail.com>
16074
16075 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16076 Define as empty.
16077 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16078 Likewise.
16079
fbbe2b9a
AZ
160802013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16081
16082 [BZ #15214]
16083 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16084 underflow.
16085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16086
1728ab37
SP
160872013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16088
7a86be6e
SP
16089 [BZ #15304]
16090 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16091 Don't add gid passed as argument.
16092
1728ab37
SP
16093 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16094
3a7182a1
JM
160952013-03-27 Joseph Myers <joseph@codesourcery.com>
16096
16097 [BZ #15307]
16098 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16099 imaginary part between 1.0 and 1.5 and real part less than 0.5
16100 specially.
16101 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16102 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16103 * math/libm-test.inc (cacos_test): Add more tests.
16104 (casin_test): Likewise.
16105 (casinh_test): Likewise.
16106 * sysdeps/i386/fpu/libm-test-ulps: Update.
16107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16108
6f2e90e7
SP
161092013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16110
5739f705
SP
16111 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16112 constants.
16113 (norm): Likewise.
16114 (denorm): Likewise.
16115 (__dbl_mp): Likewise.
16116 (add_magnitudes): Likewise.
16117 (sub_magnitudes): Likewise.
16118 (__add): Likewise.
16119 (__sub): Likewise.
16120 (__mul): Likewise.
16121 (__sqr): Likewise.
16122 (__inv): Likewise.
16123 (__dvd): Likewise.
16124
e375e83d
SP
16125 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16126 commented code.
16127 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16128 (__dubcos): Likewise.
16129 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16130 (__ieee754_acos): Likewise.
16131 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16132 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16133 (__exp1): Likewise.
16134 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16135 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16136 (log1): Likewise.
16137 (my_log2): Likewise.
16138 (checkint): Likewise.
16139 * sysdeps/ieee754/dbl-64/e_remainder.c
16140 (__ieee754_remainder): Likewise.
16141 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16142 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16143 (bsloww): Likewise.
16144 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16145
6f2e90e7
SP
16146 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16147 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16148 MANTISSA_STORE_T to store computations on mantissa. Use
16149 macros for rounding and division.
16150 (denorm): Likewise.
16151 (__dbl_mp): Likewise.
16152 (add_magnitudes): Likewise.
16153 (sub_magnitudes): Likewise.
16154 (__mul): Likewise.
16155 (__sqr): Likewise.
16156 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16157 powers of two in terms of TWOPOW macro.
16158 (mp_no): Make type of mantissa as MANTISSA_T.
16159 [!RADIXI]: Define RADIXI.
16160 [!TWO52]: Define TWO52.
16161 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16162
fce14d4e
AZ
161632013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16164
16165 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16166 llroundl symbol when building for PPC32.
16167
9ad027fb
MW
161682013-03-24 Mark H Weaver <mhw@netris.org>
16169
16170 * manual/arith.texi (Normalization Functions): Fix prototypes for
16171 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16172
e42a38dd
AZ
161732013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16174
16175 [BZ #13889]
16176 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16177 high value to check if expl overflow.
16178 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16179 to check for underflow and overflow.
16180 * math/libm-test.inc: Add exp test.
16181
2e0fb521
DL
161822013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16183
16184 [BZ #11120]
16185 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16186 with NOT_IN_libc.
16187
b5784d95
AZ
161882013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16189
16190 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16191 symbol.
16192
5aa4a1a1
TS
161932013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16194
bdef0be7
TS
16195 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16196 wrap blocks consisting of several statements.
16197
5aa4a1a1
TS
16198 * sysdeps/generic/math-tests.h: New file.
16199 * sysdeps/i386/fpu/math-tests.h: Likewise.
16200 * math/test-snan.c: Include it.
16201 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16202
98c48fe5
JM
162032013-03-21 Joseph Myers <joseph@codesourcery.com>
16204
16205 [BZ #15285]
16206 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16207 (__ieee754_j0l): Do not improve calculations using cos of twice
16208 input for inputs above LDBL_MAX / 2.0L.
16209 (__ieee754_y0l): Likewise.
16210 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16211 (__ieee754_j1l): Do not improve calculations using cos of twice
16212 input for inputs above LDBL_MAX / 2.0L.
16213 (__ieee754_y1l): Likewise.
16214 * math/libm-test.inc (j0_test): Add another test.
16215 (j1_test): Likewise.
16216 (y0_test): Likewise.
16217 (y1_test): Likewise.
16218 * sysdeps/i386/fpu/libm-test-ulps: Update.
16219
3775a8bc
SP
162202013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16221
16222 * Rules ($(objpfx)bench-%.c): Include code from a C source
16223 file.
16224
0a1b2ae6
JM
162252013-03-21 Joseph Myers <joseph@codesourcery.com>
16226
16227 [BZ #15287]
16228 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16229 imaginary part 1.0 and real part less than 0.5 specially.
16230 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16231 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16232 * math/libm-test.inc (cacos_test): Add more tests.
16233 (casin_test): Likewise.
16234 (casinh_test): Likewise.
16235 * sysdeps/i386/fpu/libm-test-ulps: Update.
16236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16237
b33d4ce4
SP
162382013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16239
16240 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16241 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16242
bef0b507
JM
162432013-03-20 Joseph Myers <joseph@codesourcery.com>
16244
16245 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16246 * config.make.in (config-cflags-sse4): Remove variable.
16247 (config-cflags-avx): Likewise.
16248 (config-cflags-sse2avx): Likewise.
16249 (config-cflags-novzeroupper): Likewise.
16250 (config-asflags-i686): Likewise.
16251 (have-mfma4): Likewise.
16252 (have-as-vis3): Likewise.
16253 (MIG): Likewise.
16254 * configure.in (MIG): Do not AC_SUBST.
16255 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16256 (libc_cv_cc_sse4): Do not AC_SUBST.
16257 (libc_cv_cc_avx): Likewise.
16258 (libc_cv_cc_sse2avx): Likewise.
16259 (libc_cv_cc_novzeroupper): Likewise.
16260 (libc_cv_cc_fma4): Likewise.
16261 (libc_cv_as_i686): Likewise.
16262 (libc_cv_sparc_as_vis3): Likewise.
16263 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16264 LIBC_CONFIG_VAR.
16265 (config-asflags-i686): Likewise.
16266 (config-cflags-avx): Likewise.
16267 (config-cflags-sse2avx): Likewise.
16268 (have-mfma4): Likewise.
16269 (config-cflags-novzeroupper): Likewise.
16270 * sysdeps/mach/configure.in (MIG): Likewise.
16271 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16272 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16273 LIBC_CONFIG_VAR.
16274 (config-cflags-avx): Likewise.
16275 (config-cflags-sse2avx): Likewise.
16276 (have-mfma4): Likewise.
16277 (config-cflags-novzeroupper): Likewise.
16278 * configure: Regenerated.
16279 * sysdeps/i386/configure: Likewise.
16280 * sysdeps/mach/configure: Likewise.
16281 * sysdeps/sparc/configure: Likewise.
16282 * sysdeps/x86_64/configure: Likewise.
16283
912cc4b3
RM
162842013-03-20 Roland McGrath <roland@hack.frob.com>
16285
16286 [BZ #14812]
16287 * locale/programs/localedef.c (options): Put N_ translation marker
16288 on argument names, not just descriptions.
16289
04eed2b0
MS
162902013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16291
16292 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16293
a065ceff
OB
162942013-03-20 Ondřej Bílka <neleai@seznam.cz>
16295
9bb2a810 16296 [BZ #14176]
a065ceff
OB
16297 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16298
a600e5ce
RM
162992013-03-19 Roland McGrath <roland@hack.frob.com>
16300
16301 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16302 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16303 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16304 [!BEFORE_ABORT] (before_abort): New function.
16305 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16306 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16307 (writev_for_fatal): New function.
16308 (WRITEV_FOR_FATAL): New macro; call that.
16309 (backtrace_and_maps): New function.
16310 (BEFORE_ABORT): New macro; call that.
16311 (struct str_list): Type removed.
16312 (__libc_message, __libc_fatal): Functions removed.
16313 Include <sysdeps/posix/libc_fatal.c> instead.
16314
6b18bea6
JM
163152013-03-19 Joseph Myers <joseph@codesourcery.com>
16316
16317 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16318 constants.
16319 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16320 double constants.
16321
aaa8cb4b
AS
163222013-03-19 Andreas Schwab <schwab@suse.de>
16323
44673770
AS
16324 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16325 * sysdeps/gnu/configure: Regenerate.
16326
aaa8cb4b
AS
16327 * configure.in: Substitute libc_cv_rtlddir.
16328 * configure: Regenerate.
16329 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16330 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16331 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16332 * elf/Makefile (install-others, CFLAGS-interp.c)
16333 (ldso_install, common-ldd-rewrite): Likewise.
16334 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16335 $(inst_slibdir)/$(rtld-installed-name).
16336 * scripts/rellns-sh: Add -p option.
16337 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16338 for source.
16339
d3cfc668
SP
163402013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16341
16342 * manual/nptl.texi: Renamed to ...
16343 * manual/threads.texi: ... this.
16344 * manual/Makefile (chapters): Update.
16345
0e2b9cdd
RM
163462013-03-18 Roland McGrath <roland@hack.frob.com>
16347
16348 [BZ #14812]
16349 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16350 on argument names, not just descriptions.
0e2b9cdd
RM
16351 * malloc/memusagestat.c (options): Likewise.
16352 * nss/getent.c (options): Likewise.
63270c24
RM
16353
163542013-03-18 Benno Schulenberg <bensberg@justemail.net>
16355
16356 [BZ #14812]
16357 * iconv/iconv_prog.c (options): Put N_ translation marker
16358 on argument names, not just descriptions.
16359 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16360
b2e1393c
OB
163612013-03-18 Ondrej Bilka <neleai@seznam.cz>
16362
16363 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16364 implementation which is faster on all x86_64 architectures.
16365 Tested on AMD, Intel Nehalem, SNB, IVB.
16366 * sysdeps/x86_64/strnlen.S: Likewise.
16367
16368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16369 Remove all multiarch strlen and strnlen versions.
16370 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16371 Remove strlen and strnlen related parts.
16372
16373 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16374 Inline strlen part.
16375 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16376
16377 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16378 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16379 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16380 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16381 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16382 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16383
ec4ff04d
CD
163842013-03-17 Carlos O'Donell <carlos@redhat.com>
16385
16386 * manual/memory.texi (Malloc Tunable Parameters):
16387 Sort parameters alphabetically. Add comments for missing entries.
16388
cd18e90a
DM
163892013-03-17 David S. Miller <davem@davemloft.net>
16390
16391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16392
2a185d32
JM
163932013-03-16 Joseph Myers <joseph@codesourcery.com>
16394
d2f9799e
JM
16395 [BZ #15283]
16396 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16397 for arguments at most half maximum finite value.
16398 * math/libm-test.inc (j0_test): Add more tests.
16399 (j1_test): Likewise.
16400 (y0_test): Likewise.
16401 (y1_test): Likewise.
16402 * sysdeps/i386/fpu/libm-test-ulps: Update.
16403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16404
2a185d32
JM
16405 [BZ #14155]
16406 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16407 1 / x and functions P and Q for arguments above 0x1p256L.
16408 (__ieee754_y0l): Likewise.
16409 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16410 (__ieee754_y1l): Likewise.
16411 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16412 (j1_test): Likewise.
16413 (y0_test): Likewise.
16414 (y1_test): Likewise.
16415
6cbec759
TS
164162013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16417
16418 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16419 variable.
16420
bc16e260
RM
164212013-03-15 Roland McGrath <roland@hack.frob.com>
16422
aefc9b8c
RM
16423 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16424 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16425 zero since it's initialized to EXEC_PAGESIZE.
16426
bc16e260
RM
16427 * sysdeps/unix/sysv/linux/ldsodefs.h
16428 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16429 * sysdeps/generic/ldsodefs.h: ... here.
16430
a57da955
TS
164312013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16432
af00a34d
TS
16433 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16434
495ded2c
TS
16435 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16436 math/test-snan.c.
16437 * math/test-snan.c: Renamed from
16438 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16439 * math/Makefile (tests): Add test-snan.
16440 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16441 test-powerpc-snan.
16442
777b0332
TS
16443 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16444 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16445 functions.
16446 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16447 __builtin_nan family of functions.
16448 * math/libm-test.inc (initialize): Initialize qnan_value with
16449 __builtin_nan family of functions.
16450 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16451 Remove variables.
16452 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16453 Remove functions.
16454 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16455 storage class. Initialize qNaN_var and sNaN_var with
16456 __builtin_nan and __builtin_nans families of functions,
16457 respectively.
16458
64d063b8
TS
16459 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16460 (sqrt_test): Remove duplicate test with qNaN input.
16461 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16462 (round_test, signbit_test, significand_test): Note missing +/-Inf
16463 as well as qNaN tests.
16464
67e971f1
TS
16465 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16466 qNaN_var. Fix a few strings, too.
16467 * math/libm-test.inc (nan_value): Rename to qnan_value.
16468 * math/gen-libm-test.pl (%beautify): Adjust to that.
16469 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16470 * math/test-misc.c (main): Likewise.
16471 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16472 to __qnan_bytes, and __qnan_union, respectively.
16473 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16474 Likewise.
16475 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16476 and lqnanval, respectively.
16477 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16478 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16479 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16480 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16481
64487e12
TS
16482 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16483 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16484 doubles.
16485
e015e27b
TS
16486 * math/test-misc.c (main): Fix copy'n'pastos.
16487 * misc/tst-efgcvt.c (special): Likewise.
16488
a57da955
TS
16489 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16490 Remove declarations.
16491
1e380345
SP
164922013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16493
16494 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16495 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16496 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16497 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16498
ef26eece
AZ
164992013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16500
16501 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16502 macro to return vdso values correctly in IFUNC implementations.
16503 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16504 Optimization by using IFUNC.
16505
8cfdb7e0
SP
165062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16507 Richard Henderson <rth@redhat.com>
16508 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16509
16510 * Makefile.in (bench): New target.
16511 * NEWS: Mention the benchmark framework.
16512 * Rules (bench): Likewise.
16513 (binaries-bench): Generate binaries for functions to
16514 benchmark.
16515 * benchtests/Makefile: New makefile for benchmark tests.
16516 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16517 programs.
16518 * benchtests/exp-inputs: New input file for EXP function.
16519 * benchtests/pow-inputs: New input file for POW function.
16520 * scripts/bench.pl: New script to generate source files for
16521 benchmark programs.
16522
bcda9880
SP
165232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16524
d22ca8cd
SP
16525 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16526 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16527 computations on mantissa. Use macros for rounding and
16528 division.
16529 (denorm): Likewise.
16530 (__dbl_mp): Likewise.
16531 (add_magnitudes): Likewise.
16532 (sub_magnitudes): Likewise.
16533 (__mul): Likewise.
16534 (__sqr): Likewise.
16535 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16536 powers of two in terms of TWOPOW macro.
16537 (mp_no): Make type of mantissa as MANTISSA_T.
16538 [!RADIXI]: Define RADIXI.
16539 [!TWO52]: Define TWO52.
16540 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16541
bcda9880
SP
16542 * manual/nptl.texi (cindex): Modify threads to pthreads.
16543
06d5adfb
JM
165442013-03-15 Joseph Myers <joseph@codesourcery.com>
16545
16546 * sysdeps/x86_64/preconfigure: Regenerated.
16547
41c7328e
JM
165482013-03-14 Joseph Myers <joseph@codesourcery.com>
16549
16550 [BZ #14155]
16551 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16552 0x1p28 and above.
16553 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16554 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16555 0x1p28 and above.
16556 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16557 * math/libm-test.inc (j0_test): Do not allow one spurious
16558 underflow exception.
16559 (y1_test): Likewise.
16560
e25cfa60
SP
165612013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16562
0409959c
SP
16563 * manual/Makefile (chapters): Add nptl.
16564 * manual/debug.texi (Debugging Support): Add link to Threads
16565 chapter.
16566 * manual/nptl.texi: New file.
16567
e25cfa60
SP
16568 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16569
58a1335e
PB
165702013-03-14 Petr Baudis <pasky@ucw.cz>
16571
16572 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16573 for non-NULL pointer before the memory validity test. Pointed
16574 out by Holger Brunck <holger.brunck@keymile.com>.
16575
9dc7c64f
AS
165762013-03-13 Andreas Schwab <schwab@suse.de>
16577
16578 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16579 instead of .os.
16580
54206aa6
JM
165812013-03-13 Joseph Myers <joseph@codesourcery.com>
16582
16583 * timezone/zic.c: Update from tzcode 2013b.
16584
e98cdb38
CD
165852013-03-12 Carlos O'Donell <carlos@redhat.com>
16586
16587 * manual/install.texi (Configuring and compiling):
16588 Mention i686 and i586.
16589 * INSTALL: Regenerate.
16590
9967e003
RM
165912013-03-12 Roland McGrath <roland@hack.frob.com>
16592
16593 * sysdeps/init_array/elf-init.c: New file.
16594 * csu/elf-init.c
16595 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16596 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16597
16598 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16599 __gmon_start__ as global, but as static with a .preinit_array pointer.
16600 * sysdeps/init_array/gmon-start.c: New file. Use that.
16601 * sysdeps/init_array/crti.S: New file, empty except for comments.
16602 * sysdeps/init_array/crtn.S: Likewise.
16603
e6b5a293 166042013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16605
16606 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16607 definining bcopy.
80f844c9
OB
16608 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16609 Remove Prefer_SSE_for_memop.
16610 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16611 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16612 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16614 memset-x86-64.
80f844c9 16615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16616 Remove bzero, memset ifunc support.
80f844c9
OB
16617 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16618 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16619 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16620 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16621
fb6b0fcb
AS
166222013-03-11 Andreas Schwab <schwab@suse.de>
16623
16624 [BZ #15234]
16625 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16626 by SHLIB_COMPAT.
16627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16628 (GLIBC_2.16): Remove pthread_atfork.
16629
3e6bd4b1
PP
166302013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16631
16632 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16633 (ptestcases.h): Likewise.
16634
222d7f00
RM
166352013-03-08 Roland McGrath <roland@hack.frob.com>
16636
16637 * Makeconfig ($(common-objpfx)config.status): Depend on
16638 sysdeps/*/preconfigure{,.in} too.
16639
1ba4f030
JM
166402013-03-08 Joseph Myers <joseph@codesourcery.com>
16641
a222d91a
JM
16642 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16643 (__free_hook): Use void * instead of __malloc_ptr_t.
16644 (__malloc_hook): Likewise.
16645 (__realloc_hook): Likewise.
16646 (__memalign_hook): Likewise.
16647 (__after_morecore_hook): Likewise.
16648 * malloc/arena.c (save_malloc_hook): Likewise.
16649 (save_free_hook): Likewise.
16650 * malloc/hooks.c (malloc_hook_ini): Likewise.
16651 (realloc_hook_ini): Likewise.
16652 (memalign_hook_ini): Likewise.
16653 * malloc/malloc.c (malloc_hook_ini): Likewise.
16654 (realloc_hook_ini): Likewise.
16655 (memalign_hook_ini): Likewise.
16656 (__free_hook): Likewise.
16657 (__malloc_hook): Likewise.
16658 (__realloc_hook): Likewise.
16659 (__memalign_hook): Likewise.
16660 (__libc_malloc): Likewise.
16661 (__libc_free): Likewise.
16662 (__libc_realloc): Likewise.
16663 (__libc_memalign): Likewise.
16664 (__libc_valloc): Likewise.
16665 (__libc_pvalloc): Likewise.
16666 (__libc_calloc): Likewise.
16667 (__posix_memalign): Likewise.
16668 * malloc/morecore.c (__sbrk): Likewise.
16669 (__default_morecore): Likewise.
16670
5cc45e10
JM
16671 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16672
dd54b864
JM
16673 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16674 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16675 __malloc_ptrdiff_t.
16676
1ba4f030
JM
16677 * malloc/malloc.h (__malloc_size_t): Remove macro.
16678 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16679 __malloc_size_t.
16680 (old_memalign_hook): Likewise.
16681 (old_realloc_hook): Likewise.
16682 (struct hdr): Likewise.
16683 (flood): Likewise.
16684 (mallochook): Likewise.
16685 (memalignhook): Likewise.
16686 (reallochook): Likewise.
16687 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16688 (tr_old_realloc_hook): Likewise.
16689 (tr_old_memalign_hook): Likewise.
16690 (tr_mallochook): Likewise.
16691 (tr_reallochook): Likewise.
16692 (tr_memalignhook): Likewise.
16693
edf66e57
AZ
166942013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16695
16696 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16697 default_ldbl_pack and using as default implementation.
16698 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16699 implementation.
16700 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16701 redundant definition.
16702 (ldbl_insert_mantissa): Likewise.
16703 (ldbl_canonicalize): Likewise.
16704 (ldbl_nearbyint): Likewise.
16705 (ldbl_pack): Rename to ldbl_pack_ppc.
16706 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16707 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16708 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16709
6d9145d8
SP
167102013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16711
16712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16713 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16714 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16715 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16717 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16718 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16719 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16720
4dd4e157
AJ
167212013-03-07 Andreas Jaeger <aj@suse.de>
16722
16723 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16724 bits/mman-linux.h.
16725
adbb8027
SP
167262013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16727
ce544b5b
SP
16728 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16729 Include mpa.h and declare __MPEXP.
16730 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16731 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16732 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16733 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16734 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16735 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16736 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16737
4cc149fd
SP
16738 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16739 (__slowpow): Use long double EXPL and LOGL functions to
16740 compute POW.
16741 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16742 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16743 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16744 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16745 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16746 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16747
e6ebd4a7
SP
16748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16749 intermediate variable to calculate exponent.
16750 (__sqr): Likewise.
16751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16752 Likewise.
16753 (__sqr): Likewise.
16754
82a9811d
SP
16755 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16756 [!NO__SQR]: Define __sqr.
16757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16758 and NO__SQR. Remove all code except __mul and __sqr. Include
16759 sysdeps/ieee754/dbl-64/mpa.c.
16760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16761
adbb8027
SP
16762 [BZ #12723]
16763 * posix/Makefile (tests): Add tst-pathconf.
16764 * posix/tst-pathconf.c: New test case.
16765 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16766 _PC_PIPE_BUF.
16767 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16768
39120df9
PF
167692013-03-06 Patsy Franklin <pfrankli@redhat.com>
16770
16771 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16772
67525cb8
AJ
167732013-03-06 Andreas Jaeger <aj@suse.de>
16774
664a9ce4
AJ
16775 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16776 definition via __MAP_ANONYMOUS.
16777
8e39047d
AJ
16778 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16779 it's not part of Linux headers.
16780
67525cb8
AJ
16781 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16782 (MAP_HUGE_MASK): Define.
16783
16784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16785 Define.
16786 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16787 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16788 Define.
16789 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16790 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16791 Define.
16792 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16793 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16794 Define.
16795 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16796
16797 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16798 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16799 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16800 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16801 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16802 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16803
16804 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16805 Handle f2fs.
16806
16807 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16808 Handle f2fs and efivarfs.
16809
16810 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16811 f2fs.
16812
16813 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16814 (EFIVARFS_MAGIC): Add.
16815 (F2FS_LINK_MAX): Add.
16816
e1b42695
PP
168172013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16818
16819 * stdio-common/vfprintf.c: Replace __builtin_expect with
16820 __glibc_unlikely.
16821
2d67d91a
JM
168222013-03-06 Joseph Myers <joseph@codesourcery.com>
16823
16824 [BZ #13550]
16825 * sysdeps/generic/bp-sym.h: Remove file.
16826 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16827 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16828 <bp-sym.h> and <bp-asm.h>.
16829 (__longjmp): Don't use BP_SYM.
16830 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16831 and <bp-asm.h>.
16832 (memcpy): Don't use BP_SYM.
16833 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16834 <bp-sym.h> and <bp-asm.h>.
16835 (memcpy): Don't use BP_SYM.
16836 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16837 <bp-asm.h>.
16838 (memcpy): Don't use BP_SYM.
16839 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16840 <bp-asm.h>.
16841 (memset): Don't use BP_SYM.
16842 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16843 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16844 (__bzero): Don't use BP_SYM.
16845 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16846 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16847 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16848 <bp-sym.h> and <bp-asm.h>.
16849 (memcmp): Don't use BP_SYM. Remove comment about bounded
16850 pointers.
16851 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16852 <bp-sym.h> and <bp-asm.h>.
16853 (memcpy): Don't use BP_SYM.
16854 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16855 <bp-sym.h> and <bp-asm.h>.
16856 (memset): Don't use BP_SYM.
16857 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16858 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16859 (__bzero): Don't use BP_SYM.
16860 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16861 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16862 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16863 <bp-sym.h> and <bp-asm.h>.
16864 (strncmp): Don't use BP_SYM. Remove comment about bounded
16865 pointers.
16866 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16867 <bp-sym.h> and <bp-asm.h>.
16868 (memcpy): Don't use BP_SYM.
16869 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16870 <bp-sym.h> and <bp-asm.h>.
16871 (memset): Don't use BP_SYM.
16872 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16873 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16874 (__bzero): Don't use BP_SYM.
16875 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16876 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16877 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16878 <bp-sym.h> and <bp-asm.h>.
16879 (__memchr): Don't use BP_SYM.
16880 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16881 <bp-sym.h> and <bp-asm.h>.
16882 (memcmp): Don't use BP_SYM. Remove comment about bounded
16883 pointers.
16884 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16885 <bp-sym.h> and <bp-asm.h>.
16886 (memcpy): Don't use BP_SYM.
16887 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16888 <bp-sym.h> and <bp-asm.h>.
16889 (__mempcpy): Don't use BP_SYM.
16890 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16891 <bp-sym.h> and <bp-asm.h>.
16892 (__memrchr): Don't use BP_SYM.
16893 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16894 <bp-sym.h> and <bp-asm.h>.
16895 (memset): Don't use BP_SYM.
16896 (__bzero): Likewise.
16897 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16898 <bp-sym.h> and <bp-asm.h>.
16899 (__rawmemchr): Don't use BP_SYM.
16900 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16901 <bp-sym.h> and <bp-asm.h>.
16902 (__STRCMP): Don't use BP_SYM.
16903 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16904 <bp-sym.h> and <bp-asm.h>.
16905 (strchr): Don't use BP_SYM.
16906 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16907 <bp-sym.h> and <bp-asm.h>.
16908 (__strchrnul): Don't use BP_SYM.
16909 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16910 <bp-sym.h> and <bp-asm.h>.
16911 (strlen): Don't use BP_SYM.
16912 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16913 <bp-sym.h> and <bp-asm.h>.
16914 (strncmp): Don't use BP_SYM. Remove comment about bounded
16915 pointers.
16916 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16917 <bp-sym.h> and <bp-asm.h>.
16918 (__strnlen): Don't use BP_SYM.
16919 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16920 <bp-sym.h> and <bp-asm.h>.
16921 (__GI__setjmp): Don't use BP_SYM.
16922 (_setjmp): Likewise.
16923 (__sigsetjmp): Likewise.
16924 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16925 (L(start_addresses)): Don't use BP_SYM.
16926 (_start): Likewise.
16927 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16928 <bp-asm.h>.
16929 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16930 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16931 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16932 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16933 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16934 <bp-asm.h>.
16935 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16936 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16937 about bounded pointers.
16938 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16939 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16940 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16941 <bp-asm.h>.
16942 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16943 about bounded pointers. Remove GKM FIXME comments.
16944 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16945 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16946 <bp-asm.h>.
16947 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16948 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16949 Remove GKM FIXME comments.
16950 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16951 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16952 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16953 <bp-asm.h>.
16954 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16955 about bounded pointers. Remove GKM FIXME comment.
16956 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16957 and <bp-asm.h>.
16958 (strncmp): Don't use BP_SYM. Remove comment about bounded
16959 pointers.
16960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16961 <bp-sym.h> and <bp-asm.h>.
16962 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16964 <bp-sym.h> and <bp-asm.h>.
16965 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16966 comment.
16967
cdcf361f
PP
169682013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16969
16970 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16971 call free(NULL).
16972
3c4a2b15
DM
169732013-03-05 David S. Miller <davem@davemloft.net>
16974
16975 * po/es.po: Update from translation team.
16976
cdcf361f 169772013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16978
16979 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16980 <bits/mman-linux.h>.
16981 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16982 is fine.
16983 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16984 <bits/mman-linux.h> to end of file.
16985 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16986 is fine.
16987 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16988 <bits/mman-linux.h> to end of file.
16989 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16990 is fine.
16991 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16992 <bits/mman-linux.h> to end of file.
16993
16994 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16995 (MCL_CURRENT, MCL_FUTURE): Define here.
16996
5f67c04f
AK
169972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16998
8a4473cc 16999 [BZ #15232]
5f67c04f
AK
17000 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17001 attribute_hidden.
17002 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17003
c3e94a95
AK
170042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17005
17006 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17007 fourth parameter needed for rt_sigprocmask syscall.
17008 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17009 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17010 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17011 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17012 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17013 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17014
cfb6382a
JM
170152013-03-04 Joseph Myers <joseph@codesourcery.com>
17016
17017 [BZ #13550]
17018 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17019 comment about bounded pointers.
17020 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17021 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17022
539d8e01
AJ
170232013-03-04 Andreas Jaeger <aj@suse.de>
17024
17025 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17026 common definitions.
17027
17028 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17029 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17030 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17031 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17032 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
17033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17034
2e167a70 170352013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
17036
17037 [BZ #15055]
17038 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17039 __ieee754_sqrl instead of __sqrl.
17040
68508633
JM
170412013-03-01 Joseph Myers <joseph@codesourcery.com>
17042
17043 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17044 * sysdeps/powerpc/fpu_control.h: ... here.
17045 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17046 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17047 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17048 * sysdeps/powerpc/bits/mathinline.h: ... here.
17049
7775448e
RM
170502013-03-01 Roland McGrath <roland@hack.frob.com>
17051
17052 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17053 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17054 to just [NEED_DL_SYSINFO_DSO].
17055 * elf/dl-support.c: Likewise.
17056 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17057 * elf/rtld.c (dl_main): Likewise.
17058 * elf/setup-vdso.h (setup_vdso): Likewise.
17059 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17060 * sysdeps/unix/sysv/linux/dl-sysdep.c
17061 (_dl_discover_osversion): Likewise.
17062
4e9b5995
CD
170632013-03-01 Carlos O'Donell <carlos@redhat.com>
17064
17065 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17066 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17067
e23872c8
SP
170682013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17069
e5c74c63
SP
17070 * NEWS: Mention libm performance improvements and non-x86 PI
17071 futex support.
17072
e23872c8
SP
17073 * csu/libc-start.c (__pthread_initialize_minimal): Change
17074 function arguments.
17075 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17076
b5510883
JM
170772013-02-28 Joseph Myers <joseph@codesourcery.com>
17078
17079 [BZ #13550]
17080 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17081 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17082 <bp-sym.h> and <bp-asm.h>.
17083 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17084 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17085 and <bp-asm.h>.
17086 (memcpy): Don't use BP_SYM.
17087 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17088 <bp-asm.h>.
17089 (__mpn_add_n): Don't use BP_SYM.
17090 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17091 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17092 and <bp-asm.h>.
17093 (__mpn_addmul_1): Don't use BP_SYM.
17094 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17095 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17096 <bp-sym.h>.
17097 (_setjmp): Don't use BP_SYM.
17098 (__novmx_setjmp): Likewise.
17099 (__GI__setjmp): Likewise.
17100 (__vmx_setjmp): Likewise.
17101 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17102 <bp-sym.h>.
17103 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17104 (__bzero): Don't use BP_SYM.
17105 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17106 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17107 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17108 <bp-sym.h> and <bp-asm.h>.
17109 (memcpy): Don't use BP_SYM.
17110 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17111 <bp-sym.h> and <bp-asm.h>.
17112 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17113 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17114 <bp-sym.h> and <bp-asm.h>.
17115 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17116 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17117 <bp-asm.h>.
17118 (__mpn_lshift): Don't use BP_SYM.
17119 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17120 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17121 <bp-asm.h>.
17122 (memset): Don't use BP_SYM.
17123 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17124 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17125 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17126 <bp-asm.h>.
17127 (__mpn_mul_1): Don't use BP_SYM.
17128 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17129 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17130 <bp-sym.h> and <bp-asm.h>.
17131 (memcmp): Don't use BP_SYM.
17132 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17133 <bp-sym.h> and <bp-asm.h>.
17134 (memcpy): Don't use BP_SYM.
17135 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17136 <bp-sym.h> and <bp-asm.h>.
17137 (memset): Don't use BP_SYM.
17138 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17139 <bp-sym.h> and <bp-asm.h>.
17140 (strncmp): Don't use BP_SYM.
17141 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17142 <bp-sym.h> and <bp-asm.h>.
17143 (memcpy): Don't use BP_SYM.
17144 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17145 <bp-sym.h> and <bp-asm.h>.
17146 (memset): Don't use BP_SYM.
17147 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17148 <bp-sym.h> and <bp-asm.h>.
17149 (__memchr): Don't use BP_SYM.
17150 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17151 <bp-sym.h> and <bp-asm.h>.
17152 (memcmp): Don't use BP_SYM.
17153 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17154 <bp-sym.h> and <bp-asm.h>.
17155 (memcpy): Don't use BP_SYM.
17156 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17157 <bp-sym.h> and <bp-asm.h>.
17158 (__mempcpy): Don't use BP_SYM.
17159 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17160 <bp-sym.h> and <bp-asm.h>.
17161 (__memrchr): Don't use BP_SYM.
17162 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17163 <bp-sym.h> and <bp-asm.h>.
17164 (memset): Don't use BP_SYM.
17165 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17166 <bp-sym.h> and <bp-asm.h>.
17167 (__rawmemchr): Don't use BP_SYM.
17168 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17169 <bp-sym.h> and <bp-asm.h>.
17170 (__STRCMP): Don't use BP_SYM.
17171 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17172 <bp-sym.h> and <bp-asm.h>.
17173 (strchr): Don't use BP_SYM.
17174 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17175 <bp-sym.h> and <bp-asm.h>.
17176 (__strchrnul): Don't use BP_SYM.
17177 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17178 <bp-sym.h> and <bp-asm.h>.
17179 (strlen): Don't use BP_SYM.
17180 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17181 <bp-sym.h> and <bp-asm.h>.
17182 (strncmp): Don't use BP_SYM.
17183 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17184 <bp-sym.h> and <bp-asm.h>.
17185 (__strnlen): Don't use BP_SYM.
17186 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17187 <bp-asm.h>.
17188 (__mpn_rshift): Don't use BP_SYM.
17189 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17190 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17191 <bp-sym.h> and <bp-asm.h>.
17192 (__sigsetjmp): Don't use BP_SYM.
17193 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17194 (L(start_addresses)): Don't use BP_SYM.
17195 (_start): Likewise.
17196 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17197 <bp-asm.h>.
17198 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17199 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17200 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17201 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17202 <bp-asm.h>.
17203 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17204 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17205 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17206 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17207 <bp-asm.h>.
17208 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17209 comments.
17210 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17211 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17212 <bp-asm.h>.
17213 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17214 FIXME comments.
17215 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17216 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17217 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17218 <bp-asm.h>.
17219 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17220 comment.
17221 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17222 and <bp-asm.h>.
17223 (strncmp): Don't use BP_SYM,
17224 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17225 <bp-asm.h>.
17226 (__mpn_sub_n): Don't use BP_SYM.
17227 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17228 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17229 and <bp-asm.h>.
17230 (__mpn_submul_1): Don't use BP_SYM.
17231 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17233 <bp-sym.h> and <bp-asm.h>.
17234 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17236 <bp-sym.h> and <bp-asm.h>.
17237 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17238 comment.
17239
8d19fe64
SP
172402013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17241
17242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17243 Use ZK to minimize writes to Z.
17244 (sub_magnitudes): Simplify code a bit.
17245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17246 Use ZK to minimize writes to Z.
17247 (sub_magnitudes): Simplify code a bit.
17248
85bd816a
RM
172492013-02-27 Roland McGrath <roland@hack.frob.com>
17250
17251 * csu/gmon-start.c: Add special exception to license text.
17252
b5977bf2
RH
172532013-02-27 Richard Henderson <rth@redhat.com>
17254
17255 * scripts/config.guess: Update from config.git.
17256 * scripts/config.sub: Likewise.
17257
11d6e2f2
SP
172582013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17259
09c14ed2
SP
17260 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17261
a688864e
SP
17262 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17263
6295157a
SP
17264 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17265
b8de2202
SP
17266 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17267
11d6e2f2
SP
17268 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17269
7e80ddb8
RM
172702013-02-26 Roland McGrath <roland@hack.frob.com>
17271
17272 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17273 [$(build-shared = yes].
7e80ddb8 17274
7da6d9ed
SP
172752013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17276
45f05884
SP
17277 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17278 (__mul): Reduce iterations for calculating mantissa.
17279
2236d359
SP
17280 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17281 MPTWO.
17282 (__mpranred): Likewise.
17283
7da6d9ed
SP
17284 [BZ #15160]
17285 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17286 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17287
b7688c42
PE
172882013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17289
17290 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17291 Define __attribute__.
17292
53a5c423
SP
172932013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17294
17295 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17296 unused.
17297 * posix/regex_internal.h (__attribute): Remove.
17298 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17299 (re_string_context_at): Likewise.
17300 (bitset_not): Use __attribute__ and mark function as possibly
17301 unused.
17302 (bitset_merge): Likewise.
17303 (bitset_mask): Likewise.
17304 (re_string_char_size_at): Likewise.
17305 (re_string_wchar_at): Likewise.
17306 (re_string_elem_size_at): Likewise.
17307
60f5a8b5
SP
173082013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17309
2a983a2e
SP
17310 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17311 code.
17312 (cc32): Likewise.
17313
e69804d1
SP
17314 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17315 (__acr): Likewise.
17316 (__cpy): Likewise.
17317 (norm): Likewise.
17318 (denorm): Likewise.
17319 (__dbl_mp): Likewise.
17320 (add_magnitudes): Likewise.
17321 (sub_magnitudes): Likewise.
17322 (__mul): Likewise.
17323 (__inv): Likewise.
17324
2f22a1e8
SP
17325 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17326 style.
17327
8930ddc7
SP
17328 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17329 style.
17330
dc60cb11
SP
17331 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17332 code.
17333
60f5a8b5
SP
17334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17335 up changes with default code.
17336 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17337 Likewise.
17338
b4d1fd33
AM
173392013-02-24 Allan McRae <allan@archlinux.org>
17340
faf6f8bc
AM
17341 * manual/socket.texi (The Internet Namespace): Order menu items
17342 to match that in the file.
17343
b4d1fd33
AM
17344 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17345 node listing of the info page menu.
17346
2366713d
JM
173472013-02-21 Joseph Myers <joseph@codesourcery.com>
17348
17349 [BZ #13550]
17350 * sysdeps/i386/bp-asm.h: Remove file.
17351 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17352 (PARMS): Do not use macros from bp-asm.h.
17353 (S1): Likewise.
17354 (S2): Likewise.
17355 (SIZE): Likewise.
17356 (__mpn_add_n): Do not use BP_SYM
17357 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17358 "bp-asm.h".
17359 (PARMS): Do not use macros from bp-asm.h.
17360 (S1): Likewise.
17361 (SIZE): Likewise.
17362 (__mpn_addmul_1): Do not use BP_SYM
17363 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17364 "bp-asm.h".
17365 (PARMS): Do not use macros from bp-asm.h.
17366 (SIGMSK): Likewise.
17367 (_setjmp): Likewise. Do not use BP_SYM.
17368 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17369 "bp-asm.h".
17370 (PARMS): Do not use macros from bp-asm.h.
17371 (SIGMSK): Likewise.
17372 (setjmp): Likewise. Do not use BP_SYM.
17373 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17374 "bp-asm.h".
17375 (PARMS): Do not use macros from bp-asm.h.
17376 (__frexp): Do not use BP_SYM.
17377 (frexp): Likewise.
17378 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17379 "bp-asm.h".
17380 (PARMS): Do not use macros from bp-asm.h.
17381 (__frexpf): Do not use BP_SYM.
17382 (frexpf): Likewise.
17383 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17384 "bp-asm.h".
17385 (PARMS): Do not use macros from bp-asm.h.
17386 (__frexpl): Do not use BP_SYM.
17387 (frexpl): Likewise.
17388 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17389 "bp-asm.h".
17390 (PARMS): Do not use macros from bp-asm.h.
17391 (__remquo): Do not use BP_SYM.
17392 (remquo): Likewise.
17393 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17394 "bp-asm.h".
17395 (PARMS): Do not use macros from bp-asm.h.
17396 (__remquof): Do not use BP_SYM.
17397 (remquof): Likewise.
17398 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17399 "bp-asm.h".
17400 (PARMS): Do not use macros from bp-asm.h.
17401 (__remquol): Do not use BP_SYM.
17402 (remquol): Likewise.
17403 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17404 "bp-asm.h".
17405 (PARMS): Do not use macros from bp-asm.h.
17406 (DEST): Likewise.
17407 (SRC): Likewise.
17408 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17409 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17410 "bp-asm.h".
17411 (PARMS): Do not use macros from bp-asm.h.
17412 (strlen): Do not use BP_SYM.
17413 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17414 "bp-asm.h".
17415 (PARMS): Do not use macros from bp-asm.h.
17416 (S1): Likewise.
17417 (S2): Likewise.
17418 (SIZE): Likewise.
17419 (__mpn_add_n): Do not use BP_SYM.
17420 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17421 "bp-asm.h".
17422 (PARMS): Do not use macros from bp-asm.h.
17423 (S1): Likewise.
17424 (SIZE): Likewise.
17425 (__mpn_addmul_1): Do not use BP_SYM.
17426 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17427 weak_alias.
17428 (bzero): Likewise.
17429 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17430 "bp-asm.h".
17431 (PARMS): Do not use macros from bp-asm.h.
17432 (S): Likewise.
17433 (SIZE): Likewise.
17434 (__mpn_lshift): Do not use BP_SYM.
17435 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17436 "bp-asm.h".
17437 (PARMS): Do not use macros from bp-asm.h.
17438 (DEST): Likewise.
17439 (SRC): Likewise.
17440 (LEN): Likewise.
17441 (memcpy): Likewise. Do not use BP_SYM.
17442 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17443 libc_hidden_def and weak_alias.
17444 (mempcpy): Do not use BP_SYM in weak_alias.
17445 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17446 "bp-asm.h".
17447 (PARMS): Do not use macros from bp-asm.h.
17448 (DEST): Likewise.
17449 (LEN): Likewise.
17450 [!BZERO_P] (CHR): Likewise.
17451 (memset): Likewise. Do not use BP_SYM.
17452 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17453 "bp-asm.h".
17454 (PARMS): Do not use macros from bp-asm.h.
17455 (S1): Likewise.
17456 (SIZE): Likewise.
17457 (__mpn_mul_1): Do not use BP_SYM.
17458 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17459 "bp-asm.h".
17460 (PARMS): Do not use macros from bp-asm.h.
17461 (S): Likewise.
17462 (SIZE): Likewise.
17463 (__mpn_rshift): Do not use BP_SYM.
17464 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17465 "bp-asm.h".
17466 (PARMS): Do not use macros from bp-asm.h.
17467 (STR): Likewise.
17468 (CHR): Likewise.
17469 (strchr): Likewise. Do not use BP_SYM.
17470 (index): Do not use BP_SYM in weak_alias.
17471 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17472 "bp-asm.h".
17473 (PARMS): Do not use macros from bp-asm.h.
17474 (DEST): Likewise.
17475 (SRC): Likewise.
17476 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17477 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17478 "bp-asm.h".
17479 (PARMS): Do not use macros from bp-asm.h.
17480 (strlen): Do not use BP_SYM.
17481 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17482 "bp-asm.h".
17483 (PARMS): Do not use macros from bp-asm.h.
17484 (S1): Likewise.
17485 (S2): Likewise.
17486 (SIZE): Likewise.
17487 (__mpn_sub_n): Do not use BP_SYM.
17488 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17489 "bp-asm.h".
17490 (PARMS): Do not use macros from bp-asm.h.
17491 (S1): Likewise.
17492 (SIZE): Likewise.
17493 (__mpn_submul_1): Do not use BP_SYM.
17494 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17495 "bp-asm.h".
17496 (PARMS): Do not use macros from bp-asm.h.
17497 (S1): Likewise.
17498 (S2): Likewise.
17499 (SIZE): Likewise.
17500 (__mpn_add_n): Do not use BP_SYM.
17501 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17502 weak_alias.
17503 (bzero): Likewise.
17504 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17505 "bp-asm.h".
17506 (PARMS): Do not use macros from bp-asm.h.
17507 (BLK2): Likewise.
17508 (LEN): Likewise.
17509 (memcmp): Do not use BP_SYM.
17510 (bcmp): Do not use BP_SYM in weak_alias.
17511 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17512 "bp-asm.h".
17513 (PARMS): Do not use macros from bp-asm.h.
17514 (DEST): Likewise.
17515 (SRC): Likewise.
17516 (LEN): Likewise.
17517 (memcpy): Likewise. Do not use BP_SYM.
17518 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17519 "bp-asm.h".
17520 (PARMS): Do not use macros from bp-asm.h.
17521 (DEST): Likewise.
17522 (SRC): Likewise.
17523 (LEN): Likewise.
17524 (memmove): Likewise. Do not use BP_SYM.
17525 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17526 "bp-asm.h".
17527 (PARMS): Do not use macros from bp-asm.h.
17528 (DEST): Likewise.
17529 (SRC): Likewise.
17530 (LEN): Likewise.
17531 (__mempcpy): Likewise. Do not use BP_SYM.
17532 (mempcpy): Do not use BP_SYM in weak_alias.
17533 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17534 "bp-asm.h".
17535 (PARMS): Do not use macros from bp-asm.h.
17536 (DEST): Likewise.
17537 (LEN): Likewise.
17538 [!BZERO_P] (CHR): Likewise.
17539 (memset): Likewise. Do not use BP_SYM.
17540 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17541 "bp-asm.h".
17542 (PARMS): Do not use macros from bp-asm.h.
17543 (STR2): Likewise.
17544 (strcmp): Do not use BP_SYM.
17545 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17546 "bp-asm.h".
17547 (PARMS): Do not use macros from bp-asm.h.
17548 (STR): Likewise.
17549 (DELIM): Likewise.
17550 [USE_AS_STRTOK_R] (SAVE): Likewise.
17551 (FUNCTION): Likewise. Do not use BP_SYM.
17552 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17553 aliases.
17554 (strtok_r): Likewise.
17555 (__GI___strtok_r): Likewise.
17556 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17557 (PARMS): Do not use macros from bp-asm.h.
17558 (S): Likewise.
17559 (SIZE): Likewise.
17560 (__mpn_lshift): Do not use BP_SYM.
17561 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17562 (PARMS): Do not use macros from bp-asm.h.
17563 (STR): Likewise.
17564 (CHR): Likewise.
17565 (__memchr): Do not use BP_SYM.
17566 (memchr): Do not use BP_SYM in weak_alias.
17567 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17568 (PARMS): Do not use macros from bp-asm.h.
17569 (BLK2): Likewise.
17570 (LEN): Likewise.
17571 (memcmp): Do not use BP_SYM.
17572 (bcmp): Do not use BP_SYM in weak_alias.
17573 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17574 (PARMS): Do not use macros from bp-asm.h.
17575 (S1): Likewise.
17576 (SIZE): Likewise.
17577 (__mpn_mul_1): Do not use BP_SYM.
17578 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17579 "bp-asm.h".
17580 (PARMS): Do not use macros from bp-asm.h.
17581 (STR): Likewise.
17582 (CHR): Likewise.
17583 (__rawmemchr): Do not use BP_SYM.
17584 (rawmemchr): Do not use BP_SYM in weak_alias.
17585 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17586 (PARMS): Do not use macros from bp-asm.h.
17587 (S): Likewise.
17588 (SIZE): Likewise.
17589 (__mpn_rshift): Do not use BP_SYM.
17590 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17591 (PARMS): Do not use macros from bp-asm.h.
17592 (SIGMSK): Likewise.
17593 (__sigsetjmp): Likewise. Do not use BP_SYM.
17594 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17595 (_start): Do not use BP_SYM.
17596 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17597 (PARMS): Do not use macros from bp-asm.h.
17598 (DEST): Likewise.
17599 (SRC): Likewise.
17600 (__stpcpy): Likewise. Do not use BP_SYM.
17601 (stpcpy): Do not use BP_SYM in weak_alias.
17602 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17603 "bp-asm.h".
17604 (PARMS): Do not use macros from bp-asm.h.
17605 (DEST): Likewise.
17606 (SRC): Likewise.
17607 (LEN): Likewise.
17608 (__stpncpy): Likewise. Do not use BP_SYM.
17609 (stpncpy): Do not use BP_SYM in weak_alias.
17610 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17611 (PARMS): Do not use macros from bp-asm.h.
17612 (STR): Likewise.
17613 (CHR): Likewise.
17614 (strchr): Likewise. Do not use BP_SYM.
17615 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17616 "bp-asm.h".
17617 (PARMS): Do not use macros from bp-asm.h.
17618 (STR): Likewise.
17619 (CHR): Likewise.
17620 (__strchrnul): Likewise. Do not use BP_SYM.
17621 (strchrnul): Do not use BP_SYM in weak_alias.
17622 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17623 "bp-asm.h".
17624 (PARMS): Do not use macros from bp-asm.h.
17625 (STOP): Likewise.
17626 (strcspn): Do not use BP_SYM.
17627 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17628 "bp-asm.h".
17629 (PARMS): Do not use macros from bp-asm.h.
17630 (STR): Likewise.
17631 (STOP): Likewise.
17632 (strpbrk): Likewise. Do not use BP_SYM.
17633 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17634 "bp-asm.h".
17635 (PARMS): Do not use macros from bp-asm.h.
17636 (STR): Likewise.
17637 (CHR): Likewise.
17638 (strrchr): Likewise. Do not use BP_SYM.
17639 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17640 (PARMS): Do not use macros from bp-asm.h.
17641 (SKIP): Likewise.
17642 (strspn): Do not use BP_SYM.
17643 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17644 (PARMS): Do not use macros from bp-asm.h.
17645 (STR): Likewise.
17646 (DELIM): Likewise.
17647 (SAVE): Likewise.
17648 (FUNCTION): Likewise. Do not use BP_SYM.
17649 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17650 aliases.
17651 (strtok_r): Likewise.
17652 (__GI___strtok_r): Likewise.
17653 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17654 (PARMS): Do not use macros from bp-asm.h.
17655 (S1): Likewise.
17656 (S2): Likewise.
17657 (SIZE): Likewise.
17658 (__mpn_sub_n): Do not use BP_SYM.
17659 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17660 "bp-asm.h".
17661 (PARMS): Do not use macros from bp-asm.h.
17662 (S1): Likewise.
17663 (SIZE): Likewise.
17664 (__mpn_submul_1): Do not use BP_SYM.
17665 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17666 <bp-sym.h>.
17667 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17668 and <bp-asm.h>.
17669 (PARMS): Do not use macros from bp-asm.h.
17670 (FLAGS): Likewise.
17671 (PTID): Likewise.
17672 (TLS): Likewise.
17673 (CTID): Likewise.
17674 (__clone): Do not use BP_SYM.
17675 (clone): Do not use BP_SYM in weak_alias.
17676 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17677 and <bp-asm.h>.
17678 (PARMS): Do not use macros from bp-asm.h.
17679 (LEN): Likewise.
17680 (__mmap64): Do not use BP_SYM.
17681 (mmap64): Do not use BP_SYM in weak_alias.
17682 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17683 <bp-sym.h> and <bp-asm.h>.
17684 (PARMS): Do not use macros from bp-asm.h.
17685 (__posix_fadvise64_l64): Do not use BP_SYM.
17686 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17687 (PARMS): Do not use macros from bp-asm.h.
17688 (NSOPS): Likewise.
17689 (semtimedop): Do not use BP_SYM.
17690 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17691 and <bp-asm.h>.
17692
582a3cff
AM
176932013-02-21 Allan McRae <allan@archlinux.org>
17694
17695 * manual/message.texi (Charset conversion in gettext):
17696 Move @end statement to beginning of line.
17697
bab8a695
SP
176982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17699
80945231
SP
17700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17701 static.
17702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17703 Likewise.
17704
bab8a695
SP
17705 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17706 (denorm): Likewise.
17707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17709
e21d7aa7
AK
177102013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17711
17712 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17713 tail-call to the resolved function if pltexit isn't needed.
17714
4c7a4263
SP
177152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17716
17717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17718 or Y being zero as being unlikely.
17719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17720 Likewise.
17721
41f49342
CD
177222013-02-20 Carlos O'Donell <carlos@redhat.com>
17723
17724 * manual/nss.texi (System Databases and Name Service Switch):
17725 Remove frobnicate @pxref.
17726
50022a93
TS
177272013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17728
17729 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17730 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17731
08cbd996
PM
177322013-02-20 Petr Machata <pmachata@redhat.com>
17733
17734 * elf/elf.h (R_ARM_TARGET1): New macro.
17735 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17736 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17737 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17738 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17739 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17740 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17741 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17742 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17743 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17744 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17745 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17746 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17747 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17748 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17749 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17750 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17751 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17752 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17753 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17754 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17755 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17756 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17757 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17758 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17759 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17760 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17761 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17762 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17763 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17764 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17765 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17766 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17767 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17768 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17769 (R_ARM_THM_GOT_BREL12): Likewise.
17770 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17771 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17772 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17773 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17774 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17775 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17776 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17777 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17778 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17779
c7b275d6
TS
177802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17781
17782 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17783 __attribute_used__ to __attribute__ ((unused)).
17784
20cd7fb3
SP
177852013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17786
17787 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17788 powerpc mpa.c.
17789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17790 comment formatting.
17791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17792
92945b52
JM
177932013-02-19 Joseph Myers <joseph@codesourcery.com>
17794
17795 [BZ #13550]
17796 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17797 Remove macro.
17798 (ENTER): Remove both macro definitions.
17799 (LEAVE): Likewise.
17800 (CHECK_BOUNDS_LOW): Likewise.
17801 (CHECK_BOUNDS_HIGH): Likewise.
17802 (CHECK_BOUNDS_BOTH): Likewise.
17803 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17804 (RETURN_BOUNDED_POINTER): Likewise.
17805 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17806 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17807 (POP_ERRNO_LOCATION_RETURN): Likewise.
17808 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17809 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17810 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17811 macros.
17812 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17813 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17814 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17815 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17816 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17817 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17818 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17819 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17820 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17821 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17822 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17823 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17824 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17825 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17826 removed macros.
17827 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17828 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17829 macros.
17830 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17831 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17832 * sysdeps/i386/i586/memset.S (memset): Likewise.
17833 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17834 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17835 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17836 macros.
17837 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17838 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17839 Change uses of L(2) to L(out).
17840 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17841 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17842 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17843 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17844 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17845 removed macros.
17846 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17847 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17848 macros.
17849 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17850 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17851 (RETURN): Do not use macro LEAVE.
17852 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17853 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17854 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17855 * sysdeps/i386/i686/memset.S (memset): Likewise.
17856 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17857 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17858 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17859 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17860 Likewise.
17861 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17862 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17863 L(1_2) and L(1_3) into L(1).
17864 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17865 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17866 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17867 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17868 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17869 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17870 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17871 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17872 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17873 macros.
17874 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17875 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17876 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17877 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17878 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17879 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17880 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17881 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17882 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17883 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17884 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17885 * sysdeps/i386/strspn.S (strspn): Likewise.
17886 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17887 conditional code.
17888 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17889 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17890 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17891 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17892 L(1_3) into L(1_1).
17893 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17894 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17895 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17896 macros.
17897 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17898
2389741a
JJ
178992013-02-19 Jakub Jelinek <jakub@redhat.com>
17900
17901 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17902 macro.
17903
2016b3cd
SP
179042013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17905
e4f22324
SP
17906 * math/atest-exp.c (exp_mpn): Remove ROUND.
17907 * math/atest-exp2.c (exp_mpn): Likewise.
17908 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17909
2016b3cd
SP
17910 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17911 * stdlib/tst-tls-atexit-lib.c: Likewise.
17912 * stdlib/tst-tls-atexit.c: Likewise.
17913
4be9b544
MF
179142013-02-18 Mike Frysinger <vapier@gentoo.org>
17915
17916 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17917 and __attribute_alloc_size__.
17918
2f62b9ee
MF
179192013-02-18 Mike Frysinger <vapier@gentoo.org>
17920
17921 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17922 __attribute_alloc_size__.
17923 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17924 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17925
6ff444c4
MF
179262013-02-18 Mike Frysinger <vapier@gentoo.org>
17927
17928 * include/programs/xmalloc.h: New file.
17929 * catgets/gencat.c: Include it.
17930 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17931 * elf/pldd.c: Likewise.
17932 * iconv/iconv_charmap.c: Likewise.
17933 * iconv/iconvconfig.c: Likewise.
17934 * iconv/strtab.c: Likewise.
17935 * locale/programs/locale.c: Likewise.
17936 * locale/programs/localedef.h: Likewise.
17937 * locale/programs/simple-hash.c: Likewise.
17938 * nscd/nscd.h: Likewise.
17939 * nss/makedb.c: Likewise.
17940 * sysdeps/generic/ldconfig.h: Likewise.
17941
be179c8a
SP
179422013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17943
ba384f6e
SP
17944 * Versions.def: Add GLIBC_2.18.
17945 * include/link.h (struct link_map): New member l_tls_dtor_count.
17946 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17947 (__call_tls_dtors): Likewise.
17948 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17949 __cxa_thread_atexit_impl.
17950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17951 Likewise.
17952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17953 Likewise.
17954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17955 Likewise.
17956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17957 Likewise.
17958 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17960 Likewise.
17961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17962 Likewise.
17963 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17965 Likewise.
17966 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17967 (tests): Add test case tst-tls-atexit.
17968 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17969 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17970 (GLIBC_PRIVATE): Add __call_tls_dtors.
17971 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17972 for libstdc++.
17973 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17974 * stdlib/tst-tls-atexit.c: New test case.
17975 * stdlib/tst-tls-atexit-lib.c: New test case.
17976
ffaa74cf 17977 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17978
be179c8a
SP
17979 * elf/Versions (ld): Add _dl_find_dso_for_object.
17980 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17981 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17982 (dl_open_worker): Use _dl_find_dso_for_object.
17983 * elf/dl-sym.c (do_sym): Likewise.
17984 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17985
f78b5caa
AK
179862013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17987
17988 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17989 Syntactic changes only.
17990 (_dl_runtime_profile): Do a tail-call to the resolved function.
17991
29691210
JM
179922013-02-17 Joseph Myers <joseph@codesourcery.com>
17993
17994 [BZ #13550]
17995 * sysdeps/x86_64/bp-asm.h: Remove file.
17996 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17997 <bp-sym.h> and <bp-asm.h>.
17998 (__clone): Do not use BP_SYM.
17999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18000 <bp-sym.h> and <bp-asm.h>.
18001 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18002 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18003 "bp-asm.h".
18004 (_setjmp): Do not use BP_SYM.
18005 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18006 "bp-asm.h".
18007 (setjmp): Do not use BP_SYM.
18008 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18009 libc_hidden_def.
18010 (mempcpy): Do not use BP_SYM in weak_alias.
18011 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18012 "bp-asm.h".
18013 (strchr): Do not use BP_SYM.
18014 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18015 "bp-asm.h".
18016 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18017 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18018 (_start): Do not use BP_SYM.
18019 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18020 "bp-asm.h".
18021 (strcat): Do not use BP_SYM.
18022 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18023 "bp-asm.h".
18024 (STRCMP): Do not use BP_SYM.
18025 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18026 "bp-asm.h".
18027 (STRCPY): Do not use BP_SYM.
18028 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18029 "bp-asm.h".
18030 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18031 "bp-asm.h".
18032 (FUNCTION): Do not use BP_SYM.
18033 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18034 weak_alias.
18035 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18036
f238fd19
AJ
180372013-02-17 Andreas Jaeger <aj@suse.de>
18038
18039 * time/Versions: Sort entries.
18040 * string/Versions: Likewise.
18041 * resolv/Versions: Likewise.
18042 * posix/Versions: Likewise.
18043 * iconv/Versions: Likewise.
18044 * elf/Versions: Likewise.
18045 * wcsmbs/Versions: Likewise.
18046
bd07f23c 180472013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 18048
22af19f9
SP
18049 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18050 loop termination condition.
18051
4709fe76
SP
18052 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18053 variable to calculate EZ.
18054 (__sqr): Likewise.
2d0e0f29
SP
18055
18056 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18057 the lower precision input.
18058
daaa7713
JM
180592013-02-15 Joseph Myers <joseph@codesourcery.com>
18060
18061 [BZ #13550]
18062 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18063 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18064 (run-via-rtld-prefix): Do not handle %-bp tests.
18065 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18066 (all-object-suffixes): Remove .ob.
18067 (bppfx): Remove variable.
18068 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18069 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18070 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18071 [$(build-bounded) = yes] (libtype.ob): Likewise.
18072 * Makerules (elide-routines.ob): Remove variable.
18073 (do-tests-clean): Do not handle *-bp.out.
18074 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18075 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18076 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18077 (tests): Do not include $(tests-bp.out).
18078 (xtests): Do not include $(xtests-bp.out).
18079 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18080 [$(build-bounded) = yes] ($(addprefix
18081 $(objpfx),$(binaries-bounded))): Remove rule.
18082 ($(objpfx)%-bp.out): Remove rule.
18083 * config.make.in (build-bounded): Remove variable.
18084 * crypt/Makefile [$(build-bounded) = yes]
18085 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18086 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18087 append to variable.
18088 [$(build-bounded) = yes] (install-lib): Likewise.
18089 [$(build-bounded) = yes] (generated): Likewise.
18090 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18091 Remove rule.
18092 * intl/Makefile [$(build-bounded) = yes]
18093 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18094 * math/Makefile [$(build-bounded) = yes]
18095 ($(tests:%=$(objpfx)%-bp): Likewise.
18096 * misc/Makefile [$(build-bounded) = yes]
18097 ($(objpfx)tst-tsearch-bp): Likewise.
18098 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18099 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18100 Remove dependency.
18101 * string/Makefile (o-objects.ob): Remove variable.
18102 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18103 (CFLAGS-.ob): Remove variable.
18104 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18105 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18106 both definitions of variable.
18107 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18108 (ASFLAGS-.ob): Remove variable.
18109
e97ed6dd
JM
181102013-02-14 Joseph Myers <joseph@codesourcery.com>
18111
2bdd4ca6
JM
18112 [BZ #13550]
18113 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18114 Remove __BOUNDED_POINTERS__ from condition.
18115 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18116 * string/bits/string2.h [!__NO_STRING_INLINES &&
18117 !__BOUNDED_POINTERS__]: Likewise.
18118 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18119 Likewise.
18120 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18121 Remove conditional code.
18122 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18123 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18124 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18125 condition.
18126
e97ed6dd
JM
18127 [BZ #13550]
18128 * csu/libc-start.c: Do not include <bp-sym.h>.
18129 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18130 * elf/dl-open.c: Do not include <bp-sym.h>.
18131 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18132 * math/fegetenv.c: Do not include <bp-sym.h>.
18133 (fegetenv): Do not use BP_SYM in versioned symbols.
18134 * nptl/sysdeps/pthread/bits/libc-lockP.h
18135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18136 <bp-sym.h>.
18137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18138 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18140 (__pthread_mutex_destroy): Likewise.
18141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18142 (__pthread_mutex_lock): Likewise.
18143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18144 (__pthread_mutex_trylock): Likewise.
18145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18146 (__pthread_mutex_unlock): Likewise.
18147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18148 (__pthread_mutexattr_init): Likewise.
18149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18150 (__pthread_mutexattr_destroy): Likewise.
18151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18152 (__pthread_mutexattr_settype): Likewise.
18153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18154 (__pthread_rwlock_init): Likewise.
18155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18156 (__pthread_rwlock_destroy): Likewise.
18157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18158 (__pthread_rwlock_rdlock): Likewise.
18159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18160 (__pthread_rwlock_tryrdlock): Likewise.
18161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18162 (__pthread_rwlock_wrlock): Likewise.
18163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18164 (__pthread_rwlock_trywrlock): Likewise.
18165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18166 (__pthread_rwlock_unlock): Likewise.
18167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18168 (__pthread_key_create): Likewise.
18169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18170 (__pthread_setspecific): Likewise.
18171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18172 (__pthread_getspecific): Likewise.
18173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18174 Likewise.
18175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18176 (_pthread_cleanup_push_defer): Likewise.
18177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18178 (_pthread_cleanup_pop_restore): Likewise.
18179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18180 (pthread_setcancelstate): Likewise.
18181 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18182 <bp-sym.h>.
18183 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18184 (memchr): Do not use BP_SYM in weak_alias.
18185 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18186 (fegetenv): Do not use BP_SYM in versioned symbols.
18187 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18188 (fesetenv): Do not use BP_SYM in versioned symbols.
18189 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18190 (feupdateenv): Do not use BP_SYM in versioned symbols.
18191 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18192 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18193 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18194 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18195 (open64): Do not use BP_SYM in weak_alias.
18196 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18197 (fegetenv): Do not use BP_SYM in versioned symbols.
18198 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18199 (fesetenv): Do not use BP_SYM in versioned symbols.
18200 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18201 (feupdateenv): Do not use BP_SYM in versioned symbols.
18202 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18203 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18204 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18205 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18206 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18207 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18208 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18209 <bp-sym.h>.
18210 (__libc_start_main): Do not use BP_SYM.
18211
d6752ccd
SP
182122013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18213
cb57ce60
SP
18214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18215 redundant return line.
18216 (norm): Likewise.
18217 (denorm): Likewise.
18218 (dbl_mp): Likewise.
18219 (sub_magnitudes): Likewise.
18220 (__add): Likewise.
18221 (__sub): Likewise.
18222 (__mul): Likewise.
18223 (__inv): Likewise.
18224 (__dvd): Likewise.
18225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18226 (norm): Likewise.
18227 (denorm): Likewise.
18228 (dbl_mp): Likewise.
18229 (sub_magnitudes): Likewise.
18230 (__add): Likewise.
18231 (__sub): Likewise.
18232 (__mul): Likewise.
18233 (__inv): Likewise.
18234 (__dvd): Likewise.
18235
f414520d
SP
18236 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18237 instead of __mul.
18238 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18239 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18240 (cc32): Likewise.
18241
d6752ccd
SP
18242 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18243 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18245 of __mul for squares.
18246 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18247 function
18248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18249 Likewise.
18250 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18251 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18252
70d9946a
JM
182532013-02-13 Joseph Myers <joseph@codesourcery.com>
18254
18255 [BZ #13550]
18256 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18257 code.
18258 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18259 prototype or function definition. Rename ubp_* variables and
18260 parameters. Remove argv definitions conditional on
18261 [__BOUNDED_POINTERS__].
18262 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18263 * elf/dl-runtime.c (_dl_fixup): Likewise.
18264 * include/set-hooks.h (RUN_HOOK): Likewise.
18265 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18266 definition.
18267 * string/strcpy.c (strcpy): Do not use __unbounded.
18268 * sysdeps/generic/frame.h (struct layout): Likewise.
18269 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18270 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18271 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18272 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18273 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18274 (__backtrace): Likewise.
18275 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18276 use __ptrvalue.
18277 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18278 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18279 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18280 Likewise.
18281 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18282 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18283 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18284 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18285 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18286 Do not use __unbounded.
18287 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18288 Rename __unboundedrlimits parameter to rlimits in prototype.
18289 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18290 Do not use __unbounded.
18291 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18292 not use __ptrvalue.
18293 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18294 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18295 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18296 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18297 __ptrvalue or __unbounded.
18298 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18299 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18300 use __unbounded.
18301 (__new_msgctl): Do not use __ptrvalue.
18302 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18303 __unbounded.
18304 (__libc_msgrcv): Do not use __ptrvalue.
18305 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18306 startup_info): Do not use __unbounded.
18307 (__libc_start_main): Likewise. Rename ubp_* variables and
18308 parameters. Remove argv definitions conditional on
18309 [__BOUNDED_POINTERS__].
18310 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18311 __ptrvalue.
18312 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18313 use __unbounded.
18314 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18315 or __ptrvalue.
18316 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18317 use __unbounded.
18318 (__new_shmctl): Do not use __ptrvalue.
18319 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18320 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18321 Likewise.
18322 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18323 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18324 (__libc_sigaction): Likewise.
18325 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18326 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18327 Likewise.
18328 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18329
cc7834d6
OB
183302013-02-13 Ondřej Bílka <neleai@seznam.cz>
18331
ffb1ec7b 18332 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18333
18334 * string/mempcpy.c: Implement by calling memcpy.
18335
bdf02814
SP
183362013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18337
c2af38aa
SP
18338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18339
4e92d59e
SP
18340 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18341 evaluation.
18342
909279a5
SP
18343 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18344 values in the mantissa.
18345
bdf02814
SP
18346 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18347 minimize writes to Z.
18348 (sub_magnitudes): Simplify code a bit.
18349
cd525923
RM
183502013-02-12 Roland McGrath <roland@hack.frob.com>
18351
18352 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18353 from the message. The linker prefixes all warnings with that already.
18354
7e2f0d2d
AS
183552013-02-12 Andreas Schwab <schwab@suse.de>
18356
a445af0b
AS
18357 [BZ #15078]
18358 * posix/regexec.c (extend_buffers): Add parameter min_len.
18359 (check_matching): Pass minimum needed length.
18360 (clean_state_log_if_needed): Likewise.
18361 (get_subexp): Likewise.
18362 * posix/Makefile (tests): Add bug-regex34.
18363 (bug-regex34-ENV): Define.
18364 * posix/bug-regex34.c: New file.
18365
7e2f0d2d
AS
18366 [BZ #11561]
18367 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18368 elements compare against the byte sequence of it, not its name.
18369 * posix/Makefile (tests): Add bug-regex35.
18370 (bug-regex35-ENV): Define.
18371 * posix/bug-regex35.c: New file.
18372
a175b684
TV
183732013-02-11 Tom de Vries <tom@codesourcery.com>
18374
18375 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18376 comment.
18377 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18378 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18379 (CHECK_EOL): Add undef.
18380
310998fe 183812013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18382
18383 * bits/stdlib-bsearch.h: New file.
18384 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18385 * stdlib/stdlib.h: Likewise.
41eda41d 18386
8ded91fb
RM
183872013-02-11 Roland McGrath <roland@hack.frob.com>
18388
18389 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18390 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18391 declaration.
18392 * manual/search.texi (Array Search Function): Add missing const in
18393 lfind prototype.
18394 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18395 declaration to use rlim_t.
18396 (Basic Scheduling Functions): Remove erroneous const from
18397 sched_getparam prototype. Remove erroneous * from
18398 sched_get_priority_max and sched_get_priority_min prototypes.
18399 (Resource Usage): Fix summary @comment on vtimes to refer to
18400 sys/vtimes.h rather than vtimes.h.
18401 Add missing *s in vtimes prototype.
18402 (Limits on Resources): Fix ulimit prototype to return long int.
18403 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18404 prototypes to use long int rather than double.
18405 (BSD Random): Fix initstate and setstate to use char *, not void *.
18406 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18407 prototype to make second argument 'struct aiocb64 *const[]'.
18408 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18409 (Status of AIO Operations): Remove erroneous const in aio_return and
18410 aio_return64 prototypes.
18411 (Synchronizing I/O): Fix sync prototype to return void.
18412 * manual/startup.texi (Suboptions): Remove an erroneous const in
18413 getsubopt prototype.
18414 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18415 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18416 use size_t rather than int.
18417 (Scanning All Users): Likewise for getpwent_r.
18418 (Setting Groups): Add missing const to setgroups prototype.
18419 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18420 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18421 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18422 'const void *' rather than 'const char *'.
18423 (Host Address Functions): Likewise for inet_ntop.
18424 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18425 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18426 ssize_t for return value.
18427 (Sending Data): Likewise for send, sendto, sendmsg.
18428 (Socket Option Functions): Add a missing const in setsockopt prototype.
18429 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18430 use wchar_t for the argument.
18431 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18432 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18433 take no arguments.
18434 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18435 double/float/long double for second argument.
18436 Fix return types of significand, significandf, significandl.
18437 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18438 argument in fchmod prototype.
18439 (File Owner): Use uid_t and gid_t in fchown prototype.
18440 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18441 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18442 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18443 use 'const struct dirent **' as argument types to CMP function pointer
18444 argument.
18445 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18446 (File Times): Fix summary magic @comment for struct utimbuf and utime
18447 to refer to utime.h, not time.h.
18448 * manual/string.texi (Argz Functions): Add missing const in
18449 argz_extract and argz_next prototypes.
18450 (Finding Tokens in a String): Likewise for basename.
18451 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18452 (Copying and Concatenation): Fix typo in wmemmove prototype.
18453 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18454 (Signal Stack): Remove erroneous const in sigstack prototype.
18455 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18456 prototype.
18457 (Simple Calendar Time): Likewise for stime.
18458 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18459 prototype.
18460 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18461 say sys/sysctl.h instead.
18462 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18463 and vsyslog prototypes.
18464
fe77fe6d
TV
184652013-02-11 Tom de Vries <tom@codesourcery.com>
18466
18467 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18468 Remove.
18469
3a09b620
RM
184702013-02-11 Roland McGrath <roland@hack.frob.com>
18471
18472 * misc/sys/mman.h: Fix typo in mremap comment.
18473
550a0b89
RM
184742013-02-08 Roland McGrath <roland@hack.frob.com>
18475
18476 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18477 the '\0' terminator.
18478
a2da1673
JM
184792013-02-08 Joseph Myers <joseph@codesourcery.com>
18480
18481 [BZ #13550]
18482 * debug/segfault.c: Don't include <bp-checks.h>.
18483 * sysdeps/generic/bp-checks.h: Remove file.
18484 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18485 (__GETDENTS): Don't use CHECK_N.
18486 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18487 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18488 (__getgroups): Don't use CHECK_N.
18489 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18490 (setgroups): Don't use CHECK_N.
18491 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18492 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18493 (__libc_msgrcv): Don't use CHECK_N.
18494 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18495 (__libc_msgsnd): Don't use CHECK_N.
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18497 <bp-checks.h>.
18498 (__libc_pread): Don't use CHECK_N.
18499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18500 include <bp-checks.h>.
18501 (__libc_pread64): Don't use CHECK_N.
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18503 include <bp-checks.h>.
18504 (__libc_pwrite): Don't use CHECK_N.
18505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18506 include <bp-checks.h>.
18507 (__libc_pwrite64): Don't use CHECK_N.
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18509 <bp-checks.h>.
18510 (__libc_pread): Don't use CHECK_N.
18511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18512 include <bp-checks.h>.
18513 (__libc_pread64): Don't use CHECK_N.
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18515 include <bp-checks.h>.
18516 (__libc_pwrite): Don't use CHECK_N.
18517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18518 include <bp-checks.h>.
18519 (__libc_pwrite64): Don't use CHECK_N.
18520 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18521 (do_pread): Don't use CHECK_N.
18522 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18523 (do_pread64): Don't use CHECK_N.
18524 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18525 (do_pwrite): Don't use CHECK_N.
18526 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18527 (do_pwrite64): Don't use CHECK_N.
18528 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18529 (__libc_readv): Don't use CHECK_N.
18530 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18531 (semop): Don't use CHECK_N.
18532 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18533 <bp-checks.h>.
18534 (semtimedop): Don't use CHECK_N.
18535 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18536 (__libc_pread): Don't use CHECK_N.
18537 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18538 <bp-checks.h>.
18539 (__libc_pread64): Don't use CHECK_N.
18540 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18541 <bp-checks.h>.
18542 (__libc_pwrite): Don't use CHECK_N.
18543 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18544 <bp-checks.h>.
18545 (__libc_pwrite64): Don't use CHECK_N.
18546 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18547 <bp-checks.h>.
18548 (__libc_msgrcv): Don't use CHECK_N.
18549 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18550 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18551 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18552 (__libc_writev): Don't use CHECK_N.
18553
b84660a8
RM
185542013-02-08 Roland McGrath <roland@hack.frob.com>
18555
7f3e75f8
RM
18556 * string/strcpy.c: Removed unused variable.
18557
b84660a8
RM
18558 * Makeconfig (+sysdep-includes): Define with := rather than =.
18559 Use an existing include/ subdir of each sysdeps dir before it.
18560
471514d3
CD
185612013-02-08 Carlos O'Donell <carlos@redhat.com>
18562
18563 * nscd/connection.c (register_traced_file): Comment function.
18564 [HAVE_INOTIFY] (union __inev): Define.
18565 [HAVE_INOTIFY] (inotify_check_files): New function.
18566 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18567 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18568 clear_db_cache.
18569 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18570
b2d3c3be
CD
185712013-02-08 Carlos O'Donell <carlos@redhat.com>
18572
18573 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18574 loaded if not already and that a failure is permanent.
18575
b39949d2
CD
185762013-02-08 Carlos O'Donell <carlos@redhat.com>
18577
ddacd1db 18578 [BZ #15006]
b39949d2
CD
18579 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18580 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18581
b2c9eff4
JM
185822013-02-08 Joseph Myers <joseph@codesourcery.com>
18583
f3aae3f3
JM
18584 [BZ #13550]
18585 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18586 (CHECK_1_NULL_OK): Likewise.
18587 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18588 (__fxstat): Do not use CHECK_1.
18589 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18590 <bp-checks.h>.
18591 (___fxstat64): Do not use CHECK_1.
18592 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18593 <bp-checks.h>.
18594 (__fxstatat): Do not use CHECK_1.
18595 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18596 <bp-checks.h>.
18597 (__fxstatat64): Do not use CHECK_1.
18598 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18599 <bp-checks.h>.
18600 (__fxstat): Do not use CHECK_1.
18601 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18602 <bp-checks.h>.
18603 (__fxstatat): Do not use CHECK_1.
18604 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18605 <bp-checks.h>.
18606 (__getresgid): Do not use CHECK_1.
18607 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18608 <bp-checks.h>.
18609 (__getresuid): Do not use CHECK_1.
18610 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18611 <bp-checks.h>.
18612 (__lxstat): Do not use CHECK_1.
18613 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18614 <bp-checks.h>.
18615 (__old_msgctl): Do not use CHECK_1.
18616 (__new_msgctl): Likewise.
18617 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18618 <bp-checks.h>.
18619 (__new_setrlimit): Do not use CHECK_1.
18620 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18621 <bp-checks.h>.
18622 (__old_shmctl): Do not use CHECK_1.
18623 (__new_shmctl): Likewise.
18624 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18625 <bp-checks.h>.
18626 (__xstat): Do not use CHECK_1.
18627 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18628 (__lxstat): Do not use CHECK_1.
18629 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18630 <bp-checks.h>.
18631 (___lxstat64): Do not use CHECK_1.
18632 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18633 (__old_msgctl): Do not use CHECK_1.
18634 (__new_msgctl): Likewise.
18635 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18636 <bp-checks.h>.
18637 (__gettimeofday): Do not use CHECK_1.
18638 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18639 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18640 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18641 <bp-checks.h>.
18642 (__gettimeofday): Do not use CHECK_1.
18643 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18644 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18645 (__new_shmctl): Do not use CHECK_1.
18646 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18647 <bp-checks.h>.
18648 (do_sigtimedwait): Do not use CHECK_1.
18649 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18650 <bp-checks.h>.
18651 (do_sigwaitinfo): Do not use CHECK_1.
18652 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18653 <bp-checks.h>.
18654 (msgctl): Do not use CHECK_1.
18655 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18656 <bp-checks.h>.
18657 (shmctl): Do not use CHECK_1.
18658 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18659 (ustat): Do not use CHECK_1.
18660 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18661 <bp-checks.h>.
18662 (__fxstat): Do not use CHECK_1.
18663 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18664 <bp-checks.h>.
18665 (__fxstatat): Do not use CHECK_1.
18666 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18667 <bp-checks.h>.
18668 (__lxstat): Do not use CHECK_1.
18669 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18670 <bp-checks.h>.
18671 (__xstat): Do not use CHECK_1.
18672 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18673 (__xstat): Do not use CHECK_1.
18674 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18675 (___xstat64): Do not use CHECK_1.
18676
b2c9eff4
JM
18677 [BZ #13550]
18678 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18679 definitions.
18680 (CHECK_BOUNDS_HIGH): Likewise.
18681 * string/strcpy.c: Do not include <bp-checks.h>.
18682 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18683
f1d70dad
RM
186842013-02-07 Roland McGrath <roland@hack.frob.com>
18685
18686 * nscd/nscd-client.h (__nscd_drop_map_ref):
18687 Add __attribute__ ((unused)).
18688 * nis/nss-nisplus.h (niserr2nss): Likewise.
18689
18690 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18691 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18692
18693 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18694 Remove inline keyword.
18695 * include/rounding-mode.h (round_away): Likewise.
18696 * libio/wfileops.c (adjust_wide_data): Likewise.
18697 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18698 (__m128i_strloadu_tolower): Likewise.
18699 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18700 (__m128i_strloadu_tolower): Likewise.
18701 * time/mktime.c (ydhms_diff): Likewise.
18702 * locale/elem-hash.h (elem_hash): Likewise.
18703 * locale/setlocale.c (setdata): Likewise.
18704 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18705 (re_string_wchar_at): Likewise.
18706 (bitset_not, bitset_merge, bitset_mask): Likewise.
18707 [!(__GNUC__ > 3)] (inline): Remove macro.
18708 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18709 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18710 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18711 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18712 * string/memcmp.c (memcmp_bytes): Likewise.
18713 * locale/programs/locarchive.c (compute_hashval): Likewise.
18714 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18715 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18716 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18717 * nss/getent.c (print_rpc, print_protocols): Likewise.
18718 (print_passwd, print_group, print_aliases): Likewise.
18719 * nis/nss-nisplus.h (niserr2nss): Likewise.
18720 * nscd/connections.c (restart_p): Likewise.
18721 Change return type to bool.
18722
eab55bfb
RM
187232013-02-05 Roland McGrath <roland@hack.frob.com>
18724
7bd642f5
RM
18725 * Makeconfig (all-Depend-files): Add existing
18726 $(sorted-subdirs:=/Depend) files.
18727 (all-subdirs): Remove nss.
18728 * sysdeps/unix/inet/Subdirs: Add it here instead.
18729 * hesiod/Depend: New file.
18730
573c29b2
RM
18731 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18732 instead of calling alloca.
18733
b2e25af0
RM
18734 * io/lseek.c (__lseek): Rename to __libc_lseek.
18735 Define __lseek as an alias.
18736
eab55bfb
RM
18737 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18738
9a0d1941
CD
187392013-02-04 Carlos O'Donell <carlos@redhat.com>
18740
18741 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18742 else clause and remove check for non-standard endianness.
18743
b83bbec4
DM
187442013-02-04 David S. Miller <davem@davemloft.net>
18745
18746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18747
6277fdab
JM
187482013-02-04 Joseph Myers <joseph@codesourcery.com>
18749
18750 [BZ #13550]
18751 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18752 (__ubp_memchr): Remove prototype.
18753 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18754 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18755 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18756 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18757 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18758 Remove alias.
18759 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18760 (__ubp_memchr): Likewise.
18761 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18762 (__ubp_memchr): Likewise.
18763 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18764 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18765 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18766 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18767 CHECK_STRING.
18768 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18769 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18770 (__getcwd): Do not use CHECK_STRING.
18771 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18772 <bp-checks.h>.
18773 (__real_chown): Do not use CHECK_STRING.
18774 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18775 <bp-checks.h>.
18776 (fchownat): Do not use CHECK_STRING.
18777 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18778 CHECK_STRING.
18779 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18780 <bp-checks.h>.
18781 (__lchown): Do not use CHECK_STRING.
18782 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18783 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18784 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18785 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18787 include <bp-checks.h>.
18788 (truncate64): Do not use CHECK_STRING.
18789 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18790 <bp-checks.h>.
18791 (__real_chown): Do not use CHECK_STRING.
18792 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18793 <bp-checks.h>.
18794 (__lchown): Do not use CHECK_STRING.
18795 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18796 <bp-checks.h>.
18797 (__chown): Do not use CHECK_STRING.
18798 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18799 <bp-checks.h>.
18800 (truncate64): Do not use CHECK_STRING.
18801 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18802 Likewise.
18803 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18804 (__xmknod): Do not use CHECK_STRING.
18805 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18806 <bp-checks.h>.
18807 (__xmknodat): Do not use CHECK_STRING.
18808 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18809 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18810
903ae060
AS
188112013-02-04 Andreas Schwab <schwab@suse.de>
18812
18813 [BZ #14142]
18814 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18815 * include/netdb.h: Likewise for h_errno.
18816 * elf/tst-stackguard1.c: Include <tls.h>.
18817
542f9466
JK
188182013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18819
18820 * elf/link.h (struct link_map): Extend the l_addr comment.
18821 * include/link.h (struct link_map): Likewise.
18822
e782a927
JM
188232013-02-01 Joseph Myers <joseph@codesourcery.com>
18824
18825 [BZ #13550]
18826 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18827 (BOUNDED_1): Remove macro.
18828 * debug/backtrace.c: Don't include <bp-checks.h>.
18829 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18830 (__backtrace): Likewise.
18831 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18832 <bp-checks.h>.
18833 (__backtrace): Don't use BOUNDED_1.
18834 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18835 <bp-checks.h>.
18836 (__backtrace): Don't use BOUNDED_1.
18837 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18838 (__backtrace): Don't use BOUNDED_1.
18839 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18840 (shmat): Don't use BOUNDED_N.
18841
8cf28c5e
JM
188422013-01-31 Joseph Myers <joseph@codesourcery.com>
18843
3a7ac8a0
JM
18844 [BZ #13550]
18845 * sysdeps/generic/bp-start.h: Remove file.
18846 * csu/libc-start.c: Don't include <bp-start.h>.
18847 (LIBC_START_MAIN): Set up __environ directly instead of using
18848 INIT_ARGV_and_ENVIRON.
18849 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18850 <bp-start.h>.
18851
f3499f95
JM
18852 [BZ #13550]
18853 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18854 definitions.
18855 (CHECK_FCNTL): Likewise.
18856 (CHECK_N_PAGES): Likewise.
18857
32a45bea
JM
18858 [BZ #13550]
18859 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18860 definitions.
18861 (CHECK_SIGSET_NULL_OK): Likewise.
18862 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18863 <bp-checks.h>.
18864 (sigpending): Don't use CHECK_SIGSET.
18865 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18866 <bp-checks.h>.
18867 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18868 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18869 <bp-checks.h>.
18870 (do_sigsuspend): Don't use CHECK_SIGSET.
18871 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18872 use CHECK_SIGSET.
18873 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18874 (do_sigwait): Don't use CHECK_SIGSET.
18875 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18876 use CHECK_SIGSET.
18877 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18878 include <bp-checks.h>.
18879 (sigpending): Don't use CHECK_SIGSET.
18880 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18881 include <bp-checks.h>.
18882 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18883 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18884 <bp-checks.h>.
18885 (sigpending): Don't use CHECK_SIGSET.
18886 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18887 <bp-checks.h>.
18888 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18889
2e8a5c8c
JM
18890 [BZ #13550]
18891 * sysdeps/generic/bp-semctl.h: Remove file.
18892 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18893 <bp-checks.h> and <bp-semctl.h>.
18894 (__old_semctl): Don't use CHECK_SEMCTL.
18895 (__new_semctl): Likewise.
18896 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18897 and <bp-semctl.h>.
18898 (__old_semctl): Don't use CHECK_SEMCTL.
18899 (__new_semctl): Likewise.
18900 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18901 <bp-checks.h> and <bp-semctl.h>.
18902 (__old_semctl): Don't use CHECK_SEMCTL.
18903 (__new_semctl): Likewise.
18904 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18905 <bp-checks.h> and <bp-semctl.h>.
18906 (semctl): Don't use CHECK_SEMCTL.
18907
c2d54929
JM
18908 [BZ #13550]
18909 * Makerules (elide-bp-thunks): Remove variable.
18910 (elide-routines.oS): Don't use $(elide-bp-thunks).
18911 (elide-routines.os): Likewise.
18912 (elide-routines.o): Likewise.
18913 (elide-routines.op): Likewise.
18914 (elide-routines.og): Likewise.
18915 (objects): Don't use $(bp-thunks).
18916 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18917 include.
18918 (common-generated): Do not add s-proto-bp.d.
18919 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18920 (int): Likewise.
18921 (typ): Likewise.
18922 Do not generate makefile rules for bounded-pointer thunks.
18923 * sysdeps/generic/bp-thunks.h: Remove file.
18924 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18925 * sysdeps/unix/s-proto-bp.S: Likewise.
18926
8cf28c5e
JM
18927 [BZ #15062]
18928 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18929 parts of result separately when argument is not close to line from
18930 -i to i and one part of argument is small.
18931 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18932 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18933 * math/libm-test.inc (cacos_test): Add more tests.
18934 (casin_test): Likewise.
18935 (casinh_test): Likewise.
18936 * sysdeps/i386/fpu/libm-test-ulps: Update.
18937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18938
c4e33b8d
DM
189392013-01-31 David S. Miller <davem@davemloft.net>
18940
18941 * po/de.po: Update from translation team.
18942
3b60b421
MK
189432013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18944
18945 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18946
bb931195
TS
189472013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18948
b5a5da23
TS
18949 * configure.in (_AC_PROG_CC_C89): New definition.
18950 * configure: Regenerate.
18951
bb931195
TS
18952 * configure.in (AC_PROG_CPP): New definition.
18953 * configure: Regenerate.
18954
8c53a12c
JM
189552013-01-23 Joseph Myers <joseph@codesourcery.com>
18956
18957 * debug/tst-backtrace.h: New file.
18958 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18959 (ret): Remove variable.
18960 (x): Likewise.
18961 (FAIL): Remove macro.
18962 (NO_INLINE): Likewise.
18963 (fn1): Use match function instead of strstr.
18964 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18965 (ret): Remove variable.
18966 (x): Likewise.
18967 (FAIL): Remove macro.
18968 (NO_INLINE): Likewise.
18969 (fn): Use match function instead of strstr.
18970 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18971 (ret): Remove variable.
18972 (x): Likewise.
18973 (FAIL): Remove macro.
18974 (NO_INLINE): Likewise.
18975 (handle_signal): Use match function instead of strstr.
18976 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18977 (ret): Remove variable.
18978 (x): Likewise.
18979 (FAIL): Remove macro.
18980 (NO_INLINE): Likewise.
18981 (handle_signal): Use match function instead of strstr.
18982
4858fa2a
RM
189832013-01-23 Roland McGrath <roland@hack.frob.com>
18984
18985 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18986
bae8e7f5
DM
189872013-01-23 David S. Miller <davem@davemloft.net>
18988
18989 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18990 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18991 argument of CAS if possible.
18992 * sysdeps/sparc/sparc64/bits/atomic.h
18993 (__arch_compare_and_exchange_val_32_acq): Likewise.
18994 (__arch_compare_and_exchange_val_64_acq): Likewise.
18995
9cbbc4ae
PT
189962013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18997
18998 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18999 * sysdeps/posix/ulimit.c: ... this.
92a601b8 19000 Include <limits.h>.
67b3f58c 19001 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 19002
5655a0b5
AC
190032013-01-23 Adam Conrad <adconrad@0c3.net>
19004
19005 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19006 (LDFLAGS-tst-array5): Likewise.
19007
052aff95
JM
190082013-01-23 Joseph Myers <joseph@codesourcery.com>
19009
19010 [BZ #15036]
19011 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19012 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19013 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19014 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19015
7c1e01aa
DM
190162013-01-21 David S. Miller <davem@davemloft.net>
19017
19018 * sysdeps/sparc/backtrace.c: New file.
19019 * sysdeps/sparc/sparc32/backtrace.h: New file.
19020 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19021 * sysdeps/sparc/sparc64/backtrace.h: New file.
19022 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19023 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19024 -funwind-tables.
19025
ab087e0a
AS
190262013-01-21 Andreas Schwab <schwab@suse.de>
19027
19028 [BZ #15020]
19029 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19030 closed its stdout.
19031
ed689c2f
AS
190322013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19033
19034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19035 "mpa2.h".
19036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19037
31d470ac
JM
190382013-01-18 Joseph Myers <joseph@codesourcery.com>
19039 Mark Mitchell <mark@codesourcery.com>
19040 Tom de Vries <tom@codesourcery.com>
19041 Paul Pluzhnikov <ppluzhnikov@google.com>
19042
19043 * debug/tst-backtrace2.c: New file.
19044 * debug/tst-backtrace3.c: Likewise.
19045 * debug/tst-backtrace4.c: Likewise.
19046 * debug/tst-backtrace5.c: Likewise.
19047 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19048 (CFLAGS-tst-backtrace3.c): Likewise.
19049 (CFLAGS-tst-backtrace4.c): Likewise.
19050 (CFLAGS-tst-backtrace5.c): Likewise.
19051 (LDFLAGS-tst-backtrace2): Likewise.
19052 (LDFLAGS-tst-backtrace3): Likewise.
19053 (LDFLAGS-tst-backtrace4): Likewise.
19054 (LDFLAGS-tst-backtrace5): Likewise.
19055 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19056 tst-backtrace4 and tst-backtrace5.
19057
90567f30 190582013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
19059 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19060
19061 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19062 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19063 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19064 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19066 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19067 "+r" and remove output regs list as redundant. Add explicit inline
19068 asm to specify register of return val to work around compiler codegen
19069 bug. Remove (int) cast on return value. Add return type parameter to
19070 use in macro so that this macro does not truncate return value for
19071 64-bit values.
19072 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19073 pass to INTERNAL_VSYSCALL_NCS.
19074 (INLINE_VSYSCALL): Add 'long int' as return type to
19075 INTERNAL_VSYSCALL_NCS macro invocation.
19076 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19077 INTERNAL_VSYSCALL_NCS macro invocation.
19078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19079
d3b9ea61
SP
190802013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19081
0b57daeb
SP
19082 [BZ #14496]
19083 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19084 Fix application of SIMD FP exception mask.
19085
caa99d06
SP
19086 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19087 mp_no from a power of two.
19088 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19089 __mpexp_twomm1. Use __pow_mp.
19090
d3b9ea61
SP
19091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19092 multiplication.
19093
1dbaee3c
DM
190942013-01-17 David S. Miller <davem@davemloft.net>
19095
19096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19097
728d7b43
JM
190982013-01-17 Joseph Myers <joseph@codesourcery.com>
19099
19100 [BZ #15023]
19101 * include/complex.h: Condition contents on [!_COMPLEX_H].
19102 (__kernel_casinhf): New prototype.
19103 (__kernel_casinh): Likewise.
19104 (__kernel_casinhl): Likewise.
19105 * math/Makefile (libm_calls): Add k_casinh.
19106 * math/k_casinh.c: New file.
19107 * math/k_casinhf.c: Likewise.
19108 * math/k_casinhl.c: Likewise.
19109 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19110 finite nonzero arguments.
19111 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19112 finite nonzero arguments.
19113 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19114 finite nonzero arguments.
19115 * math/s_casinh.c: Do not include <float.h>.
19116 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19117 * math/s_casinhf.c: Do not include <float.h>.
19118 (__casinhf): Move code for finite nonzero arguments to
19119 k_casinhf.c.
19120 * math/s_casinhl.c: Do not include <float.h>.
19121 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19122 redefine.
19123 (__casinhl): Move code for finite nonzero arguments to
19124 k_casinhl.c.
19125 * math/libm-test.inc (cacos_test): Add more tests.
19126 * sysdeps/i386/fpu/libm-test-ulps: Update.
19127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19128
2a26ef3a
PT
191292013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19130
19131 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19132 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19133 [!HAVE_MREMAP]: Remove [defined linux] case.
19134 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19135
a897655d
SP
191362013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19137
19138 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19139
881ebe89 191402013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
19141
19142 * elf/elf.h (R_386_SIZE32): New relocation.
19143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19144 R_386_SIZE32.
19145 (elf_machine_rela): Likewise.
19146 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19147 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19148
59981e9b
JM
191492013-01-17 Joseph Myers <joseph@codesourcery.com>
19150
19151 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19152 (FP_FAST_FMA): Do not define.
19153 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19154 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19155 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19156 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19157 !_SOFT_FLOAT]: Likewise.
19158 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19159 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19160 value.
19161 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19162 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19163 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19164 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19165 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19166 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19167 file.
19168
cfa8054f
AS
191692013-01-16 Andreas Schwab <schwab@suse.de>
19170
19171 [BZ #14327]
19172 * include/stdlib.h (__mktemp): Add declaration.
19173 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19174 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19175
dd930cc5
SP
191762013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19177
881ebe89
SP
19178 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19179 definitions.
19180 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19181 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19182 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19183 definitions here.
19184 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19185 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19186 definitions.
19187 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19188 and ONE.
19189 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19190 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19191 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19192 definitions.
19193 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19194 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19195 definitions.
19196 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19197
dd930cc5
SP
19198 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19199
c19a9f89
DM
192002013-01-15 David S. Miller <davem@davemloft.net>
19201
1aa61767
DM
19202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19203 trunc{,f} to libm-sysdep_routes.
19204 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19206 file.
19207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19209 file.
19210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19211 file.
19212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19214 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19215 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19216 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19217 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19218 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19219 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19220
c42d5e98
DM
19221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19222 nearbyint{,f} to libm-sysdep_routes.
19223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19225 New file.
19226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19227 file.
19228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19229 New file.
19230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19231 file.
19232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19234 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19235 file.
19236 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19238 file.
19239 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19240 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19241 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19242
c19a9f89
DM
19243 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19244 libc_feholdexcept and libc_fesetenv.
19245
357679d2
MF
192462013-01-15 Mike Frysinger <vapier@gentoo.org>
19247
19248 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19249
65a82e3d
DM
192502013-01-14 David S. Miller <davem@davemloft.net>
19251
8b954ab9
DM
19252 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19253 (SPARC_ASM_VIS2_IFUNC): Likewise.
19254 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19256 use of 'siam' instruction.
19257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19258 Likewise.
19259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19260 Likewise.
19261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19262 Likewise.
19263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19268 file.
19269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19270 file.
19271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19272 file.
19273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19274 file.
19275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19278 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19280 new VIS2 routines.
19281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19284 Likewise.
19285 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19290 routines to libm-sysdep_routines.
19291 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19292
65a82e3d
DM
19293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19294 fdim/fdimf to libm-sysdep_routines.
19295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19296 file.
19297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19299 file.
19300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19303 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19304 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19305 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19306 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19307
e34ab705
SP
193082013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19309
2a91b573
SP
19310 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19311 to optimize copies.
19312
1066a534
SP
19313 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19316
e34ab705
SP
19317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19318 local variable MPTWO.
19319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19320 Likewise.
19321
aba5e596
MF
193222013-01-13 Mike Frysinger <vapier@gentoo.org>
19323
19324 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19325 GLOB_NOESCAPE.
19326
e557e9e5
MF
193272013-01-13 Mike Frysinger <vapier@gentoo.org>
19328
19329 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19330
0428cec9
MF
193312013-01-13 Mike Frysinger <vapier@gentoo.org>
19332
19333 * manual/pattern.texi (glob_t): Document gl_flags.
19334 (glob64_t): Likewise.
19335
8794a964
DM
193362013-01-11 David S. Miller <davem@davemloft.net>
19337
66438c3f
RM
19338 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19339 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19340 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19341 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19342 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19343 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19344 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19345 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19346 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19347 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19348 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19349 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19350 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19351
4ae4244d
DM
19352 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19353 sparc V9 rather than using V8 code.
19354 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19355 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19356
8794a964
DM
19357 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19358 Move to...
19359 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19360 Here.
19361
6270516e
RM
193622013-01-11 Roland McGrath <roland@hack.frob.com>
19363
19364 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19365 not in the main loop.
19366 * configure: Regenerated.
19367
6a57d931
JM
193682013-01-11 Joseph Myers <joseph@codesourcery.com>
19369
19370 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19371 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19372 to just #else.
19373 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19374 [!__GLIBC_HAVE_LONG_LONG] case.
19375 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19376 condition to just #else.
19377 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19378 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19379 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19380 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19381 unconditional.
19382 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19383 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19384 #elif condition to just #else.
19385 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19386 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19387 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19388 #elif condition to just #else.
19389
0e8529e9
SE
193902013-01-11 Steve Ellcey <sellcey@mips.com>
19391
19392 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19393 (EF_MIPS_ARCH_64): Fix value.
19394 (EF_MIPS_ARCH_32R2): New.
19395 (EF_MIPS_ARCH_64R2): New.
19396
740b3dbe
L
193972013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19398
19399 * Makeconfig (+link-pie-before-libc): New.
19400 (+link-pie-after-libc): Likewise.
19401 (+link-pie-tests): Likewise.
19402 (+link-pie): Rewritten.
19403 (link-before-libc): Remove $(config-LDFLAGS).
19404 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19405 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19406 (config-LDFLAGS): Renamed to ...
19407 (rtld-LDFLAGS): This.
19408 (rtld-tests-LDFLAGS): New macro.
19409 (link-libc-rpath-link): Likewise.
19410 (link-libc-tests-rpath-link): Likewise.
19411 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19412 (link-libc): Prepand $(link-libc-rpath-link).
19413 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19414 (test-program-prefix): New macro.
19415 (test-via-rtld-prefix): Likewise.
19416 (test-program-cmd): Likewise.
19417 (host-test-program-cmd): Likewise.
19418 * Makefile ($(common-objpfx)testrun.sh): Replace
19419 $(run-program-prefix) with $(test-program-prefix).
19420 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19421 $(rtld-LDFLAGS).
19422 ($(common-objpfx)shlib.lds): Likewise.
19423 (build-module-helper): Likewise.
19424 ($(common-objpfx)format.lds): Likewise.
19425 * Rules (binaries-pie-tests): New.
19426 (binaries-pie-notests): Likewise.
19427 (binaries-pie): Rewritten.
19428 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19429 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19430 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19431 (make-test-out): Replace $(host-built-program-cmd) with
19432 $(host-test-program-cmd).
19433 * config.make.in (build-hardcoded-path-in-tests): New variable.
19434 * configure.in (--enable-hardcoded-path-in-tests): New configure
19435 option.
19436 (hardcoded_path_in_tests): New AC_SUBST.
19437 * configure: Regenerated.
19438 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19439 $(built-program-cmd) with $(test-program-cmd).
19440 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19441 (test_program_cmd): This.
19442 * elf/Makefile ($(objpfx)order.out): Run test with
19443 $(test-program-prefix).
19444 ($(objpfx)order2.out): Likewise.
19445 ($(objpfx)tst-initorder.out): Likewise.
19446 ($(objpfx)tst-initorder2.out): Likewise.
19447 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19448 $(test-program-cmd).
19449 ($(objpfx)tst-array1-static.out): Likewise.
19450 ($(objpfx)tst-array2.out): Likewise.
19451 ($(objpfx)tst-array3.out): Likewise.
19452 ($(objpfx)tst-array4.out): Likewise.
19453 ($(objpfx)tst-array5.out): Likewise.
19454 ($(objpfx)tst-array5-static.out): Likewise.
19455 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19456 $(test-program-cmd).
19457 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19458 $(run-program-prefix) with $(test-program-prefix).
19459 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19460 (test_program_prefix): This.
19461 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19462 $(run-program-prefix) with $(test-program-prefix).
19463 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19464 (test_program_prefix): This.
19465 * iconvdata/tst-tables.sh: Likewise.
19466 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19467 $(run-program-prefix) with $(test-program-prefix).
19468 ($(objpfx)tst-translit.out): Likewise.
19469 ($(objpfx)tst-gettext2.out): Likewise.
19470 ($(objpfx)tst-gettext4.out): Likewise.
19471 ($(objpfx)tst-gettext6.out): Likewise.
19472 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19473 (test_program_prefix): This.
19474 * intl/tst-gettext2.sh: Likewise.
19475 * intl/tst-gettext4.sh Likewise.
19476 * intl/tst-gettext6.sh: Likewise.
19477 * intl/tst-translit.sh: Likewise.
19478 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19479 with $(test-program-cmd).
19480 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19481 $(run-program-prefix) with $(test-program-prefix).
19482 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19483 (test_program_prefix): This.
19484 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19485 $(run-program-prefix) with $(test-program-prefix).
19486 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19487 (test_program_prefix): This.
19488 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19489 * posix/Makefile ($(objpfx)globtest.out): Replace
19490 $(run-via-rtld-prefix) and $(test-wrapper) with
19491 $(test-program-prefix) and $(test-via-rtld-prefix).
19492 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19493 $(test-program-prefix).
19494 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19495 $(host-test-program-cmd).
19496 (tst-spawn-ARGS): Likewise.
19497 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19498 $(test-program-prefix).
19499 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19500 (test_via_rtld_prefix): This.
19501 (test_wrapper): Renamed to ...
19502 (test_program_prefix): This.
19503 (run_program_prefix): Replaced by test_program_prefix.
19504 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19505 (test_program_prefix): This.
19506 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19507 with $(host-test-program-cmd).
19508 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19509 $(run-program-prefix) with $(test-program-prefix).
19510 ($(objpfx)tst-printf.out): Likewise.
19511 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19512 $(test-program-cmd).
19513 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19514 (test_program_prefix): This.
19515 * stdio-common/tst-unbputc.sh: Likewise.
19516 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19517 $(run-program-prefix) with $(test-program-prefix).
19518 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19519 (test_program_prefix): This.
19520 * string/Makefile ($(objpfx)tst-svc.out): Replace
19521 $(built-program-cmd) with $(test-program-cmd).
19522
c6fe55cf
AJ
195232013-01-11 Andreas Jaeger <aj@suse.de>
19524
19525 [BZ #15003]
19526 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19527 value. Sync with Linux 3.7.
19528
9e6919c8
DM
195292013-01-10 David S. Miller <davem@davemloft.net>
19530
19531 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19532 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19533 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19534
1c9f1a02
RM
195352013-01-10 Roland McGrath <roland@hack.frob.com>
19536
19537 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19538 never set.
19539 * configure: Regenerated.
19540
b9de2dde
DM
195412013-01-10 David S. Miller <davem@davemloft.net>
19542
19543 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19544 sparc V9 rather than using V8 code.
19545 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19546 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19547
e7f68ef4
RM
195482013-01-10 Roland McGrath <roland@hack.frob.com>
19549
19550 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19551 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19552 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19553 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19554 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19555 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19556 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19557 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19558 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19559 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19560 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19561 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19562 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19563 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19564 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19565 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19566 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19567 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19568 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19569 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19570 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19571 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19572 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19573 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19574 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19575 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19576 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19577
5a47cc9c
DM
195782013-01-10 David S. Miller <davem@davemloft.net>
19579
19580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19581
4cf8f209
L
195822013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19583
19584 * posix/Makefile (tests-static): New variable.
19585 (tests): Add $(tests-static).
19586 (tst-exec-static-ARGS): New variable.
19587 (tst-spawn-static-ARGS): Likewise.
19588 * posix/tst-exec-static.c: New file.
19589 * posix/tst-spawn-static.c: Likewise.
19590 * posix/tst-exec.c: Support run directly.
19591 * posix/tst-spawn.c: Likewise.
19592
fed0faa1
JM
195932013-01-10 Joseph Myers <joseph@codesourcery.com>
19594
828beb13
JM
19595 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19596 long.
19597 * math/bits/mathcalls.h (llrint): Likewise.
19598 (llround): Likewise.
19599 * stdlib/stdlib.h (struct drand48_data): Likewise.
19600 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19601 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19602 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19603 Likewise.
19604 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19605 Likewise.
19606 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19607 (elf_greg_t): Likewise.
19608 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19609 (__jmp_buf): Likewise.
19610 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19611 definitions.
19612 (llrint): Likewise, for all definitions.
19613 (llrintl): Likewise.
19614
fed0faa1
JM
19615 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19616 Remove [__GNUC__] condition.
19617 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19618 condition to just [__USE_ISOC99].
19619 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19620
1a20cb20
L
196212013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19622
19623 [BZ #14200]
19624 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19625 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19626 defined.
19627 (_POSIX_V6_ILP32_OFF32): Likewise.
19628 (_XBS5_ILP32_OFF32): Likewise.
19629 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19630 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19631
751b85f7
SP
196322013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19633
7490eb81
SP
19634 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19635
751b85f7
SP
19636 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19637 doubles __mpexp_twomm1. Adjust usage.
19638 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19639 Remove.
19640
988197f0
AS
196412013-01-10 Andreas Schwab <schwab@suse.de>
19642
19643 [BZ #14964]
19644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19645 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19646
e83d7298
DM
196472013-01-09 David S. Miller <davem@davemloft.net>
19648
034ed64b 19649 [BZ #15003]
57f41c40
AS
19650 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19651 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19652 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19653 (TCP_FASTOPEN): Define.
e83d7298
DM
19654 (tcp_repair_opt): New structure.
19655 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19656 enum values.
57f41c40
AS
19657 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19658 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19659 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
19660 (tcp_cookie_transactions): New structure.
19661
d5e0b9bd
AB
196622013-01-09 Anton Blanchard <anton@samba.org>
19663
19664 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19665 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19666 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19667 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19668
0c07e3ea
JM
196692013-01-09 Joseph Myers <joseph@codesourcery.com>
19670
19671 * include/features.h (__USE_ANSI): Remove.
19672
232f7002
RM
196732013-01-09 Roland McGrath <roland@hack.frob.com>
19674
ad98e30c
RM
19675 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19676
232f7002
RM
19677 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19678
950c99ca
SP
196792013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19680
b5792741
SP
19681 * sysdeps/s390/fpu/libm-test-ulps: Update.
19682
47cf2278
SP
19683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19684
950c99ca
SP
19685 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19686 (__acr): Likewise.
19687 (__cpy): Likewise.
19688 (norm): Likewise.
19689 (denorm): Likewise.
19690 (__mp_dbl): Likewise.
19691 (__dbl_mp): Likewise.
19692 (add_magnitudes): Likewise.
19693 (sub_magnitudes): Likewise.
19694 (__add): Likewise.
19695 (__sub): Likewise.
19696 (__mul): Likewise.
19697 (__inv): Likewise.
19698 (__dvd): Likewise.
19699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19700 (__acr): Likewise.
19701 (__cpy): Likewise.
19702 (norm): Likewise.
19703 (denorm): Likewise.
19704 (__mp_dbl): Likewise.
19705 (__dbl_mp): Likewise.
19706 (add_magnitudes): Likewise.
19707 (sub_magnitudes): Likewise.
19708 (__add): Likewise.
19709 (__sub): Likewise.
19710 (__mul): Likewise.
19711 (__inv): Likewise.
19712 (__dvd): Likewise.
19713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19714 (__acr): Likewise.
19715 (__cpy): Likewise.
19716 (norm): Likewise.
19717 (denorm): Likewise.
19718 (__mp_dbl): Likewise.
19719 (__dbl_mp): Likewise.
19720 (add_magnitudes): Likewise.
19721 (sub_magnitudes): Likewise.
19722 (__add): Likewise.
19723 (__sub): Likewise.
19724 (__mul): Likewise.
19725 (__inv): Likewise.
19726 (__dvd): Likewise.
19727
eede9df9
JM
197282013-01-08 Joseph Myers <joseph@codesourcery.com>
19729
19730 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19731 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19732 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19733 2 && __USE_EXTERN_INLINES]: Likewise.
19734
c40ea3d9
AJ
197352013-01-08 Andreas Jaeger <aj@suse.de>
19736
19737 [BZ# 14985]
19738 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19739 Remove.
19740 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19741 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19742
2ccdea26
AB
197432013-01-07 Anton Blanchard <anton@samba.org>
19744
19745 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19746 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19747 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19748 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19749 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19750 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19751 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19752 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19754 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19755 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19756 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19757 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19758 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19759 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19760 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19761 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19762 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19763 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19764 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19765 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19766 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19767 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19768 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19769 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19770 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19771 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19772 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19773 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19774 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19775 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19777 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19778 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19779 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19780 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19781 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19782 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19783 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19784 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19785 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19786 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19787 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19788
a9708fed
JM
197892013-01-07 Joseph Myers <joseph@codesourcery.com>
19790
375607b9
JM
19791 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19792 (__MALLOC_PMT): Likewise.
19793 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19794 [__GNUC__], only on [_LIBC].
19795 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19796 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19797 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19798 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19799 forward declaration.
19800 (realloc_hook_ini): Likewise.
19801 (memalign_hook_ini): Likewise.
19802 (__libc_memalign): Do not use __MALLOC_PMT in variable
19803 declaration.
19804 (__libc_valloc): Likewise.
19805 (__libc_pvalloc): Likewise.
19806 (__libc_calloc): Likewise.
19807 (__posix_memalign): Likewise.
19808
a9708fed
JM
19809 [BZ #14996]
19810 * math/s_casinh.c: Include <float.h>.
19811 (__casinh): Do not do computation with squaring and square root
19812 for large arguments.
19813 * math/s_casinhf.c: Include <float.h>.
19814 (__casinhf): Do not do computation with squaring and square root
19815 for large arguments.
19816 * math/s_casinhl.c: Include <float.h>.
19817 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19818 (__casinhl): Do not do computation with squaring and square root
19819 for large arguments.
19820 * math/libm-test.inc (casin_test): Add more tests.
19821 (casinh_test): Likewise.
19822 * sysdeps/i386/fpu/libm-test-ulps: Update.
19823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19824
afec409a
L
198252013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19826
19827 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19828 (__x86_64_raw_data_cache_size): Likewise.
19829 (__x86_64_data_cache_size_half): Likewise.
19830 (__x86_64_raw_data_cache_size_half): Likewise.
19831 (__x86_64_shared_cache_size): Likewise.
19832 (__x86_64_raw_shared_cache_size): Likewise.
19833 (__x86_64_shared_cache_size_half): Likewise.
19834 (__x86_64_raw_shared_cache_size_half): Likewise.
19835 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19836 to ...
19837 (__x86_data_cache_size): This.
19838 (__x86_64_raw_data_cache_size): Renamed to ...
19839 (__x86_raw_data_cache_size): This.
19840 (__x86_64_data_cache_size_half): Renamed to ...
19841 (__x86_data_cache_size_half): This.
19842 (__x86_64_raw_data_cache_size_half): Renamed to ...
19843 (__x86_raw_data_cache_size_half): This.
19844 (__x86_64_shared_cache_size): Renamed to ...
19845 (__x86_shared_cache_size): This.
19846 (__x86_64_raw_shared_cache_size): Renamed to ...
19847 (__x86_raw_shared_cache_size): This.
19848 (__x86_64_shared_cache_size_half): Renamed to ...
19849 (__x86_shared_cache_size_half): This.
19850 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19851 (__x86_raw_shared_cache_size_half): This.
19852 * sysdeps/x86_64/memcpy.S: Updated.
19853 * sysdeps/x86_64/memset.S: Likewise.
19854 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19855 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19856 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19857
0b3986d0
DM
198582013-01-04 David S. Miller <davem@davemloft.net>
19859
19860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19861
e47686e9
AS
198622013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19863
d643bac1
AS
19864 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19865 1 to avoid redefinition warning.
19866 (__USE_GNU): Don't define.
19867 (init_signaling_nan): Protoize.
19868
e47686e9
AS
19869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19870
b18decba
SP
198712013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19872
fffb407f
SP
19873 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19875 (__cpymn): Likewise.
19876 (norm): Remove commented code.
19877 (denorm): Likewise.
19878 (__mp_dbl): Likewise.
19879 (__inv): Likewise.
19880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19881 (__cpymn): Likewise.
19882 (norm): Remove commented code.
19883 (denorm): Likewise.
19884 (__mp_dbl): Likewise.
19885 (__inv): Likewise.
19886
b18decba
SP
19887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19888 mp_no value for 1.0 and 2.0.
19889 (norm): Use RADIXI instead of radixi.d.
19890 (denorm): Likewise.
19891 (__mul): Use 0.0 instead of zero.d.
19892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19893 mp_no value for 1.0 and 2.0.
19894 (norm): Use RADIXI instead of radixi.d.
19895 (denorm): Likewise.
19896 (__mul): Use 0.0 instead of zero.d.
19897
cdc1c96f
JM
198982013-01-04 Joseph Myers <joseph@codesourcery.com>
19899
19900 [BZ #14994]
19901 * math/s_casinh.c (__casinh): Reduce finite argument to first
19902 quadrant then set signs of results at the end.
19903 * math/s_casinhf.c (__casinhf): Likewise.
19904 * math/s_casinhl.c (__casinhl): Likewise.
19905 * math/libm-test.inc (casin_test): Add more tests.
19906 (casinh_test): Likewise.
19907 * sysdeps/i386/fpu/libm-test-ulps: Update.
19908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19909
302913e1
SP
199102013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19911
6420d207
SP
19912 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19913
a9e48ab4
SP
19914 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19915
b7837264
SP
19916 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19917 declarations.
19918 (denorm): Likewise.
19919 (__mp_dbl): Likewise.
19920 (__inv): Likewise.
19921
f8af25d2
SP
19922 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19923 and adjust the header comment.
19924
302913e1
SP
19925 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19926 variable name from declaration.
19927
5d7dd1ca
L
199282013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19929
19930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19931 Initialize COMMON_CPUID_INDEX_7 element.
19932 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19933 (CPUID_RTM): Likewise.
19934 (HAS_RTM): Likewise.
19935 (COMMON_CPUID_INDEX_7): New enum.
19936
2f5f40f4
AS
199372013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19938
19939 [BZ #14981]
19940 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19941 size is zero, record memory as freed.
19942
4056f4a0
AJ
199432013-01-03 Andreas Jaeger <aj@suse.de>
19944
19945 * po/ia.po: Add new Interlingua translation.
19946
ab15736f 199472012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19948
19949 * locale/programs/localedef.c: Fix description of '--posix' flag.
19950
568035b7
JM
199512013-01-02 Joseph Myers <joseph@codesourcery.com>
19952
e6898b8d
JM
19953 * NEWS: Update dates in second copyright notice.
19954 * README: Update copyright dates in example.
19955 * manual/libc.texinfo: Update copyright dates.
19956 * scripts/test-installation.pl: Update copyright date in --version
19957 output.
19958
0e2f9562
JM
19959 * hurd/ctty-input.c: Fix copyright notice formatting.
19960 * hurd/ctty-output.c: Likewise.
19961 * hurd/dtable.c: Likewise.
19962 * hurd/hurd-raise.c: Likewise.
19963 * hurd/hurdprio.c: Likewise.
19964 * hurd/msgportdemux.c: Likewise.
19965 * misc/sys/file.h: Likewise.
19966 * misc/sys/ioctl.h: Likewise.
19967 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19968 * sysdeps/mach/hurd/chdir.c: Likewise.
19969 * sysdeps/mach/hurd/fchdir.c: Likewise.
19970 * sysdeps/mach/hurd/rename.c: Likewise.
19971 * sysdeps/mach/hurd/rmdir.c: Likewise.
19972 * sysdeps/mach/hurd/seekdir.c: Likewise.
19973 * sysdeps/mach/hurd/setsid.c: Likewise.
19974 * sysdeps/posix/wait3.c: Likewise.
19975
568035b7
JM
19976 * All files with FSF copyright notices: Update copyright dates
19977 using scripts/update-copyrights.
19978 * intl/plural.c: Regenerated.
19979 * locale/programs/charmap-kw.h: Likewise.
19980 * locale/programs/locfile-kw.h: Likewise.
19981
da08f647
SP
199822013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19983
0f5477af
SP
19984 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19985 four values.
19986
44e0d4c2
SP
19987 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19988 calculation loop and add branch prediction.
19989
4d55b4e5
SP
19990 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19991 check access beyond bounds of m1np.
19992
da08f647
SP
19993 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19994 MPTWO.
19995 (__inv): Remove local variable MPTWO to use the global
19996 constant.
19997 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19998 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19999 variable MPTWO.
20000 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20001 MP3HALFS static const.
20002
8e051029
DM
200032013-01-01 David S. Miller <davem@davemloft.net>
20004
20005 * po/ca.po: Update from translation team.
20006
f4cf5f2d
JM
200072013-01-01 Joseph Myers <joseph@codesourcery.com>
20008
20009 * scripts/update-copyrights: New file.
20010 * Makeconfig: Reformat copyright notice.
20011 * ctype/ctype.h: Likewise.
20012 * debug/swprintf_chk.c: Likewise.
20013 * elf/dl-cache.c: Likewise.
20014 * elf/dl-debug.c: Likewise.
20015 * elf/dl-object.c: Likewise.
20016 * grp/initgroups.c: Likewise.
20017 * hurd/Makefile: Likewise.
20018 * hurd/hurd/signal.h: Likewise.
20019 * hurd/hurdfault.c: Likewise.
20020 * hurd/hurdioctl.c: Likewise.
20021 * hurd/hurdlookup.c: Likewise.
20022 * hurd/intr-msg.c: Likewise.
20023 * iconv/gconv_open.c: Likewise.
20024 * libio/swprintf.c: Likewise.
20025 * locale/lc-ctype.c: Likewise.
20026 * locale/nl_langinfo.c: Likewise.
20027 * mach/Machrules: Likewise.
20028 * mach/Makefile: Likewise.
20029 * malloc/obstack.h: Likewise.
20030 * manual/Makefile: Likewise.
20031 * manual/tsort.awk: Likewise.
20032 * misc/bits/stab.def: Likewise.
20033 * nis/nis_print_group_entry.c: Likewise.
20034 * nis/nis_table.c: Likewise.
20035 * nis/nss_compat/compat-pwd.c: Likewise.
20036 * nis/nss_compat/compat-spwd.c: Likewise.
20037 * po/Makefile: Likewise.
20038 * posix/fnmatch.c: Likewise.
20039 * posix/regex.h: Likewise.
20040 * resolv/Makefile: Likewise.
20041 * resolv/nss_dns/dns-network.c: Likewise.
20042 * resolv/res_hconf.c: Likewise.
20043 * scripts/gen-sorted.awk: Likewise.
20044 * soft-fp/soft-fp.h: Likewise.
20045 * stdio-common/printf.h: Likewise.
20046 * stdlib/monetary.h: Likewise.
20047 * stdlib/random.c: Likewise.
20048 * stdlib/random_r.c: Likewise.
20049 * sysdeps/generic/Makefile: Likewise.
20050 * sysdeps/gnu/Makefile: Likewise.
20051 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20052 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20053 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20054 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20055 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20058 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20059 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20060 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20061 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20062 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20063 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20064 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20065 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20066 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20067 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20068 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20069 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20070 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20071 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20072 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20073 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20074 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20075 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20076 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20077 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20078 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20079 * sysdeps/mach/hurd/errnos.awk: Likewise.
20080 * sysdeps/mach/hurd/fork.c: Likewise.
20081 * sysdeps/mach/hurd/getcwd.c: Likewise.
20082 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20083 * sysdeps/mach/hurd/mmap.c: Likewise.
20084 * sysdeps/mach/hurd/utimes.c: Likewise.
20085 * sysdeps/mach/hurd/xmknod.c: Likewise.
20086 * sysdeps/posix/profil.c: Likewise.
20087 * sysdeps/posix/readdir_r.c: Likewise.
20088 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20089 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20090 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20091 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20093 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20094 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20095 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20097 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20098 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20099 * sysdeps/pthread/lio_listio.c: Likewise.
20100 * sysdeps/sparc/dl-procinfo.h: Likewise.
20101 * sysdeps/unix/i386/sysdep.S: Likewise.
20102 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20103 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20104 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20105 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20107 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20108 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20109 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20110 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20111 * sysdeps/wordsize-32/divdi3.c: Likewise.
20112 * time/sys/time.h: Likewise.
20113 * wcsmbs/Makefile: Likewise.
20114
0549fbba
DM
201152013-01-01 David S. Miller <davem@davemloft.net>
20116
a141f1a7
DM
20117 * po/fr.po: Update from translation team.
20118
0549fbba
DM
20119 * catgets/gencat.c: Update copyright year.
20120 * csu/version.c: Likewise.
20121 * debug/catchsegv.sh: Likewise.
20122 * debug/pcprofiledump.c: Likewise.
20123 * debug/xtrace.sh: Likewise.
20124 * elf/ldconfig.c: Likewise.
20125 * elf/ldd.bash.in: Likewise.
20126 * elf/pldd.c: Likewise.
20127 * elf/sotruss.ksh: Likewise.
20128 * elf/sprof.c: Likewise.
20129 * iconv/iconv_prog.c: Likewise.
20130 * iconv/iconvconfig.c: Likewise.
20131 * locale/programs/locale.c: Likewise.
20132 * locale/programs/localedef.c: Likewise.
20133 * login/programs/pt_chown.c: Likewise.
20134 * malloc/memusage.sh: Likewise.
20135 * malloc/memusagestat.c: Likewise.
20136 * malloc/mtrace.pl: Likewise.
20137 * nscd/nscd.c: Likewise.
20138 * nss/getent.c: Likewise.
20139 * nss/makedb.c: Likewise.
20140 * posix/getconf.c: Likewise.
20141
18ea052c
SP
201422012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20143
20144 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20145 numbers.
20146
9c89fca6
MF
201472012-12-30 Mike Frysinger <vapier@gentoo.org>
20148
20149 * math/bits/mathcalls.h (modf): Use __nonnull.
20150
085ec079
SP
201512012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20152
20153 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20154 (split): Use macro CN instead of the bare value.
20155 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20156 could be used.
20157 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20158 instead of the bare value.
20159 (power1): Likewise.
20160
6d9f97e1
SP
201612012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20162
d63f73be
SP
20163 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20164 __ATAN_TWOM.
20165 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20166
6d9f97e1
SP
20167 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20168 their values.
20169 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20170 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20171 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20172 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20173
4c4febf5
AJ
201742012-12-28 Andreas Jaeger <aj@suse.de>
20175
af5843ef
AJ
20176 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20177 values are from Linux 3.7.
20178
4c4febf5
AJ
20179 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20180 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20181
99136f82
SP
201822012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20183
2f216c3c 20184 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20185 TRUE case.
20186
99136f82
SP
20187 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20188 (norm): Likewise.
20189 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20190 variables with preprocessor constants.
20191 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20192 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20193 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20194
7fffbdff
BH
201952012-12-27 Bruno Haible <bruno@clisp.org>
20196
20197 [BZ #14317]
20198 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20199 only if needed.
20200
b76eb5f0
SP
202012012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20202
31a7fe5c
SP
20203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20204 and use variable directly.
20205 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20206
b76eb5f0
SP
20207 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20208 MPONE.
20209 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20210 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20211 variable MPONE.
20212 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20214 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20215 include directive. Remove local variable MPONE.
20216 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20217 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20218 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20219
2c8bfe7d
DM
202202012-12-25 David S. Miller <davem@davemloft.net>
20221
20222 * version.h (RELEASE): Set to "development".
20223 (VERSION): Set to "2.17.90".
20224 * NEWS: Add 2.18 section.
20225
147d03b0
DM
202262012-12-21 David S. Miller <davem@davemloft.net>
20227
20228 * po/hr.po: Update from translation team.
20229
a8ebb2b9
AK
202302012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20231
20232 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20233
95b4f1b6
SE
202342012-12-19 Steve Ellcey <sellcey@mips.com>
20235
b2d94007 20236 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20237
cedb2a90
MS
202382012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20239
20240 * manual/contrib.texi (Contributors): Spelling correction.
20241
bbf527d6
DM
202422012-12-15 David S. Miller <davem@davemloft.net>
20243
20244 * po/ru.po: Update from translation team.
20245
bc38c906
DM
202462012-12-13 David S. Miller <davem@davemloft.net>
20247
85429b1a
DM
20248 * NEWS: Mention IFUNC testsuite enhancements.
20249
d283e353
DM
20250 * po/pl.po: Update from translation team.
20251 * po/bg.po: Likewise.
20252
bc38c906
DM
20253 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20254 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20255
a181b0d7
DM
202562012-12-11 David S. Miller <davem@davemloft.net>
20257
4641d57e
DM
20258 * po/sv.po: Update from translation team.
20259
f7bc6495
DM
20260 * po/vi.po: Update from translation team.
20261
6fc9048f
DM
20262 * po/cs.po: Update from translation team.
20263
a181b0d7
DM
20264 * po/de.po: Update from translation team.
20265 * po/eo.po: Likewise.
20266 * po/nl.po: Likewise.
20267
f70bfe80
SP
202682012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20269
3c8b4190
SP
20270 [BZ #14246]
20271 * manual/argp.texi (Argp Helper Functions): Move node to follow
20272 Argp Parsing State.
20273
f70bfe80
SP
20274 [BZ #14872]
20275 * manual/conf.texi (Limits on File System Capacity): Mention if
20276 terminating null is included in the max size.
20277
188f0adf
AJ
202782012-12-10 Andreas Jaeger <aj@suse.de>
20279
20280 * po/cs.po: Update from translation team.
20281
56e7d3ad
SP
202822012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20283
20284 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20285 void pointer and cast to uintptr_t.
20286 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20287 path.
20288 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20289 * sysdeps/s390/s390-64/memset.S: Likewise.
20290
76f2d2ea 202912012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20292
20293 [BZ #14833]
20294 * menual/message.texi (Message Translation): Fix typos.
20295 (Helper programs for gettext): Likewise.
20296
67cbf9a2
AS
202972012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20298
20299 [BZ #14898]
20300 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20301 Change to -1.
20302
682d0e9a
DM
203032012-12-07 David S. Miller <davem@davemloft.net>
20304
20305 * po/libc.pot: Update.
20306
573cd484
RH
203072012-12-07 Richard Henderson <rth@redhat.com>
20308
7e9da188 20309 [BZ #10114]
573cd484
RH
20310 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20311 normal/normal case to before the switch.
20312 (_FP_DIV): Likewise.
20313
e933a943
MF
203142012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20315 Mike Frysinger <vapier@gentoo.org>
20316
20317 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20318 check for __NR_fadvise64_64.
20319
82123268
CM
203202012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20321
20322 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20323 0, not just to plain "0" as a statement.
20324 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20325 with cw.
20326
d9814526
JM
203272012-12-06 Joseph Myers <joseph@codesourcery.com>
20328
20329 * NEWS: Use sourceware.org in Bugzilla URL.
20330
7728c574
SP
203312012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20332
f16946dd
SP
20333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20334 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20335
5704bbcb
SP
20336 * stdio-common/tst-put-error.c (do_test): Add newline to the
20337 padded test to ensure flush.
20338
17aa0516
JL
203392012-12-05 Jeff Law <law@redhat.com>
20340
20341 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20342
363313b5
JM
203432012-12-05 Joseph Myers <joseph@codesourcery.com>
20344
effbd42a
JM
20345 * README: Don't refer to ports add-on as distributed separately.
20346 Mention AArch64 in list of systems supported in the ports add-on.
20347
87600365
JM
20348 * LICENSES: Add more non-FSF copyright and license notices.
20349
a0d7066a
JM
20350 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20351 ((unused)).
20352
66ca5a5b
JM
20353 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20354
363313b5
JM
20355 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20356 10000 as width of padded output.
20357
b37984ad
JM
203582012-12-04 Joseph Myers <joseph@codesourcery.com>
20359
9003570a
JM
20360 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20361
b37984ad
JM
20362 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20363 variable LX with __attribute__ ((unused)).
20364 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20365 Likewise.
20366 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20367 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20368 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20369 with __attribute__ ((unused)).
20370
c8df52ec
DM
203712012-12-04 David S. Miller <davem@abraco.davemloft.net>
20372
20373 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20374
b3b099af
JM
203752012-12-04 Joseph Myers <joseph@codesourcery.com>
20376
c33aa6e3
JM
20377 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20378 (CFLAGS-nldbl-acos.c): New variable.
20379 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20380 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20381 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20382 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20383 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20384 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20385 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20386 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20387 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20388 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20389 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20390 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20391 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20392 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20393 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20394 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20395 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20396 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20397 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20398 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20399 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20400 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20401 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20402 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20403 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20404 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20405 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20406 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20407 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20408 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20409 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20410 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20411 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20412 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20413 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20414 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20415 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20416 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20417 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20418 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20419 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20420 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20421 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20422 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20423 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20424 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20425 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20426 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20427 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20428 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20429 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20430 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20431 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20432 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20433 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20434 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20435 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20436 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20437 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20438 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20439 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20440 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20441 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20442 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20443 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20444 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20445 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20446 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20447 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20448 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20449 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20450 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20451 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20452 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20453 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20454 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20455 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20456 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20457 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20458 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20459 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20460 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20461 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20462 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20463 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20464 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20465 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20466 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20467 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20468 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20469 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20470 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20471 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20472 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20473 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20474 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20475 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20476
20f0018d
JM
20477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20478 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20479
b3b099af
JM
20480 [BZ #14914]
20481 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20482 whole low double instead of just low 47 bits when splitting values
20483 into two parts.
20484
029264d1
AM
204852012-12-03 Allan McRae <allan@archlinux.org>
20486
20487 * manual/stdio.texi (Predefined Printf Handlers): Remove
20488 @hsep and @vsep usage.
20489
c9d6789e
MF
204902012-12-03 Mike Frysinger <vapier@gentoo.org>
20491
20492 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20493 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20494
4b7634a5
JL
204952012-12-03 Jeff Law <law@redhat.com>
20496
20497 * time/sys/time.h (settimeofday): Do not mark TV argument
20498 as __nonnull.
20499
eb6cbd24
MF
205002012-12-01 Mike Frysinger <vapier@gentoo.org>
20501
20502 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20503 when currently writing and seek to current position when not.
20504 * libio/Makefile (tests): Remove bug-fclose1.
20505 * libio/bug-fclose1.c: Delete.
20506
f638872a
JM
205072012-12-01 Joseph Myers <joseph@codesourcery.com>
20508
20509 * manual/arith.texi (feenableexcept): Fix typo.
20510 (fedisableexcept): Likewise.
20511
48085d14
RM
205122012-11-30 Roland McGrath <roland@hack.frob.com>
20513
20514 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20515 second, differently-typed declaration, rather than a cast.
20516
1a538b9f
SP
205172012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20518
20519 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20520 * include/rpc/svc.h: ... here.
20521
d07f2ff1 205222012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20523
20524 [BZ #13013]
20525 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20526 depending n and resplen2 to catch cases where answer
20527 equals answerp2.
20528
c93ec1f0
CD
205292012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20530
20531 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20532 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20533
37db69de
MF
205342012-11-29 Mike Frysinger <vapier@gentoo.org>
20535
20536 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20537
e10c4e4f
RM
205382012-11-29 Roland McGrath <roland@hack.frob.com>
20539
20540 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20541
2af1b328
JL
205422012-11-28 Jeff Law <law@redhat.com>
20543
20544 [BZ #13761]
20545 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20546 dataset_temporary. Track alloca usage into alloca_used.
20547 If dataset is large allocate and release it via malloc/free.
20548
111db5b1
FW
205492012-06-04 Florian Weimer <fweimer@redhat.com>
20550
f06cc227 20551 [BZ #14197]
111db5b1
FW
20552 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20553
dd694abd
DM
205542012-11-28 David S. Miller <davem@davemloft.net>
20555
20556 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20557
9984dd01
JM
205582012-11-28 Joseph Myers <joseph@codesourcery.com>
20559
20560 [BZ #14803]
20561 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20562 of pi/2 rounded to nearest to 64 bits.
20563 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20564 nearest to 64 bits.
20565 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20566 bits.
20567
14bc93a9
JL
205682012-11-28 Jeff Law <law@redhat.com>
20569 Martin Osvald <mosvald@redhat.com>
20570
20571 [BZ #14889]
20572 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20573 * sunrpc/svc.c: Include time.h.
20574 (__svc_accept_failed): New function.
20575 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20576 any reason other than EINTR, call __svc_accept_failed.
20577 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20578 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20579
e3c6aa3a
AS
205802012-11-28 Andreas Schwab <schwab@suse.de>
20581
20582 * scripts/abilist.awk: Also handle indirect functions in .opd
20583 section.
20584
1bead169
JM
205852012-11-28 Joseph Myers <joseph@codesourcery.com>
20586
20587 [BZ #13881]
20588 * sysdeps/x86/fpu/powl_helper.c: New file.
20589 * sysdeps/x86/fpu/Makefile: Likewise.
20590 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20591 (p3): New object.
20592 (__ieee754_powl): Use __powl_helper for finite arguments except
20593 integer exponents below 8.
20594 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20595 (p3): New object.
20596 (__ieee754_powl): Use __powl_helper for finite arguments except
20597 integer exponents below 8.
20598 * math/libm-test.inc (pow_test): Add more tests and enable some
20599 previously disabled tests.
20600 * sysdeps/i386/fpu/libm-test-ulps: Update.
20601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20602
0817d63d
SP
206032012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20604 Carlos O'Donell <carlos_odonell@mentor.com>
20605
20606 * nss/makedb.c (is_prime): Assert that input is odd and greater
20607 than 4. Note that fact in a comment too.
20608 (next_prime): Add 4 to input.
20609
de2fd463
SP
206102012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20611
20612 [BZ #11741]
20613 * libio/Makefile (tests): Add test case tst-fwrite-error.
20614 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20615 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20616 * libio/tst-fwrite-error.c: New test case.
20617
c515fb51
L
206182012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20619
20620 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20621 before casting to void *.
20622 * include/libc-internal.h (__pointer_type): New macro.
20623 (__integer_if_pointer_type_sub): Likewise.
20624 (__integer_if_pointer_type): Likewise.
20625 (cast_to_integer): Likewise.
20626 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20627 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20628 before casting to atomic64_t.
20629 (atomic_exchange_acq): Likewise.
20630 (__arch_exchange_and_add_body): Likewise.
20631 (__arch_add_body): Likewise.
20632 (atomic_add_negative): Likewise.
20633 (atomic_add_zero): Likewise.
20634
4cf77aa9
JM
206352012-11-26 Joseph Myers <joseph@codesourcery.com>
20636
20637 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20638 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20639 (add_fdes): Likewise.
20640 (linear_search_fdes): Likewise.
20641 (binary_search_unencoded_fdes): Likewise.
20642
d260b3b4
AS
206432012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20644
20645 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20646
67060746
AC
206472012-11-24 Adam Conrad <adconrad@0c3.net>
20648
20649 * configure.in: Autodetect C++ header directories.
20650 * configure: Regenerated.
20651
800938a1
MF
206522012-11-23 Mike Frysinger <vapier@gentoo.org>
20653
20654 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20655
4e6e34e6
AS
206562012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20657
20658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20659
7c7feb47
JM
206602012-11-22 Joseph Myers <joseph@codesourcery.com>
20661
7184dcdf
JM
20662 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20663 LDBL_MANT_DIG == 106]: Disable some tests.
20664 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20665 Likewise.
20666 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20667 Likewise.
20668
0a42601f
JM
20669 [BZ #14871]
20670 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20671 input for small inputs. Return +/- pi/2 for large inputs.
20672 * math/libm-test.inc (atan_test): Add more tests.
20673
79c9b9fe
JM
20674 * sysdeps/generic/unwind-dw2-fde-glibc.c
20675 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20676 __attribute__ ((unused)).
20677
c60d3bf2
JM
20678 [BZ #14645]
20679 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20680 x * y if x and y are nonzero and z is zero.
20681
ef1e0867
JM
20682 [BZ #14811]
20683 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20684 nonzero exponents with absolute value below 0x1p-117 to +/-
20685 0x1p-117.
20686
1468ded3
JM
20687 [BZ #14869]
20688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20689 up arguments below 2**-450, not just those below 2**-500.
20690 * math/libm-test.inc (hypot_test): Add another test.
20691
8e27e3cc
JM
20692 [BZ #14868]
20693 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20694 Return a+b for ratio over 2**120, not 2**60.
20695 * math/libm-test.inc (hypot_test): Add another test.
20696
c9c0279b
JM
20697 * math/libm-test.inc (clog_test): Use
20698 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20699 (clog10_test): Likewise.
20700
7c7feb47
JM
20701 [BZ #6778]
20702 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20703
fff1530e
AS
207042012-11-22 Andreas Schwab <schwab@suse.de>
20705
20706 * sysdeps/i386/fpu/libm-test-ulps: Update.
20707
94558d30
PT
207082012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20709
20710 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20711 printf output with newline.
20712
7e1be741
L
207132012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20714
6bfea974
L
20715 [BZ #14865]
20716 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20717 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20718 -z nodlopen, -z initfirst and -z execstack support.
20719 * configure: Regenerated.
20720
7e1be741
L
20721 * elf/elf.h (DF_1_NODIRECT): New macro.
20722 (DF_1_IGNMULDEF): Likewise.
20723 (DF_1_NOKSYMS): Likewise.
20724 (DF_1_NOHDR): Likewise.
20725 (DF_1_EDITED): Likewise.
20726 (DF_1_NORELOC): Likewise.
20727 (DF_1_SYMINTPOSE): Likewise.
20728 (DF_1_GLOBAUDIT): Likewise.
20729 (DF_1_SINGLETON): Likewise.
20730 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20731 DT_1_SUPPORTED_MASK bits.
20732 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20733
105ce2ce
CD
207342012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20735
20736 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20737
123be9de
TS
207382012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20739
d072f3f7
TS
20740 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20741 macro.
20742
123be9de
TS
20743 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20744 (sendmmsg): Move declarations...
20745 * socket/sys/socket.h: ... here.
20746 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20747 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20748 include it from...
20749 * socket/recvmmsg.c: ... this new file.
20750 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20751 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20752 definition of __sendmmsg hidden.
20753 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20754 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20755 Move ENOSYS stub into and include it from...
20756 * socket/sendmmsg.c: ... this new file.
20757 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20758 (sysdep_routines): Move recvmmsg and sendmmsg...
20759 * socket/Makefile (routines): ... here.
20760 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20761 (GLIBC_PRIVATE): Add __sendmmsg.
20762 * include/sys/socket.h (__sendmmsg): Add declarations.
20763 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20764 sendmmsg.
20765
cf9a5d18
JM
207662012-11-20 Joseph Myers <joseph@codesourcery.com>
20767
20768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20769 variable I1 with __attribute__ ((unused)).
20770 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20771
ecd4caf9
JM
207722012-11-19 Joseph Myers <joseph@codesourcery.com>
20773
be14d48f
JM
20774 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20775 DUMMY variables with __attribute__ ((unused)).
20776
ecd4caf9
JM
20777 * bits/byteswap.h: Include <bits/types.h>.
20778 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20779
986cab95
PT
207802012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20781
20782 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20783 string_t. Do not manually set errno.
20784 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20785 length with __strnlen. Make sure to both set errno and return it on
20786 failure.
20787
6d33cc9d
DM
207882012-11-19 David S. Miller <davem@davemloft.net>
20789
20790 With help from Joseph Myers.
20791 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20792 very large arguments properly.
20793 * math/libm-test.inc (atan_test): New tests.
20794 (atan2_test): New tests.
20795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20797
ee663277
JM
207982012-11-19 Joseph Myers <joseph@codesourcery.com>
20799
877f2d8e
JM
20800 [BZ #14856]
20801 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20802 Define to 3.
20803
116fc08a
JM
20804 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20805 [POSIX] (EADDRNOTAVAIL): Likewise.
20806 [POSIX] (EAFNOSUPPORT): Likewise.
20807 [POSIX] (EALREADY): Likewise.
20808 [POSIX] (ECONNABORTED): Likewise.
20809 [POSIX] (ECONNREFUSED): Likewise.
20810 [POSIX] (ECONNRESET): Likewise.
20811 [POSIX] (EDESTADDRREQ): Likewise.
20812 [POSIX] (EDQUOT): Likewise.
20813 [POSIX] (EHOSTUNREACH): Likewise.
20814 [POSIX] (EIDRM): Likewise.
20815 [POSIX] (EISCONN): Likewise.
20816 [POSIX] (ELOOP): Likewise.
20817 [POSIX] (EMULTIHOP): Likewise.
20818 [POSIX] (ENETDOWN): Likewise.
20819 [POSIX] (ENETUNREACH): Likewise.
20820 [POSIX] (ENOBUFS): Likewise.
20821 [POSIX] (ENODATA): Likewise.
20822 [POSIX] (ENOLINK): Likewise.
20823 [POSIX] (ENOMSG): Likewise.
20824 [POSIX] (ENOPROTOOPT): Likewise.
20825 [POSIX] (ENOSR): Likewise.
20826 [POSIX] (ENOSTR): Likewise.
20827 [POSIX] (ENOTCONN): Likewise.
20828 [POSIX] (ENOTSOCK): Likewise.
20829 [POSIX] (EOPNOTSUPP): Likewise.
20830 [POSIX] (EOVERFLOW): Likewise.
20831 [POSIX] (EPROTO): Likewise.
20832 [POSIX] (EPROTONOSUPPORT): Likewise.
20833 [POSIX] (EPROTOTYPE): Likewise.
20834 [POSIX] (ESTALE): Likewise.
20835 [POSIX] (ETIME): Likewise.
20836 [POSIX] (ETXTBSY): Likewise.
20837 [POSIX] (EWOULDBLOCK): Likewise.
20838 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20839 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20840 [POSIX] (SEEK_CUR): Likewise.
20841 [POSIX] (SEEK_END): Likewise.
20842 [POSIX || UNIX98] (mode_t): Do not require.
20843 [POSIX] (off_t): Likewise.
20844 [POSIX] (pid_t): Likewise.
20845 [POSIX] (sys/stat.h): Do not allow header.
20846 [POSIX] (unistd.h): Likewise.
20847 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20848 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20849 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20850 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20851 require.
20852 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20853 sigevent): Specify elements.
20854 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20855 entry.
20856 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20857 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20858
a483863f
JM
20859 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20860 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20861 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20862 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20863 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20864 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20865 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20866 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20867 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20868 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20869 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20870 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20871 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20872 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20873 Likewise.
20874 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20875 Likewise.
20876 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20877 Likewise.
20878 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20879 Likewise.
20880 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20881 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20882 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20883 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20884 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20885 Specify lower bound on value.
20886 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20887 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20888 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20889 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20890 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20891 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20892 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20893 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20894 value.
20895 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20896 as optional.
20897 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20898 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20899 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20900 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20901 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20902 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20903 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20904 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20905 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20906 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20907 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20908 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20909 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20910 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20911 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20912 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20913 entry.
20914 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20915 optional.
20916 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20917 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20918 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20919 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20920 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20921 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20922 Likewise.
20923 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20924 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20925 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20926 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20927 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20928 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20929 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20930 as optional.
20931 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20932 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20933 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20934 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20935 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20936 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20937 specify as optional.
20938 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20939 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20940 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20941 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20942 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20943 [XPG3] (NL_LANGMAX): Likewise.
20944 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20945 [POSIX || XPG3] (NL_NMAX): Likewise.
20946 [POSIX || XPG3] (NL_SETMAX): Likewise.
20947 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20948 [XPG3] (NZERO): Likewise.
20949 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20950 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20951 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20952 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20953 (REG_ERANGE): Expect.
20954 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20955 optional-constant.
20956 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20957 Use (void) in prototype.
20958 [POSIX] (*_t): Allow.
20959 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20960 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20961 (WRDE_BADVAL): Expect.
20962
5ba924e3
JM
20963 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20964 expect.
20965 [XPG3 || XPG4] (O_RSYNC): Likewise.
20966 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20967 Likewise.
20968 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20969 [XPG3 || XPG4] (sigqueue): Likewise.
20970 [XPG3 || XPG4] (sigtimedwait): Likewise.
20971 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20972 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20973 [XPG3 || XPG4] (vsnprintf): Likewise.
20974 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20975 Likewise.
20976 [XPG3 || XPG4] (blksize_t): Likewise.
20977 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20978 Likewise.
20979 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20980 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20981 [XPG3 || XPG4] (struct itimerspec): Likewise.
20982 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20983 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20984 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20985 [XPG3 || XPG4] (clockid_t): Likewise.
20986 [XPG3 || XPG4] (timer_t): Likewise.
20987 [XPG3 || XPG4] (clock_getres): Likewise.
20988 [XPG3 || XPG4] (clock_gettime): Likewise.
20989 [XPG3 || XPG4] (clock_settime): Likewise.
20990 [XPG3 || XPG4] (nanosleep): Likewise.
20991 [XPG3 || XPG4] (timer_create): Likewise.
20992 [XPG3 || XPG4] (timer_delete): Likewise.
20993 [XPG3 || XPG4] (timer_gettime): Likewise.
20994 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20995 [XPG3 || XPG4] (timer_settime): Likewise.
20996 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20997 [XPG3 || XPG4] (getlogin_r): Likewise.
20998 [XPG3 || XPG4] (pread): Likewise.
20999 [XPG3 || XPG4] (pthread_atfork): Likewise.
21000 [XPG3 || XPG4] (pwrite): Likewise.
21001
ee663277
JM
21002 [BZ #14835]
21003 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21004 <bits/siginfo.h>.
21005
942caa16
PT
210062012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21007
e19af380
PT
21008 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21009 finalizing MALLSTREAM.
21010
942caa16
PT
21011 * sysdeps/mach/hurd/syncfs.c: New file.
21012
cfde9b46
SP
210132012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21014
21015 [BZ #14719]
21016 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21017 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21018 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21019 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21020 (_nss_dns_gethostbyname4_r): Likewise.
21021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21022 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21023
f6da27e5
PH
210242012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21025
21026 [BZ #13763]
21027 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21028
6665d4a2
SM
210292012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21030
1f51ee92
SM
21031 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21032 * elf/cache.c (print_entry): Print ",AArch64" for
21033 FLAG_AARCH64_LIB64
21034
6665d4a2
SM
21035 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21036 * elf/cache.c (print_entry): Print ",hard-float" for
21037 FLAG_ARM_LIBHF.
21038
05b227bd
DM
210392012-11-18 David S. Miller <davem@davemloft.net>
21040
21041 With help from Joseph Myers.
21042 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21043 cutoff to 2**-13.
21044 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21045 cutoff to 2**-25.
21046 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21047 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21048 small.
21049 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21050 * math/libm-test.inc (y0_test): New tests.
21051 (y1_test): New tests.
21052 * sysdeps/i386/fpu/libm-test-ulps: Update.
21053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21055
786b0b67
AS
210562012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21057
21058 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21059 64-bit targets.
21060 * configure: Regenerated.
21061
8e18b86d
DM
210622012-11-17 David S. Miller <davem@davemloft.net>
21063
21064 [BZ #14811]
21065 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21066 nonzero exponents with absolute value below 0x1p-128 to +/-
21067 0x1p-128.
21068
531f1ae0
JM
210692012-11-17 Joseph Myers <joseph@codesourcery.com>
21070
12df29e2
JM
21071 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21072
150dc1a0
JM
21073 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21074
531f1ae0
JM
21075 * posix/getconf-speclist.c: New file.
21076 * posix/posix-envs.def: Likewise.
21077 * posix/confstr.c (START_ENV_GROUP): New macro.
21078 (END_ENV_GROUP): Likewise.
21079 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21080 (KNOWN_PRESENT_ENV_STRING): Likewise.
21081 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21082 (UNKNOWN_ENVIRONMENT): Likewise.
21083 (confstr): Include posix-envs.def instead of handling
21084 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21085 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21086 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21087 (END_ENV_GROUP): Likewise.
21088 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21089 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21090 (UNKNOWN_ENVIRONMENT): Likewise.
21091 (__sysconf): Include posix-envs.def instead of handling associated
21092 cases directly here.
21093 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21094 preprocessing getconf-speclist.c rather than running getconf or
21095 generating empty file.
21096
a93f9cbc
PT
210972012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21098
21099 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21100
d64d9f87
AL
211012012-11-16 Andrej Lajovic <natrij@gmail.com>
21102
21103 [BZ #14672]
21104 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21105
447885eb
DM
211062012-11-16 David S. Miller <davem@davemloft.net>
21107
21108 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21109 smaller than LDBL_EPSILON/2.0L, just return xm1.
21110
bcbf9830
L
211112012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21112
21113 * elf/tst-array1.c (init): Set constructor priority to 1000.
21114 (fini): Set destructor priority to 1000.
21115 * elf/tst-array2dep.c: Likewise.
21116
2b766585
SP
211172012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21118
21119 [BZ #11741]
21120 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21121 (_IO_new_file_xsputn): Also return EOF if none of the input
21122 data was written when overflow failed.
21123 * libio/iopadn.c (_IO_padn): Likewise.
21124 * libio/iowpadn.c (_IO_wpadn): Likewise.
21125 * stdio-common/tst-put-error.c: Add copyright notice.
21126 (do_test): Add case for printing padded string.
21127 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21128 _IO_padn returned error.
21129 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21130 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21131 return EOF.
21132
b1848fde
SP
211332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21134
21135 * libio/libioP.h: Add comment note that the references to C++
21136 bits are now obsolete.
21137
2fd89785
MS
211382012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21139
21140 * math/libm-test.inc (check_complex): Use asprintf.
21141
e3ea5409
JM
211422012-11-14 Joseph Myers <joseph@codesourcery.com>
21143
21144 * debug/pcprofiledump.c (print_version): Update copyright year.
21145 * malloc/memusagestat.c (print_version): Likewise.
21146
2e64d265
L
211472012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21148
21149 [BZ #14831]
21150 * elf/Makefile (tests): Add tst-audit8.
21151 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21152 ($(objpfx)tst-audit8.out): New target.
21153 (tst-audit8-ENV): New variable.
21154 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21155 audit if l_reloc_result is NULL.
21156 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21157 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21158 * elf/tst-audit8.c: New file.
21159
c485e4d2
MS
211602012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21161
21162 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21163 * misc/Makefile (CFLAGS-select.c): Define.
21164 * posix/Makefile (CFLAGS-pause.c): Define.
21165
3a0d900a
DM
211662012-11-13 David S. Miller <davem@davemloft.net>
21167
21168 * crypt/Makefile: Move test targets after toplevel Rules
21169 inclusion. Grab any necessary sysdep routines when linking.
21170 * crypt/md5.c (md5_process_block): Remove define, we will always
21171 name it __md5_process_block.
21172 (md5_finish_ctx): Update md5_process_block call.
21173 (md5_stream): Likewise.
21174 (md5_process_bytes): Likewise.
21175 (md5_process_block): Rename to __md5_process_block and move to ...
21176 * crypt/md5-block.c: ... here.
21177 * crypt/sha256.c (sha256_process_block): Move to ...
21178 * crypt/sha256-block.c: ... here.
21179 * crypt/sha512.c (sha512_process_block): Move to ...
21180 * crypt/sha512-block.c: ... here.
21181 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21182 path.
21183 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21184 * sysdeps/sparc/sparc64/multiarch/Makefile
21185 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21186 crypt subdir.
21187 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21188 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21189 multiarch changes.
21190 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21191 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21192 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21193 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21194 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21195 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21196 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21197 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21198 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21199 file.
21200 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21202 file.
21203 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21204
8ca89318
JM
212052012-11-13 Joseph Myers <joseph@codesourcery.com>
21206
e27d476a
JM
21207 * timezone/tzselect.ksh: Update from tzcode git revision
21208 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21209 * timezone/zdump.c: Likewise.
21210 * timezone/zic.c: Likewise.
21211 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21212 in TZVERSION setting, not $(PKGVERSION).
21213 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21214 REPORT_BUGS_TO settings.
21215
8ca89318
JM
21216 [BZ #14838]
21217 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21218 macro.
21219
47594329
MS
212202012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21221
21222 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21223 detection to immediately after _FP_ROUND().
21224 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21225 bits are 0.
21226
640ac3f1
DM
212272012-11-11 David S. Miller <davem@davemloft.net>
21228
21229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21230 inttypes.h
21231 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21232 __close rather than their public counterparts.
21233
3d2577bb
JM
212342012-11-10 Joseph Myers <joseph@codesourcery.com>
21235
21236 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21237 file.
21238 [UNIX98] (sem_timedwait): Do not expect.
21239 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21240 [XPG4 || UNIX98] (sockatmark): Do not expect.
21241 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21242 (clock_getcpuclockid): Do not expect.
21243 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21244 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21245 Do not expect.
21246 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21247 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21248 [UNIX98] (vwscanf): Likewise.
21249 [UNIX98] (vswscanf): Likewise.
21250
fb1ae1ee
JM
212512012-11-09 Joseph Myers <joseph@codesourcery.com>
21252
9ec6f8bd
JM
21253 * timezone/version.h: Remove file.
21254 * timezone/README: Do not refer to version.h.
21255 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21256 $(objpfx)version.h.
21257 ($(objpfx)zdump.o): Likewise.
c3f81911 21258 ($(objpfx)version.h): New target.
9ec6f8bd 21259
0aa8f8a1
JM
21260 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21261 2012i.
21262 * timezone/README: Don't mention modification to tzselect.ksh.
21263 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21264 work on unmodified tzselect.ksh. Substitute version numbers in
21265 tzselect.ksh.
21266
4e87147f
JM
21267 * Makefile (format-me): Remove.
21268 (INSTALL): Adjust indentation. Use commands directly instead of
21269 using $(format-me).
21270
8b748aed
JM
21271 * aclocal.m4 (ACX_PKGVERSION): New macro.
21272 (ACX_BUGURL): Likewise.
21273 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21274 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21275 (REPORT_BUGS_TO): Likewise.
21276 * configure: Regenerated.
21277 * config.h.in (PKGVERSION): New macro.
21278 (REPORT_BUGS_TO): Likewise.
21279 * config.make.in (PKGVERSION): New variable.
21280 (PKGVERSION_TEXI): Likewise.
21281 (REPORT_BUGS_TO): Likewise.
21282 (REPORT_BUGS_TEXI): Likewise.
21283 * Makefile (format-me): Use -I$(common-objpfx)manual.
21284 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21285 ($(common-objpfx)manual/%): New target.
21286 (manual/%): Remove target.
21287 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21288 (print_version): Use PKGVERSION.
21289 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21290 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21291 and REPORT_BUGS_TO.
21292 ($(objpfx)xtrace): Likewise.
21293 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21294 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21295 (print_version): Use PKGVERSION.
21296 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21297 (do_version): Use PKGVERSION.
21298 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21299 REPORT_BUGS_TO.
21300 (common-ldd-rewrite): Likewise.
21301 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21302 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21303 (print_version): Use PKGVERSION.
21304 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21305 * elf/pldd.c (argp_program_bug_address): Remove variable.
21306 (more_help): New function.
21307 (argp): Use more_help.
21308 (print_version): Use PKGVERSION.
21309 * elf/sln.c (main): Use PKGVERSION.
21310 (usage): Use REPORT_BUGS_TO.
21311 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21312 (top level): Use PKGVERSION.
21313 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21314 (print_version): Use PKGVERSION.
21315 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21316 (print_version): Use PKGVERSION.
21317 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21318 (print_version): Use PKGVERSION.
21319 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21320 (print_version): Use PKGVERSION.
21321 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21322 (print_version): Use PKGVERSION.
21323 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21324 (print_version): Use PKGVERSION.
21325 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21326 and BUGURL.
21327 ($(objpfx)memusage): Likewise.
21328 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21329 (do_version): Use PKGVERSION.
21330 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21331 (print_version): Use PKGVERSION.
21332 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21333 ($PKGVERSION): New variable.
21334 ($REPORT_BUGS_TO): Likewise.
21335 (usage): Use $REPORT_BUGS_TO.
21336 (top level): Use $PKGVERSION.
21337 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21338 ($(objpfx)pkgvers.texi): New rule.
21339 ($(objpfx)stamp-pkgvers): Likewise.
21340 * manual/install.texi: Include pkgvers.texi.
21341 (--with-pkgversion): Document new configure option.
21342 (--with-bugurl): Likewise.
21343 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21344 than necessarily for this particular distribution. Use
21345 REPORT_BUGS_TO for where to report bugs.
21346 * INSTALL: Regenerated.
21347 * manual/libc.texinfo: Include pkgvers.texi.
21348 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21349 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21350 (print_version): Use PKGVERSION.
21351 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21352 (print_version): Use PKGVERSION.
21353 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21354 (print_version): Use PKGVERSION.
21355 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21356 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21357 macro.
21358 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21359 (print_version): Use PKGVERSION.
21360 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21361 (print_version): Use PKGVERSION.
21362 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21363 and PKGVERSION.
21364
92e4b6a9
JM
21365 * timezone/checktab.awk: Update from tzcode 2012i.
21366 * timezone/ialloc.c: Likewise.
21367 * timezone/private.h: Likewise.
21368 * timezone/scheck.c: Likewise.
21369 * timezone/tzfile.h: Likewise.
21370 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21371 (TZVERSION): Hardcode tzcode version number.
21372 * timezone/zdump.c: Update from tzcode 2012i.
21373 * timezone/zic.c: Likewise.
21374 * timezone/version.h: New file.
21375 * timezone/README: Describe version.h. Update upstream location.
21376
9bde902c
JM
21377 [BZ #14824]
21378 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21379 (mktemp): Enable declaration.
21380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21382 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21384 Likewise.
21385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21386 Likewise.
21387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21388 Likewise.
21389 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21390 Likewise.
21391 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21392 Likewise.
21393 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21394 Likewise.
21395
fb1ae1ee
JM
21396 [BZ #14821]
21397 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21398 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21399 for copies of such integer values.
21400 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21401 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21402
2c1adbcb
AJ
214032012-11-09 Andreas Jaeger <aj@suse.de>
21404
21405 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21406 definitions and declarations that are provided by
21407 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21408
d0f8457e
AK
214092012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21410
3a235abb 21411 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21412 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21413 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21414 definition.
21415
57241e26
MS
214162012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21417
21418 * elf/elf.h: Update comment before AArch64 relocations.
21419
60e8270d
DM
214202012-11-07 David S. Miller <davem@davemloft.net>
21421
21422 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21423 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21424 (__start_context): Declare.
21425 (__makecontext_ret): Delete.
21426 (__makecontext): Hook up __start_context instead of
21427 __makecontext_ret.
21428 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21429 (sysdep_routines): Add __start_context when in stdlib.
21430
0fbb0fbc
JM
214312012-11-07 Joseph Myers <joseph@codesourcery.com>
21432
21433 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21434 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21435 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21436 hardcoded "nm".
21437 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21438 (READELF): New variable. Use it instead of hardcoded "readelf".
21439
eb48db7e
L
214402012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21441
21442 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21443 * sysdeps/x86/Makefile: Here.
21444 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21445 * sysdeps/x86/tst-xmmymm.sh: This.
21446
05bcf62a
JM
214472012-11-07 Joseph Myers <joseph@codesourcery.com>
21448
c4b6cf53
JM
21449 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21450 expectations.
21451 [UNIX98] (pthread_barrier_t): Do not expect.
21452 [UNIX98] (pthread_barrierattr_t): Likewise.
21453 [UNIX98] (pthread_spinlock_t): Likewise.
21454 [UNIX98] (pthread_barrier_destroy): Likewise.
21455 [UNIX98] (pthread_barrier_init): Likewise.
21456 [UNIX98] (pthread_barrier_wait): Likewise.
21457 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21458 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21459 [UNIX98] (pthread_barrierattr_init): Likewise.
21460 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21461 [UNIX98] (pthread_getcpuclockid): Likewise.
21462 [UNIX98] (pthread_mutex_timedlock): Likewise.
21463 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21464 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21465 [UNIX98] (pthread_sigmask): Likewise.
21466 [UNIX98] (pthread_spin_destroy): Likewise.
21467 [UNIX98] (pthread_spin_init): Likewise.
21468 [UNIX98] (pthread_spin_lock): Likewise.
21469 [UNIX98] (pthread_spin_trylock): Likewise.
21470 [UNIX98] (pthread_spin_unlock): Likewise.
21471 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21472 Do not expect.
21473 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21474 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21475 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21476 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21477 [XPG3 || XPG4] (pthread_key_t): Likewise.
21478 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21479 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21480 [XPG3 || XPG4] (pthread_once_t): Likewise.
21481 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21482 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21483 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21484 [XPG3 || XPG4] (pthread_t): Likewise.
21485
cbe6e120
JM
21486 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21487 not expect.
21488 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21489
1b126443
JM
21490 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21491 Change function return type to int.
21492
b961a573
JM
21493 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21494 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21495 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21496 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21497 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21498 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21499 [!POSIX] (posix_madvise): Likewise.
21500 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21501 && !UNIX98].
21502 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21503 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21504 (mode_t): Likewise.
21505 (posix_mem_offset): Likewise.
21506 (posix_typed_mem_get_info): Likewise.
21507 (posix_typed_mem_open): Likewise.
21508
9e188909
JM
21509 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21510 Change condition to [XOPEN2K8].
21511
05bcf62a
JM
21512 * conform/conformtest.pl: Preprocess allow-header data with -x c
21513 instead of from stdin.
21514 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21515 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21516 [C99-based standards] (cerfc): Likewise.
21517 [C99-based standards] (cexp2): Likewise.
21518 [C99-based standards] (cexpm1): Likewise.
21519 [C99-based standards] (clog10): Likewise.
21520 [C99-based standards] (clog1p): Likewise.
21521 [C99-based standards] (clog2): Likewise.
21522 [C99-based standards] (clgamma): Likewise.
21523 [C99-based standards] (ctgamma): Likewise.
21524 [C99-based standards] (cerff): Likewise.
21525 [C99-based standards] (cerfcf): Likewise.
21526 [C99-based standards] (cexp2f): Likewise.
21527 [C99-based standards] (cexpm1f): Likewise.
21528 [C99-based standards] (clog10f): Likewise.
21529 [C99-based standards] (clog1pf): Likewise.
21530 [C99-based standards] (clog2f): Likewise.
21531 [C99-based standards] (clgammaf): Likewise.
21532 [C99-based standards] (ctgammaf): Likewise.
21533 [C99-based standards] (cerfl): Likewise.
21534 [C99-based standards] (cerfcl): Likewise.
21535 [C99-based standards] (cexp2l): Likewise.
21536 [C99-based standards] (cexpm1l): Likewise.
21537 [C99-based standards] (clog10l): Likewise.
21538 [C99-based standards] (clog1pl): Likewise.
21539 [C99-based standards] (clog2l): Likewise.
21540 [C99-based standards] (clgammal): Likewise.
21541 [C99-based standards] (ctgammal): Likewise.
21542 * conform/data/inttypes.h-data [C99-based standards]: Include
21543 stdint.h-data. Remove all expectations for stdint.h contents.
21544 [C99-based standards] (PRI*): Do not allow.
21545 [C99-based standards] (SCN*): Likewise.
21546 [C99-based standards] (*_t): Likewise.
21547 [C99-based-standards] (PRId8): Expect macro.
21548 [C99-based-standards] (PRIi8): Likewise.
21549 [C99-based-standards] (PRIo8): Likewise.
21550 [C99-based-standards] (PRIu8): Likewise.
21551 [C99-based-standards] (PRIx8): Likewise.
21552 [C99-based-standards] (PRIX8): Likewise.
21553 [C99-based-standards] (SCNd8): Likewise.
21554 [C99-based-standards] (SCNi8): Likewise.
21555 [C99-based-standards] (SCNo8): Likewise.
21556 [C99-based-standards] (SCNu8): Likewise.
21557 [C99-based-standards] (SCNx8): Likewise.
21558 [C99-based-standards] (PRIdLEAST8): Likewise.
21559 [C99-based-standards] (PRIiLEAST8): Likewise.
21560 [C99-based-standards] (PRIoLEAST8): Likewise.
21561 [C99-based-standards] (PRIuLEAST8): Likewise.
21562 [C99-based-standards] (PRIxLEAST8): Likewise.
21563 [C99-based-standards] (PRIXLEAST8): Likewise.
21564 [C99-based-standards] (SCNdLEAST8): Likewise.
21565 [C99-based-standards] (SCNiLEAST8): Likewise.
21566 [C99-based-standards] (SCNoLEAST8): Likewise.
21567 [C99-based-standards] (SCNuLEAST8): Likewise.
21568 [C99-based-standards] (SCNxLEAST8): Likewise.
21569 [C99-based-standards] (PRIdFAST8): Likewise.
21570 [C99-based-standards] (PRIiFAST8): Likewise.
21571 [C99-based-standards] (PRIoFAST8): Likewise.
21572 [C99-based-standards] (PRIuFAST8): Likewise.
21573 [C99-based-standards] (PRIxFAST8): Likewise.
21574 [C99-based-standards] (PRIXFAST8): Likewise.
21575 [C99-based-standards] (SCNdFAST8): Likewise.
21576 [C99-based-standards] (SCNiFAST8): Likewise.
21577 [C99-based-standards] (SCNoFAST8): Likewise.
21578 [C99-based-standards] (SCNuFAST8): Likewise.
21579 [C99-based-standards] (SCNxFAST8): Likewise.
21580 [C99-based-standards] (PRId16): Likewise.
21581 [C99-based-standards] (PRIi16): Likewise.
21582 [C99-based-standards] (PRIo16): Likewise.
21583 [C99-based-standards] (PRIu16): Likewise.
21584 [C99-based-standards] (PRIx16): Likewise.
21585 [C99-based-standards] (PRIX16): Likewise.
21586 [C99-based-standards] (SCNd16): Likewise.
21587 [C99-based-standards] (SCNi16): Likewise.
21588 [C99-based-standards] (SCNo16): Likewise.
21589 [C99-based-standards] (SCNu16): Likewise.
21590 [C99-based-standards] (SCNx16): Likewise.
21591 [C99-based-standards] (PRIdLEAST16): Likewise.
21592 [C99-based-standards] (PRIiLEAST16): Likewise.
21593 [C99-based-standards] (PRIoLEAST16): Likewise.
21594 [C99-based-standards] (PRIuLEAST16): Likewise.
21595 [C99-based-standards] (PRIxLEAST16): Likewise.
21596 [C99-based-standards] (PRIXLEAST16): Likewise.
21597 [C99-based-standards] (SCNdLEAST16): Likewise.
21598 [C99-based-standards] (SCNiLEAST16): Likewise.
21599 [C99-based-standards] (SCNoLEAST16): Likewise.
21600 [C99-based-standards] (SCNuLEAST16): Likewise.
21601 [C99-based-standards] (SCNxLEAST16): Likewise.
21602 [C99-based-standards] (PRIdFAST16): Likewise.
21603 [C99-based-standards] (PRIiFAST16): Likewise.
21604 [C99-based-standards] (PRIoFAST16): Likewise.
21605 [C99-based-standards] (PRIuFAST16): Likewise.
21606 [C99-based-standards] (PRIxFAST16): Likewise.
21607 [C99-based-standards] (PRIXFAST16): Likewise.
21608 [C99-based-standards] (SCNdFAST16): Likewise.
21609 [C99-based-standards] (SCNiFAST16): Likewise.
21610 [C99-based-standards] (SCNoFAST16): Likewise.
21611 [C99-based-standards] (SCNuFAST16): Likewise.
21612 [C99-based-standards] (SCNxFAST16): Likewise.
21613 [C99-based-standards] (PRId32): Likewise.
21614 [C99-based-standards] (PRIi32): Likewise.
21615 [C99-based-standards] (PRIo32): Likewise.
21616 [C99-based-standards] (PRIu32): Likewise.
21617 [C99-based-standards] (PRIx32): Likewise.
21618 [C99-based-standards] (PRIX32): Likewise.
21619 [C99-based-standards] (SCNd32): Likewise.
21620 [C99-based-standards] (SCNi32): Likewise.
21621 [C99-based-standards] (SCNo32): Likewise.
21622 [C99-based-standards] (SCNu32): Likewise.
21623 [C99-based-standards] (SCNx32): Likewise.
21624 [C99-based-standards] (PRIdLEAST32): Likewise.
21625 [C99-based-standards] (PRIiLEAST32): Likewise.
21626 [C99-based-standards] (PRIoLEAST32): Likewise.
21627 [C99-based-standards] (PRIuLEAST32): Likewise.
21628 [C99-based-standards] (PRIxLEAST32): Likewise.
21629 [C99-based-standards] (PRIXLEAST32): Likewise.
21630 [C99-based-standards] (SCNdLEAST32): Likewise.
21631 [C99-based-standards] (SCNiLEAST32): Likewise.
21632 [C99-based-standards] (SCNoLEAST32): Likewise.
21633 [C99-based-standards] (SCNuLEAST32): Likewise.
21634 [C99-based-standards] (SCNxLEAST32): Likewise.
21635 [C99-based-standards] (PRIdFAST32): Likewise.
21636 [C99-based-standards] (PRIiFAST32): Likewise.
21637 [C99-based-standards] (PRIoFAST32): Likewise.
21638 [C99-based-standards] (PRIuFAST32): Likewise.
21639 [C99-based-standards] (PRIxFAST32): Likewise.
21640 [C99-based-standards] (PRIXFAST32): Likewise.
21641 [C99-based-standards] (SCNdFAST32): Likewise.
21642 [C99-based-standards] (SCNiFAST32): Likewise.
21643 [C99-based-standards] (SCNoFAST32): Likewise.
21644 [C99-based-standards] (SCNuFAST32): Likewise.
21645 [C99-based-standards] (SCNxFAST32): Likewise.
21646 [C99-based-standards] (PRId64): Likewise.
21647 [C99-based-standards] (PRIi64): Likewise.
21648 [C99-based-standards] (PRIo64): Likewise.
21649 [C99-based-standards] (PRIu64): Likewise.
21650 [C99-based-standards] (PRIx64): Likewise.
21651 [C99-based-standards] (PRIX64): Likewise.
21652 [C99-based-standards] (SCNd64): Likewise.
21653 [C99-based-standards] (SCNi64): Likewise.
21654 [C99-based-standards] (SCNo64): Likewise.
21655 [C99-based-standards] (SCNu64): Likewise.
21656 [C99-based-standards] (SCNx64): Likewise.
21657 [C99-based-standards] (PRIdLEAST64): Likewise.
21658 [C99-based-standards] (PRIiLEAST64): Likewise.
21659 [C99-based-standards] (PRIoLEAST64): Likewise.
21660 [C99-based-standards] (PRIuLEAST64): Likewise.
21661 [C99-based-standards] (PRIxLEAST64): Likewise.
21662 [C99-based-standards] (PRIXLEAST64): Likewise.
21663 [C99-based-standards] (SCNdLEAST64): Likewise.
21664 [C99-based-standards] (SCNiLEAST64): Likewise.
21665 [C99-based-standards] (SCNoLEAST64): Likewise.
21666 [C99-based-standards] (SCNuLEAST64): Likewise.
21667 [C99-based-standards] (SCNxLEAST64): Likewise.
21668 [C99-based-standards] (PRIdFAST64): Likewise.
21669 [C99-based-standards] (PRIiFAST64): Likewise.
21670 [C99-based-standards] (PRIoFAST64): Likewise.
21671 [C99-based-standards] (PRIuFAST64): Likewise.
21672 [C99-based-standards] (PRIxFAST64): Likewise.
21673 [C99-based-standards] (PRIXFAST64): Likewise.
21674 [C99-based-standards] (SCNdFAST64): Likewise.
21675 [C99-based-standards] (SCNiFAST64): Likewise.
21676 [C99-based-standards] (SCNoFAST64): Likewise.
21677 [C99-based-standards] (SCNuFAST64): Likewise.
21678 [C99-based-standards] (SCNxFAST64): Likewise.
21679 [C99-based-standards] (PRIdMAX): Likewise.
21680 [C99-based-standards] (PRIiMAX): Likewise.
21681 [C99-based-standards] (PRIoMAX): Likewise.
21682 [C99-based-standards] (PRIuMAX): Likewise.
21683 [C99-based-standards] (PRIxMAX): Likewise.
21684 [C99-based-standards] (PRIXMAX): Likewise.
21685 [C99-based-standards] (SCNdMAX): Likewise.
21686 [C99-based-standards] (SCNiMAX): Likewise.
21687 [C99-based-standards] (SCNoMAX): Likewise.
21688 [C99-based-standards] (SCNuMAX): Likewise.
21689 [C99-based-standards] (SCNxMAX): Likewise.
21690 [C99-based-standards] (PRIdPTR): Likewise.
21691 [C99-based-standards] (PRIiPTR): Likewise.
21692 [C99-based-standards] (PRIoPTR): Likewise.
21693 [C99-based-standards] (PRIuPTR): Likewise.
21694 [C99-based-standards] (PRIxPTR): Likewise.
21695 [C99-based-standards] (PRIXPTR): Likewise.
21696 [C99-based-standards] (SCNdPTR): Likewise.
21697 [C99-based-standards] (SCNiPTR): Likewise.
21698 [C99-based-standards] (SCNoPTR): Likewise.
21699 [C99-based-standards] (SCNuPTR): Likewise.
21700 [C99-based-standards] (SCNxPTR): Likewise.
21701 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21702 allow.
21703 * conform/data/stdint.h-data: Update comments to clarify
21704 requirements.
21705 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21706 type.
21707 [C99-based standards] (INT8_MAX): Likewise.
21708 [C99-based standards] (INT16_MIN): Likewise.
21709 [C99-based standards] (INT16_MAX): Likewise.
21710 [C99-based standards] (INT32_MIN): Likewise.
21711 [C99-based standards] (INT32_MAX): Likewise.
21712 [C99-based standards] (INT64_MIN): Likewise.
21713 [C99-based standards] (INT64_MAX): Likewise.
21714 [C99-based standards] (UINT8_MAX): Likewise.
21715 [C99-based standards] (UINT16_MAX): Likewise.
21716 [C99-based standards] (UINT32_MAX): Likewise.
21717 [C99-based standards] (UINT64_MAX): Likewise.
21718 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21719 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21720 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21721 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21722 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21723 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21724 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21725 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21726 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21727 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21728 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21729 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21730 [C99-based standards] (INT_FAST8_MIN): Likewise.
21731 [C99-based standards] (INT_FAST8_MAX): Likewise.
21732 [C99-based standards] (INT_FAST16_MIN): Likewise.
21733 [C99-based standards] (INT_FAST16_MAX): Likewise.
21734 [C99-based standards] (INT_FAST32_MIN): Likewise.
21735 [C99-based standards] (INT_FAST32_MAX): Likewise.
21736 [C99-based standards] (INT_FAST64_MIN): Likewise.
21737 [C99-based standards] (INT_FAST64_MAX): Likewise.
21738 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21739 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21740 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21741 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21742 [C99-based standards] (INTPTR_MIN): Likewise.
21743 [C99-based standards] (INTPTR_MAX): Likewise.
21744 [C99-based standards] (UINTPTR_MAX): Likewise.
21745 [C99-based standards] (INTMAX_MIN): Likewise.
21746 [C99-based standards] (INTMAX_MAX): Likewise.
21747 [C99-based standards] (UINTMAX_MAX): Likewise.
21748 [C99-based standards] (PTRDIFF_MIN): Likewise.
21749 [C99-based standards] (PTRDIFF_MAX): Likewise.
21750 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21751 [C99-based standards] (SIZE_MAX): Likewise.
21752 [C99-based standards] (WCHAR_MAX): Likewise.
21753 [C99-based standards] (WINT_MAX): Likewise.
21754 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21755 constraint on value.
21756 [C99-based standards] (WCHAR_MIN): Likewise.
21757 [C99-based standards] (WINT_MIN): Likewise.
21758 [C99-based standards] (*_t): Allow.
21759 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21760 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21761 Include math.h-data and complex.h-data. Remove all expectations
21762 of math.h and complex.h contents.
21763 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21764 at end of line.
21765 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21766 (struct tm): Expect tag.
21767 [C99-based-standards] (wcstof): Expect function.
21768 [C99-based-standards] (wcstold): Likewise.
21769 [C99-based-standards] (wcstoll): Likewise.
21770 [C99-based-standards] (wcstoull): Likewise.
21771 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21772 macro-int-constant. Specify type.
21773 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21774 constraint on value.
21775 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21776 Specify type.
21777 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21778 Specify value.
21779 [ISO C standards]: Do not allow headers.
21780 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21781 wcs[abcdefghijklmnopqrstuvwxyz]*.
21782 [ISO C standards] (*_t): Do not allow.
21783 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21784 Expect function.
21785 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21786 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21787 Specify type.
21788 [ISO C standards]: Do not allow headers.
21789 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21790 is[abcdefghijklmnopqrstuvwxyz]*.
21791 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21792 to[abcdefghijklmnopqrstuvwxyz]*.
21793 [ISO C standards] (*_t): Do not allow.
21794 * conform/data/stdalign.h-data: New file.
21795 * conform/data/stdbool.h-data: Likewise.
21796 * conform/data/stdnoreturn.h-data: Likewise.
21797
7514feb8
RM
217982012-11-07 Roland McGrath <roland@hack.frob.com>
21799
21800 [BZ #14815]
21801 * manual/filesys.texi (Directory Entries): Typo fix.
21802 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21803
19b2ecfc
MS
218042012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21805
21806 * elf/elf.h (EM_AARCH64): New macro.
21807 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21808 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21809 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21810 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21811 (R_AARCH64_TLSDESC): Likewise.
21812 (NT_ARM_TLS): Likewise.
21813 (NT_ARM_HW_BREAK): Likewise.
21814 (NT_ARM_HW_WATCH): Likewise.
21815
60e235ee
JM
218162012-11-07 Joseph Myers <joseph@codesourcery.com>
21817
21818 [BZ #14811]
21819 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21820 (__ieee754_powl): Saturate nonzero exponents with absolute value
21821 below 0x1p-79 to +/- 0x1p-79.
21822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21823 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21824 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21825 nonzero exponents with absolute value below 0x1p-32 to +/-
21826 0x1p-32.
21827 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21828 (__ieee754_powl): Saturate nonzero exponents with absolute value
21829 below 0x1p-79 to +/- 0x1p-79.
21830 * math/libm-test.inc (pow_test): Add more tests.
21831
0ab234b7
AK
218322012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21833
21834 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21835 _dl_s390_cap_flags with kernel. Increase string length.
21836 (_dl_s390_platforms): Add z196 and zEC12.
21837
45832f74
JM
218382012-11-07 Joseph Myers <joseph@codesourcery.com>
21839
21840 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21841 Change XOPEN21K to XOPEN2K.
21842
19218757
MK
218432012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21844
21845 * string/memmove.c: Use memcpy when possible.
21846
c5f45721
AJ
218472012-11-06 Andreas Jaeger <aj@suse.de>
21848
21849 * po/eo.po: Update from translation team.
21850
82477c28
JM
218512012-11-06 Joseph Myers <joseph@codesourcery.com>
21852
21853 [BZ #14793]
21854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21855 exponent and small x and y exponents, scale x or y up. Increase
21856 by 2 the exponent used in scaling up.
21857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21859 * math/libm-test.inc (fma_test): Add more tests.
21860 (fma_test_towardzero): Likewise.
21861 (fma_test_downward): Likewise.
21862 (fma_test_upward): Likewise.
21863
99252c8c
JM
218642012-11-05 Joseph Myers <joseph@codesourcery.com>
21865
acfa885f
JM
21866 [BZ #14805]
21867 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21868 fenv_t *.
21869
99252c8c
JM
21870 [BZ #14801]
21871 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21872 namespace for names of struct fields.
21873 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21874 fenv_t fields.
21875 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21876 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21877
d6d98dea
ST
218782012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21879
21880 [BZ #3665]
21881 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21882
e10bb107
TS
218832012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21884
21885 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21886 PTR_DEMANGLE.
21887
21888 [BZ #5246]
21889 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21890 PTR_DEMANGLE.
21891
a0c2940d
JM
218922012-11-04 Joseph Myers <joseph@codesourcery.com>
21893
21894 [BZ #14797]
21895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21896 definitely overflow as x * y not x * y + z.
21897 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21899 * math/libm-test.inc (fma_test): Add more tests.
21900 (fma_test_towardzero): Likewise.
21901 (fma_test_downward): Likewise.
21902 (fma_test_upward): Likewise.
21903
b830319d
TS
219042012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21905
21906 [BZ #157]
21907
21908 * include/stub-tag.h: Remove file.
21909 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21910 '#include' of it.
21911 * manual/maint.texi (Porting): Don't reference it.
21912 * Makerules ($(objpfx)stubs): Likewise.
21913 * dirent/closedir.c: Don't include <stub-tag.h>.
21914 * dirent/dirfd.c: Likewise.
21915 * dirent/fdopendir.c: Likewise.
21916 * dirent/getdents.c: Likewise.
21917 * dirent/getdents64.c: Likewise.
21918 * dirent/opendir.c: Likewise.
21919 * dirent/readdir.c: Likewise.
21920 * dirent/readdir64.c: Likewise.
21921 * dirent/readdir64_r.c: Likewise.
21922 * dirent/readdir_r.c: Likewise.
21923 * dirent/rewinddir.c: Likewise.
21924 * dirent/seekdir.c: Likewise.
21925 * dirent/telldir.c: Likewise.
21926 * gmon/profil.c: Likewise.
21927 * grp/setgroups.c: Likewise.
21928 * inet/if_index.c: Likewise.
21929 * io/access.c: Likewise.
21930 * io/chdir.c: Likewise.
21931 * io/chmod.c: Likewise.
21932 * io/chown.c: Likewise.
21933 * io/close.c: Likewise.
21934 * io/dup.c: Likewise.
21935 * io/dup2.c: Likewise.
21936 * io/dup3.c: Likewise.
21937 * io/euidaccess.c: Likewise.
21938 * io/faccessat.c: Likewise.
21939 * io/fchdir.c: Likewise.
21940 * io/fchmod.c: Likewise.
21941 * io/fchmodat.c: Likewise.
21942 * io/fchown.c: Likewise.
21943 * io/fchownat.c: Likewise.
21944 * io/fcntl.c: Likewise.
21945 * io/flock.c: Likewise.
21946 * io/fstatfs.c: Likewise.
21947 * io/fstatfs64.c: Likewise.
21948 * io/fstatvfs.c: Likewise.
21949 * io/fstatvfs64.c: Likewise.
21950 * io/futimens.c: Likewise.
21951 * io/fxstat.c: Likewise.
21952 * io/fxstat64.c: Likewise.
21953 * io/fxstatat.c: Likewise.
21954 * io/fxstatat64.c: Likewise.
21955 * io/getcwd.c: Likewise.
21956 * io/isatty.c: Likewise.
21957 * io/lchmod.c: Likewise.
21958 * io/lchown.c: Likewise.
21959 * io/link.c: Likewise.
21960 * io/linkat.c: Likewise.
21961 * io/lseek.c: Likewise.
21962 * io/lseek64.c: Likewise.
21963 * io/lxstat64.c: Likewise.
21964 * io/mkdir.c: Likewise.
21965 * io/mkdirat.c: Likewise.
21966 * io/mkfifo.c: Likewise.
21967 * io/mkfifoat.c: Likewise.
21968 * io/open.c: Likewise.
21969 * io/open64.c: Likewise.
21970 * io/openat.c: Likewise.
21971 * io/openat64.c: Likewise.
21972 * io/pipe.c: Likewise.
21973 * io/pipe2.c: Likewise.
21974 * io/poll.c: Likewise.
21975 * io/posix_fadvise.c: Likewise.
21976 * io/posix_fadvise64.c: Likewise.
21977 * io/posix_fallocate.c: Likewise.
21978 * io/posix_fallocate64.c: Likewise.
21979 * io/read.c: Likewise.
21980 * io/readlink.c: Likewise.
21981 * io/readlinkat.c: Likewise.
21982 * io/rmdir.c: Likewise.
21983 * io/sendfile.c: Likewise.
21984 * io/sendfile64.c: Likewise.
21985 * io/statfs.c: Likewise.
21986 * io/statfs64.c: Likewise.
21987 * io/statvfs.c: Likewise.
21988 * io/statvfs64.c: Likewise.
21989 * io/symlink.c: Likewise.
21990 * io/symlinkat.c: Likewise.
21991 * io/ttyname.c: Likewise.
21992 * io/ttyname_r.c: Likewise.
21993 * io/umask.c: Likewise.
21994 * io/unlink.c: Likewise.
21995 * io/unlinkat.c: Likewise.
21996 * io/utime.c: Likewise.
21997 * io/utimensat.c: Likewise.
21998 * io/write.c: Likewise.
21999 * io/xmknod.c: Likewise.
22000 * io/xmknodat.c: Likewise.
22001 * io/xstat.c: Likewise.
22002 * io/xstat64.c: Likewise.
22003 * login/getpt.c: Likewise.
22004 * login/grantpt.c: Likewise.
22005 * login/unlockpt.c: Likewise.
22006 * math/e_acoshl.c: Likewise.
22007 * math/e_acosl.c: Likewise.
22008 * math/e_asinl.c: Likewise.
22009 * math/e_atan2l.c: Likewise.
22010 * math/e_atanhl.c: Likewise.
22011 * math/e_coshl.c: Likewise.
22012 * math/e_expl.c: Likewise.
22013 * math/e_fmodl.c: Likewise.
22014 * math/e_gammal_r.c: Likewise.
22015 * math/e_hypotl.c: Likewise.
22016 * math/e_j0l.c: Likewise.
22017 * math/e_j1l.c: Likewise.
22018 * math/e_jnl.c: Likewise.
22019 * math/e_lgammal_r.c: Likewise.
22020 * math/e_log10l.c: Likewise.
22021 * math/e_log2l.c: Likewise.
22022 * math/e_logl.c: Likewise.
22023 * math/e_powl.c: Likewise.
22024 * math/e_rem_pio2l.c: Likewise.
22025 * math/e_sinhl.c: Likewise.
22026 * math/e_sqrtl.c: Likewise.
22027 * math/fclrexcpt.c: Likewise.
22028 * math/fedisblxcpt.c: Likewise.
22029 * math/feenablxcpt.c: Likewise.
22030 * math/fegetenv.c: Likewise.
22031 * math/fegetexcept.c: Likewise.
22032 * math/fegetround.c: Likewise.
22033 * math/feholdexcpt.c: Likewise.
22034 * math/fesetenv.c: Likewise.
22035 * math/fesetround.c: Likewise.
22036 * math/feupdateenv.c: Likewise.
22037 * math/fgetexcptflg.c: Likewise.
22038 * math/fraiseexcpt.c: Likewise.
22039 * math/fsetexcptflg.c: Likewise.
22040 * math/ftestexcept.c: Likewise.
22041 * math/k_cosl.c: Likewise.
22042 * math/k_rem_pio2l.c: Likewise.
22043 * math/k_sinl.c: Likewise.
22044 * math/k_tanl.c: Likewise.
22045 * math/s_asinhl.c: Likewise.
22046 * math/s_atanl.c: Likewise.
22047 * math/s_cbrtl.c: Likewise.
22048 * math/s_erfl.c: Likewise.
22049 * math/s_expm1l.c: Likewise.
22050 * math/s_log1pl.c: Likewise.
22051 * math/s_tanhl.c: Likewise.
22052 * misc/acct.c: Likewise.
22053 * misc/brk.c: Likewise.
22054 * misc/chflags.c: Likewise.
22055 * misc/chroot.c: Likewise.
22056 * misc/fchflags.c: Likewise.
22057 * misc/fgetxattr.c: Likewise.
22058 * misc/flistxattr.c: Likewise.
22059 * misc/fremovexattr.c: Likewise.
22060 * misc/fsetxattr.c: Likewise.
22061 * misc/fsync.c: Likewise.
22062 * misc/ftruncate.c: Likewise.
22063 * misc/futimes.c: Likewise.
22064 * misc/futimesat.c: Likewise.
22065 * misc/getdomain.c: Likewise.
22066 * misc/getdtsz.c: Likewise.
22067 * misc/gethostid.c: Likewise.
22068 * misc/gethostname.c: Likewise.
22069 * misc/getloadavg.c: Likewise.
22070 * misc/getpagesize.c: Likewise.
22071 * misc/getsysstats.c: Likewise.
22072 * misc/getxattr.c: Likewise.
22073 * misc/gtty.c: Likewise.
22074 * misc/ioctl.c: Likewise.
22075 * misc/lgetxattr.c: Likewise.
22076 * misc/listxattr.c: Likewise.
22077 * misc/llistxattr.c: Likewise.
22078 * misc/lremovexattr.c: Likewise.
22079 * misc/lsetxattr.c: Likewise.
22080 * misc/lutimes.c: Likewise.
22081 * misc/madvise.c: Likewise.
22082 * misc/mincore.c: Likewise.
22083 * misc/mlock.c: Likewise.
22084 * misc/mlockall.c: Likewise.
22085 * misc/mmap.c: Likewise.
22086 * misc/mprotect.c: Likewise.
22087 * misc/msync.c: Likewise.
22088 * misc/munlock.c: Likewise.
22089 * misc/munlockall.c: Likewise.
22090 * misc/munmap.c: Likewise.
22091 * misc/preadv.c: Likewise.
22092 * misc/preadv64.c: Likewise.
22093 * misc/ptrace.c: Likewise.
22094 * misc/pwritev.c: Likewise.
22095 * misc/pwritev64.c: Likewise.
22096 * misc/readv.c: Likewise.
22097 * misc/reboot.c: Likewise.
22098 * misc/remap_file_pages.c: Likewise.
22099 * misc/removexattr.c: Likewise.
22100 * misc/revoke.c: Likewise.
22101 * misc/select.c: Likewise.
22102 * misc/setdomain.c: Likewise.
22103 * misc/setegid.c: Likewise.
22104 * misc/seteuid.c: Likewise.
22105 * misc/sethostid.c: Likewise.
22106 * misc/sethostname.c: Likewise.
22107 * misc/setregid.c: Likewise.
22108 * misc/setreuid.c: Likewise.
22109 * misc/setxattr.c: Likewise.
22110 * misc/sstk.c: Likewise.
22111 * misc/stty.c: Likewise.
22112 * misc/swapoff.c: Likewise.
22113 * misc/swapon.c: Likewise.
22114 * misc/sync.c: Likewise.
22115 * misc/syncfs.c: Likewise.
22116 * misc/syscall.c: Likewise.
22117 * misc/truncate.c: Likewise.
22118 * misc/ualarm.c: Likewise.
22119 * misc/usleep.c: Likewise.
22120 * misc/ustat.c: Likewise.
22121 * misc/utimes.c: Likewise.
22122 * misc/vhangup.c: Likewise.
22123 * misc/writev.c: Likewise.
22124 * posix/_exit.c: Likewise.
22125 * posix/alarm.c: Likewise.
22126 * posix/execve.c: Likewise.
22127 * posix/fexecve.c: Likewise.
22128 * posix/fork.c: Likewise.
22129 * posix/fpathconf.c: Likewise.
22130 * posix/getaddrinfo.c: Likewise.
22131 * posix/getegid.c: Likewise.
22132 * posix/geteuid.c: Likewise.
22133 * posix/getgid.c: Likewise.
22134 * posix/getgroups.c: Likewise.
22135 * posix/getlogin.c: Likewise.
22136 * posix/getlogin_r.c: Likewise.
22137 * posix/getpgid.c: Likewise.
22138 * posix/getpid.c: Likewise.
22139 * posix/getppid.c: Likewise.
22140 * posix/getresgid.c: Likewise.
22141 * posix/getresuid.c: Likewise.
22142 * posix/getsid.c: Likewise.
22143 * posix/getuid.c: Likewise.
22144 * posix/glob64.c: Likewise.
22145 * posix/nanosleep.c: Likewise.
22146 * posix/pathconf.c: Likewise.
22147 * posix/pause.c: Likewise.
22148 * posix/posix_madvise.c: Likewise.
22149 * posix/pread.c: Likewise.
22150 * posix/pread64.c: Likewise.
22151 * posix/pwrite.c: Likewise.
22152 * posix/pwrite64.c: Likewise.
22153 * posix/sched_getaffinity.c: Likewise.
22154 * posix/sched_getp.c: Likewise.
22155 * posix/sched_gets.c: Likewise.
22156 * posix/sched_primax.c: Likewise.
22157 * posix/sched_primin.c: Likewise.
22158 * posix/sched_rr_gi.c: Likewise.
22159 * posix/sched_setaffinity.c: Likewise.
22160 * posix/sched_setp.c: Likewise.
22161 * posix/sched_sets.c: Likewise.
22162 * posix/sched_yield.c: Likewise.
22163 * posix/setgid.c: Likewise.
22164 * posix/setlogin.c: Likewise.
22165 * posix/setpgid.c: Likewise.
22166 * posix/setresgid.c: Likewise.
22167 * posix/setresuid.c: Likewise.
22168 * posix/setsid.c: Likewise.
22169 * posix/setuid.c: Likewise.
22170 * posix/sleep.c: Likewise.
22171 * posix/spawni.c: Likewise.
22172 * posix/sysconf.c: Likewise.
22173 * posix/times.c: Likewise.
22174 * posix/wait.c: Likewise.
22175 * posix/wait3.c: Likewise.
22176 * posix/wait4.c: Likewise.
22177 * posix/waitpid.c: Likewise.
22178 * resolv/gai_sigqueue.c: Likewise.
22179 * resource/getpriority.c: Likewise.
22180 * resource/getrlimit.c: Likewise.
22181 * resource/getrusage.c: Likewise.
22182 * resource/nice.c: Likewise.
22183 * resource/setpriority.c: Likewise.
22184 * resource/setrlimit.c: Likewise.
22185 * resource/ulimit.c: Likewise.
22186 * rt/aio_cancel.c: Likewise.
22187 * rt/aio_fsync.c: Likewise.
22188 * rt/aio_read.c: Likewise.
22189 * rt/aio_sigqueue.c: Likewise.
22190 * rt/aio_suspend.c: Likewise.
22191 * rt/aio_write.c: Likewise.
22192 * rt/clock_getres.c: Likewise.
22193 * rt/clock_gettime.c: Likewise.
22194 * rt/clock_nanosleep.c: Likewise.
22195 * rt/clock_settime.c: Likewise.
22196 * rt/lio_listio.c: Likewise.
22197 * rt/mq_close.c: Likewise.
22198 * rt/mq_getattr.c: Likewise.
22199 * rt/mq_notify.c: Likewise.
22200 * rt/mq_open.c: Likewise.
22201 * rt/mq_receive.c: Likewise.
22202 * rt/mq_send.c: Likewise.
22203 * rt/mq_setattr.c: Likewise.
22204 * rt/mq_timedreceive.c: Likewise.
22205 * rt/mq_timedsend.c: Likewise.
22206 * rt/mq_unlink.c: Likewise.
22207 * rt/shm_open.c: Likewise.
22208 * rt/shm_unlink.c: Likewise.
22209 * rt/timer_create.c: Likewise.
22210 * rt/timer_delete.c: Likewise.
22211 * rt/timer_getoverr.c: Likewise.
22212 * rt/timer_gettime.c: Likewise.
22213 * rt/timer_settime.c: Likewise.
22214 * setjmp/__longjmp.c: Likewise.
22215 * setjmp/setjmp.c: Likewise.
22216 * signal/kill.c: Likewise.
22217 * signal/killpg.c: Likewise.
22218 * signal/raise.c: Likewise.
22219 * signal/sigaction.c: Likewise.
22220 * signal/sigaltstack.c: Likewise.
22221 * signal/sigblock.c: Likewise.
22222 * signal/sigignore.c: Likewise.
22223 * signal/sigintr.c: Likewise.
22224 * signal/signal.c: Likewise.
22225 * signal/sigpause.c: Likewise.
22226 * signal/sigpending.c: Likewise.
22227 * signal/sigqueue.c: Likewise.
22228 * signal/sigreturn.c: Likewise.
22229 * signal/sigset.c: Likewise.
22230 * signal/sigsetmask.c: Likewise.
22231 * signal/sigstack.c: Likewise.
22232 * signal/sigsuspend.c: Likewise.
22233 * signal/sigtimedwait.c: Likewise.
22234 * signal/sigvec.c: Likewise.
22235 * signal/sigwait.c: Likewise.
22236 * signal/sigwaitinfo.c: Likewise.
22237 * signal/sysv_signal.c: Likewise.
22238 * socket/accept.c: Likewise.
22239 * socket/accept4.c: Likewise.
22240 * socket/bind.c: Likewise.
22241 * socket/connect.c: Likewise.
22242 * socket/getpeername.c: Likewise.
22243 * socket/getsockname.c: Likewise.
22244 * socket/getsockopt.c: Likewise.
22245 * socket/isfdtype.c: Likewise.
22246 * socket/listen.c: Likewise.
22247 * socket/recv.c: Likewise.
22248 * socket/recvfrom.c: Likewise.
22249 * socket/recvmsg.c: Likewise.
22250 * socket/send.c: Likewise.
22251 * socket/sendmsg.c: Likewise.
22252 * socket/sendto.c: Likewise.
22253 * socket/setsockopt.c: Likewise.
22254 * socket/shutdown.c: Likewise.
22255 * socket/sockatmark.c: Likewise.
22256 * socket/socket.c: Likewise.
22257 * socket/socketpair.c: Likewise.
22258 * stdio-common/ctermid.c: Likewise.
22259 * stdio-common/cuserid.c: Likewise.
22260 * stdio-common/remove.c: Likewise.
22261 * stdio-common/rename.c: Likewise.
22262 * stdio-common/renameat.c: Likewise.
22263 * stdio-common/tempname.c: Likewise.
22264 * stdlib/getcontext.c: Likewise.
22265 * stdlib/makecontext.c: Likewise.
22266 * stdlib/setcontext.c: Likewise.
22267 * stdlib/swapcontext.c: Likewise.
22268 * stdlib/system.c: Likewise.
22269 * streams/fattach.c: Likewise.
22270 * streams/fdetach.c: Likewise.
22271 * streams/getmsg.c: Likewise.
22272 * streams/getpmsg.c: Likewise.
22273 * streams/putmsg.c: Likewise.
22274 * streams/putpmsg.c: Likewise.
22275 * sysdeps/unix/bsd/getpt.c: Likewise.
22276 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22277 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22278 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22280 Likewise.
22281 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22282 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22283 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22284 * sysvipc/msgctl.c: Likewise.
22285 * sysvipc/msgget.c: Likewise.
22286 * sysvipc/msgrcv.c: Likewise.
22287 * sysvipc/msgsnd.c: Likewise.
22288 * sysvipc/semctl.c: Likewise.
22289 * sysvipc/semget.c: Likewise.
22290 * sysvipc/semop.c: Likewise.
22291 * sysvipc/semtimedop.c: Likewise.
22292 * sysvipc/shmat.c: Likewise.
22293 * sysvipc/shmctl.c: Likewise.
22294 * sysvipc/shmdt.c: Likewise.
22295 * sysvipc/shmget.c: Likewise.
22296 * termios/tcdrain.c: Likewise.
22297 * termios/tcflow.c: Likewise.
22298 * termios/tcflush.c: Likewise.
22299 * termios/tcgetattr.c: Likewise.
22300 * termios/tcgetpgrp.c: Likewise.
22301 * termios/tcsendbrk.c: Likewise.
22302 * termios/tcsetattr.c: Likewise.
22303 * termios/tcsetpgrp.c: Likewise.
22304 * time/adjtime.c: Likewise.
22305 * time/clock.c: Likewise.
22306 * time/getitimer.c: Likewise.
22307 * time/gettimeofday.c: Likewise.
22308 * time/setitimer.c: Likewise.
22309 * time/settimeofday.c: Likewise.
22310 * time/stime.c: Likewise.
22311 * time/time.c: Likewise.
22312
223132012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22314
a20492cf
PT
22315 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22316 /usr/old/bin.
22317
72e182e3
PT
22318 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22319 instead of spaces.
22320 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22321
fbeafede
JM
223222012-11-03 Joseph Myers <joseph@codesourcery.com>
22323
5b5b04d6
JM
22324 [BZ #14796]
22325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22326 FE_TONEAREST before applying Dekker multiplication and Knuth
22327 addition. Clear inexact exceptions and check for exact zero
22328 results afterwards.
22329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22330 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22332 * math/libm-test.inc (fma_test): Add more tests.
22333 (fma_test_towardzero): Likewise.
22334 (fma_test_downward): Likewise.
22335 (fma_test_upward): Likewise.
22336 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22337 function.
22338 (libc_fesetround): New macro.
22339 (libc_fesetroundf): Likewise.
22340 (libc_fesetroundl): Likewise.
22341 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22342 function.
22343 (libc_fesetround_387): Likewise.
22344 (libc_fesetroundf): New macro.
22345 (libc_fesetround): Likewise.
22346 (libc_fesetroundl): Likewise.
22347 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22348 function.
22349 (libc_fesetroundf): New macro.
22350 (libc_fesetround): Likewise.
22351 (libc_fesetroundl): Likewise.
22352 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22353 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22354 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22355 libm_hidden_ver.
22356 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22357 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22358 libm_hidden_def.
22359 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22360 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22361 libm_hidden_ver.
22362 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22363 libm_hidden_def.
22364
fbeafede
JM
22365 [BZ #3439]
22366 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22367 integer constant usable in #if and use that to give value to enum
22368 constant.
22369 (FE_DIVBYZERO): Likewise.
22370 (FE_UNDERFLOW): Likewise.
22371 (FE_OVERFLOW): Likewise.
22372 (FE_INVALID): Likewise.
22373 (FE_INVALID_SNAN): Likewise.
22374 (FE_INVALID_ISI): Likewise.
22375 (FE_INVALID_IDI): Likewise.
22376 (FE_INVALID_ZDZ): Likewise.
22377 (FE_INVALID_IMZ): Likewise.
22378 (FE_INVALID_COMPARE): Likewise.
22379 (FE_INVALID_SOFTWARE): Likewise.
22380 (FE_INVALID_SQRT): Likewise.
22381 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22382 (FE_TONEAREST): Likewise.
22383 (FE_TOWARDZERO): Likewise.
22384 (FE_UPWARD): Likewise.
22385 (FE_DOWNWARD): Likewise.
22386 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22387 (FE_DIVBYZERO): Likewise.
22388 (FE_OVERFLOW): Likewise.
22389 (FE_UNDERFLOW): Likewise.
22390 (FE_INEXACT): Likewise.
22391 (FE_TONEAREST): Likewise.
22392 (FE_DOWNWARD): Likewise.
22393 (FE_UPWARD): Likewise.
22394 (FE_TOWARDZERO): Likewise.
22395 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22396 (FE_UNDERFLOW): Likewise.
22397 (FE_OVERFLOW): Likewise.
22398 (FE_DIVBYZERO): Likewise.
22399 (FE_INVALID): Likewise.
22400 (FE_TONEAREST): Likewise.
22401 (FE_TOWARDZERO): Likewise.
22402 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22403 (FE_OVERFLOW): Likewise.
22404 (FE_UNDERFLOW): Likewise.
22405 (FE_DIVBYZERO): Likewise.
22406 (FE_INEXACT): Likewise.
22407 (FE_TONEAREST): Likewise.
22408 (FE_TOWARDZERO): Likewise.
22409 (FE_UPWARD): Likewise.
22410 (FE_DOWNWARD): Likewise.
22411 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22412 (FE_DIVBYZERO): Likewise.
22413 (FE_OVERFLOW): Likewise.
22414 (FE_UNDERFLOW): Likewise.
22415 (FE_INEXACT): Likewise.
22416 (FE_TONEAREST): Likewise.
22417 (FE_DOWNWARD): Likewise.
22418 (FE_UPWARD): Likewise.
22419 (FE_TOWARDZERO): Likewise.
22420
105ca950
CM
224212012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22422
22423 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22424
a542b389
AS
224252012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22426
22427 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22428 commands. Quote $PWD.
22429 (blacklist_exports): Don't use remove_newlines. Replace "declare
22430 -x" by "export".
22431 (remove_newlines): Remove.
22432
f62c8abc
L
224332012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22434
22435 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22436 * stdlib/stdlib.h (atof): Moved to ...
22437 * include/bits/stdlib-float.h: Here. New file.
22438 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22439 * stdlib/bits/stdlib-float.h: New file.
22440 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22441 -mno-sse -mno-mmx.
22442 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22443 <xmmintrin.h>.
22444
0155d5b2
JM
224452012-11-02 Joseph Myers <joseph@codesourcery.com>
22446
a68d0680
JM
22447 * conform/conformtest.pl (@headers): Add fenv.h.
22448 * conform/data/fenv.h-data: New file.
22449 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22450 include of <math/fenv.h>.
22451
caf7f573
JM
22452 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22453 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22454 && !UNIX98]. Enables tests for XOPEN2K8.
22455 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22456 POSIX2008]: Likewise.
22457
6c073ad6
JM
22458 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22459 (struct rusage): Do not expect type or its members.
22460
0155d5b2
JM
22461 [BZ #3439]
22462 * math/math.h (FP_NAN): Define macro to integer constant usable in
22463 #if and use that to give value to enum constant.
22464 (FP_INFINITE): Likewise.
22465 (FP_ZERO): Likewise.
22466 (FP_SUBNORMAL): Likewise.
22467 (FP_NORMAL): Likewise.
22468
b5dcacb4
AS
224692012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22470
22471 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22472 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22473 arguments.
22474
f7934be8
RM
224752012-11-02 Roland McGrath <roland@hack.frob.com>
22476
22477 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22478 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22479 autoconf-time if not.
22480 * configure.in: Remove AC_PREREQ.
22481
d7d08bde
TMQMF
224822012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22483
22484 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22485 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22486 of the internal implementation.
22487
dcdae19a
JM
224882012-11-02 Joseph Myers <joseph@codesourcery.com>
22489
22490 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22491 except include of <misc/sys/syslog.h>.
22492
d6cffd3e
AS
224932012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22494
22495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22496 function returns with a NULL context exit with zero.
22497
b3563932
TMQMF
224982012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22499
22500 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22501
b288a93d
L
225022012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22503
22504 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22505 (run_program_cmd): This.
22506 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22507 (tst_langinfo): New variable. Use it.
22508
a2421a68
SAS
225092012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22510
22511 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22512 floating point opcodes.
22513
6f796e1b
TS
225142012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22515
7402596b
TS
22516 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22517 variable.
22518
d0d4f868
TS
22519 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22520
6f796e1b
TS
22521 * sysdeps/mach/hurd/powerpc: Remove directory.
22522 * sysdeps/mach/powerpc: Likewise.
22523
4da224a2
AS
225242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22525
22526 * scripts/check-local-headers.sh: Ignore c++ headers.
22527
341dd673
TS
225282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22529
22530 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22531 __libc_cleanup_region_start argument.
22532
473611b2
JM
225332012-11-01 Joseph Myers <joseph@codesourcery.com>
22534
22535 [BZ #14784]
22536 [BZ #14785]
22537 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22538 x * y using scaling, not as x * y + z.
22539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22540 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22541 * math/libm-test.inc (fma_test): Add more tests.
22542 (fma_test_towardzero): Likewise.
22543 (fma_test_downward): Likewise.
22544 (fma_test_upward): Likewise.
22545
4078da3d
TS
225462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22547
22548 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22549
903252aa
JM
225502012-10-31 Joseph Myers <joseph@codesourcery.com>
22551
22552 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22553 New variable.
22554
cbc818d0
TS
225552012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22556
22557 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22558
5a03cb1e
AS
225592012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22560
22561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22562 Fix sort order.
22563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22564 Likewise.
22565
90aff2ff
TMQMF
225662012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22567
22568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22569 Fix the order of the list for glibc 2.17.
22570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22571 Likewise.
22572
1818fcb7
AS
225732012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22574
22575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22576
ef82f4da
JM
225772012-10-31 Joseph Myers <joseph@codesourcery.com>
22578
16a0e2ec
JM
22579 [BZ #14610]
22580 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22581 for low part of x being zero before using __atanl (y).
22582 * math/libm-test.inc (atan2_test): Add another test.
22583
0eb69512
JM
22584 * manual/install.texi (Configuring and compiling): Document
22585 general use of test-wrapper and test-wrapper-env.
22586 * INSTALL: Regenerated.
22587
ef82f4da
JM
22588 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22589 (__fma): Do not extract and scale down low bits on after-rounding
22590 systems when result rounded to normal precision would have normal
22591 exponent.
22592 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22593 (__fmal): Do not extract and scale down low bits on after-rounding
22594 systems when result rounded to normal precision would have normal
22595 exponent.
22596 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22597 (__fmal): Do not extract and scale down low bits on after-rounding
22598 systems when result rounded to normal precision would have normal
22599 exponent.
22600 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22601 macro.
22602 (fma_test): Add more tests.
22603 (fma_test_towardzero): Likewise.
22604 (fma_test_downward): Likewise.
22605 (fma_test_upward): Likewise.
22606
954ef0d9
L
226072012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22608
22609 * sysdeps/i386/tininess.h: Renamed to ...
22610 * sysdeps/x86/tininess.h: This.
22611 * sysdeps/x86_64/tininess.h: Removed.
22612
df61ffb2
JM
226132012-10-30 Joseph Myers <joseph@codesourcery.com>
22614
22615 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22616 input. Use $(build-program-cmd).
22617 ($(objpfx)tst-array1-static.out): Likewise.
22618 ($(objpfx)tst-array2.out): Likewise.
22619 ($(objpfx)tst-array3.out): Likewise.
22620 ($(objpfx)tst-array4.out): Likewise.
22621 ($(objpfx)tst-array5.out): Likewise.
22622 ($(objpfx)tst-array5-static.out): Likewise.
22623
01767843
CM
226242012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22625
47cc1490
CM
22626 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22627 if defined.
22628
01767843
CM
22629 * nss/nsswitch.h (nss_interface_function): Provide new
22630 macro for use with NSS functions.
22631 * grp/initgroups.c: Use new macro.
22632 * nss/getXXbyYY.c: Likewise.
22633 * nss/getXXbyYY_r.c: Likewise.
22634 * nss/getXXent.c: Likewise.
22635 * nss/getXXent_r.c: Likewise.
22636 * sysdeps/posix/getaddrinfo.c: Likewise.
22637
8321aa97
AJ
226382012-10-30 Andreas Jaeger <aj@suse.de>
22639
22640 * po/ru.po: Update Russion translation from translation project.
22641
2a27fd6d
JM
226422012-10-30 Joseph Myers <joseph@codesourcery.com>
22643
8627a232
JM
22644 [BZ #14152]
22645 [BZ #14783]
22646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22647 result and shift together with sticky bit instead of replicating
22648 round-to-nearest rounding.
22649 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22650 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22651 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22652 missing underflow exceptions.
22653 (fma_test_towardzero): Add more tests.
22654 (fma_test_downward): Likewise.
22655 (fma_test_upward): Likewise.
22656
2a27fd6d
JM
22657 [BZ #14047]
22658 * sysdeps/generic/tininess.h: New file.
22659 * sysdeps/i386/tininess.h: Likewise.
22660 * sysdeps/sh/tininess.h: Likewise.
22661 * sysdeps/x86_64/tininess.h: Likewise.
22662 * stdlib/tst-strtod-underflow.c: Likewise.
22663 * stdlib/tst-tininess.c: Likewise.
22664 * stdlib/strtod_l.c: Include <tininess.h>.
22665 (round_and_return): Do not set errno for exact underflow cases.
22666 Force an underflow exception when setting errno for underflow.
22667 Determine underflow based on rounding to normal precision if
22668 TININESS_AFTER_ROUNDING.
22669 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22670 ERANGE for exact underflow cases.
22671 * stdlib/Makefile (tests): Add tst-tininess and
22672 tst-strtod-underflow.
22673 ($(objpfx)tst-tininess): Use $(link-libm).
22674 ($(objpfx)tst-strtod-underflow): Likewise.
22675
e7170363
AJ
226762012-10-30 Andreas Jaeger <aj@suse.de>
22677
e5088dc6
AJ
22678 [BZ#14767]
22679 * elf/Makefile (tests): Remove conditional for have-initfini-array
22680 since this is now always required and the variable does not exist
22681 anymore.
22682 (tests-static): Likewise.
22683 (modules-names): Likewise.
22684
e7170363 22685 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22686
22687 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22688 merged with constructor/destructor.
22689 (init_array): Likewise.
22690 * elf/tst-array2dep.c (fini_array): Likewise.
22691 (init_array): Likewise.
22692
60457d8a
MF
226932012-10-29 Mike Frysinger <vapier@gentoo.org>
22694
22695 * manual/message.texi: Delete @cartouche tags.
22696
8bece752
PT
226972012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22698
94ce799f
PT
22699 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22700 EOPNOTSUPP.
22701 * sysdeps/mach/hurd/fsync.c: Likewise.
22702
8bece752
PT
22703 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22704 [_POSIX_REALTIME_SIGNALS]: Change condition to
22705 [_POSIX_REALTIME_SIGNALS > 0].
22706
86ebe6b1
AJ
227072012-10-27 Andreas Jaeger <aj@suse.de>
22708
22709 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22710 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22712 [__WORDSIZE != 64]: Likewise.
22713
54399c08
L
227142012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22715
22716 * iconvdata/tst-table.sh: Remove ${SHELL}.
22717 * iconvdata/tst-tables.sh: Likewise.
22718
e2211bed
DM
227192012-10-25 David S. Miller <davem@davemloft.net>
22720
22721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22722 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22723 of strtoull.
22724
f303f97c
DM
22725 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22726 ifunc-impl-list.c
22727 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22728 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22729 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22730 file.
22731
1e9d84cd
RM
227322012-10-25 Roland McGrath <roland@hack.frob.com>
22733
22734 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22735 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22736 __getdirentries.
22737
df381762
JM
227382012-10-25 Joseph Myers <joseph@codesourcery.com>
22739 Jim Blandy <jimb@codesourcery.com>
22740
22741 * scripts/cross-test-ssh.sh: New file.
22742 * manual/install.texi (Configuring and compiling): Document use of
22743 cross-test-ssh.sh.
22744 * INSTALL: Regenerated.
22745
bff64913
PT
227462012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22747
22748 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22749 EOPNOTSUPP.
22750
25fe8932
JM
227512012-10-25 Joseph Myers <joseph@codesourcery.com>
22752
22753 * Makeconfig (run-program-prefix): Fix comment.
22754
cc1290d0
JM
227552012-10-24 Joseph Myers <joseph@codesourcery.com>
22756 Jim Blandy <jimb@codesourcery.com>
22757
22758 * Makeconfig (test-wrapper): New variable,
22759 (test-wrapper-env): Likewise.
22760 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22761 (run-built-tests): Define to yes.
22762 (run-program-prefix): Use $(test-wrapper).
22763 (built-program-cmd): Likewise.
22764 * Rules (make-test-out): Use $(test-wrapper-env) and
22765 $(host-built-program-cmd).
22766 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22767 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22768 tst-pathopt.sh.
22769 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22770 $(test-wrapper-env) to tst-rtld-load-self.sh.
22771 ($(objpfx)order2.out): Use $(test-wrapper).
22772 ($(objpfx)tst-initorder.out): Likewise.
22773 ($(objpfx)tst-initorder2.out): Likewise.
22774 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22775 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22776 (test_wrapper_env): New variable. Use it to run ld.so.
22777 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22778 Use it to run ld.so.
22779 (test_wrapper_env): Likewise.
22780 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22781 $(test-wrapper) to run-iconv-test.sh.
22782 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22783 (ICONV): Use $test_wrapper.
22784 * posix/Makefile ($(objpfx)globtest.out): Pass
22785 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22786 globtest.sh, not $(run-program-prefix).
22787 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22788 (test_wrapper): Likewise.
22789 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22790 set together with run_via_rtld_prefix.
22791 (run_program_prefix): Define in terms of test_wrapper and
22792 run_via_rtld_prefix.
22793
6e6249d0
RM
227942012-10-24 Roland McGrath <roland@hack.frob.com>
22795
22796 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22797 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22798 Targets removed.
22799
22800 [BZ #14743]
22801 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22802 Declare __clock_getres, __clock_gettime, __clock_settime,
22803 __clock_nanosleep, and __clock_getcpuclockid.
22804 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22805 Remove librt_hidden_def (clock_gettime).
22806 * sysdeps/unix/clock_gettime.c: Likewise.
22807 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22808 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22809 * rt/clock_getres.c: Define __clock_getres as an alias.
22810 * sysdeps/posix/clock_getres.c: Likewise.
22811 * rt/clock_settime.c: Define __clock_settime as an alias.
22812 * sysdeps/unix/clock_settime.c: Likewise.
22813 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22814 * sysdeps/unix/clock_nanosleep.c: Likewise.
22815 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22816 * rt/clock-compat.c: New file.
22817 * rt/Makefile (librt-routines): Add clock-compat and move
22818 $(clock-routines) to ...
22819 (routines): ... here, new variable.
22820 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22821 Don't add get_clockfreq here.
22822 * rt/Versions (libc: GLIBC_2.17): New version set.
22823 Add clock_* symbols here.
22824 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22825 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22826 (GLIBC_2.17): Add clock_* symbols.
22827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22829 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22831 Likewise.
22832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22833 Likewise.
22834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22836 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22838 * NEWS: Mention the move.
22839
22840 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22841 Use __open, __read, __close rather than their public counterparts.
22842 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22843 (__get_clockfreq_via_cpuinfo): Likewise.
22844 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22845 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22846
22847 * config.h.in (HAVE_IFUNC): New #undef.
22848 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22849 was successful.
22850 * configure: Regenerated.
22851
0cae3f4b
MF
228522012-10-24 Mike Frysinger <vapier@gentoo.org>
22853
22854 * configure.in: Move READELF check to start of file.
22855 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22856 libc_cv_asm_gnu_indirect_function in the process.
22857 * configure: Regenerated.
22858
8175a253
MF
228592012-10-24 Mike Frysinger <vapier@gentoo.org>
22860
22861 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22862 send the output to /dev/null.
22863 (libc_cv_cc_with_libunwind): Likewise.
22864 (libc_cv_as_noexecstack): Likewise.
22865 * configure: Regenerate.
22866
0708a7d1
JM
228672012-10-24 Joseph Myers <joseph@codesourcery.com>
22868
10b40d85
JM
22869 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22870
0708a7d1
JM
22871 * posix/globtest.sh (TMPDIR): Do not set.
22872 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22873 (testout): Likewise.
22874
9fddec1a
AJ
228752012-10-24 Andreas Jaeger <aj@suse.de>
22876
3a8db22f
AJ
22877 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22878 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22879 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22880 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22881 posix_fadvise64, posix_fallocate64.
22882
9fddec1a
AJ
22883 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22884 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22885 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22886 Likewise.
22887 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22888 Likewise.
22889 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22890
22891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22892 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22893 <bits/fcntl-linux.h>.
22894 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22895
22896 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22897 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22898 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22899 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22900 [__WORDSIZE != 64]: Likewise.
22901
ebfd1bbd
JM
229022012-10-23 Joseph Myers <joseph@codesourcery.com>
22903
03ac099f
JM
22904 * Makeconfig (run-built-tests): New variable.
22905 * Rules [$(cross-compiling) = yes]: Change condition to
22906 [$(run-built-tests) = no].
22907 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22908 to [$(run-built-tests) = yes].
22909 * elf/Makefile [$(cross-compiling) = no]: Likewise
22910 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22911 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22912 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22913 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22914 * io/Makefile [$(cross-compiling) = no]: Likewise.
22915 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22916 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22917 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22918 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22919 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22920 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22921 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22922 * string/Makefile [$(cross-compiling) = no]: Likewise.
22923
ebfd1bbd
JM
22924 * posix/Makefile ($(objpfx)globtest.out): Pass
22925 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22926 $(rtld-installed-name).
22927 * posix/globtest.sh (elf_objpfx): Remove variable.
22928 (rtld_installed_name): Likewise.
22929 (library_path): Likewise.
22930 (run_program_prefix): New variable. Use for running globtest
22931 binary.
22932
166bca24
JB
229332012-10-23 Jim Blandy <jimb@codesourcery.com>
22934 Joseph Myers <joseph@codesourcery.com>
22935
22936 * Makeconfig (host-built-program-cmd): New variable.
22937 * elf/Makefile (tst-stackguard1-ARGS): Use
22938 $(host-built-program-cmd).
22939 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22940 (tst-spawn-ARGS): Likewise.
22941 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22942
88866099
JM
229432012-10-23 Joseph Myers <joseph@codesourcery.com>
22944 Jim Blandy <jimb@codesourcery.com>
22945
22946 * Makeconfig (run-via-rtld-prefix): New variable.
22947 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22948 (built-program-cmd): Likewise.
22949
b4b4c296
AJ
229502012-10-22 Andreas Jaeger <aj@suse.de>
22951
22952 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22953 __O_RSYNC if it exists, otherwise to O_SYNC.
22954
6fb54a22
JB
229552012-10-22 Jim Blandy <jimb@codesourcery.com>
22956 Joseph Myers <joseph@codesourcery.com>
22957
22958 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22959 /dev/null.
22960 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22961 from /dev/null
22962 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22963 /dev/null.
22964
481b90b9
AJ
229652012-10-22 Andreas Jaeger <aj@suse.de>
22966
2a0e2669
AJ
22967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22968 Define always.
22969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22970
76e38f9a
AJ
22971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22972 bits/fcntl-linux.h.
22973
7cd37b43
AJ
22974 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22975 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22976
481b90b9
AJ
22977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22978 to __O_LARGEFILE.
22979 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22980 to __O_LARGEFILE.
22981
aba75984
JB
229822012-10-21 Jim Blandy <jimb@codesourcery.com>
22983 Joseph Myers <joseph@codesourcery.com>
22984
22985 * config.make.in (NM): New variable.
22986
88d4247f
AJ
229872012-10-21 Andreas Jaeger <aj@suse.de>
22988
22989 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22990 definitions and declarations that are provided by
22991 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22992
f2eed205
L
229932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22994
22995 [BZ #14683]
22996 * elf/Makefile (tests-static): Add tst-leaks1-static.
22997 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22998 ($(objpfx)tst-leaks1-static): New rule.
22999 ($(objpfx)tst-leaks1-static-mem): Likewise.
23000 (tst-leaks1-static-ENV): New macro.
23001 * elf/dl-open.c (dl_open_worker): Check the main application
23002 only if SHARED is defined.
23003 * elf/tst-leaks1-static.c: New file.
23004
335e6931
AJ
230052012-10-20 Andreas Jaeger <aj@suse.de>
23006
23007 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23008 generic values for Linux.
23009 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23010 and declarations that are provided by <bits/fcntl-linux.h> and
23011 include <bits/fcntl-linux.h>.
23012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23013 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23014
ac5c94d3
RM
230152012-10-20 Roland McGrath <roland@hack.frob.com>
23016
23017 * io/fcntl.h: Move include of <bits/types.h> to the top and
23018 include it unconditionally.
23019
de54b33a
L
230202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23021
228cfb01
L
23022 * wcsmbs/Makefile (tests-ifunc): New variable.
23023 (tests): Add $(tests-ifunc).
23024 * wcsmbs/test-wcschr-ifunc.c: New file.
23025 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23026 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23027 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23028 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23029 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23030
69f07e5f
L
23031 * string/Makefile (tests-ifunc): New variable.
23032 (tests): Add $(tests-ifunc).
23033 * string/test-memccpy.c (TEST_NAME): New macro.
23034 * string/test-memchr.c (TEST_NAME): Likewise.
23035 * string/test-memcmp.c (TEST_NAME): Likewise.
23036 * string/test-memcpy.c (TEST_NAME): Likewise.
23037 * string/test-memmem.c (TEST_NAME): Likewise.
23038 * string/test-memmove.c (TEST_NAME): Likewise.
23039 * string/test-memset.c (TEST_NAME): Likewise.
23040 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23041 * string/test-stpcpy.c (TEST_NAME): Likewise.
23042 * string/test-stpncpy.c (TEST_NAME): Likewise.
23043 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23044 * string/test-strcasestr.c (TEST_NAME): Likewise.
23045 * string/test-strcat.c (TEST_NAME): Likewise.
23046 * string/test-strchr.c (TEST_NAME): Likewise.
23047 * string/test-strcmp.c(TEST_NAME): Likewise.
23048 * string/test-strcpy.c (TEST_NAME): Likewise.
23049 * string/test-strcspn.c (TEST_NAME): Likewise.
23050 * string/test-strlen.c (TEST_NAME): Likewise.
23051 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23052 * string/test-strncmp.c (TEST_NAME): Likewise.
23053 * string/test-strncpy.c (TEST_NAME): Likewise.
23054 * string/test-strnlen.c (TEST_NAME): Likewise.
23055 * string/test-strpbrk.c (TEST_NAME): Likewise.
23056 * string/test-strrchr.c (TEST_NAME): Likewise.
23057 * string/test-strspn.c (TEST_NAME): Likewise.
23058 * string/test-strstr.c (TEST_NAME): Likewise.
23059 * string/test-bcopy-ifunc.c: New file.
23060 * string/test-bzero-ifunc.c: Likewise.
23061 * string/test-memccpy-ifunc.c: Likewise.
23062 * string/test-memchr-ifunc.c: Likewise.
23063 * string/test-memcmp-ifunc.c: Likewise.
23064 * string/test-memcpy-ifunc.c: Likewise.
23065 * string/test-memmem-ifunc.c: Likewise.
23066 * string/test-memmove-ifunc.c: Likewise.
23067 * string/test-mempcpy-ifunc.c: Likewise.
23068 * string/test-memset-ifunc.c: Likewise.
23069 * string/test-rawmemchr-ifunc.c: Likewise.
23070 * string/test-stpcpy-ifunc.c: Likewise.
23071 * string/test-stpncpy-ifunc.c: Likewise.
23072 * string/test-strcasecmp-ifunc.c: Likewise.
23073 * string/test-strcasestr-ifunc.c: Likewise.
23074 * string/test-strcat-ifunc.c: Likewise.
23075 * string/test-strchr-ifunc.c: Likewise.
23076 * string/test-strchrnul-ifunc.c: Likewise.
23077 * string/test-strcmp-ifunc.c: Likewise.
23078 * string/test-strcpy-ifunc.c: Likewise.
23079 * string/test-strcspn-ifunc.c: Likewise.
23080 * string/test-strlen-ifunc.c: Likewise.
23081 * string/test-strncasecmp-ifunc.c: Likewise.
23082 * string/test-strncat-ifunc.c: Likewise.
23083 * string/test-strncmp-ifunc.c: Likewise.
23084 * string/test-strncpy-ifunc.c: Likewise.
23085 * string/test-strnlen-ifunc.c: Likewise.
23086 * string/test-strpbrk-ifunc.c: Likewise.
23087 * string/test-strrchr-ifunc.c: Likewise.
23088 * string/test-strspn-ifunc.c: Likewise.
23089 * string/test-strstr-ifunc.c: Likewise.
23090
de54b33a
L
23091 * debug/Makefile (tests-ifunc): New variable.
23092 (tests): Add $(tests-ifunc).
23093 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23094 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23095 * debug/test-stpcpy_chk-ifunc.c: New file.
23096 * debug/test-strcpy_chk-ifunc.c: Likewise.
23097
88481c16
SP
230982012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23099
23100 [BZ #13601]
23101 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23102 header is not read in.
23103
135948bd
JM
231042012-10-19 Joseph Myers <joseph@codesourcery.com>
23105
89f1c388
JM
23106 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23107 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23108 directly. Pass built executable to script as
23109 $(built-program-cmd).
23110 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23111 $testprogram without using LD_LIBRARY_PATH and $ldso.
23112
e40a0d21
JM
23113 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23114 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23115 $(rtld-installed-name).
23116 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23117 (rtld_installed_name): Likewise.
23118 (library_path): Likewise.
23119 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23120 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23121 $(run-program-prefix) to tst-tables.sh.
23122 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23123 it to run tst-table-from and tst-table-to.
23124 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23125 Pass it to tst-table.sh.
23126 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23127 $(run-program-prefix) to tst-gettext.sh.
23128 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23129 tst-translit.sh.
23130 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23131 tst-gettext2.sh.
23132 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23133 to run tst-gettext.
23134 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23135 to run tst-gettext2.
23136 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23137 to run tst-translit.
23138 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23139 $(run-program-prefix) to tst-mtrace.sh.
23140 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23141 to run tst-mtrace.
23142 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23143 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23144 $(rtld-installed-name).
23145 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23146 (rtld_installed_name): Likewise.
23147 (run_program_prefix): New variable. Use it to run wordexp-test.
23148
728e272a
JM
23149 * Makeconfig (ARCH): Remove all definitions.
23150 (machine): Likewise.
23151 [ARCH]: Remove conditional code.
23152 [!objdir]: Give error.
23153 [!objdir] (objpfx): Remove.
23154 [!objdir] (common-objpfx): Likewise.
23155 [!objdir] (common-objdir): Likewise.
23156 * configure.in (config_makefile): Remove. Hardcode Makefile in
23157 AC_CONFIG_FILES call.
23158 * configure: Regenerated.
23159
d528cdcf
JM
23160 [BZ #13888]
23161 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23162 or TMPDIR.
23163 (testout): Likewise.
23164
135948bd
JM
23165 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23166 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23167 $(rtld-installed-name).
23168 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23169 (rtld_installed_name): Likwise.
23170 (runit): Remove function.
23171 (run_getconf): New variable, Use it for running getconf binary.
23172
38c78296
L
231732012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23174
23175 [BZ #14716]
23176 * string/test-memmem.c (check_result): New function.
23177 (do_one_test): Use it.
23178 (check1): New function.
23179 (test_main): Use it.
23180
d077f65f
MT
231812012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23182
23183 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23184
ced52c71
JM
231852012-10-18 Joseph Myers <joseph@codesourcery.com>
23186
23187 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23188 (_G_LSEEK64): Likewise.
23189 (_G_MMAP64): Likewise.
23190 (_G_FSTAT64): Likewise.
23191 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23192 (_G_LSEEK64): Likewise.
23193 (_G_MMAP64): Likewise.
23194 (_G_FSTAT64): Likewise.
23195 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23196 unconditional. Call __mmap64 directly.
23197 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23198 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23199 __lseek64 directly.
23200 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23201 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23202 __mmap64 directly.
23203 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23204 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23205 __lseek64 directly.
23206 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23207 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23208 __lseek64 directly.
23209 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23210 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23211 __lseek64 directly.
23212 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23213 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23214 __fxstat64 directly.
23215 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23216 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23217 unconditional.
23218 (freopen64) [!_G_OPEN64]: Remove conditional code.
23219 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23220 unconditional.
23221 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23222 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23223 unconditional.
23224 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23225 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23226 unconditional.
23227 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23228 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23229 unconditional.
23230 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23231 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23232 unconditional.
23233 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23234 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23235 unconditional.
23236 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23237 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23238 unconditional.
23239 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23240
b741de23
SP
232412012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23242
23243 [BZ #12140]
23244 * manual/memory.texi (Malloc Tunable Parameters): Add note
23245 about free list pointers overwriting some perturb bytes.
23246 Wording suggested by Roland McGrath.
23247
f9b9d9c9
JM
232482012-10-17 Joseph Myers <joseph@codesourcery.com>
23249
23250 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23251 (lgamma_test): Likewise.
23252 (tgamma_test): Likewise.
23253
172a631a
FW
232542012-10-16 Florian Weimer <fweimer@redhat.com>
23255
23256 [BZ #14700]
23257 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23258 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23259
e9f37252
MK
232602012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23261
23262 * NEWS: Mention BZ #14716.
23263 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23264 when removing AVAILABLE1_USES_J macro.
23265
d394eb74
L
232662012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23267
23268 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23269 (__bswap_64): __uint64_t for unsigned 64-bit int.
23270
ca38dc17
AS
232712012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23272
23273 * include/string.h (memmem): Declare libc hidden alias.
23274 * string/memmem.c (memmem): Define libc hidden alias.
23275 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23276 __read, __close instead of open, read, close.
23277
9a387d1f
L
232782012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23279
ac49ecaf
L
23280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23281 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23282 global and hidden.
23283 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23284 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23285 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23286 Likewise.
23287 (__rawmemchr_sse2): Likewise.
23288 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23289 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23290 (__strchr_sse2): Likewise.
23291 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23292 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23293 (__strcasecmp_sse2): Likewise.
23294 (__strncasecmp_sse2): Likewise.
23295 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23296 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23297 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23298 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23299 (__strrchr_sse2): Likewise.
23300 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23301 ifunc-impl-list.c.
23302 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23303 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23304 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23305 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23306 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23307 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23308 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23309 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23310 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23311 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23312 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23313 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23314 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23315 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23316 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23317 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23318 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23319 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23320 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23321 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23322 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23323 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23324 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23325 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23326 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23327 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23328 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23329 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23330 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23331 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23332
b090e8ea
L
23333 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23334 global and hidden.
23335 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23336 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23337 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23338 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23339 Likewise.
23340 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23341 Likewise.
23342 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23343 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23344 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23345 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23346 ifunc-impl-list.c.
23347 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23348 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23349 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23350 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23351 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23352 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23353 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23354 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23355 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23356 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23357 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23358 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23359 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23360 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23361 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23362 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23363 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23364 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23365 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23366 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23367 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23368 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23369 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23370 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23371 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23372 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23373 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23374 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23375 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23376 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23377 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23378 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23379 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23380 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23381 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23382 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23383 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23384 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23385 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23386 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23387 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23388
11dd4af6
L
23389 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23390 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23391 * include/ifunc-impl-list.h: New file.
23392 * misc/ifunc-impl-list.c: Likewise.
23393 * misc/Makefile (routines): Add ifunc-impl-list.
23394 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23395 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23396 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23397 TEST_NAME]: New variables.
11dd4af6
L
23398 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23399 are defined.
23400 (test_init): Call __libc_ifunc_impl_list to initialize
23401 func_list if TEST_IFUNC and TEST_NAME are defined.
23402
9a387d1f
L
23403 * string/Makefile (strop-tests): Add bcopy and bzero.
23404 * string/test-bcopy.c: New file.
23405 * string/test-bzero.c: Likewise.
23406 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23407 defined.
23408 * string/test-memset.c: Support bzero test if TEST_BZERO is
23409 defined.
23410 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23411 __libc_memmove.
23412 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23413 __libc_memset.
23414 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23415 of memset.
23416
472371b9
JM
234172012-10-10 Joseph Myers <joseph@codesourcery.com>
23418
1e4a9536
JM
23419 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23420 * configure: Regenerated.
23421
d173d12e
JM
23422 * Makeconfig (+link-static-before-libc): Don't include
23423 $(link-static-libc).
23424
472371b9
JM
23425 * libio/libio.h (_IO_pos_t): Remove.
23426
89a3ad0b
AO
234272012-10-10 Alexandre Oliva <aoliva@redhat.com>
23428
23429 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23430 McGrath.
23431
e7451425
AO
234322012-10-10 Alexandre Oliva <aoliva@redhat.com>
23433
23434 * crypt/crypt-entry.c: Include fips-private.h.
23435 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23436 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23437 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23438 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23439
4ba74a35
AO
234402012-10-10 Alexandre Oliva <aoliva@redhat.com>
23441
23442 * crypt/crypt-private.h: Include stdbool.h.
23443 (_ufc_setup_salt_r): Return bool.
23444 * crypt/crypt-entry.c: Include errno.h.
23445 (__crypt_r): Return NULL with EINVAL for bad salt.
23446 * crypt/crypt_util.c (bad_for_salt): New.
23447 (_ufc_setup_salt_r): Check that salt is long enough and within
23448 the specified alphabet.
23449 * crypt/badsalttest.c: New file.
23450 * crypt/Makefile (tests): Add it.
23451 ($(objpfx)badsalttest): New.
23452
f96f1242
MK
234532012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23454
23455 * NEWS: Add entry for BZ #14602.
23456
0e8e0c1c
JM
234572012-10-09 Joseph Myers <joseph@codesourcery.com>
23458
23459 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23460 type-generic.
23461 * math/libm-test.inc: Update comment listing what functions and
23462 macros are tested.
23463 (isgreater_test): New function.
23464 (isgreaterequal_test): Likewise.
23465 (isless_test): Likewise.
23466 (islessequal_test): Likewise.
23467 (islessgreater_test): Likewise.
23468 (isunordered_test): Likewise.
23469 (main): Call the new functions.
23470
273edc5e
RM
234712012-10-09 Roland McGrath <roland@hack.frob.com>
23472
b8493de0
RM
23473 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23474 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23475 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23476 * sysdeps/i386/configure: Regenerated.
23477 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23478 * sysdeps/mach/configure: Regenerated.
23479 * sysdeps/mach/hurd/configure: Regenerated.
23480 * sysdeps/powerpc/configure: Regenerated.
23481 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23482 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23483 * sysdeps/s390/s390-32/configure: Regenerated.
23484 * sysdeps/s390/s390-64/configure: Regenerated.
23485 * sysdeps/sh/configure: Regenerated.
23486 * sysdeps/sparc/configure: Regenerated.
23487 * sysdeps/unix/sysv/linux/configure: Regenerated.
23488 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23489 * sysdeps/x86_64/configure: Regenerated.
23490
273edc5e
RM
23491 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23492 defined. Don't check if MAP is NULL.
23493
c8450f70
JM
234942012-10-09 Joseph Myers <joseph@codesourcery.com>
23495
23496 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23497 (_G_stat64): Likewise.
23498 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23499 (_G_stat64): Likewise.
23500 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23501 instead of struct _G_stat64.
23502 * libio/fileops.c (mmap_remap_check): Likewise.
23503 (decide_maybe_mmap): Likewise.
23504 (_IO_new_file_seekoff): Likewise.
23505 (_IO_file_stat): Likewise.
23506 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23507 _G_off64_t.
23508 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23509 instead of struct _G_stat64.
23510 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23511
57e605ba
MK
235122012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23513
23514 [BZ #14602]
23515 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23516 Replace with ...
23517 (CHECK_EOL): New macro.
23518 (two_way_short_needle): Check beginning of haystack for EOL. Use
23519 CHECK_EOL.
23520 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23521 Replace with CHECK_EOL.
23522 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23523 Replace with CHECK_EOL.
23524
ef1bb361
JM
235252012-10-08 Joseph Myers <joseph@codesourcery.com>
23526
23527 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23528 type-generic.
23529 * math/libm-test.inc: Update comment listing what functions and
23530 macros are tested.
23531 (finite_test): New function.
23532 (isinf_test): Likewise.
23533 (isnan_test): Likewise.
23534 (fpclassify_test): Test subnormal input.
23535 (isfinite_test): Likewise.
23536 (isnormal_test): Likewise.
23537 (main): Call the new functions.
23538
55f11534
JN
235392012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23540
23541 [BZ #14660]
23542 * Makerules (%.dynsym): Force C locale when running
23543 $(OBJDUMP) --dynamic-syms.
23544
1ab29350
AS
235452012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23546
23547 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23548 <stdint.h>.
23549
f1ecb7ef
DM
235502012-10-06 David S. Miller <davem@davemloft.net>
23551
23552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23553 upper 32-bits of the length value in %o2 since we use branch-on-register
23554 tests which consider the entire 64-bit register.
23555
5d41d91a
L
235562012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23557
23558 * string/test-strstr.c (check2): Add a test for page boundary.
23559
3baddb72
DM
235602012-10-05 David S. Miller <davem@davemloft.net>
23561
23562 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23563 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23564 file.
23565 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23566 sysdep_routines.
23567 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23568 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23569 and bzero when HWCAP_SPARC_CRYPTO is present.
23570
9cee5585
L
235712012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23572
d7e0dab9
L
23573 [BZ #14602]
23574 * string/test-strstr.c (check2): New function.
23575 (test_main): Call check2.
23576
03759f47
L
23577 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23578 and bug-strchr1.
23579 * string/bug-strcasestr1.c (do_test): Moved to ...
23580 * string/test-strcasestr.c (check1): Here. New function.
23581 (do_one_test): Break out result checking code into ...
23582 (check_result): This. New function.
23583 (do_one_test): Call check_result.
23584 (test_main): Call check1.
23585 * string/bug-strchr1.c (do_test): Moved to ...
23586 * string/test-strchr.c (check1): Here. New function.
23587 (do_one_test): Break out result checking code into ...
23588 (check_result): This. New function.
23589 (do_one_test): Call check_result.
23590 (test_main): Call check1.
23591 * string/bug-strstr1.c (main): Moved to ...
046f153e 23592 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23593 (do_one_test): Break out result checking code into ...
23594 (check_result): This. New function.
23595 (do_one_test): Call check_result.
23596 (test_main): Call check1.
23597 * string/bug-strcasestr1.c: Removed.
23598 * string/bug-strchr1.c: Likewise.
23599 * string/bug-strstr1.c: Likewise.
23600
53cea63e
L
23601 * elf/Makefile (dl-routines): Add hwcaps.
23602 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23603 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23604 (_dl_important_hwcaps): Moved to ...
23605 * elf/dl-hwcaps.c: Here. New file.
23606 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23607
9cee5585 23608 [BZ #14557]
bb859b06
L
23609 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23610 if IS_IN_rtld isn't defined.
23611
9cee5585
L
23612 * elf/dl-support.c (_dl_sysinfo_map): New.
23613 Include "get-dynamic-info.h" and "setup-vdso.h".
23614 (_dl_non_dynamic_init): Call setup_vdso.
23615 * elf/dynamic-link.h: Don't include <assert.h>.
23616 (elf_get_dynamic_info): Moved to ...
23617 * elf/get-dynamic-info.h: Here. New file.
23618 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23619 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23620 * elf/setup-vdso.h: Here. New file.
23621 * elf/rtld.c: Include "setup-vdso.h".
23622 (dl_main): Call setup_vdso.
23623
23c31b76
JM
236242012-10-05 Joseph Myers <joseph@codesourcery.com>
23625
28234b07
JM
23626 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23627 creal in comment listing functions tested. List finite, isinf,
23628 isnan, isless, islessequal, isgreater, isgreaterequal,
23629 islessgreater, isunordered, lgamma_r and pow10 as functions and
23630 macros not tested. Mention which functions not tested are aliases
23631 for other functions. Fix typo. Note that signs of NaNs are not
23632 tested.
23633
23c31b76
JM
23634 * scripts/config.guess: Update from config.git.
23635 * scripts/config.sub: Likewise.
23636
9043e228
RM
236372012-10-04 Roland McGrath <roland@hack.frob.com>
23638
23639 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23640 * misc/madvise.c (madvise): Renamed to __madvise.
23641 Make madvise a weak alias.
23642 * include/sys/mman.h: Declare __madvise.
23643 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23644 * sysdeps/unix/syscalls.list
23645 (madvise): Make __madvise the strong name, and madvise a weak alias.
23646 * sysdeps/unix/sysv/linux/syscalls.list
23647 (madvise, mmap): Remove redundant entries.
23648 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23649 * malloc/malloc.c (mtrim): Likewise.
23650 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23651
f57f8055
RM
236522012-10-03 Roland McGrath <roland@hack.frob.com>
23653
23654 * sysdeps/mach/hurd/dl-cache.c: File removed.
23655 * config.h.in (USE_LDCONFIG): New #undef.
23656 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23657 * configure: Regenerated.
23658 * elf/Makefile (dl-routines): Add dl-cache only under
23659 [$(use-ldconfig) = yes].
23660 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23661 cache on [USE_LDCONFIG].
23662 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23663 [USE_LDCONFIG].
23664 * elf/rtld.c (dl_main): Likewise.
23665
5bb0c10a
PT
236662012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23667
23668 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23669 _SC_LEVEL4_CACHE_LINESIZE.
23670
010188c6
RM
236712012-10-03 Roland McGrath <roland@hack.frob.com>
23672
23673 * sysdeps/unix/bsd/confstr.h: File removed.
23674
b6c5ec07
AO
236752012-10-02 Alexandre Oliva <aoliva@redhat.com>
23676
23677 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23678 sys/sdt-config.h.
23679
408223d4
RM
236802012-10-02 Roland McGrath <roland@hack.frob.com>
23681
23682 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23683 Make 'mapoff' field ElfW(Off) rather than off_t.
23684
bb9510dc
DL
236852012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23686
fc997c6e
DL
23687 * nscd/Makefile: Remove nscd-cflags and all its users.
23688 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23689 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23690
bb9510dc
DL
23691 [BZ #10631]
23692 * malloc.c (malloc_printerr): Clarify error message.
23693
05699367
L
236942012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23695
23696 [BZ #14648]
23697 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23698 Set bit_FMA_Usable if FMA is supported.
23699 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23700 macro.
23701 (bit_FMA4_Usable): Updated.
23702 (index_FMA_Usable): New macro.
23703 (CPUID_FMA): Likewise
23704 (HAS_FMA): Defined with bit_FMA_Usable.
23705
51367701
RM
237062012-10-01 Roland McGrath <roland@hack.frob.com>
23707
23708 * bits/types.h (__swblk_t): Type removed.
23709 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23710 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23712 (__SWBLK_T_TYPE): Likewise.
23713 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23714 (__SWBLK_T_TYPE): Likewise.
23715 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23716 (__SWBLK_T_TYPE): Likewise.
23717 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23718 (__SWBLK_T_TYPE): Likewise.
23719
4d57bf63 237202012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23721 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23722
23723 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23724 (xdr_mapname): Use YPMAXMAP as maxsize.
23725 (xdr_peername): Use YPMAXPEER as maxsize.
23726 (xdr_keydat): Use YPAXRECORD as maxsize.
23727 (xdr_valdat): Use YPMAXRECORD as maxsize.
23728
93c65d43
RM
237292012-10-01 Roland McGrath <roland@hack.frob.com>
23730
497a03d6
RM
23731 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23732
93c65d43
RM
23733 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23734 * csu/init-first.c: ... here.
23735 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23736 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23737 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23738 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23739 * sysdeps/i386/init-first.c: File removed.
23740 * sysdeps/sh/init-first.c: File removed.
23741
bec749fd
JM
237422012-10-01 Joseph Myers <joseph@codesourcery.com>
23743
23744 [BZ #14645]
23745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23746 if x * y might underflow to zero and z is zero.
23747 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23748 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23749 * math/libm-test.inc (min_subnorm_value): New variable.
23750 (fma_test): Add more tests.
23751 (fma_test_towardzero): Likewise.
23752 (fma_test_downward): Likewise
23753 (fma_test_upward): Likewise.
23754 (initialize): Set min_subnorm_value.
23755
8ec5b013
JM
237562012-09-29 Joseph Myers <joseph@codesourcery.com>
23757
23758 [BZ #14638]
23759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23760 0 + 0.
23761 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23762 mode for addition resulting in exact zero.
23763 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23765 exact 0 + 0.
23766 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23767 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23768 * math/libm-test.inc (fma_test): Add more tests.
23769 (fma_test_towardzero): New function.
23770 (fma_test_downward): Likewise.
23771 (fma_test_upward): Likewise.
23772 (main): Call the new functions.
23773
b1fa802e
DM
237742012-09-28 David S. Miller <davem@davemloft.net>
23775
23776 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23777
d3b9fd9e
RM
237782012-09-28 Roland McGrath <roland@hack.frob.com>
23779
ea4d37b3
RM
23780 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23781 instead of SIGALRM.
23782
ac51c949
RM
23783 * sysdeps/gnu/_G_config.h: Moved to ...
23784 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23785 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23786 * sysdeps/generic/_G_config.h: ... here.
23787
28c195f7
RM
23788 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23789
848917f9
RM
23790 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23791
6bacf05b
RM
23792 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23793 Conditionalize target on [libnss_test1.so-version].
23794
91363dbb
RM
23795 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23796
cc87f7d8
RM
23797 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23798 (elfobjdir): Move out of conditionals.
23799
b1c608fe
RM
23800 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23801 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23802 (__nss_lookup_function): Conditionalize label remove_from_tree on
23803 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23804
1d9a6d96
DM
238052012-09-28 David S. Miller <davem@davemloft.net>
23806
23807 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23808 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23809 file.
23810 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23811 sysdep_routines.
23812 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23813 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23814 when HWCAP_SPARC_CRYPTO is present.
23815
72581615
PT
238162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23817
23818 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23819
715a900c
JL
238202012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23821
23822 [BZ #6530]
23823 * stdio-common/vfprintf.c (process_string_arg): Revert
23824 2000-07-22 change.
23825
238262011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23827
23828 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23829 for testcase.
23830 * stdio-common/tst-sprintf.c: Include <locale.h>
23831 (main): Test sprintf's handling of incomplete multibyte
23832 characters.
23833
9bac1d86
L
238342012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23835
23836 * elf/dl-runtime.c (VERSYMIDX): Removed.
23837 * elf/dl-version.c (VERSYMIDX): Likewise.
23838 * elf/do-rel.h (VERSYMIDX): Likewise.
23839 (VALIDX): Likewise.
23840 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23841 * elf/rtld.c (VALIDX): Likewise.
23842 (ADDRIDX): Likewise.
9bac1d86
L
23843 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23844 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23845 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23846 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23847 (VALIDX): Likewise.
23848 (ADDRIDX): Likewise.
9bac1d86 23849
b31606c0
PT
238502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23851
23852 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23853
11541177
JL
238542012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23855
23856 [BZ #11438]
23857 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23858 to global scope.
23859 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23860 addresses are in the same scope as 192.0.2/24.
23861 * posix/gai.conf: Document new scope table defaults.
23862
adb26fae
SP
238632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23864
23865 [BZ #5298]
23866 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23867 for ftell. Compute offsets from write pointers instead.
23868 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23869
4573c6b0
SP
238702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23871
23872 [BZ #14543]
23873 * libio/Makefile (tests): New test case tst-fseek.
23874 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23875 combination works in wide mode.
23876 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23877 state when the external buffer state changes.
23878
aa9bbfe6
DM
238792012-09-27 David S. Miller <davem@davemloft.net>
23880
23881 [BZ #14376]
23882 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23883 pass reloc->r_addend in as the 'high' argument to
23884 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23885
784421e7
DM
23886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23887
c39bc8b8
PT
238882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23889
23890 * rt/tst-aio2.c: Include <pthread.h>.
23891 * rt/tst-aio3.c: Likewise.
23892
1ccc2399
SE
238932012-09-27 Steve Ellcey <sellcey@mips.com>
23894
23895 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23896
31ed4153
L
238972012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23898
25f5f885
L
23899 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23900 contents on [SHARED].
31ed4153 23901
b7bfe116
MP
239022012-09-26 Marek Polacek <polacek@redhat.com>
23903
23904 [BZ #14530]
23905 [BZ #13741]
23906 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23907 for C++ and GCC <4.3 as well as for non GCC compilers.
23908
43c4edba
MT
239092012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23910
23911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23912
6a1bf82f
RM
239132012-09-25 Roland McGrath <roland@hack.frob.com>
23914
23915 * Makefile.in (all, install): Declare with .PHONY.
23916 Reported by Michael Hope <michael.hope@linaro.org>.
23917
8ad11b9a
TMQMF
239182012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23919
23920 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23921 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23922 system header.
23923 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23924 Likewise.
23925 (sydep_routines): Add the new and the internal functions.
23926 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23927 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23929 (GLIBC_2.17): Add the new function.
23930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23931 (GLIBC_2.17): Likewise.
23932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23933 (GLIBC_2.17): Likewise.
23934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23935 (GLIBC_2.17): Likewise.
23936 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23937
7e2fca8d
AM
239382012-09-25 Alan Modra <amodra@gmail.com>
23939
23940 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23941 Add release barrier before setting once_control to say
23942 initialisation is done. Add hints on lwarx. Use macro in
23943 place of isync.
23944 (clear_once_control): Add release barrier.
23945
b87c4b24
JM
239462012-09-25 Joseph Myers <joseph@codesourcery.com>
23947
d032e0d2
JM
23948 [BZ #13629]
23949 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23950 specially.
23951 * math/s_clog10.c (__clog10): Likewise.
23952 * math/s_clog10f.c (__clog10f): Likewise.
23953 * math/s_clog10l.c (__clog10l): Likewise.
23954 * math/s_clogf.c (__clogf): Likewise.
23955 * math/s_clogl.c (__clogl): Likewise.
23956 * math/Makefile (libm-calls): Add x2y2m1.
23957 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23958 (__x2y2m1): Likewise.
23959 (__x2y2m1l): Likewise.
23960 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23961 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23962 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23963 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23964 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23965 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23966 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23967 * sysdeps/i386/fpu/libm-test-ulps: Update.
23968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23969
b87c4b24
JM
23970 [BZ #14621]
23971 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23972 int as type of variable DEPTH.
23973 (glob): Use size_t instead of int as type of variables NEWCOUNT
23974 and OLD_PATHC.
23975
6d3bf199
LD
239762012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23977
22bf5c17
LD
23978 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23979 Add s_sincosf-sse2.
23980 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23981 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23982 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23983 macros for using routine as __sincosf_ia32.
23984 Use macro for function declaration and weak_alias.
23985 * sysdeps/i386/fpu/libm-test-ulps: Update.
23986
23987 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23988 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23989
23990 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23991 subnormal argument.
23992 * math/s_cexpf.c (__cexpf): Likewise.
23993 * math/s_csinf.c (__csinf): Likewise.
23994 * math/s_csinhf.c (__csinhf): Likewise.
23995 * math/s_ctanf.c (__ctanf): Likewise.
23996 * math/s_ctanhf.c (__ctanhf): Likewise.
23997 * math/s_ccosh.c (__ccoshf): Likewise.
23998 * math/s_cexp.c (__cexpl): Likewise.
23999 * math/s_csin.c (__csin): Likewise.
24000 * math/s_csinh.c (__csinh): Likewise.
24001 * math/s_ctan.c (__ctan): Likewise.
24002 * math/s_ctanh.c (ctanh): Likewise.
24003 * math/s_ccoshl.c (__ccoshl): Likewise.
24004 * math/s_cexpl.c (__cexpl): Likewise.
24005 * math/s_csinl.c (__csinl): Likewise.
24006 * math/s_csinhl.c (__csinhl): Likewise.
24007 * math/s_ctanl.c (__ctanl): Likewise.
24008 * math/s_ctanhl.c (__ctanhl): Likewise.
24009
203e5603
JM
240102012-09-25 Joseph Myers <joseph@codesourcery.com>
24011
24012 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24013 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24014 (_IO_off_t): Define to __off_t, not _G_off_t.
24015 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24016 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24017 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24018 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24019 type of __dummy and __dummy2 fields.
24020 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24021 (_G_ssize_t): Likewise.
24022 (_G_off_t): Likewise.
24023 (_G_pid_t): Likewise.
24024 (_G_uid_t): Likewise.
24025 (_G_wchar_t): Likewise.
24026 (_G_wint_t): Likewise.
24027 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24028 (_G_ssize_t): Likewise.
24029 (_G_off_t): Likewise.
24030 (_G_pid_t): Likewise.
24031 (_G_uid_t): Likewise.
24032 (_G_wchar_t): Likewise.
24033 (_G_wint_t): Likewise.
24034 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24035 (_G_ssize_t): Likewise.
24036 (_G_off_t): Likewise.
24037 (_G_pid_t): Likewise.
24038 (_G_uid_t): Likewise.
24039 (_G_wchar_t): Likewise.
24040 (_G_wint_t): Likewise.
24041
9fab36eb
SP
240422012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24043
24044 * malloc/arena.c: Include malloc-sysdep.h.
24045 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24046 is sufficient to shrink the heap or an unmap is needed.
24047 * sysdeps/generic/malloc-sysdep.h: New file. Define
24048 new function check_may_shrink_heap.
24049 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24050 new function check_may_shrink_heap.
24051
2b4f00d1
SP
240522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24053
24054 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24055 comments.
24056
9a9028b1
DL
240572012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24058
57c69bef
DL
24059 * catgets/test-gencat.sh: Add "set -e".
24060 * elf/tst-pathopt.sh: Likewise.
24061 * grp/tst_fgetgrent.sh: Likewise.
24062 * iconvdata/run-iconv-test.sh: Likewise.
24063 * intl/tst-gettext.sh: Likewise.
24064 * intl/tst-gettext2.sh: Likewise.
24065 * intl/tst-gettext4.sh: Likewise.
24066 * intl/tst-gettext6.sh: Likewise.
24067 * intl/tst-translit.sh: Likewise.
24068 * io/ftwtest-sh: Likewise.
24069 * libio/test-freopen.sh: Likewise.
24070 * malloc/tst-mtrace.sh: Likewise.
24071 * posix/globtest.sh: Likewise.
24072 * posix/tst-getconf.sh: Likewise.
24073 * posix/wordexp-tst.sh: Likewise.
24074 * stdio-common/tst-printf.sh: Likewise.
24075 * stdio-common/tst-unbputc.sh: Likewise.
24076 * stdlib/tst-fmtmsg.sh: Likewise.
24077 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24078 * catgets/Makefile: Do not specify -e option when running
24079 testsuite shell scripts.
24080 * elf/Makefile: Likewise.
24081 * grp/Makefile: Likewise.
24082 * iconvdata/Makefile: Likewise.
24083 * intl/Makefile: Likewise.
24084 * io/Makefile: Likewise.
24085 * libio/Makefile: Likewise.
24086 * malloc/Makefile: Likewise.
24087 * posix/Makefile: Likewise.
24088 * stdio-common/Makefile: Likewise.
24089 * stdlib/Makefile: Likewise.
24090 * sysdeps/x86_64/Makefile: Likewise.
24091
9a9028b1
DL
24092 * io/ftwtest-sh: Add copyright header.
24093 * posix/globtest.sh: Likewise.
24094 * posix/tst-getconf.sh: Likewise.
24095 * posix/wordexp-tst.sh: Likewise.
24096 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24097
ced6f16e
L
240982012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24099
94b32c39
L
24100 [BZ #13679]
24101 * Makeconfig (+link): Defined as $(+link-static) if
24102 $(build-shared) isn't yes.
24103 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24104 isn't yes.
24105 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24106
189e935b
L
24107 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24108
ced6f16e
L
24109 [BZ #14562]
24110 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24111 new chunk size with MALLOC_ALIGN_MASK.
24112
a9f8e53a
JM
241132012-09-24 Joseph Myers <joseph@codesourcery.com>
24114
24115 [BZ #5044]
24116 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24117 <rounding-mode.h>.
24118 (__printf_fphex): Determine rounding using get_rounding_mode and
24119 round_away.
24120 * stdio-common/tst-printf-round.c (struct hex_test): New
24121 structure.
24122 (hex_tests): New variable.
24123 (test_hex_in_one_mode): New function.
24124 (do_test): Also run tests for hex float output.
24125
43153109
JM
241262012-09-21 Joseph Myers <joseph@codesourcery.com>
24127
24128 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24129 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24130 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24131 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24132 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24133 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24134 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24135 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24136
8a26625d
JM
241372012-09-20 Joseph Myers <joseph@codesourcery.com>
24138
24139 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24140 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24141 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24142 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24143
f3fd569c
DL
241442012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24145
24146 [BZ #14579]
24147 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24148 mode only.
24149 * elf/tst-rtld-load-self.sh: New test.
24150 * elf/Makefile: Run it.
24151
63bbedd4
JM
241522012-09-18 Joseph Myers <joseph@codesourcery.com>
24153
24154 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24155 (tst-writev-ENV): Remove.
24156 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24157
626f8b6a
CM
241582012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24159
24160 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24161
b7aaa4d6
JM
241622012-09-17 Joseph Myers <joseph@codesourcery.com>
24163
24164 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24165 unconditional.
24166 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24167 Likewise.
24168 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24169 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24170 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24171 Likewise.
24172
65513990
L
241732012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24174
24175 [BZ #14587]
24176 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24177 * config.make.in (have-cpp-asm-debuginfo): Removed.
24178 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24179 * configure: Regenerated.
24180
784761be
JM
241812012-09-14 Joseph Myers <joseph@codesourcery.com>
24182
24183 [BZ #5044]
24184 * stdio-common/printf_fp.c: Include <stdbool.h> and
24185 <rounding-mode.h>.
24186 (___printf_fp): Determine rounding using get_rounding_mode and
24187 round_away.
24188 * stdio-common/tst-printf-round.c: New file.
24189 * stdio-common/Makefile (tests): Add tst-printf-round.
24190 (link-libm): New variable.
24191 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24192
9503345f
L
241932012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24194
24195 [BZ #14576]
24196 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24197 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24198 Likewise.
24199 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24200 Likewise.
24201
ad35fc00
JM
242022012-09-13 Joseph Myers <joseph@codesourcery.com>
24203
24204 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24205 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24206 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24207 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24208
6c9b0f68
JM
242092012-09-12 Joseph Myers <joseph@codesourcery.com>
24210
24211 [BZ #14518]
24212 * include/rounding-mode.h: New file.
24213 * sysdeps/generic/get-rounding-mode.h: Likewise.
24214 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24215 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24216 (MAX_VALUE): New macro.
24217 (MIN_VALUE): Likewise.
24218 (overflow_value): New function.
24219 (underflow_value): Likewise.
24220 (round_and_return): Use overflow_value and underflow_value to
24221 determine return values in overflow and underflow cases. Use
24222 round_away to determine rounding depending on rounding mode.
24223 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24224 determine return values in overflow and underflow cases.
24225 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24226 (struct test_results): New structure.
24227 (struct test): Use struct test_results to store expected results
24228 for all rounding modes.
24229 (TEST): Include expected results for all rounding modes.
24230 (test_in_one_mode): New function.
24231 (do_test): Use test_in_one_mode to compute and check results.
24232 Check results for all rounding modes.
24233 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24234 $(link-libm).
24235
19fcedd5
AM
242362012-12-09 Allan McRae <allan@archlinux.org>
24237
1e9d84cd 24238 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24239
8bbfd2f1
JM
242402012-09-11 Joseph Myers <joseph@codesourcery.com>
24241
24242 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24243 (_G_int32_t): Likewise.
24244 (_G_uint16_t): Likewise.
24245 (_G_uint32_t): Likewise.
24246 (_G_HAVE_BOOL): Likewise.
24247 (_G_HAVE_ATEXIT): Likewise.
24248 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24249 (_G_HAVE_IO_FILE_OPEN): Likewise.
24250 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24251 (_G_int32_t): Likewise.
24252 (_G_uint16_t): Likewise.
24253 (_G_uint32_t): Likewise.
24254 (_G_HAVE_BOOL): Likewise.
24255 (_G_HAVE_ATEXIT): Likewise.
24256 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24257 (_G_HAVE_IO_FILE_OPEN): Likewise.
24258 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24259 (_G_int32_t): Likewise.
24260 (_G_uint16_t): Likewise.
24261 (_G_uint32_t): Likewise.
24262 (_G_HAVE_BOOL): Likewise.
24263 (_G_HAVE_ATEXIT): Likewise.
24264 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24265 (_G_HAVE_IO_FILE_OPEN): Likewise.
24266
b1dc5912
L
242672012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24268
24269 * csu/libc-tls.c: Update copyright years.
24270
0e886ef9
JM
242712012-09-10 Joseph Myers <joseph@codesourcery.com>
24272
28361c5e
JM
24273 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24274 [!_G_USING_THUNKS]: Remove conditional code.
24275 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24276 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24277
0e886ef9
JM
24278 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24279 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24280 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24281 (_G_VTABLE_LABEL_PREFIX): Likewise.
24282 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24283 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24284 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24285 (_G_VTABLE_LABEL_PREFIX): Likewise.
24286 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24287 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24288 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24289 (_G_VTABLE_LABEL_PREFIX): Likewise.
24290 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24291
bcba7aa2
L
242922012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24293
24294 * libio/Makefile: Include ../Makeconfig before tests.
24295 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24296 only if $(build-shared) is yes.
24297
06585ee8
L
24298 * iconv/gconv_db.c: Update copyright years.
24299
80ccd52c
LD
243002012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24301
24302 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24303 unwind info if defined PIC. Fix special cases description.
24304 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24305
24306 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24307 DP_HI_MASK entry.
24308 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24309
691bc9c1
L
243102012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24311
3d9b46b3
L
24312 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24313
de2139a9
L
24314 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24315 is NULL.
24316
5ca78dd0
L
24317 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24318 (LDLIBS-tst-chk4): This.
24319 (LDFLAGS-tst-chk5): Renamed to ...
24320 (LDLIBS-tst-chk5): This.
24321 (LDFLAGS-tst-chk6): Renamed to ...
24322 (LDLIBS-tst-chk6): This.
24323 (LDFLAGS-tst-lfschk4): Renamed to ...
24324 (LDLIBS-tst-lfschk4): This.
24325 (LDFLAGS-tst-lfschk5): Renamed to ...
24326 (LDLIBS-tst-lfschk5): This.
24327 (LDFLAGS-tst-lfschk6): Renamed to ...
24328 (LDLIBS-tst-lfschk6): This.
24329
691bc9c1
L
24330 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24331 on $(common-objpfx)soversions.mk.
24332
65cafb1c
JM
243332012-09-07 Joseph Myers <joseph@codesourcery.com>
24334
24335 [BZ #10014]
24336 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24337 example host name.
24338
c78ab094
SP
243392012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24340
24341 * malloc/arena.c (arena_get_retry): New function that gets
24342 another arena for the caller to try its request on.
24343 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24344 current arena cannot fulfill the request.
24345 (__libc_memalign): Likewise.
24346 (__libc_memalign): Likewise.
24347 (__libc_pvalloc): Likewise.
24348 (__libc_calloc): Likewise.
24349
01f49f59
JT
243502012-09-05 John Tobey <john.tobey@gmail.com>
24351
24352 [BZ #13542]
24353 * manual/arith.texi (Operations on Complex): Fix description
24354 of carg branch cut.
24355
4c23fed5
JM
243562012-09-06 Joseph Myers <joseph@codesourcery.com>
24357
1d3c8572
JM
24358 [BZ #10014]
24359 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24360 host name.
24361
4c23fed5
JM
24362 [BZ #10038]
24363 * manual/memory.texi (Memory): Make order of menu items match
24364 order of sections.
24365
04570aaa
L
243662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24367
24368 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24369 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24370 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24371
b80af2f4
L
243722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24373
24374 * csu/libc-tls.c (static_dtv): Renamed to ...
24375 (_dl_static_dtv): This. Make it global.
24376 (_dl_initial_dtv): Removed.
24377 (__libc_setup_tls): Updated.
24378 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24379 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24380 DL_INITIAL_DTV.
24381
2abe9f15
PM
243822012-09-06 Petr Machata <pmachata@redhat.com>
24383
24384 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24385 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24386 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24387 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24388
0948c3af
L
243892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24390
24391 [BZ #14545]
24392 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24393 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24394 freeing dtv[-1].
24395
a5055ad1
L
243962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24397
24398 [BZ #14544]
24399 * Makeconfig (link-static-before-libc): Replace $(+prector)
24400 with $(+prectorT).
24401 (link-static-after-libc): Replace $(+postctor) with
24402 $(+postctorT).
24403 (link-bounded): Replace $(+prector)/$(+postctor) with
24404 $(+prectorT)/$(+postctorT).
24405 (+prectorT): New macro.
24406 (+postctorT): Likewise.
24407
ed8c2ecd
JM
244082012-09-06 Joseph Myers <joseph@codesourcery.com>
24409
24410 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24411 (round_str): Handle values above the maximum for IBM long double
24412 as inexact.
24413 * stdlib/tst-strtod-round.c (tests): Regenerated.
24414
14c996c8
AK
244152012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24416
24417 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24418 assembler flag.
24419 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24420 zarch_nohighgprs around the zarch optimized routines.
24421 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24422 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24423 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24424 for zarch.
24425
430d6ce6
DM
244262012-09-05 David S. Miller <davem@davemloft.net>
24427
24428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24429
57f41c40
AS
24430 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24431 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
24432 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24433 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24434 entries.
24435
24d4e01b
AO
244362012-09-05 Alexandre Oliva <aoliva@redhat.com>
24437
24438 * malloc/arena.c: Fold copyright years.
24439 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24440
61d58174
AO
244412012-09-05 Alexandre Oliva <aoliva@redhat.com>
24442
24443 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24444
20196a5e
AO
244452012-09-05 Alexandre Oliva <aoliva@redhat.com>
24446
24447 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24448
5c447383
AO
244492012-09-05 Alexandre Oliva <aoliva@redhat.com>
24450
24451 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24452 change internal state upon failure.
24453
fad64255
AO
244542012-09-05 Alexandre Oliva <aoliva@redhat.com>
24455
24456 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24457 * malloc/memusage.c (mmap): Likewise.
24458 (mmap64, mremap): Likewise. Adjust name in comment.
24459
1ffb8c90
SP
244602012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24461
24462 * libio/fileops.c: Fix typos in comments.
24463 * libio/oldfileops.c: Likewise.
24464 * libio/wfileops.c: Likewise.
24465
6ef9cc37
SP
244662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24467
24468 [BZ #1349]
24469 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24470 (tst-malloc-usable-ENV): Set environment for test case.
24471 * malloc/hooks.c (malloc_check_get_size): New function to get
24472 requested size.
24473 * malloc/malloc.c (musable): Use malloc_check_get_size.
24474 * malloc/tst-malloc-usable.c: New test case.
24475
4d038ae3
AS
244762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24477
24478 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24479
c4e85184
AM
244802012-09-05 Allan McRae <allan@archlinux.org>
24481
b9dafc56 24482 [BZ #13966]
c4e85184
AM
24483 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24484 determine header location.
24485 * configure: Regenerated.
24486
e1343020
AS
244872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24488
24489 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24490 float format.
24491 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24492 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24493 format.
e1343020
AS
24494 (test): Regenerate.
24495
0a9f1987
DM
244962012-09-04 David S. Miller <davem@davemloft.net>
24497
24498 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24499 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24500 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24501
29237804
FW
245022012-09-04 Florian Weimer <fweimer@redhat.com>
24503
24504 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24505 failures.
24506
edb3cb88
FW
24507 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24508
60160d83
JM
245092012-09-04 Joseph Myers <joseph@codesourcery.com>
24510
24511 [BZ #9914]
24512 * libio/iogetdelim.c: Include <limits.h>.
24513 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24514 + len + 1 would overflow.
24515
bcd6c8dc
AJ
245162012-09-03 Andreas Jaeger <aj@suse.de>
24517
24518 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24519 * sysdeps/i386/fpu/libm-test-ulps: Update.
24520
4ffffbd2
LD
245212012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24522
24523 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24524 Add s_sinf-sse2, s_conf-sse2.
24525
24526 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24527 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24528 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24529 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24530
24531 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24532 for using routine as __sinf_ia32.
24533 Use macro for function declaration and weak_alias.
24534 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24535 for using routine as __cosf_ia32.
24536 Use macro for function declaration and weak_alias.
24537
24538 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24539 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24540
24541 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24542 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24544
24545 * math/libm-test.inc (cos_test): Add more test cases.
24546 (sin_test): Likewise.
24547 (sincos_test): Likewise.
24548
511fa286
AK
245492012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24550
24551 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24552 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24553 hidden.
24554 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24555
5f30cfec
L
245562012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24557
24558 [BZ #14538]
24559 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24560 first element of the GOT.
24561 (elf_machine_load_address): Return the difference between
24562 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24563
0786794f
AM
245642012-09-01 Allan McRae <allan@archlinux.org>
24565
5f30cfec
L
24566 [BZ #13412]
24567 * configure.in (AWK): Require gawk version 3.0 or later.
24568 * configure: Regenerated.
0786794f 24569
26889eac
JM
245702012-09-01 Joseph Myers <joseph@codesourcery.com>
24571
24572 * sysdeps/unix/sysv/linux/kernel-features.h
24573 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24574 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24575 [__NR_clock_getres]: Make code unconditional.
24576 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24577 (clock_getcpuclockid): Remove code left unreachable by removal of
24578 conditionals.
24579 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24580 code unconditional.
24581 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24582 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24583 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24584 Make code unconditional.
24585 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24586 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24587 * sysdeps/unix/sysv/linux/clock_settime.c
24588 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24589 conditional code.
24590 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24591 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24592
d22e28b0
L
245932012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24594
24595 [BZ #14476]
24596 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24597 scripts/test-installation.pl.
24598
24599 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24600 and $ld_so_version if it is set.
24601
050af9c4
SP
246022012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24603
24604 [BZ #14516]
24605 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24606 failure if reading from procfs failed.
24607 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24608
ad845c0b
JM
246092012-08-27 Joseph Myers <joseph@codesourcery.com>
24610
24611 * sysdeps/unix/sysv/linux/kernel-features.h
24612 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24613 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24614 Remove conditional code.
24615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24616 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24617 Remove conditional code.
24618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24619 * sysdeps/unix/sysv/linux/i386/fxstat.c
24620 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24622 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24623 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24625 * sysdeps/unix/sysv/linux/i386/lxstat.c
24626 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24628 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24629 Remove conditional code.
24630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24631 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24632 Remove conditional code.
24633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24634 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24635 <kernel-features.h>.
24636 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24637 Remove.
24638 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24639 Remove conditional code.
24640 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24641 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24642 Remove conditional.
24643
5dbf56af
MF
246442012-08-27 Mike Frysinger <vapier@gentoo.org>
24645
24646 [BZ #5400]
24647 * NEWS: Add fixed bug number.
24648
d6e70f43
JM
246492012-08-27 Joseph Myers <joseph@codesourcery.com>
24650
7efb4737
JM
24651 [BZ #14519]
24652 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24653 underflowing exponent in case of negative sign.
24654 * stdlib/tst-strtod-round-data: Add more tests.
24655 * stdlib/tst-strtod-round.c (tests): Regenerated.
24656
af92131a
JM
24657 [BZ #3479]
24658 * stdlib/strtod_l.c (NDIG): Remove.
24659 (HEXNDIG): Likewise.
24660 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24661 smallest representable value.
24662 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24663 lie within an exact representation of 1/2 ulp of the result.
24664 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24665 unconditionally.
24666 (TENS_P9_IDX): Define unconditionally.
24667 (TENS_P9_SIZE): Likewise.
24668 (TENS_P10_IDX): Likewise.
24669 (TENS_P10_SIZE): Likewise.
24670 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24671 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24672 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24673 entries for 10^2^13 and 10^2^14.
24674 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24675 (TENS_P13_IDX): Define.
24676 (TENS_P13_SIZE): Likewise.
24677 (TENS_P14_IDX): Likewise.
24678 (TENS_P14_SIZE): Likewise.
24679 (_fpioconst_pow10): Change array size to
24680 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24681 unconditional.
24682 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24683 1024]: Add entries for 10^2^13 and 10^2^14.
24684 [LAST_POW10 > _LAST_POW10]: Remove #error.
24685 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24686 (_fpioconst_pow10): Change array size to
24687 FPIOCONST_POW10_ARRAY_SIZE.
24688 * stdlib/gen-fpioconst.c: New file.
24689 * stdlib/gen-tst-strtod-round.c: Likewise.
24690 * stdlib/tst-strtod-round-data: Likewise.
24691 * stdlib/tst-strtod-round.c: Likewise.
24692 * stdlib/Makefile (tests): Add tst-strtod-round.
24693
d6e70f43
JM
24694 [BZ #14459]
24695 * stdlib/strtod_l.c: Include <stdint.h>.
24696 (NDEBUG): Do not define.
24697 (round_and_return): Change EXPONENT parameter to type intmax_t.
24698 Rearrange calculations to avoid internal overflow possibilities.
24699 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24700 Rearrange calculations to avoid internal overflow possibilities.
24701 Assert that number fits inside MPNSIZE limbs.
24702 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24703 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24704 calculations and add assertions to avoid internal overflow
24705 possibilities. Add casts to avoid signed/unsigned operations.
24706 * stdlib/tst-strtod-overflow.c: New file.
24707 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24708
1f529f7d
MP
247092012-08-25 Marek Polacek <polacek@redhat.com>
24710
24711 * time/time.h: Fix some typos in comments.
24712
59a629f1
RM
247132012-08-23 Roland McGrath <roland@hack.frob.com>
24714
24715 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24716 * posix/tst-rfc3484-2.c: Likewise.
24717 * posix/tst-rfc3484-3.c: Likewise.
24718
d3bafbc9
SM
247192012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24720
24721 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24722 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24723
4efcc022
JM
247242012-08-23 Joseph Myers <joseph@codesourcery.com>
24725
24726 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24727 #include of fxstatat64.c.
24728
3cc3ef96
RM
247292012-08-22 Roland McGrath <roland@hack.frob.com>
24730
f04e2132
RM
24731 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24732 * shadow/getspent_r.c: Likewise.
24733 * shadow/getspnam.c: Likewise.
24734 * shadow/getspnam_r.c: Likewise.
24735 * gshadow/getsgent.c: Likewise.
24736 * gshadow/getsgent_r.c: Likewise.
24737 * gshadow/getsgnam.c: Likewise.
24738 * gshadow/getsgnam_r.c: Likewise.
24739 * inet/getnetbyad.c: Likewise.
24740 * inet/getnetbyad_r.c: Likewise.
24741 * inet/getnetbynm.c: Likewise.
24742 * inet/getnetbynm_r.c: Likewise.
24743 * inet/getnetent.c: Likewise.
24744 * inet/getnetent_r.c: Likewise.
24745 * inet/getproto.c: Likewise.
24746 * inet/getproto_r.c: Likewise.
24747 * inet/getprtent.c: Likewise.
24748 * inet/getprtent_r.c: Likewise.
24749 * inet/getprtname.c: Likewise.
24750 * inet/getprtname_r.c: Likewise.
24751 * inet/getrpcbyname.c: Likewise.
24752 * inet/getrpcbyname_r.c: Likewise.
24753 * inet/getrpcbynumber.c: Likewise.
24754 * inet/getrpcbynumber_r.c: Likewise.
24755 * inet/getrpcent.c: Likewise.
24756 * inet/getrpcent_r.c: Likewise.
24757 * inet/getaliasent.c: Likewise.
24758 * inet/getaliasent_r.c: Likewise.
24759 * inet/getaliasname.c: Likewise.
24760 * inet/getaliasname_r.c: Likewise.
24761 * nscd/getgrgid_r.c: Likewise.
24762 * nscd/getgrnam_r.c: Likewise.
24763 * nscd/gethstbyad_r.c: Likewise.
24764 * nscd/gethstbynm3_r.c: Likewise.
24765 * nscd/getpwnam_r.c: Likewise.
24766 * nscd/getpwuid_r.c: Likewise.
24767 * nscd/getsrvbynm_r.c: Likewise.
24768 * nscd/getsrvbypt_r.c: Likewise.
24769 * nscd/gai.c: Likewise.
24770
c53d909c
RM
24771 * configure.in (build_nscd): New substituted variable, set
24772 by --disable-build-nscd and defaults to $use_nscd.
24773 * configure: Regenerated.
24774 * config.make.in (build-nscd): New substituted variable.
24775 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24776 Change conditional to require [$(build-nscd) = yes] as well.
24777 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24778
3cc3ef96
RM
24779 [BZ# 13696]
24780 * configure.in (use_nscd): New substituted variable, set by
24781 --disable-nscd. If enabled, define USE_NSCD.
24782 * configure: Regenerated.
24783 * config.h.in: Add USE_NSCD.
24784 * config.make.in (use-nscd): New substituted variable.
24785 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24786 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24787 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24788 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24789 (CFLAGS-getgrnam_r.c): Likewise.
24790 (CFLAGS-initgroups.c): Likewise.
24791 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24792 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24793 Variables removed.
24794 * inet/getnetgrent_r.c
24795 (nscd_setnetgrent): New function, broken out of ...
24796 (setnetgrent): ... here. Call it.
24797 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24798 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24799 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24800 * nscd/Makefile (routines, aux): Move definitions after include of
24801 Makeconfig. Conditionalize on [$(use-nscd) != no].
24802 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24803 Conditionalize on [USE_NSCD].
24804 (is_nscd, nscd_init_cb): Likewise.
24805 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24806 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24807 * nss/nss_db/db-init.c: Likewise.
24808 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24809 [USE_NSCD].
24810 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24811 (make_request): Use it.
24812 (cache_valid_p): New function.
24813 (__check_pf): Use it.
24814 * NEWS: Add item for --disable-nscd.
24815
07e51550
DL
248162012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24817
24818 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24819 to support sed >= 4.2.1-20-ga9bf076.
24820 * configure: Regenerated.
24821
35a5b08b
RM
248222012-08-22 Roland McGrath <roland@hack.frob.com>
24823
24824 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24825 Conditionalize whole body on [IREL].
24826
8479f23a
JL
248272012-08-22 Jeff Law <law@redhat.com>
24828
24829 [BZ #14505]
24830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24831 if the family is PF_UNSPEC.
24832
48da0b21
MF
248332012-08-22 Mike Frysinger <vapier@gentoo.org>
24834
24835 * Makerules (lib-version): Rename from V.
24836 (install-lib-nosubdir): Change V to lib-version.
24837
15d0da8c
WS
248382012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24839
24840 [BZ #14252]
24841 * powerpc32/power6/wcschr.c: New file.
24842 * powerpc32/power6/wcscpy.c: New file.
24843 * powerpc32/power6/wcsrchr.c: New file.
24844 * powerpc64/power6/wcschr.c: New file.
24845 * powerpc64/power6/wcscpy.c: New file.
24846 * powerpc64/power6/wcsrchr.c: New file.
24847
bcca0895
MK
248482012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24849
24850 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24851 (two_way_short_needle): Use it.
5a4aaa33
RM
24852 * string/strstr.c (AVAILABLE1_USES_J): Define.
24853 * string/strcasestr.c: Likewise.
99677e57
MK
24854
24855 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24856 array references.
24857 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24858
400726de
MK
24859 [BZ #11607]
24860 * NEWS: Add an entry.
24861 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24862 define their defaults.
24863 (two_way_short_needle): Detect end-of-string on-the-fly.
24864 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24865 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24866 * string/bug-strcasestr1.c: New test.
24867 * string/Makefile: Run it.
24868
20a71f2c
MK
248692012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24870
24871 [BZ #11607]
24872 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24873 the first character.
24874
21ad0558
RM
248752012-08-21 Roland McGrath <roland@hack.frob.com>
24876
24877 * csu/elf-init.c (__libc_csu_irel): Function removed.
24878 * csu/libc-start.c (apply_irel): New function.
24879 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24880
0e1d9911
JM
248812012-08-21 Joseph Myers <joseph@codesourcery.com>
24882
24883 * sysdeps/unix/sysv/linux/kernel-features.h
24884 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24885 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24886 <kernel-features.h>.
24887 [__NR_fadvise64_64]: Make code unconditional.
24888 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24889 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24890 !__NR_fadvise64_64)]: Likewise.
24891 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24892 !__NR_fadvise64_64))]: Likewise.
24893 [__NR_fadvise64]: Make code unconditional.
24894 [!__NR_fadvise64]: Remove conditional code.
24895 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24896 <kernel-features.h>.
24897 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24898 unconditional.
24899 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24900 conditional code.
24901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24902 not include <kernel-features.h>.
24903 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24904 unconditional.
24905 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24906 conditional code.
24907 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24908 include <kernel-features.h>.
24909 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24910 unconditional.
24911 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24912 conditional code.
24913
14a50c9d
WS
249142012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24915
24916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24917 slight instruction rearrangements per scrollpipe analysis.
24918 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24919
c0f4faf0
RM
249202012-08-20 Roland McGrath <roland@hack.frob.com>
24921
696da859
RM
24922 * manual/syslog.texi (syslog; vsyslog, closelog):
24923 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24924 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24925
c0f4faf0
RM
24926 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24927 DSOCAPS to match condition on defining it.
24928
348363b2
JM
249292012-08-20 Joseph Myers <joseph@codesourcery.com>
24930
a35cbf28
JM
24931 * sysdeps/unix/sysv/linux/kernel-features.h
24932 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24934 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24935 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24937 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24938 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24940 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24941 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24942
445f7ecd
JM
24943 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24944 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24945
348363b2
JM
24946 * sysdeps/unix/sysv/linux/kernel-features.h
24947 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24948 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24949 unconditional.
24950 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24951 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24952 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24953 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24954 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24955 Make code unconditional.
24956 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24957 (__mmap64) [!__NR_mmap2]: Likewise.
24958 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24959 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24960 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24961 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24962 [__NR_mmap2]: Make code unconditional.
24963 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24964 (__mmap64) [!__NR_mmap2]: Likewise.
24965
bc5bc0e5
AK
249662012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24967
24968 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24969
88d506de
AJ
249702012-08-18 Andreas Jaeger <aj@suse.de>
24971
24972 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24973
493387d2
MF
249742012-08-18 Mike Frysinger <vapier@gentoo.org>
24975
24976 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24977 * include/unistd.h (__have_sock_cloexec): Likewise.
24978 (__have_pipe2): Likewise.
24979 (__have_dup3): Likewise.
24980
a277af22
MF
249812012-08-18 Mike Frysinger <vapier@gentoo.org>
24982
24983 [BZ #9685]
24984 * include/unistd.h (__have_pipe2): Change define into an extern int.
24985 (__have_dup3): Likewise.
24986 * socket/have_sock_cloexec.c: Include fcntl.h.
24987 (__have_pipe2): New variable.
24988 (__have_dup3): Likewise.
24989
fdab8fd3
MF
249902012-08-17 Mike Frysinger <vapier@gentoo.org>
24991
24992 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24993
31035e80
MP
249942012-08-17 Marek Polacek <polacek@redhat.com>
24995
24996 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24997 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24998
3bd9e993
RM
249992012-08-17 Roland McGrath <roland@hack.frob.com>
25000
c91c505f
RM
25001 * configure.in: Add AC_SUBST for sysheaders.
25002 * configure: Regenerated.
25003 * config.make.in (sysheaders): New substituted variable.
25004
7c6f9d53
RM
25005 * sysdeps/unix/mkfifo.c: Moved ...
25006 * sysdeps/posix/mkfifo.c: ... here.
25007 * sysdeps/unix/mkfifoat.c: Moved ...
25008 * sysdeps/posix/mkfifoat.c: ... here.
25009
25010 * sysdeps/unix/utime.c: Moved ...
25011 * sysdeps/posix/utime.c: ... here.
25012
25013 * sysdeps/unix/time.c: Moved ...
25014 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
25015 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25016 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
25017
25018 * sysdeps/unix/nice.c: Moved ...
25019 * sysdeps/posix/nice.c: ... here.
25020
25021 * sysdeps/unix/alarm.c: Moved ...
25022 * sysdeps/posix/alarm.c: ... here.
25023
3bd9e993
RM
25024 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25025
d1f09384
JL
250262012-08-17 Jeff Law <law@redhat.com>
25027
25028 * intl/Makefile (codeset_mo): New variable.
25029 ($(codeset_mo)): New target.
25030 (tst-codeset.out): Depend on that. Remove explicit rule.
25031 (tst-gettext3.out, tst-gettext5.out): Likewise.
25032 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25033 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25034 * intl/tst-codeset.sh: Remove.
25035 * intl/tst-gettext3.sh: Likewise.
25036 * intl/tst-gettext5.sh: Likewise.
25037
2ae1ae5c
RM
250382012-08-17 Roland McGrath <roland@hack.frob.com>
25039
c31fdb83
RM
25040 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25041 * sysdeps/unix/syscalls.list: ... here.
25042
a0844057
RM
25043 * sysdeps/posix/getaddrinfo.c
25044 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25045 (gaiconf_init, gaiconf_reload): Use them.
25046 [!_STATBUF_ST_NSEC]
25047 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25048 Define using time_t rather than struct timespec.
25049
750c1f2a
RM
25050 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25051 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25052 Macros removed.
25053 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25054 [!NO_THREADS].
25055 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25056 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25057 Likewise.
25058
2ae1ae5c
RM
25059 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25060 __libc_cleanup_push argument.
25061
e66a42f5
RM
25062 * bits/param.h: New file.
25063 * misc/sys/param.h: New file.
25064 * include/sys/param.h: New file.
25065 * misc/Makefile (headers): Add bits/param.h.
25066 * sysdeps/generic/sys/param.h: File removed.
25067 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25068 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25069 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 25070 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 25071
b7c08a66
RM
25072 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25073 last change.
25074
b2e1c562
RM
25075 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25076 [_IO_MTSAFE_IO].
25077 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25078 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25079 New macros.
25080
c75ccd4c
RM
25081 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25082 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25083 rather than -D_IO_MTSAFE_IO conditionally.
25084 * stdio-common/Makefile (CPPFLAGS): Likewise.
25085 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25086 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25087 Use $(libio-mtsafe).
25088 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25089 of -D_IO_MTSAFE_IO.
25090 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25091 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25092 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25093 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25094 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25095 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25096 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25097 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25098 (CFLAGS-fread_u_chk.c): Likewise.
25099 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25100 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25101 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25102 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25103 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25104 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25105 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25106 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25107 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25108
25109 * libio/Makefile: Test [$(libc-reentrant) = yes]
25110 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25111
25112 * Makeconfig
25113 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25114 * sysdeps/pthread/configure: File removed.
25115 * sysdeps/pthread/Makeconfig: New file.
25116 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25117 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25118
d9195db8
GB
251192012-08-16 Gary Benson <gbenson@redhat.com>
25120
25121 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25122 unmapping the first object in a namespace.
25123
86466cd9
RM
251242012-08-16 Roland McGrath <roland@hack.frob.com>
25125
25126 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25127 (__internal_setnetgrent): ... this. Add internal_function to
25128 definition. Add libc_hidden_def.
25129 (setnetgrent): Update caller.
25130 (internal_endnetgrent): Renamed to ...
25131 (__internal_endnetgrent): ... this. Add internal_function to
25132 definition. Add libc_hidden_def.
25133 (endnetgrent): Update caller.
25134 (internal_getnetgrent_r): Renamed to ...
25135 (__internal_getnetgrent_r): ... this. Add internal_function to
25136 definition. Add libc_hidden_def.
25137 (__getnetgrent_r): Update caller.
25138 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25139
c3c8283c
JM
251402012-08-16 Joseph Myers <joseph@codesourcery.com>
25141
25142 * stdlib/longlong.h: Update from GCC.
25143
db1ee0a8
RM
251442012-08-16 Roland McGrath <roland@hack.frob.com>
25145
25146 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25147 on _QL, which is set by umul_ppmm but never used.
25148 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25149 variables, which are set by GMP macros but never used.
25150 * stdio-common/_itowa.c (_itowa): Likewise.
25151 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25152 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25153
30f69637
CD
251542012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25155
25156 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25157 struct La_sh_regs is not constant.
25158 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25159 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25160 and struct La_sparc64_regs are not constant.
25161
93a78ac4
JM
251622012-08-16 Joseph Myers <joseph@codesourcery.com>
25163
25164 * sysdeps/unix/sysv/linux/kernel-features.h
25165 (__ASSUME_POSIX_TIMERS): Remove.
25166 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25167 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25168 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25169 Make code unconditional.
25170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25171 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25172 Make code unconditional.
25173 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25174 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25175 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25176 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25177 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25178 Make code unconditional.
25179 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25180 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25181 (__libc_missing_posix_timers): Remove.
25182
dd924cd7
RM
251832012-08-15 Roland McGrath <roland@hack.frob.com>
25184
4b4f2771
RM
25185 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25186 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25187
601c888b
RM
25188 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25189
176790a7
RM
25190 * elf/dl-sym.c: Include <stdlib.h>.
25191
329bc018
RM
25192 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25193 constants, which avoids warnings in 32-bit builds.
25194
e04e272d
RM
25195 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25196 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25197
952bf94a
RM
25198 * misc/lseek.c: File moved to ...
25199 * io/lseek.c: ... here.
25200
7c99b50a
RM
25201 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25202
dd924cd7
RM
25203 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25204 shifting LEN more than 31 bits at once.
25205
b3f479a8
LD
252062012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25207
25208 [BZ #14195]
8c4ae0d4
RM
25209 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25210 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25211 * string/test-strncasecmp.c (check1): Renamed to...
25212 (bz12205): ...this.
25213 (bz14195): Add new testcase for two empty input strings and N > 0.
25214 (test_main): Call new testcase, adapt for renamed function.
25215
9c55864e
AJ
252162012-08-15 Andreas Jaeger <aj@suse.de>
25217
25218 [BZ #14090]
25219 * crypt/md5test2.c: New test, based on test supplied by Serge
25220 Belyshev <belyshev@depni.sinp.msu.ru>.
25221 * crypt/Makefile (xtests): Add md5test-giant..
25222 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25223
02dcb6c5
PE
252242012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25225
25226 [BZ #14090]
25227 * crypt/md5.c (md5_process_block): Don't assume the buffer
25228 length is less than 2**32.
25229 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25230 length is less than 2**64.
25231
a3f95dcc
RM
252322012-08-15 Roland McGrath <roland@hack.frob.com>
25233
be75d758
RM
25234 * string/str-two-way.h: Include <sys/param.h>.
25235 (MAX): Macro removed.
25236
7312ca90
RM
25237 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25238 Move #define and #undef of memmove to just before and after
25239 including <string.h>.
25240
9a0a5486
RM
25241 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25242 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25243 and after including <string.h>. Move declarations of
25244 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25245 to before #include "string/memmove.c".
25246
67cc348d
RM
25247 * include/dirent.h: Declare __getdirentries.
25248
a3f95dcc
RM
25249 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25250 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25251
ca98e171
MF
252522012-08-14 Mike Frysinger <vapier@gentoo.org>
25253
25254 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25255 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25256 * sysdeps/i386/configure: Regenerated.
25257 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25258 STABS_CURRENT_FILE, and STABS_FUN.
25259 (END): Remove call to STABS_FUN_END.
25260 (STABS_CURRENT_FILE1): Delete.
25261 (STABS_CURRENT_FILE): Likewise.
25262 (STABS_FUN): Likewise.
25263 (STABS_FUN_END): Likewise.
25264 (STABS_FUN2): Likewise.
25265 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25266 * sysdeps/x86_64/configure: Regenerated.
25267
5908bf46
RM
252682012-08-14 Roland McGrath <roland@hack.frob.com>
25269
25270 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25271 * elf/dl-lookup.c: Likewise.
5908bf46 25272
f2c05b9e
JM
252732012-08-14 Joseph Myers <joseph@codesourcery.com>
25274
25275 * sysdeps/unix/sysv/linux/kernel-features.h
25276 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25277 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25278 unconditionally.
25279 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25280 unconditionally.
25281 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25282 condition on __ASSUME_CLONE_THREAD_FLAGS.
25283
e11f5155
AJ
252842012-08-14 Andreas Jaeger <aj@suse.de>
25285
25286 * sysdeps/i386/fpu/libm-test-ulps: Update.
25287
51a9ba86
MK
252882012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25289
2fdd4f78
AJ
25290 * include/atomic.h (atomic_exchange_and_add): Split into ...
25291 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25292 New atomic macros.
51a9ba86 25293
ba6cba9e
MT
252942012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25295
25296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25297
42443a47
JL
252982012-08-13 Jeff Law <law@redhat.com>
25299
25300 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25301 null byte in the output string.
25302
121dce05
JM
253032012-08-10 Joseph Myers <joseph@codesourcery.com>
25304
25305 * sysdeps/unix/sysv/linux/kernel-features.h
25306 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25307 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25308 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25309 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25310 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25311 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25312 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25313
bf51f568
JL
253142012-08-09 Jeff Law <law@redhat.com>
25315
25316 [BZ #13939]
25317 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25318 When avoid_arena is set, don't retry in the that arena. Pick the
25319 next one, whatever it might be.
25320 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25321 (arena_lock): Pass in new parameter to arena_get2.
25322 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25323 arena_get2.
25324 (__libc_malloc): Unify retrying after main arena failure with
25325 __libc_memalign version.
25326 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25327
f85fa270
L
253282012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25329
25330 [BZ #14166]
25331 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25332 to __redirect_strstr.
25333 (__strstr_sse42): Use typeof __redirect_strstr.
25334 (__strstr_ia32): Likewise.
25335 (__libc_strstr): New prototype.
25336 (strstr): Renamed to ...
25337 (__libc_strstr): This.
25338 (strstr): New strong alias of __libc_strstr.
25339 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25340 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25341 __redirect_time.
25342 Include <time.h>.
25343 (__libc_time): New prototype.
25344 (time_ifunc): Replace time with __libc_time.
25345 (time): New strong alias and hidden definition of __libc_time.
25346 (__GI_time): Remove strong alias.
25347 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25348 Include <stddef.h>.
25349 (memmove): Redefined to __redirect_memmove.
25350 (__memmove_sse2): Use typeof __redirect_memmove.
25351 (__memmove_ssse3): Likewise.
25352 (__memmove_ssse3_back): Likewise.
25353 (__libc_memmove): New prototype.
25354 (memmove): Renamed to ...
25355 (__libc_memmove): This.
25356 (memmove): New strong alias of __libc_memmove.
25357
33b4a91e
MS
253582012-08-08 Mark Salter <msalter@redhat.com>
25359
25360 * elf/elf.h
25361 (R_MN10300_TLS_GD): Define.
25362 (R_MN10300_TLS_LD): Likewise.
25363 (R_MN10300_TLS_LDO): Likewise.
25364 (R_MN10300_TLS_GOTIE): Likewise.
25365 (R_MN10300_TLS_IE): Likewise.
25366 (R_MN10300_TLS_LE): Likewise.
25367 (R_MN10300_TLS_DTPMOD): Likewise.
25368 (R_MN10300_TLS_DTPOFF): Likewise.
25369 (R_MN10300_TLS_TPOFF): Likewise.
25370 (R_MN10300_SYM_DIFF): Likewise.
25371 (R_MN10300_ALIGN): Likewise.
25372 (R_MN10300_NUM): Update.
25373
b36137f1
JM
253742012-08-08 Joseph Myers <joseph@codesourcery.com>
25375
25376 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25377 Remove.
25378
cdd915fd
RM
253792012-08-08 Roland McGrath <roland@hack.frob.com>
25380
a2433aac
RM
25381 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25382
cdd915fd
RM
25383 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25384 sysdeps/unix -> sysdeps/posix move.
25385 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25386
bf9b740a
AM
253872012-08-07 Allan McRae <allan@archlinux.org>
25388
25389 [BZ #14303]
25390 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25391 (SUNOS_CPP): Likewise.
25392 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25393 not found.
25394 (open_input): Call CPP using execvp.
25395
93df14ee
JM
253962012-08-07 Joseph Myers <joseph@codesourcery.com>
25397
25398 * sysdeps/unix/sysv/linux/kernel-features.h
25399 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25400 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25401 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25402 (__ASSUME_WAITID_SYSCALL): Likewise.
25403 * sysdeps/unix/sysv/linux/dl-execstack.c
25404 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25405 code unconditional.
25406 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25407 conditional code.
25408 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25409 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25410 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25411 code.
25412 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25413 unconditional.
25414 [__ASSUME_WAITID_SYSCALL]: Likewise.
25415 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25416
d34689de
RM
254172012-08-07 Roland McGrath <roland@hack.frob.com>
25418
a281decc
RM
25419 * sysdeps/unix/closedir.c: Renamed to ...
25420 * sysdeps/posix/closedir.c: ... here.
25421 * sysdeps/unix/dirfd.c: Renamed to ...
25422 * sysdeps/posix/dirfd.c: ... here.
25423 * sysdeps/unix/dirstream.h: Renamed to ...
25424 * sysdeps/posix/dirstream.h: ... here.
25425 * sysdeps/unix/fdopendir.c: Renamed to ...
25426 * sysdeps/posix/fdopendir.c: ... here.
25427 * sysdeps/unix/opendir.c: Renamed to ...
25428 * sysdeps/posix/opendir.c: ... here.
25429 * sysdeps/unix/readdir.c: Renamed to ...
25430 * sysdeps/posix/readdir.c: ... here.
25431 * sysdeps/unix/readdir_r.c: Renamed to ...
25432 * sysdeps/posix/readdir_r.c: ... here.
25433 * sysdeps/unix/rewinddir.c: Renamed to ...
25434 * sysdeps/posix/rewinddir.c: ... here.
25435 * sysdeps/unix/seekdir.c: Renamed to ...
25436 * sysdeps/posix/seekdir.c: ... here.
25437 * sysdeps/unix/telldir.c: Renamed to ...
25438 * sysdeps/posix/telldir.c: ... here.
25439 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25440 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25441 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25442 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25443
22895b47
RM
25444 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25445 * bits/fcntl.h: ... here.
25446
707a53b6
RM
25447 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25448 not 0.
25449 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25450 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25451 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25452 (struct flock): Move l_start, l_len to the beginning.
25453 Use __pid_t for l_pid.
25454 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25455 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25456 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25457 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25458 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25459 [__USE_LARGEFILE64] (struct flock64): New type.
25460 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25461
f0bd3e25
RM
25462 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25463 * bits/dirent.h: ... here.
25464
d34689de
RM
25465 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25466 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25467
6dad2c06
JM
254682012-08-07 Joseph Myers <joseph@codesourcery.com>
25469
25470 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25471 Change from 2.6.0 to 2.6.16.
25472 * sysdeps/unix/sysv/linux/configure: Regenerated.
25473 * sysdeps/unix/sysv/linux/kernel-features.h
25474 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25475 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25476 version.
25477 (__ASSUME_UTIMES): Likewise.
25478 (__ASSUME_CLONE_STOPPED): Remove.
25479 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25480 architectures, not kernel version.
25481 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25482 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25483 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25484 (__ASSUME_WAITID_SYSCALL): Likewise.
25485 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25486 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25487 * README: State 2.6.16 as minimum Linux kernel version. Do not
25488 refer to older versions.
25489
03af9520
RM
254902012-08-06 Roland McGrath <roland@hack.frob.com>
25491
8e49df1d
RM
25492 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25493 Define alphasort64 as an alias.
25494 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25495 Define versionsort64 as an alias.
25496 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25497 Define scandir64 as an alias.
25498 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25499 Define scandirat64 as an alias.
25500 * dirent/alphasort64.c (alphasort64):
25501 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25502 * dirent/versionsort64.c: Likewise.
25503 * dirent/scandir64.c: Likewise.
25504 * dirent/scandirat64.c: Likewise.
25505 * sysdeps/wordsize-64/alphasort.c: File removed.
25506 * sysdeps/wordsize-64/alphasort64.c: File removed.
25507 * sysdeps/wordsize-64/scandir.c: File removed.
25508 * sysdeps/wordsize-64/scandir64.c: File removed.
25509 * sysdeps/wordsize-64/scandirat.c: File removed.
25510 * sysdeps/wordsize-64/scandirat64.c: File removed.
25511 * sysdeps/wordsize-64/versionsort.c: File removed.
25512 * sysdeps/wordsize-64/versionsort64.c: File removed.
25513 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25514 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25515 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25516 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25517 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25518 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25519 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25520 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25521
25522 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25523 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25524 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25525 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25526 [defined __arch64__ || defined __sparcv9]
25527 (__INO_T_MATCHES_INO64_T): New macro.
25528 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25529 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25530 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25531 * sysdeps/unix/sysv/linux/bits/dirent.h
25532 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25533 (_DIRENT_MATCHES_DIRENT64): New macro.
25534
03af9520
RM
25535 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25536 Define lockf64 as an alias.
25537 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25538 Define fseeko64 as an alias.
25539 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25540 Define ftello64 as an alias.
25541 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25542 Define _IO_fgetpos64 and fgetpos64 as aliases.
25543 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25544 Define _IO_fsetpos64 and fsetpos64 as aliases.
25545 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25546 Conditionalize body on this.
25547 * libio/fseeko64.c: Likewise.
25548 * libio/ftello64.c: Likewise.
25549 * libio/iofgetpos64.c: Likewise.
25550 * libio/iofsetpos64.c: Likewise.
25551 * sysdeps/wordsize-64/lockf.c: File removed.
25552 * sysdeps/wordsize-64/lockf64.c: File removed.
25553 * sysdeps/wordsize-64/fseeko.c: File removed.
25554 * sysdeps/wordsize-64/fseeko64.c: File removed.
25555 * sysdeps/wordsize-64/ftello.c: File removed.
25556 * sysdeps/wordsize-64/ftello64.c: File removed.
25557 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25558 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25559 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25560 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25561 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25562 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25563 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25564 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25565 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25566 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25567 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25568 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25569 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25570 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25571
25572 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25573 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25574 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25575 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25576 [defined __arch64__ || defined __sparcv9]
25577 (__OFF_T_MATCHES_OFF64_T): New macro.
25578 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25579 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25580 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25581 (__OFF_T_MATCHES_OFF64_T): New macro.
25582
c5757acd
L
255832012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25584
25585 * stdlib/secure-getenv.c (__secure_getenv): Replace
25586 GLIBC_2_16 with GLIBC_2_17.
25587
3a31811e
L
255882012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25589
25590 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25591 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25592
faa2bccb
DM
255932012-08-03 David S. Miller <davem@davemloft.net>
25594
25595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25596
85fe1997
JM
255972012-08-03 Joseph Myers <joseph@codesourcery.com>
25598
25599 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25600 Remove.
25601 (__ASSUME_CORRECT_SI_PID): Likewise.
25602 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25603 (__ASSUME_TMPFS_NAME): Likewise.
25604 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25605 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25606 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25607 (HAVE_AUX_SECURE): Make definition unconditional.
25608 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25609 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25610
4f75b7a0
RM
256112012-08-03 Roland McGrath <roland@hack.frob.com>
25612
25613 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25614 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25615 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25616 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25617 __eloop_threshold instead of SYMLOOP_MAX.
25618
25619 * sysdeps/generic/eloop-threshold.h: New file.
25620 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25621 of MAXSYMLINKS.
25622 * elf/chroot_canon.c (chroot_canon): Likewise.
25623
7aab07e4
JM
256242012-08-03 Joseph Myers <joseph@codesourcery.com>
25625
25626 [BZ #13717]
25627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25628 Change to 2.6.0 everywhere.
25629 * sysdeps/unix/sysv/linux/configure: Regenerated.
25630 * sysdeps/unix/sysv/linux/kernel-features.h
25631 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25632 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25633 kernel versions.
25634 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25635 (__ASSUME_FUTEX_REQUEUE): Remove.
25636 (__ASSUME_STATFS64): Define unconditionally.
25637 (__ASSUME_AT_SECURE): Likewise.
25638 (__ASSUME_CORRECT_SI_PID): Likewise.
25639 (__ASSUME_TGKILL): Define without depending on kernel version for
25640 i386.
25641 (__ASSUME_UTIMES): Likewise.
25642 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25643 kernel version.
25644 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25645 (__ASSUME_TMPFS_NAME): Likewise.
25646 * README: Update reference to Linux kernel versions.
25647
b67e9372
MP
256482012-08-02 Marek Polacek <polacek@redhat.com>
25649
1f529f7d 25650 [BZ# 14150]
b67e9372
MP
25651 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25652 libc_cv_asm_type_prefix with %.
25653 * configure: Regenerated.
d2441631
RM
25654 * include/libc-symbols.h: Remove comment about
25655 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25656 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25657 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25658 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25659 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25660 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25661 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25662 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25663 * elf/tst-unique2mod1.c: Likewise.
25664 * elf/tst-unique1mod2.c: Likewise.
25665 * elf/tst-unique1mod1.c: Likewise.
25666 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25667 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25668 Replace ASM_TYPE_DIRECTIVE with .type.
25669 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25670 * sysdeps/i386/sysdep.h: Likewise.
25671 * sysdeps/x86_64/sysdep.h: Likewise.
25672 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25674 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25675 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25676 * sysdeps/powerpc/powerpc32/sysdep.h:
25677 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25678 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25679 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25680 * sysdeps/i386/fpu/e_powf.S: Likewise.
25681 * sysdeps/i386/fpu/e_expl.S: Likewise.
25682 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25683 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25684 * sysdeps/i386/fpu/e_pow.S: Likewise.
25685 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25686 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25687 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25688 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25689 * sysdeps/i386/fpu/e_log2.S: Likewise.
25690 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25691 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25692 * sysdeps/i386/fpu/e_powl.S: Likewise.
25693 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25694 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25695 * sysdeps/i386/fpu/e_logl.S: Likewise.
25696 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25697 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25698 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25699 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25700 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25701 * sysdeps/i386/fpu/e_log.S: Likewise.
25702 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25703 * sysdeps/i386/fpu/e_logf.S: Likewise.
25704 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25705 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25706 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25707 * sysdeps/i386/fpu/e_log10.S: Likewise.
25708 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25709 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25710 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25711 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25712 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25713 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25714 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25715 * sysdeps/i386/i686/strtok.S: Likewise.
25716 * sysdeps/i386/i386-mcount.S: Likewise.
25717 * sysdeps/i386/strtok.S: Likewise.
25718 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25719 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25720 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25721 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25722 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25723 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25724 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25725 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25726 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25727 * sysdeps/x86_64/_mcount.S: Likewise.
25728 * sysdeps/x86_64/strtok.S: Likewise.
25729 * sysdeps/sh/_mcount.S: Likewise.
25730
2747bf9a
RM
257312012-08-01 Roland McGrath <roland@hack.frob.com>
25732
25733 * libio/iofopen.c: Include <fcntl.h>.
25734 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25735 (_IO_fopen64, fopen64): Define as aliases.
25736 * libio/iofopen64.c: Include <fcntl.h>.
25737 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25738 Conditionalize body on this.
25739 * sysdeps/wordsize-64/iofopen.c: File removed.
25740 * sysdeps/wordsize-64/iofopen64.c: File removed.
25741
3fb791b8
MP
257422012-08-01 Marek Polacek <polacek@redhat.com>
25743
25744 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25745 Use dlfcn directly instead of a variable.
25746 (binfmt-subdir): Do not define.
25747 (dlfcn): Likewise.
25748
a9f1039f
JM
257492012-08-01 Joseph Myers <joseph@codesourcery.com>
25750
23bddc06
JM
25751 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25752 Remove all definitions.
25753 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25754 <kernel-features.h>.
25755 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25756 (miss_F_GETOWN_EX): Remove all definitions.
25757 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25758 macro definition.
25759 [!__ASSUME_FCNTL64]: Remove conditional code.
25760 [__ASSUME_FCNTL64]: Make code unconditional.
25761 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25762 <kernel-features.h>.
25763 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25764 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25765 (lockf64) [__NR_fcntl64]: Make code unconditional.
25766 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25767
a9f1039f
JM
25768 * sysdeps/unix/sysv/linux/kernel-features.h
25769 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25770 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25771 Make code unconditional.
25772 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25773 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25775 [__NR_vfork]: Make code unconditional.
25776 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25777 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25779 [__NR_vfork]: Make code unconditional.
25780 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25781 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25782
09c0ee5f
RM
257832012-08-01 Roland McGrath <roland@hack.frob.com>
25784
48aec5b9
RM
25785 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25786 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25787
cd97c966
RM
25788 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25789 Define mkstemp64 as an alias.
3f55550c
RM
25790 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25791 Define mkstemps64 as an alias.
cd97c966
RM
25792 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25793 Define mkostemp64 as an alias.
b8625cfc
RM
25794 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25795 Define mkostemps64 as an alias.
cd97c966
RM
25796 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25797 Conditionalize body on this.
25798 * misc/mkostemp64.c: Likewise.
b8625cfc 25799 * misc/mkostemps64.c: Likewise.
3f55550c 25800 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25801 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25802 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25803 * sysdeps/wordsize-64/mkostemp.c: File removed.
25804 * sysdeps/wordsize-64/mkstemp.c: File removed.
25805 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25806 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25807 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25809
09c0ee5f
RM
25810 [BZ #14138]
25811 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25812 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25813 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25814 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25815
25816 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25817 compat_symbol macros from <shlib-compat.h> rather than the underlying
25818 default_symbol_version and symbol_version macros, so that DEFAULT
25819 lines in shlib-versions are respected.
25820 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25821
7e66ee51
FW
258222012-08-01 Florian Weimer <fweimer@redhat.com>
25823
25824 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25825 Declare with warn_unused_result.
25826 (setgid, setregid, setegid, setresgid): Likewise.
25827 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25828 Likewise.
25829 * WUR-REPORT: Remove set*id functions.
25830
d2a54255
PT
258312012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25832
25833 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25834
7ecdb005
RM
258352012-07-31 Roland McGrath <roland@hack.frob.com>
25836
b4180a5e 25837 [BZ #10191]
789bd351
RM
25838 * include/sys/socket.h (__libc_accept, __libc_accept4):
25839 Add attribute_hidden.
25840 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25841
40ce302d
RM
25842 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25843 use of PTR_MANGLE.
25844 * inet/getnetgrent_r.c (setup): Likewise.
25845
7ecdb005
RM
25846 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25847
e2eabb2c
DM
258482012-07-31 David S. Miller <davem@davemloft.net>
25849
25850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25851
d0419dbf
JM
258522012-07-31 Joseph Myers <joseph@codesourcery.com>
25853
25854 [BZ #13629]
25855 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25856 value between 1.0 and 2.0 and smaller part has absolute value less
25857 than 1.0.
25858 * math/s_clog10.c (__clog10): Likewise.
25859 * math/s_clog10f.c (__clog10f): Likewise.
25860 * math/s_clog10l.c (__clog10l): Likewise.
25861 * math/s_clogf.c (__clogf): Likewise.
25862 * math/s_clogl.c (__clogl): Likewise.
25863 * math/libm-test.inc (clog_test): Add more tests.
25864 (clog10_test): Likewise.
25865 * sysdeps/i386/fpu/libm-test-ulps: Update.
25866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25867
2bc13872
FW
258682012-07-31 Florian Weimer <fweimer@redhat.com>
25869
25870 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25871 Exit with zero in case no suitable GID is found, and write a
25872 message to standard error.
25873
bea9b193
RM
258742012-07-30 Roland McGrath <roland@hack.frob.com>
25875
25876 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25877 rather than to 1.
25878 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25879 (MAXPATHLEN): Removed.
25880 (NOGROUP, NODEV): New macros.
25881 (setbit, clrbit, isset, isclr): New macros.
25882 (howmany, roundup, powerof2): New macros.
25883 (DEV_BSIZE): New macro.
25884
25885 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25886 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25887
25888 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25889 definition on [!__NO_LONG_DOUBLE_MATH].
25890
25891 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25892 PTR_MANGLE and PTR_DEMANGLE.
25893
25894 * socket/accept4.c (accept4): Rename to __libc_accept4.
25895 Define accept4 as a weak alias.
25896
25897 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25898 on [_DIRENT_HAVE_D_TYPE].
25899 * io/ftw.c (ftw_dir): Likewise.
25900
25901 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25902
25903 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25904
25905 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25906 Use the BSD numbers rather than the arbitrary ones we had.
25907 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25908 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25909 (SIGXCPU, SIGXFSZ): New macros.
25910 (_NSIG): Now 32.
25911
25912 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25913 initializer on [_LIBC_REENTRANT].
25914
25915 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25916 definitions inside [_POSIX_MAPPED_FILES].
25917
25918 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25919
25920 * dirent/opendir.c: Include <fcntl.h>.
25921
25922 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25923 (__libc_getspecific): Likewise.
25924 (__libc_key_create): Likewise.
25925
25926 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25927 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25928 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25929 (tmpfile64): Define as alias.
25930 * sysdeps/wordsize-64/tmpfile.c: File removed.
25931 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25932 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25933 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25934
25935 * stdio-common/vfscanf.c: Include <stdbool.h>.
25936 * nss/makedb.c: Likewise.
25937 * stdio-common/_i18n_number.h: Likewise.
25938 * argp/argp-help.c: Likewise.
25939 * posix/wordexp.c: Likewise.
25940 * sysdeps/posix/spawni.c: Likewise.
25941 * nss/nss_files/files-initgroups.c: Likewise.
25942 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25943 * nss/nss_files/files-initgroups.c: Likewise.
25944 * nss/nss_db/db-netgrp.c: Likewise.
25945 * nss/nss_db/db-initgroups.c: Likewise.
25946 * io/fchmodat.c: Include <sys/stat.h>.
25947
25948 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25949 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25950
25951 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25952 [HAVE_MMAP].
25953
25954 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25955 Add multiple inclusion protection.
25956
e5abc686
DM
259572012-07-27 David S. Miller <davem@davemloft.net>
25958
25959 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25960
815e6fa3
GB
259612012-07-27 Gary Benson <gbenson@redhat.com>
25962
25963 [BZ #14298]
25964 * elf/rtld.c: Include <stap-probe.h>.
25965 (dl_main): Added static probes "init_start" and "init_complete".
25966 * elf/dl-load.c: Include <stap-probe.h>.
25967 (lose): Take new parameter "nsid".
25968 Added static probe "map_failed".
25969 (_dl_map_object_from_fd): Pass namespace id to lose.
25970 Added static probe "map_start".
25971 (open_verify): Pass namespace id to lose.
25972 * elf/dl-open.c: Include <stap-probe.h>.
25973 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25974 and "reloc_complete".
25975 * elf/dl-close.c: Include <stap-probe.h>.
25976 (_dl_close_worker): Added static probes "unmap_start" and
25977 "unmap_complete".
25978 * elf/rtld-debugger-interface.txt: New file documenting the above.
25979
9f98c16c
RM
259802012-07-26 Roland McGrath <roland@hack.frob.com>
25981
25982 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25983 rather than a string variable.
25984 * sunrpc/rpc_main.c (h_output): Likewise.
25985 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25986
f3c22df3
PT
259872012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25988
25989 * inet/check_native.c: New file.
25990
3129cfc6
JM
259912012-07-26 Joseph Myers <joseph@codesourcery.com>
25992
da865e95
JM
25993 [BZ #13629]
25994 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25995 if larger part has absolute value 1.0.
25996 * math/s_clog10.c (__clog10): Likewise.
25997 * math/s_clog10f.c (__clog10f): Likewise.
25998 * math/s_clog10l.c (__clog10l): Likewise.
25999 * math/s_clogf.c (__clogf): Likewise.
26000 * math/s_clogl.c (__clogl): Likewise.
26001 * math/libm-test.inc (clog_test): Add more tests.
26002 (clog10_test): Likewise.
26003 * sysdeps/i386/fpu/libm-test-ulps: Update.
26004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26005
3129cfc6
JM
26006 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26007 (pltexit): Likewise.
26008 (La_regs): Likewise.
26009 (La_retval): Likewise.
26010 (int_retval): Likewise.
26011 Update #error for removed macros to refer only to definitions in
26012 tst-audit.h.
26013 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26014 macro.
26015 (pltexit): Likewise.
26016 (La_regs): Likewise.
26017 (La_retval): Likewise.
26018 (int_retval): Likewise.
26019 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26020 macro.
26021 (pltexit): Likewise.
26022 (La_regs): Likewise.
26023 (La_retval): Likewise.
26024 (int_retval): Likewise.
26025 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26026 macro.
26027 (pltexit): Likewise.
26028 (La_regs): Likewise.
26029 (La_retval): Likewise.
26030 (int_retval): Likewise.
26031 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26032 macro.
26033 (pltexit): Likewise.
26034 (La_regs): Likewise.
26035 (La_retval): Likewise.
26036 (int_retval): Likewise.
26037 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26038 macro.
26039 (pltexit): Likewise.
26040 (La_regs): Likewise.
26041 (La_retval): Likewise.
26042 (int_retval): Likewise.
26043 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26044 macro.
26045 (pltexit): Likewise.
26046 (La_regs): Likewise.
26047 (La_retval): Likewise.
26048 (int_retval): Likewise.
26049 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26050 macro definitions in tst-audit.h.
26051 * sysdeps/i386/tst-audit.h: New file.
26052 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26053 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26054 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26055 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26056 * sysdeps/sh/tst-audit.h: Likewise.
26057 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26058 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26059 * sysdeps/x86_64/tst-audit.h: Likewise.
26060
bfc07087
AJ
260612012-07-26 Andreas Jaeger <aj@suse.de>
26062
b1b2aaf8
AJ
26063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26064 ptrace.
26065
26066 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26067 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26068 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26069 PTRACE_O_MASK.
26070 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26071 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26072 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26073
bfc07087
AJ
26074 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26075 value.
26076
26077 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26078 _sigsys.
26079 (si_call_addr, si_syscall, si_arch): Define new macro.
26080 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26081 _sigsys.
26082 (si_call_addr, si_syscall, si_arch): Define new marcro.
26083 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26084 _sigsys.
26085 (si_call_addr, si_syscall, si_arch): Define new macro.
26086 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26087 _sigsys.
26088 (si_call_addr, si_syscall, si_arch): Define new macro.
26089
89b4b02f
JM
260902012-07-25 Joseph Myers <joseph@codesourcery.com>
26091
26092 [BZ #13717]
26093 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26094 Change to 2.4.21 where previously 2.4.1.
26095 * sysdeps/unix/sysv/linux/configure: Regenerated.
26096 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26097 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26098 Linux kernel version.
26099 (__ASSUME_STD_AUXV): Remove.
26100 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26101 kernel version.
26102 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26103 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26104 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26105 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26106 (__ASSUME_NETLINK_SUPPORT): Likewise.
26107 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26108 (__no_netlink_support): Remove conditional definition.
26109 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26110 Remove.
26111 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26112 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26113 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26114 (if_nameindex_ioctl): Remove.
26115 (if_nameindex_netlink): Do not handle __no_netlink_support.
26116 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26117 code.
26118 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26119 Remove conditional code.
26120 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26121 code.
26122 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26123 unconditional.
26124 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26125 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26126 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26127 Remove.
26128 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26129 [!__ASSUME_STD_AUXV]: Remove conditional code.
26130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26131 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26132 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26134 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26135 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26136 code.
26137 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26139 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26140 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26141 conditional code.
26142 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26144 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26145 code.
26146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26147 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26148 conditional code.
26149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26150 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26151 code unconditional.
26152 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26153 conditional code.
26154 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26155 unconditional.
26156 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26157 conditional code.
26158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26159 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26160 unconditional.
26161 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26162 conditional code.
26163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26164 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26165 code unconditional.
26166 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26167 conditional code.
26168 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26169 unconditional.
26170 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26171 conditional code.
26172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26173 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26174 code unconditional.
26175 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26176 conditional code.
26177 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26178 unconditional.
26179 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26180 conditional code.
26181
842a39cd
AS
261822012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26183
26184 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26185 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26186 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26187 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26188 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26189 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26190 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26191 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26192 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26193 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26194 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26195 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26196 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26197 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26198 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26199 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26200 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26201 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26202 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26204 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26205 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26206 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26207
84b3fd84
FW
262082012-07-25 Florian Weimer <fweimer@redhat.com>
26209
26210 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26211 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26212 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26213 Introduce __libc_secure_getenv.
0c7936d5
FW
26214 * stdlib/Versions (2.17): Add secure_getenv
26215 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26216 * stdlib/secure-getenv.c: Rename __secure_getenv to
26217 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26218 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26219 * stdlib/tst-secure-getenv.c: New.
26220 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26221 * manual/startup.texi (Environment Access): Document
26222 secure_getenv.
84b3fd84
FW
26223 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26224 __libc_secure_getenv.
26225 * inet/ruserpass.c (ruserpass): Likewise.
26226 * malloc/mtrace.c (mtrace): Likewise.
26227 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26228 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26229 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26230 * sysdeps/posix/tempname.c: Likewise. Evaluate
26231 HAVE_SECURE_GETENV.
26232 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26233 __secure_getenv to __libc_secure_getenv.
84b3fd84 26234 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26236 Likewise.
26237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26238 Likewise.
26239 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26241 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26246
56e49b71
JM
262472012-07-25 Joseph Myers <joseph@codesourcery.com>
26248
26249 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26250 (struct La_i86_retval): Likewise.
26251 (struct La_x86_64_regs): Likewise.
26252 (struct La_x86_64_retval): Likewise.
26253 (struct La_x32_regs): Likewise.
26254 (struct La_x32_retval): Likewise.
26255 (struct La_ppc32_regs): Likewise.
26256 (struct La_ppc32_retval): Likewise.
26257 (struct La_ppc64_regs): Likewise.
26258 (struct La_ppc64_retval): Likewise.
26259 (struct La_sh_regs): Likewise.
26260 (struct La_sh_retval): Likewise.
26261 (struct La_s390_32_regs): Likewise.
26262 (struct La_s390_32_retval): Likewise.
26263 (struct La_s390_64_regs): Likewise.
26264 (struct La_s390_64_retval): Likewise.
26265 (struct La_sparc32_regs): Likewise.
26266 (struct La_sparc32_retval): Likewise.
26267 (struct La_sparc64_regs): Likewise.
26268 (struct La_sparc64_retval): Likewise.
26269 (struct audit_ifaces): Remove architecture-specific pltenter and
26270 pltexit members.
26271 * sysdeps/i386/ldsodefs.h: New file.
26272 * sysdeps/powerpc/ldsodefs.h: Likewise.
26273 * sysdeps/s390/ldsodefs.h: Likewise.
26274 * sysdeps/sh/ldsodefs.h: Likewise.
26275 * sysdeps/sparc/ldsodefs.h: Likewise.
26276 * sysdeps/x86_64/ldsodefs.h: Likewise.
26277
354691b7
MP
262782012-07-25 Marek Polacek <polacek@redhat.com>
26279
26280 [BZ #6808]
26281 * math/libm-test.inc (yn_test): Add another test.
26282 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26283 to ERANGE when the result is +-Inf.
26284 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26285 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26286 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26287 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26288
bf9e2071
JM
262892012-07-24 Joseph Myers <joseph@codesourcery.com>
26290
26291 * conform/data/time.h-data (NULL): Use macro-constant. Require
26292 equal to 0.
26293 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26294 clock_t.
26295 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26296
57633811
TS
262972012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26298
26299 * configure.in <sysdeps resolving>: Correct printing
26300 Implies_before.
26301 * configure: Regenerate.
26302
c23c33b0
TS
263032012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26304
26305 * math/w_ilogb.c: Include <limits.h>.
26306 * math/w_ilogbl.c: Likewise.
26307
b5982523
JM
263082012-07-20 Joseph Myers <joseph@codesourcery.com>
26309
26310 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26311 va_copy. Document allowing for unavailable va_copy only as
26312 pre-C99 compatibility.
26313 * manual/string.texi (Copying and Concatenation): Use va_copy
26314 instead of __va_copy in concat example.
26315
ac4ea442
PT
263162012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26317
26318 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26319 (__sendto): Use create_address_port. Initialize APORT and deallocate
26320 it if not null.
26321
f98eafbd
PT
26322 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26323 with O_NOLINK passed to __file_name_lookup.
26324
898c7aab
PT
26325 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26326 with O_NOLINK passed to __file_name_lookup.
26327
0ced335a
PT
26328 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26329 negative N or less than NGIDS.
26330
b3404dbd
PT
26331 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26332 type to string_t. Set ERANGE as errno and return it if NAME is not big
26333 enough. Use memcpy instead of strncpy.
26334
0f48659e
JM
263352012-07-20 Joseph Myers <joseph@codesourcery.com>
26336
26337 * elf/Makefile (check-data): Remove.
26338 (localplt.data): New vpath directive.
26339 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26340 instead of $(check-data).
26341 * scripts/data/localplt-generic.data: Move to ...
26342 * sysdeps/generic/localplt.data: ... here.
26343 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26344 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26345 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26347 ... here.
26348 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26350 ... here.
26351 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26353 ... here.
26354 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26356 ... here.
26357 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26359 ... here.
26360 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26362 ... here.
26363
d37cbdaa
AZ
263642012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26365
26366 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26367 PPC32 and PPC64 files.
26368 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26369 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26370
46f85fc2
AK
263712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26372
26373 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26374 __makecontext_ret to ...
26375 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26376 ... here and call exit if uc_link is NULL. New file.
26377 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26378 __makecontext_ret.S.
26379 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26380 __makecontext_ret to ...
26381 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26382 ... here and call exit if uc_link is NULL. New file.
26383 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26384 __makecontext_ret.S.
26385
08f43f9b
AK
263862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26387
26388 * elf/elf.h (R_390_IRELATIVE): New definition.
26389 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26390 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26391 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26392 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26393 (elf_machine_lazy_rel): Likewise.
26394 * sysdeps/s390/dl-irel.h: New file.
26395 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26396 * sysdeps/s390/s390-64/memset.S: New asm code.
26397 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26398 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26399 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26400 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26401 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26402 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26403 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26404 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26405 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26406 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26407 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26408 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26409 * sysdeps/s390/s390-32/memset.S: New asm code.
26410 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26411
3b05db33
MP
264122012-07-17 Marek Polacek <polacek@redhat.com>
26413
26414 [BZ #14349]
26415 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26416 * sysdeps/s390/s390-64/configure.in: Likewise.
26417 * sysdeps/sparc/configure.in: Likewise.
26418 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26419 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26420 * sysdeps/i386/configure.in: Likewise.
26421 * sysdeps/x86_64/configure.in: Likewise.
26422 * sysdeps/sh/configure.in: Likewise.
26423 * sysdeps/s390/s390-32/configure: Regenerated.
26424 * sysdeps/s390/s390-64/configure: Likewise.
26425 * sysdeps/x86_64/configure: Likewise.
26426 * sysdeps/sh/configure: Likewise.
26427 * sysdeps/powerpc/powerpc64/configure: Likewise.
26428 * sysdeps/powerpc/powerpc32/configure: Likewise.
26429 * sysdeps/sparc/configure: Likwise.
26430 * sysdeps/i386/configure: Likewise.
26431
a66877c6
MP
26432 * elf/dl-open.c: Comment fixes.
26433
cfc82fd8
JM
264342012-07-17 Joseph Myers <joseph@codesourcery.com>
26435
bd29910a
JM
26436 * Makefile [CXX] (check-data): Remove.
26437 [CXX] (c++-types.data): New vpath directive.
26438 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26439 vpath. Do not allow for C++ type data being missing.
26440 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26441 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26442 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26443 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26444 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26445 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26446 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26448 ... here.
26449 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26451 ... here.
26452 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26454 ... here.
26455 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26457 ... here.
26458 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26460 ... here.
26461 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26463 ... here.
26464 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26466 ... here.
26467 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26469
cfc82fd8
JM
26470 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26471 definitions to architecture-specific files.
26472 (TLS_IE): Likewise.
26473 (TLS_LD): Likewise.
26474 (TLS_GD): Likewise.
26475 * sysdeps/i386/tls-macros.h: New file.
26476 * sysdeps/powerpc/tls-macros.h: Likewise.
26477 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26478 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26479 * sysdeps/sh/tls-macros.h: Likewise.
26480 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26481 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26482 * sysdeps/x86_64/tls-macros.h: Likewise.
26483
f7db3170
TS
264842012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26485
07cbfc23
TS
26486 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26487 zero value for regular exit case.
26488
f7db3170
TS
26489 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26490 (__start_context): Preserve zero value for regular exit case.
26491
dc97c227
TS
264922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26493 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26494
26495 * manual/setjmp.texi (setcontext): Clarify normal process
26496 termination when uc_link is the null pointer.
26497 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26498 exit call.
26499
d0cd7d02
AS
265002012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26501
26502 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26503 preprocessor. Test for each exception mask separately.
26504
dd318934
AJ
265052012-07-16 Andreas Jaeger <aj@suse.de>
26506
26507 * po/ru.po: Update from translation team.
26508
8048311a
JM
265092012-07-15 Joseph Myers <joseph@codesourcery.com>
26510
26511 * conform/data/string.h-data (NULL): Use macro-constant. Require
26512 equal to 0.
26513 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26514 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26515 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26516 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26517 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26518
b637d46e
AJ
265192012-07-13 Andreas Jaeger <aj@suse.de>
26520
26521 * po/fr.po: Update from translation team.
26522
541428fe
MP
265232012-07-12 Marek Polacek <polacek@redhat.com>
26524
26525 [BZ #14173]
26526 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26527 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26528 loop condition.
26529
ec332e94
JM
265302012-07-12 Joseph Myers <joseph@codesourcery.com>
26531
26532 [BZ #13717]
26533 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26534 Change to 2.4.1 where previously 2.4.0.
26535 * sysdeps/unix/sysv/linux/configure: Regenerated.
26536 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26537 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26538 version.
26539 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26540 (__ASSUME_AT_CLKTCK): Remove.
26541 (__ASSUME_AT_PAGESIZE): Likewise.
26542 (__ASSUME_AT_XID): Likewise.
26543 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26544 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26545 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26546 unconditionally.
26547 (HAVE_AUX_PAGESIZE): Likewise.
26548 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26549 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26550 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26551
7b6e99be
JB
265522012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26553
26554 [BZ #14307]
26555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26556 the temporary buffer used to invoke __gethostbyname2_r,
26557 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26558 host_data / struct gaih_addrtuple.
26559 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26560 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26561 header file nss/nsswitch.h.
26562 * nss/nsswitch.h (global scope): Add definition of implementation
26563 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26564 resolv/nss_dns/dns-host.c).
26565
608404eb
AJ
265662012-07-11 Andreas Jaeger <aj@suse.de>
26567
26568 * po/fr.po: Update from translation team.
26569
71220aca
AJ
26570 * po/sv.po: Update from translation team
26571 * po/fr.po: Another update from translation team.
26572
28cfe843
AZ
265732012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26574
26575 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26576 for subnormals or multiply small sinh result by itself.
26577 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26579
6b90f981
DM
265802012-07-11 David S. Miller <davem@davemloft.net>
26581
26582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26583
c6825772
AS
265842012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26585
26586 [BZ #14347]
26587 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26588 (INTERNAL_MARK): Shift it here.
26589
7b8e0d49
MP
265902012-07-10 Marek Polacek <polacek@redhat.com>
26591
26592 [BZ #14151]
26593 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26594 libc_cv_asm_global_directive with .globl.
26595 * configure: Regenerated.
26596 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26597 with .globl.
26598 * sysdeps/i386/configure: Regenerated.
26599 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26600 with .globl.
26601 * sysdeps/x86_64/configure: Regenerated.
26602 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26603 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26604 * elf/tst-unique2mod2.c: Likewise.
26605 * elf/tst-unique2mod1.c: Likewise.
26606 * elf/tst-unique1mod2.c: Likewise.
26607 * elf/tst-unique1mod1.c: Likewise.
26608 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26609 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26610 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26611 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26612 * sysdeps/mach/sysdep.h: Likewise.
26613 * sysdeps/i386/sysdep.h: Likewise.
26614 * sysdeps/i386/i386-mcount.S: Likewise.
26615 * sysdeps/x86_64/_mcount.S: Likewise.
26616 * sysdeps/x86_64/sysdep.h: Likewise.
26617 * sysdeps/sh/_mcount.S: Likewise.
26618 * sysdeps/sh/sysdep.h: Likewise.
26619 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26620 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26621 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26622 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26623 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26624 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26625 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26626 * locale/localeinfo.h: Likewise.
26627 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26628 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26629
6c55cda3
RM
266302012-07-09 Roland McGrath <roland@hack.frob.com>
26631
26632 [BZ #14336]
26633 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26634 system".
26635 * manual/message.texi (The Uniforum approach): Likewise.
26636 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26637 (glibc iconv Implementation): Likewise.
26638
638a572e
JM
266392012-07-09 Joseph Myers <joseph@codesourcery.com>
26640
26641 [BZ #14337]
26642 * math/s_clog.c (__clog): Avoid scaling a value down where that
26643 could result in underflow.
26644 * math/s_clog10.c (__clog10): Likewise.
26645 * math/s_clog10f.c (__clog10f): Likewise.
26646 * math/s_clog10l.c (__clog10l): Likewise.
26647 * math/s_clogf.c (__clogf): Likewise.
26648 * math/s_clogl.c (__clogl): Likewise.
26649 * math/libm-test.inc (clog_test): Add more tests.
26650 (clog10_test): Likewise.
26651 * sysdeps/i386/fpu/libm-test-ulps: Update.
26652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26653
261f4859
AS
266542012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26655
0abaf3e4
AS
26656 [BZ #14283]
26657 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26658 by 7 not 8 to examine high bit of fractional part.
26659
261f4859
AS
26660 [BZ #14042]
26661 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26662 for call to __mcount_internal.
26663 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26664 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26665 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26666
f17ac40d
JM
266672012-07-06 Joseph Myers <joseph@codesourcery.com>
26668
9ad63c23
JM
26669 [BZ #14154]
26670 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26671 approximation for values within 0x1p-13f of an odd multiple of
26672 pi/4.
26673 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26674 exception. Add more tests.
26675 * sysdeps/i386/fpu/libm-test-ulps: Update.
26676
f17ac40d
JM
26677 [BZ #6778]
26678 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26679 inputs and return -1 for them. Do not check for +Inf in case not
26680 reachable for +Inf.
26681 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26682 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26683 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26684 and return -1 for them. Do not check for +Inf in case not
26685 reachable for +Inf.
26686 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26687 define.
26688 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26689 and return -1 for them. Do not check for +Inf in case not
26690 reachable for +Inf.
26691 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26692 spurious underflow.
26693 * sysdeps/i386/fpu/libm-test-ulps: Update.
26694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26695
fb21f89b
MF
266962012-07-06 Mike Frysinger <vapier@gentoo.org>
26697
26698 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26699
cdfe2c5e
JM
267002012-07-05 Joseph Myers <joseph@codesourcery.com>
26701
26702 [BZ #14157]
26703 [BZ #14331]
26704 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26705 could result in spurious underflow. Scale down values above
26706 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26707 * math/s_csqrtf.c (__csqrtf): Likewise.
26708 * math/s_csqrtl.c (__csqrtl): Likewise.
26709 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26710 spurious underflow.
26711 * sysdeps/i386/fpu/libm-test-ulps: Update.
26712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26713
70d35b67
AS
267142012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26715
704bc459
AS
26716 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26717 xopen-msg.sed.
26718 * catgets/xopen-msg.awk: New file.
26719 * catgets/xopen-msg.sed: Removed.
26720
70d35b67
AS
26721 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26722 po2text.sed.
26723 * intl/po2test.awk: New file.
26724 * intl/po2test.sed: Removed.
26725
ca61cf32
JM
267262012-07-04 Joseph Myers <joseph@codesourcery.com>
26727
26728 [BZ #14328]
26729 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26730 or multiply small sinh result by itself.
26731 * math/s_ctanf.c (__ctanf): Likewise.
26732 * math/s_ctanh.c (__ctanh): Likewise.
26733 * math/s_ctanhf.c (__ctanhf): Likewise.
26734 * math/s_ctanhl.c (__ctanhl): Likewise.
26735 * math/s_ctanl.c (__ctanl): Likewise.
26736 * math/libm-test.inc (ctan_test_tonearest): New function.
26737 (ctan_test_towardzero): Likewise.
26738 (ctan_test_downward): Likewise.
26739 (ctan_test_upward): Likewise.
26740 (ctanh_test_tonearest): Likewise.
26741 (ctanh_test_towardzero): Likewise.
26742 (ctanh_test_downward): Likewise.
26743 (ctanh_test_upward): Likewise.
26744 (main): Call these new functions.
26745 * sysdeps/i386/fpu/libm-test-ulps: Update.
26746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26747
ca48a46a
MF
267482012-07-03 Mike Frysinger <vapier@gentoo.org>
26749
26750 * .gitignore: Delete /ports entry.
26751
9d63d37d
AJ
267522012-07-03 Andreas Jaeger <aj@suse.de>
26753
26754 * po/bg.po: Update from translation team.
26755 * po/cs.po: Likewise.
26756 * po/de.po: Likewise.
26757 * po/hr.po: Likewise.
26758 * po/nl.pl: Likewise.
26759 * po/pl.po: Likewise.
26760 * po/vi.po: Likewise.
26761
370ca3d2
JM
267622012-07-03 Joseph Myers <joseph@codesourcery.com>
26763
95f5a9a8
JM
26764 * Makeconfig [!+link] (+link-before-libc): New variable.
26765 [!+link] (+link-after-libc): Likewise.
26766 [!+link] (+link-tests): Likewise.
26767 [!+link] (+link): Define in terms of $(+link-before-libc) and
26768 $(+link-after-libc).
26769 [!+link-static] (+link-static-before-libc): New variable.
26770 [!+link-static] (+link-static-after-libc): Likewise.
26771 [!+link-static] (+link-static-tests): Likewise.
26772 [!+link-static] (+link-static): Define in terms of
26773 $(+link-static-before-libc) and $(+link-static-after-libc).
26774 [build-shared] (link-libc-before-gnulib): New variable.
26775 [build-shared] (link-libc-tests): Likewise.
26776 [build-shared] (link-libc): Define in terms of
26777 $(link-libc-before-gnulib).
26778 [!build-shared] (link-libc-tests): New variable.
26779 (link-libc-static-tests): New variable.
26780 [!gnulib] (gnulib-arch): New variable.
26781 [!gnulib] (gnulib-tests): Likewise.
26782 [!gnulib] (static-gnulib-arch): Likewise.
26783 [!gnulib] (static-gnulib-tests): Likewise.
26784 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26785 Define with "=" instead of ":=".
26786 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26787 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26788 * Rules (binaries-all-notests): New variable.
26789 (binaries-all-tests): Likewise.
26790 (binaries-static-notests): Likewise.
26791 (binaries-static-tests): Likewise.
26792 (binaries-all): Define using $(binaries-all-notests) and
26793 $(binaries-all-tests).
26794 (binaries-static): Define using $(binaries-static-notests) and
26795 $(binaries-static-tests).
26796 (binaries-shared-tests): New variable.
26797 (binaries-shared-notests): Likewise.
26798 (binaries-shared): Remove variable.
26799 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26800 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26801 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26802 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26803 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26804 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26805 * elf/Makefile (sln-modules): New variable.
26806 (extra-objs): Add $(sln-modules:=.o).
26807 (ldconfig-modules): Add static-stubs.
26808 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26809 * elf/static-stubs.c: New file.
26810
7a845b2c
JM
26811 [BZ #14283]
26812 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26813 by 7 not 8 to examine high bit of fractional part. Use volatile
26814 variables when splitting into final array of floats if
26815 __FLT_EVAL_METHOD__ != 0.
26816 * math/libm-test.inc (cos_test): Add another test.
26817 (sin_test): Likewise.
26818 * sysdeps/i386/fpu/libm-test-ulps: Update.
26819
e2283f38
JM
26820 [BZ #14273]
26821 * math/libm-test.inc (cosh_test): Add more tests.
26822
370ca3d2
JM
26823 * version.h (RELEASE): Set to "development".
26824 (VERSION): Set to "2.16.90".
26825
ee9247c3
CD
268262012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26827
26828 * NEWS: Update copyright. Remove last-updated date.
26829 Mention math library bug fixes and timezone data changes.
26830 * README: Mention GNU/Hurd, x32, and HPPA support status.
26831
4648c381
TS
268322012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26833
26834 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26835
aac78a43
AJ
268362012-06-27 Andreas Jaeger <aj@suse.de>
26837
26838 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26839
ed3dbfad
AJ
268402012-06-25 Andreas Jaeger <aj@suse.de>
26841
26842 * sysdeps/s390/fpu/libm-test-ulps: Update.
26843
4d0ee855
AS
268442012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26845 Thomas Schwinge <thomas@codesourcery.com>
26846
26847 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26848 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26849 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26850 fanotify_mark.
26851
af1bce34
TS
268522012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26853
a9fa33ba
TS
26854 * sysdeps/mach/start.c: Remove file.
26855 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26856 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26857 * sysdeps/sh/init-first.c: Likewise.
26858
58f902b8
TS
26859 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26860 registers for frame unwinding purposes, add CFI directives.
26861 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26862 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26863 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26864 Likewise.
26865
1518f58b
TS
26866 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26867 __fortify_fail returning.
26868 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26869
db9b5059
TS
26870 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26871 sysdeps/sh/____longjmp_chk.S.
26872 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26873 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26874 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26875 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26876
967705fe
TS
26877 * sysdeps/sh/abort-instr.h: New file.
26878 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26879 process in case exit returns.
26880
a9def8c4
TS
26881 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26882 initialize the GOT register before use.
26883
2a649725
TS
26884 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26885 calculation of ARGC > 4.
26886
af1bce34
TS
26887 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26888 meaningful names to some local labels.
26889
d230f50a
KK
268902012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26891 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26892
26893 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26894 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26895 (__arch_compare_and_exchange_val_16_acq): Likewise.
26896 (__arch_compare_and_exchange_val_32_acq): Likewise.
26897 (atomic_exchange_and_add): Fix gUSA sequence.
26898 (atomic_add): Likewise.
26899 (atomic_add_negative): Likewise.
26900 (atomic_add_zero): Likewise.
26901 (atomic_bit_test_set): Likewise.
26902
0479b305
AS
269032012-06-22 Andreas Schwab <schwab@redhat.com>
26904
26905 [BZ #13579]
26906 * include/link.h (struct link_map): Add l_free_initfini.
26907 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26908 l_initfini.
26909 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26910 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26911 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26912 set.
26913
0e3933b9
CD
269142012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26915
26916 * configure.in: Use AC_LANG_SOURCE.
26917 * configure: Regenerate.
26918
4248b1b1
RM
269192012-06-22 Roland McGrath <roland@hack.frob.com>
26920
26921 * configure.in (libc_cv_localstatedir): New substituted variable.
26922 * configure: Regenerated.
26923 * config.make.in (localstatedir): New variable, substituted from
26924 libc_cv_localstatedir.
26925 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26926 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26927 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26928 * sysdeps/gnu/configure: Regenerated.
26929
006dd861
JL
269302012-06-21 Jeff Law <law@redhat.com>
26931
26932 [BZ #14277]
26933 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26934 free. Simplify list management for _LIBC case.
26935
79662d42
JM
269362012-06-21 Joseph Myers <joseph@codesourcery.com>
26937
b7abb4bf
JM
26938 [BZ #14273]
26939 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26940 Clear sign bit of 64-bit integer value before comparing against
26941 overflow value.
26942
79662d42
JM
26943 * sysdeps/mach/configure: Regenerated.
26944
1f150908
L
269452012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26946
26947 [BZ #14278]
26948 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26949
28363bbf
JL
269502012-06-21 Jeff Law <law@redhat.com>
26951
26952 [BZ #13882]
26953 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26954 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26955 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26956 * elf/dl-open.c (dl_open_worker): Likewise.
26957
09615db4
CD
269582012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26959
26960 * scripts/list-sources.sh: Scan PORTS for translations.
26961 * po/libc.pot: Regenerated.
26962
2174c6dd
AJ
269632012-06-21 Andreas Jaeger <aj@suse.de>
26964
26965 [BZ #12194]
26966 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26967 warning.
26968 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26969 * bits/byteswap-16.h (__bswap_16): Likewise.
26970 * bits/byteswap.h (__bswap_constant_16): Likewise.
26971
3ee947b1
L
269722012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26973
26974 [BZ #14117]
a2f34833
L
26975 * sysdeps/i386/fpu_control.h: Removed.
26976 * sysdeps/x86_64/fpu_control.h: Moved to ...
26977 * sysdeps/x86/fpu_control.h: Here.
26978
3ee947b1
L
26979 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26980 (_FPU_SETCW): Likewise.
26981
ed1825f8
L
269822012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26983
25f1282a
L
26984 [BZ #14117]
26985 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26986 * sysdeps/x86/fpu/bits/mathinline.h: This.
26987 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26988
ed1825f8
L
26989 [BZ #14050]
26990 [BZ #14117]
26991 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26992 functions if __x86_64__ is defined.
26993
36d54b74
CLT
269942012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26995
26996 * string/endian.h: Add !__ASSEMBLER__ condition for including
26997 conversion interfaces.
26998
10285c21
JM
269992012-06-15 Joseph Myers <joseph@codesourcery.com>
27000
27001 [BZ #14241]
27002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27003 of ABS(x) in calculating zero to negative powers other than odd
27004 integers.
27005 * math/libm-test.inc (pow_test): Add more tests.
27006
06c5abbd
AJ
270072012-06-15 Andreas Jaeger <aj@suse.de>
27008
27009 * manual/contrib.texi (Contributors): Update entry of Liubov
27010 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27011 Machado Filho.
27012
a3aeac40
CH
270132012-06-15 Cyril Hrubis <metan@ucw.cz>
27014
27015 * string/string.h: Add __wur to GNU version of strerror_r.
27016
49bdf4c1
L
270172012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27018
27019 [BZ #14229]
27020 * string/Makefile (tests): Add tst-strtok_r.
27021 * string/tst-strtok_r.c: New file.
27022 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27023 RAX_LP/RDX_LP on SAVE_PTR.
27024
834f9b8d
RM
270252012-06-14 Roland McGrath <roland@hack.frob.com>
27026
27027 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27028
75fa1921
JM
270292012-06-14 Joseph Myers <joseph@codesourcery.com>
27030
27031 * libm_test.inc (csqrt_test): Allow more spurious underflow
27032 exceptions.
27033 (j0_test): Likewise.
27034 (j1_test): Likewise.
27035 (y0_test): Likewise.
27036 (y1_test): Likewise.
27037
771766df
CD
270382012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27039
27040 * po/Makefile (libc.pot): Use UTF-8 charset.
27041
ceb9e56b
PP
270422012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27043
27044 [BZ #14210]
27045 Suppress sign-conversion warning from FD_SET.
27046 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27047 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27048 not unsigned long int.
27049 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27050
ddb28975
L
270512012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27052
27053 [BZ #14050]
27054 [BZ #14117]
27055 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27056 __extern_always_inline instead of __extern_inline.
27057 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27058 (__signbit): Likewise.
27059 (__signbitl): Support C++ namespace.
27060 (lrintf): New inline function.
27061 (lrint): Likewise.
27062 (llrintf): Likewise.
27063 (llrint): Likewise.
27064 (fmaxf): Likewise.
27065 (fmax): Likewise.
27066 (fminf): Likewise.
27067 (fmin): Likewise.
27068 (rint): Likewise.
27069 (rintf): Likewise.
27070 (ceil): Likewise.
27071 (ceilf): Likewise.
27072 (floor): Likewise.
27073 (floorf): Likewise.
27074 (nearbyint): Likewise.
27075 (nearbyintf): Likewise.
27076
d7b4fb26
TS
270772012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27078
27079 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27080 non-default versions.
27081
eb55f5c2
RM
270822012-06-11 Roland McGrath <roland@hack.frob.com>
27083
27084 [BZ #14218]
27085 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27086
366af02c
TS
270872012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27088
99ff6e5c
TS
27089 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27090 (FE_UPWARD, FE_DOWNWARD): Don't define.
27091 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27092 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27093
366af02c
TS
27094 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27095 reading it.
27096 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27097 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27098
793ea851
KK
270992012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27100
27101 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27102 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27103 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27104 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27105
a728a38f
L
271062012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27107
27108 [BZ #14117]
c08010c7
L
27109 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27110 * sysdeps/i386/fpu/Implies: New file.
27111 * sysdeps/x86_64/fpu/Implies: Likewise.
27112 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27113 * sysdeps/x86/fpu/bits/fenv.h: This.
27114
a728a38f
L
27115 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27116 __SSE_MATH__.
27117
6e230d11
SP
271182012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27119
27120 [BZ #14134]
27121 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27122 character 0xffff that matches the last element of the
27123 conversion table.
27124
1b671feb
AZ
271252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27126
27127 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27128 fmodl commit.
27129
6043738b
AZ
271302012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27131
27132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27133 values higher than 25.6283.
27134
34ae0b32
AZ
271352012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27136
27137 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27138 subnormal exponent extraction and add some __builtin_expect.
27139 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27140 Fix for subnormal mantissa calculation.
27141
1214ec8f
MF
271422012-06-04 Mike Frysinger <vapier@gentoo.org>
27143
27144 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27145 cpu2 is -1 and errno is not ENOSYS.
27146
f3d1f93c
L
271472012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27148
27149 [BZ #14117]
0e4a3cd7
L
27150 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27151 * sysdeps/x86/bits/string.h: This.
27152 * sysdeps/x86_64/bits/string.h: Removed.
27153
6704c645
L
27154 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27155 if not compiling for x86-64, but compiling for >= i486.
27156
48495318
L
27157 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27158 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27159
14adcbfc
L
27160 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27161 New macro from Linux kernel 3.4.0.
27162 (FP_XSTATE_MAGIC2): Likewise.
27163 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27164 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27165 (struct _fpx_sw_bytes): New struct.
27166 (struct _xsave_hdr): Likewise.
27167 (struct _ymmh_state): Likewise.
27168 (struct _xstate): Likewise.
27169
68e408ab
L
27170 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27171 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27172 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27173 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27174 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27175 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27176
f3d1f93c
L
27177 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27178 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27179 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27180 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27181 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27182 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27183
d9dc34cd
TMQMF
271842012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27185
27186 [BZ #13743]
27187 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27188 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27189 (sysdep_headers): Include sys/platform/ppc.h.
27190 * sysdeps/powerpc/test-gettimebase.c: Test for
27191 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27192 * manual/Makefile (appendices): Include platform.texi.
27193 * manual/contrib.texi (Contributors): Update @node pointers.
27194 * manual/maint.texi (Maintenance): Likewise.
27195 (Platform): New node.
27196 * manual/platform.texi: New file. Document the new features.
27197
4af3879c
SP
271982012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27199 Jakub Jelinek <jakub@redhat.com>
27200
27201 [BZ #14188]
27202 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27203 where __builtin_expect is unavailable.
27204
2fd6ff13
DM
272052012-06-03 David S. Miller <davem@davemloft.net>
27206
27207 * stdlib/longlong.h: Updated from GCC.
27208
173f7220
AS
272092012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27210
27211 [BZ #14042]
27212 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27213 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27214 __mcount_internal.
27215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27216 (GLIBC_2.16): Likewise.
27217
f34a1c6f
L
272182012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27219
27220 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27221
88a4576f
JM
272222012-06-01 Joseph Myers <joseph@codesourcery.com>
27223
ea32bcdd
JM
27224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27225 (default-abi): New variable.
27226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27227 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27228 variable.
27229 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27230 Likewise.
27231 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27232 Likewise.
27233 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27234 Likewise.
27235
88a4576f
JM
27236 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27237 definition. Document in comment.
27238
402fe938
DM
272392012-06-01 David S. Miller <davem@davemloft.net>
27240
27241 * stdlib/longlong.h: Updated from GCC.
27242
3553723f
L
272432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27244
27245 [BZ #14117]
3bd872c4
L
27246 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27247 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27248 sys/debugreg.h sys/io.h here.
27249 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27250 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27251 sys/io.h.
27252 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27253 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27254 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27255 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27256 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27257 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27258
3553723f
L
27259 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27260 Define only if __x86_64__ is defined.
27261
4842e4fe
JM
272622012-06-01 Joseph Myers <joseph@codesourcery.com>
27263
c5bfe3d5
JM
27264 [BZ #14048]
27265 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27266 Use int64_t for variable i.
27267 * math/libm-test.inc (fmod_test): Add more tests.
27268
4842e4fe
JM
27269 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27270 z computation is not scheduled after fetestexcept.
27271 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27272 Use math_force_eval instead of asm to ensure calculation scheduled
27273 before exception test.
27274 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27275 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27276
efb73488
AJ
272772012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27278
27279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27280 computation is not scheduled after fetestexcept.
27281
29bcce7c
L
272822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27283
27284 [BZ #14117]
27285 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27286 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27287
73a68f94
AZ
272882012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27289
27290 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27291 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27292
67b6df78
L
272932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27294
edf2933a 27295 [BZ #14117]
ebc64a18
L
27296 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27297 <bits/wordsize.h>.
27298 (__WCHAR_MIN): Support __WORDSIZE == 64.
27299 (__WCHAR_MAX): Likewise.
27300
edf2933a
L
27301 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27302 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27303
57c6cf40
L
27304 [BZ #14183]
27305 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27306 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27307
67b6df78 27308 [BZ #14117]
8eb6281e
L
27309 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27310 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27311
aac639f4
L
27312 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27313 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27314
67b6df78
L
27315 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27316 Defined to 1 if __x86_64__ isn't defined.
27317 (_STAT_VER_LINUX_OLD): New.
27318 (st_atime): Remove duplicate.
27319 (st_mtime): Likewise.
27320 (st_ctime): Likewise.
27321
1c2cfe81
DM
273222012-05-31 David S. Miller <davem@davemloft.net>
27323
27324 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27325 entries.
27326
5be8418c
AS
273272012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27328
e7725326
AS
27329 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27330 gen-libm-test.pl.
27331
5be8418c
AS
27332 [BZ #14132]
27333 * elf/dl-reloc.c: Include <_itoa.h>.
27334 (_dl_reloc_bad_type): Remove use of INTUSE.
27335 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27336 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27337 * stdio-common/psiginfo.c (psiginfo): Likewise.
27338 * stdio-common/psignal.c (psignal): Likewise.
27339 * string/strsignal.c (strsignal): Likewise.
27340 * include/signal.h (_sys_siglist): Declare hidden proto.
27341 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27342 INTVARDEF with libc_hidden_data_def.
27343 * stdio-common/itoa-udigits.c: Likewise.
27344 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27345 (_itoa_lower_digits_internal): Remove declaration.
27346 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27347 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27348 (_sys_sigabbrev_internal): Remove aliases.
27349 (_sys_siglist): Define hidden alias.
27350
507352f1
MT
273512012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27352
27353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27354 bits/sysctl.h.
27355
42bbb1c3
L
273562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27357
27358 [BZ #14117]
6bd784b6
L
27359 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27360 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27361
8bca20f0
L
27362 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27363 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27364 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27365 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27366 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27367 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27368
f9e890a9
L
27369 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27370 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27371 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27372
471101a1
L
27373 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27374 with __addr.
27375 (insw): Likewise.
27376 (insl): Likewise.
27377 (outsb): Likewise.
27378 (outsw): Likewise.
27379 (outsl): Likewise.
27380
6451c862
L
27381 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27382 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27383 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27384
a254b8c9
L
27385 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27386 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27387 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27388 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27389 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27390 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27391
b8dfdd92
L
27392 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27393 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27394
578cd270
L
27395 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27396 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27397
de662f5f
L
27398 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27399 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27400 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27401
25653439
L
27402 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27403 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27404 to ...
27405 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27406
6bad24a0
L
27407 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27408 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27409 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27410
42bbb1c3
L
27411 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27412 for x86-64.
27413 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27414
2d10d547
JM
274152012-05-31 Joseph Myers <joseph@codesourcery.com>
27416
27417 * math/math.h (M_El): Use two more decimal places.
27418 (M_LOG2El): Likewise.
27419 (M_LOG10El): Likewise.
27420 (M_LN2l): Likewise.
27421 (M_LN10l): Likewise.
27422 (M_PIl): Likewise.
27423 (M_PI_2l): Likewise.
27424 (M_PI_4l): Likewise.
27425 (M_1_PIl): Likewise.
27426 (M_2_PIl): Likewise.
27427 (M_2_SQRTPIl): Likewise.
27428 (M_SQRT2l): Likewise.
27429 (M_SQRT1_2l): Likewise.
27430
f230c29b
DM
274312012-05-31 David S. Miller <davem@davemloft.net>
27432
27433 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27434 values between float registers.
27435 * sysdeps/sparc/sparc64/memset.S: Likewise.
27436 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27437
fed806c3
MF
274382012-05-31 Mike Frysinger <vapier@gentoo.org>
27439
27440 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27441 -D_FORTIFY_SOURCE=1.
27442 (CPPFLAGS-tst-longjmp_chk.c): Define.
27443 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27444 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27445 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27446 CFLAGS-tst-wchar-h.c.
27447
30917259
MP
274482012-05-31 Marek Polacek <polacek@redhat.com>
27449
27450 [BZ #14132]
27451 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27452 __endmntent_internal): Remove declaration.
27453 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27454 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27455 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27456
1c58d5dc
DM
274572012-05-30 David S. Miller <davem@davemloft.net>
27458
27459 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27460 (___Q_simulate_exceptions): Use real FP ops rather than writing
27461 into the %fsr.
27462 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27463 Likewise.
27464
7dc00e0d
L
274652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27466
27467 [BZ #14117]
0bd53985
L
27468 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27469 * sysdeps/x86/bits/xtitypes.h: This.
27470
3a257e66
L
27471 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27472 * sysdeps/x86/bits/wordsize.h: This.
27473
62f62904
L
27474 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27475 * sysdeps/x86/bits/huge_vall.h: This.
27476
404fe9d9
L
27477 * sysdeps/i386/bits/select.h: Removed.
27478 * sysdeps/x86_64/bits/select.h: Renamed to ...
27479 * sysdeps/x86/bits/select.h: This.
27480
d48d0446
L
27481 * sysdeps/i386/bits/setjmp.h: Removed.
27482 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27483 * sysdeps/x86/bits/setjmp.h: This.
27484
7dc00e0d
L
27485 * sysdeps/i386/bits/mathdef.h: Removed.
27486 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27487 * sysdeps/x86/bits/mathdef.h: This.
27488
03277f8f
AS
274892012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27490
27491 [BZ #14132]
27492 * include/sys/socket.h (__connect_internal)
27493 (__libc_sa_len_internal): Remove declaration.
27494 (__connect, __libc_sa_len): Declare hidden_proto.
27495 (SA_LEN): Remove use of INTUSE.
27496 * socket/connect.c: Add libc_hidden_def.
27497 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27498 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27499 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27500 alias.
27501 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27502 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27503 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27504 of adding _internal alias.
27505
13764867
L
275062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27507
27508 [BZ #14117]
6bd97696
L
27509 * sysdeps/i386/bits/link.h: Removed.
27510 * sysdeps/i386/bits/linkmap.h: Likewise.
27511 * sysdeps/x86_64/bits/link.h: Renamed to ...
27512 * sysdeps/x86/bits/link.h: This.
27513 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27514 * sysdeps/x86/bits/linkmap.h: This.
27515
f726f0bb
L
27516 * sysdeps/i386/bits/endian.h: Removed.
27517 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27518 * sysdeps/x86/bits/endian.h: This.
27519
13764867
L
27520 * sysdeps/i386/bits/byteswap.h: Removed.
27521 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27522 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27523 * sysdeps/x86/bits/byteswap.h: This.
27524 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27525 * sysdeps/x86/bits/byteswap-16.h: This.
27526 * sysdeps/i386/Implies: Add x86.
27527 * sysdeps/x86_64/Implies: Likewise.
27528
ae251b0b
DM
275292012-05-30 David S. Miller <davem@davemloft.net>
27530
27531 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27532 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27533 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27534 (FP_TRAPPING_EXCEPTIONS): Define.
27535 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27536 (FP_TRAPPING_EXCEPTIONS): Define.
27537 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27538 subnormals only when inexact has been signalled or underflow
27539 exceptions are enabled.
27540 (_FP_PACK_CANONICAL): Likewise.
27541
d5c90867
L
275422012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27543
27544 [BZ #14183]
27545 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27546 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27547
63f1549e
RH
275482012-05-30 Richard Henderson <rth@twiddle.net>
27549
8d8f2279
RH
27550 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27551 with #ifndef NOT_IN_libc.
27552
63f1549e
RH
27553 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27554 marked to avoid plt entry.
27555
0ab0291b
L
275562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27557
27558 [BZ #14112]
27559 * Makeconfig (default-abi): New macro.
27560 (abi-includes): Likewise.
27561 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27562 $(abi-$(default-abi)-lib-soname) for soname if defined.
27563 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27564 abi-variants.
27565 * Makefile (installed-stubs): Likewise.
27566 * include/stubs-biarch.h: Removed.
27567 * scripts/lib-names.awk: Only handle one library at a time.
27568 * scripts/soversions.awk: Remove WORDSIZE support.
27569 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27570 entries.
27571 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27572 Removed.
27573 (syscall-list-default-condition): Likewise.
27574 (syscall-list-default-condition): Likewise.
27575 (syscall-list-includes): Likewise.
27576 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27577 syscall-list-* with abi-*. Handle undefined abi-variants.
27578 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27579 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27580 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27581 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27582 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27583 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27584 Removed.
27585 (syscall-list-32-options): Likewise.
27586 (syscall-list-32-condition): Likewise.
27587 (syscall-list-64-options): Likewise.
27588 (syscall-list-64-condition): Likewise.
27589 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27590 macro.
27591 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27592 Renamed to ...
27593 (abi-*): This.
27594 (abi-64-ld-soname): New macro.
27595 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27596 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27597 Renamed to ...
27598 (abi-*): This.
27599 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27600 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27601
4da0431d
JM
276022012-05-30 Joseph Myers <joseph@codesourcery.com>
27603
3a85279c
JM
27604 * sysdeps/unix/sysv/linux/kernel-features.h
27605 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27606 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27607 include <kernel-features.h>.
27608 [!__NR_ftruncate64]: Remove conditional code.
27609 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27610 [__NR_ftruncate64]: Make code unconditional.
27611 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27612 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27613 include <kernel-features.h>.
27614 [!__NR_ftruncate64]: Remove conditional code.
27615 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27616 [__NR_ftruncate64]: Make code unconditional.
27617 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27619 include <kernel-features.h>.
27620 [!__NR_ftruncate64]: Remove conditional code.
27621 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27622 [__NR_ftruncate64]: Make code unconditional.
27623 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27625 include <kernel-features.h>.
27626 [!__NR_ftruncate64]: Remove conditional code.
27627 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27628 [__NR_ftruncate64]: Make code unconditional.
27629 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27630
4da0431d
JM
27631 * configure.in (libc_cv_fpie): Weaken to a compile test using
27632 LIBC_TRY_CC_OPTION.
27633 * configure: Regenerated.
27634
11ef492c
AK
276352012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27636
27637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27641 Refreshed.
27642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27648 Refreshed.
27649
d66ef399
DM
276502012-05-27 David S. Miller <davem@davemloft.net>
27651
27652 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27653 (___Q_zero): New.
27654 (__Q_simulate_exceptions): Return void. Change to simulate
27655 exceptions by writing into the %fsr.
27656 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27657 (__Qp_handle_exceptions): Likewise.
27658 (numbers): Delete.
27659 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27660 __Qp_handle_exceptions.
27661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27662 __Qp_handle_exceptions.
27663 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27664 as unused and give dummy FP_RND_NEAREST initializer.
27665 (FP_INHIBIT_RESULTS): Define.
27666 (___Q_simulate_exceptions): Update declaration.
27667 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27668 formatting.
27669 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27670 as unused and give dummy FP_RND_NEAREST initializer.
27671 (__Qp_handle_exceptions): Update declaration.
27672 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27673 formatting.
27674
04fb54b5
TS
276752012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27676
27677 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27678 the temporary FPU control word.
27679 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27680 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27681 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27682 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27683 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27684 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27685 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27686 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27687 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27688 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27689 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27690
3f99608f
KK
276912012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27692
27693 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27694 fields.
27695
65a4de4e
CLT
276962012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27697
27698 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27699 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27700 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27701 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27702 Likewise.
27703 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27704 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27705 Likewise.
27706
15749d40
UD
277072012-05-27 Ulrich Drepper <drepper@gmail.com>
27708
27709 * po/h.po: Update from translation team.
27710
25dbcb27
AS
277112012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27712
3d3f8e55
AS
27713 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27714
25dbcb27
AS
27715 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27716 handling of denormals.
27717 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27718 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27719 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27720 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27721 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27722 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27723 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27724 Likewise.
27725
7ad47a80 277262012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27727
27728 [BZ #14152]
27729 * math/libm-test.inc (fma_test): Don't always expect underflow
27730 exception.
27731
9c6ea9fa
SP
277322012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27733
27734 [BZ #12416]
27735 * elf/tst-execstack.c: Include stackinfo.h.
27736 (do_test): Adjust test case to ensure that pthread_getattr_np
27737 behaviour remains the same after marking stack executable.
27738
a8239222
JM
277392012-05-25 Joseph Myers <joseph@codesourcery.com>
27740
27741 * sysdeps/unix/sysv/linux/kernel-features.h
27742 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27743 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27744 kernel-features.h.
27745 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27746 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27747 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27748 kernel-features.h.
27749 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27750 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27751
918b5606
L
277522012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27753
27754 * configure.in: Define the default includes to being none.
27755 * configure: Regenerated.
27756
3a097cc7
RM
277572012-05-25 Roland McGrath <roland@hack.frob.com>
27758
8422c9a5
RM
27759 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27760 * sysdeps/x86_64/setjmp.S: Likewise.
27761 * sysdeps/i386/bsd-setjmp.S: Likewise.
27762 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27763 * sysdeps/i386/setjmp.S: Likewise.
27764 * sysdeps/i386/__longjmp.S: Likewise.
27765 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27766 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27767
3a097cc7
RM
27768 * include/stap-probe.h: New file.
27769 * configure.in: Handle --enable-systemtap.
27770 * configure: Regenerated.
27771 * config.h.in (USE_STAP_PROBE): New #undef.
27772 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27773 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27774 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27775
21708942
JM
277762012-05-25 Joseph Myers <joseph@codesourcery.com>
27777
27778 [BZ #13717]
27779 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27780 to 2.4.0 where earlier.
27781 * sysdeps/unix/sysv/linux/configure: Regenerated.
27782 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27783 <kernel-features.h>.
27784 [__ASSUME_32BITUIDS]: Make code unconditional.
27785 [!__ASSUME_32BITUIDS]: Remove conditional code.
27786 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27787 <kernel-features.h>.
27788 [__ASSUME_32BITUIDS]: Make code unconditional.
27789 [!__ASSUME_32BITUIDS]: Remove conditional code.
27790 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27791 [__ASSUME_32BITUIDS]: Make code unconditional.
27792 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27793 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27794 <kernel-features.h>.
27795 [__ASSUME_32BITUIDS]: Make code unconditional.
27796 [!__ASSUME_32BITUIDS]: Remove conditional code.
27797 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27798 <kernel-features.h>.
27799 [__ASSUME_32BITUIDS]: Make code unconditional.
27800 [!__ASSUME_32BITUIDS]: Remove conditional code.
27801 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27802 <kernel-features.h>.
27803 [__ASSUME_32BITUIDS]: Make code unconditional.
27804 [!__ASSUME_32BITUIDS]: Remove conditional code.
27805 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27806 <kernel-features.h>.
27807 [__ASSUME_32BITUIDS]: Make code unconditional.
27808 [!__ASSUME_32BITUIDS]: Remove conditional code.
27809 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27810 <kernel-features.h>.
27811 [__ASSUME_32BITUIDS]: Make code unconditional.
27812 [!__ASSUME_32BITUIDS]: Remove conditional code.
27813 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27814 <kernel-features.h>.
27815 [__ASSUME_32BITUIDS]: Make code unconditional.
27816 [!__ASSUME_32BITUIDS]: Remove conditional code.
27817 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27818 <kernel-features.h>.
27819 [__ASSUME_32BITUIDS]: Make code unconditional.
27820 [!__ASSUME_32BITUIDS]: Remove conditional code.
27821 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27822 <kernel-features.h>.
27823 [__ASSUME_32BITUIDS]: Make code unconditional.
27824 [!__ASSUME_32BITUIDS]: Remove conditional code.
27825 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27826 <kernel-features.h>.
27827 [__ASSUME_32BITUIDS]: Make code unconditional.
27828 [!__ASSUME_32BITUIDS]: Remove conditional code.
27829 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27830 <kernel-features.h>.
27831 [__ASSUME_32BITUIDS]: Make code unconditional.
27832 [!__ASSUME_32BITUIDS]: Remove conditional code.
27833 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27834 <kernel-features.h>.
27835 [__NR_setresgid] (__setresgid): Do not declare.
27836 [__ASSUME_32BITUIDS]: Make code unconditional.
27837 [!__ASSUME_32BITUIDS]: Remove conditional code.
27838 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27839 <kernel-features.h>.
27840 [__NR_setresuid] (__setresuid): Do not declare.
27841 [__ASSUME_32BITUIDS]: Make code unconditional.
27842 [!__ASSUME_32BITUIDS]: Remove conditional code.
27843 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27844 <kernel-features.h>.
27845 [__ASSUME_32BITUIDS]: Make code unconditional.
27846 [!__ASSUME_32BITUIDS]: Remove conditional code.
27847 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27848 <kernel-features.h>.
27849 [__ASSUME_32BITUIDS]: Make code unconditional.
27850 [!__ASSUME_32BITUIDS]: Remove conditional code.
27851 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27852 <kernel-features.h>.
27853 [__ASSUME_32BITUIDS]: Make code unconditional.
27854 [!__ASSUME_32BITUIDS]: Remove conditional code.
27855 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27856 <kernel-features.h>.
27857 [__ASSUME_32BITUIDS]: Make code unconditional.
27858 [!__ASSUME_32BITUIDS]: Remove conditional code.
27859 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27860 <kernel-features.h>.
27861 [__ASSUME_32BITUIDS]: Make code unconditional.
27862 [!__ASSUME_32BITUIDS]: Remove conditional code.
27863 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27864 <kernel-features.h>.
27865 [__ASSUME_32BITUIDS]: Make code unconditional.
27866 [!__ASSUME_32BITUIDS]: Remove conditional code.
27867 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27868 <kernel-features.h>.
27869 [__ASSUME_32BITUIDS]: Make code unconditional.
27870 [!__ASSUME_32BITUIDS]: Remove conditional code.
27871 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27872 <kernel-features.h>.
27873 [__ASSUME_32BITUIDS]: Make code unconditional.
27874 [!__ASSUME_32BITUIDS]: Remove conditional code.
27875 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27876 <kernel-features.h>.
27877 [__ASSUME_32BITUIDS]: Make code unconditional.
27878 [!__ASSUME_32BITUIDS]: Remove conditional code.
27879 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27880 <kernel-features.h>.
27881 [__ASSUME_32BITUIDS]: Make code unconditional.
27882 [!__ASSUME_32BITUIDS]: Remove conditional code.
27883 * sysdeps/unix/sysv/linux/kernel-features.h
27884 (__ASSUME_SETRESUID_SYSCALL): Remove.
27885 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27886 (__ASSUME_32BITUIDS): Likewise.
27887 (__ASSUME_LDT_WORKS): Likewise.
27888 (__ASSUME_O_DIRECTORY): Likewise.
27889 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27890 architecture but not kernel version.
27891 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27892 (__ASSUME_MMAP2_SYSCALL): Likewise.
27893 (__ASSUME_STAT64_SYSCALL): Likewise.
27894 (__ASSUME_IPC64): Likewise.
27895 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27896 <kernel-features.h>.
27897 [__ASSUME_32BITUIDS]: Make code unconditional.
27898 [!__ASSUME_32BITUIDS]: Remove conditional code.
27899 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27900 <kernel-features.h>.
27901 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27902 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27903 132096]: Remove conditional code.
27904 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27905 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27906 <kernel-features.h>.
27907 [__ASSUME_32BITUIDS]: Make code unconditional.
27908 [!__ASSUME_32BITUIDS]: Remove conditional code.
27909 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27910 <kernel-features.h>.
27911 [__ASSUME_32BITUIDS]: Make code unconditional.
27912 [!__ASSUME_32BITUIDS]: Remove conditional code.
27913 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27914 <kernel-features.h>.
27915 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27916 unconditional.
27917 (__setresgid): Do not declare.
27918 [__ASSUME_32BITUIDS]: Make code unconditional.
27919 [!__ASSUME_32BITUIDS]: Remove conditional code.
27920 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27921 <kernel-features.h>.
27922 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27923 unconditional.
27924 (__setresuid): Do not declare.
27925 [__ASSUME_32BITUIDS]: Make code unconditional.
27926 [!__ASSUME_32BITUIDS]: Remove conditional code.
27927 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27928 <kernel-features.h>.
27929 [__ASSUME_32BITUIDS]: Make code unconditional.
27930 [!__ASSUME_32BITUIDS]: Remove conditional code.
27931 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27932 <kernel-features.h>.
27933 [__ASSUME_32BITUIDS]: Make code unconditional.
27934 [!__ASSUME_32BITUIDS]: Remove conditional code.
27935
a386f1cc
RH
279362012-05-25 Richard Henderson <rth@twiddle.net>
27937
27938 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27939 dl_hwcap to ifunc resolver.
27940 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27941 elf_ifunc_invoke.
27942 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27943 dl_hwcap to ifunc resolver.
27944 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27945
b6550497
JM
279462012-05-24 Joseph Myers <joseph@codesourcery.com>
27947
27948 [BZ #14153]
27949 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27950 for |x| <= 2**-26, not 2**-57.
27951 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27952 exception.
27953
b0bc23a1
JL
279542012-05-24 Jeff Law <law@redhat.com>
27955
27956 * stdio-common/Makefile (tests): Add bug25.
27957 * stdio-common/bug25.c: New test.
27958
347c92e9
L
279592012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27960
27961 [BZ #13576]
27962 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27963 multiple of MALLOC_ALIGNMENT in size.
27964 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27965
6bcc8b3f
JM
279662012-05-24 Joseph Myers <joseph@codesourcery.com>
27967
27968 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27969 Require >= 256.
27970 (FILENAME_MAX): Use macro-int-constant.
27971 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27972 (_IOFBF): Use macro-int-constant.
27973 (_IOLBF): Likewise.
27974 (_IONBF): Likewise.
27975 (SEEK_CUR): Likewise.
27976 (SEEK_END): Likewise.
27977 (SEEK_SET): Likewise.
27978 (TMP_MAX): Likewise.
27979 (EOF): Use macro-int-constant. Require < 0.
27980 (NULL): Use macro-constant. Require == 0.
27981 (stdin): Require type to be FILE *.
27982 (stdout): Likewise.
27983 (stderr): Likewise.
27984 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27985 macro-int-constant.
27986 (EXIT_SUCCESS): Likewise.
27987 (NULL): Use macro-constant. Require == 0.
27988 (RAND_MAX): Use macro-int-constant.
27989 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27990 [C99-based standards] (strtof): Require function.
27991 [C99-based standards] (strtold): Likewise.
27992 [C99-based standards] (strtoll): Likewise.
27993 [C99-based standards] (strtoull): Likewise.
27994 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27995 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27996 [ISO || ISO99 || ISO11] (math.h): Likewise.
27997 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27998 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27999 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28000
d18ea0c5
AS
280012012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28002
28003 [BZ #14132]
56d25bb8
AS
28004 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28005 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28006 * intl/dgettext.c (DCGETTEXT): Likewise.
28007 * intl/gettext.c (DCGETTEXT): Likewise.
28008 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28009 * posix/regex_internal.h (gettext): Likewise.
28010 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28011 Remove declaration.
28012 * include/argz.h (__argz_count_internal)
28013 (__argz_stringify_internal): Remove declaration.
28014 (__argz_count, __argz_stringify): Declare hidden proto.
28015 * intl/dcgettext.c: Remove use of INTDEF.
28016 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28017 * string/argz-stringify.c: Likewise.
28018 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28019 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28020 Declare hidden proto.
d18ea0c5
AS
28021 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28022 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28023 Declare hidden proto.
28024 * include/stdio.h (__asprintf_internal): Don't declare.
28025 (__asprintf): Don't define as macro. Declare hidden proto.
28026 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28027 (__fsetlocking): Declare hidden proto.
28028 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28029 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28030 hidden proto.
28031 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28032 (_IO_setlinebuf): Remove use of INTUSE.
28033 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28034 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28035 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28036 Remove declaration.
28037 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28038 (_IO_do_flush): Remove use of INTUSE.
28039 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28040 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28041 (_IO_adjust_column, _IO_least_wmarker)
28042 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28043 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28044 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28045 (_IO_default_doallocate, _IO_wdefault_doallocate)
28046 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28047 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28048 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28049 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28050 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28051 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28052 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28053 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28054 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28055 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28056 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28057 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28058 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28059 proto.
28060 (_IO_flush_all_internal, _IO_adjust_column_internal)
28061 (_IO_default_uflow_internal, _IO_default_finish_internal)
28062 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28063 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28064 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28065 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28066 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28067 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28068 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28069 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28070 (_IO_file_close_internal, _IO_file_close_it_internal)
28071 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28072 (_IO_file_init_internal, _IO_file_attach_internal)
28073 (_IO_file_fopen_internal, _IO_file_read_internal)
28074 (_IO_file_sync_internal, _IO_file_seek_internal)
28075 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28076 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28077 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28078 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28079 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28080 (_IO_list_all_internal, _IO_link_in_internal)
28081 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28082 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28083 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28084 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28085 (_IO_do_write_internal, _IO_padn_internal)
28086 (_IO_getline_info_internal, _IO_getline_internal)
28087 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28088 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28089 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28090 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28091 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28092 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28093 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28094 with libc_hidden_ver, remove use of INTUSE.
28095 * libio/genops.c: Likewise.
28096 * libio/freopen.c: Likewise.
28097 * libio/freopen64.c: Likewise.
28098 * libio/iofclose.c: Likewise.
28099 * libio/iofdopen.c: Likewise.
28100 * libio/iofflush.c: Likewise.
28101 * libio/iofflush_u.c: Likewise.
28102 * libio/iofgets.c: Likewise.
28103 * libio/iofgets_u.c: Likewise.
28104 * libio/iofopen.c: Likewise.
28105 * libio/iofopncook.c: Likewise.
28106 * libio/iofread.c: Likewise.
28107 * libio/iofread_u.c: Likewise.
28108 * libio/ioftell.c: Likewise.
28109 * libio/iofwrite.c: Likewise.
28110 * libio/iogetline.c: Likewise.
28111 * libio/iogets.c: Likewise.
28112 * libio/iogetwline.c: Likewise.
28113 * libio/iopadn.c: Likewise.
28114 * libio/iopopen.c: Likewise.
28115 * libio/ioseekoff.c: Likewise.
28116 * libio/ioseekpos.c: Likewise.
28117 * libio/iosetbuffer.c: Likewise.
28118 * libio/iosetvbuf.c: Likewise.
28119 * libio/ioungetc.c: Likewise.
28120 * libio/ioungetwc.c: Likewise.
28121 * libio/iovdprintf.c: Likewise.
28122 * libio/iovsprintf.c: Likewise.
28123 * libio/iovsscanf.c: Likewise.
28124 * libio/memstream.c: Likewise.
28125 * libio/obprintf.c: Likewise.
28126 * libio/oldfileops.c: Likewise.
28127 * libio/oldiofclose.c: Likewise.
28128 * libio/oldiofdopen.c: Likewise.
28129 * libio/oldiofopen.c: Likewise.
28130 * libio/oldiopopen.c: Likewise.
28131 * libio/oldstdfiles.c: Likewise.
28132 * libio/putc.c: Likewise.
28133 * libio/setbuf.c: Likewise.
28134 * libio/setlinebuf.c: Likewise.
28135 * libio/stdfiles.c: Likewise.
28136 * libio/strops.c: Likewise.
28137 * libio/vasprintf.c: Likewise.
28138 * libio/vscanf.c: Likewise.
28139 * libio/vsnprintf.c: Likewise.
28140 * libio/vswprintf.c: Likewise.
28141 * libio/wfiledoalloc.c: Likewise.
28142 * libio/wfileops.c: Likewise.
28143 * libio/wgenops.c: Likewise.
28144 * libio/wmemstream.c: Likewise.
28145 * libio/wstrops.c: Likewise.
28146 * libio/__fpurge.c: Likewise.
28147 * libio/__fsetlocking.c: Likewise.
28148 * assert/assert.c: Likewise.
28149 * debug/fgets_chk.c: Likewise.
28150 * debug/fgets_u_chk.c: Likewise.
28151 * debug/fread_chk.c: Likewise.
28152 * debug/fread_u_chk.c: Likewise.
28153 * debug/gets_chk.c: Likewise.
28154 * debug/obprintf_chk.c: Likewise.
28155 * debug/vasprintf_chk.c: Likewise.
28156 * debug/vdprintf_chk.c: Likewise.
28157 * debug/vsnprintf_chk.c: Likewise.
28158 * debug/vsprintf_chk.c: Likewise.
28159 * malloc/mtrace.c: Likewise.
28160 * misc/error.c: Likewise.
28161 * misc/syslog.c: Likewise.
28162 * stdio-common/asprintf.c: Likewise.
28163 * stdio-common/fxprintf.c: Likewise.
28164 * stdio-common/getw.c: Likewise.
28165 * stdio-common/isoc99_fscanf.c: Likewise.
28166 * stdio-common/isoc99_scanf.c: Likewise.
28167 * stdio-common/isoc99_vfscanf.c: Likewise.
28168 * stdio-common/isoc99_vscanf.c: Likewise.
28169 * stdio-common/isoc99_vsscanf.c: Likewise.
28170 * stdio-common/printf-prs.c: Likewise.
28171 * stdio-common/printf_fp.c: Likewise.
28172 * stdio-common/printf_fphex.c: Likewise.
28173 * stdio-common/printf_size.c: Likewise.
28174 * stdio-common/putw.c: Likewise.
28175 * stdio-common/scanf.c: Likewise.
28176 * stdio-common/sprintf.c: Likewise.
28177 * stdio-common/tmpfile.c: Likewise.
28178 * stdio-common/vfprintf.c: Likewise.
28179 * stdio-common/vfscanf.c: Likewise.
28180 * stdlib/strfmon_l.c: Likewise.
28181 * sunrpc/openchild.c: Likewise.
28182 * sunrpc/xdr_stdio.c: Likewise.
28183 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28184 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28185
d6c33fda
RM
281862012-05-24 Roland McGrath <roland@hack.frob.com>
28187
c1487492
RM
28188 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28189
28190 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28191 in the third column, to generate for the shared library an IFUNC
28192 that uses _dl_vdso_vsym.
28193 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28194 * Makeconfig (object-suffixes-noshared): New variable.
28195
28196 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28197 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28198 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28199 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28200
d6c33fda
RM
28201 [BZ #14132]
28202 * include/sys/time.h (__gettimeofday): Remove macro.
28203 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28204 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28205 Remove INTDEF.
28206 (__gettimeofday): Add libc_hidden_def.
28207 (gettimeofday): Add libc_hidden_weak.
28208 * sysdeps/mach/gettimeofday.c: Likewise.
28209 * sysdeps/posix/gettimeofday.c: Likewise.
28210 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28211 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28212 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28213 (__gettimeofday_internal): Remove strong_alias.
28214 (__gettimeofday): Add libc_hidden_def.
28215 (gettimeofday): Add libc_hidden_weak.
28216 * sysdeps/unix/syscalls.list (gettimeofday):
28217 Remove __gettimeofday_internal alias.
28218
b5a2bbe6
L
282192012-05-24 Daniel Jacobowitz <drow@false.org>
28220 H.J. Lu <hongjiu.lu@intel.com>
28221
28222 [BZ #12495]
28223 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28224 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28225 (largebin_index_32_big): New.
28226 (largebin_index): Use it for 16-byte alignment.
28227 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28228 correction with front_misalign.
28229
cfba4fda
L
282302012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28231
7f907421
L
28232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28234 Likewise.
28235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28236 Likewise.
28237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28238 Likewise.
28239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28240 Likewise.
28241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28242 Likewise.
28243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28244 Likewise.
28245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28246 Likewise.
28247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28248 Likewise.
28249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28250 Likewise.
28251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28252 Likewise.
28253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28254 Likewise.
28255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28256 Likewise.
28257
cfba4fda
L
28258 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28259 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28260
80bad0cc
JM
282612012-05-24 Joseph Myers <joseph@codesourcery.com>
28262
7a25eb06
JM
28263 [BZ #10846]
28264 [BZ #14036]
28265 * math/libm-test.inc (exp_test): Add test from bug 14036.
28266 (pow_test): Add test from bug 10846.
28267
795405f9
JM
28268 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28269 and other flags.
28270 (special_function): Do not include flags in test name.
28271 (parse_args): Likewise.
28272 * sysdeps/i386/fpu/libm-test-ulps: Update.
28273 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28274 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28275 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28277
80bad0cc
JM
28278 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28279 exceptions.
28280 * math/libm-test.inc ("Philosophy"): Update comment about
28281 exception testing.
28282 (UNDERFLOW_EXCEPTION): New macro.
28283 (UNDERFLOW_EXCEPTION_OK): Likewise.
28284 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28285 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28286 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28287 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28288 (INVALID_EXCEPTION_OK): Update value.
28289 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28290 (OVERFLOW_EXCEPTION_OK): Likewise.
28291 (IGNORE_ZERO_INF_SIGN): Likewise.
28292 (test_exceptions): Handle underflow exceptions.
28293 (acos_test): Update for underflow exception expectations.
28294 (cexp_test): Likewise.
28295 (clog_test): Likewise.
28296 (clog10_test): Likewise.
28297 (csqrt_test): Likewise.
28298 (ctan_test): Likewise.
28299 (ctanh_test): Likewise.
28300 (exp_test): Likewise.
28301 (exp10_test): Likewise.
28302 (exp2_test): Likewise.
28303 (expm1_test): Likewise.
28304 (fma_test): Likewise.
28305 (j0_test): Likewise.
28306 (jn_test): Likewise.
28307 (nexttoward_test): Likewise.
28308 (pow_test): Likewise.
28309 (scalbn_test): Likewise.
28310 (scalbln_test): Likewise.
28311 (tan_test): Likewise.
28312 (y1_test): Likewise.
28313 * sysdeps/i386/fpu/libm-test-ulps: Update.
28314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28315
9e0e3d0b
DM
283162012-05-23 David S. Miller <davem@davemloft.net>
28317
28318 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28319 (__libc_sigaction): Remove unused local variables.
28320
ccd0a08f
L
283212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28322
28323 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28324
62bdf9a6
PE
283252012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28326
f8591f80
PE
28327 mktime: avoid signed integer overflow
28328 * time/mktime.c (__mktime_internal): Do not mishandle the case
28329 where diff == INT_MIN.
28330
94c7d826
PE
28331 mktime: simplify computation of average
28332 * time/mktime.c (ranged_convert): Use new time_t_avg function
28333 instead of rolling our own (probably-slower) code.
28334
ce73d683
PE
28335 mktime: do not assume signed right shift propagates sign bit
28336 * time/mktime.c (isdst_differ): New static function.
28337 (__mktime_internal): No need to normalize tm_isdst now.
28338 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28339 tm_isdst values.
28340
72a22e59
PE
28341 mktime: merge another wrapv change from gnulib
28342 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28343 from some compilers.
28344
68605433
PE
28345 mktime: remove incorrect attempt at unusual arithmetics
28346 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28347 The code didn't really work on such machines anyway.
28348 (TYPE_MINIMUM): Assume two's complement.
28349 (twos_complement_arithmetic): Verify that long_int and time_t
28350 are two's complement (or unsigned, in the latter case).
28351
03cf7fe3
PE
28352 mktime: check signed shifts on long_int and time_t, too
28353 * time/mktime.c (SHR): Check that shifts work as desired
28354 on the types long_int and time_t too, as SHR is used on
28355 such types.
28356
f04dfbc2
PE
28357 mktime: do not assume 'long' is wide enough
28358 * time/mktime.c (verify): Move decl up.
28359 (long_int): New type.
28360 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28361 to remove assumption in the code that 'long' is wide enough to
28362 store year values. This assumption is not true on x32 and on
28363 some non-glibc platforms.
28364
62bdf9a6
PE
28365 mktime: merge wrapv change from gnulib
28366 * time/mktime.c (WRAPV): New macro.
28367 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28368 (guess_time_tm, __mktime_internal): Do not assume that signed
28369 integer overflow wraps around; modern compilers generate code
28370 where this assumption is no longer valid.
28371
5e292e4f
L
283722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28373
28374 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28375 Replace "jmp L(pseudo_end)" with "ret".
28376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28377 Likewise.
28378
8caf8c87
AJ
283792012-05-23 Andreas Jaeger <aj@suse.de>
28380
28381 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28382 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28383
1a09dc56
AJ
283842012-05-23 Andreas Jaeger <aj@suse.de>
28385 Maximilian Attems <max@stro.at>
28386
28387 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28388 New macros.
28389
1c87aba0
L
283902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28391
28392 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28393 code so that pseudo_end is just ret and the stack pointer is
28394 correct also for static library in error case.
28395
40e45bd5
JM
283962012-05-23 Joseph Myers <joseph@codesourcery.com>
28397
c2670533
JM
28398 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28399 move to syscalls.list.
28400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28404
40e45bd5
JM
28405 * manual/install.texi (Running make install): Do not mention Linux
28406 kernel version for which pt_chown is not needed.
28407 (Linux): Do not mention problems with nscd with 2.0 kernels.
28408 * INSTALL: Regenerated.
28409
be08eda5
AJ
284102012-05-23 Andreas Jaeger <aj@suse.de>
28411
28412 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28413 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28414 macro.
28415 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28416 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28417 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28419 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28420 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28421 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28422 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28423 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28424 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28425 * sysdeps/unix/sysv/linux/bits/in.h
28426 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28427
a6a056bb
RM
284282012-05-22 Roland McGrath <roland@hack.frob.com>
28429
28430 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28431 (PREPARE_VERSION): Just use assert instead, it will be elided
28432 under [NDEBUG] anyway.
28433
c9009328
L
284342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28435
28436 * sysdeps/unix/sysv/linux/Makefile: Include
28437 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28438 (sysdep_routines): Remove sysctl.
c9009328
L
28439 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28440 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28441 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28442 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28443 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28444
73338355
AJ
284452012-05-22 Andreas Jaeger <aj@suse.de>
28446
28447 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28448 that pseudo_end is just ret and the stack pointer is correct also
28449 for static library in error case.
28450
d44638b0
PP
284512012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28452
28453 [BZ #14122]
28454 * nss/nsswitch.c (defconfig_entries): New variable.
28455 (__nss_database_lookup): Don't leak defconfig entries.
28456 (nss_parse_service_list): Don't leak on error paths.
28457 (free_database_entries): New function.
28458 (free_defconfig): New function.
28459 (free_mem): Move common code to free_database_entries.
28460
31a39bd8
L
284612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28462
da0331a8
L
28463 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28464 Add arch_prctl.
28465 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28466
31a39bd8
L
28467 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28468 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28470 New macro.
28471 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28472 (INTERNAL_SYSCALL_TYPES): Likewise.
28473 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28474 (LOAD_REGS_TYPES_[1-6]): Likewise.
28475 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28476 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28477
45470df3
AZ
284782012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28479
28480 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28481 copysignl for GLIBC_2_0.
28482 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28483 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28484 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28485 logbl for GLIBC_2_0.
28486 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28487 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28488
98a61bcb
L
284892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28490
a4f6e481
L
28491 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28492 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28493
f63d5db6
L
28494 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28495 Use "neg %eax".
28496
98a61bcb
L
28497 * time/mktime.c: Update copyright years.
28498
95770f14
PE
284992012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28500
6226efbd
PE
28501 mktime: merge comment-quoting-style change from gnulib
28502 * time/mktime.c: Quote 'like this' in comments.
28503 The GNU coding standards suggest that we no longer quote `like this',
28504 as "`" and "'" are typically rendered asymmetrically nowadays.
28505 The typical gnulib style is to quote 'like this' when quoting
28506 code, and "like this" when quoting English.
28507
b99e4f78
PE
28508 * time/mktime.c (compile-command): Add "-I.".
28509
643e01e6
PE
28510 mktime: merge mktime-internal.h change from gnulib
28511 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28512
2554247d
PE
28513 mktime: merge time_r change from gnulib
28514 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28515
826dd0ab
PE
28516 mktime: merge DEBUG change from gnulib
28517 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28518 case system <time.h> has a #define.
28519
bd83aabe
PE
28520 mktime: merge <sys/types.h> change from gnulib
28521 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28522 since <time.t> is now guaranteed to define time_t.
28523
95770f14
PE
28524 mktime: merge HAVE_CONFIG_H change from gnulib
28525 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28526
5e1a27a9
L
285272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28528
0e44a77e
L
28529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28530 Use "neg %eax".
28531
5e1a27a9
L
28532 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28533 __rlim_t cast.
28534 (struct rusage): Use anonymous union to pad each field to
28535 __syscall_slong_t.
28536
46259bec
DM
285372012-05-21 David S. Miller <davem@davemloft.net>
28538
28539 * Makefules (o-iterator): Remove .s cases.
28540 (compile-command.s): Delete.
28541 (COMPILE.s): Delete.
28542 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28543
59f0c22e
JM
285442012-05-21 Joseph Myers <joseph@codesourcery.com>
28545
28546 * configure.in (libc_cv_predef_stack_protector): Only consider
28547 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28548 * configure: Regenerated.
28549
20c07380
L
285502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28551
bbb3154b
L
28552 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28553 New macro. Use R*LP on int and pointer.
28554 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28555 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28556 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28557 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28558
20c07380
L
28559 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28560 [__WORDSIZE_TIME64_COMPAT32] instead of
28561 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28562 (struct utmp): Likewise.
28563 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28564 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28565 Renamed to ...
28566 (__WORDSIZE_TIME64_COMPAT32): This.
28567 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28568 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28569 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28570 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28571 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28572 (__WORDSIZE_TIME64_COMPAT32): New macro.
28573
d8d1017e
AJ
285742012-05-21 Andreas Jaeger <aj@suse.de>
28575
28576 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28577 only if [SHARED]. Add prototype for __wcschr_ia32.
28578
6c7fb145
RM
285792012-05-21 Roland McGrath <roland@hack.frob.com>
28580
28581 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28582 of %rbp unmolested in the jmp_buf while mangling the low bits.
28583 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28584 unmolested high bits of %rbp while demangling the low bits.
28585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28586
66274218
AJ
285872012-05-21 Andreas Jaeger <aj@suse.de>
28588
07c58f8f
AJ
28589 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28590 * sunrpc/svc_simple.c: Use it for registerrpc.
28591 * sunrpc/xcrypt.c: Use it for passwd2des.
28592
66274218
AJ
28593 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28594
61f65140
L
285952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28596
28597 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28598 Don't define if [__SYSCALL_WORDSIZE != 32].
28599 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28600 New macro.
28601
5fefb436
AJ
286022012-05-21 Bruno Haible <bruno@clisp.org>
28603 Andreas Jaeger <aj@suse.de>
28604
28605 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28606 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28607 inptr and inend for must_buffer_ch.
28608 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28609 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28610 * stdio-common/Makefile (tests): Remove bug15.
28611 (bug15-ENV): Remove macro.
28612 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28613 anymore.
28614
d8e272ab
AJ
286152012-05-19 Andreas Jaeger <aj@suse.de>
28616 Roland McGrath <roland@hack.frob.com>
28617
28618 * manual/contrib.texi: Completely rewritten. It contains now an
28619 alphabetical list of contributors and their contributions.
28620
4a56a162
RH
286212012-05-21 Richard Henderson <rth@twiddle.net>
28622
28623 * misc/getauxval.c (__getauxval): Use unsigned long int.
28624 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28625 (getauxval): Use unsigned long int.
28626
d024d23c
L
286272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28628
28629 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28630
cbc00a03
RM
286312012-05-21 Roland McGrath <roland@hack.frob.com>
28632
28633 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28634 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28635 __alignof__ (long double).
28636
478143fa
AZ
286372012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28638
28639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28640
c7683a6d
RH
286412012-05-20 Richard Henderson <rth@twiddle.net>
28642
28643 * misc/getauxval.c: New file.
28644 * misc/sys/auxv.h: New file.
28645 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28646 (routines): Add getauxval.
28647 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28648 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28649 * elf/dl-sysdep.c (_dl_auxv): Remove.
28650 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28651 * elf/dl-support.c (_dl_auxv): New variable.
28652 (_dl_aux_init): Initialize it.
28653 * manual/startup.texi (Auxiliary Vector): New node.
28654 * sysdeps/generic/bits/hwcap.h: New file.
28655 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28656 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28657 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28658 * sysdeps/sparc/sysdep.h: ... here. Include it.
28659 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28660 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28662 Update.
c7683a6d
RH
28663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28666 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28671
a6f1845d
AZ
286722012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28673
28674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28675
cbcbe830
DM
286762012-05-19 David S. Miller <davem@davemloft.net>
28677
28678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28679
e0b16cc2
JM
286802012-05-19 Joseph Myers <joseph@codesourcery.com>
28681
28682 [BZ #14123]
28683 * math/s_ccosh.c: Include <float.h>
28684 (__ccosh): Avoid internal overflow calculating sinh and cosh
28685 values before multiplying by sin and cos values.
28686 * math/s_ccoshf.c: Likewise.
28687 * math/s_ccoshl.c: Likewise.
28688 * math/s_csin.c: Likewise.
28689 * math/s_csinf.c: Likewise.
28690 * math/s_csinl.c: Likewise.
28691 * math/s_csinh.c: Likewise.
28692 * math/s_csinhf.c: Likewise.
28693 * math/s_csinhl.c: Likewise.
28694 * math/libm-test.inc (ccos_test): Add more tests.
28695 (ccosh_test): Likewise.
28696 (csin_test): Likewise.
28697 (csinh_test): Likewise.
28698 * sysdeps/i386/fpu/libm-test-ulps: Update.
28699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28700
6ad13e08
L
287012012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28702
f66f0ce8
L
28703 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28704 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28705
6ad13e08
L
28706 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28707
b1d072a7
JM
287082012-05-19 Joseph Myers <joseph@codesourcery.com>
28709
28710 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28711 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28712 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28713 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28714 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28715 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28716 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28717 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28718 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28719 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28720 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28721 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28722 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28723 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28724 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28725 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28726 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28727 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28728 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28729 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28730 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28731 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28732 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28733 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28734 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28735 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28736 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28737 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28738 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28739 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28740 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28741
9eae47cb
AJ
287422012-05-18 Andreas Jaeger <aj@suse.de>
28743
28744 * csu/.gitignore: Delete.
28745
bb07f69f
L
287462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28747
28748 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28749 (timex): Use __syscall_slong_t.
28750
e6bdb741
AJ
287512012-05-18 Andreas Jaeger <aj@suse.de>
28752 Carlos O'Donell <carlos_odonell@mentor.com>
28753
28754 * manual/install.texi (Configuring and compiling): Update
28755 description about files modified in the source directory.
d6c33fda 28756 * INSTALL: Regenerated.
e6bdb741 28757
1b74487e
L
287582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28759
28760 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28761 value. Use "or" to set return value to -1.
28762 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28763 negate return value.
28764
a88b64b9
TMQMF
287652012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28766
57f41c40
AS
28767 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28768 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
28769 failure if the compiler has Graphite support disabled.
28770 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28771 Likewise.
57f41c40
AS
28772 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28773 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
28774 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28775 Likewise.
28776
3707636e
L
287772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28778
610b8622
L
28779 * sysdeps/x86_64/x32/_itoa.h: New file.
28780
7cd195df
L
28781 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28782 getdents system call only if kernel and user dirents have the
28783 same d_ino and d_off.
28784
94b07d20
L
28785 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28786 LLONG_MAX != LONG_MAX.
28787 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28788 (_fitoa_word): Likewise.
28789
18298070
L
28790 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28791 years.
28792 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28793 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28794 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28795
553c7ea4
L
28796 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28797 include <bits/wordsize.h>. Check __x86_64__ instead of
28798 __WORDSIZE.
28799 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28800 if __x86_64__ is defined. Use anonymous union on fpstate.
28801
3707636e
L
28802 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28803 anonymous union.
28804
b53ef01a
AS
288052012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28806
37fb1dc0
AS
28807 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28808 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28809 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28810 Refer to _rtld_local_ro instead of _rtld_global_ro.
28811 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28812 Likewise.
28813 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28814 Likewise.
28815 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28816 Likewise.
28817 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28818 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28819 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28820
b53ef01a
AS
28821 * sysdeps/powerpc/powerpc32/dl-machine.c
28822 (__elf_machine_runtime_setup) [PROF]: Don't reference
28823 _dl_prof_resolve.
28824
7a185db2
AJ
288252012-05-18 Andreas Jaeger <aj@suse.de>
28826
28827 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28828 function only available for GCCs before 3.4 since GCC 3.4
28829 introduced a builtin.
28830 (lrint): Likewise.
28831 (llrintf): Likewise.
28832 (llrint): Likewise.
28833 (fmaxf): Likewise.
28834 (fmax): Likewise.
28835 (fminf): Likewise.
28836 (fmin): Likewise.
28837 (rint): Likewise.
28838 (rintf): Likewise.
28839 (nearbyint): Likewise.
28840 (nearbyintf): Likewise.
28841 (ceil): Likewise.
28842 (ceilf): Likewise.
28843 (floor): Likewise.
28844 (floorf): Likewise.
28845
3e5aef87
L
288462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28847
428bd707
L
28848 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28849 on both fields and cast pointer to __syscall_ulong_t.
28850
3e5aef87
L
28851 * bits/types.h (__fsword_t): New type.
28852 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28853 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28855 (__FSWORD_T_TYPE): Likewise.
28856 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28857 (__FSWORD_T_TYPE): Likewise.
28858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28859 (__FSWORD_T_TYPE): Likewise.
28860 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28861 (__FSWORD_T_TYPE): Likewise.
28862 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28863 __SWORD_TYPE with __fsword_t.
28864 (statfs64): Likewise.
28865
1ba7c3dc
DM
288662012-05-17 David S. Miller <davem@davemloft.net>
28867
28868 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28869
59910343
AJ
288702012-05-17 Andreas Jaeger <aj@suse.de>
28871
28872 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28873 warning.
28874
2e4c1e9e
L
288752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28876
28877 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28878
de7f5ce7
AJ
288792012-05-17 Andreas Jaeger <aj@suse.de>
28880
28881 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28882 when it is used.
28883
286abc3d
CM
288842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28885
28886 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28887
477cc68e
L
288882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28889
28890 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28891 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28892
1a0994f5
CD
288932012-05-17 Andreas Jaeger <aj@suse.de>
28894 Carlos O'Donell <carlos_odonell@mentor.com>
28895
28896 [BZ #14059]
28897 * sysdeps/x86_64/multiarch/init-arch.h
28898 (bit_YMM_Usable): Rename to...
28899 (bit_AVX_Usable): ... this.
28900 (bit_FMA4_Usable): New macro.
28901 (bit_XMM_state): New macro.
28902 (bit_YMM_state): New macro.
28903 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28904 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28905 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28906 (CPUID_OSXSAVE): New macro.
28907 (CPUID_AVX): New macro.
28908 (CPUID_FMA4): New macro.
28909 (index_YMM_Usable): Rename to...
28910 (index_AVX_Usable): ... this.
28911 (HAS_AVX): Use HAS_ARCH_FEATURE.
28912 (HAS_FMA4): Likewise.
28913 (HAS_YMM_USABLE): Remove.
28914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28915 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28916 are present.
28917 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28918 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28919 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28920 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28921 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28922
0af797de
CM
289232012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28924
28925 * math/libm-test.c: Support platforms without multiple rounding modes.
28926 * math/bug-nextafter.c: Support platforms without FP exceptions.
28927 * math/bug-nexttoward.c: Likewise.
28928 * math/test-fenv.c: Likewise.
28929 * math/test-misc.c: Likewise.
28930 * stdlib/bug-getcontext.c: Likewise.
28931
e39745ff
AJ
289322012-05-17 Andreas Jaeger <aj@suse.de>
28933
28934 * manual/examples/search.c (critter_cmp): Change signature to
28935 avoid warnings.
28936 * manual/string.texi (Collation Functions): Likewise.
28937
48970aba
L
289382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28939
28940 * bits/types.h: Fold copyright years.
28941 * bits/typesizes.h: Likewise.
28942 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28944 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28945 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28946 * time/time.h: Likewise.
28947
bedee953
PP
289482012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28949
28950 [BZ #208]
28951 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28952 in instead of returning them. Return void.
28953 (__libc_mallinfo): Accumulate over all arenas.
28954 (__malloc_stats): Adjust for change in int_mallinfo interface.
28955
61653dfb
RM
289562012-05-16 Roland McGrath <roland@hack.frob.com>
28957
30b99d79
RM
28958 [BZ #10375]
28959 * configure.in (NM): Add AC_CHECK_TOOL for it.
28960 (libc_extra_cflags): New substituted variable.
28961 Check for -fstack-protector being used implicitly.
28962 * configure: Regenerated.
28963 * config.make.in (config-extra-cflags): New variable,
28964 gets @libc_extra_cflags@.
28965 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28966
61653dfb
RM
28967 [BZ #10375]
28968 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28969 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28970 * configure: Regenerated.
28971 * config.make.in (CPPUNDEFS): New substituted variable.
28972 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28973 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28974 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28975
661768bb
L
289762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28977
28978 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28979 (mq_attr): Use __syscall_slong_t.
28980
d4261567
L
289812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28982
28983 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28984 Check __x86_64__ instead of __WORDSIZE.
28985 (_STAT_VER_LINUX): Likewise.
28986 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28987 __syscall_ulong_t and __syscall_slong_t.
28988 (stat64): Likewise.
28989
cf3ff365
L
289902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28991
28992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28993
76cf3e4d
L
289942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28995
28996 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28997
a637753a
L
289982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28999
29000 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29001 __syscall_ulong_t.
29002
d5e05119
L
29003 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29004 include <bits/wordsize.h>. Check __x86_64__ instead of
29005 __WORDSIZE.
29006 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29007 defined.
29008 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29009
f62ee380
L
29010 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29011 include <bits/wordsize.h>. Check __x86_64__ instead of
29012 __WORDSIZE.
29013 (user_regs_struct): Use "__extension__ unsigned long long"
29014 instead of "unsigned long" if __x86_64__ is defined.
29015 (user): Likewise. Pad after pointer field if __ILP32__ is
29016 defined.
29017
4e124ced
JM
290182012-05-16 Joseph Myers <joseph@codesourcery.com>
29019
6a3951a0
JM
29020 * configure.in (makeinfo): Require version 4.5 or later. Allow
29021 versions 5 to 9.
29022 * configure: Regenerated.
29023 * manual/install.texi (texinfo): Increase version requirement to
29024 4.5 or later.
29025 * INSTALL: Regenerated.
29026
4e124ced
JM
29027 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29028
953ca31a
L
290292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29030
29031 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29032
617aca05
L
29033 * sysdeps/x86_64/x32/ffs.c: New file.
29034
5762f7ae
L
29035 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29036 __syscall_ulong_t.
29037 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29038 defined. Use __syscall_ulong_t.
29039 (shminfo): Use __syscall_ulong_t.
29040 (shm_info): Likewise.
29041
a26b6856
L
29042 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29043 __syscall_ulong_t.
29044
cb2b9ef7
L
29045 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29046 <bits/wordsize.h>.
29047 (msgqnum_t): Use __syscall_ulong_t.
29048 (msglen_t): Likewise.
29049 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29050 __syscall_ulong_t.
29051
34683bb0
L
29052 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29053 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29054
84a68786
L
29055 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29056
48baa5f1
L
29057 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29058 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29059
180be88b
L
29060 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29061 __syscall_slong_t.
29062
5e90c8ad
L
29063 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29064 include <bits/wordsize.h>. Check __x86_64__ instead of
29065 __WORDSIZE.
29066
23dfb58b
L
29067 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29068 "unsigned long long int" if __x86_64__ is defined.
29069 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29070
ce5d54b0
L
29071 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29072 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29073 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29074
13dc9eac
L
29075 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29076 <stdint.h>.
29077 (GET_PC): Cast to uintptr_t first.
29078 (GET_FRAME): Likewise.
29079 (GET_STACK): Likewise.
29080
a7895d15
L
29081 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29082 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29083 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29084 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29085 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29086 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29087 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29088 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29089 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29090 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29091 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29092 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29093 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29094 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29095 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29096 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29097 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29098 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29099 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29100 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29101 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29102 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29103 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29104 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29105 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29106 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29107 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29108 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29109 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29110
656416c9
AS
291112012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29112
5bd66283
AS
29113 * Makerules (+depfiles): Also collect depfiles from .oS in
29114 $(extra-objs).
29115 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29116 .oS, $(libnldbl-routines)).
29117
656416c9
AS
29118 * Makerules (native-compile-mkdep-flags): Define.
29119 * sunrpc/Makefile (extra-objs): Add $(addprefix
29120 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29121 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29122 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29123 calling $(make-target-directory).
29124
a46f2169
L
291252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29126
29127 * bits/types.h (__snseconds_t): Removed.
29128 * time/time.h (struct timespec): Replace __snseconds_t with
29129 __syscall_slong_t.
29130 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29131 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29132 Likewise.
29133 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29134 (__SNSECONDS_T_TYPE): Likewise.
29135 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29136 (__SNSECONDS_T_TYPE): Likewise.
29137 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29138 (__SNSECONDS_T_TYPE): Likewise.
29139
6af6528b
L
291402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29141
29142 * sysdeps/mach/hurd/bits/typesizes.h
29143 (__SYSCALL_SLONG_TYPE): New macro.
29144 (__SYSCALL_ULONG_TYPE): Likewise.
29145
de986b56
L
291462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29147
29148 * bits/types.h (__syscall_slong_t): New type.
29149 (__syscall_ulong_t): Likewise.
29150
29151 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29152 (__SYSCALL_ULONG_TYPE): Likewise.
29153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29154 (__SYSCALL_SLONG_TYPE): Likewise.
29155 (__SYSCALL_ULONG_TYPE): Likewise.
29156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29157 (__SYSCALL_SLONG_TYPE): Likewise.
29158 (__SYSCALL_ULONG_TYPE): Likewise.
29159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29160 (__SYSCALL_SLONG_TYPE): Likewise.
29161 (__SYSCALL_ULONG_TYPE): Likewise.
29162
85736dc7
L
291632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29164
29165 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29166 Add sigaltstack-offsets.sym.
29167 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29168 <sigaltstack-offsets.h>.
29169 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29170 longjmp_msg pointer.
29171 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29172 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29173 signal stack.
29174 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29175
cc03b296
JM
291762012-05-15 Joseph Myers <joseph@codesourcery.com>
29177
a9538892
JM
29178 * elf/stackguard-macros.h: Remove file.
29179 * sysdeps/generic/stackguard-macros.h: New file.
29180 * sysdeps/i386/stackguard-macros.h: Likewise.
29181 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29182 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29183 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29184 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29185 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29186 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29187 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29188 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29189 <elf/stackguard-macros.h>.
29190
cc03b296
JM
29191 [BZ #14109]
29192 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29193 __aligned__ in attribute.
29194 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29195 (gregset_t): Likewise.
29196
93171016
L
291972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29198
29199 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29200 * sysdeps/x86_64/64/Implies-after: Here. New file.
29201 * sysdeps/x86_64/x32/Implies-after: New file.
29202
d86813a0
L
292032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29204
29205 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29206 and access return value for _dl_profile_fixup. Use R10_LP to
29207 load frame size.
29208
2953ec75
L
292092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29210
29211 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29212
3b550e9e
L
292132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29214
29215 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29216 * sysdeps/x86_64/x32/sysdep.h: New file.
29217
eda41706
L
292182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29219
29220 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29221 * sysdeps/x86_64/setjmp.S: Likewise.
29222
9ea01d93
AZ
292232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29224
29225 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29226 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29227 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29228 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29229 remove unused global constant.
29230
02a91938
CM
292312012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29232
29233 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29234 include of <not-cancel.h>.
29235
6540185f
RM
292362012-05-15 Roland McGrath <roland@hack.frob.com>
29237
29238 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29239
509072a0
AJ
292402012-05-15 Jeff Law <law@redhat.com>
29241 Andreas Jaeger <aj@suse.de>
29242
29243 [BZ #13594]
29244 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29245 out from...
29246 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29247 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29248 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29249 code changing __hst_map_handle.map.
29250
ba75122d
RM
292512012-05-15 Roland McGrath <roland@hack.frob.com>
29252
29253 * configure.in (sysnames): Look for Implies-before and Implies-after
29254 files.
29255 * configure: Regenerated.
29256
890d8bd8
L
292572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29258
29259 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29260 8-byte data alignment with LP_SIZE alignment.
29261
f6ee6623
L
292622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29263
29264 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29265 into R10_LP.
29266
ea2626f6
L
292672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29268
29269 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29270
085f715e
L
292712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29272
29273 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29274 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29275 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29276 Likewise.
29277 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29278
be8498fc
L
292792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29280
29281 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29282 (stackinfo_sub_sp): Likewise.
29283
70bc83b9
L
292842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29285
29286 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29287 RAX_LP.
29288
9bc0b730
L
292892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29290
29291 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29292 into R*_LP.
29293
6d2850e7
L
292942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29295
29296 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29297 sizes into R*_LP.
29298
3cb84561
L
292992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29300
29301 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29302
54e2ed81
L
293032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29304
29305 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29306 into R11_LP and load __x86_64_shared_cache_size_half into
29307 R8_LP.
29308
8a17f349
L
293092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29310
29311 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29312 R8_LP.
29313
777b1eea
AZ
293142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29315
29316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29317 logb for POWER7.
29318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29319 logbf for POWER7.
29320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29321 logbl for POWER7.
29322 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29323 powerpc32/power7/fpu/s_logb.c via #include.
29324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29325 powerpc32/power7/fpu/s_logbf.c via #include.
29326 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29327 powerpc32/power7/fpu/s_logbl.c via #include.
29328
d20d4ac2
JM
293292012-05-15 Joseph Myers <joseph@codesourcery.com>
29330
29331 * README.libm: Remove file.
29332
6cdef1ab
L
293332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29334
29335 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29336 count for x32. Use R*_LP and omit operand-size suffix.
29337
0b254d8f
L
293382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29339
29340 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29341 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29342 * sysdeps/x86_64/x32/shlib-versions: New file.
29343
ceb809dc
RM
293442012-05-14 Roland McGrath <roland@hack.frob.com>
29345
29346 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29347 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29348 Use _dl_fatal_printf instead.
29349
37f1abd4
JM
293502012-05-14 Joseph Myers <joseph@codesourcery.com>
29351
29352 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29353 set if not set by the user. Do not allow for being unset.
29354 * sysdeps/unix/sysv/linux/configure: Regenerated.
29355
11de3a33
L
293562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29357
29358 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29359 the `q' suffix from lea and replace .quad with ASM_ADDR.
29360
e02f153a
L
293612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29362
29363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29364 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29365 instead of $17.
29366 (PTR_DEMANGLE): Likewise.
29367
520ae0fd
L
293682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29369
29370 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29371 (LP_OP): Likewise.
29372 (ASM_ADDR): Likewise.
29373 (RAX_LP): Likewise.
29374 (RBP_LP): Likewise.
29375 (RBX_LP): Likewise.
29376 (RCX_LP): Likewise.
29377 (RDI_LP): Likewise.
29378 (RSI_LP): Likewise.
29379 (RSP_LP): Likewise.
29380 (R8_LP): Likewise.
29381 (R9_LP): Likewise.
29382 (R10_LP): Likewise.
29383 (R10_LP): Likewise.
29384 (R11_LP): Likewise.
29385 (R12_LP): Likewise.
29386 (R13_LP): Likewise.
29387 (R14_LP): Likewise.
29388 (R15_LP): Likewise.
29389
b985be81
L
293902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29391
29392 * sysdeps/x86_64/x32/dl-machine.h: New file.
29393
6a4888ff
AJ
293942012-05-14 Andreas Jaeger <aj@suse.de>
29395
29396 * manual/Makefile (subdir): Remove export of subdir.
29397 (all): Remove target.
29398 (.PHONY): Remove all from list.
29399 (mkinstalldirs): Remove.
29400 (.PHONY): Remove installdirs from list.
29401 ($(inst_infodir)/libc.info): Use make-target-directory.
29402 (installdirs): Remove.
29403 (subdir_%): Remove.
29404 (glibc-targets): Remove.
29405 (lib): Remove.
29406 (stubs): Remove.
29407 ($(objpfx)stubs ../po/manual.pot): Remove.
29408 ($(objpfx)stamp%): Remove.
29409 (make-target-directory): Remove.
29410 (subdir_install): Remove.
29411 (routines): Remove.
29412 (aux): Remove.
29413 (sources): Remove.
29414 (objects): Remove.
29415 (headers): Remove.
29416
29417 [BZ #13750]
29418 * manual/.gitignore: Remove, it's not needed anymore.
29419 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29420 all files in it.
29421 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29422 directory.
29423 (texis): Renamed to $(objpfx)texis.
29424 (texis-path): New, contains path to generated files.
29425 (chapters.%): Use texis-path for complete path, add extra argument
29426 libc-texinfo.sh.
29427 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29428 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29429 (summary,texi, stamp-summary): Use complete path of
29430 files. Generate files in build dir.
29431 (dir-add.texi): Build in build dir.
29432 (libm-err.texi,stamp-libm-err): Likewise.
29433 (version.texi, stamp-version): Likewise.
29434 (.%c.texi): Likewise.
29435 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29436 (mostlyclean): Remove target.
29437 (realclean): Remove target.
29438 (generated): Add new variable with contents from mostlyclean and
29439 realclean, remove entries duplicated in common-mostlyclean, add
29440 stamp-libm-err and stamp-version.
29441 (generated-dirs): Add libc directory.
29442 ($(inst_infodir)/libc.info): Install files from build dir.
29443
29444 * manual/install.texi (Configuring and compiling): Adjust since
29445 the info files are not part of the tar ball anymore.
29446
7ac77294
AJ
294472012-05-14 Andreas Jaeger <aj@suse.de>
29448
29449 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29450 variable.
29451
ffb7875d
JM
294522012-05-14 Joseph Myers <joseph@codesourcery.com>
29453
29454 [BZ #13717]
29455 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29456 to 2.2.0 where earlier.
29457 * sysdeps/unix/sysv/linux/configure: Regenerated.
29458 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29459 Remove conditional code.
29460 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29461 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29462 Remove conditional code.
29463 [!__NR_lchown]: Likewise.
29464 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29465 [__NR_lchown]: Likewise.
29466 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29467 comment referencing __ASSUME_LCHOWN_SYSCALL.
29468 * sysdeps/unix/sysv/linux/i386/sigaction.c
29469 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29470 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29471 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29472 Remove conditional code.
29473 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29474 (__protocol_available): Remove #if 0 code.
29475 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29476 conditional code.
29477 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29478 * sysdeps/unix/sysv/linux/kernel-features.h
29479 (__ASSUME_GETCWD_SYSCALL): Don't define.
29480 (__ASSUME_REALTIME_SIGNALS): Likewise.
29481 (__ASSUME_PREAD_SYSCALL): Likewise.
29482 (__ASSUME_PWRITE_SYSCALL): Likewise.
29483 (__ASSUME_POLL_SYSCALL): Likewise.
29484 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29485 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29486 non-SPARC.
29487 (__ASSUME_SIOCGIFNAME): Don't define.
29488 (__ASSUME_MSG_NOSIGNAL): Likewise.
29489 (__ASSUME_SENDFILE): Define unconditionally.
29490 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29491 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29492 conditional code.
29493 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29494 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29495 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29496 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29497 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29498 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29499 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29501 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29502 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29504 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29505 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29507 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29508 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29510 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29513 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29514 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29516 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29519 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29520 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29522 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29524 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29525 Remove conditional code.
29526 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29527 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29528 Remove conditional code.
29529 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29530 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29531 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29532 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29533 Remove conditional code.
29534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29535 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29536 Remove conditional code.
29537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29538 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29539 Remove conditional code.
29540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29541 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29542 Remove conditional code.
29543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29544 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29545 Remove conditional code.
29546 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29547 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29548 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29550 * sysdeps/unix/sysv/linux/sigaction.c
29551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29553 * sysdeps/unix/sysv/linux/sigpending.c
29554 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29555 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29556 * sysdeps/unix/sysv/linux/sigprocmask.c
29557 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29558 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29559 * sysdeps/unix/sysv/linux/sigsuspend.c
29560 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29561 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29562 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29563 (__libc_missing_rt_sigs): Remove.
29564 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29565 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29566 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29567 Remove conditional code.
29568 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29569 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29570 return 1.
29571 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29572 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29573 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29574 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29575
1bfb7291
AJ
295762012-05-14 Andreas Jaeger <aj@suse.de>
29577
caae5a81
AJ
29578 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29579 it's not used in glibc.
29580 (__coshm1): Likewise.
29581 (__acosh1p): Likewise.
29582 (__sgn): Likewise.
29583
1bfb7291
AJ
29584 * manual/string.texi (Copying and Concatenation): Add missing
29585 variable in concat example.
29586 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29587
c044d724
L
295882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29589
144c5467 29590 [BZ #14103]
c044d724
L
29591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29592 __builtin_clzl with __builtin_clzll.
29593
2523c62b
L
295942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29595
29596 [BZ #14104]
29597 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29598 libc_freeres_ptr.
29599
d7bb4c42
LD
296002012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29601
29602 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29603 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29604 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29605 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29606
9dc4e1fb
MF
296072012-05-14 Mike Frysinger <vapier@gentoo.org>
29608
29609 * NEWS: Update ia64 info.
29610
c7df0112
AS
296112012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29612
29613 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29614 used as bcopy.
29615
dc70356c
TS
296162012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29617
29618 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29619 * sysdeps/unix/syscalls.list (dup3): Likewise.
29620 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29621 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29622
9fb1a21f
L
296232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29624
29625 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29626 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29627
4822a2a5
L
296282012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29629
29630 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29631 thread pointer.
29632 (TLS_IE): Use mov/add instead of movq/addq to load thread
29633 pointer.
29634 (TLS_GD_PREFIX): New.
29635 (TLS_GD): Use it.
29636
842b81d6
DM
296372012-05-11 David S. Miller <davem@davemloft.net>
29638
29639 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29640 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29641 (_FPU_SETCW): Likewise.
29642
1cf463cd
L
296432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29644
29645 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29646 is 32-byte aligned.
29647
60cc4a18
AS
296482012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29649
29650 [BZ #11837]
29651 * iconvdata/gb18030.c: Update tables.
29652 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29653 characters specially.
29654 (BODY for TO_LOOP): Add encoding of missing ranges.
29655
febb44a4
TS
296562012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29657
29658 [BZ #13673]
29659 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29660 * sysdeps/mach/hurd/dup3.c: Likewise.
29661 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29662 * sysdeps/powerpc/memmove.c:: Likewise.
29663
0a10fb9e
L
296642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29665
29666 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29667 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29668
df8a552f
L
296692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29670
29671 * elf/elf.h (R_X86_64_RELATIVE64): New.
29672 (R_X86_64_NUM): Updated.
29673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29674 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29675 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29676 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29677 tst-quad1pie tst-quad2pie
29678 (modules-names): Add tst-quadmod1 tst-quadmod2.
29679 ($(objpfx)tst-quad1): New dependency.
29680 ($(objpfx)tst-quad2): Likewise.
29681 ($(objpfx)tst-quad1pie): Likewise.
29682 ($(objpfx)tst-quad2pie): Likewise.
29683 * sysdeps/x86_64/tst-quad1.c: New file.
29684 * sysdeps/x86_64/tst-quad1pie.c: New file.
29685 * sysdeps/x86_64/tst-quad2.c: Likewise.
29686 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29687 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29688 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29689 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29690 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29691
f34d6f84
ST
296922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29693
f42d41d1
ST
29694 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29695 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29696 * streams/stropts.h (t_scalar_t): Define type.
29697
3c3571fc
ST
29698 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29699 (_PATH_PRESERVE): Set to "/var/lib".
29700 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29701
61f06bd3
ST
29702 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29703 instead of int.
29704
918d4d71
ST
29705 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29706 if __dir_mkfile succeeded.
29707
f34d6f84
ST
29708 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29709 checking for _hurd_dtablesize. Unlock it right after having
29710 finished _hurd_dtable allocation.
29711
10589b4a
TS
297122012-05-10 Thomas Schwinge <thomas@schwinge.name>
29713
674cdbc7
TS
29714 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29715 * sysdeps/mach/hurd/configure: Regenerated.
29716 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29717 special-casing to...
29718 * sysdeps/gnu/configure.in: ... this new file.
29719 * sysdeps/unix/sysv/linux/configure: Regenerated.
29720 * sysdeps/gnu/configure: New generated file.
29721
8e41b99f
TS
29722 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29723 for Linux: use nsec instead of usec, as well as:
29724 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29725 members of type struct timespec.
29726 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29727 New macros.
29728 (struct stat64): Likewise.
29729 (_STATBUF_ST_NSEC): New macro.
29730 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29731
10589b4a
TS
29732 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29733 __strtoul_internal rather than strtoul.
29734
63643c85
PT
297352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29736
29737 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29738 and reject them.
29739
3faebe6a
ST
297402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29741
29742 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29743 which preserves existing values.
29744 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29745
c6474b07
PT
297462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29747
29748 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29749 TIMEOUT values. Return EINVAL for NFDS values either negative or
29750 greater than FD_SETSIZE.
29751
1043890b
ST
297522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29753
29754 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29755 allocated, call __vm_protect to finish enabling the existing space, and
29756 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29757 allocate the remainder.
29758
37ed8b9b
PT
297592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29760
29761 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29762 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29763
db653660
ST
297642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29765
37ed8b9b
PT
29766 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29767 sysdeps/mach/hurd/readlink.c.
b29d4053 29768
db653660
ST
29769 * posix/tst-sysconf.c (posix_options): Only use
29770 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29771 _POSIX_SYNCHRONIZED_IO when they are defined
29772 * sysdeps/mach/hurd/bits/posix_opt.h:
29773 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29774 (_XOPEN_REALTIME): Undefine macro.
29775 (_XOPEN_REALTIME_THREADS): Undefine macro.
29776 (_XOPEN_SHM): Undefine macro.
29777 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29778 macro to -1.
29779 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29780 macro to -1.
29781 (_POSIX_ASYNC_IO): Undefine macro.
29782 (_POSIX_PRIORITIZED_IO): Undefine macro.
29783 (_POSIX_SPIN_LOCKS): Define macro to -1.
29784
ee16e894
ST
29785 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29786 SA_NODEFER, SA_RESETHAND.
29787 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29788 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29789 F_DUPFD_CLOEXEC.
29790
6103ae3b
TS
297912012-05-10 Thomas Schwinge <thomas@schwinge.name>
29792
29793 * elf/Makefile (pldd-modules): Define unconditionally.
29794
80b4e5f3
TS
297952012-05-10 Thomas Schwinge <thomas@schwinge.name>
29796
29797 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29798
edadcbd6
ST
297992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29800
29801 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29802 Return ENOENT when name is empty.
29803 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29804
80694780
TS
298052012-05-10 Thomas Schwinge <thomas@schwinge.name>
29806
1792c087
TS
29807 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29808
80694780
TS
29809 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29810
6b645f0d
ST
298112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29812
80694780
TS
29813 Fix mlock in all cases except non-readable pages.
29814 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29815 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29816
6b645f0d
ST
29817 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29818 (__mkdir): When path is `/', just fail with EEXIST.
29819 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29820
e468f8a3
TS
298212012-05-10 Thomas Schwinge <thomas@schwinge.name>
29822
29823 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29824 <sys/uio.h> (for writev).
29825 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29826 and <sys/param.h> (for MIN).
29827
a4186cff
PT
298282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29829
29830 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29831 REQUESTED_TIME. Properly set the remaining time and return EINTR
29832 if interrupted.
29833
510bbf14
TS
298342012-05-10 Thomas Schwinge <thomas@schwinge.name>
29835
29836 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29837 Depend on against $(link-rpcuserlibs).
29838
5d5722e8
ST
298392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29840
a4186cff
PT
29841 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29842 (__libc_stack_end): Do not use attribute_relro.
29843 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29844 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29845 to libthread-provided value.
a4186cff
PT
29846 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29847 attribute_relro.
5d5722e8 29848
37233df9
TS
298492012-05-10 Thomas Schwinge <thomas@schwinge.name>
29850
be971a2b
TS
29851 [BZ #3748]
29852 * bits/libc-lock.h (__libc_once_get): New macro.
29853 * sysdeps/mach/bits/libc-lock.h: Likewise.
29854 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29855 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29856 instead of using implementation details.
29857
37233df9
TS
29858 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29859 * libio/freopen.c: Likewise.
29860 * libio/freopen64.c: Likewise.
29861 * misc/syslog.c: Likewise.
29862 * nscd/connections.c: Likewise.
29863 * nscd/netgroupcache.c: Likewise.
29864 * sysdeps/posix/getcwd.c: Likewise.
29865
38de94a5
RM
298662012-05-10 Roland McGrath <roland@hack.frob.com>
29867
29868 * math/w_ilogbf.c: Add #include <limits.h>.
29869
67530489
ST
298702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29871
a4186cff 29872 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29873 path instead of returning without unlocking.
29874
67530489
ST
29875 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29876 immediate-write ioctls.
29877 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29878
5aa3a74a
TS
298792012-05-10 Thomas Schwinge <thomas@schwinge.name>
29880
18bad2ae
TS
29881 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29882 __builtin_frame_address instead of making assumptions about the
29883 location of the return address relative to DATA. Force early load of
29884 the return address.
29885 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29886 __builtin_frame_address.
29887
5aa3a74a
TS
29888 dup3 for GNU Hurd.
29889 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29890 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29891 implement dup3 and do some further code clean-ups.
29892 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29893 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29894
ecd0de9a
ST
298952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29896
cd9fa985
ST
29897 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29898
a4186cff
PT
29899 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29900 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29901 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29902 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29903 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29904 d->port.lock.
802ca5a5 29905
a4186cff
PT
29906 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29907 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29908 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29909
bcf55240
TS
299102012-05-10 Thomas Schwinge <thomas@schwinge.name>
29911
6960eb42
TS
29912 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29913 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29914 definitions.
29915
eb43375f
TS
29916 accept4 for GNU Hurd.
29917 * include/sys/socket.h (__libc_accept4): New prototype.
29918 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29919 to implement __libc_accept4.
29920 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29921 __libc_accept4.
29922 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29923
bcf55240
TS
29924 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29925 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29926 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29927 signal-defines.sym.
29928
6178c55b
ST
299292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29930
a4186cff 29931 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29932
6f080c2f
TS
299332012-05-10 Thomas Schwinge <thomas@schwinge.name>
29934
29935 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29936 assertion on O_CLOEXEC flag.
29937 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29938 * hurd/intern-fd.c: Likewise.
29939 * hurd/port2fd.c: Likewise.
29940
bcfe3a54
ST
299412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29942
29943 [BZ #3906]
29944 * bits/in.h (IPV6_PKTINFO): Define new macro.
29945 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29946
89c9aa49
AZ
299472012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29948
29949 [BZ #13954]
29950 [BZ #13955]
29951 [BZ #13956]
29952 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29953 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29954 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29955 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29956 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29957 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29958 * math/libm-test.inc (logb_test) : Additional logb tests.
29959
021db4be
AJ
299602012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29961 Andreas Jaeger <aj@suse.de>
29962
29963 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29964 * configure: Regenerated.
29965 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29966 * config.make.in (link-obsolete-rpc): New substituted variable.
29967 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29968 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29969 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29970 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29971 so that libc.a contains the symbols.
29972 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29973 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29974 * sunrpc/auth_none.c: Likewise.
29975 * sunrpc/auth_unix.c: Likewise.
29976 * sunrpc/authdes_prot.c: Likewise.
29977 * sunrpc/authuxprot.c: Likewise.
29978 * sunrpc/clnt_gen.c: Likewise.
29979 * sunrpc/clnt_perr.c: Likewise.
29980 * sunrpc/clnt_raw.c: Likewise.
29981 * sunrpc/clnt_simp.c: Likewise.
29982 * sunrpc/clnt_tcp.c: Likewise.
29983 * sunrpc/clnt_udp.c: Likewise.
29984 * sunrpc/clnt_unix.c: Likewise.
29985 * sunrpc/des_crypt.c: Likewise.
29986 * sunrpc/des_soft.c: Likewise.
29987 * sunrpc/get_myaddr.c: Likewise.
29988 * sunrpc/key_call.c: Likewise.
29989 * sunrpc/key_prot.c: Likewise.
29990 * sunrpc/netname.c: Likewise.
29991 * sunrpc/pm_getmaps.c: Likewise.
29992 * sunrpc/pm_getport.c: Likewise.
29993 * sunrpc/pmap_clnt.c: Likewise.
29994 * sunrpc/pmap_prot.c: Likewise.
29995 * sunrpc/pmap_prot2.c: Likewise.
29996 * sunrpc/pmap_rmt.c: Likewise.
29997 * sunrpc/publickey.c: Likewise.
29998 * sunrpc/rpc_cmsg.c: Likewise.
29999 * sunrpc/rpc_common.c: Likewise.
30000 * sunrpc/rpc_dtable.c: Likewise.
30001 * sunrpc/rpc_prot.c: Likewise.
30002 * sunrpc/rpc_thread.c: Likewise.
30003 * sunrpc/rtime.c: Likewise.
30004 * sunrpc/svc.c: Likewise.
30005 * sunrpc/svc_auth.c: Likewise.
30006 * sunrpc/svc_raw.c: Likewise.
30007 * sunrpc/svc_run.c: Likewise.
30008 * sunrpc/svc_tcp.c: Likewise.
30009 * sunrpc/svc_udp.c: Likewise.
30010 * sunrpc/svc_unix.c: Likewise.
30011 * sunrpc/svcauth_des.c: Likewise.
30012 * sunrpc/xcrypt.c: Likewise.
30013 * sunrpc/xdr.c: Likewise.
30014 * sunrpc/xdr_array.c: Likewise.
30015 * sunrpc/xdr_float.c: Likewise.
30016 * sunrpc/xdr_intXX_t.c: Likewise.
30017 * sunrpc/xdr_mem.c: Likewise.
30018 * sunrpc/xdr_rec.c: Likewise.
30019 * sunrpc/xdr_ref.c: Likewise.
30020 * sunrpc/xdr_sizeof.c: Likewise.
30021 * sunrpc/xdr_stdio.c: Likewise.
30022
b5c086a2
RM
300232012-05-10 Roland McGrath <roland@hack.frob.com>
30024
30025 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30026 change. Update copyright years.
30027
6d74dd09
JM
300282012-05-10 Joseph Myers <joseph@codesourcery.com>
30029
30030 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30031
28e72501
MK
300322012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30033 Joseph Myers <joseph@codesourcery.com>
30034 Paul Pluzhnikov <ppluzhnikov@google.com>
30035
30036 [BZ #14012]
30037 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30038 requiring rpcgen.
30039 [cross-compiling] (extra-libs): Likewise.
30040 [cross-compiling] (extra-libs-others): Likewise.
30041 [cross-compiling] (librpcsvc-routines): Likewise.
30042 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30043 [cross-compiling] (omit-deps): Likewise.
30044 (sunrpc-CPPFLAGS): New variable.
30045 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30046 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30047 (cross-rpcgen-objs): New variable.
30048 (extra-objs): Append $(cross-rpcgen-objs).
30049 ($(cross-rpcgen-objs)): New rule.
30050 ($(objpfx)cross-rpcgen): Likewise.
30051 (rpcgen-cmd): Define to use $(built-program-file). Expand
30052 comment.
30053 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30054 ($(objpfx)x%.stmp): Likewise.
30055 * sunrpc/proto.h [IS_IN_build] (_): Define.
30056 [IS_IN_build] (_libc_intl_domainname): Likewise.
30057
c8c59454
L
300582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30059
30060 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30061 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30062 and R_X86_64_TPOFF64.
30063
6f27cd16
JM
300642012-05-10 Joseph Myers <joseph@codesourcery.com>
30065
30066 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30067 sysdeps/unix/sysv/syscalls.list.
30068 (stime): Likewise.
30069 (utime): Likewise.
30070 * sysdeps/unix/sysv/syscalls.list: Remove file.
30071
02467e1c
PE
300722012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30073
30074 [BZ #3440]
30075 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30076 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30077 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30078 (__LC_IDENTIFICATION): Make these macros useful in #if
30079 expressions, as required by C99.
30080
da392631
AS
300812012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30082
30083 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30084 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30085 after this.
30086
8115f29b
L
300872012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30088
30089 * stdlib/longlong.h: Updated from GCC.
30090
bdd74070
AJ
300912012-05-09 Andreas Jaeger <aj@suse.de>
30092
edfe0dbe
AJ
30093 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30094 default is first entry.
30095 (run_mode): Set type.
30096 (main): Remove informal message about syslog.
30097 (options): Fix typo.
30098
bcfe3a54
ST
30099 [BZ #14053]
30100 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 30101 to asm.
bcfe3a54
ST
30102 (lrint): Likewise.
30103 (llrintf): Likewise.
30104 (llrint): Likewise.
30105 (rint): Likewise.
30106 (rintf): Likewise.
30107 (nearbyint): Likewise.
30108 (nearbyintf): Likewise.
bdd74070 30109
91d8d69e
AJ
301102012-05-09 Andreas Jaeger <aj@suse.de>
30111 Pedro Alves <palves@redhat.com>
30112
30113 * nscd/nscd.c (run_mode): Use enum.
30114 (main): Cleanup coding style issue.
30115
bb90b80b
AJ
301162012-05-09 Alexandre Oliva <aoliva@redhat.com>
30117 Andreas Jaeger <aj@suse.de>
30118
bcfe3a54
ST
30119 * nscd/nscd.c (go_background): Replaced with...
30120 (run_mode): ... this.
bb90b80b 30121 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
30122 (options): Add -F --foreground.
30123 (main): Implement it.
30124 (parse_opt): Parse it.
bb90b80b 30125
1a4b75a1
AJ
301262012-05-09 Andreas Jaeger <aj@suse.de>
30127
30128 [BZ #14083]
30129 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30130 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30131 -Wconversion warning.
30132 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30133 Likewise.
30134
b1cc2472
JM
301352012-05-09 Joseph Myers <joseph@codesourcery.com>
30136
30137 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30138 == 0.
30139 (LC_ALL): Use macro-int-constant.
30140 (LC_COLLATE): Likewise.
30141 (LC_CTYPE): Likewise.
30142 (LC_MESSAGES): Likewise.
30143 (LC_MONETARY): Likewise.
30144 (LC_NUMERIC): Likewise.
30145 (LC_TIME): Likewise.
30146 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30147 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30149 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30150 Specify type.
30151 [C99-based standards] (float_t): Expect type.
30152 [C99-based standards] (double_t): Expect type.
30153 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30154 type.
30155 [C99-based standards] (HUGE_VALL): Likewise.
30156 [C99-based standards] (INFINITY): Likewise.
30157 [C99-based standards] (NAN): Likewise.
30158 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30159 [C99-based standards] (FP_NAN): Likewise.
30160 [C99-based standards] (FP_NORMAL): Likewise.
30161 [C99-based standards] (FP_SUBNORMAL): Likewise.
30162 [C99-based standards] (FP_ZERO): Likewise.
30163 [C99-based standards] (FP_FAST_FMA): Use
30164 optional-macro-int-constant. Specify type. Require == 1.
30165 [C99-based standards] (FP_FAST_FMAF): Likewise.
30166 [C99-based standards] (FP_FAST_FMAL): Likewise.
30167 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30168 [C99-based standards] (FP_ILOGBNAN): Likewise.
30169 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30170 Specify type.
30171 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30172 [C99-based standards] (math_errhandling): Specify type.
30173 [ISO99 || ISO11] (signgam): Do not allow.
30174 [non-C99-based standards] (copysignf): Do not allow.
30175 [non-C99-based standards] (exp2f): Likewise.
30176 [non-C99-based standards] (log2f): Likewise.
30177 [non-C99-based standards] (modff): Allow.
30178 [non-C99-based standards] (erff): Do not allow.
30179 [non-C99-based standards] (erfcf): Likewise.
30180 [non-C99-based standards] (gammaf): Likewise.
30181 [non-C99-based standards] (hypotf): Likewise.
30182 [non-C99-based standards] (j0f): Likewise.
30183 [non-C99-based standards] (j1f): Likewise.
30184 [non-C99-based standards] (jnf): Likewise.
30185 [non-C99-based standards] (lgammaf): Likewise.
30186 [non-C99-based standards] (tgammaf): Likewise.
30187 [non-C99-based standards] (y0f): Likewise.
30188 [non-C99-based standards] (y1f): Likewise.
30189 [non-C99-based standards] (ynf): Likewise.
30190 [non-C99-based standards] (isnanf): Likewise.
30191 [non-C99-based standards] (acoshf): Likewise.
30192 [non-C99-based standards] (asinhf): Likewise.
30193 [non-C99-based standards] (atanhf): Likewise.
30194 [non-C99-based standards] (cbrtf): Likewise.
30195 [non-C99-based standards] (expm1f): Likewise.
30196 [non-C99-based standards] (ilogbf): Likewise.
30197 [non-C99-based standards] (log1pf): Likewise.
30198 [non-C99-based standards] (logbf): Likewise.
30199 [non-C99-based standards] (nextafterf): Likewise.
30200 [non-C99-based standards] (remainderf): Likewise.
30201 [non-C99-based standards] (rintf): Likewise.
30202 [non-C99-based standards] (scalbf): Likewise.
30203 [non-C99-based standards] (copysignl): Likewise.
30204 [non-C99-based standards] (exp2l): Likewise.
30205 [non-C99-based standards] (log2l): Likewise.
30206 [non-C99-based standards] (modfl): Allow.
30207 [non-C99-based standards] (erfl): Do not allow.
30208 [non-C99-based standards] (erfcl): Likewise.
30209 [non-C99-based standards] (gammal): Likewise.
30210 [non-C99-based standards] (hypotl): Likewise.
30211 [non-C99-based standards] (j0l): Likewise.
30212 [non-C99-based standards] (j1l): Likewise.
30213 [non-C99-based standards] (jnl): Likewise.
30214 [non-C99-based standards] (lgammal): Likewise.
30215 [non-C99-based standards] (tgammal): Likewise.
30216 [non-C99-based standards] (y0l): Likewise.
30217 [non-C99-based standards] (y1l): Likewise.
30218 [non-C99-based standards] (ynl): Likewise.
30219 [non-C99-based standards] (isnanl): Likewise.
30220 [non-C99-based standards] (acoshl): Likewise.
30221 [non-C99-based standards] (asinhl): Likewise.
30222 [non-C99-based standards] (atanhl): Likewise.
30223 [non-C99-based standards] (cbrtl): Likewise.
30224 [non-C99-based standards] (expm1l): Likewise.
30225 [non-C99-based standards] (ilogbl): Likewise.
30226 [non-C99-based standards] (log1pl): Likewise.
30227 [non-C99-based standards] (logbl): Likewise.
30228 [non-C99-based standards] (nextafterl): Likewise.
30229 [non-C99-based standards] (remainderl): Likewise.
30230 [non-C99-based standards] (rintl): Likewise.
30231 [non-C99-based standards] (scalbl): Likewise.
30232 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30233 [non-C99-based standards] (FP_*): Do not allow.
30234 [C99-based standards] (FP_*): Change to
30235 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30236 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30237 allow.
30238 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30239 (SIG_ERR): Likewise.
30240 [X/Open-based standards] (SIG_HOLD): Likewise.
30241 (SIG_IGN): Likewise.
30242 (SIGABRT): Use macro-int-constant. Specify type. Require
30243 positive value.
30244 (SIGFPE): Likewise.
30245 (SIGILL): Likewise.
30246 (SIGINT): Likewise.
30247 (SIGSEGV): Likewise.
30248 (SIGTER): Likewise.
30249 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30250 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30251 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30252 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30253 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30254 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30255 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30256 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30257 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30258 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30259 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30260 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30261 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30262 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30263 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30264 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30265 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30266 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30267 [X/Open-based standards] (SIGTRAP): Likewise.
30268 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30269 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30270 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30271 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30272 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30273 allow.
30274
b9f1922d
IW
302752012-05-08 Ian Wienand <ianw@vmware.com>
30276
30277 [BZ #14080]
30278 * time/tzset.c (__tzset_parse_tz): Update default rules for
30279 daylight time changes in the Energy Policy Act of 2005.
30280
1db86e88
AJ
302812012-05-09 Andreas Jaeger <aj@suse.de>
30282
30283 [BZ #13983]
30284 * elf/ldconfig.c (parse_conf): Change string to make clear that
30285 ldconfig only issued a warning if ld.so.conf does not exist.
30286
dee4a4e3
DM
302872012-05-08 David S. Miller <davem@davemloft.net>
30288
ee0db190
DM
30289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30290 movxtod instead of popping the value on the stack.
30291
dee4a4e3
DM
30292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30293
6a43ec98
CD
302942012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30295
30296 * config.h.in: Add HAVE_ARM_PCS_VFP.
30297
05c2c961
RMG
302982012-05-08 Roland Mc Grath <roland@hack.frob.com>
30299
bcfe3a54
ST
30300 [BZ #13979]
30301 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30302 checking but the checks are disabled for any reason.
05c2c961 30303
4b30f61a
L
303042012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30305
30306 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30307 and ELF64_R_TYPE with ELFW(R_TYPE).
30308
eee2bc67
JM
303092012-05-08 Joseph Myers <joseph@codesourcery.com>
30310
7ea5391a
JM
30311 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30312 (ulimit): Likewise.
30313
eee2bc67
JM
30314 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30315 (settimeofday): Likewise.
30316
abb66a67
MF
303172012-05-08 Mike Frysinger <vapier@gentoo.org>
30318
30319 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30320 a struct th_u2 inside the union, and move tu_block/tu_code into
30321 a new th_u3 union of tu_block/tu_code inside of that. Move
30322 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30323 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30324 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30325 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30326 (th_stuff): Change to th_u1.tu_stuff.
30327 (th_data): Define.
30328 (th_msg): Change to th_u1.th_u2.tu_data.
30329
7f18b530
DM
303302012-05-07 David S. Miller <davem@davemloft.net>
30331
05760585
DM
30332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30333
7f18b530
DM
30334 [BZ #14074]
30335 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30336 (SETUP_PIC_REG): Use it.
30337 (SETUP_PIC_REG_LEAF): Use it.
30338
495fd99f
JM
303392012-05-07 Joseph Myers <joseph@codesourcery.com>
30340
30341 [BZ #13885]
30342 [BZ #13923]
30343 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30344 USE_AS_EXPM1L.
30345 (EXPL_FINITE): Likewise.
30346 (FLDLOG): Likewise.
30347 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30348 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30349 e_expl.S.
30350 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30351 USE_AS_EXPM1L.
30352 (EXPL_FINITE): Likewise.
30353 (FLDLOG): Likewise.
30354 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30355 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30356 e_expl.S.
30357 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30358 test of -max_value argument for long double.
30359 * sysdeps/i386/fpu/libm-test-ulps: Update.
30360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30361
6693d694
DM
303622012-05-06 David S. Miller <davem@davemloft.net>
30363
30364 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30365 quad soft-float symbols whose references which are compiler
30366 generated.
30367 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30368
6c23e11c
JM
303692012-05-06 Joseph Myers <joseph@codesourcery.com>
30370
d8b82cad
JM
30371 [BZ #13884]
30372 [BZ #13914]
30373 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30374 USE_AS_EXP10L.
30375 (EXPL_FINITE): Likewise.
30376 (FLDLOG): Likewise.
30377 (c0): Likewise.
30378 (c1): Likewise.
30379 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30380 Adjust comments for base varying.
30381 (__expl_finite): Change alias to EXPL_FINITE.
30382 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30383 e_expl.S.
30384 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30385 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30386 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30387 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30388 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30389 USE_AS_EXP10L.
30390 (EXPL_FINITE): Likewise.
30391 (FLDLOG): Likewise.
30392 (c0): Likewise.
30393 (c1): Likewise.
30394 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30395 Adjust comments for base varying.
30396 (__expl_finite): Change alias to EXPL_FINITE.
30397 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30398 tests for bugs.
30399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30400
6c23e11c
JM
30401 [BZ #14064]
30402 * math/libm-test.inc (check_float_internal): Correct ulp
30403 calculation for subnormal expected results.
30404
29ba805c
AJ
304052012-05-06 Andreas Jaeger <aj@suse.de>
30406
30407 * Makeconfig (+math-flags): New, set to -frounding-math.
30408 (+cflags): Add +math-flags so that all of glibc gets compiled with
30409 it.
30410
30411 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30412
7b17aeda
JM
304132012-05-05 Joseph Myers <joseph@codesourcery.com>
30414
5779f134
JM
30415 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30416 Disable one test.
30417
41498f4d
JM
30418 [BZ #13787]
30419 [BZ #13922]
30420 [BZ #14036]
30421 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30422 (__ieee754_expl): Allow for and saturate large arguments.
30423 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30424 (u_threshold): Likewise.
30425 (__exp): Call __ieee754_exp before checking for overflow and
30426 underflow.
30427 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30428 (u_threshold): Likewise.
30429 (__expf): Call __ieee754_expf before checking for overflow and
30430 underflow.
30431 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30432 (u_threshold): Likewise.
30433 (__expl): Call __ieee754_expl before checking for overflow and
30434 underflow.
30435 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30436 (__ieee754_expl): Allow for and saturate large arguments.
30437 * math/libm-test.inc (exp_test): Add another test. Do not allow
30438 missing overflow exception on overflow.
30439 (expm1_test): Do not allow missing overflow exception on overflow.
30440
6698b8bf
JM
30441 * sysdeps/i386/fpu/e_expl.c: Move to ...
30442 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30443 rather than using inline asm.
30444 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30445 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30446 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30447
7b17aeda
JM
30448 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30449 (nice): Likewise.
30450 (poll): Likewise.
30451 (signal): Likewise.
30452 (time): Likewise.
30453 (times): Likewise.
30454
f7c85819
JM
304552012-05-04 Joseph Myers <joseph@codesourcery.com>
30456
30457 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30458 sysdeps/unix/common/syscalls.list.
30459 (fchmod): Likewise.
30460 (fchown): Likewise.
30461 (ftruncate): Likewise.
30462 (getrusage): Likewise.
30463 (gettimeofday): Likewise.
30464 (setpgid): Likewise.
30465 (setregid): Likewise.
30466 (setreuid): Likewise.
30467 (sigaction): Likewise.
30468 (truncate): Likewise.
30469 (vhangup): Likewise.
30470 * sysdeps/unix/common/syscalls.list: Remove file.
30471 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30472 * sysdeps/unix/sysv/linux/Implies: Likewise.
30473
336270d0
L
304742012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30475
30476 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30478 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30479 Moved to ...
30480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30481 Here.
30482 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30483 to ...
30484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30485 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30486 to ...
30487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30488 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30489 to ...
30490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30491 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30492 to ...
30493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30494 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30495 to ...
30496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30497 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30498 to ...
30499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30500 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30501 to ...
30502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30503 Here.
30504 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30505 to ...
30506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30507 Here.
30508 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30509 to ...
30510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30511 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30512 Moved to ...
30513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30514 Here.
30515 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30516 to ...
30517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30518
d128e450
JM
305192012-05-04 Joseph Myers <joseph@codesourcery.com>
30520
fa8ee516
JM
30521 * sysdeps/unix/common/bits/dirent.h: Remove file.
30522 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30523
d128e450
JM
30524 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30525 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30526 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30527 * sysdeps/unix/bsd/isatty.c: Likewise.
30528 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30529 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30530 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30531
ff8faaf0 305322012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30533
62881be4 30534 [BZ #13563]
31dc8730
AZ
30535 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30536 long double comparison inaccuracies.
30537 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30539
6fef930c
AS
305402012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30541
30542 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30543 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30544
8f203e6c
JM
305452012-05-04 Joseph Myers <joseph@codesourcery.com>
30546
30547 [BZ #14049]
30548 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30549 nonzero digits before rounding a hex value.
30550 * stdlib/tst-strtod.c (tests): Add another test.
30551
5197d9c2
AK
305522012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30553
30554 * sysdeps/s390/fpu/libm-test-ulps: Update.
30555
f0c1dedf
AJ
305562012-05-03 Andreas Jaeger <aj@suse.de>
30557
30558 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30559 does not get optimized out.
30560 (malloc_opt_barrier): New.
30561
a65ef2ae 305622012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30563 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30564
2b942cb7 30565 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30566 intermediate file deletion.
2b942cb7 30567 (generated): Add .symlist files.
a65ef2ae 30568
54b71e02
JM
305692012-05-03 Joseph Myers <joseph@codesourcery.com>
30570
30571 [BZ #13775]
30572 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30573 Redirect under this condition.
30574 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30575 [__USE_GNU] (__dprintf_chk): Not under this condition.
30576 [__USE_GNU] (__vdprintf_chk): Likewise.
30577 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30578 under this condition.
30579 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30580 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30581 [__USE_XOPEN2K8] (vdprintf): Likewise.
30582 [__USE_GNU] (__dprintf_chk): Not under this condition.
30583 [__USE_GNU] (__vdprintf_chk): Likewise.
30584 [__USE_GNU] (dprintf): Likewise.
30585 [__USE_GNU] (vdprintf): Likewise.
30586
d3dfcc41
RM
305872012-05-03 Roland McGrath <roland@hack.frob.com>
30588
30589 * elf/Makefile (common-generated): Set this instead of generated for
30590 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30591 $(all-built-dso)-derived lists.
30592
7ac30cc5
AJ
305932012-05-03 Andreas Jaeger <aj@suse.de>
30594
0c51e550
AJ
30595 * sysdeps/i386/fpu/libm-test-ulps: Update.
30596
7ac30cc5
AJ
30597 * FAQ: Removed.
30598 * FAQ.in: Likewise.
30599 * scripts/gen-FAQ.pl: Likewise.
30600 * manual/install.texi (Installation): Point to online location of
30601 FAQ.
30602 * Makefile (files-for-dist): Remove FAQ.
30603 (FAQ): Remove.
30604
d4c2917f
AM
306052012-05-02 Allan McRae <allan@archlinux.org>
30606
30607 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30608 (LDFLAGS-reldepmod5.so): Likewise.
30609 (LDFLAGS-reldep6mod1.so): Likewise.
30610 (LDFLAGS-reldep6mod4.so): Likewise.
30611 (LDFLAGS-reldep8mod3.so): Likewise.
30612 (LDFLAGS-unload4mod1.so): Likewise.
30613 (LDFLAGS-unload4mod2.so): Likewise.
30614 (LDFLAGS-tst-initorder): Likewise.
30615 (LDFLAGS-tst-initordera2.so): Likewise.
30616 (LDFLAGS-tst-initordera3.so): Likewise.
30617 (LDFLAGS-tst-initordera4.so): Likewise.
30618 (LDFLAGS-tst-initorderb2.so): Likewise.
30619 (LDFLAGS-noload): Likewise.
30620 (LDFLAGS-next): Likewise.
30621 (LDFLAGS-order2mod1.so): Likewise.
30622 (LDFLAGS-order2mod2.so): Likewise.
30623 (LDFLAGS-tst-initorder2): Likewise.
30624 (LDFLAGS-tst-initorder2a.so): Likewise.
30625 (LDFLAGS-tst-initorder2b.so): Likewise.
30626 (LDFLAGS-tst-initorder2c.so): Likewise.
30627 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30628
d77f993f
DM
306292012-05-02 David S. Miller <davem@davemloft.net>
30630
30631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30632
171a70b4
PP
306332012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30634
30635 [BZ #14055]
30636 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30637
0be196ad
AJ
306382012-05-02 Andreas Jaeger <aj@suse.de>
30639
30640 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30641 since we manipulate rounding mode.
30642 (CPPFLAGS-test-idouble.c): Likewise.
30643 (CPPFLAGS-test-ifloat.c): Likewise.
30644 (CFLAGS-test-ldouble.c): Likewise.
30645 (CFLAGS-test-double.c): Likewise.
30646 (CFLAGS-test-float.c): Likewise.
30647 (CFLAGS-test-misc.c): Likewise.
30648 (CFLAGS-test-test-fenv.c): Likewise.
30649
4f9d04aa
AZ
306502012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30651
2b942cb7
RM
30652 [BZ #2550]
30653 [BZ #2570]
30654 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30655 comparisons to determine direction to adjust input.
4f9d04aa 30656
82a79e7d
RM
306572012-05-01 Roland McGrath <roland@hack.frob.com>
30658
f5a01ca9
RM
30659 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30660 output to the target.
30661
90fe4186
RM
30662 * scripts/localplt.awk: New file.
30663 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30664 (check-localplt-CFLAGS): Variable removed.
30665 ($(all-built-dso:=.jmprel)): New static pattern rule.
30666 (generated): Add those targets.
30667 (localplt-built-dso): New variable.
30668 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30669
30670 * elf/check-localplt.c: File removed.
30671
82397ed6
RM
30672 * scripts/check-execstack.awk: New file.
30673 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30674 (check-execstack-CFLAGS): Variable removed.
30675 ($(objpfx)check-execstack.h): Target removed.
30676 ($(objpfx)execstack-default): New target.
30677 (generated): Add that instead of check-execstack.h.
30678 ($(all-built-dso:=.phdr)): New static pattern rule.
30679 (generated): Add those targets.
30680 * elf/check-execstack.c: File removed.
30681
82a79e7d
RM
30682 * scripts/check-textrel.awk: New file.
30683 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30684 (check-textrel-CFLAGS): Variable removed.
30685 (all-built-dso): Use := to define.o
30686 ($(all-built-dso:=.dyn)): New static pattern rule.
30687 (generated): Add those targets.
30688 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30689 * config.make.in (READELF): New substituted variable.
30690 * elf/check-textrel.c: File removed.
30691
62fde54f 306922012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30693
615605c9
JM
30694 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30695 allow.
30696 * conform/data/ctype.h-data [C99-based standards] (isblank):
30697 Expect function.
30698 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30699 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30701 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30702 Specify type. Require positive value.
30703 (EILSEQ): Likewise.
30704 (ERANGE): Likewise.
30705 [ISO || POSIX] (EILSEQ): Do not expect.
30706 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30707 Specify type. Require positive value.
30708 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30709 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30710 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30711 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30712 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30713 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30714 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30715 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30716 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30717 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30718 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30719 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30720 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30721 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30722 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30723 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30724 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30725 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30726 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30727 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30728 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30729 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30730 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30731 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30732 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30733 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30734 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30735 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30736 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30737 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30738 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30739 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30740 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30741 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30742 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30743 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30744 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30745 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30746 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30747 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30748 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30749 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30750 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30751 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30752 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30753 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30754 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30755 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30756 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30757 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30758 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30759 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30760 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30761 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30762 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30763 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30764 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30765 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30766 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30767 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30768 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30769 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30770 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30771 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30772 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30773 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30774 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30775 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30776 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30777 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30778 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30779 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30780 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30781 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30782 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30783 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30784 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30785 Require >= 2.
30786 (FLT_ROUNDS): Expect as macro, not constant.
30787 (FLT_MANT_DIG): Use macro-int-constant.
30788 (DBL_MANT_DIG): Likewise.
30789 (LDBL_MANT_DIG): Likewise.
30790 (FLT_DIG): Likewise.
30791 (DBL_DIG): Likewise.
30792 (LDBL_DIG): Likewise.
30793 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30794 (DBL_MIN_EXP): Likewise.
30795 (LDBL_MIN_EXP): Likewise.
30796 (FLT_MAX_EXP): Use macro-int-constant.
30797 (DBL_MAX_EXP): Likewise.
30798 (LDBL_MAX_EXP): Likewise.
30799 (FLT_MAX_10_EXP): Likewise.
30800 (DBL_MAX_10_EXP): Likewise.
30801 (LDBL_MAX_10_EXP): Likewise.
30802 (FLT_MAX): Use macro-constant.
30803 (DBL_MAX): Likewise.
30804 (LDBL_MAX): Likewise.
30805 (FLT_EPSILON): Use macro-constant. Give upper bound.
30806 (DBL_EPSILON): Likewise.
30807 (LDBL_EPSILON): Likewise.
30808 (FLT_MIN): Likewise.
30809 (DBL_MIN): Likewise.
30810 (LDBL_MIN): Likewise.
30811 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30812 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30813 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30814 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30815 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30816 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30817 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30818 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30819 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30820 [ISO11] (FLT_TRUE_MIN): Likewise.
30821 [ISO11] (LDBL_TRUE_MIN): Likewise.
30822 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30823 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30824 (SCHAR_MIN): Use macro-int-constant. Specify type.
30825 (SCHAR_MAX): Likewise.
30826 (UCHAR_MAX): Likewise.
30827 (CHAR_MIN): Likewise.
30828 (CHAR_MAX): Likewise.
30829 (MB_LEN_MAX): Use macro-int-constant.
30830 (SHRT_MIN): Use macro-int-constant. Specify type.
30831 (SHRT_MAX): Likewise.
30832 (USHRT_MAX): Likewise.
30833 (INT_MAX): Likewise.
30834 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30835 bound negative.
30836 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30837 bound with "U".
30838 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30839 bound with "L".
30840 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30841 bound negative. Suffix upper bound with "L".
30842 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30843 bound with "UL".
30844 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30845 Specify type.
30846 [C99-based standards] (LLONG_MAX): Likewise.
30847 [C99-based standards] (ULLONG_MAX): Likewise.
30848 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30849 == 0.
30850 [ISO11] (max_align_t): Require type.
30851 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30852
c9140a62
JM
30853 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30854 from $CFLAGS, without defining away __attribute__ calls.
30855 (checknamespace): Use $CFLAGS_namespace.
30856
9af0bf29
JM
30857 * conform/conformtest.pl (@keywords): Only include C99 keywords
30858 for standards based on C99 or C11.
30859
343222a2
JM
30860 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30861 Disable tests.
30862 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30863 UNIX98]: Likewise.
30864
661f8cf0
JM
30865 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30866 usability of symbols in #if.
30867
ee74b9cb
JM
30868 * conform/conformtest.pl: If macro or constant types start
30869 "promoted:", expect the symbol to be of the following type
30870 promoted by the integer promotions.
62fde54f 30871
aafc49b3
JM
30872 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30873 in one place. Also handle "macro-constant".
30874
fefdf574
JM
30875 * conform/conformtest.pl: Only accept expected macro values with
30876 "==". Parse all "macro" lines in one place.
30877 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30878
f2d922fe
JM
30879 * conform/conformtest.pl: Handle braced types on "constant" lines
30880 instead of handling "typed-constant".
30881 * conform/data/signal.h-data: Use "constant" instead of
30882 "typed-constant".
30883
d22956c9
JM
30884 * conform/conformtest.pl: Handle "optional-" at start of lines in
30885 one place rather than duplicating several cases. Handle each
30886 format of "macro" line with initial "optional-".
30887
028e2e38
JM
30888 * conform/conformtest.pl: Only accept expected constant or
30889 optional-constant values with "==". Parse all "constant" lines in
30890 one place. Parse all "optional-constant" lines in one place.
30891 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30892 * conform/data/fmtmsg.h-data: Likewise.
30893 * conform/data/netinet/in.h-data: Likewise.
30894 * conform/data/tar.h-data: Likewise.
30895 * conform/data/limits.h-data: Use "==" form on "constant" and
30896 "optional-constant" lines.
30897
1b8f2850
JM
30898 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30899 Use -std=c99 for XOPEN2K.
30900 (@knownproblems): Remove.
30901 (newtoken): Don't check %isknown.
30902
a05a144b
JM
30903 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30904 Do not expect macro.
30905 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30917 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30918 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30935 [XPG3] (acosh): Likewise.
30936 [XPG3] (asinh): Likewise.
30937 [XPG3] (atanh): Likewise.
30938 [XPG3] (cbrt): Likewise.
30939 [XPG3] (expm1): Likewise.
30940 [XPG3] (ilogb): Likewise.
30941 [XPG3] (log1p): Likewise.
30942 [XPG3] (logb): Likewise.
30943 [XPG3] (nextafter): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30946 [XPG3] (remainder): Likewise.
30947 [XPG3] (rint): Likewise.
30948 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30955 [UNIX98 || XOPEN2K] (scalb): Expect.
30956 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30957 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30958 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30959 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30960 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30961 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30962 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30963 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30964 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30965 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30966 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30967 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30968 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30969 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30970 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30971 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30972 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30973 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30976 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30977 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30978 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30979 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30980 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30981 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30982 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30983 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30984 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30985 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30986 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30987 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30988 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30989 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30990 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30991 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30992 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30993 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30994 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30995 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30996 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30997 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30998 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30999 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31000 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31001 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31002 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31003 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31004 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31005 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31006 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31007 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31008 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31009 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31010 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31011 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31012 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31013 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31014 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31016 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31017 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31020 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31021 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31022 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31034 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31035 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31036 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31037 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31038 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31039 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31040 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31041 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31042 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31044 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31045 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31046 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31047 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31049 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31050 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31051 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31052 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31054 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31055 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31056 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31057 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31058 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31059 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31060 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31061 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31062 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31063 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31064 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31065 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31066 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31067 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31068 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31069 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31070 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31071 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31072 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31073 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31074 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31075 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31076 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31077 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31078 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31079 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31080 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31081 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31082 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31083 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31084 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31085 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31086 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31087 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31088 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31089 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31090 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31091 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31092 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31093
73c5ebe3
JM
31094 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31095 _XOPEN_SOURCE_EXTENDED for XPG4.
31096
39c33b6c
JM
31097 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31098
62fde54f
JM
31099 * Makeconfig (localtime): Remove variable.
31100 (inst_localtime-file): Likewise.
31101
0741d64c
AS
311022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31103
31104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31105 Update.
31106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31107 Update.
31108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31109 Update.
31110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31111 Update.
31112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31113 Update.
31114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31115 Update.
31116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31117 Update.
31118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31119 Update.
31120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31121 Update.
31122
7cb029ee
JM
311232012-05-01 Joseph Myers <joseph@codesourcery.com>
31124
31125 [BZ #2550]
31126 [BZ #2570]
31127 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31128 comparisons to determine direction to adjust input.
31129 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31130 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31131 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31132 Likewise.
31133 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31134 Likewise.
31135 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31136 Likewise.
31137 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31138 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31139 Likewise.
31140 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31141 Likewise.
31142 * math/libm-test.inc (nexttoward_test): Add more tests.
31143
412bd966
AS
311442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31145
31146 [BZ #14040]
31147 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31148 in version GLIBC_2.1, not GLIBC_2.0.
31149 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31150 Likewise.
31151
9568c0c2
JM
311522012-04-30 Joseph Myers <joseph@codesourcery.com>
31153
adfbc8ac
JM
31154 [BZ #13942]
31155 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31156 (1 - x) * (1 + x).
31157 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31158 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31159 * math/libm-test.inc (acos_test): Add more tests.
31160 (asin_test): Likewise.
31161 * sysdeps/i386/fpu/libm-test-ulps: Update.
31162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31163
5ba3cc69
JM
31164 [BZ #14034]
31165 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31166 of square root.
31167 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31168 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31169 * math/libm-test.inc (acos_test_tonearest): New function.
31170 (acos_test_towardzero): Likewise.
31171 (acos_test_downward): Likewise.
31172 (acos_test_upward): Likewise.
31173 (asin_test_tonearest): Likewise.
31174 (asin_test_towardzero): Likewise.
31175 (asin_test_downward): Likewise.
31176 (asin_test_upward): Likewise.
31177 (main): Call the new functions.
31178 * sysdeps/i386/fpu/libm-test-ulps: Update.
31179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31180
9568c0c2
JM
31181 [BZ #13884]
31182 [BZ #13924]
31183 * math/e_exp10.c: Include <float.h>.
31184 (__ieee754_exp10): Handle underflow here rather than multiplying
31185 large negative argument by M_LN10.
31186 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31187 of __ieee754_expf.
31188 * math/e_exp10l.c: Include <float.h>.
31189 (__ieee754_exp10l): Handle underflow here rather than multiplying
31190 large negative argument by M_LN10l.
31191 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31192 spurious overflow exception on underflow.
31193
5ac3ea17
MP
311942012-04-29 Marek Polacek <polacek@redhat.com>
31195
31196 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31197 (__fortify_function): New macro.
31198 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31199 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31200 __extern_always_inline.
31201 * libio/bits/stdio2.h: Likewise.
31202 * libio/bits/stdio.h: Likewise.
31203 * string/string.h: Likewise.
31204 * string/bits/string3.h: Likewise.
31205 * include/stdio.h: Likewise.
31206 * stdlib/bits/stdlib.h: Likewise.
31207 * stdlib/stdlib.h: Likewise.
31208 * rt/bits/mqueue2.h: Likewise.
31209 * rt/mqueue.h: Likewise.
31210 * posix/bits/unistd.h: Likewise.
31211 * posix/unistd.h: Likewise.
31212 * io/bits/poll2.h: Likewise.
31213 * io/bits/fcntl2.h: Likewise.
31214 * io/fcntl.h: Likewise.
31215 * io/sys/poll.h: Likewise.
31216 * misc/bits/syslog.h: Likewise.
31217 * misc/bits/syslog-ldbl.h: Likewise.
31218 * misc/sys/syslog.h: Likewise.
31219 * socket/bits/socket2.h: Likewise.
31220 * socket/sys/socket.h: Likewise.
31221 * debug/tst-chk1.c: Likewise.
31222 * wcsmbs/bits/wchar2.h: Likewise.
31223 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31224 * wcsmbs/wchar.h: Likewise.
31225
ecf0ebfb
AJ
312262012-04-29 Andreas Jaeger <aj@suse.de>
31227
31228 * Makerules (tests): Remove enable-check-abi protection.
31229 (check-abi-warn): Remove.
31230 (check-abi-%): Remove check-abi-warn usage.
31231
31232 * configure.in: Remove check-abi configure option.
31233 * configure: Regenerated.
31234 * config.make.in (enable-check-abi): Remove.
31235
6d5c57fa
AS
312362012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31237
24c5d07e 31238 [BZ #14033]
ded5180a
AS
31239 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31240 double functions to double *_finite functions.
31241
7e0d315d
AS
31242 [BZ #13941]
31243 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31244 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31245 LDBL_MIN_EXP.
31246 * stdio-common/Makefile (tests): Add tst-sprintf3.
31247 * stdio-common/tst-sprintf3.c: New file.
31248
6d5c57fa
AS
31249 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31250 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31251
0749ff8b
JM
312522012-04-28 Joseph Myers <joseph@codesourcery.com>
31253
31254 * conform/conformtest.pl: Remove duplicate typed-constant
31255 handling.
31256
8dbd5d7b
DM
312572012-04-28 David S. Miller <davem@davemloft.net>
31258
31259 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31260 (check-abi-%): Remove AWK script prerequisite and explicit
31261 abilist directory.
31262 (check-abi): Rewrite to just diff the symlist with the abilist.
31263 (config-tls, config-abi-config): Delete, no longer used.
31264 (update-abi-%): Remove AWK script and explicit abilist directory.
31265 (update-abi): Rewrite to simply compare and conditionally copy the
31266 symlist and the sysdep abilist file. Remove update-abi-config
31267 checks.
31268 * abilist/ld.abilist: Remove.
31269 * abilist/libBrokenLocale.abilist: Remove.
31270 * abilist/libanl.abilist: Remove.
31271 * abilist/libcrypt.abilist: Remove.
31272 * abilist/libdl.abilist: Remove.
31273 * abilist/librt.abilist: Remove.
31274 * abilist/libthread_db.abilist: Remove.
31275 * abilist/libutil.abilist: Remove.
31276 * scripts/extract-abilist.awk: Remove.
31277 * scripts/merge-abilist.awk: Remove.
31278 * sysdeps/generic/libcidn.abilist: New file.
31279 * sysdeps/generic/libnss_compat.abilist: New file.
31280 * sysdeps/generic/libnss_db.abilist: New file.
31281 * sysdeps/generic/libnss_dns.abilist: New file.
31282 * sysdeps/generic/libnss_files.abilist: New file.
31283 * sysdeps/generic/libnss_hesiod.abilist: New file.
31284 * sysdeps/generic/libnss_nis.abilist: New file.
31285 * sysdeps/generic/libnss_nisplus.abilist: New file.
31286 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31287 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31288 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31289 file.
31290 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31291 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31292 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31293 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31294 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31295 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31296 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31297 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31298 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31299 file.
31300 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31301 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31302 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31303 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31304 file.
31305 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31306 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31307 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31308 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31309 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31310 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31311 file.
31312 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31313 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31314 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31315 file.
31316 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31318 New file.
31319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31320 New file.
31321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31322 New file.
31323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31324 New file.
31325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31326 New file.
31327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31328 New file.
31329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31330 New file.
31331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31332 New file.
31333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31334 New file.
31335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31336 New file.
31337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31338 New file.
31339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31340 New file.
31341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31342 New file.
31343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31344 file.
31345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31346 New file.
31347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31348 New file.
31349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31350 file.
31351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31352 New file.
31353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31354 New file.
31355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31356 file.
31357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31358 New file.
31359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31360 New file.
31361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31362 New file.
31363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31364 New file.
31365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31366 New file.
31367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31368 New file.
31369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31371 file.
31372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31373 New file.
31374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31375 file.
31376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31377 file.
31378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31379 file.
31380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31381 file.
31382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31383 file.
31384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31385 New file.
31386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31387 file.
31388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31389 file.
31390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31391 New file.
31392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31393 file.
31394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31396 file.
31397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31398 New file.
31399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31400 file.
31401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31402 file.
31403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31404 file.
31405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31406 file.
31407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31408 file.
31409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31410 New file.
31411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31412 file.
31413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31414 file.
31415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31416 New file.
31417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31418 file.
31419 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31420 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31421 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31422 file.
31423 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31424 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31425 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31426 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31427 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31428 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31429 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31430 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31431 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31432 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31435 file.
31436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31437 New file.
31438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31439 file.
31440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31441 file.
31442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31443 file.
31444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31445 file.
31446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31447 file.
31448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31449 New file.
31450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31451 New file.
31452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31453 file.
31454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31455 New file.
31456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31457 file.
31458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31460 file.
31461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31462 New file.
31463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31464 file.
31465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31466 file.
31467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31468 file.
31469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31470 file.
31471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31472 file.
31473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31474 New file.
31475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31476 New file.
31477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31478 file.
31479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31480 New file.
31481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31482 file.
31483
41d73a1b
JM
314842012-04-28 Joseph Myers <joseph@codesourcery.com>
31485
31486 * conform/conformtest.pl: Fix typo in handling typed-constant from
31487 allow-header.
31488
28aeeda4
JM
314892012-04-27 Joseph Myers <joseph@codesourcery.com>
31490
adae8f5e
JM
31491 * README: Cut down references to pre-2.6 Linux kernels and
31492 Linuxthreads. Update lists of configurations in libc and ports
31493 and sort alphabetically. Say "or newer" with Linux kernel version
31494 requirements.
31495
28aeeda4
JM
31496 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31497
a462cb63
RA
314982012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31499
31500 [BZ #887]
31501 * math/libm-test.inc (logb_test_downward): New test to expose
31502 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31503 rounding mode.
31504
6ad3493e
JM
315052012-04-27 Joseph Myers <joseph@codesourcery.com>
31506
31507 [BZ #14027]
31508 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31509 to be done.
31510 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31511 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31512
2ce4f015
JM
315132012-04-26 Joseph Myers <joseph@codesourcery.com>
31514
5aeb141a
JM
31515 * sysdeps/unix/i386/brk.S: Remove file.
31516 * sysdeps/unix/i386/dl-brk.S: Likewise.
31517 * sysdeps/unix/i386/pipe.S: Likewise.
31518 * sysdeps/unix/i386/sigreturn.S: Likewise.
31519 * sysdeps/unix/i386/syscall.S: Likewise.
31520 * sysdeps/unix/i386/vfork.S: Likewise.
31521 * sysdeps/unix/i386/wait.S: Likewise.
31522
7143acae
JM
31523 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31524 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31525
2ce4f015
JM
31526 * configure.in (arm*-none*): Do not allow without
31527 --enable-hacker-mode.
31528 (netbsd*): Remove case setting base_os.
31529 (386bsd*): Likewise.
31530 (freebsd*): Likewise.
31531 (bsdi*): Likewise.
31532 (osf*): Likewise.
31533 (sunos*): Likewise.
31534 (ultrix*): Likewise.
31535 (newsos*): Likewise.
31536 (dynix*): Likewise.
31537 (*bsd*): Likewise.
31538 (sysv*): Likewise.
31539 (isc*): Likewise.
31540 (esix*): Likewise.
31541 (sco*): Likewise.
31542 (minix*): Likewise.
31543 (irix4*): Likewise.
31544 (irix6*): Likewise.
31545 (solaris[2-9]*): Likewise.
31546 (none): Likewise.
31547 * configure: Regenerated.
31548
0ac229c8
AZ
315492012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31550
31551 [BZ #11521]
31552 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31553 overflow or cancellation in calculating denominator.
31554 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31555 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31556 down expression to avoid unexpected rounding in newer GCCs.
31557 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31558
33f244f4
DM
315592012-04-26 David S. Miller <davem@davemloft.net>
31560
31561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31562 long-double compat symbols.
31563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31576
cfa1f3e8
DM
315772012-04-25 David S. Miller <davem@davemloft.net>
31578
31579 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31580 HWCAP_* values only after the memory barriers have been defined.
31581 (atomic_full_barrier): Define.
31582 (atomic_read_barrier): Define.
31583 (atomic_write_barrier): Define.
31584
6e236b92
SP
315852012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31586
31587 * shlib-versions: Add libgcc_s version information.
31588 * sysdeps/generic/libgcc_s.h: Remove.
31589 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31590 libgcc_s.h.
31591 * sysdeps/gnu/unwind-resume.c: Likewise.
31592 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31593
aab39a09
DM
315942012-04-25 David S. Miller <davem@davemloft.net>
31595
31596 * sysdeps/unix/sparc/brk.S: Delete.
31597 * sysdeps/unix/sparc/dl-brk.S: Delete.
31598 * sysdeps/unix/sparc/pipe.S: Delete.
31599 * sysdeps/unix/sparc/sysdep.S: Delete.
31600 * sysdeps/unix/sparc/sysdep.h: Delete.
31601 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
31602 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31603 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31604 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31605 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
31606 (JUMPTARGET): Remove.
31607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31608 sysdeps/unix/sparc/sysdep.h
31609 (ENTRY, END): Remove.
31610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31611
a3cc4f48
JM
316122012-04-25 Joseph Myers <joseph@codesourcery.com>
31613
2ed8cda2
JM
31614 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31615 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31616 -DIS_IN_build.
31617
35d76d59
JM
31618 * timezone/README: Update upstream location and email address for
31619 tzcode and tzdata.
31620 * timezone/zdump.c: Update from tzcode 2012b.
31621 * timezone/zic.c: Likewise.
31622
a3cc4f48
JM
31623 * configure.in (libc_cv_as_needed): Remove test.
31624 * configure: Regenerated.
31625 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31626 conditional definition.
31627 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31628 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31629 * config.make.in (have-as-needed): Remove variable.
31630
ceab42c3
SP
316312012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31632 Paul Pluzhnikov <ppluzhnikov@google.com>
31633
31634 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31635 strings correctly.
31636
3ce2865f
CLT
316372012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31638
31639 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31640 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31641 * sysdeps/sh/strlen.S: Likewise.
31642
f37e0d68
JM
316432012-04-24 Joseph Myers <joseph@codesourcery.com>
31644
ae186e9a
JM
31645 * sysdeps/unix/fork.S: Remove file.
31646 * sysdeps/unix/i386/fork.S: Likewise.
31647 * sysdeps/unix/sparc/fork.S: Likewise.
31648
b96914af
JM
31649 * sysdeps/unix/system.c: Remove file.
31650 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31651
f37e0d68
JM
31652 * sysdeps/unix/getegid.S: Remove file.
31653 * sysdeps/unix/geteuid.S: Likewise.
31654
87ef29ca
RM
316552012-04-24 Roland McGrath <roland@hack.frob.com>
31656
83bcd236
RM
31657 * scripts/check-localplt.awk: New file.
31658 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31659 of diff.
31660 * scripts/data/localplt-generic.data: Add a comment.
31661
87ef29ca
RM
31662 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31663 NODE when __dir_mkfile failed.
31664 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31665 Reported by Ludovic Courtès <ludo@gnu.org>.
31666
e5a6e567
AJ
316672012-04-24 Andreas Jaeger <aj@suse.de>
31668
31669 * Makerules (common-clean): Also remove gen-as-const-headers
31670 files.
31671
c1820385
JM
316722012-04-24 Joseph Myers <joseph@codesourcery.com>
31673
31674 * Makerules (native-compile): Do not change working directory for
31675 build. Use $(OUTPUT_OPTION) in command.
31676 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31677
94e02fc4
AZ
316782012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31679
31680 [BZ #13886]
31681 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31682 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31683 * math/libm-test.inc (floor_test): Add more tests.
31684 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31685
3a533ca3
JM
316862012-04-24 Joseph Myers <joseph@codesourcery.com>
31687
940ab4b3
JM
31688 * sysdeps/unix/getdents.c: Remove file.
31689 * sysdeps/unix/sysv/getdents.c: Likewise.
31690 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31691
90e037bd
JM
31692 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31693 sysdeps/unix/mman/syscalls.list.
31694 (mmap): Likewise.
31695 (mprotect): Likewise.
31696 (msync): Likewise.
31697 (munmap): Likewise.
31698 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31699 * sysdeps/unix/mman/syscalls.list: Remove.
31700 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31701
3a533ca3
JM
31702 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31703 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31704 * configure: Regenerated.
31705 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31706 $(libgcc_s_suffix).
31707 * config.make.in (libgcc_s_suffix): Remove variable.
31708
1ad743de
JM
317092012-04-23 Joseph Myers <joseph@codesourcery.com>
31710
4ad451e2
JM
31711 * sysdeps/unix/sysv/gethostname.c: Move to ...
31712 * sysdeps/posix/gethostname.c: ... here.
31713
5e37ce39
JM
31714 * sysdeps/unix/execve.S: Remove file.
31715
1ad743de
JM
31716 * sysdeps/unix/_exit.S: Remove file.
31717
4e681b5b
AJ
317182012-04-23 Andreas Jaeger <aj@suse.de>
31719
31720 [BZ #13739]
31721 * manual/Makefile: Remove make dist support, there's no
31722 need for a stand-alone documentation tar ball.
31723 (TEXI2DVI): Define always, it's not in Makeconfig.
31724 (dist): Removed.
31725 (tar-it): Removed.
31726 (edition): Removed.
31727 (glibc-doc-$(edition).tar): Removed
31728 (%.Z): Removed.
31729 (%.gz): Removed.
31730 (%.uu): Removed.
31731 (ETAGS): Remove, it's in Makeconfig.
31732 (move-if-change): Remove, it's in Makeconfig.
31733
38686a03 317342012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31735
31736 [BZ #13970]
31737 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31738 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31739 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31740 (strtod_l, strtof_l, strtold_l): Remove __wur.
31741 It is not necessarily an error to ignore strtol's return value.
31742 One can reliably look at the stored endptr to decide whether
31743 the number had valid syntax.
31744
7c0616fa
AJ
317452012-04-21 Andreas Jaeger <aj@suse.de>
31746
803cb6b7 31747 [BZ #13739]
7c0616fa
AJ
31748 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31749
b0fe253f
JM
317502012-04-21 Joseph Myers <joseph@codesourcery.com>
31751
31752 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31753 * sysdeps/unix/sysv/Versions: Remove file.
31754
8280f22d
MT
317552012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31756
31757 [BZ #13927]
31758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31759
75ce411f 317602012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31761
31762 [BZ #7064]
31763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31764 version from __vm86.
31765
097d59fa
JM
317662012-04-20 Joseph Myers <joseph@codesourcery.com>
31767
a90f3bcb
JM
31768 * sysdeps/unix/common/lxstat.c: Remove file.
31769 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31770
edc7ea78
JM
31771 * sysdeps/unix/sysv/Makefile: Remove file.
31772
cb78c221
JM
31773 * sysdeps/unix/sysv/direct.h: Remove file.
31774
efa6a45f
JM
31775 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31776 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31777 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31778 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31779 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31780 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31781 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31782
9c9f2d0c
JM
31783 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31784
4541c83b
JM
31785 * sysdeps/unix/xmknod.c: Remove file.
31786 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31787
f5d153a0
JM
31788 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31789
aa746595
JM
31790 * sysdeps/unix/sysv/i386/time.S: Remove file.
31791
cce5905e
JM
31792 * sysdeps/unix/fxstat.c: Remove file.
31793 * sysdeps/unix/xstat.c: Likewise.
31794 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31795
37fa3841
JM
31796 * sysdeps/unix/sysv/sigaction.c: Remove file.
31797
ff1962a3
JM
31798 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31799 (sysdep_headers): Remove variable.
31800 [termio.h not in sysdep_headers] (generated): Likewise.
31801 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31802 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31803 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31804 * sysdeps/unix/sysv/tcflow.c: Likewise.
31805 * sysdeps/unix/sysv/tcflush.c: Likewise.
31806 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31807 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31808 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31809 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31810 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31811
e7740d31
JM
31812 * sysdeps/unix/siglist.c: Remove file.
31813
ee06f18b
JM
31814 * sysdeps/unix/getppid.S: Remove file.
31815
097d59fa
JM
31816 * sysdeps/unix/mkdir.c: Remove file.
31817 * sysdeps/unix/rmdir.c: Likewise.
31818
ff3d51ec
AS
318192012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31820
31821 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31822 ERR_MAX value.
31823 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31824 errlist-compat value.
31825
50f81fd7
DM
318262012-04-18 David S. Miller <davem@davemloft.net>
31827
31828 * sysdeps/generic/memcopy.h (reg_char): Delete.
31829 * debug/strcat_chk.c: Use char, not reg_char.
31830 * debug/strcpy_chk.c: Likewise.
31831 * debug/strncat_chk.c: Likewise.
31832 * debug/strncpy_chk.c: Likewise.
31833 * string/memchr.c: Likewise.
31834 * string/memrchr.c: Likewise.
31835 * string/rawmemchr.c: Likewise.
31836 * string/strcat.c: Likewise.
31837 * string/strchr.c: Likewise.
31838 * string/strchrnul.c: Likewise.
31839 * string/strcmp.c: Likewise.
31840 * string/strcpy.c: Likewise.
31841 * string/strncat.c: Likewise.
31842 * string/strncmp.c: Likewise.
31843 * string/strncpy.c: Likewise.
31844
8ff41c46
WS
318452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31846
31847 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31848 __builtin_memcopy is called when src and dest ranges are known to not
31849 overlap.
31850
6b652f46
WS
318512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31852
31853 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31854 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31855 fwd_align_merge macro call.
31856 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31857 bwd_align_merge macro call.
31858 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31859
b282631e
WS
318602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31861
31862 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31863 bwd_align_merge macros.
31864 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31865 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31866 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31867
95aa737c
DM
318682012-04-18 David S. Miller <davem@davemloft.net>
31869
31870 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31871
7a99a614
AJ
318722012-04-18 Andreas Jaeger <aj@suse.de>
31873
31874 [BZ# 6794]
31875 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31876 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31877 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31878
31879 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31880 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31881 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31882
31883 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31884 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31885 Adjust for changed ldbl-128 files.
31886
31887 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31888 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31889 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31890
e5270c23
DM
318912012-04-17 David S. Miller <davem@davemloft.net>
31892
31893 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31894
fb5e92c9
AS
318952012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31896
31897 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31898 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31899 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31900 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31901 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31902 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31903
76da7265
AZ
319042012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31905
31906 [BZ #6794]
31907 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31908 * math/libm-test.inc: Add ilogb errno and exception tests.
31909 * math/w_ilogb.c: New file: ilogb wrapper.
31910 * math/w_ilogbf.c: New file: ilogbf wrapper.
31911 * math/w_ilogbl.c: New file: ilogbl wrapper.
31912 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31913 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31914 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31915 exception being thrown with 0.0 as argument.
31916 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31917 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31918 exception being thrown with 0.0 as argument.
31919 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31920 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31921 exception being thrown with 0.0 as argument.
31922 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31923 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31924 exception being thrown with 0.0 as argument.
31925 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31926 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31927 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31928 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31929 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31930 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31931 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31932 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31933 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31934
0396e69d
PB
319352012-04-17 Petr Baudis <pasky@ucw.cz>
31936
31937 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31938 with altivec.
31939
750b5926
MP
319402012-04-16 Marek Polacek <polacek@redhat.com>
31941
31942 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31943
751728a1
MP
319442012-04-16 Marek Polacek <polacek@redhat.com>
31945
31946 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31947 operands of fdivp instruction.
31948
34a27407
L
319492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31950
31951 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31952 * elf/tst-auditmod3b.c: Likewise.
31953 * elf/tst-auditmod4b.c: Likewise.
31954 * elf/tst-auditmod5b.c: Likewise.
31955 * elf/tst-auditmod6b.c: Likewise.
31956 * elf/tst-auditmod6c.c: Likewise.
31957 * elf/tst-auditmod7b.c: Likewise.
31958 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31959 * sysdeps/x86_64/preconfigure.in: Likewise.
31960 * sysdeps/x86_64/preconfigure: Regenerated.
31961
7e73e17d
L
319622012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31963
31964 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31965 __ILP32__.
31966
c7a6ab72
AB
319672012-04-13 Antoine Balestrat <merkil33@gmail.com>
31968
31969 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31970 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31971
a9e8e0e0
CL
319722012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31973
31974 [BZ #13973]
31975 * locale/iso-639.def: Fix gl language name. Spotted by
31976 Yaron Shahrabani.
31977
ec98af7d
RM
319782012-04-12 Roland McGrath <roland@hack.frob.com>
31979
31980 [BZ #2074]
31981 * libio/libio.h (__io_write_fn): Update comment.
31982
247c3ede
PB
319832012-04-12 Petr Baudis <pasky@ucw.cz>
31984
31985 [BZ #2074]
31986 * stdio.texi (Hook Functions): The user provided writer function
31987 is not allowed to return -1.
31988
55939d6d
DM
319892012-04-11 David S. Miller <davem@davemloft.net>
31990
31991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31992
90020f5a
MF
319932012-04-11 Mike Frysinger <vapier@gentoo.org>
31994
31995 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31996 Add a leading slash to rtkaio.
31997
288f9098
JM
319982012-04-11 Jim Meyering <meyering@redhat.com>
31999
90020f5a
MF
32000 [BZ #11959]
32001 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32002 It is not necessarily an error to ignore fwrite's return
32003 value. One can reliably use ferror to test for errors after
32004 the fact.
288f9098 32005
4be2b570
L
320062012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32007
32008 * bits/types.h (__snseconds_t): New type.
32009 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32010
32011 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32012 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32013 (__SNSECONDS_T_TYPE): Likewise.
32014 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32015 (__SNSECONDS_T_TYPE): Likewise.
32016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32017 (__SNSECONDS_T_TYPE): Likewise.
32018
288f9098 320192012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
32020
32021 [BZ #2636]
32022 * manual/time.texi (Processor Time): Return type of times is
32023 elapsed real time since an arbitrary point in the past.
32024 (CPU Time): Move CLK_TCK from here...
32025 (Processor Time): ...to here. Correct description.
32026 * manual/conf.texi (Constants for Sysconf): Correct description of
32027 _SC_CLK_TCK.
32028
d7dd4413
DM
320292012-04-10 David S. Miller <davem@davemloft.net>
32030
32031 [BZ #13967]
32032 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32033 where the is a gap between DT_REL(A) and DT_JMPREL.
32034
b46068fc
L
320352012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32036
32037 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32038 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32039 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32040
73d65cc3
SP
320412012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32042
32043 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32044 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32045 (dl_main): Handle --inhibit-cache.
32046 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32047 _dl_inhibit_cache.
32048 * elf/dl-load.c (_dl_map_object): Use it.
32049 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32050
bcc8d661
JM
320512012-04-09 Joseph Myers <joseph@codesourcery.com>
32052
8f9a2fae
JM
32053 [BZ #13872]
32054 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32055 (__ieee754_powl): Saturate large exponents rather than testing for
32056 overflow of y*log2(x).
32057 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32058 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32059 exceptions.
32060
bcc8d661
JM
32061 [BZ #11521]
32062 * math/s_ctan.c: Include <float.h>.
32063 (__ctan): Avoid internal overflow or cancellation in calculating
32064 denominator.
32065 * math/s_ctanf.c: Likewise.
32066 * math/s_ctanl.c: Likewise.
32067 * math/s_ctanh.c: Likewise.
32068 * math/s_ctanhf.c: Likewise.
32069 * math/s_ctanhl.c: Likewise.
32070 * math/libm-test.inc (ctan_test): Add more tests.
32071 (ctanh_test): Likewise.
32072 * sysdeps/i386/fpu/libm-test-ulps: Update.
32073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32074
823fbbb4
AJ
320752012-04-09 Andreas Jaeger <aj@suse.de>
32076
03879793
AJ
32077 [BZ #6894]
32078 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32079 is an optional BSD extension.
32080
823fbbb4
AJ
32081 [BZ #10254]
32082 * manual/stdio.texi (Opening Streams): Document additional fopen
32083 parameters.
32084
8de131cb
RM
320852012-04-09 Roland McGrath <roland@hack.frob.com>
32086
32087 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32088 %eax without telling the compiler.
32089
c0ed9d7d
CD
320902012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32091
32092 [BZ # 13963]
32093 * manual/install.texi: Use sourceware.org.
32094
c483f6b4
JM
320952012-04-09 Joseph Myers <joseph@codesourcery.com>
32096
d7dd9453
JM
32097 [BZ #13873]
32098 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32099 (__ieee754_pow): Generate overflow and underflow using huge*huge
32100 and tiny*tiny rather than just returning constant infinity or zero
32101 for large exponents.
32102 * math/libm-test.inc (pow_test): Require overflow exceptions for
32103 applicable cases of large exponents.
32104
c483f6b4
JM
32105 [BZ #706]
32106 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32107 (__ieee754_pow): Use iterative multiplication algorithm only for
32108 integer exponents with absolute value below 1024. Check for odd
32109 integer exponents when using algorithm for real exponents.
32110 * math/libm-test.inc (pow_test): Add more tests.
32111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32112
d2de7579
JM
321132012-04-08 Joseph Myers <joseph@codesourcery.com>
32114
32115 [BZ #13705]
32116 * math/libm-test.inc (exp_test): Do not allow overflow exception
32117 on underflow test.
32118
f77f1232
AJ
321192012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32120
32121 [BZ #13705]
32122 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32123 instead of __kernel_standard_f.
32124
3884932b
MF
321252012-04-08 Mike Frysinger <vapier@gentoo.org>
32126
32127 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32128 * sysdeps/x86_64/memset_chk.S: Likewise.
32129
54472e9c
AJ
321302012-04-08 Andreas Jaeger <aj@suse.de>
32131
6ab0fbfc
AJ
32132 [BZ #10153]
32133 * manual/startup.texi (Environment Access): Describe return value
32134 for putenv and setenv.
32135
61efba8c
AJ
32136 [BZ #6895]
32137 * manual/filesys.texi (Directory Entries): Add description for
32138 DT_LNK.
32139
95c3f29a
AJ
32140 [BZ #6890]
32141 * manual/filesys.texi (Directory Entries): Clarify that it's file
32142 system not operating system in the description of DT_UNKNOWN.
32143
54472e9c
AJ
32144 [BZ #6578]
32145 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32146
624254b1
SC
321472012-04-08 Stephen Compall <s11@member.fsf.org>
32148
32149 [BZ #6649]
32150 * manual/llio.texi (Opening and Closing Files): Add cross
32151 reference to explain mode argument.
32152
1e4920e0
MF
321532012-04-07 Mike Frysinger <vapier@gentoo.org>
32154
32155 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32156 * sysdeps/x86_64/memset_chk.S: Likewise.
32157
5ed848f3
DM
321582012-04-07 David S. Miller <davem@davemloft.net>
32159
32160 * elf/elf.h (R_SPARC_WDISP10): Define.
32161 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32162 R_SPARC_SIZE32.
32163 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32164 R_SPARC_SIZE64 and R_SPARC_H34.
32165
96154cd8
CD
321662012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32167
32168 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32169 conditions and remove no longer applicable assertion.
32170
9904dc47
L
321712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32172
32173 * bits/byteswap.h: Include <features.h>.
32174 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32175 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32176
f8887d0a
L
321772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32178
32179 * bits/byteswap.h (__bswap_16): Removed.
32180 Include <bits/byteswap-16.h> to get __bswap_16.
32181 * sysdeps/i386/bits/byteswap.h: Likewise.
32182 * sysdeps/s390/bits/byteswap.h: Likewise.
32183 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32184 * bits/byteswap-16.h: New file.
32185 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32186 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32187 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32188 * string/Makefile (headers): Add bits/byteswap-16.h.
32189
62470f60
PP
321902012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32191
32192 [BZ #13895]
32193 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32194 extra indirection.
32195 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32196 * nss/tst-nss-static.c: New.
32197
4dad7bab
RM
321982012-04-06 Robert Millan <rmh@gnu.org>
32199
32200 [BZ #6486]
32201 * manual/llio.texi (File Position Primitive): lseek
32202 refers to WHENCE when it really means OFFSET.
32203
e9142a17
AJ
322042012-04-06 Andreas Jaeger <aj@suse.de>
32205
2c040eff
AJ
32206 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32207 strncmp declarations.
32208
e9142a17
AJ
32209 * abilist/libc.abilist: Add __poll and __ppoll.
32210
ff9f1c5f
DM
322112012-04-05 David S. Miller <davem@davemloft.net>
32212
dcd2ae90
DM
32213 * scripts/check-local-headers.sh: Accept a host triplet in the
32214 path matched by the exclude regexp.
32215
993eb054
DM
32216 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32217 definition.
32218 * sysdeps/powerpc/powerpc32/dl-machine.h
32219 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32220 * sysdeps/s390/s390-32/dl-machine.h
32221 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32222 * sysdeps/sparc/sparc32/dl-machine.h
32223 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32224 * sysdeps/sparc/sparc64/dl-machine.h
32225 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32226
ff9f1c5f
DM
32227 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32228 lazy binding.
48e2e132 32229 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32230 undefined symbol errors.
32231
48e2e132 32232 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32233 DT_NEEDED entries.
32234
e80d6f94
MM
322352012-04-05 Michael Matz <matz@suse.de>
32236
32237 [BZ #13592]
32238 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32239
349fa79f
AJ
322402012-04-05 Andreas Jaeger <aj@suse.de>
32241
32242 [BZ #13908]
32243 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32244 comment.
32245
f402708f
KK
322462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32247
32248 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32249 which ROUND is no valid rounding mode.
32250
2ecccfc9
KK
322512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32252
32253 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32254 read again.
32255 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32256
8a53f50f
KK
322572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32258
32259 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32260 an exception using FPU order intentionally.
32261
322622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32263
32264 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32265 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32266 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32267 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32268
d653abb7
SJ
322692012-04-05 Simon Josefsson <simon@josefsson.org>
32270
32271 [BZ #12340]
32272 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32273 EINVAL when BUFLEN is too smal.
32274
c3b1bf7d
TS
322752012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32276
32277 [BZ #13553]
32278 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32279 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32280
b1aa60f3
AJ
322812012-04-03 Andreas Jaeger <aj@suse.de>
32282
c3b1bf7d 32283 [BZ #13938]
67f60a26
AJ
32284 * manual/setjmp.texi (System V contexts): Fix sentence.
32285
b1aa60f3
AJ
32286 [BZ #13926]
32287 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32288 New macro for this case.
32289 [!__GNUC__] (__bswap_64): New inline function for this case.
32290 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32291 * bits/byteswap.h: Likewise.
32292 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32293 ull, guard with __GLIBC_HAVE_LONG_LONG.
32294
32295 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32296 __GLIBC_HAVE_LONG_LONG.
32297
32298 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32299 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32300
39c59c35
TMQMF
323012012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32302
32303 [BZ #13691]
32304 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32305 inptr and inend, rather than using last_ch.
32306
135ffda8
DM
323072012-04-02 David S. Miller <davem@davemloft.net>
32308
32309 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32310 * stdio-common/printf-parse.h (read_int): Change return type to
32311 'int', return -1 on INT_MAX overflow.
32312 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32313 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32314 overflows INT_MAX. Check for overflow of in-format-string precision
32315 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32316 SIZE_MAX not INT_MAX for integer overflow test.
32317 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32318 skip the construct in the format string but do not record anything.
32319 * stdio-common/bug22.c: Adjust to test both width/prevision
32320 INT_MAX overflow as well as total length INT_MAX overflow. Check
32321 explicitly for proper errno values.
32322
228c019e
TS
323232012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32324
302cadd3
TS
32325 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32326 CHAR_MAX.
32327 * string/test-strcmp.c [! WIDE]: Likewise.
32328 * time/tst-mktime2.c: Likewise for INT_MAX.
32329 * string/test-string.h: #include <sys/param.h> for MIN.
32330
228c019e
TS
32331 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32332 * sysdeps/i386/init-first.c (init): Likewise.
32333 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32334 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32335 * sysdeps/sh/init-first.c (init): Likewise.
32336
cfa633f5
UD
323372012-04-01 Ulrich Drepper <drepper@gmail.com>
32338
32339 * po/ru.po: Update from translation team.
d1635ef8 32340 * po/vi.po: Likewise.
cfa633f5 32341
6cd0a5ea
SP
323422012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32343
32344 * resolv/nss_dns/dns-host.c: Merge copyright years.
32345
4b43400f
LD
323462012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32347
32348 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32349 Optimize memcpy with prefetch if
32350 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32351 src, dst pointers have unequal 16 byte alignments.
32352
48c41d04
SP
323532012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32354
32355 [BZ #13928]
32356 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32357 from a CNAME entry and return the minimum ttl for the query.
32358 (gaih_getanswer_slice): Likewise.
32359
b8dc394d
JL
323602012-03-30 Jeff Law <law@redhat.com>
32361
32362 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32363 due to long keys.
32364 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32365 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32366
2f5a5ed0
JL
32367 * resolv/nss_dns/dns-host.c: Update copyright year.
32368
1d39e359
UD
323692012-03-30 Ulrich Drepper <drepper@gmail.com>
32370
c030f70c 32371 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32372 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32373
1d39e359
UD
32374 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32375 comments for sendmmsg.
32376
323772012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32378
32379 [BZ #13691]
32380 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32381 with only 1 character between 0x0041 and 0x01b0.
32382 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32383 * wcsmbs/tst-mbsnrtowcs.c: New file.
32384
20fde227
DM
323852012-03-29 David S. Miller <davem@davemloft.net>
32386
32387 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32388 small copies by hand.
32389
984a4237
JL
323902012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32391
32392 [BZ #13761]
57f41c40
AS
32393 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32394 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32395 group memberships.
984a4237 32396
18c9d62b
DM
323972012-03-28 David S. Miller <davem@davemloft.net>
32398
88d85d4f
DM
32399 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32400 that branches into memcpy.
32401 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32402 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32403 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32404 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32406 bits.
32407 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32408 implementation too.
32409 * sysdeps/sparc/mempcpy.S: New file.
32410
e5aa83e1
DM
32411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32412 the IFUNC routine in the libc case.
32413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32414
88570753
DM
32415 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32416 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32417 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32418 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32419 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32420 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32421 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32422 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32423
249d7567
DM
32424 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32425 loop to 256 bytes instead of 64 bytes and fix test signedness.
32426
18c9d62b
DM
32427 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32428 * sysdeps/sparc/sparc32/Makefile: rather than here...
32429 * sysdeps/sparc/sparc64/Makefile: and here.
32430
05f3d1f6
UD
324312012-03-28 Ulrich Drepper <drepper@gmail.com>
32432
32433 * malloc/mallocbug.c: Avoid warnings about unused variables.
32434
86ae07a8
JL
324352012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32436
32437 [BZ #13760]
32438 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32439 in the right place. Discard and retry query if response is
32440 larger than input buffer size.
32441
41bf21a1
JM
324422012-03-28 Joseph Myers <joseph@codesourcery.com>
32443
d6270972
JM
32444 [BZ #369]
32445 [BZ #2678]
32446 [BZ #3866]
32447 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32448 x for large integer exponent.
32449 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32450 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32451 sign of result as needed afterwards.
32452 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32453 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32454 result for underflowing pow the same as for overflow.
32455 (__kernel_standard_l): Handle powl overflow and underflow here
32456 rather than calling __kernel_standard.
32457 * math/libm-test.inc (pow_test): Add more tests.
32458
414fca03 32459 [BZ #3868]
41bf21a1
JM
32460 [BZ #13879]
32461 [BZ #13910]
32462 [BZ #13911]
32463 [BZ #13912]
32464 [BZ #13913]
32465 [BZ #13915]
32466 [BZ #13916]
32467 [BZ #13917]
32468 [BZ #13918]
32469 [BZ #13919]
32470 [BZ #13920]
32471 [BZ #13921]
32472 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32473 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32474 (__kernel_standard_l): New function.
32475 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32476 __kernel_standard.
32477 * math/w_acosl.c (__acosl): Likewise.
32478 * math/w_asinl.c (__asinl): Likewise.
32479 * math/w_atan2l.c (__atan2l): Likewise.
32480 * math/w_atanhl.c (__atanhl): Likewise.
32481 * math/w_coshl.c (__coshl): Likewise.
32482 * math/w_exp10l.c (__exp10l): Likewise.
32483 * math/w_exp2l.c (__exp2l): Likewise.
32484 * math/w_fmodl.c (__fmodl): Likewise.
32485 * math/w_hypotl.c (__hypotl): Likewise.
32486 * math/w_j0l.c (__j0l, __y0l): Likewise.
32487 * math/w_j1l.c (__j1l, __y1l): Likewise.
32488 * math/w_jnl.c (__jnl, __ynl): Likewise.
32489 * math/w_lgammal.c (__lgammal): Likewise.
32490 * math/w_log10l.c (__log10l): Likewise.
32491 * math/w_log2l.c (__log2l): Likewise.
32492 * math/w_logl.c (__logl): Likewise.
32493 * math/w_powl.c (__powl): Likewise.
32494 * math/w_remainderl.c (__remainderl): Likewise.
32495 * math/w_scalbl.c (sysv_scalbl): Likewise.
32496 * math/w_sinhl.c (__sinhl): Likewise.
32497 * math/w_sqrtl.c (__sqrtl): Likewise.
32498 * math/w_tgammal.c (__tgammal): Likewise.
32499 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32500 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32501 * math/libm-test.inc (acos_test): Add more tests.
32502 (acosh_test): Likewise.
32503 (asin_test): Likewise.
32504 (atanh_test): Likewise.
32505 (exp_test): Likewise.
32506 (exp10_test): Likewise.
32507 (exp2_test): Likewise.
32508 (expm1_test): Likewise.
32509 (lgamma_test): Likewise.
32510 (log_test): Likewise.
32511 (log10_test): Likewise.
32512 (log1p_test): Likewise.
32513 (log2_test): Likewise.
32514 (pow_test): Do not allow some spurious overflow exceptions.
32515 (sqrt_test): Add more tests.
32516 (tgamma_test): Likewise.
32517 (y0_test): Likewise.
32518 (y1_test): Likewise.
32519 (yn_test): Likewise.
32520
dd62fda6
AB
325212012-03-27 Anton Blanchard <anton@samba.org>
32522
32523 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32524 MAP_HUGETLB.
32525 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32526 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32527 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32528
1e3cdfda
AJ
325292012-03-27 David S. Miller <davem@davemloft.net>
32530
b855ab85
DM
32531 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32532
1e3cdfda
AJ
32533 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32534 have-as-vis3 check.
32535
325362012-03-27 Andreas Jaeger <aj@suse.de>
32537
32538 * sysdeps/x86_64/elf/configure.in: Moved to ...
32539 * sysdeps/x86_64/configure.in: ... here.
32540 * sysdeps/x86_64/elf/start.S: Moved to ...
32541 * sysdeps/x86_64/start.S: ... here.
32542 * sysdeps/x86_64/elf/configure: Delete.
32543
32544 * sysdeps/x86_64/configure.in: Merge contents from
32545 sysdeps/i386/configure.in (without i686 check).
32546
32547 * sysdeps/i386/elf/Versions: Merge into ...
32548 * sysdeps/i386/Versions: ... this.
32549 * sysdeps/i386/elf/Versions: Delete file.
32550 * sysdeps/i386/elf/start.S: Moved to ...
32551 * sysdeps/i386/start.S: ...here.
32552 * sysdeps/i386/elf/configure.in: Merge into...
32553 * sysdeps/i386/configure.in: ...here.
32554 * sysdeps/i386/elf/configure.in: Delete file.
32555 * sysdeps/i386/elf/configure: Delete file.
32556
32557 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32558 * debug/backtracesyms.c: ... here.
32559 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32560 * debug/backtracesymsfd.c: ... here.
32561 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32562 * sysdeps/generic/ifunc-sel.h: ... here.
32563
32564 * sysdeps/unix/i386/start.c: Delete file.
32565 * sysdeps/unix/sparc/start.c: Delete file.
32566 * sysdeps/unix/start.c: Delete file.
32567
32568 * sysdeps/sh/elf/configure.in: Moved to ...
32569 * sysdeps/sh/configure.in: ... here.
32570 * sysdeps/sh/elf/start.S: Moved to ...
32571 * sysdeps/sh/start.S: ... here.
32572 * sysdeps/sh/elf/configure: Delete file.
32573
32574 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32575 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32576 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32577 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32578 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32579 * sysdeps/powerpc/powerpc64/start.S: here.
32580 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32581 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32582 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32583 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32584 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32585
32586 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32587 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32588 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32589 * sysdeps/powerpc/powerpc32/start.S: ... here.
32590 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32591 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32592 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32593
32594 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32595 * sysdeps/powerpc/ifunc-sel.h: ... here.
32596 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32597 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32598
32599 * sysdeps/sparc/elf/configure.in: Moved to ...
32600 * sysdeps/sparc/configure.in: ... here.
32601 * sysdeps/sparc/elf/configure: Delete file.
32602 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32603 * sysdeps/sparc/sparc32/start.S: ... here.
32604 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32605 * sysdeps/sparc/sparc64/start.S: ... here.
32606 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32607 * sysdeps/sparc/sparc32/Makefile: ... this.
32608 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32609 * sysdeps/sparc/sparc64/Makefile: ... this.
32610
32611 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32612 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32613 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32614 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32615 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32616 * sysdeps/s390/s390-32/setjmp.S: ... here.
32617 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32618 * sysdeps/s390/s390-32/configure.in: ... here.
32619 * sysdeps/s390/s390-32/elf/configure: Delete file.
32620 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32621 * sysdeps/s390/s390-32/start.S: ... here.
32622
32623 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32624 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32625 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32626 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32627 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32628 * sysdeps/s390/s390-64/setjmp.S: ... here.
32629 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32630 * sysdeps/s390/s390-64/configure.in: ... here
32631 * sysdeps/s390/s390-64/elf/configure: Delete file.
32632 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32633 * sysdeps/s390/s390-64/start.S: ... here.
32634 * sysdeps/s390/s390-64/elf/configure: Delete.
32635
32636 * configure.in: Remove support for elf directories in sysdeps.
32637
32638 * configure: Regenerated.
32639 * sysdeps/i386/configure: Regenerated.
32640 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32641 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32642 * sysdeps/s390/s390-32/configure: Regenerated.
32643 * sysdeps/s390/s390-64/configure: Regenerated.
32644 * sysdeps/sh/configure: Regenerated.
32645 * sysdeps/sparc/configure: Regenerated.
32646 * sysdeps/x86_64/configure: Regenerated.
32647
a3f61311
AS
326482012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32649
c876e002
AS
32650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32651
a3f61311
AS
32652 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32653 denormal result into account.
32654
ac4c54f0
RM
326552012-03-25 Roland McGrath <roland@hack.frob.com>
32656
32657 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32658 Reported by Allan McRae <allan@archlinux.org>.
32659
6a9b9c02
JL
326602012-03-23 Jeff Law <law@redhat.com>
32661
32662 * nss/getnssent.c (__nss_getent): Fix typo.
32663
4c42a0c1
DM
326642012-03-23 David S. Miller <davem@davemloft.net>
32665
32666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32667
1532c7ac
L
326682012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32669
32670 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32671 to pad to uint64_t for each field.
32672 (dl_tls_index): Replace unsigned long with uint64_t.
32673
3ff42526
PP
326742012-03-23 Daniel Jacobowitz <dmj@google.com>
32675 Paul Pluzhnikov <ppluzhnikov@google.com>
32676
32677 [BZ #6528]
32678 * grp/Makefile (otherlibs): Don't set it.
32679 * inet/Makefile (otherlibs): Likewise.
32680 * login/Makefile (otherlibs): Likewise.
32681 * nscd/Makefile (otherlibs): Likewise.
32682 * posix/Makefile (otherlibs): Likewise.
32683 * pwd/Makefile (otherlibs): Likewise.
32684 * rt/Makefile (otherlibs): Likewise.
32685 * sunrpc/Makefile (otherlibs): Likewise.
32686 * nss/Makefile (otherlibs): Likewise.
32687 Add libnss_files to routines and static-only-routines.
32688 ($(objpfx)getent): Remove rule.
32689 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32690 static-only-routines.
32691
7c69cd14
JM
326922012-03-22 Joseph Myers <joseph@codesourcery.com>
32693
32694 [BZ #13892]
32695 * math/s_cexp.c: Include <float.h>.
32696 (__cexp): Handle exp result overflowing not necessarily
32697 overflowing both real and imaginary parts of result.
32698 * math/s_cexpf.c: Likewise.
32699 * math/s_cexpl.c: Likewise.
32700 * math/libm-test.inc (cexp_test): Add more tests.
32701 * sysdeps/i386/fpu/libm-test-ulps: Update.
32702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32703
81b035fe
L
327042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32705
32706 * include/link.h (ELFW): New macro.
32707 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32708 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32709
1da7940c
L
327102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32711
32712 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32713 with uint64_t.
32714
b749dbb9
L
327152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32716
32717 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32718 declaration.
32719 (struct La_x32_retval): Likewise.
32720
2ff87f3f
L
327212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32722
32723 * sysdeps/x86_64/preconfigure.in: New file.
32724 * sysdeps/x86_64/preconfigure: New generated file.
32725
c0df8e69
JM
327262012-03-22 Joseph Myers <joseph@codesourcery.com>
32727
48e44791
JM
32728 [BZ #13824]
32729 * math/e_exp2l.c: Include <float.h>.
32730 (__ieee754_exp2l): Handle overflow and underflow cases
32731 separately. Only pass fractional part of argument to
32732 __ieee754_expl.
32733 * math/libm-test.inc (exp2_test): Add more tests.
32734
c0df8e69
JM
32735 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32736 negating x to take absolute value.
32737 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32738 Likewise.
32739 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32740 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32741 Likewise.
32742 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32743 computing low part if x was negated.
32744 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32745
c8e43ba7
L
327462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32747
32748 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32749 la_x32_gnu_pltexit.
32750 (pltexit): Cast int_retval to ptrdiff_t.
32751 * elf/tst-auditmod3b.c: Likewise.
32752 * elf/tst-auditmod4b.c: Likewise.
32753 * elf/tst-auditmod5b.c: Likewise.
32754 * elf/tst-auditmod6b.c: Likewise.
32755 * elf/tst-auditmod6c.c: Likewise.
32756 * elf/tst-auditmod7b.c: Likewise.
32757
32758 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32759 and x32_gnu_pltexit.
32760
32761 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32762 __ELF_NATIVE_CLASS.
32763 (La_x32_regs): New macro.
32764 (La_x32_retval): Likewise.
32765 (la_x32_gnu_pltenter): New function prototype.
32766 (la_x32_gnu_pltexit): Likewise.
32767
7998fa78
AS
327682012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32769
dcb33988
AS
32770 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32771 exponent.
32772
233fc563
AS
32773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32774
7998fa78
AS
32775 * configure.in (libc_cv_cc_nofma): Check for option to disable
32776 generation of FMA instructions.
32777 * configure: Regenerate.
32778 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32779 * sysdeps/ieee754/dbl-64/Makefile: New file.
32780 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32781 Remove brandred-fma4.
32782 (CFLAGS-brandred-fma4.c): Remove.
32783 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32784 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32785 define.
32786 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32787 define.
32788
8e95c99a
L
327892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32790
32791 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32792 LLONG_MAX != LONG_MAX.
32793 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32794 (_fitoa_word): Likewise.
32795 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32796 LLONG_MAX != LONG_MAX.
32797 * stdio-common/_itowa.h: Include <_itoa.h>.
32798 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32799 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32800 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32801 only if not defined.
32802 (_ITOA_WORD_TYPE): Likewise.
32803 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32804 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32805
6f4db457
DM
328062012-03-21 David S. Miller <davem@davemloft.net>
32807
32808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32809
7785fe5a
L
328102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32811
32812 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32813 of x86_64 when setting libc_cv_slibdir, libdir and
32814 libc_cv_localedir.
32815 * sysdeps/unix/sysv/linux/configure: Regenerated.
32816
4535cd55
JM
328172012-03-21 Joseph Myers <joseph@codesourcery.com>
32818
32819 * manual/lang.texi (Old Varargs): Remove section.
32820 (How Variadic): Update menu.
32821 (va_start): Do not mention varargs.h.
32822
17228132
TS
328232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32824 Joseph Myers <joseph@codesourcery.com>
32825
32826 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32827 link test.
32828 * configure: Regenerated.
32829
8149f976
TS
328302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32831
05f3d1f6
UD
32832 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32833 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32834 conformtest.pl
8149f976 32835
1a4ac776
JM
328362012-03-21 Joseph Myers <joseph@codesourcery.com>
32837
be22ce65
JM
32838 * NOTES: Remove.
32839 * Makefile (files-for-dist): Remove NOTES.
32840 (NOTES): Remove rule.
32841 * README: Don't refer to NOTES.
32842 * manual/creature.texi: Don't include macros.texi.
32843 * manual/intro.texi (creature.texi): Remove comment referring to
32844 NOTES.
32845
40b601fb
JM
32846 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32847 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32848 * configure: Regenerated.
32849 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32850 LIBC_TRY_CC_OPTION.
32851 (libc_cv_as_i686): Likewise.
32852 (libc_cv_cc_avx): Likewise.
32853 (libc_cv_cc_sse2avx): Likewise.
32854 (libc_cv_cc_fma4): Likewise.
32855 (libc_cv_cc_novzeroupper): Likewise.
32856 * sysdeps/i386/configure: Regenerated.
32857
1a4ac776
JM
32858 [BZ #13883]
32859 * sysdeps/i386/fpu/s_cexp.S: Remove.
32860 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32861 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32862 * math/libm-test.inc (cexp_test): Add more tests.
32863 * sysdeps/i386/fpu/libm-test-ulps: Update.
32864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32865
a458e7fe
AM
328662012-03-21 Allan McRae <allan@archlinux.org>
32867
32868 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32869
0cb7efc5
JM
328702012-03-21 Joseph Myers <joseph@codesourcery.com>
32871
32872 [BZ #13871]
32873 * math/w_exp2.c: Do not include <float.h>.
32874 (o_threshold, u_threshold): Remove.
32875 (__exp2): Calculate result before checking finiteness and calling
32876 __kernel_standard.
32877 * math/w_exp2f.c: Likewise.
32878 * math/w_exp2l.c: Likewise.
32879 * math/libm-test.inc (exp2_test): Require overflow exception for
32880 1e6 input.
2460d3aa
JM
32881
32882 [BZ #3866]
32883 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32884 range of signed 64-bit integers before using fistpll. Remove
32885 checks for whether integers fit in mantissa bits.
32886 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32887 the range of signed 32-bit integers before using fistpl. Remove
32888 checks for whether integers fit in mantissa bits.
32889 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32890 (__ieee754_powl): Test for y outside the range of signed 64-bit
32891 integers before using fistpll. Reduce 64-bit values to 63-bit
32892 ones as needed.
32893 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32894 divide-by-zero is raised for zero to large negative powers.
32895 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32896 (__ieee754_powl): Test for y outside the range of signed 64-bit
32897 integers before using fistpll. Reduce 64-bit values to 63-bit
32898 ones as needed.
32899 * math/libm-test.inc (pow_test): Add more tests.
32900
eb96ffb0
L
329012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32902
32903 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32904 <stdio-common/_itoa.h>.
32905 * debug/segfault.c: Likewise.
32906 * elf/dl-cache.c: Likewise.
32907 * elf/dl-minimal.c: Likewise.
32908 * elf/dl-misc.c: Likewise.
32909 * elf/dl-sysdep.c: Likewise.
32910 * elf/dl-version.c: Likewise.
32911 * elf/rtld.c: Likewise.
32912 * hurd/hurdsock.c: Likewise.
32913 * hurd/lookup-retry.c: Likewise.
32914 * malloc/malloc.c: Likewise.
32915 * malloc/mtrace.c: Likewise.
32916 * nscd/nscd_getgr_r.c: Likewise.
32917 * nscd/nscd_getpw_r.c: Likewise.
32918 * nscd/nscd_getserv_r.c: Likewise.
32919 * posix/getopt_init.c: Likewise.
32920 * posix/wordexp.c: Likewise.
32921 * stdio-common/_itoa.c: Likewise.
32922 * stdio-common/printf_fphex.c: Likewise.
32923 * stdio-common/vfprintf.c: Likewise.
32924 * string/_strerror.c: Likewise.
32925 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32926 * sysdeps/i386/i686/hp-timing.h: Likewise.
32927 * sysdeps/mach/_strerror.c: Likewise.
32928 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32929 * sysdeps/mach/hurd/sethostid.c: Likewise.
32930 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32931 * sysdeps/mach/xpg-strerror.c: Likewise.
32932 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32933 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32934 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32935 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32936 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32937 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32938 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32939 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32940 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32941 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32942 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32943 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32944 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32945 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32946 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32947 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32948 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32949 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32950 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32951 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32952 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32953
32954 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32955
32956 * stdio-common/_itoa.h: Moved to ...
32957 * sysdeps/generic/_itoa.h: Here.
32958
32959 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32960
32961 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32962 instead of "_itoa.h" and "_itowa.h".
32963 * stdio-common/vfprintf.: Likewise.
32964
d1af992d
L
329652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32966
32967 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32968 <bits/wordsize.h>.
32969 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32970 (__signbit): Likwise.
32971 (llrintf): Likwise.
32972 (llrint): Likwise.
32973
114883e0
L
329742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32975
32976 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32977 __WORDSIZE != 64.
32978
c135cc1b
JM
329792012-03-20 Joseph Myers <joseph@codesourcery.com>
32980
32981 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32982 OVERFLOW_EXCEPTION_OK.
32983 * math/libm-test.inc ("Philosophy"): Update comment about
32984 exception testing.
32985 (OVERFLOW_EXCEPTION): Define.
32986 (OVERFLOW_EXCEPTION_OK): Likewise.
32987 (INVALID_EXCEPTION_OK): Renumber.
32988 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32989 (IGNORE_ZERO_INF_SIGN): Likewise.
32990 (test_exceptions): Handle FE_OVERFLOW.
32991 (exp10_test): Expect overflow exceptions.
32992 (exp2_test): Likewise.
32993 (expm1_test): Likewise.
32994 (nextafter_test): Likewise.
32995 (pow_test): Likewise.
32996 (scalbn_test): Likewise.
32997 (scalbln_test): Likewise.
32998
95443d88
L
329992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33000
33001 * sysdeps/x86_64/bits/atomic.h
33002 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33003 64bit integer.
33004 (atomic_exchange_acq): Likewise.
33005 (__arch_exchange_and_add_body): Likewise.
33006 (__arch_add_body): Likewise.
33007 (atomic_add_negative): Likewise.
33008 (atomic_add_zero): Likewise.
33009
490df6c4
L
330102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33011
c2722551 33012 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
33013 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33014
5e52b189
L
330152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33016
33017 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33018 Check __x86_64__ instead of __WORDSIZE.
33019
a9879d4c
L
330202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33021
33022 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33023
5df98260
DM
330242012-03-19 David S. Miller <davem@davemloft.net>
33025
e1497744
DM
33026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33027
5df98260
DM
33028 * sysdeps/sparc/fpu/fenv_private.h: New file.
33029 * sysdeps/sparc/fpu/math_private.h: Use it.
33030 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33031 Remove.
57f41c40 33032 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
33033 (libc_feholdexcept_setroundl): Remove.
33034 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33035 Remove.
33036 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33037 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33038
b4c35121
L
330392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33040
33041 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33042 int64_t instead of long int.
33043 (INSERT_WORDS64): Likwise.
33044
56965fd7
L
330452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33046
33047 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33048 _Unwind_GetCFA return to _Unwind_Ptr first.
33049
83d1aec8
JM
330502012-03-19 Joseph Myers <joseph@codesourcery.com>
33051
1897ad44
JM
33052 [BZ #13629]
33053 * math/s_clog.c: Include <float.h>.
33054 (__clog): Scale large or subnormal inputs.
33055 * math/s_clogf.c: Likewise.
33056 * math/s_clogl.c: Likewise.
33057 * math/s_clog10.c: Include <float.h>.
33058 (M_LOG10_2): Define.
33059 (__clog10): Scale large or subnormal inputs.
33060 * math/s_clog10f.c: Likewise.
33061 * math/s_clog10l.c: Likewise.
33062 * math/libm-test.inc (clog_test): Add more tests.
33063 (clog10_test): Likewise.
33064 * sysdeps/i386/fpu/libm-test-ulps: Update.
33065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33066
7726d6a9
JM
33067 [BZ #11451]
33068 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33069 x and y.
33070 * math/libm-test.inc (atan2_test): Add another test.
33071
83d1aec8
JM
33072 * Makerules (common-objdir-compile): Remove.
33073 * sysdeps/unix/Makefile (config-generated): Do not add
33074 $(unix-generated) to variable.
33075 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33076 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33077 Remove rule.
33078 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33079 Likewise.
33080 [generic bits/local_lim.h] (before-compile): Do not append to
33081 variable.
33082 [generic bits/local_lim.h] (common-generated): Likewise.
33083 [generic sys/param.h] (before-compile): Do not append to variable.
33084 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33085 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33086 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33087 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33088 include.
33089 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33090 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33091 [generic sys/param.h] ($(addprefix
33092 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33093 [generic sys/param.h] (common-generated): Do not append to
33094 variable.
33095 [generic sys/param.h] (sysdep_headers): Likewise.
33096 [generic bits/errno.h] (before-compile): Do not append to
33097 variable.
33098 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33099 rule.
33100 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33101 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33102 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33103 [generic bits/errno.h] (common-generated): Do not append to
33104 variable.
33105 [generic bits/ioctls.h] (before-compile): Do not append to
33106 variable.
33107 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33108 rule.
33109 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33110 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33111 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33112 rule.
33113 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33114 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33115 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33116 [generic bits/ioctls.h] (common-generated): Do not append to
33117 variable.
33118 [generic sys/syscall.h] (syscall.h): Remove variable.
33119 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33120 rule.
33121 [generic sys/syscall.h] (before-compile): Do not append to
33122 variable.
33123 [generic sys/syscall.h] (common-generated): Likewise.
33124 * sysdeps/unix/errnos-tmpl.c: Remove file.
33125 * sysdeps/unix/errnos.awk: Likewise.
33126 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33127 * sysdeps/unix/ioctls.awk: Likewise.
33128 * sysdeps/unix/mk-local_lim.c: Likewise.
33129 * sysdeps/unix/snarf-ioctls: Likewise.
33130
4851a949
RH
331312012-03-19 Richard Henderson <rth@twiddle.net>
33132
bd37f2ee
RH
33133 * sysdeps/i386/fpu/fenv_private.h: New file.
33134 * sysdeps/i386/fpu/math_private.h: Use it.
33135 (math_opt_barrier, math_force_eval): Remove.
33136 (libc_feholdexcept_setround_53bit): Remove.
33137 (libc_feupdateenv_53bit): Remove.
33138 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33139 (math_opt_barrier, math_force_eval): Remove.
33140 (libc_feholdexcept): Remove.
33141 (libc_feholdexcept_setround): Remove.
33142 (libc_fetestexcept, libc_fesetenv): Remove.
33143 (libc_feupdateenv_test): Remove.
33144 (libc_feupdateenv, libc_feholdsetround): Remove.
33145 (libc_feresetround): Remove.
33146
d0adc922
RH
33147 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33148 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33149
0fe0f1f8
RH
33150 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33151 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33152 (libc_feupdateenv_testl): New.
33153 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33154 (libc_feupdateenv_testf): New.
33155 (libc_feupdateenv): Use libc_feupdateenv_test.
33156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33157 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33158
eb92c487
RH
33159 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33160 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33161 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33162 (libc_feresetround_noex): New.
33163 (libc_feresetround_noexf): New.
33164 (libc_feresetround_noexl): New.
33165 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33166 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33167 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33168 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33169 SET_RESTORE_ROUND.
33170 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33171 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33172 (__cos): Likewise.
33173 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33174 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33175 SET_RESTORE_ROUND_NOEX.
33176 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33177 SET_RESTORE_ROUND_NOEXF.
33178 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33179 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33180 (libc_feholdsetroundf): New.
33181 (libc_feresetround, libc_feresetroundf): New.
33182
7d2e8012
RH
33183 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33184 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33185 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33186
b4dabbb4
RH
33187 * sysdeps/generic/math_private.h: Include <fenv.h>.
33188 (default_libc_feholdexcept): New.
33189 (default_libc_feholdexcept_setround): New.
33190 (default_libc_fesetenv, default_libc_feupdateenv): New.
33191 (libc_feholdexcept): Only define if undefined.
33192 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33193 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33194 (libc_feholdexcept_setroundl): Likewise.
33195 (libc_feholdexcept_setround_53bit): Likewise.
33196 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33197 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33198 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33199 (libc_feupdateenv_53bit): Likewise.
33200 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33201 (libc_feholdexcept): Convert from macro to inline function.
33202 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33203 (libc_fesetenv, libc_feupdateenv): Likewise.
33204
4851a949
RH
33205 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33206 not previously defined.
33207 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33208 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33209 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33210 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33211 * sysdeps/ieee754/flt-32/math_private.h: New file.
33212 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33213 math_private.h below SET_FLOAT_WORD.
33214 (__isnan, __isinf_ns, __finite): Remove.
33215 (__isnanf, __isinf_nsf, __finitef): Remove.
33216
e79d442e
AS
332172012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33218
33219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33220
90b80344
DM
332212012-03-17 David S. Miller <davem@davemloft.net>
33222
33223 [BZ #6471]
33224 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33225 for 2.16.
33226
edc21804
DM
332272012-03-16 David S. Miller <davem@davemloft.net>
33228
77e927af
DM
33229 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33230 warnings.
33231
374976dd
DM
33232 [BZ #6471]
33233 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33234 properly.
33235 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33236 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33237 sysdep_routines when subdir is sysvipc.
33238 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33239 __getshmlba helper.
33240
edc21804
DM
33241 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33242
473c3ef3
L
332432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33244
33245 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33246 [__LP64__].
33247
eb0f39b6
L
332482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33249
33250 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33251 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33252 (__lround): Renamed to ...
33253 (__llround): This. Replace long int with long long int.
33254 Define lround functions as aliases of llround functions.
33255 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33256
6b6cd74b
L
332572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33258
33259 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33260 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33261 adresses to uintptr_t. Replace "long int" and "unsigned long
33262 int" with "greg_t" on va_arg.
33263
f1a77b01
L
332642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33265
33266 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33267 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33268
33269 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33270 Move e_machine check before EI_CLASS check. Handle x32
33271 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33272 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33273 SKIP_EM_IA_64 and include
33274 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33275
33276 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33277 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33278 (add_system_dir): New macro.
33279
33280 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33281 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33282
11b90b9f
JM
332832012-03-16 Joseph Myers <joseph@codesourcery.com>
33284
c36e1d23
JM
33285 [BZ #2551]
33286 [BZ #2552]
33287 [BZ #2553]
33288 [BZ #2554]
33289 [BZ #2562]
33290 [BZ #2563]
33291 [BZ #2565]
33292 [BZ #2566]
33293 [BZ #2576]
33294 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33295 (y0): Likewise.
33296 * math/w_j0f.c (j0f): Likewise.
33297 (y0f): Likewise.
33298 * math/w_j0l.c (__j0l): Likewise.
33299 (__y0l): Likewise.
33300 * math/w_j1.c (j1): Likewise.
33301 (y1): Likewise.
33302 * math/w_j1f.c (j1f): Likewise.
33303 (y1f): Likewise.
33304 * math/w_j1l.c (__j1l): Likewise.
33305 (__y1l): Likewise.
33306 * math/w_jn.c (jn): Likewise.
33307 (yn): Likewise.
33308 * math/w_jnf.c (jnf): Likewise.
33309 (ynf): Likewise.
33310 * math/w_jnl.c (__jnl): Likewise.
33311 (__ynl): Likewise.
33312 * math/libm-test.inc (j0_test): Add more tests.
33313 (j1_test): Likewise.
33314 (jn_test): Likewise. Add trailing semicolon to existing test.
33315 (y0_test): Likewise.
33316 (y1_test): Likewise.
33317 * sysdeps/i386/fpu/libm-test-ulps: Update.
33318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33319
11b90b9f
JM
33320 [BZ #13851]
33321 [BZ #13854]
33322 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33323 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33324 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33325 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33326 (__tanl): Set errno for infinite argument.
33327 * sysdeps/i386/fpu/mptan.c: Remove.
33328 * sysdeps/i386/fpu/s_tan.S: Likewise.
33329 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33330 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33331 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33332 * math/libm-test.inc (tan_test): Add more tests and enable more
33333 tests for double and long double.
33334 * sysdeps/i386/fpu/libm-test-ulps: Update.
33335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33336
6a1bd2a1
JK
333372012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33338
33339 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33340 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33341
10a803e0
RM
333422012-03-16 Roland McGrath <roland@hack.frob.com>
33343
33344 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33345 * configure.in: Use it for both main tree and add-ons.
33346 * configure: Regenerated.
33347
f196c7f7
L
333482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33349
33350 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33351
8848d99d
JM
333522012-03-16 Joseph Myers <joseph@codesourcery.com>
33353
96cbe7f4
JM
33354 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33355 in comment.
33356
8848d99d
JM
33357 [BZ #13851]
33358 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33359 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33360 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33361 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33362 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33363 infinite argument.
33364 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33366 != 0 for prec == 2.
33367 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33368 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33369 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33370 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33371 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33372 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33373 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33374 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33375 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33376 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33377 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33378 * math/libm-test.inc (cos_test): Add more tests and enable more
33379 tests for long double.
33380 (sin_test): Likewise.
33381 (sincos_test): Likewise.
33382 * sysdeps/i386/fpu/libm-test-ulps: Update.
33383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33384
dd7f4703
DM
333852012-03-16 David S. Miller <davem@davemloft.net>
33386
33387 * sysdeps/sparc/fpu/math_private.h: New file.
33388
006f1daa
DM
333892012-03-15 David S. Miller <davem@davemloft.net>
33390
c0c83bc8
DM
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33392 file.
e6a62e18 33393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33395 file.
e6a62e18
DM
33396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33401 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33402 sysdep routines.
33403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33404
88cb87d9
DM
33405 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33406 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33407
006f1daa 33408 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33410 sparc-ifunc.h
006f1daa 33411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33413 Likewise.
33414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33415 Likewise.
006f1daa
DM
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33420 Likewise.
006f1daa
DM
33421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33426 Likewise.
33427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33428 Likewise.
006f1daa
DM
33429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33435 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33436 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33440 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33447 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33451 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33453
11e0098e
AS
334542012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33455
33456 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33457 scaling.
33458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33459
e85b09d0
AJ
334602012-03-15 Andreas Jaeger <aj@suse.de>
33461
33462 [BZ #13852]
33463 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33464 ieee754/flt-32 implementation for sin, cos and sincos.
33465 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33466 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33467 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33468 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33469 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33470 ieee754/flt-32 implementation for tan.
33471
33472 * math/libm-test.inc (cos_test): Enable some large input tests for
33473 float as well
33474 (sin_test): Likewise.
33475 (sincos_test): Likewise.
33476 (tan_test): Add tests for large input.
33477
33478 * sysdeps/i386/fpu/libm-test-ulps: Update.
33479
81c64153
AJ
334802012-03-15 Andreas Jaeger <aj@suse.de>
33481
33482 [BZ #13658]
33483 * math/libm-test.inc (cos_test): Add more test cases.
33484 (sin_test): Likewise.
33485 (sincos_test): Likewise.
33486
7bbfa5c6
AJ
334872012-03-15 Andreas Jaeger <aj@suse.de>
33488
33489 [BZ #13837]
33490 * math/libm-test.inc (cos_test): Add a test case for large input
33491 value.
33492 (sin_test): Likewise.
33493 (sincos_test): Likewise.
33494
57f41c40
AS
334952012-03-15 Andreas Jaeger <aj@suse.de>
33496 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
33497
33498 [BZ #13658]
0671f479 33499 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33500 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33501 * sysdeps/i386/fpu/branred.c: Likewise.
33502 * sysdeps/i386/fpu/dosincos.c: Likewise.
33503 * sysdeps/i386/fpu/mpa.c: Likewise.
33504 * sysdeps/i386/fpu/s_cos.S: Likewise.
33505 * sysdeps/i386/fpu/s_sin.S: Likewise.
33506 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33507 * sysdeps/i386/fpu/sincos32.c: Likewise.
33508
33509 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33510 Define.
33511 (libc_feupdateenv_53bit): Define.
33512 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33513 Define.
33514 (libc_feupdateenv_53bit): Define.
33515
33516 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33517 53 bit (without extend i386 double precision).
33518
33519 * math/libm-test.inc (sincos_test): Add tests for large input.
33520 (sin): Likewise.
33521 (cos): Likewise.
33522
33523 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33524
9cad04ea
AS
335252012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33526
33527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33528
f7062b9a
DM
335292012-03-15 David S. Miller <davem@davemloft.net>
33530
33531 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33532 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33533 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33534 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33547 file.
f7062b9a 33548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33550 file.
f7062b9a 33551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33553 file.
f7062b9a 33554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33556 file.
f7062b9a
DM
33557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33559 fmin/fmax sysdep routines.
33560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33561
7bd951ff
DM
335622012-03-14 David S. Miller <davem@davemloft.net>
33563
559398ab
DM
33564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33568 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33569 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33584 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33585 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33588 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33589 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33593 routines.
33594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33595 file.
559398ab 33596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33598 file.
559398ab 33599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33601 file.
559398ab 33602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33604 file.
559398ab 33605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33607 file.
559398ab 33608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33610 file.
33611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33612 file.
33613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33614 file.
33615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33616 file.
33617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33618 New file.
33619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33620 file.
33621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33622 file.
559398ab 33623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33625 file.
559398ab 33626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33628 file.
559398ab 33629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33631 file.
559398ab 33632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33634 VIS3 routines.
559398ab
DM
33635
33636 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33637 New file.
33638
5a1c1e32
DM
33639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33640
eae47a36
DM
33641 * sysdeps/sparc/configure.in: New file.
33642 * sysdeps/sparc/configure: Generate.
33643 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33644 * configure: Regenerate.
33645 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33646 * config.make.in (have-as-vis3): New.
33647 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33648 available use -Av9d instead of -Av9a.
33649 * sysdeps/sparc/sparc64/Makefile: Likewise.
33650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33652 New file.
33653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33654 file.
33655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33656 New file.
33657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33658 file.
eae47a36
DM
33659 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33660 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33664
c0c83bc8
DM
33665 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33666 fzeros/fnegs to load 0x80000000 into a float register instead of
33667 using the stack.
7bd951ff
DM
33668 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33669
bd951ccb
JM
336702012-03-14 Joseph Myers <joseph@codesourcery.com>
33671
33672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33673 bits/syscall.h.
33674 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33675 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33676 ($(inst_includedir)/bits/syscall.h): Remove rule.
33677 ($(objpfx)bits/syscall.d): Include instead of
33678 $(objpfx)syscall-list.d.
33679 (generated): Change syscall-list.h and syscall-list.d to
33680 bits/syscall.h and bits/syscall.d.
33681
bb4e6db2
RM
336822012-03-14 Roland McGrath <roland@hack.frob.com>
33683
33684 [BZ #13846]
33685 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33686
aa4a2ae1
JM
336872012-03-14 Joseph Myers <joseph@codesourcery.com>
33688
e456826d
JM
33689 [BZ #13841]
33690 * math/s_csqrt.c: Include <float.h>.
33691 (__csqrt): Scale large or subnormal inputs.
33692 * math/s_csqrtf.c: Likewise.
33693 * math/s_csqrtl.c: Likewise.
33694 * math/libm-test.inc (csqrt_test): Add more tests.
33695 * sysdeps/i386/fpu/libm-test-ulps: Update.
33696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33697
aa4a2ae1
JM
33698 [BZ #13840]
33699 * math/libm-test.inc (hypot_test): Add more tests.
33700
7c10fd35
DM
337012012-03-13 David S. Miller <davem@davemloft.net>
33702
33703 [BZ #13840]
33704 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33705 double-precision for the calculation instead of scaling.
33706
f453b98b
JM
337072012-03-13 Joseph Myers <joseph@codesourcery.com>
33708
33709 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33710 manipulate bits before adding and subtracting TWO52[sx].
33711 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33712 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33713 Likewise.
33714 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33715
09a3453f
DM
337162012-03-13 David S. Miller <davem@davemloft.net>
33717
8e59da90
DM
33718 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33719 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33721 rtld-global-offsets.h
33722 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33723
2a8ab7f2
DM
33724 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33725 large parameters.
33726
10f62770
DM
33727 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33728
5f0bdb18
DM
33729 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33730 'err' in the ifdef scope in which it is actually used.
33731
09a3453f
DM
33732 * nss/nss_db/db-init.c: Include string.h
33733
b4b2eb5e
DM
337342012-03-12 David S. Miller <davem@davemloft.net>
33735
98bb2f1c
DM
33736 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33737 masking out of the most significant byte of random value used.
33738 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33739 Fix coding style in previous change.
33740
b4b2eb5e
DM
33741 * sysdeps/unix/sysv/linux/kernel-features.h
33742 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33743 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33744 expression.
33745 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33746 later.
33747
6e226b09
DM
337482012-03-11 David S. Miller <davem@davemloft.net>
33749
a1bcbd40
DM
33750 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33751 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33752 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33753 for 'resultvar' otherwise things get truncated on 64-bit.
33754
cb9d6174
DM
33755 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33756 Fix masking out of the most significant byte of random value used.
33757
6e226b09
DM
33758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33759
058c132d
AS
337602012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33761
33762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33763
2d2cd515
DM
337642012-03-09 David S. Miller <davem@davemloft.net>
33765
33766 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33767 variables with appropriate CPP guards.
57f41c40
AS
33768 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33769 from the frame pointer, not the stack pointer. Correct layout
33770 comments. Fix test on resulting framesize and the management of
33771 the outregs buffer for pltexit. Preserve floating point return
33772 values across _dl_call_pltexit call.
2d2cd515
DM
33773 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33774 framesize and the management of the outregs buffer for pltexit.
33775 Preserve floating point return values across _dl_call_pltexit
33776 call.
57f41c40
AS
33777 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33778 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33779 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
33780 (print_exit): Fix format string for return register value.
33781
9a07f9d0
JM
337822012-03-10 Joseph Myers <joseph@codesourcery.com>
33783
33784 * sunrpc/Makefile (others): Add rpcgen.
33785 ($(objpfx)rpcgen): Remove special build rule and dependency on
33786 libc.
33787 * sunrpc/rpcgen.c: New file.
33788
547b5e30
PE
337892012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33790
c524201a
PE
33791 [BZ #13673]
33792 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33793 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33794 * sysdeps/i386/crti.S: Likewise.
33795 * sysdeps/i386/crtn.S: Likewise.
33796 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33797 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33798 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33799 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33800 * sysdeps/sh/crti.S: Likewise.
33801 * sysdeps/sh/crtn.S: Likewise.
33802 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33803
7b6235f2
PE
33804 [BZ #13673]
33805 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33806 with URL.
33807 * locale/programs/locfile-kw.gperf: Likewise.
33808 * locale/programs/charmap-kw.h: Regenerated.
33809 * locale/programs/locfile-kw.h: Likewise.
33810
547b5e30
PE
33811 [BZ #13673]
33812 * intl/plural.y: Replace FSF snail mail address with URL.
33813 * intl/plural.c: Regenerated.
33814
5f0a5dae
RH
338152012-03-09 Richard Henderson <rth@twiddle.net>
33816
33817 * include/math_private.h: Remove file.
33818 * math/math_private.h: Move file ...
33819 * sysdeps/generic/math_private.h: ... here.
33820
b8c03620
RH
33821 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33822 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33823 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33824
4e234f5d 33825 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33826 and <math_private.h>.
33827 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33828 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33829 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33830 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33831 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33832 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33838 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33839 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33840 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33841 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33842 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33851 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33852 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33854 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33857 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33858 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33859 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33860 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33861 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33863 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33864 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33865 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33867 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33868 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33869 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33870 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33871 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33872 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33873 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33874 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33876 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33877 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33878 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33879 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33880 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33881 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33882 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33885 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33886 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33887 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33888 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33890 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33891 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33892 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33893 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33894 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33895 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33896 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33897 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33898 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33899 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33900 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33901 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33906 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33907 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33908 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33909 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33910 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33911 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33914 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33915 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33916 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33917 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33918 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33919 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33920 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33921 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33922 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33923 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33924 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33925 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33927 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33928 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33929 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33930 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33931 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33932 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33933 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33934 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33935 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33936 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33937 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33938 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33939 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33940 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33941 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33942 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33943 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33944 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33945 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33946 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33947 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33948 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33950 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33951 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33952 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33953 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33954 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33955 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33956 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33957 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33958 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33959 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33960 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33961 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33962 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33963 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33964 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33965 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33966 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33967 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33968 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33969 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33970 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33971 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33972 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33973 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33974 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33975 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33976 * sysdeps/ieee754/k_standard.c: Likewise.
33977 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33979 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33980 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33981 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33982 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33983 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33984 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33985 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33986 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33987 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33988 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33989 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33990 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33991 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33992 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33993 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33994 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33995 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33996 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33997 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33998 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33999 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34000 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34001 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34002 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34003 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34004 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34005 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34007 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34008 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34009 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34010 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34011 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34012 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34013 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34014 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34015 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34016 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34017 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34018 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34019 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34020 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34021 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34022 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34023 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34025 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34026 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34027 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34028 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34029 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34030 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34031 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34032 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34033 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34034 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34035 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34036 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34037 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34038 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34039 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34040 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34041 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34042 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34043 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34044 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34045 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34046 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34047 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34049 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34050 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34051 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34053 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34054 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34055 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34056 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34057 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34058 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34059 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34060 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34061 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34062 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34063 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34064 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34067 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34068 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34069 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34070 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34073 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34074 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34075 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34076 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34079 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34081 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34084 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34085 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34086 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34087 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34088 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34089 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34090 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34091 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34092 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34093 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34094 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34095 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34096 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34097 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34098 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34099 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34100 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34101 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34102 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34103 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34104 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34105 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34106 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34107 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34108 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34109 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34110 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34111 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34112 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34113 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34114 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34115 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34116 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34117 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34118 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34119 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34120 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34121 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34122 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34123 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34124 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34125 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34126 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34127 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34128 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34129 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34130 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34131 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34132 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34133 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34134 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34135 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34136 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34137 * sysdeps/ieee754/s_lib_version.c: Likewise.
34138 * sysdeps/ieee754/s_matherr.c: Likewise.
34139 * sysdeps/ieee754/s_signgam.c: Likewise.
34140 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34141 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34142 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34143 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34144 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34145 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34146 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34147 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34148 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34149 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34150 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34151 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34152 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34153 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34154 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34155 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34156 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34157 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34158 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34159 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34161
1991fa03
JM
341622012-03-09 Joseph Myers <joseph@codesourcery.com>
34163
34164 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34165 * sunrpc/rpc_main.c: Likewise.
34166 * sunrpc/rpc_svcout.c: Likewise.
34167
60d6f5a6
DM
341682012-03-09 David S. Miller <davem@davemloft.net>
34169
34170 * include/math_private.h: New file.
34171
4962050e
JM
341722012-03-09 Joseph Myers <joseph@codesourcery.com>
34173
02a6f887
JM
34174 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34175 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34176 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34177 from <bits/socket_type.h>.
34178 (enum __socket_type): Don't define here.
34179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34181 bits/socket_type.h.
34182
c6e013c1
JM
34183 [BZ #13566]
34184 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34185 checking __USE_GNU.
34186
4962050e
JM
34187 * Makerules ($(inst_includedir)/%.h): New rule.
34188 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34189 (install-others): Remove variable setting.
34190 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34191
38842f45
RH
341922012-03-08 Richard Henderson <rth@twiddle.net>
34193
67bb6da6
RH
34194 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34195 from macro to inline function; merge with the
34196 !__LIBC_INTERNAL_MATH_INLINES version.
34197 (__ieee754_sqrtf): Likewise.
34198
15194b4b
RH
34199 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34200 to inline function.
34201 (__rintf, __floor, __floorf): Likewise.
34202
64e21ede
RH
34203 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34204 macro to inline function.
34205 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34206
38842f45
RH
34207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34208 not <math/math_private.h>.
34209
c64bf5fe
DM
342102012-03-08 David S. Miller <davem@davemloft.net>
34211
34212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34213 copyright year.
34214 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34215
82d86f28
TS
342162012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34217
34218 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34219 normalization.
34220 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34221 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34222
aea5d727
UD
342232012-03-08 Ulrich Drepper <drepper@gmail.com>
34224
34225 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34226 be defined individually, they must be defined as a block. Define
34227 S for printing a string instead of hidint the different by using a
34228 macro for adding the 'l'.
34229 * stdio-common/tst-fphex-wide.c: Adjust.
34230
70bca0a3
MP
342312012-03-07 Marek Polacek <polacek@redhat.com>
34232
34233 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34234
65b81130
MP
342352012-03-08 Marek Polacek <polacek@redhat.com>
34236
34237 [BZ #13806]
34238 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34239 * stdio-common/tst-fphex.c: Define a few macros to make the
34240 test reusable. Use them.
34241 * stdio-common/tst-fphex-wide.c: New file.
34242
07037eeb
JM
342432012-03-08 Joseph Myers <joseph@codesourcery.com>
34244
a7a93d50
JM
34245 [BZ #6911]
34246 * manual/macros.texi (gnusystems): New macro.
34247 (nongnusystems): Likewise.
34248 (gnulinuxhurdsystems): Likewise.
34249 (gnuhurdsystems): Likewise..
34250 (gnulinuxsystems): Likewise.
34251 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34252 variants of the GNU system, not "GNU system".
34253 * manual/conf.texi: Likewise.
34254 * manual/errno.texi: Likewise. Update example of errno macro
34255 expansion.
34256 * manual/filesys.texi: Likewise.
34257 (getumask): Document as specific to GNU/Hurd.
34258 * manual/install.texi: Likewise. Reword some references to
34259 GNU/Linux.
34260 * manual/intro.texi: Likewise.
34261 * manual/io.texi: Likewise.
34262 (File Name Portability): Detail which constraints are inapplicable
34263 to all GNU systems and which are only inapplicable to GNU/Hurd.
34264 * manual/job.texi: Likewise.
34265 * manual/llio.texi: Likewise.
34266 (O_NOCTTY): Document as present on GNU/Linux.
34267 * manual/maint.texi: Likewise.
34268 * manual/memory.texi: Likewise.
34269 * manual/pattern.texi: Likewise.
34270 * manual/pipe.texi: Likewise.
34271 * manual/process.texi: Likewise.
34272 * manual/resource.texi: Likewise.
34273 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34274 child on GNU/Hurd.
34275 * manual/setjmp.texi: Likewise.
34276 * manual/signal.texi: Likewise.
34277 * manual/startup.texi: Likewise.
34278 * manual/stdio.texi: Likewise.
34279 * manual/terminal.texi: Likewise.
34280 (ONLCR): Document as POSIX.
34281 (OXTABS): Document availability on GNU/Linux as XTABS.
34282 (ONOEOT): Document availability separately from other bits.
34283 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34284 * manual/time.texi: Likewise.
34285 * manual/users.texi: Likewise.
34286 * INSTALL: Regenerated.
34287 * sysdeps/gnu/errlist.c: Regenerated.
34288
07037eeb
JM
34289 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34290 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34291 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34292 puts.
34293 * configure: Regenerated.
34294
d1d3431a
JM
342952012-03-07 Joseph Myers <joseph@codesourcery.com>
34296
af6a1e37
JM
34297 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34298 default includes instead of AC_HEADER_CHECK.
34299 * sysdeps/i386/configure: Regenerated.
34300
d1d3431a
JM
34301 [BZ #10716]
34302 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34303 * math/s_cacoshf.c (__cacoshf): Likewise.
34304 * math/s_cacoshl.c (__cacoshl): Likewise.
34305 * math/s_casinh.c (__casinh): Set signs of result from argument.
34306 * math/s_casinhf.c (__casinhf): Likewise.
34307 * math/s_casinhl.c (__casinhl): Likewise.
34308 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34309 (casinh_test): Add more tests.
34310 * sysdeps/i386/fpu/libm-test-ulps: Update.
34311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34312
482ff4da
UD
343132012-03-07 Ulrich Drepper <drepper@gmail.com>
34314
872fda05
UD
34315 * po/zh_TW.po: Update from translation team.
34316
a4300c7a
UD
34317 * login/Makefile (distribute): Remove variable.
34318 * catgets/Makefile: Likewise.
34319 * mach/Makefile: Likewise.
34320 * malloc/Makefile: Likewise.
34321 * misc/Makefile: Likewise.
34322 * iconv/Makefile: Likewise.
34323 * nscd/Makefile: Likewise.
34324 * hurd/Makefile: Likewise.
34325 * manual/Makefile: Likewise.
34326 * locale/Makefile: Likewise.
34327 * intl/Makefile: Likewise.
34328 * conform/Makefile: Likewise.
34329 * nss/Makefile: Likewise.
34330 * time/Makefile: Likewise.
34331 * soft-fp/Makefile: Likewise.
34332 * dirent/Makefile: Likewise.
34333 * gmon/Makefile: Likewise.
34334 * po/Makefile: Likewise.
34335 * rt/Makefile: Likewise.
34336 * socket/Makefile: Likewise.
34337 * math/Makefile: Likewise.
34338 * signal/Makefile: Likewise.
34339 * debug/Makefile: Likewise.
34340 * elf/Makefile: Likewise.
34341 * timezone/Makefile: Likewise.
34342 * stdlib/Makefile: Likewise.
34343 * iconvdata/Makefile: Likewise.
34344 * sunrpc/Makefile: Likewise.
34345 * io/Makefile: Likewise.
34346 * argp/Makefile: Likewise.
34347 * inet/Makefile: Likewise.
34348 * hesiod/Makefile: Likewise.
34349 * grp/Makefile: Likewise.
34350 * csu/Makefile: Likewise.
34351 * wctype/Makefile: Likewise.
34352 * crypt/Makefile: Likewise.
34353 * libio/Makefile: Likewise.
34354 * string/Makefile: Likewise.
34355 * nis/Makefile: Likewise.
34356 * resolv/Makefile: Likewise.
34357 * stdio-common/Makefile: Likewise.
34358 * wcsmbs/Makefile: Likewise.
34359 * dlfcn/Makefile: Likewise.
34360 * posix/Makefile: Likewise.
34361
3b7c4e74 34362 [BZ #6959]
482ff4da
UD
34363 * timezone/Makefile: Don't install timezone files, just the programs
34364 and scripts.
34365
f72ed77d
UD
343662012-03-06 Ulrich Drepper <drepper@gmail.com>
34367
a000466f
UD
34368 * nss/databases.def: Add missing gshadow entry.
34369
f72ed77d
UD
34370 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34371
a53b7a4e
MP
343722012-03-06 Marek Polacek <polacek@redhat.com>
34373
34374 [BZ #13726]
34375 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34376 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34377 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34378 * stdio-common/tst-long-dbl-fphex.c: New file.
34379
e9258400
DM
343802012-03-06 David S. Miller <davem@davemloft.net>
34381
34382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34383 (set_obp_int): New function.
34384 (get_obp_int): New function.
34385 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34386 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34387 Avoid unused variable warnings on 'val' and use builtin_expect.
34388 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34389 __builtin_expect.
e9258400
DM
34390 (INLINE_CLONE_SYSCALL): Likewise.
34391
3bd2c723
DM
343922012-03-05 David S. Miller <davem@davemloft.net>
34393
34394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34395
bbb78d03
AS
343962012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34397
884c5db4
AS
34398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34399
bbb78d03
AS
34400 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34401 only for |x| >= 40.
34402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34403
1c9f702a 344042012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34405
34406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34407 Replace gettimeofday with __vdso_gettimeofday.
34408
7be16f82
RM
34409 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34410 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34411 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34412
34413 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34414 time with __vdso_time.
34415
ed58a00f
JM
344162012-03-05 Joseph Myers <joseph@codesourcery.com>
34417
34418 * manual/lang.texi (size_t): Note types to which size_t may be
34419 equivalent with the GNU C Library, but do not describe when
34420 differences between them are significant.
34421
30ee4ced
AJ
344222012-03-05 Andreas Jaeger <aj@suse.de>
34423
34424 * sysdeps/i386/fpu/libm-test-ulps: Update.
34425
b7cd39e8
JM
344262012-03-05 Joseph Myers <joseph@codesourcery.com>
34427
34428 [BZ #3976]
34429 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34430 (__ieee754_pow): Save and restore rounding mode and use
34431 round-to-nearest for main computations.
34432 * math/libm-test.inc (pow_test_tonearest): New function.
34433 (pow_test_towardzero): Likewise.
34434 (pow_test_downward): Likewise.
34435 (pow_test_upward): Likewise.
34436 (main): Call the new functions.
34437 * sysdeps/i386/fpu/libm-test-ulps: Update.
34438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34439
34440 [BZ #3976]
34441 * math/libm-test.inc (cosh_test_tonearest): New function.
34442 (cosh_test_towardzero): Likewise.
34443 (cosh_test_downward): Likewise.
34444 (cosh_test_upward): Likewise.
34445 (sinh_test_tonearest): Likewise.
34446 (sinh_test_towardzero): Likewise.
34447 (sinh_test_downward): Likewise.
34448 (sinh_test_upward): Likewise.
34449 (main): Call the new functions.
34450 * sysdeps/i386/fpu/libm-test-ulps: Update.
34451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34452
6c6a98c9
TV
344532012-03-05 Tom de Vries <tom@codesourcery.com>
34454
34455 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34456 default stack guard is set in last bytes.
34457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34458
21bb2d2e 344592012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34460
21bb2d2e 34461 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34462
21bb2d2e
AJ
34463 [BZ #13656]
34464 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34465 possibly allocate from heap instead of stack.
34466 * stdio-common/bug-vfprintf-nargs.c: New file.
34467 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34468
c6922934
AS
344692012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34470
34471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34472
bc957d53
MP
344732012-03-03 Marek Polacek <polacek@redhat.com>
34474
34475 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34476 * math/math_private.h: Likewise.
34477 * stdlib/tst-strtod.c: Likewise.
34478 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34479 * sysdeps/x86_64/bits/atomic.h: Likewise.
34480
6358490d
DM
344812012-03-02 David S. Miller <davem@davemloft.net>
34482
34483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34487 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34488 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34489 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34490 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34491
01ae168d
RM
344922012-03-02 Roland McGrath <roland@hack.frob.com>
34493
d9a17c07
RM
34494 [BZ #13792]
34495 * manual/examples/README: New file, says the example source files
34496 can be used under GPL>=2.
34497 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34498 line containing just "*/".
34499 * manual/examples/add.c: Add copyright header (GPL>=2).
34500 * manual/examples/argp-ex1.c: Likewise.
34501 * manual/examples/argp-ex2.c: Likewise.
34502 * manual/examples/argp-ex3.c: Likewise.
34503 * manual/examples/argp-ex4.c: Likewise.
34504 * manual/examples/atexit.c: Likewise.
34505 * manual/examples/db.c: Likewise.
34506 * manual/examples/dir.c: Likewise.
34507 * manual/examples/dir2.c: Likewise.
34508 * manual/examples/execinfo.c: Likewise.
34509 * manual/examples/filecli.c: Likewise.
34510 * manual/examples/filesrv.c: Likewise.
34511 * manual/examples/fmtmsgexpl.c: Likewise.
34512 * manual/examples/genpass.c: Likewise.
34513 * manual/examples/inetcli.c: Likewise.
34514 * manual/examples/inetsrv.c: Likewise.
34515 * manual/examples/isockad.c: Likewise.
34516 * manual/examples/longopt.c: Likewise.
34517 * manual/examples/memopen.c: Likewise.
34518 * manual/examples/memstrm.c: Likewise.
34519 * manual/examples/mkfsock.c: Likewise.
34520 * manual/examples/mkisock.c: Likewise.
34521 * manual/examples/mygetpass.c: Likewise.
34522 * manual/examples/pipe.c: Likewise.
34523 * manual/examples/popen.c: Likewise.
34524 * manual/examples/rprintf.c: Likewise.
34525 * manual/examples/search.c: Likewise.
34526 * manual/examples/select.c: Likewise.
34527 * manual/examples/setjmp.c: Likewise.
34528 * manual/examples/sigh1.c: Likewise.
34529 * manual/examples/sigusr.c: Likewise.
34530 * manual/examples/stpcpy.c: Likewise.
34531 * manual/examples/strdupa.c: Likewise.
34532 * manual/examples/strftim.c: Likewise.
34533 * manual/examples/strncat.c: Likewise.
34534 * manual/examples/subopt.c: Likewise.
34535 * manual/examples/swapcontext.c: Likewise.
34536 * manual/examples/termios.c: Likewise.
34537 * manual/examples/testopt.c: Likewise.
34538 * manual/examples/testpass.c: Likewise.
34539 * manual/examples/timeval_subtract.c: Likewise.
34540
01ae168d
RM
34541 [BZ #13792]
34542 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34543 function to ...
34544 * manual/timeval_subtract.c.texi: ... here, new file.
34545
49efa33d
DM
345462012-03-02 David S. Miller <davem@davemloft.net>
34547
34548 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34549
28afd92d
JM
345502012-03-02 Joseph Myers <joseph@codesourcery.com>
34551
804360ed
JM
34552 [BZ #3976]
34553 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34554 (__sin): Save and restore rounding mode and use round-to-nearest
34555 for all computations.
34556 (__cos): Save and restore rounding mode and use round-to-nearest
34557 for all computations.
34558 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34559 <fenv.h>.
34560 (tan): Save and restore rounding mode and use round-to-nearest for
34561 all computations.
34562 * math/libm-test.inc (cos_test_tonearest): New function.
34563 (cos_test_towardzero): Likewise.
34564 (cos_test_downward): Likewise.
34565 (cos_test_upward): Likewise.
34566 (sin_test_tonearest): Likewise.
34567 (sin_test_towardzero): Likewise.
34568 (sin_test_downward): Likewise.
34569 (sin_test_upward): Likewise.
34570 (tan_test_tonearest): Likewise.
34571 (tan_test_towardzero): Likewise.
34572 (tan_test_downward): Likewise.
34573 (tan_test_upward): Likewise.
34574 (main): Call the new functions.
34575 * sysdeps/i386/fpu/libm-test-ulps: Update.
34576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34577
a6d06d7b
JM
34578 [BZ #10135]
34579 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34580 small n, then large n, before computing and testing k+n.
34581 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34583 Likewise.
34584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34585 Likewise.
34586 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34587 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34588 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34589 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34590 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34591 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34592 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34594 * math/libm-test.inc (scalbn_test): Add more tests.
34595 (scalbln_test): Likewise.
34596
07e12bb3
JM
34597 * manual/filesys.texi (mode_t): Describe constraints on size and
34598 signedness, not exact equivalence to a particular type.
34599 (ino_t): Likewise.
34600 (ino64_t): Likewise.
34601 (dev_t): Likewise.
34602 (nlink_t): Likewise.
34603 (blkcnt_t): Likewise.
34604 (blkcnt64_t): Likewise.
34605 * manual/llio.texi (off_t): Likewise.
34606
28afd92d
JM
34607 [BZ #3976]
34608 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34609 (__ieee754_exp): Save and restore rounding mode and use
34610 round-to-nearest for all computations.
34611 * math/libm-test.inc (exp_test_tonearest): New function.
34612 (exp_test_towardzero): Likewise.
34613 (exp_test_downward): Likewise.
34614 (exp_test_upward): Likewise.
34615 (main): Call the new functions.
34616 * sysdeps/i386/fpu/libm-test-ulps: Update.
34617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34618
b1eeb65d
CD
346192012-03-01 Chris Demetriou <cgd@google.com>
34620
34621 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34622 have predictable order.
34623
53362a4b
DM
346242012-03-01 David S. Miller <davem@davemloft.net>
34625
3c969083
DM
34626 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34627
759707de
DM
34628 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34629 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34630 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34631 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34632
dfdb8ff2
DM
34633 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34634 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34635 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34637 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34638 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34639 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34640 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34641 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34642
ead89f96
DM
34643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34644
7f66bd07
DM
34645 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34646 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34648
53362a4b
DM
34649 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34650 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34651 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34652 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34653 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34654 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34655 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34656 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34657 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34658 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34659 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34660 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34662 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34663 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34665 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34666 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34667 * sysdeps/sparc/elf/configure: Regenerated.
34668
7b1902cb
JM
346692012-03-01 Joseph Myers <joseph@codesourcery.com>
34670
bec039bc
JM
34671 * configure.in (AS, LD): Require binutils 2.20 or later.
34672 * configure: Regenerated.
34673 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34674 as required minimum version.
34675 * INSTALL: Regenerated.
34676
7b1902cb
JM
34677 [BZ #2541]
34678 [BZ #4108]
34679 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34680 before squaring exponent.
34681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34682 bottom long double and 27 bits of top long double before squaring
34683 exponent.
34684 * math/libm-test.inc (erfc_test): Add more tests.
34685 * sysdeps/i386/fpu/libm-test-ulps: Update.
34686 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34688
f775c276
KT
346892012-03-01 Kai Tietz <ktietz@redhat.com>
34690
34691 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34692 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34693 containing bit-fields.
34694 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34695 * soft-fp/single.h (_FP_UNION_S): Likewise.
34696 * soft-fp/double.h (_FP_UNION_D): Likewise.
34697
5b8a4d4a
JM
346982012-02-29 Joseph Myers <joseph@codesourcery.com>
34699
0bab47b6
JM
34700 [BZ #13786]
34701 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34702 not include ../strcmp.S.
34703 [USE_AS_STRNCASECMP_L]: Likewise.
34704 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34705 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34706 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34707 (__strncasecmp_l_ia32): Define as alias to
34708 __strncasecmp_l_nonascii.
34709
0fcad3e2
JM
34710 [BZ #5794]
34711 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34712 * sysdeps/i386/fpu/libm-test-ulps: Update.
34713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34714
5b8a4d4a
JM
34715 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34717
8fdceb2e
JL
347182012-02-29 Jeff Law <law@redhat.com>
34719
34720 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34721 out of bounds read.
34722
1f393a11
MP
347232012-02-29 Marek Polacek <polacek@redhat.com>
34724
34725 [BZ #13706]
34726 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34727 * elf/Makefile: Add rules to run tst-unused-dep.out.
34728
8847f037
DM
347292012-02-28 David S. Miller <davem@davemloft.net>
34730
34731 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34732 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34734 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34735 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34736 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34737
169d7f11
JM
347382012-02-29 Joseph Myers <joseph@codesourcery.com>
34739
34740 * math/libm-test.inc (llround_test): Move one test from
34741 lround_test. Use TEST_f_L in moved test.
34742 (lround_test): Move misplaced test to llround_test. Add testcase
34743 from bug 2561.
34744
39adf059
UD
347452012-02-28 Ulrich Drepper <drepper@gmail.com>
34746
34747 * sysdeps/x86_64/fpu/e_expf.S: New file.
34748 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34749
71b5d1c5
SB
347502012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34751
34752 [BZ #13637]
34753 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34754 of remain_len that may cause incomplete multi-byte character and
34755 false match.
34756 * posix/bug-regex33.c: New file.
34757 * posix/Makefile (tests): Add bug-regex33.
34758
1f77f049
JM
347592012-02-28 Joseph Myers <joseph@codesourcery.com>
34760
34761 * manual/macros.texi: New file.
34762 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34763 * manual/libc.texinfo: Include macros.texi.
34764 * manual/creatute.texi: Likewise.
34765 * manual/install.texi: Likewise.
34766 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34767 @glibcadj{} in references to the GNU C Library.
34768 * manual/charset.texi: Likewise.
34769 * manual/conf.texi: Likewise.
34770 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34771 when not using those macros.
34772 * manual/creature.texi: Likewise.
34773 * manual/crypt.texi: Likewise.
34774 * manual/errno.texi: Likewise.
34775 * manual/filesys.texi: Likewise.
34776 * manual/header.texi: Likewise.
34777 * manual/install.texi: Likewise.
34778 * manual/intro.texi: Likewise.
34779 * manual/io.texi: Likewise.
34780 * manual/job.texi: Likewise.
34781 * manual/lang.texi: Likewise.
34782 * manual/libc.texiinfo: Likewise.
34783 * manual/llio.texi: Likewise.
34784 * manual/locale.texi: Likewise.
34785 * manual/maint.texi: Likewise.
34786 * manual/math.texi: Likewise.
34787 * manual/memory.texi: Likewise.
34788 * manual/message.texi: Likewise.
34789 * manual/nss.texi: Likewise.
34790 * manual/pattern.texi: Likewise.
34791 * manual/process.texi: Likewise.
34792 * manual/resource.texi: Likewise.
34793 * manual/search.texi: Likewise.
34794 * manual/setjmp.texi: Likewise.
34795 * manual/signal.texi: Likewise.
34796 * manual/socket.texi: Likewise.
34797 * manual/startup.texi: Likewise.
34798 * manual/stdio.texi: Likewise.
34799 * manual/string.texi: Likewise.
34800 * manual/sysinfo.texi: Likewise.
34801 * manual/syslog.texi: Likewise.
34802 * manual/terminal.texi: Likewise.
34803 * manual/time.texi: Likewise.
34804 * manual/users.texi: Likewise.
34805 * INSTALL: Regenerated.
34806 * NOTES: Regenerated.
d40c5d54 34807 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34808
450bf206
AS
348092012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34810
34811 * include/dirent.h: Include <dirstream.h> before
34812 <dirent/dirent.h>.
34813
741a235b
DM
348142012-02-28 David S. Miller <davem@davemloft.net>
34815
34816 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34817 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34818 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34819 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34820
d6b5aa58
DM
348212012-02-27 David S. Miller <davem@davemloft.net>
34822
1aff59a3
DM
34823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34825 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34826 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34827
d6b5aa58
DM
34828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34829 frame pointer instead of stack pointer relative arg slot.
34830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34831 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34832 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34833
433f48bf
CD
348342012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34835
34836 [BZ #3992]
34837 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34838
d674b76d
DM
348392012-02-27 David S. Miller <davem@davemloft.net>
34840
34841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34847 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34848 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34849
0e7727f7
JM
348502012-02-27 Joseph Myers <joseph@codesourcery.com>
34851
34852 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34853 later. Allow versions 5-9.
43be4ca2 34854 * configure: Regenerated.
0e7727f7
JM
34855 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34856 required minimum version and 4.6 as recommended version. Do not
34857 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34858 * INSTALL: Regenerated.
0e7727f7 34859
a78bc654
DM
348602012-02-27 David S. Miller <davem@davemloft.net>
34861
428d5830
DM
34862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34866 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34867 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34868 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34869 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34870
a78bc654
DM
34871 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34872 manipulate bits before adding and subtracting TWO112[sx].
34873 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34874
4579f81c
RM
348752012-02-27 Roland McGrath <roland@hack.frob.com>
34876
36c8acb4
RM
34877 [BZ #13775]
34878 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34879 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34880 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34881 being in POSIX, because they are in 1003.1-2008.
34882
84ad622b
RM
34883 * rt/tst-aio.c: Include <fcntl.h>.
34884 * rt/tst-aio7.c: Likewise.
34885 * rt/tst-aio64.c: Likewise.
34886
4579f81c
RM
34887 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34888
abd923db
JM
348892012-02-27 Joseph Myers <joseph@codesourcery.com>
34890
34891 * manual/install.texi (--with-headers): Describe headers as
34892 interface headers, not private headers.
34893 (Specific advice for GNU/Linux systems): Describe use of headers
34894 from "make headers_install", not private headers from older
34895 kernels.
43be4ca2 34896 * INSTALL: Regenerated.
abd923db
JM
34897 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34898 Change to 2.6.19.
34899 * sysdeps/unix/sysv/linux/configure: Regenerated.
34900
6664049b
JM
34901 * manual/llio.texi (fclean): Remove documentation.
34902
bb8b6697
JM
34903 * manual/Makefile (libc-texi-generated): New variable. Include
34904 version.texi.
34905 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34906 $(libc-texi-generated), not duplicated list of files.
34907 (version.texi, stamp-version): New rules.
34908 (realclean): Remove $(libc-texi-generated), not individual files
34909 from that list. Do not remove dir-add.texinfo.
34910 * manual/libc.texinfo: Comment out uses of edition numbers and
34911 references to printed manual. Remove last-updated dates.
34912 (EDITION): Comment out.
34913 (ISBN): Likewise.
34914 (VERSION, UPDATED): Remove.
34915 (version.texi): Include.
34916
12e5c3b9
AS
349172012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34918
34919 * sysdeps/posix/spawni.c: Include <signal.h>.
34920 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34921 * sysdeps/pthread/aio_fsync.c: Likewise.
34922
4efeffc1 349232012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34924
ba63ba08
UD
34925 * conform/Makefile (tests): Run only when not cross-compiling and
34926 when fast-check is not defined.
34927
d94a4670
UD
34928 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34929 * conform/data/limits.h-data: Fixes for POSIX2008.
34930 * conform/run-conformtest.sh: Run all tests.
34931 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34932 headers.
34933 * include/bits/dlfcn.h: Likewise.
34934 * include/langinfo.h: Likewise.
34935 * include/monetary.h: Likewise.
34936 * include/sys/poll.h: Likewise.
34937
34938 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34939 for __USE_GNU.
34940 * posix/spawn.h: Define __need_sigset_t.
34941 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34942 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34943 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34944 to get sigevent_t only.
34945 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34946 only for __USE_GNU.
34947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34948 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34949 process_vm_writev only for __USE_GNU.
34950 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34951
34952 * conform/Makefile: For now ignore errors from run-conformtest.
34953 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34954 POSIX to avoid namespace pollution. Don't prepend headers.
34955 * conform/data/aio.h-data: Fixes for POSIX testing.
34956 * conform/data/fcntl.h-data: Likewise.
34957 * conform/data/glob.h-data: Likewise.
34958 * conform/data/grp.h-data: Likewise.
34959 * conform/data/pthread.h-data: Likewise.
34960 * conform/data/pwd.h-data: Likewise.
34961 * conform/data/signal.h-data: Likewise.
34962 * conform/data/spawn.h-data: Likewise.
34963 * conform/data/stdio.h-data: Likewise.
34964 * conform/data/stdlib.h-data: Likewise.
34965 * conform/data/stropts.h-data: Likewise.
34966 * conform/data/sys/mman.h-data: Likewise.
34967 * conform/data/sys/stat.h-data: Likewise.
34968 * conform/data/sys/types.h-data: Likewise.
34969 * conform/data/sys/wait.h-data: Likewise.
34970 * conform/data/time.h-data: Likewise.
34971 * conform/data/unistd.h-data: Likewise.
34972 * conform/data/utime.h-data: Likewise.
34973
34974 * io/sys/stat.h: fchmod was always in POSIX.
34975 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34976 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34977 * rt/aio.h: Define __need_timespec before including <time.h>.
34978 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34979 struct. Add forward declaration of pthread_attr_t and use it in
34980 sigevent.
34981 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34982 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34983 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34984 always remove CLK_TCK definition.
34985
c20105c3
AS
349862012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34987
34988 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34989
7a270350
UD
349902012-02-25 Ulrich Drepper <drepper@gmail.com>
34991
31341567
UD
34992 * conform/run-conformtest.sh: New file.
34993 * conform/Makefile: Run run-conformtest for tests.
34994 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34995 support.
34996
34997 * conform/data/uchar.h-data: New file.
34998 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34999 * conform/data/arpa/inet.h-data: Likewise.
35000 * conform/data/assert.h-data: Likewise.
35001 * conform/data/complex.h-data: Likewise.
35002 * conform/data/cpio.h-data: Likewise.
35003 * conform/data/ctype.h-data: Likewise.
35004 * conform/data/dirent.h-data: Likewise.
35005 * conform/data/dlfcn.h-data: Likewise.
35006 * conform/data/errno.h-data: Likewise.
35007 * conform/data/fcntl.h-data: Likewise.
35008 * conform/data/float.h-data: Likewise.
35009 * conform/data/fmtmsg.h-data: Likewise.
35010 * conform/data/fnmatch.h-data: Likewise.
35011 * conform/data/ftw.h-data: Likewise.
35012 * conform/data/glob.h-data: Likewise.
35013 * conform/data/grp.h-data: Likewise.
35014 * conform/data/iconv.h-data: Likewise.
35015 * conform/data/inttypes.h-data: Likewise.
35016 * conform/data/langinfo.h-data: Likewise.
35017 * conform/data/libgen.h-data: Likewise.
35018 * conform/data/limits.h-data: Likewise.
35019 * conform/data/locale.h-data: Likewise.
35020 * conform/data/math.h-data: Likewise.
35021 * conform/data/monetary.h-data: Likewise.
35022 * conform/data/mqueue.h-data: Likewise.
35023 * conform/data/ndbm.h-data: Likewise.
35024 * conform/data/net/if.h-data: Likewise.
35025 * conform/data/netdb.h-data: Likewise.
35026 * conform/data/netinet/in.h-data: Likewise.
35027 * conform/data/nl_types.h-data: Likewise.
35028 * conform/data/poll.h-data: Likewise.
35029 * conform/data/pthread.h-data: Likewise.
35030 * conform/data/pwd.h-data: Likewise.
35031 * conform/data/regex.h-data: Likewise.
35032 * conform/data/sched.h-data: Likewise.
35033 * conform/data/search.h-data: Likewise.
35034 * conform/data/semaphore.h-data: Likewise.
35035 * conform/data/setjmp.h-data: Likewise.
35036 * conform/data/signal.h-data: Likewise.
35037 * conform/data/spawn.h-data: Likewise.
35038 * conform/data/stdarg.h-data: Likewise.
35039 * conform/data/stdio.h-data: Likewise.
35040 * conform/data/stdlib.h-data: Likewise.
35041 * conform/data/string.h-data: Likewise.
35042 * conform/data/strings.h-data: Likewise.
35043 * conform/data/stropts.h-data: Likewise.
35044 * conform/data/sys/ipc.h-data: Likewise.
35045 * conform/data/sys/mman.h-data: Likewise.
35046 * conform/data/sys/msg.h-data: Likewise.
35047 * conform/data/sys/resource.h-data: Likewise.
35048 * conform/data/sys/select.h-data: Likewise.
35049 * conform/data/sys/sem.h-data: Likewise.
35050 * conform/data/sys/shm.h-data: Likewise.
35051 * conform/data/sys/socket.h-data: Likewise.
35052 * conform/data/sys/stat.h-data: Likewise.
35053 * conform/data/sys/statvfs.h-data: Likewise.
35054 * conform/data/sys/time.h-data: Likewise.
35055 * conform/data/sys/timeb.h-data: Likewise.
35056 * conform/data/sys/times.h-data: Likewise.
35057 * conform/data/sys/types.h-data: Likewise.
35058 * conform/data/sys/uio.h-data: Likewise.
35059 * conform/data/sys/un.h-data: Likewise.
35060 * conform/data/sys/utsname.h-data: Likewise.
35061 * conform/data/sys/wait.h-data: Likewise.
35062 * conform/data/syslog.h-data: Likewise.
35063 * conform/data/tar.h-data: Likewise.
35064 * conform/data/termios.h-data: Likewise.
35065 * conform/data/utime.h-data: Likewise.
35066 * conform/data/utmpx.h-data: Likewise.
35067 * conform/data/varargs.h-data: Likewise.
35068 * conform/data/wchar.h-data: Likewise.
35069 * conform/data/wctype.h-data: Likewise.
35070 * conform/data/wordexp.h-data: Likewise.
35071
35072 * include/stropts.h: New file.
35073 * include/uchar.h: New file.
35074 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35075 * include/assert.h: Likewise.
35076 * include/ctype.h: Likewise.
35077 * include/dirent.h: Likewise.
35078 * include/dlfcn.h: Likewise.
35079 * include/fcntl.h: Likewise.
35080 * include/fnmatch.h: Likewise.
35081 * include/glob.h: Likewise.
35082 * include/grp.h: Likewise.
35083 * include/libio.h: Likewise.
35084 * include/locale.h: Likewise.
35085 * include/math.h: Likewise.
35086 * include/net/if.h: Likewise.
35087 * include/netdb.h: Likewise.
35088 * include/netinet/in.h: Likewise.
35089 * include/pthread.h: Likewise.
35090 * include/pwd.h: Likewise.
35091 * include/regex.h: Likewise.
35092 * include/sched.h: Likewise.
35093 * include/search.h: Likewise.
35094 * include/setjmp.h: Likewise.
35095 * include/signal.h: Likewise.
35096 * include/stdio.h: Likewise.
35097 * include/stdlib.h: Likewise.
35098 * include/string.h: Likewise.
35099 * include/sys/cdefs.h: Likewise.
35100 * include/sys/mman.h: Likewise.
35101 * include/sys/msg.h: Likewise.
35102 * include/sys/resource.h: Likewise.
35103 * include/sys/select.h: Likewise.
35104 * include/sys/socket.h: Likewise.
35105 * include/sys/stat.h: Likewise.
35106 * include/sys/statvfs.h: Likewise.
35107 * include/sys/time.h: Likewise.
35108 * include/sys/times.h: Likewise.
35109 * include/sys/uio.h: Likewise.
35110 * include/sys/utsname.h: Likewise.
35111 * include/sys/wait.h: Likewise.
35112 * include/termios.h: Likewise.
35113 * include/time.h: Likewise.
35114 * include/ulimit.h: Likewise.
35115 * include/unistd.h: Likewise.
35116 * include/utime.h: Likewise.
35117 * include/wchar.h: Likewise.
35118 * include/wctype.h: Likewise.
35119 * include/wordexp.h: Likewise.
35120
35121 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35122
7a270350
UD
35123 * time/time.h: TIME_UTC must be a macro.
35124 Make timespec_get available for ISO C11 only as well.
35125
7724defc
UD
351262012-02-24 Ulrich Drepper <drepper@gmail.com>
35127
35128 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35129 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35130
6b1d1d46
JM
351312012-02-24 Joseph Myers <joseph@codesourcery.com>
35132
35133 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 35134
0f8bbd69
JM
351352012-02-24 Joseph Myers <joseph@codesourcery.com>
35136
35137 * manual/texinfo.tex: Update to version 2012-01-19.16.
35138
66ab80bc
JM
351392012-02-24 Joseph Myers <joseph@codesourcery.com>
35140
35141 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35142
74981cc5
RM
351432012-02-24 Roland McGrath <roland@hack.frob.com>
35144
ee968201
RM
35145 [BZ #13738]
35146 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35147 * manual/fdl-1.3.texi: New file.
35148 * manual/fdl-1.1.texi: File removed.
35149
74981cc5
RM
35150 [BZ #13738]
35151 * manual/libc.texinfo (FDL_VERSION): New @set.
35152 Use it for mention of FDL in cover text.
35153 (Documentation License): Use it in @include file name.
35154
7bb764bc
JM
351552012-02-22 Joseph Myers <joseph@codesourcery.com>
35156 Roland McGrath <roland@hack.frob.com>
35157
35158 [BZ #5461]
57f41c40
AS
35159 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35160 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35161 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35162 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35163 name.
35164 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35165
6cbeae47
JM
351662012-02-22 Joseph Myers <joseph@codesourcery.com>
35167
35168 [BZ #2547]
35169 [BZ #11365]
35170 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35171 manipulate bits before adding and subtracting TWO23[sx].
35172 * math/libm-test.inc (nearbyint_test): Add more tests.
35173
fe45ce09
JM
351742012-02-22 Joseph Myers <joseph@codesourcery.com>
35175
35176 [BZ #2548]
35177 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35178 bits before adding and subtracting TWO23[sx].
35179 * math/libm-test.inc (rint_test): Add more tests.
35180 (rint_test_tonearest): Likewise.
35181 (rint_test_towardzero): Likewise.
35182 (rint_test_downward): Likewise.
35183 (rint_test_upward: Likewise.
35184
ff3b3d82
JM
351852012-02-22 Joseph Myers <joseph@codesourcery.com>
35186
35187 [BZ #10110]
35188 * include/stdc-predef.h: New file. Extracted from features.h.
35189 * include/features.h: Include stdc-predef.h.
35190 * Makefile (headers): Add stdc-predef.h.
35191 * CONFORMANCE (Compiler limitations): Update.
35192
ef0aab35
JM
351932012-02-22 Joseph Myers <joseph@codesourcery.com>
35194
35195 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35196
58639409
DM
351972012-02-21 David S. Miller <davem@davemloft.net>
35198
35199 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35200 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35201
c0e70b25
DM
352022012-02-20 David S. Miller <davem@davemloft.net>
35203
35204 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35205 using a normal save/restore sequence, rather than allocating a
35206 dummy stack frame just to store a frame pointer and restore.
35207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35208
fb06851d
JM
352092012-02-21 Joseph Myers <joseph@codesourcery.com>
35210
35211 * manual/install.texi: Fix stray word in line-wrapped comment.
35212
7a8b71c3
DM
352132012-02-20 David S. Miller <davem@davemloft.net>
35214
d510c123
DM
35215 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35216 both binutils and gcc support GOTDATA.
35217
0722d7c2
DM
35218 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35219 "rd %pc" in the PIC register setup sequences.
35220
3d2b3019
DM
35221 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35222 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35223 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35224 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35225 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35227 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35230 (SYSCALL_ERROR_HANDLER): Likewise.
35231 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35232 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35234 (SYSCALL_ERROR_HANDLER): Likewise.
35235
c80098a9
DM
35236 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35237 (HAVE_GCC_GOTDATA): New.
35238 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35239 relocation support in both binutils and gcc.
35240 * sysdeps/sparc/elf/configure: Regenerate.
35241
3a2545a0
DM
35242 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35243 * sysdeps/sparc/sparc32/elf/configure: Delete.
35244 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35245 * sysdeps/sparc/sparc64/elf/configure: Delete.
35246 * sysdeps/sparc/elf/configure.in: New file.
35247 * sysdeps/sparc/elf/configure: Generate.
35248
7a8b71c3
DM
35249 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35250 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35251 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35252 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35253 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35254
f1e86fca
JM
352552012-02-21 Joseph Myers <joseph@codesourcery.com>
35256
35257 * manual/install.texi: Do not mention specific glibc version
35258 numbers.
35259 * manual/libc.texinfo (VERSION, UPDATED): Update.
35260 (@copying): Use @copyright{} and range of years.
35261
0e7dfaef
JM
352622012-02-21 Joseph Myers <joseph@codesourcery.com>
35263
35264 [BZ #13695]
35265 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35266 [crti.S not in sysdirs] (generated): Do not append.
35267 [crti.S not in sysdirs] (omit-deps): Likewise.
35268 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35269 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35270 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35271 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35272 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35273 Likewise.
35274 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35275 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35276 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35277 * csu/defs.awk: Remove file.
35278 * sysdeps/generic/initfini.c: Likewise.
35279 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35280 variable.
35281 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35282 Likewise.
35283
599af3ca
JM
352842012-02-20 Joseph Myers <joseph@codesourcery.com>
35285
35286 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35287 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35288 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35290 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35291 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35292 <bits/epoll.h>.
35293 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35294 (__EPOLL_PACKED): Define to empty if not defined by
35295 <bits/epoll.h>.
35296 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35298 bits/epoll.h.
35299
0e499750
JM
353002012-02-20 Joseph Myers <joseph@codesourcery.com>
35301
35302 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35303 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35304 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35305 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35306 <bits/timerfd.h>.
35307 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35309 bits/timerfd.h.
35310
5ad91f6e
JM
353112012-02-20 Joseph Myers <joseph@codesourcery.com>
35312
35313 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35314 in C locale.
35315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35316 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35319
06b99b02
AJ
353202012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35321
35322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35323 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35324
7638c0fd
AS
353252012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35326
35327 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35328 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35329 defined.
35330 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35331 Likewise.
35332 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35333 entry for 2.16.
35334
92221550
AJ
353352012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35336
35337 * math/w_acos.c: Use non-signaling floating-point comparisons.
35338 * math/w_acosf.c: Likewise.
35339 * math/w_acosh.c: Likewise.
35340 * math/w_acoshf.c: Likewise.
35341 * math/w_acoshl.c: Likewise.
35342 * math/w_acosl.c: Likewise.
35343 * math/w_asin.c: Likewise.
35344 * math/w_asinf.c: Likewise.
35345 * math/w_asinl.c: Likewise.
35346 * math/w_atanh.c: Likewise.
35347 * math/w_atanhf.c: Likewise.
35348 * math/w_atanhl.c: Likewise.
35349 * math/w_exp2.c: Likewise.
35350 * math/w_exp2f.c: Likewise.
35351 * math/w_exp2l.c: Likewise.
35352 * math/w_j0.c: Likewise.
35353 * math/w_j0f.c: Likewise.
35354 * math/w_j0l.c: Likewise.
35355 * math/w_j1.c: Likewise.
35356 * math/w_j1f.c: Likewise.
35357 * math/w_j1l.c: Likewise.
35358 * math/w_jn.c: Likewise.
35359 * math/w_jnf.c: Likewise.
35360 * math/w_log.c: Likewise.
35361 * math/w_log10.c: Likewise.
35362 * math/w_log10f.c: Likewise.
35363 * math/w_log10l.c: Likewise.
35364 * math/w_log2.c: Likewise.
35365 * math/w_log2f.c: Likewise.
35366 * math/w_log2l.c: Likewise.
35367 * math/w_logf.c: Likewise.
35368 * math/w_logl.c: Likewise.
35369 * math/w_sqrt.c: Likewise.
35370 * math/w_sqrtf.c: Likewise.
35371 * math/w_sqrtl.c: Likewise.
35372 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35373 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35374 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35375 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35376 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35377
ebaf36eb
JM
353782012-02-19 Joseph Myers <joseph@codesourcery.com>
35379
35380 [BZ #9739]
35381 * manual/string.texi (strnlen): Use correct parameter name in
35382 equivalent expression.
35383
71c254a6
JM
353842012-02-19 Joseph Myers <joseph@codesourcery.com>
35385
35386 [BZ #11174]
35387 * manual/users.texi (seteuid): Consistently use neweuid for
35388 argument name.
35389
16d2c631
JM
353902012-02-19 Joseph Myers <joseph@codesourcery.com>
35391
35392 [BZ #13704]
35393 * manual/nss.texi (Services in the NSS configuration): Correct
35394 list of services in example configuration file.
35395
cd837b09
NB
353962012-02-19 Nick Bowler <nbowler@draconx.ca>
35397
35398 [BZ #11322]
35399 * manual/arith.texi: Remove statements about negative zero
35400 behaving identically to zero.
35401
02c4bbad
JM
354022012-02-18 Joseph Myers <joseph@codesourcery.com>
35403
35404 [BZ #5993]
35405 * manual/install.texi: Do not document upgrading from libc5.
35406
366842e7
JM
354072012-02-18 Joseph Myers <joseph@codesourcery.com>
35408
35409 [BZ #4596]
35410 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35411
dd54084d
DM
354122012-02-18 David S. Miller <davem@davemloft.net>
35413
35414 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35415 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35416 %o7 across the call.
35417 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35418 instead.
35419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35420 SETUP_PIC_REG_LEAF.
35421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35422 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35423 * sysdeps/sparc/crtn.S: Likewise.
35424
2bcc53a3
UD
354252012-02-17 Ulrich Drepper <drepper@gmail.com>
35426
35427 * aout/Makefile: Remove.
35428
09c093b5
RK
354292012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35430
35431 [BZ #13058]
35432 * manual/examples/argp-ex1.c (main): Format definition in GNU
35433 style.
35434 * manual/examples/argp-ex2.c (main): Likewise.
35435 * manual/examples/argp-ex3.c (main): Likewise.
35436 * manual/examples/argp-ex4.c (main): Likewise.
35437 * manual/examples/longopt.c (main): Use new-style prototype
35438 definition.
35439 * manual/examples/strncat.c (main): Specify return type and use
35440 (void) for arguments.
35441 * manual/examples/subopt.c (main): Use char **argv argument.
35442
2ee633a2
JM
354432012-02-17 Joseph Myers <joseph@codesourcery.com>
35444
35445 [BZ #5077]
35446 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35447 rounding modes.
35448
0520adde
FB
354492012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35450
35451 [BZ #6907]
35452 * manual/string.texi (strchr): Change when strchrnul is
35453 recommended.
35454
3f4081cd
DGM
354552012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35456
35457 [BZ #174]
35458 * manual/locale.texi (setlocale): Document LOCPATH.
35459
d1b10e78
JM
354602012-02-17 Joseph Myers <joseph@codesourcery.com>
35461
35462 [BZ #10210]
35463 * manual/process.texi (execle): Move @dots{} before last argument.
35464
79c6869c
PB
354652012-02-17 Paul Bolle <pebolle@tiscali.nl>
35466
35467 [BZ #12047]
35468 * manual/charset.texi (Generic Charset Conversion): Fix typo
35469 (LC_TYPE -> LC_CTYPE).
35470
cc6e48bc
NB
354712012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35472
35473 [BZ #5805]
35474 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35475 (scalbnf): Likewise.
35476 (scalbnl): Likewise.
35477 (scalbln): Likewise.
35478 (scalblnf): Likewise.
35479 (scalblnl): Likewise.
35480 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35481 (vwarnx): Likewise.
35482 (verr): Likewise.
35483 (verrx): Likewise.
35484 * manual/filesys.texi (telldir): Use braces around return type.
35485 * manual/llio.texi (mmap): Add space after comma.
35486 (mmap64): Likewise.
35487 * manual/math.texi (jn): Use @var{} on parameter names.
35488 (jnf): Likewise.
35489 (jnl): Likewise.
35490 (yn): Likewise.
35491 (ynf): Likewise.
35492 (ynl): Likewise.
35493 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35494 line.
35495 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35496 "...".
35497 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35498 (sched_get_priority_max): Likewise.
35499 * manual/signal.texi (sigvec): Add space after comma.
35500 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35501 names.
35502 (if_indextoname): Likewise.
35503 (if_freenameindex): Likewise.
35504 (sendto): Use ',' instead of '.' in prototype.
35505 * manual/startup.texi (syscall): Use @dots{} instead of literal
35506 "...".
35507 * manual/stdio.texi (__fpending): Separate initial words of
35508 paragraph from @deftypefun line.
35509 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35510 "...".
35511 (vsyslog): Use @var{} on parameter names.
35512 * manual/terminal.texi (stty): Use @var{} on parameter names.
35513 * manual/users.texi (getutmp): Use @var{} on parameter names.
35514 (getutmpx): Likewise.
35515
5b23062f
JM
355162012-02-17 Joseph Myers <joseph@codesourcery.com>
35517
35518 [BZ #6884]
35519 * manual/stdio.texi (fopen): Fix typos in description of
35520 ",ccs=STRING".
35521
8dee4833
AJ
355222012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35523
35524 [BZ #4026]
35525 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35526 get clock_id definition.
35527
9078ce93
TS
355282012-02-17 Thomas Schwinge <thomas@schwinge.name>
35529
35530 [BZ #4822]
35531 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35532 (madvise): Cast every argument to void on its own.
35533
3835c55f
JM
355342012-02-17 Joseph Myers <joseph@codesourcery.com>
35535
35536 [BZ #9902]
35537 * manual/startup.texi (Exit Status): Fix typo.
35538
35c47e37
JM
355392012-02-17 Joseph Myers <joseph@codesourcery.com>
35540
35541 [BZ #10140]
35542 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35543 * manual/examples/argp-ex2.c: Likewise.
35544 * manual/examples/argp-ex3.c: Likewise.
35545
e3b69ca7
RH
355462012-02-16 Richard Henderson <rth@redhat.com>
35547
35548 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35549 * sysdeps/s390/s390-32/initfini.c: Remove.
35550 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35551 * sysdeps/s390/s390-64/initfini.c: Remove.
35552
df83af67
KK
355532012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35554
35555 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35556 compiler output for sysdeps/generic/initfini.c.
35557 * sysdeps/sh/elf/initfini.c: Remove file.
35558
f63f3380
DM
355592012-02-16 David S. Miller <davem@davemloft.net>
35560
fb59b3a4
DM
35561 [BZ #11494]
35562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35563
f63f3380
DM
35564 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35565 * sysdeps/sparc/crti.S: New file.
35566 * sysdeps/sparc/crtn.S: New file.
35567 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35568 * sysdeps/sparc/sparc64/Makefile: Likewise.
35569
df6a4a4a
MF
355702012-02-15 Mike Frysinger <vapier@gentoo.org>
35571
6dd8f3dc 35572 [BZ #3335]
df6a4a4a
MF
35573 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35574
1cac7236
RM
355752012-02-15 Roland McGrath <roland@hack.frob.com>
35576
d2c736f8
RM
35577 [BZ #4822]
35578 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35579
1cac7236
RM
35580 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35581 (write, read, close): Likewise.
35582 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35583
8e475601
JM
355842012-02-15 Joseph Myers <joseph@codesourcery.com>
35585
35586 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35587 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35588 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35589 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35590 <bits/signalfd.h>.
35591 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35593 bits/signalfd.h.
35594
ed656b40
MP
355952012-02-14 Marek Polacek <polacek@redhat.com>
35596
35597 * sysdeps/x86_64/crti.S: New file.
35598 * sysdeps/x86_64/crtn.S: New file.
35599 * sysdeps/x86_64/elf/initfini.c: Remove file.
35600
2a979d3a
JM
356012012-02-13 Joseph Myers <joseph@codesourcery.com>
35602
35603 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35604 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35605 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35606 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35607 <bits/inotify.h>.
35608 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35610 bits/inotify.h.
35611
2a418ac3
JM
356122012-02-13 Joseph Myers <joseph@codesourcery.com>
35613
35614 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35615 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35616 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35617 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35618 <bits/eventfd.h>.
35619 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35621 bits/eventfd.h.
35622
fb779be7
TS
356232012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35624
e19e83c5
RM
35625 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35626 __feraiseexcept instead of feraiseexcept.
7c35ffed 35627
fb779be7
TS
35628 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35629 nanosleep invocations.
35630 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35631 strings, and add error checking for a nanosleep invocations.
35632
59ba27a6
PE
356332012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35634
35635 Replace FSF snail mail address with URLs, as per GNU coding standards.
35636 Most of the snail mail addresses were wrong anyway, and omitting
35637 them makes the source code easier to maintain. Almost all of the
35638 changes are to license notices and to locale LC_IDENTIFICATION
35639 addresses, except for this one:
35640 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35641 not its snail mail address.
35642
57b957eb
RH
356432012-02-09 Richard Henderson <rth@twiddle.net>
35644
af850b1c
RH
35645 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35646 of kernel-features.h.
35647
57b957eb
RH
35648 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35649
6b73181a
MP
356502012-02-08 Marek Polacek <polacek@redhat.com>
35651
35652 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35653 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35654 * sysdeps/gnu/_G_config.h: Likewise.
35655 * sysdeps/generic/_G_config.h: Likewise.
35656
26ecc33a
AS
356572012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35658
6c6dbc63
AS
35659 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35660 tests.
35661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35662
e216c012
AS
35663 * sysdeps/powerpc/powerpc32/crti.S: New file.
35664 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35665 * sysdeps/powerpc/powerpc64/crti.S: New file.
35666 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35667
26ecc33a
AS
35668 * Makeconfig (have-initfini): Don't set.
35669 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35670 * configure.in (nopic_initfini): Don't substitute.
35671 * config.h.in (HAVE_INITFINI): Don't #undef.
35672 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35673 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35674
3add8e13
JM
356752012-02-08 Joseph Myers <joseph@codesourcery.com>
35676
35677 Support crti.S and crtn.S provided directly by architectures.
35678 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35679 [crti.S in sysdirs] (omit-deps): Likewise.
35680 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35681 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35682 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35683 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35684 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35685 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35686 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35687 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35688 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35689 compiler output for sysdeps/generic/initfini.c.
35690 * sysdeps/i386/elf/Makefile: Remove file.
35691 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35692
a22f12b4
MP
356932012-02-07 Marek Polacek <polacek@redhat.com>
35694
35695 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35696 * sysdeps/gnu/_G_config.h: Likewise.
35697 * sysdeps/mach/hurd/_G_config.h: Likewise.
35698
148cf100
MP
356992012-02-07 Marek Polacek <polacek@redhat.com>
35700
35701 * math/Makefile (tests): Add tst-CMPLX2.
35702 * math/tst-CMPLX2.c: New file.
35703
cfdc0dd7
AS
357042012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35705
84ba42c4
AS
35706 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35707
cfdc0dd7
AS
35708 * math/libm-test.inc (jn_test): Add missing L suffix.
35709
622c86f4
MP
357102012-02-06 Marek Polacek <polacek@redhat.com>
35711
35712 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35713 * sysdeps/i386/fpu/e_powf.S: Likewise.
35714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35715 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35716 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35717 * sysdeps/i386/fpu/e_pow.S: Likewise.
35718 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35719 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35720 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35721 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35722 * sysdeps/i386/fpu/e_log2.S: Likewise.
35723 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35724 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35725 * sysdeps/i386/fpu/e_powl.S: Likewise.
35726 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35728 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35729 * sysdeps/i386/fpu/e_logl.S: Likewise.
35730 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35731 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35732 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35733 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35734 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35735 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35736 * sysdeps/i386/fpu/e_log.S: Likewise.
35737 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35739 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35740 * sysdeps/i386/fpu/e_logf.S: Likewise.
35741 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35742 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35743 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35744 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35745 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35746 * sysdeps/i386/fpu/e_log10.S: Likewise.
35747 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35748 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35749 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35750 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35751 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35752 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35753 * sysdeps/i386/asm-syntax.h: Likewise.
35754 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35755 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35756 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35757 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35758 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35759 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35760 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35761 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35762 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35763 * sysdeps/powerpc/sysdep.h: Likewise.
35764 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35766
d4a54ac6
JM
357672012-02-06 Joseph Myers <joseph@codesourcery.com>
35768
35769 [BZ #411]
35770 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35771
314054ea
JM
357722012-02-06 Joseph Myers <joseph@codesourcery.com>
35773
35774 * sysdeps/i386/sysdep.h: Include <features.h>.
35775 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35776 version.
35777
d8e0ca50
JM
357782012-02-05 Joseph Myers <joseph@codesourcery.com>
35779
35780 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35781 Define.
35782 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35783 LOAD_PIC_REG_STR.
35784
b1da7dd9
JM
357852012-02-03 Joseph Myers <joseph@codesourcery.com>
35786
35787 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35788 (SETUP_PIC_REG): Use GET_PC_THUNK.
35789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35790 macro.
35791
9a1d9254
JM
357922012-02-03 Joseph Myers <joseph@codesourcery.com>
35793
35794 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35795 for non-PIC compilation.
35796 (SETUP_PIC_REG): Add .p2align directive.
35797 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35798 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35799 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35800 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35801 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35802 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35803 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35804 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35805 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35806 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35807 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35808 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35809 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35810 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35811 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35812 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35813 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35814 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35815 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35816 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35817 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35818 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35819 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35820 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35821 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35823 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35825 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35826 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35827 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35828 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35829 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35830 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35831 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35832 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35833 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35834 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35835 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35836 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35837 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35838
65dc3b75
JM
358392012-02-03 Joseph Myers <joseph@codesourcery.com>
35840
35841 * math/tst-CMPLX.c: Include <stdio.h>.
35842
d55bf177
JM
358432012-01-31 Joseph Myers <joseph@codesourcery.com>
35844
35845 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35846 float.
35847 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35848 * sysdeps/sparc/bits/mathdef.h: Likewise.
35849
69db4f8f
MP
358502012-01-31 Marek Polacek <polacek@redhat.com>
35851
35852 * libio/libio.h: Don't define _PARAMS.
35853 * locale/programs/config.h: Don't define PARAMS.
35854 * stdlib/strtol_l.c: Likewise.
35855 (__strtol_l): Remove PARAMS from the prototype.
35856
41b81892
UD
358572012-01-31 Ulrich Drepper <drepper@gmail.com>
35858
3b49edc0
UD
35859 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35860 names. Just use the correct names. Remove unnecessary wrapper
35861 functions.
35862 * malloc/arena.c: Likewise.
35863 * malloc/hooks.c: Likewise.
35864
41b81892
UD
35865 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35866 ARENA_TEST says not to. Simplify test for creation of a new arena.
35867 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35868
27a25b6e
UD
358692012-01-30 Ulrich Drepper <drepper@gmail.com>
35870
35871 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35872 into tail calls.
35873 (update_get_addr): New function.
35874 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35875 GET_ADDR_MODULE parameter.
35876
c8a89e7d
JM
358772012-01-30 Joseph Myers <joseph@codesourcery.com>
35878
35879 * crypt/cert.c: Remove __STDC__ conditionals.
35880 * crypt/crypt-entry.c: Likewise.
35881 * crypt/crypt_util.c: Likewise.
35882 * libio/filedoalloc.c: Likewise.
35883 * libio/fileops.c: Likewise.
35884 * libio/genops.c: Likewise.
35885 * libio/iofclose.c: Likewise.
35886 * libio/iofdopen.c: Likewise.
35887 * libio/iofopen.c: Likewise.
35888 * libio/iofopen64.c: Likewise.
35889 * libio/iogetdelim.c: Likewise.
35890 * libio/iopopen.c: Likewise.
35891 * libio/obprintf.c: Likewise.
35892 * libio/oldfileops.c: Likewise.
35893 * libio/oldiofclose.c: Likewise.
35894 * libio/oldiofdopen.c: Likewise.
35895 * libio/oldiofopen.c: Likewise.
35896 * libio/oldiopopen.c: Likewise.
35897 * libio/wfiledoalloc.c: Likewise.
35898 * libio/wgenops.c: Likewise.
35899 * locale/programs/xmalloc.c: Likewise.
35900 * misc/syslog.c: Likewise.
35901 * stdio-common/xbug.c: Likewise.
35902 * string/memchr.c: Likewise.
35903 * string/memcmp.c: Likewise.
35904 * string/memrchr.c: Likewise.
35905 * string/rawmemchr.c: Likewise.
35906 * sysdeps/posix/getcwd.c: Likewise.
35907 * time/strftime_l.c: Likewise.
35908
3b100462
JM
359092012-01-30 Joseph Myers <joseph@codesourcery.com>
35910
35911 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35912 * config.make.in (config-cflags-sse2avx): Define.
35913 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35914 Fix typo.
35915
607998af
CM
359162012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35917
35918 * scripts/config.guess: Update from upstream config git repository.
35919 * scripts/config.sub: Likewise.
35920
3601428f
CM
359212012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35922
3ac8b282
CM
35923 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35924 (EM_NUM): Update.
35925 (R_TILEPRO_*, R_TILEGX_*): New macros.
35926
e034841e
CM
35927 * scripts/firstversions.awk: Fix bug in version range handling.
35928
540d7568
CM
35929 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35930
3601428f
CM
35931 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35932
463de862
CM
35933 * include/sys/epoll.h: New file.
35934 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35935 libc_hidden_def.
35936
73139a76
UD
359372012-01-28 Ulrich Drepper <drepper@gmail.com>
35938
96bc5b45
UD
35939 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35940 Avoid unnecessary __WORDSIZE == 64 test.
35941 (fmaxf): Use VEX format if possible.
35942 (fmax): Likewise.
35943 (fminf): Likewise.
35944 (fmin): Likewise.
35945
56f6f6a2
UD
35946 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35947 * math/math_private.h: Remove libc_fegetround* and
35948 libc_fesetround*.
35949 * sysdeps/i386/configure.in: Check for -msse2avx.
35950 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35951 also if SSE2AVX is defined.
35952 Remove libc_fegetround* and libc_fesetround*.
35953 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35954 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35956 of HAS_YMM_USABLE.
35957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35958 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35959 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35960 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35961 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35962
73139a76
UD
35963 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35964
d73f93a4
AZ
359652012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35966
35967 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35968 size is not set.
35969 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35970
6ee65ed6
UD
359712012-01-27 Ulrich Drepper <drepper@gmail.com>
35972
35973 [BZ #13618]
35974 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35975 relocation.
35976 * Makeconfig (libm): Define.
35977 * elf/Makefile: Add rules to build and run tst-relsort1.
35978 * elf/tst-relsort1.c: New file.
35979 * elf/tst-relsort1mod1.c: New file.
35980 * elf/tst-relsort1mod2.c: New file.
35981
8db21882
JM
359822012-01-27 Joseph Myers <joseph@codesourcery.com>
35983
35984 * math/s_ldexp.c: Remove __STDC__ conditionals.
35985 * math/s_ldexpf.c: Likewise.
35986 * math/s_ldexpl.c: Likewise.
35987 * math/s_nextafter.c: Likewise.
35988 * math/s_nexttowardf.c: Likewise.
35989 * math/s_significand.c: Likewise.
35990 * math/s_significandf.c: Likewise.
35991 * math/s_significandl.c: Likewise.
35992 * math/w_jnl.c: Likewise.
35993 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35994 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35995 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35996 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35997 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35999 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36002 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36003 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36005 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36006 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36007 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36008 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36009 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36012 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36013 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36014 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36015 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36016 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36017 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36018 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36019 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36020 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36021 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36022 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36023 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36024 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36025 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36026 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36027 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36028 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36029 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36030 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36031 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36032 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36033 * sysdeps/ieee754/k_standard.c: Likewise.
36034 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36035 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36036 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36037 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36038 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36039 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36041 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36042 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36043 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36044 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36045 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36046 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36047 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36048 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36051 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36052 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36053 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36054 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36055 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36056 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36058 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36059 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36063 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36064 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36065 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36066 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36067 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36068 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36069 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36070 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36073 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36074 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36076 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36077 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36079 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36080 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36081 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36082 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36083 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36084 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36085 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36086 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36087 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36088 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36089 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36090 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36091 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36092 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36093 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36094 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36095 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36096 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36097 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36098 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36099 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36100 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36101 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36102 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36103 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36104 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36105 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36106 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36107 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36108 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36109 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36110 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36111 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36112 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36113 * sysdeps/ieee754/s_matherr.c: Likewise.
36114 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36115 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36118
965a54a4
JM
361192012-01-26 Joseph Myers <joseph@codesourcery.com>
36120
36121 * crypt/md5.h: Remove __STDC__ conditionals.
36122 * libio/libioP.h: Likewise.
36123 * locale/programs/config.h: Likewise.
36124 * sysdeps/generic/sysdep.h: Likewise.
36125 * sysdeps/i386/asm-syntax.h: Likewise.
36126 * sysdeps/s390/asm-syntax.h: Likewise.
36127 * sysdeps/unix/sysdep.h: Likewise.
36128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36130
7071ad79
JM
361312012-01-26 Joseph Myers <joseph@codesourcery.com>
36132
36133 * libio/libio.h: Remove __STDC__ conditionals.
36134 * malloc/obstack.h: Likewise.
36135 * math/complex.h: Likewise.
36136 * math/math.h: Likewise.
36137 * sysdeps/generic/_G_config.h: Likewise.
36138 * sysdeps/gnu/_G_config.h: Likewise.
36139 * sysdeps/mach/hurd/_G_config.h: Likewise.
36140 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36141 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36142 * sysdeps/sparc/bits/mathdef.h: Likewise.
36143
afc5ed09
UD
361442012-01-26 Ulrich Drepper <drepper@gmail.com>
36145
36146 [BZ #13583]
36147 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36148 Clean up HAS_* macros.
afc5ed09 36149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36150 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36151 possible.
36152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36153 HAS_AVX.
36154 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36155 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36156 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36158 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36159
bdb6de1d
JM
361602012-01-25 Joseph Myers <joseph@codesourcery.com>
36161
36162 * elf/tst-unique3.cc (gets): Remove declaration.
36163 * elf/tst-unique3lib.cc (gets): Likewise.
36164 * elf/tst-unique3lib2.cc (gets): Likewise.
36165 * elf/tst-unique4.cc (gets): Likewise.
36166
b15549e6
UD
361672012-01-24 Ulrich Drepper <drepper@gmail.com>
36168
36169 * include/stdio.h: Add C++ protection. Add gets declarations and
36170 definitions.
36171 * debug/tst-chk1.c: Don't declare gets here.
36172 * stdio-common/tst-gets.c: Likewise.
36173
a037381f
JM
361742012-01-24 Joseph Myers <joseph@codesourcery.com>
36175
36176 * posix/glob: Remove directory.
36177
f1d4aa75
JM
361782012-01-24 Joseph Myers <joseph@codesourcery.com>
36179
36180 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36181
81c0c964
PT
361822012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36183
36184 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36185 of the non-standard EPFNOSUPPORT.
36186
0ea698ae
ST
361872011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36188
36189 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36190 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36191 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36192
d220b117
UD
361932012-01-21 Ulrich Drepper <drepper@gmail.com>
36194
36195 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36196
3e1aa84e
UD
361972012-01-20 Ulrich Drepper <drepper@gmail.com>
36198
36199 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36200 transient errors.
36201 * nscd/grpcache.c (cache_addgr): Likewise.
36202 * nscd/hstcache.c (cache_addhst): Likewise.
36203 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36204 * nscd/pwdcache.c (cache_addpw): Likewise.
36205 * nscd/servicescache.c (cache_addserv): Likewise.
36206
400aa020
UD
362072012-01-16 Ulrich Drepper <drepper@gmail.com>
36208
d77e7869
UD
36209 * malloc/malloc.c: Various cleanups.
36210 * malloc/hooks.c: Likewise.
36211
400aa020
UD
36212 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36213 * stdlib/bug-fmtmsg1.c: New file.
36214
36215 * stdlib/fmtmsg.c (init): Add missing unlock.
36216 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36217
e0a309cf
MP
362182012-01-12 Marek Polacek <polacek@redhat.com>
36219
36220 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36221 and _GNU_SOURCE.
36222
929d11c7
WS
362232012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36224
36225 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36226 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36227 macro to ensure uniqueness of label name.
36228 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36229 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36230
41d0e869
UD
362312012-01-11 Ulrich Drepper <drepper@gmail.com>
36232
0cc5ed3b
UD
36233 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36234
41d0e869
UD
36235 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36236 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36237 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36239
a47a831a
UD
362402012-01-10 Ulrich Drepper <drepper@gmail.com>
36241
daa891c0
UD
36242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36243
36244 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36245 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36247
e58ef0f2
UD
36248 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36249
a47a831a 36250 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36251 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36252 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36254
36255 * math/bits/math-finite.h: Add ldexp support.
36256
a0bfc9c7
MP
362572012-01-10 Marek Polacek <polacek@redhat.com>
36258
36259 * locale/programs/localedef.h (show_archive_content): Add noreturn
36260 attribute.
36261
d6e97a1d
UD
362622012-01-09 Ulrich Drepper <drepper@gmail.com>
36263
36264 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36265
d5835c26
UD
362662012-01-08 Ulrich Drepper <drepper@gmail.com>
36267
e5f484c6
UD
36268 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36269
d5835c26
UD
36270 * io/Makefile (headers): Add bits/poll2.h.
36271
d1f741e9
WS
362722011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36273
36274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36275 typo #include statement.
36276
ec09c1c4
UD
362772012-01-08 Ulrich Drepper <drepper@gmail.com>
36278
36279 * include/sys/cdefs.h: Define __attribute_alloc_size.
36280 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36281 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36282 * elf/pldd.c: Likewise.
36283 * iconv/iconv_charmap.c: Likewise.
36284 * iconv/iconvconfig.c: Likewise.
36285 * iconv/strtab.c: Likewise.
36286 * locale/programs/locale.c: Likewise.
36287 * locale/programs/localedef.h: Likewise.
36288 * locale/programs/simple-hash.c: Likewise.
36289 * nscd/nscd.h: Likewise.
36290 * nss/makedb.c: Likewise.
36291 * sysdeps/generic/ldconfig.h: Likewise.
36292 * locale/programs/localedef.c: Remove xmalloc prototype.
36293 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36294
20b38e03
PP
362952012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36296
36297 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36298 appropriate.
36299
a0da5fe1
UD
363002012-01-08 Ulrich Drepper <drepper@gmail.com>
36301
1d5a644a 36302 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36303 * math/tst-CMPLX.c: New file.
1d5a644a 36304
8784a6db
UD
36305 * math/complex.h (CMPLXL): Fix typo.
36306
d9a216c0
UD
36307 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36308 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36309 GLIBC_2.16.
36310 * debug/tst-chk1.c: Add poll and ppoll tests.
36311 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36312 * include/sys/poll.h: Add hidden proto for ppoll.
36313 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36314 * sysdeps/mach/hurd/ppoll.c: Likewise.
36315 * io/ppoll.c: Likewise.
36316 * debug/poll_chk.c: New file.
36317 * debug/ppoll_chk.c: New file.
36318 * include/bits/poll2.h: New file.
36319 * io/bits/poll2.h: New file.
36320
ac097f5c
UD
36321 [BZ #1350]
36322 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36323
2119dcfa
UD
36324 * configure.in: static is always set to yes. Remove.
36325 * config.make.in: Don't set build-static.
36326 * Makeconfig: Remove use of build-static.
36327 * dlfcn/Makefile: Likewise.
36328 * elf/Makefile: Likewise.
36329 * math/Makefile: Likewise.
36330 * misc/Makefile: Likewise.
36331 * nptl/Makefile: Likewise.
36332 * sysdeps/mach/hurd/Makefile: Likewise.
36333
121766a9
UD
36334 * configure.in: PWD_P is not used anymore.
36335 * config.make.in: Remove PWD_P entry.
36336
51a1d39c 36337 * configure.in: Remove last remnants of RANLIB.
8720d066 36338 No need to check for signed size_t anymore.
215f4bdc
UD
36339 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36340 and IA-64.
3857022a 36341 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36342 * aclocal.m4: Likewise.
36343
d3ed7225
UD
36344 * wcsmbs/mbrtoc16.c: Implement using towc function.
36345 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36346 * wcsmbs/wcsmbsload.c: Likewise.
36347 * iconv/gconv_simple.c: Likewise.
36348 * iconv/gconv_int.h: Likewise.
36349 * iconv/gconv_builtin.h: Likewise.
36350 * iconv/iconv_prog.c: Remove CHAR16 handling.
36351
36352 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36353
36354 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36355
a0da5fe1
UD
36356 * configure.in: Remove --with-elf and --enable-bounded options.
36357 Dont set base_machine for ia64. More non-ELF conditions removed.
36358 Remove testing and setting of leading underscore information.
36359 * config.make.in (build-bounded): Set to no.
36360 * config.h.in: Remove NO_UNDERSCORES entry.
36361 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36362 them.
36363 * csu/start.c: Remove !NO_UNDERSCORE code.
36364 * locale/localeinfo.h: Likewise.
36365 * sysdeps/generic/machine-gmon.h: Likewise.
36366 * sysdeps/generic/sysdep.h: Likewise.
36367 * sysdeps/i386/sysdep.h: Likewise.
36368 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36369 * sysdeps/mach/sysdep.h: Likewise.
36370 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36371 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36372 * sysdeps/sh/sysdep.h: Likewise.
36373 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36374 * sysdeps/unix/i386/sysdep.S: Likewise.
36375 * sysdeps/unix/sparc/start.c: Likewise.
36376 * sysdeps/unix/sparc/sysdep.S: Likewise.
36377 * sysdeps/unix/sparc/sysdep.h: Likewise.
36378 * sysdeps/unix/start.c: Likewise.
36379 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36380 * sysdeps/x86_64/sysdep.h: Likewise.
36381
df78418a
UD
363822012-01-07 Ulrich Drepper <drepper@gmail.com>
36383
a784e502
UD
36384 [BZ #13553]
36385 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36386 for non-gcc.
36387 * argp/argp-fmtstream.h: Use const instead __const.
36388 * argp/argp.h: Likewise.
36389 * assert/assert.h: Likewise.
36390 * bits/fenv.h: Likewise.
36391 * bits/sched.h: Likewise.
36392 * bits/sigset.h: Likewise.
36393 * bits/sigthread.h: Likewise.
36394 * catgets/nl_types.h: Likewise.
36395 * conform/data/pthread.h-data: Likewise.
36396 * crypt/crypt-private.h: Likewise.
36397 * crypt/crypt.h: Likewise.
36398 * crypt/crypt_util.c: Likewise.
36399 * ctype/ctype.h: Likewise.
36400 * debug/execinfo.h: Likewise.
36401 * debug/mbsnrtowcs_chk.c: Likewise.
36402 * debug/mbsrtowcs_chk.c: Likewise.
36403 * debug/wcsnrtombs_chk.c: Likewise.
36404 * debug/wcsrtombs_chk.c: Likewise.
36405 * debug/wcstombs_chk.c: Likewise.
36406 * dirent/dirent.h: Likewise.
36407 * dlfcn/dlfcn.h: Likewise.
36408 * elf/neededtest4.c: Likewise.
36409 * grp/grp.h: Likewise.
36410 * gshadow/gshadow.h: Likewise.
36411 * iconv/gconv.h: Likewise.
36412 * iconv/gconv_int.h: Likewise.
36413 * iconv/gconv_simple.c: Likewise.
36414 * iconv/iconv.h: Likewise.
36415 * iconv/loop.c: Likewise.
36416 * iconv/skeleton.c: Likewise.
36417 * include/aio.h: Likewise.
36418 * include/aliases.h: Likewise.
36419 * include/argz.h: Likewise.
36420 * include/arpa/inet.h: Likewise.
36421 * include/assert.h: Likewise.
36422 * include/dirent.h: Likewise.
36423 * include/dlfcn.h: Likewise.
36424 * include/execinfo.h: Likewise.
36425 * include/fcntl.h: Likewise.
36426 * include/fenv.h: Likewise.
36427 * include/glob.h: Likewise.
36428 * include/grp.h: Likewise.
36429 * include/libintl.h: Likewise.
36430 * include/mntent.h: Likewise.
36431 * include/netdb.h: Likewise.
36432 * include/pwd.h: Likewise.
36433 * include/rpc/netdb.h: Likewise.
36434 * include/sched.h: Likewise.
36435 * include/search.h: Likewise.
36436 * include/shadow.h: Likewise.
36437 * include/signal.h: Likewise.
36438 * include/stdio.h: Likewise.
36439 * include/stdlib.h: Likewise.
36440 * include/string.h: Likewise.
36441 * include/sys/socket.h: Likewise.
36442 * include/sys/stat.h: Likewise.
36443 * include/sys/statfs.h: Likewise.
36444 * include/sys/statvfs.h: Likewise.
36445 * include/sys/syslog.h: Likewise.
36446 * include/sys/time.h: Likewise.
36447 * include/sys/uio.h: Likewise.
36448 * include/time.h: Likewise.
36449 * include/unistd.h: Likewise.
36450 * include/utmp.h: Likewise.
36451 * include/wchar.h: Likewise.
36452 * include/wctype.h: Likewise.
36453 * inet/aliases.h: Likewise.
36454 * inet/arpa/inet.h: Likewise.
36455 * inet/netinet/ether.h: Likewise.
36456 * inet/netinet/in.h: Likewise.
36457 * intl/libintl.h: Likewise.
36458 * io/bits/fcntl2.h: Likewise.
36459 * io/fcntl.h: Likewise.
36460 * io/ftw.h: Likewise.
36461 * io/sys/poll.h: Likewise.
36462 * io/sys/stat.h: Likewise.
36463 * io/sys/statfs.h: Likewise.
36464 * io/sys/statvfs.h: Likewise.
36465 * io/utime.h: Likewise.
36466 * libio/bits/stdio.h: Likewise.
36467 * libio/bits/stdio2.h: Likewise.
36468 * libio/libio.h: Likewise.
36469 * libio/libioP.h: Likewise.
36470 * libio/stdio.h: Likewise.
36471 * locale/lc-ctype.c: Likewise.
36472 * locale/locale.h: Likewise.
36473 * login/utmp.h: Likewise.
36474 * malloc/arena.c: Likewise.
36475 * malloc/malloc.c: Likewise.
36476 * malloc/malloc.h: Likewise.
36477 * malloc/mcheck.c: Likewise.
36478 * malloc/mtrace.c: Likewise.
36479 * math/bits/mathcalls.h: Likewise.
36480 * math/fenv.h: Likewise.
36481 * math/math_private.h: Likewise.
36482 * misc/bits/error.h: Likewise.
36483 * misc/bits/syslog.h: Likewise.
36484 * misc/err.h: Likewise.
36485 * misc/error.h: Likewise.
36486 * misc/fstab.h: Likewise.
36487 * misc/mntent.h: Likewise.
36488 * misc/regexp.h: Likewise.
36489 * misc/search.h: Likewise.
36490 * misc/sgtty.h: Likewise.
36491 * misc/sys/mman.h: Likewise.
36492 * misc/sys/syslog.h: Likewise.
36493 * misc/sys/uio.h: Likewise.
36494 * misc/sys/xattr.h: Likewise.
36495 * misc/ttyent.h: Likewise.
36496 * nis/rpcsvc/ypclnt.h: Likewise.
36497 * nss/nss.h: Likewise.
36498 * posix/bits/unistd.h: Likewise.
36499 * posix/fnmatch.h: Likewise.
36500 * posix/glob.h: Likewise.
36501 * posix/sched.h: Likewise.
36502 * posix/spawn.h: Likewise.
36503 * posix/sys/wait.h: Likewise.
36504 * posix/unistd.h: Likewise.
36505 * posix/wordexp.h: Likewise.
36506 * pwd/pwd.h: Likewise.
36507 * resolv/netdb.h: Likewise.
36508 * resource/sys/resource.h: Likewise.
36509 * rt/aio.h: Likewise.
36510 * rt/bits/mqueue2.h: Likewise.
36511 * rt/mqueue.h: Likewise.
36512 * shadow/shadow.h: Likewise.
36513 * signal/signal.h: Likewise.
36514 * socket/send.c: Likewise.
36515 * socket/sendto.c: Likewise.
36516 * socket/sys/socket.h: Likewise.
36517 * stdio-common/printf.h: Likewise.
36518 * stdlib/bits/stdlib.h: Likewise.
36519 * stdlib/fmtmsg.h: Likewise.
36520 * stdlib/monetary.h: Likewise.
36521 * stdlib/stdlib.h: Likewise.
36522 * stdlib/ucontext.h: Likewise.
36523 * streams/stropts.h: Likewise.
36524 * string/argz.h: Likewise.
36525 * string/bits/string2.h: Likewise.
36526 * string/string.h: Likewise.
36527 * string/strings.h: Likewise.
36528 * sunrpc/rpc/auth.h: Likewise.
36529 * sunrpc/rpc/auth_des.h: Likewise.
36530 * sunrpc/rpc/clnt.h: Likewise.
36531 * sunrpc/rpc/netdb.h: Likewise.
36532 * sunrpc/rpc/pmap_clnt.h: Likewise.
36533 * sunrpc/rpc/xdr.h: Likewise.
36534 * sysdeps/generic/inttypes.h: Likewise.
36535 * sysdeps/generic/net/if.h: Likewise.
36536 * sysdeps/generic/sys/swap.h: Likewise.
36537 * sysdeps/gnu/net/if.h: Likewise.
36538 * sysdeps/gnu/utmpx.h: Likewise.
36539 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36540 * sysdeps/i386/i486/bits/string.h: Likewise.
36541 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36542 * sysdeps/s390/bits/string.h: Likewise.
36543 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36544 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36545 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36546 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36547 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36548 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36549 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36550 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36551 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36552 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36553 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36554 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36555 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36556 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36557 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36558 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36559 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36561 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36562 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36564 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36565 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36566 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36567 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36568 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36569 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36571 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36573 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36574 * sysvipc/sys/ipc.h: Likewise.
36575 * sysvipc/sys/msg.h: Likewise.
36576 * sysvipc/sys/sem.h: Likewise.
36577 * sysvipc/sys/shm.h: Likewise.
36578 * termios/termios.h: Likewise.
36579 * time/sys/time.h: Likewise.
36580 * time/time.h: Likewise.
36581 * wcsmbs/bits/wchar2.h: Likewise.
36582 * wcsmbs/uchar.h: Likewise.
36583 * wcsmbs/wchar.h: Likewise.
36584 * wctype/wctype.h: Likewise.
36585
0269750c
UD
36586 [BZ #13551]
36587 * Makeconfig: Remove all but ELF support including AIX support.
36588 * Makerules: Likewise.
36589 * config.h.in: Likewise.
36590 * config.make.in: Likewise.
36591 * configure: Likewise.
36592 * configure.in: Likewise.
36593 * csu/Makefile: Likewise.
36594 * csu/version.c: Likewise.
36595 * debug/Makefile: Likewise.
36596 * dlfcn/Makefile: Likewise.
36597 * elf/Makefile: Likewise.
36598 * extra-lib.mk: Likewise.
36599 * iconv/Makefile: Likewise.
36600 * include/libc-symbols.h: Likewise.
36601 * include/shlib-compat.h: Likewise.
36602 * resolv/Makefile: Likewise.
36603 * resolv/res_libc.c: Likewise.
36604 * rt/Makefile: Likewise.
36605 * sysdeps/i386/asm-syntax.h: Likewise.
36606 * sysdeps/i386/sysdep.h: Likewise.
36607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36608 * sysdeps/mach/sysdep.h: Likewise.
36609 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36610 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36611 * sysdeps/s390/asm-syntax.h: Likewise.
36612 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36613 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36614 * sysdeps/sh/sysdep.h: Likewise.
36615 * sysdeps/unix/sparc/sysdep.h: Likewise.
36616 * sysdeps/wordsize-32/divdi3.c: Likewise.
36617 * sysdeps/x86_64/sysdep.h: Likewise.
36618
00bbd29b
UD
36619 * argp/Versions: Remove _argp_unlock_xxx.
36620
36621 [BZ #13559]
36622 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36623 * abilist/libBrokenLocale.abilist: Likewise.
36624 * abilist/libanl.abilist: Likewise.
36625 * abilist/libc.abilist: Likewise.
36626 * abilist/libcrypt.abilist: Likewise.
36627 * abilist/libdl.abilist: Likewise.
36628 * abilist/libm.abilist: Likewise.
36629 * abilist/libnsl.abilist: Likewise.
36630 * abilist/libpthread.abilist: Likewise.
36631 * abilist/libresolv.abilist: Likewise.
36632 * abilist/librt.abilist: Likewise.
36633 * abilist/libthread_db.abilist: Likewise.
36634 * abilist/libutil.abilist: Likewise.
36635 * abilist/libnss_db.abilist: New file.
36636
36637 * scripts/abilist.awk: Add support for indirect functions.
36638
a2693a0e
UD
36639 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36640
3f05895f
UD
36641 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36642
ecb6fb48
UD
36643 * shlib-versions: Remove entries for ports architectures.
36644
664f8cb9
UD
36645 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36646 files in ports.
36647 * elf/stackguard-macros.h: Remove support for IA-64.
36648 * elf/tst-auditmod1.c: Likewise.
36649 * sysdeps/generic/ldsodefs.h: Likewise.
36650
7ae81d88
UD
36651 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36652 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36653 configure files.
36654
bdeba135
UD
36655 [BZ #13552]
36656 * configure.in: Remove --enable-omitfp support.
36657 * FAQ.in: Adjust.
36658 * config.make.in: Likewise.
36659 * Makeconfig: Likewise.
36660 * manual/install.texi: Likewise.
36661
d75a0a62
UD
36662 In case anyone cares, the IA-64 architecture could move to ports.
36663 * sysdeps/ia64/*: Removed.
36664 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36665 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36666
dcc9756b
UD
36667 [BZ #13555]
36668 * configure.in: Remove entries for unsupported architectures.
36669
d3761ebc 36670 [BZ #13533]
9954432e
UD
36671 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36672 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36673 routines.
36674 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36675 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36676 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36677 fall back to using wcrtomb.
36678 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36679 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36680 renaming.
36681 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36682 * wcsmbs/tst-c16c32-1.c: New file.
36683
36684 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36685 local variable.
36686
c3a87236
UD
36687 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36688
28926a1b
UD
36689 * elf/tst-unique3.cc: Add explicit declaration of gets.
36690 * elf/tst-unique3lib.cc: Likewise.
36691 * elf/tst-unique3lib2.cc: Likewise.
36692 * elf/tst-unique4.cc: Likewise.
36693
df78418a
UD
36694 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36695
8ecd6b2a
JM
366962012-01-06 Joseph Myers <joseph@codesourcery.com>
36697
36698 [BZ #13566]
36699 * assert/assert.h (static_assert): Don't define for C++.
36700 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36701 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36702
9f115170
UD
367032012-01-03 Ulrich Drepper <drepper@gmail.com>
36704
5e0d0300
UD
36705 * iconv/loop.c (single loop): Fix assertion in storing of
36706 remaining bytes.
36707
9f115170
UD
36708 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36709
81fb02b0
UD
367102012-01-01 Ulrich Drepper <drepper@gmail.com>
36711
36712 * posix/getconf.c: Update copyright year.
36713 * nss/getent.c: Likewise.
a316c1f6 36714 * nss/makedb.c: Likewise.
81fb02b0
UD
36715 * iconv/iconvconfig.c: Likewise.
36716 * iconv/iconv_prog.c: Likewise.
36717 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36718 * elf/pldd.c: Likewise.
36719 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36720 * catgets/gencat.c: Likewise.
36721 * csu/version.c: Likewise.
36722 * elf/ldd.bash.in: Likewise.
36723 * elf/sprof.c (print_version): Likewise.
36724 * locale/programs/locale.c: Likewise.
36725 * locale/programs/localedef.c: Likewise.
a316c1f6 36726 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36727 * nscd/nscd.c (print_version): Likewise.
36728 * debug/xtrace.sh: Likewise.
36729 * malloc/memusage.sh: Likewise.
36730 * malloc/mtrace.pl: Likewise.
36731 * debug/catchsegv.sh: Likewise.
36732
2ba92745
JJ
367332011-12-30 Jakub Jelinek <jakub@redhat.com>
36734
36735 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36736 pure attribute.
36737
dadebdae
UD
367382011-12-24 Ulrich Drepper <drepper@gmail.com>
36739
d3761ebc 36740 [BZ #13533]
db6af3eb
UD
36741 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36742 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36743 transformations.
36744 * iconv/gconv_int.h: Likewise.
36745 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36746 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36747 from libc for GLIBC_2.16.
36748 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36749 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36750 * wcsmbs/uchar.h: Really define mbstate_t.
36751 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36752 * wcsmbs/c16rtomb.c: New file.
36753 * wcsmbs/mbrtoc16.c: New file.
36754 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36755 for C/POSIX locale.
36756 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36757 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36758
dadebdae
UD
36759 * wcsmbs/wchar.h: Add missing __restrict.
36760
67371b56
UD
367612011-12-23 Ulrich Drepper <drepper@gmail.com>
36762
74033a25
UD
36763 [BZ #13532]
36764 * time/Makefile (routines): Add timespec_get.
36765 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36766 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36767 timespec for ISO C11.
36768 * time/timespec_get.c: New file.
36769 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36770 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36771
380d7e87
UD
36772 [BZ #13531]
36773 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36774 * stdlib/stdlib.h: Declare aligned_alloc.
36775 * Versions.def: Add GLIBC_2.16 for libc.
36776 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36777
4e9e7a35
UD
36778 [BZ 13527]
36779 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36780 ISO C11.
36781
380d7e87 36782 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36783 code.
36784
03a71829
UD
36785 [BZ #13528]
36786 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36787
839e283e
UD
36788 [BZ #13529]
36789 * assert/assert.h (static_assert): Define.
36790
ce5294e2 36791 * version.h: Update for 2.16 development version.
90fa7312 36792
8d44e150 36793 [BZ #13526]
d7809905
UD
36794 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36795 _ISOC11_SOURCE.
36796
c0da14cd
UD
36797 * version.h (RELEASE): Bump for 2.15 release.
36798 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36799
530a3249
MP
36800 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36801 Patch by Marek Polacek <mpolacek@redhat.com>.
36802
67371b56
UD
36803 * bits/byteswap.h: Protect long long constants with __extension__.
36804 * sysdeps/i386/bits/byteswap.h: Likewise.
36805 * sysdeps/ia64/bits/byteswap.h: Likewise.
36806 * sysdeps/s390/bits/byteswap.h: Likewise.
36807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36808
15db4de1
LD
368092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36810
36811 [BZ #13540]
bbe315ea
LD
36812 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36813 destination buffer.
15db4de1
LD
36814 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36815
2b2596b1
MP
368162011-12-23 Marek Polacek <polacek@redhat.com>
36817
36818 * elf/dl-addr.c (determine_info): Add inline keyword.
36819 * elf/tst-auditmod4b.c (check_avx): Likewise.
36820 * elf/tst-auditmod6b.c (check_avx): Likewise.
36821 * elf/tst-auditmod6c.c (check_avx): Likewise.
36822 * elf/tst-auditmod7b.c (check_avx): Likewise.
36823
70c6c246
UD
368242011-12-23 Ulrich Drepper <drepper@gmail.com>
36825
36826 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36827 !__SSE_MATH__.
36828
c044cf14
LD
368292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36830
15db4de1 36831 [BZ #13540]
c044cf14
LD
36832 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36833 processing for last bytes.
36834
6b13d9d9
BH
368352011-08-06 Bruno Haible <bruno@clisp.org>
36836
d455f537
BH
36837 [BZ #13061]
36838 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36839 U+0385, not to U+1FEE.
36840
6b13d9d9
BH
36841 [BZ #13062]
36842 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36843 entry for U+00A5 U+0301.
36844
db910efd
UD
368452011-12-22 Ulrich Drepper <drepper@gmail.com>
36846
27deeafc
UD
36847 [BZ #13166]
36848 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36849 buffer for the output is too small.
36850
aed9d171
UD
36851 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36852 optimization.
36853
db910efd
UD
36854 [BZ #13185]
36855 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36856 SSE flags if possible.
36857
2bd779ae
LD
368582011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36859
e7f9dac3 36860 [BZ #13540]
2bd779ae
LD
36861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36862 processing for last bytes.
36863
154bfc16
JM
368642011-12-22 Joseph Myers <joseph@codesourcery.com>
36865
36866 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36867 (syscall-list-default-options, syscall-list-default-condition)
36868 (syscall-list-includes): Define.
36869 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36870 list of ABIs and options and #if conditions for each ABI. Do not
36871 handle common syscalls between ABIs specially.
36872 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36873 Remove.
36874 (syscall-list-variants, syscall-list-32bit-options)
36875 (syscall-list-32bit-condition, syscall-list-64bit-options)
36876 (syscall-list-64bit-condition): Define.
36877 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36878 (syscall-list-variants, syscall-list-32bit-options)
36879 (syscall-list-32bit-condition, syscall-list-64bit-options)
36880 (syscall-list-64bit-condition): Define.
36881 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36882 Remove.
36883 (syscall-list-variants, syscall-list-32bit-options)
36884 (syscall-list-32bit-condition, syscall-list-64bit-options)
36885 (syscall-list-64bit-condition): Define.
36886 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36887 Remove.
36888 (syscall-list-variants, syscall-list-32bit-options)
36889 (syscall-list-32bit-condition, syscall-list-64bit-options)
36890 (syscall-list-64bit-condition): Define.
36891
21eaf3a5
UD
368922011-12-22 Ulrich Drepper <drepper@gmail.com>
36893
16c6f992
UD
36894 * locale/iso-639.def: Add brx entry.
36895
41043168
UD
36896 [BZ #13328]
36897 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36898 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36899
21eaf3a5
UD
36900 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36901 __feraiseexcept_renamed.
36902
e3a851a2
UD
369032011-12-21 Ulrich Drepper <drepper@gmail.com>
36904
4920765e
UD
36905 [BZ #13538]
36906 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36907 EPOLLET with unsigned values.
36908 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36909 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36910
e3a851a2
UD
36911 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36912 to large cancellation.
36913 * math/s_cacoshf.c: Likewise.
36914 * math/s_cacoshl.c: Likewise.
36915
b27e24b8
RK
369162011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36917
36918 [BZ #13305]
aebefeee 36919 [BZ #12786]
b27e24b8
RK
36920 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36921 * math/s_cacoshf.c: Likewise.
36922 * math/s_cacoshl.c: Likewise.
36923
ee190f67
UD
369242011-12-21 Ulrich Drepper <drepper@gmail.com>
36925
36926 [BZ #13439]
36927 * iconv/gconv.h: Define __GCONV_SWAP.
36928 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36929 * iconvdata/utf-16.c: Likewise.
36930 * iconvdata/utf-32.c: Likewise.
36931
707f25df
AS
369322011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36933
36934 [BZ #13524]
36935 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36936 numerator after shifting it by one limb.
36937
d2daaa1e
RÁE
369382011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36939
36940 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36941 under [__USE_EXTERN_INLINES].
36942
a4647e72
UD
369432011-12-17 Ulrich Drepper <drepper@gmail.com>
36944
36945 [BZ #13446]
36946 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36947
f0b264f1
AZ
369482011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36949
36950 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36951 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36952 optimized code.
36953 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36954 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36955 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36956 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36957 for strncasecmp/strncasecmp_l compilation.
36958 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36959 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36960
8ef4f244
MP
369612011-12-08 Marek Polacek <mpolacek@redhat.com>
36962
36963 [BZ #13484]
36964 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36965 of __asm__.
36966
97ac2654
UD
369672011-12-17 Ulrich Drepper <drepper@gmail.com>
36968
36969 [BZ #13506]
36970 * time/tzfile.c (__tzfile_read): Check values from file header.
36971
91d2a845
WS
369722011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36973
36974 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36975 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36976 * powerpc/powerpc32/dl-start.S: Likewise.
36977 * powerpc/powerpc32/elf/start.S: Likewise.
36978 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36979 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36980 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36981 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36982 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36983 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36984 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36985 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36986 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36987 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36988 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36989 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36990 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36991 * powerpc/powerpc32/memset.S: Likewise.
36992 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36993 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36994 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36995 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36996 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36997 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36998 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36999 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37000 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37001 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37002 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37003 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37004 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37005
a1267ba1
AZ
370062011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37007
37008 * math/libm-test.inc: Added more nearbyint tests.
37009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37010 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37011 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37013
ad8ac1bd
RL
370142011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37015
37016 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37017 FD_CLOEXEC.
37018
1d3e4b61
UD
370192011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37020
37021 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37022 Add wcscpy-ssse3 wcscpy-c.
37023 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37024 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37025 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37026 * sysdeps/x86_64/wcschr.S: New file.
37027 * sysdeps/x86_64/wcsrchr.S: New file.
37028 * string/test-strcmp.c: Remove checking of wcscmp function for
37029 wrong alignments.
37030 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37031 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37032 wcsrchr-sse2 wcsrchr-c.
37033 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37034 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37035 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37036 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37037 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37038 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37039 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37040 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37041 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37042 * wcsmbc/wcschr.c (WCSCHR): New macro.
37043
5b330a2d
UD
370442011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37045
37046 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37047 * wcsmbs/test-wcsrchr.c: New file.
37048 * string/test-strrchr.c: Add wcsrchr support.
37049 (WIDE): New macro.
37050 * wcsmbs/test-wcscpy.c: New file.
37051 * string/test-strcpy.c: Add wcscpy support.
37052 (WIDE): New macro.
26428b7c 37053
f039c043
UD
370542011-12-10 Ulrich Drepper <drepper@gmail.com>
37055
37056 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37057 the inner loop.
37058
850fb039
AS
370592011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37060
37061 [BZ #13472]
37062 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37063
4efbd5cb
UD
370642011-12-04 Ulrich Drepper <drepper@gmail.com>
37065
52ff5dd0 37066 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 37067 Minor optimizations.
52ff5dd0 37068
4efbd5cb
UD
37069 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37070 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37071 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37072
8a426e12
UD
370732011-12-03 Ulrich Drepper <drepper@gmail.com>
37074
aff2453d
UD
37075 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37076 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37077 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37078 for gcc to avoid warnings.
37079 * inet/Makefile (tests): Add tst-checks.
37080 * inet/tst-checks.c: New file.
37081
37082 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37083 warning.
37084
37085 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37086 __wmemcmp_sse2.
37087
37088 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37089 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37090
8a426e12
UD
37091 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37092
9bea3473
UD
370932011-12-02 Ulrich Drepper <drepper@gmail.com>
37094
3a965496
UD
37095 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37096 problem.
37097
9bea3473
UD
37098 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37099
f101631b
UD
371002011-11-29 Joseph Myers <joseph@codesourcery.com>
37101
37102 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37103 conditional on GCC version.
37104 (__arch_compare_and_exchange_val_8_acq)
37105 (__arch_compare_and_exchange_val_16_acq)
37106 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37107 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37108 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37109
a98275aa
UD
371102011-12-02 Joseph Myers <joseph@codesourcery.com>
37111
37112 * sysdeps/sh/backtrace.c: New file.
37113
d4cc29a2
AS
371142011-12-02 Andreas Schwab <schwab@redhat.com>
37115
37116 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37117 parenthesis.
37118
6257af2d
AS
371192011-12-01 Andreas Schwab <schwab@redhat.com>
37120
37121 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37122 falling back to utime.
37123
b5f44c1a
AS
371242011-11-30 Andreas Schwab <schwab@redhat.com>
37125
37126 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37127 expectations for float.
37128
f3a6cc0a
AS
371292011-11-29 Andreas Schwab <schwab@redhat.com>
37130
37131 * locale/weight.h (findidx): Add parameter len.
37132 * locale/weightwc.h (findidx): Likewise.
37133 * posix/fnmatch_loop.c (FCT): Adjust caller.
37134 * posix/regcomp.c (build_equiv_class): Likewise.
37135 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37136 * posix/regexec.c (check_node_accept_bytes): Likewise.
37137 * string/strcoll_l.c (STRCOLL): Likewise.
37138 * string/strxfrm_l.c (STRXFRM): Likewise.
37139
9d65ea3a
UD
371402011-11-17 Ulrich Drepper <drepper@gmail.com>
37141
37142 * Makefile.in: Remove CVSOPT handling.
37143 * configure.in: Remove use of AC_REVISION.
37144 * iconvdata/Makefile (distribute): No need to filter out CVS.
37145 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37146 handling.
37147
5583a086
AS
371482011-11-16 Andreas Schwab <schwab@redhat.com>
37149
37150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37151 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37152 [USE_AS_STRNCASECMP_L]: Likewise.
37153 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37154 NO_TLS_DIRECT_SEG_REFS.
37155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37156 Fix argument offsets for non-PIC.
37157 [USE_AS_STRNCASECMP_L]: Likewise.
37158 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37159 NO_TLS_DIRECT_SEG_REFS.
37160
d62a8200
UD
371612011-11-15 Ulrich Drepper <drepper@gmail.com>
37162
9d65ea3a 37163 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37164 O_CLOEXEC.
37165 * locale/loadlocale.c (_nl_load_locale): Likewise.
37166
09f93bd3
AS
371672011-11-15 Andreas Schwab <schwab@redhat.com>
37168
446514f9
AS
37169 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37170 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37171 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37172 (SYSCALL_GETTIME): Set errno on error.
37173
09f93bd3
AS
37174 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37175 count references to noai6ai_cached.
37176
312be3f9
UD
371772011-11-15 Ulrich Drepper <drepper@gmail.com>
37178
37179 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37180
37181 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37182 FD_CLOEXEC for /proc/self/maps.
37183
37184 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37185 FD_CLOEXEC for /proc/meminfo.
37186
37187 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37188 gai.conf.
37189
37190 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37191 FD_CLOEXEC for given file.
37192
37193 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37194
37195 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37196 FD_CLOEXEC for /etc/hosts.
37197 (_gethtent): Likewise.
37198
37199 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37200
37201 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37202 cancellation and set FD_CLOEXEC for /etc/netgroup.
37203
37204 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37205 reading /etc/publickey.
37206
37207 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37208 allow cancellation when reading /etc/group.
37209
37210 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37211 cancellation.
37212 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37213
37214 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37215 when using data file.
37216
37217 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37218
37219 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37220 (write_nis_obj): Use "c" and "e" in fopen.
37221
37222 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37223
37224 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37225
37226 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37227
37228 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37229
37230 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37231 locale.alias.
37232
37233 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37234
37235 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37236
37237 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37238
37239 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37240 file parsing and set FD_CLOEXEC.
37241
82af0fa8
UD
372422011-11-14 Ulrich Drepper <drepper@gmail.com>
37243
37244 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37245
a5fb313c
AS
372462011-11-14 Andreas Schwab <schwab@redhat.com>
37247
37248 * malloc/arena.c (arena_get2): Don't call reused_arena when
37249 _int_new_arena failed.
37250
6abf3465
UD
372512011-11-14 Ulrich Drepper <drepper@gmail.com>
37252
37253 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37254 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37255 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37256 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37257 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37258 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37259 to compile strcasecmp and strncasecmp.
37260 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37261 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37262
37263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37264
76e3966e
UD
372652011-11-13 Ulrich Drepper <drepper@gmail.com>
37266
37267 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37268 locale-defines.sym to gen-as-const-headers.
37269 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37270 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37272 to compile strcasecmp and strncasecmp.
37273 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37274 strcasecmp_l and strncasecmp_l.
37275 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37276 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37277 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37278 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37279 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37280 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37281 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37282 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37283 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37284 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37285 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37286
ab26144e
UD
372872011-11-12 Ulrich Drepper <drepper@gmail.com>
37288
7edb22ef
UD
37289 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37290 result of SYSDEP_GETTIME_CPU to retval.
37291 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37292 parameter list to macro. Remove trailing semicolon. Adjust users.
37293
9694fc44
UD
37294 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37295 variable.
37296
8ad89ef8
UD
37297 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37298 mantissa words.
37299 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37300
0c822ef9
UD
37301 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37302 from unused variable.
37303
874e0564
UD
37304 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37305 DWARF definitions.
37306 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37307 for assembling.
37308
3a2edc79
UD
37309 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37310 over namespaces.
37311
f3c2577f
UD
37312 * sunrpc/rpc_prot.c (rejected): Fix case value.
37313
294ce126
UD
37314 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37315 unsigned long long int to avoid warnings in shift.
37316
5e2b63c6
UD
37317 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37318 of use of trans.
37319 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37320 variable tmp.
37321
e7f4b08e
UD
37322 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37323 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37324 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37325
ab26144e
UD
37326 * nis/nis_table.c (nis_list): Use variable of correct type for
37327 result of __follow_path call.
37328
8a6d5255
AZ
373292011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37330
37331 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37332 of math functions ceil, trunc, floor, round, and sqrt, when
37333 avaliable on the platform.
37334 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37335 name clash.
37336 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37337 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37338 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37339
aaddc98c
MP
373402011-10-30 Marek Polacek <mpolacek@redhat.com>
37341
37342 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37343 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37344
95b7042b
RM
373452011-11-11 Roland McGrath <roland@hack.frob.com>
37346
37347 * include/unistd.h: Fix __readlink return type.
37348 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37349
57769839
UD
373502011-11-11 Ulrich Drepper <drepper@gmail.com>
37351
37352 * stdlib/ucontext.h: Undo last change for makecontext.
37353
edc5984d
AS
373542011-11-11 Andreas Schwab <schwab@redhat.com>
37355
98591e58
AS
37356 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37357
edc5984d
AS
37358 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37359 * setjmp/setjmp.h: Mark functions as non-leaf.
37360 * setjmp/bits/setjmp2.h: Likewise.
37361 * stdlib/ucontext.h: Likewise.
37362
77cdc054
AS
373632011-11-10 Andreas Schwab <schwab@redhat.com>
37364
37365 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37366 (reused_arena): Don't check arena limit.
37367 (arena_get2): Atomically check arena limit.
37368
fe72eebd
UD
373692011-11-08 Ulrich Drepper <drepper@gmail.com>
37370
5f078c32
UD
37371 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37372 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37373
fe72eebd
UD
37374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37375 instructions.
37376
ae1bc2fa
AS
373772011-11-07 Andreas Schwab <schwab@redhat.com>
37378
7583a88d
AS
37379 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37380 handler when locking.
37381
ae1bc2fa
AS
37382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37383 Fix size of allocated buffer.
37384
10fb0bfa
AS
373852011-11-04 Andreas Schwab <schwab@redhat.com>
37386
998832a4
AS
37387 [BZ #10103]
37388 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37389 declarations for long double functions.
37390 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37391
10fb0bfa
AS
37392 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37393
3d7ba52b
AS
373942011-11-03 Andreas Schwab <schwab@redhat.com>
37395
a9ae54a1
AS
37396 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37397 installed.
37398
3d7ba52b
AS
37399 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37400 is disabled.
37401
bc8db248
ST
374022011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37403
37404 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37405
45b96dd6
AS
374062011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37407
647776f6
AS
37408 * include/alloca.h (stackinfo_alloca_round): Define.
37409 (extend_alloca): Use it.
37410 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37411 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37412 here.
37413
d91a8b93
AS
37414 * scripts/check-local-headers.sh: Ignore libaudit.h.
37415
45b96dd6
AS
37416 * nscd/Makefile (extra-objs): Make recursively expanded.
37417
432d41ce
UD
374182011-11-01 Ulrich Drepper <drepper@gmail.com>
37419
34372fc6
UD
37420 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37421 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37422
fadb59f8
UD
37423 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37424 * posix/tst-rfc3484-2.c: Likewise.
37425 * posix/tst-rfc3484-3.c: Likewise.
37426
78239589
UD
37427 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37428 process_vm_writev.
37429 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37430 process_vm_writev.
37431 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37432 process_vm_writev from libc using GLIBC_2.15 version.
37433
432d41ce
UD
37434 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37435
02f9c6cf
PP
374362011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37437
37438 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37439 stack usage.
37440
3a2c0242
UD
374412011-10-31 Ulrich Drepper <drepper@gmail.com>
37442
f4ec4833
UD
37443 [BZ #13367]
37444 * nss/getent.c (initgroups_keys): Show error message in case no group
37445 names are given.
37446
3a2c0242
UD
37447 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37448 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37449 __bump_nl_timestamp.
37450 * nscd/connections (nscd_init): When host database is served open
37451 netlink socket and request notification about configuration changes.
37452 (main_loop_poll): Track netlink file descriptor and bump timestamp
37453 in case data becomes available.
37454 (main_loop_epoll): Likewise.
37455 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37456 (database_pers_head): Add extra_data fileds.
37457 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37458 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37459 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37460 Adjust caller.
37461 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37462 in6ai data, call __free_in6ai.
37463 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37464 Add -DHAVE_NETLINK.
37465 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37466 interface information. Reuse previous data if netlink timestamp
37467 is not changed.
37468 (__bump_nl_timestamp): New function.
37469 (__free_in6ai): New function.
37470
636064eb
UD
374712011-10-30 Ulrich Drepper <drepper@gmail.com>
37472
37473 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37474 close_not_cancel_no_status here.
37475 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37476
9beb2334
UD
374772011-10-29 Ulrich Drepper <drepper@gmail.com>
37478
6ef76f3b
UD
37479 [BZ #13276]
37480 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37481 return value.
37482
0ffc4f3e 37483 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37484 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37485 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37486
cb95113e
UD
374872011-07-03 Andreas Jaeger <aj@suse.de>
37488
37489 [BZ #10709]
37490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37491 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37492 * math/libm-test.inc (sin_test): Add test case.
37493
a1b560ff
UD
374942011-10-29 Ulrich Drepper <drepper@gmail.com>
37495
c9aaface
UD
37496 [BZ #13337]
37497 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37498 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37499
d272e7f1
UD
37500 * elf/chroot_canon.c (chroot_canon): Cleanups.
37501
1bc33071
UD
37502 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37503
1760874d
TJ
37504 [BZ #13335]
37505 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37506 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37507
51d91b18
UD
37508 * string/test-strchr.c: Make usable for strchrnul testing.
37509 * string/test-strchrnul.c: New file.
37510 * string/Makefile (strop-tests): Add strchrnul.
37511
a1b560ff 37512 * po/it.po: Update from translation team.
b611fb81 37513 * po/es.po: Likewise.
a1b560ff 37514
a5b81e1f
UD
375152011-10-28 Ulrich Drepper <drepper@gmail.com>
37516
fd52bc6d
UD
37517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37518 the three constants needed as parameters. Drop the others.
37519 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37520 __m128i_strloadu_tolower.
52e4b9eb
UD
37521 Create and initialize variable zero and use it in all the places
37522 where _mm_setzero_si128 was used.
fd52bc6d 37523
a5b81e1f
UD
37524 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37525 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37526 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37527 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37528 anymore.
37529 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37530 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37531 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37532 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37533 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37534 __mpranred, __mptan.
37535 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37536 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37537 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37538 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37539 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37540 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37541 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37542 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37543 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37544
b4343346
AS
375452011-10-28 Andreas Schwab <schwab@redhat.com>
37546
0c92d8a8
AS
37547 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37548 redefine if SHARED.
37549 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37550
b4343346
AS
37551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37552 wide char related routines to wcsmbs subdir.
37553
3871f58f
AS
375542011-10-27 Andreas Schwab <schwab@redhat.com>
37555
37556 [BZ #13344]
37557 * misc/sys/cdefs.h (__THROWNL): Define.
37558 * posix/unistd.h: Use __THREADNL instead of __THREAD
37559 for memory synchronization functions.
37560
94d44d9f
RM
375612011-10-26 Roland McGrath <roland@hack.frob.com>
37562
21b64b15 37563 [BZ #13349]
94d44d9f
RM
37564 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37565 doesn't exist.
37566 * manual/stdio.texi (Obstack Streams): Node removed.
37567
f6ce9294
AS
375682011-10-26 Andreas Schwab <schwab@redhat.com>
37569
80479147
AS
37570 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37571 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37572 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37573
f6ce9294
AS
37574 * math/math_private.h (math_force_eval): Allow non-addressable
37575 arguments.
37576 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37577
618280a1
UD
375782011-10-25 Ulrich Drepper <drepper@gmail.com>
37579
e0016b11
UD
37580 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37581 file is not needed.
37582
37583 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37584 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37585 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37586 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37587 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37589 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37590 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37591 Add AVX variants.
37592 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37593 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37594 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37595 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37596 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37597 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37598 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37599 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37600 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37601 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37602 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37603 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37604 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37605 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37606 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37607 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37608 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37609 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37610 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37611
37612 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37613 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37614
618280a1
UD
37615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37616 place. Use VEX encoding when compiling for AVX.
37617
37822576
AS
376182011-10-25 Andreas Schwab <schwab@redhat.com>
37619
1f1e1947
AS
37620 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37621 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37622
37822576
AS
37623 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37624
31ea014d
UD
376252011-10-25 Ulrich Drepper <drepper@gmail.com>
37626
d7826aa1 37627 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37628 useless if() expression.
d7826aa1
UD
37629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37630 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37631 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37635 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37637 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37640 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37641 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37642 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37644 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37645 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37647 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37648
31ea014d
UD
37649 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37650
16437fec
AS
376512011-10-25 Andreas Schwab <schwab@redhat.com>
37652
37653 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37654 condition.
37655 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37656
31d3cc00
UD
376572011-10-25 Ulrich Drepper <drepper@gmail.com>
37658
37659 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37660 .text section. Avoid duplicate constants.
37661 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37663 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37669 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37670 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37671 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37672 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37673 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37674 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37675 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37676 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37677 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37678 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37681 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37682 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37683 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37684 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37685 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37686 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37687 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37688 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37689 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37690 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37691 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37693 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37694 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37695 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37696 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37697 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37699 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37700 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37701 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37702 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37703 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37704 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37705 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37706
58985aa9
UD
377072011-10-24 Ulrich Drepper <drepper@gmail.com>
37708
202c9deb
UD
37709 * sysdeps/x86_64/dla.h: Move to ...
37710 * sysdeps/x86_64/fpu/dla.h: ...here.
37711 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37712 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37713
af968f62
UD
37714 * config.make.in: Add have-mfma4 entry.
37715 * configure.in: Substitute libc_cv_cc_fma4.
37716 * math/Makefile (dbl-only-routines): Add sincostab.
37717 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37718 Use __sincostab not sincos.
37719 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37720 name is a macro.
37721 * sysdeps/ieee754/dbl-64/e_exp.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_atan2.c: Likewise. Define singArctan2
37725 using __copysign.
37726 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37727 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37728 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37729 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37730 and __inv.
37731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37732 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37733 __copysign.
37734 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37735 define aliases when function name is a macro.
37736 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37737 sysdeps/ieee754/dbl-64/sincos.tbl.
37738 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37739 fma4-enabled routines.
37740 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37741 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37742 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37743 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37744 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37745 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37746 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37747 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37749 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37750 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37751 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37752 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37753 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37754 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37755 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37756 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37757 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37758 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37759 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37760 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37761 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37762 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37763 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37766 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37767 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37768 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37769 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37770
58985aa9
UD
37771 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37772 rename.
37773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37781
a201fbcf
AS
377822011-10-24 Andreas Schwab <schwab@redhat.com>
37783
37784 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37785
fc2ee42a
LD
377862011-10-23 Ulrich Drepper <drepper@gmail.com>
37787
bb3129bd
UD
37788 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37789
0275fff8
UD
37790 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37791 prediction.
37792 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37793
2fa2ae85
UD
37794 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37795 Remove unused variable magic_bits.
37796 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37797
fc2ee42a
LD
37798 * string/strnlen.c: Define and use STRNLEN macro.
37799 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37800 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37802 * wcsmbs/wcslen.c: Define and use WCSLEN.
37803 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37804 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37805 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37806 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37807 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37808 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37809 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37810
ce7dd29f
LD
378112011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37812
37813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37814 strnlen-sse2-no-bsf.
37815 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37817 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37818 Add strnlen support.
37819 (USE_AS_STRNLEN): New macro.
37820 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37821 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37822 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37823 * sysdeps/x86_64/wcslen.S: New file.
37824
979c70a3
MZ
378252011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37826
37827 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37828 XMM-moves are used for copying on small sizes.
37829
2d09f82f
LD
378302011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37831
37832 * wcsmbs/Makefile (strop-tests): Add wcschr.
37833 * wcsmbs/test-wcschr.c: New file.
37834 * string/test-strchr.c: Update.
37835 Add wcschr support.
37836 (WIDE): New macro.
37837
619fccca
LD
378382011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37839
2d09f82f 37840 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37841 * wcsmbs/test-wcslen.c: New file.
37842 * string/test-strlen.c: Update.
37843 Add wcslen support.
37844 (WIDE): New macro.
37845
09f699ea
UD
378462011-10-23 Ulrich Drepper <drepper@gmail.com>
37847
37848 * po/it.po: Update from translation team.
37849
95584d3b
LD
378502011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37851
37852 * sysdeps/x86_64/wcscmp.S: Update.
37853 Fix wrong comparison semantics.
37854 wcscmp shall use signed comparison not unsigned.
37855 Don't use substraction to avoid overflow bug.
37856 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37857 * wcsmbc/wcscmp.c: Likewise.
37858 * string/test-strcmp.c: Likewise.
37859 Add new tests to check cases with negative values.
37860
c8b3296b
UD
378612011-10-23 Ulrich Drepper <drepper@gmail.com>
37862
37863 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37864 * sysdeps/x86_64/dla.h: ...here. New file.
37865 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37869 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37870 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37872 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37873 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37874
246ad57a
AS
378752011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37876
37877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37878 __ynl_finite aliases.
37879
a1a87169
UD
378802011-10-22 Ulrich Drepper <drepper@gmail.com>
37881
0d355eb7
UD
37882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37883
a1a87169
UD
37884 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37885 define DLA_FMA.
37886 [DLA_FMA] (EMULV): Use DLA_FMA.
37887 [DLA_FMA] (MUL12): Use EMULV.
37888 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37889 that are not needed.
37890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37895 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37896 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37897
ee2aafe0
AS
378982011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37899
37900 * math/s_nan.c: Undef __nan.
37901 * math/s_nanf.c: Undef __nanf.
37902 * math/s_nanl.c: Undef __nanl.
37903 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37904 "math_private.h".
37905
bc62c2fb
UD
379062011-10-22 Ulrich Drepper <drepper@gmail.com>
37907
77425c63
UD
37908 * math/s_catan.c: Add branch predictions.
37909 * math/s_catanf.c: Likewise.
37910 * math/s_catanh.c: Likewise.
37911 * math/s_catanhf.c: Likewise.
37912 * math/s_catanhl.c: Likewise.
37913 * math/s_catanl.c: Likewise.
37914 * math/s_cexp.c: Likewise.
37915 * math/s_cexpf.c: Likewise.
37916 * math/s_cexpl.c: Likewise.
37917 * math/s_clog.c: Likewise.
37918 * math/s_clog10.c: Likewise.
37919 * math/s_clog10f.c: Likewise.
37920 * math/s_clog10l.c: Likewise.
37921 * math/s_clogf.c: Likewise.
37922 * math/s_clogl.c: Likewise.
37923 * math/s_csqrt.c: Likewise.
37924 * math/s_csqrtf.c: Likewise.
37925 * math/s_csqrtl.c: Likewise.
37926 * math/s_ctanf.c: Likewise.
37927 * math/s_ctanh.c: Likewise.
37928 * math/s_ctanhf.c: Likewise.
37929 * math/s_ctanhl.c: Likewise.
37930 * math/s_ctanl.c: Likewise.
37931
bc62c2fb
UD
37932 * math/math_private.h: Define __nan, __nanf, __nanl.
37933 * math/s_cacosh.c: Include <math_private.h>.
37934 * math/s_cacoshl.c: Likewise.
37935 * math/s_casinh.c: Likewise.
37936 * math/s_casinhf.c: Likewise.
37937 * math/s_casinhl.c: Likewise.
37938 * math/s_ccos.c: Rely entire on ccosh.
37939 * math/s_ccosf.c: Rely entire on ccoshf.
37940 * math/s_ccosl.c: Rely entirely on ccoshl.
37941 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37942 Remove tests for FE_INVALID.
37943 * math/s_ccoshf.c: Likewise.
37944 * math/s_ccoshl.c: Likewise.
37945 * math/s_csin.c: Likewise.
37946 * math/s_csinf.c: Likewise.
37947 * math/s_csinh.c Likewise.
37948 * math/s_csinhf.c: Likewise.
37949 * math/s_csinhl.c: Likewise.
37950 * math/s_csinl.c: Likewise.
37951 * math/s_ctan.c: Likewise.
37952 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37953 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37954 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37955
8ec250a4
UD
379562011-10-21 Ulrich Drepper <drepper@gmail.com>
37957
c196fed8
UD
37958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37959 compilation problems.
37960
8ec250a4
UD
37961 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37962 __builtin_expect.
37963
8d4f46c6
UD
379642011-10-20 Ulrich Drepper <drepper@gmail.com>
37965
ed72b654
UD
37966 * sysdeps/i386/configure.in: Test for -mfma4 option.
37967 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37968 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37969 COMMON_CPUID_INDEX_80000001.
37970 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37971 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37972 use it if FMA3 is not supported.
37973 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37974
8d4f46c6
UD
37975 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37976 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37977
d45c60c2
AS
379782011-10-20 Andreas Schwab <schwab@redhat.com>
37979
37980 [BZ #12892]
37981 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37982 it would create a cycle with a link time dependency.
37983
d9a4d2ab
UD
379842011-10-19 Ulrich Drepper <drepper@gmail.com>
37985
855d1560
UD
37986 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37987 instruction.
37988 * string/Makefile (strop-tests): Add rawmemchr.
37989 * string/test-rawmemchr.c: New file.
37990
d9a4d2ab
UD
37991 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37993 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37994 when compiling str{,n}casecmp and when AVX is available. Hook up
37995 new optimized code in initializers.
37996
8f3b1ffe
AS
379972011-10-19 Andreas Schwab <schwab@redhat.com>
37998
37999 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38000 __feraiseexcept instead of feraiseexcept.
38001
d38f1dba
UD
380022011-10-18 Ulrich Drepper <drepper@gmail.com>
38003
d9a8d0ab
UD
38004 * math/math_private.h: Define defaults for libc_fetestexcept and
38005 libc_feupdateenv.
38006 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38007 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38008 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38009 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38010 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38011 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38012 libc_fetestexcept and libc_feupdateenv.
38013
4855e3dd
UD
38014 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38015 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38016 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38017 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38018 libc_feholdexcept_setround.
38019
581d30e3
UD
38020 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38021 Add s_nearbyint-c and s_nearbyintf-c.
38022 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38023 nearbyintf inlines.
38024 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38025 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38026 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38027 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38028
d38f1dba
UD
38029 * math/math_private.h: Define defaults for libc_fegetround,
38030 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38031 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38032 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38034 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38035 standard functions.
38036 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38037 Remove comments and hacks for old compiler versions.
38038 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38039 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38040 libc_feholdexceptl.
38041
caa6c9d8
AS
380422011-10-18 Andreas Schwab <schwab@redhat.com>
38043
38044 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
38045 (__feraiseexcept_renamed): Add __NTH.
38046 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
38047 namespace violations.
38048
97c066e6
UD
380492011-10-17 Ulrich Drepper <drepper@gmail.com>
38050
99ce7b04
UD
38051 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38052
1004d182
UD
38053 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38054
228a984d
UD
38055 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38056 recently added interfaces.
38057 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38058
c8553a6a
UD
38059 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38060 about macro parameter expansion.
38061
ed22dcf6
UD
38062 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38063 __NO_MATH_INLINES is defined. Cleanups.
38064
38065 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38066 and __floorf is target has SSE4.1.
38067 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38068 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38069 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38070 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38071
b171c137
UD
38072 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38073 name.
38074 (floorf): Likewise.
38075
97c066e6
UD
38076 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38077
629f62ef
AS
380782011-10-17 Andreas Schwab <schwab@redhat.com>
38079
49a43d80
AS
38080 * misc/sys/cdefs.h: Fix last change.
38081
629f62ef
AS
38082 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38083 database lookup.
38084
e453f6cd
UD
380852011-10-16 Ulrich Drepper <drepper@gmail.com>
38086
aa78043a
UD
38087 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38088
ad0f5cad
UD
38089 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38090 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38091 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38092 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38093 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38094 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38095 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38096 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38097 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38098 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38099 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38100 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38101 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38102 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38103 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38104 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38105 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38106 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38107 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38108 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38109 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38110 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38111
38112 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38113 ceil, ceilf, floor, floorf.
38114
38115 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38116 Perform IRELATIVE relocations last.
38117
e453f6cd
UD
38118 * elf/do-rel.h: Add another parameter nrelative, replacing the
38119 local variable with the same name. Change name of the function
38120 to end in Rel or Rela (uppercase).
38121 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38122 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38123 elf_dynamic_do_##reloc function.
38124
fd5bdc09
UD
381252011-10-15 Ulrich Drepper <drepper@gmail.com>
38126
79b195b5
UD
38127 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38128 is sufficient, at least on modern CPUs.
38129
d4a28569
UD
38130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38131
b61099b5
UD
38132 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38133 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38134
bcf01e6d
UD
38135 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38136 __expl_finite.
38137 * math/bits/math-finite.h: Add entries for exp.
38138 * math/e_expl.c: Add __*_finite alias.
38139 * sysdeps/i386/fpu/e_exp.S: Likewise.
38140 * sysdeps/i386/fpu/e_expf.S: Likewise.
38141 * sysdeps/i386/fpu/e_expl.c: Likewise.
38142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38143 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38144 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38146 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38147 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38148 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38149
ba1a0d59
UD
38150 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38151 is sufficient, at least on modern CPUs.
38152
fd5bdc09
UD
38153 * ctype/ctype-info.c (__ctype_init): Define.
38154 * include/ctype.h (__ctype_init): Declare.
38155 (__ctype_b_loc): The variable is always initialized.
38156 (__ctype_toupper_loc): Likewise.
38157 (__ctype_tolower_loc): Likewise.
38158 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38159 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38160
7872cfb0
AS
381612011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38162
b468825a
AS
38163 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38164
7872cfb0
AS
38165 * configure.in: Also look in $cxxmachine/include for C++ system
38166 headers.
38167
be13f7bf
LD
381682011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38169
38170 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38171 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38172 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38173 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38174 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38175 (USE_AS_WMEMCMP): New macro.
38176 Fixing indents.
38177 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38178 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38179 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38180 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38182 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38183 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38184 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38185 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38186 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38187 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38188 (USE_AS_WMEMCMP): New macro.
38189 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38190 * sysdeps/string/test-memcmp.c: Update.
38191 Fix simple_wmemcmp.
38192 Add new tests.
38193 * wcsmbs/wmemcmp.c: Update.
38194 (WMEMCMP): New macro.
38195 Fix overflow bug.
38196
556a2007
AJ
381972011-10-12 Andreas Jaeger <aj@suse.de>
38198
38199 [BZ #13268]
38200 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38201
538faaa7
UD
382022011-10-15 Ulrich Drepper <drepper@gmail.com>
38203
ab6737ff
UD
38204 * libio/iofwide.c (do_length): Avoid warning.
38205
538faaa7
UD
38206 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38207
396a21b1
UD
382082011-10-14 Ulrich Drepper <drepper@gmail.com>
38209
cdf2901f
UD
38210 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38211
38ad40ce
UD
38212 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38213 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38214 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38215 * sysdeps/i386/i686/fpu/e_log.S: New file.
38216 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38217 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38218
396a21b1
UD
38219 * ctype/ctype.h: Add support for inlined isXXX functions when
38220 compiling C++ code.
38221
6b1f68c9
AS
382222011-10-14 Andreas Schwab <schwab@redhat.com>
38223
349290c0
AS
38224 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38225
6b1f68c9
AS
38226 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38227
f2282d42
RM
382282011-10-13 Roland McGrath <roland@hack.frob.com>
38229
38230 [BZ #13291]
38231 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38232
5298ffa8
AS
382332011-10-13 Andreas Schwab <schwab@redhat.com>
38234
714fad23
AS
38235 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38236 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38237 feraiseexcept.
38238
81dcc7fb
AS
38239 * sysdeps/x86_64/memrchr.S: Check for zero size.
38240
5298ffa8
AS
38241 * string/stratcliff.c: Add memrchr tests.
38242
951fbcec
LD
382432011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38244
38245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38246 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38247 rawmemchr-sse2 rawmemchr-sse2-bsf.
38248 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38249 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38250 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38251 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38252 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38253 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38254 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38255 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38256 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38257 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38258 * string/memrchr.c (MEMRCHR): New macro.
38259
0ac5ae23
UD
382602011-10-12 Ulrich Drepper <drepper@gmail.com>
38261
38262 Add integration with gcc's -ffinite-math-only and optimize wrapper
38263 functions in libm.
38264 * Versions.def: Define GLIBC_2.15 version for libm.
38265 * math/Makefile (headers): Add bits/math-finite.h.
38266 * math/bits/math-finite.h: New file.
38267 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38268 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38269 * math/e_acoshl.c: Add __*_finite alias.
38270 * math/e_acosl.c: Likewise.
38271 * math/e_asinl.c: Likewise.
38272 * math/e_atan2l.c: Likewise.
38273 * math/e_atanhl.c: Likewise.
38274 * math/e_coshl.c: Likewise.
38275 * math/e_exp10.c: Likewise.
38276 * math/e_exp10f.c: Likewise.
38277 * math/e_exp10l.c: Likewise.
38278 * math/e_exp2l.c: Likewise.
38279 * math/e_fmodl.c: Likewise.
38280 * math/e_gammal_r.c: Likewise.
38281 * math/e_hypotl.c: Likewise.
38282 * math/e_j0l.c: Likewise.
38283 * math/e_j1l.c: Likewise.
38284 * math/e_jnl.c: Likewise.
38285 * math/e_lgammal_r.c: Likewise.
38286 * math/e_log10l.c: Likewise.
38287 * math/e_log2l.c: Likewise.
38288 * math/e_logl.c: Likewise.
38289 * math/e_powl.c: Likewise.
38290 * math/e_sinhl.c: Likewise.
38291 * math/e_sqrtl.c: Likewise.
38292 * math/e_scalb.c: Completely rewritten and optimized.
38293 * math/e_scalbf.c: Likewise.
38294 * math/e_scalbl.c: Likewise.
38295 * math/w_acos.c: Likewise.
38296 * math/w_acosf.c: Likewise.
38297 * math/w_acosl.c: Likewise.
38298 * math/w_acosh.c: Likewise.
38299 * math/w_acoshf.c: Likewise.
38300 * math/w_acoshl.c: Likewise.
38301 * math/w_asin.c: Likewise.
38302 * math/w_asinf.c: Likewise.
38303 * math/w_asinl.c: Likewise.
38304 * math/w_atan2.c: Likewise.
38305 * math/w_atan2f.c: Likewise.
38306 * math/w_atan2l.c: Likewise.
38307 * math/w_atanh.c: Likewise.
38308 * math/w_atanhf.c: Likewise.
38309 * math/w_atanhl.c: Likewise.
38310 * math/w_exp10.c: Likewise.
38311 * math/w_exp10f.c: Likewise.
38312 * math/w_exp10l.c: Likewise.
38313 * math/w_fmod.c: Likewise.
38314 * math/w_fmodf.c: Likewise.
38315 * math/w_fmodl.c: Likewise.
38316 * math/w_j0.c: Likewise.
38317 * math/w_j0f.c: Likewise.
38318 * math/w_j0l.c: Likewise.
38319 * math/w_j1.c: Likewise.
38320 * math/w_j1f.c: Likewise.
38321 * math/w_j1l.c: Likewise.
38322 * math/w_jn.c: Likewise.
38323 * math/w_jnf.c: Likewise.
38324 * math/w_log.c: Likewise.
38325 * math/w_logf.c: Likewise.
38326 * math/w_logl.c: Likewise.
38327 * math/w_log10.c: Likewise.
38328 * math/w_log10f.c: Likewise.
38329 * math/w_log10l.c: Likewise.
38330 * math/w_log2.c: Likewise.
38331 * math/w_log2f.c: Likewise.
38332 * math/w_log2l.c: Likewise.
38333 * math/w_pow.c: Likewise.
38334 * math/w_powf.c: Likewise.
38335 * math/w_powl.c: Likewise.
38336 * math/w_remainder.c: Likewise.
38337 * math/w_remainderf.c: Likewise.
38338 * math/w_remainderl.c: Likewise.
38339 * math/w_scalb.c: Likewise.
38340 * math/w_scalbf.c: Likewise.
38341 * math/w_scalbl.c: Likewise.
38342 * math/w_sqrt.c: Likewise.
38343 * math/w_sqrtf.c: Likewise.
38344 * math/w_sqrtl.c: Likewise.
38345 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38346 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38347 used.
38348 * math/math_private.h: Declare __kernel_standard_f.
38349 * math/w_cosh.c: Remove cruft and optimize a bit.
38350 * math/w_coshf.c: Likewise.
38351 * math/w_coshl.c: Likewise.
38352 * math/w_exp2.c: Likewise.
38353 * math/w_exp2f.c: Likewise.
38354 * math/w_exp2l.c: Likewise.
38355 * math/w_hypot.c: Likewise.
38356 * math/w_hypotf.c: Likewise.
38357 * math/w_hypotl.c: Likewise.
38358 * math/w_lgamma.c: Likewise.
38359 * math/w_lgamma_r.c: Likewise.
38360 * math/w_lgammaf.c: Likewise.
38361 * math/w_lgammaf_r.c: Likewise.
38362 * math/w_lgammal.c: Likewise.
38363 * math/w_lgammal_r.c: Likewise.
38364 * math/w_sinh.c: Likewise.
38365 * math/w_sinhf.c: Likewise.
38366 * math/w_sinhl.c: Likewise.
38367 * math/w_tgamma.c: Likewise.
38368 * math/w_tgammaf.c: Likewise.
38369 * math/w_tgammal.c: Likewise.
38370 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38371 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38372 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38373 Minor optimizations. Pretty printing. Remove cruft.
38374 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38375 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38376 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38377 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38378 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38379 * sysdeps/i386/fpu/e_asin.S: Likewise.
38380 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38381 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38382 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38383 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38384 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38385 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38387 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38388 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38389 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38390 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38391 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38392 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38393 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38394 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38395 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38396 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38397 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38398 * sysdeps/i386/fpu/e_log.S: Likewise.
38399 * sysdeps/i386/fpu/e_log10.S: Likewise.
38400 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38401 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38402 * sysdeps/i386/fpu/e_log2.S: Likewise.
38403 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38404 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38405 * sysdeps/i386/fpu/e_logf.S: Likewise.
38406 * sysdeps/i386/fpu/e_logl.S: Likewise.
38407 * sysdeps/i386/fpu/e_pow.S: Likewise.
38408 * sysdeps/i386/fpu/e_powf.S: Likewise.
38409 * sysdeps/i386/fpu/e_powl.S: Likewise.
38410 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38411 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38412 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38413 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38414 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38415 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38416 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38417 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38418 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38419 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38420 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38422 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38423 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38424 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38425 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38426 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38427 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38428 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38429 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38430 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38432 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38433 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38435 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38436 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38439 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38440 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38441 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38442 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38443 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38444 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38445 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38446 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38447 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38448 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38449 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38450 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38451 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38452 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38453 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38454 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38455 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38456 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38457 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38458 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38459 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38460 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38461 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38462 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38463 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38464 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38465 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38466 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38467 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38468 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38469 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38470 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38471 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38472 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38473 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38474 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38475 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38476 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38477 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38478 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38479 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38480 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38483 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38484 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38485 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38486 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38488 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38489 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38490 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38491 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38492 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38493 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38494 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38495 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38496 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38497 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38498 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38499 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38500 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38501 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38502 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38503 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38504 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38505 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38506 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38507 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38508 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38509 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38510 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38511 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38512 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38513 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38514 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38515 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38516 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38517 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38518 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38519 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38520 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38521 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38522 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38523 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38524 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38525 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38526 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38527 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38528 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38529 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38530 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38531 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38532 (__isnanf): Likewise.
38533 (__isinf_ns): Likewise.
38534 (__isinf_nsf): Likewise.
38535 (__finite): Likewise.
38536 (__finitef): Likewise.
38537 (__ieee754_sqrt): Define as macro.
38538 (__ieee754_sqrtf): Define as macro.
38539 (__ieee754_sqrtl): Define as macro.
38540 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38541 inlined copy.
38542 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38543 __FINITE_MATH_ONLY__ consistent.
38544 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38545
12cc2fcd
AS
385462011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38547
a843a204
AS
38548 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38549 of rawmemchr.
38550
12cc2fcd
AS
38551 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38552
c853acd5
UD
385532011-10-09 Ulrich Drepper <drepper@gmail.com>
38554
38555 * po/ja.po: Update from translation team.
38556
c658d255
RM
385572011-10-08 Roland McGrath <roland@hack.frob.com>
38558
110946e4
RM
38559 * locale/programs/locarchive.c (prepare_address_space): New function.
38560 (create_archive, enlarge_archive, open_archive): Use it.
38561
50604220
RM
38562 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38563 inside [SHARED], where it is used.
38564
c658d255
RM
38565 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38566
38567 * nss/getent.c (netgroup_keys): Remove unused variable.
38568 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38569
6a621eb7
UD
385702011-10-08 Ulrich Drepper <drepper@gmail.com>
38571
7edb55ce
UD
38572 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38573 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38575 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38576 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38577 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38578 * math/Makefile (libm-calls): Add s_isinf_ns.
38579 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38580 * math/multc3.c: Likewise.
38581 * math/s_casin.c: Likewise.
38582 * math/s_casinf.c: Likewise.
38583 * math/s_casinl.c: Likewise.
38584 * math/s_ccos.c: Likewise.
38585 * math/s_ccosf.c: Likewise.
38586 * math/s_ccosl.c: Likewise.
38587 * math/s_ctan.c: Likewise.
38588 * math/s_ctanf.c: Likewise.
38589 * math/s_ctanh.c: Likewise.
38590 * math/s_ctanhf.c: Likewise.
38591 * math/s_ctanhl.c: Likewise.
38592 * math/s_ctanl.c: Likewise.
38593 * math/w_fmod.c: Likewise.
38594 * math/w_fmodf.c: Likewise.
38595 * math/w_fmodl.c: Likewise.
38596 * math/w_remainder.c: Likewise.
38597 * math/w_remainderf.c: Likewise.
38598 * math/w_remainderl.c: Likewise.
38599 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38600 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38601 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38603 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38604 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38605 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38606 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38607
187da0ae
UD
38608 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38609 of the number.
38610 * stdio-common/printf_fphex.c: Likewise.
38611 * stdio-common/printf_size.c: Likewise.
38612
9277c064
UD
38613 * math/e_exp10.c: Include math_private.h using <...> not "...".
38614 * math/e_exp10f.c: Likewise.
38615 * math/e_exp10l.c: Likewise.
38616 * math/e_exp2l.c: Likewise.
38617 * math/e_j0l.c: Likewise.
38618 * math/e_j1l.c: Likewise.
38619 * math/e_jnl.c: Likewise.
38620 * math/e_lgammal_r.c: Likewise.
38621 * math/e_rem_pio2l.c: Likewise.
38622 * math/e_scalb.c: Likewise.
38623 * math/e_scalbf.c: Likewise.
38624 * math/e_scalbl.c: Likewise.
38625 * math/k_cosl.c: Likewise.
38626 * math/k_sinl.c: Likewise.
38627 * math/k_tanl.c: Likewise.
38628 * math/s_cacoshf.c: Likewise.
38629 * math/s_catan.c: Likewise.
38630 * math/s_catanf.c: Likewise.
38631 * math/s_catanh.c: Likewise.
38632 * math/s_catanhf.c: Likewise.
38633 * math/s_catanhl.c: Likewise.
38634 * math/s_catanl.c: Likewise.
38635 * math/s_ccosh.c: Likewise.
38636 * math/s_ccoshf.c: Likewise.
38637 * math/s_ccoshl.c: Likewise.
38638 * math/s_cexp.c: Likewise.
38639 * math/s_cexpf.c: Likewise.
38640 * math/s_cexpl.c: Likewise.
38641 * math/s_clog.c: Likewise.
38642 * math/s_clog10.c: Likewise.
38643 * math/s_clog10f.c: Likewise.
38644 * math/s_clog10l.c: Likewise.
38645 * math/s_clogf.c: Likewise.
38646 * math/s_clogl.c: Likewise.
38647 * math/s_csin.c: Likewise.
38648 * math/s_csinf.c: Likewise.
38649 * math/s_csinh.c: Likewise.
38650 * math/s_csinhf.c: Likewise.
38651 * math/s_csinhl.c: Likewise.
38652 * math/s_csinl.c: Likewise.
38653 * math/s_csqrt.c: Likewise.
38654 * math/s_csqrtf.c: Likewise.
38655 * math/s_csqrtl.c: Likewise.
38656 * math/s_ctan.c: Likewise.
38657 * math/s_ctanf.c: Likewise.
38658 * math/s_ctanh.c: Likewise.
38659 * math/s_ctanhf.c: Likewise.
38660 * math/s_ctanhl.c: Likewise.
38661 * math/s_ctanl.c: Likewise.
38662 * math/s_ldexp.c: Likewise.
38663 * math/s_ldexpf.c: Likewise.
38664 * math/s_ldexpl.c: Likewise.
38665 * math/s_significand.c: Likewise.
38666 * math/s_significandf.c: Likewise.
38667 * math/s_significandl.c: Likewise.
38668 * math/w_acos.c: Likewise.
38669 * math/w_acosf.c: Likewise.
38670 * math/w_acosh.c: Likewise.
38671 * math/w_acoshf.c: Likewise.
38672 * math/w_acoshl.c: Likewise.
38673 * math/w_acosl.c: Likewise.
38674 * math/w_asin.c: Likewise.
38675 * math/w_asinf.c: Likewise.
38676 * math/w_asinl.c: Likewise.
38677 * math/w_atan2.c: Likewise.
38678 * math/w_atan2f.c: Likewise.
38679 * math/w_atan2l.c: Likewise.
38680 * math/w_atanh.c: Likewise.
38681 * math/w_atanhf.c: Likewise.
38682 * math/w_atanhl.c: Likewise.
38683 * math/w_cosh.c: Likewise.
38684 * math/w_coshf.c: Likewise.
38685 * math/w_coshl.c: Likewise.
38686 * math/w_dremf.c: Likewise.
38687 * math/w_exp10.c: Likewise.
38688 * math/w_exp10f.c: Likewise.
38689 * math/w_exp10l.c: Likewise.
38690 * math/w_exp2.c: Likewise.
38691 * math/w_exp2f.c: Likewise.
38692 * math/w_fmod.c: Likewise.
38693 * math/w_fmodf.c: Likewise.
38694 * math/w_fmodl.c: Likewise.
38695 * math/w_hypot.c: Likewise.
38696 * math/w_hypotf.c: Likewise.
38697 * math/w_hypotl.c: Likewise.
38698 * math/w_j0.c: Likewise.
38699 * math/w_j0f.c: Likewise.
38700 * math/w_j0l.c: Likewise.
38701 * math/w_j1.c: Likewise.
38702 * math/w_j1f.c: Likewise.
38703 * math/w_j1l.c: Likewise.
38704 * math/w_jn.c: Likewise.
38705 * math/w_jnf.c: Likewise.
38706 * math/w_jnl.c: Likewise.
38707 * math/w_lgamma.c: Likewise.
38708 * math/w_lgamma_r.c: Likewise.
38709 * math/w_lgammaf.c: Likewise.
38710 * math/w_lgammaf_r.c: Likewise.
38711 * math/w_lgammal.c: Likewise.
38712 * math/w_lgammal_r.c: Likewise.
38713 * math/w_log.c: Likewise.
38714 * math/w_log10.c: Likewise.
38715 * math/w_log10f.c: Likewise.
38716 * math/w_log10l.c: Likewise.
38717 * math/w_log2.c: Likewise.
38718 * math/w_log2f.c: Likewise.
38719 * math/w_log2l.c: Likewise.
38720 * math/w_logf.c: Likewise.
38721 * math/w_logl.c: Likewise.
38722 * math/w_pow.c: Likewise.
38723 * math/w_powf.c: Likewise.
38724 * math/w_powl.c: Likewise.
38725 * math/w_remainder.c: Likewise.
38726 * math/w_remainderf.c: Likewise.
38727 * math/w_remainderl.c: Likewise.
38728 * math/w_scalb.c: Likewise.
38729 * math/w_scalbf.c: Likewise.
38730 * math/w_scalbl.c: Likewise.
38731 * math/w_sinh.c: Likewise.
38732 * math/w_sinhf.c: Likewise.
38733 * math/w_sinhl.c: Likewise.
38734 * math/w_sqrt.c: Likewise.
38735 * math/w_sqrtf.c: Likewise.
38736 * math/w_sqrtl.c: Likewise.
38737 * math/w_tgamma.c: Likewise.
38738 * math/w_tgammaf.c: Likewise.
38739 * math/w_tgammal.c: Likewise.
38740
6a621eb7
UD
38741 * po/ja.po: Update from translation team.
38742
bf582445
AJ
387432011-09-29 Andreas Jaeger <aj@suse.de>
38744
f9efbf3a
AJ
38745 [BZ #13179]
38746 * sunrpc/netname.c (netname2host): Fix logic.
38747
bf582445
AJ
38748 [BZ #6779]
38749 [BZ #6783]
38750 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38751 correctly.
38752 * math/w_remainder.c (__remainder): Likewise.
38753 * math/w_remainderf.c (__remainderf): Likewise.
38754 * math/libm-test.inc (remainder_test): Add test cases.
38755
48693bea
AK
387562011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38757
38758 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38759 sdiv_qrnnd.
38760
42622229
LD
387612011-10-07 Ulrich Drepper <drepper@gmail.com>
38762
38763 * string/test-memcmp.c: Avoid unncessary #defines.
38764 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38765
093ecf92
LD
387662011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38767
38768 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38769 Use new sse2 version for core i3 - i7 as it's faster
38770 than sse42 version.
38771 (bit_Prefer_PMINUB_for_stringop): New.
38772 * sysdeps/x86_64/rawmemchr.S: Update.
38773 Replace with faster SSE2 version.
38774 * sysdeps/x86_64/memrchr.S: New file.
38775 * sysdeps/x86_64/memchr.S: Update.
38776 Replace with faster SSE2 version.
38777
fde56e5c
MP
387782011-09-12 Marek Polacek <mpolacek@redhat.com>
38779
38780 * elf/dl-load.c (lose): Add cast to avoid warning.
38781
21fd49a9
UD
387822011-10-07 Ulrich Drepper <drepper@gmail.com>
38783
5a06e643
UD
38784 * po/ca.po: Update from translation team.
38785
684ae515
UD
38786 * inet/getnetgrent_r.c: Hook up nscd.
38787 * nscd/Makefile (routines): Add nscd_netgroup.
38788 (nscd-modules): Add netgroupcache.
38789 (CFLAGS-netgroupcache.c): Define.
38790 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38791 (cache_search): Add const to second parameter.
38792 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38793 INNETGR.
38794 (dbs): Add netgrdb entry.
38795 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38796 (verify_persistent_db): Handle netgrdb.
38797 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38798 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38799 GETFDNETGR.
38800 (netgroup_response_header): Define.
38801 (innetgroup_response_header): Define.
38802 (datahead): Add netgroup_response_header and innetgroup_response_header
38803 elements.
38804 * nscd/nscd.conf: Add entries for netgroup cache.
38805 * nscd/nscd.h (dbtype): Add netgrdb.
38806 (_PATH_NSCD_NETGROUP_DB): Define.
38807 (netgroup_iov_disabled): Declare.
38808 (xmalloc, xcalloc, xrealloc): Move declarations here.
38809 (cache_search): Adjust prototype.
38810 Add netgroup-related prototypes.
38811 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38812 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38813 (__nscd_innetgr): Declare.
38814 * nscd/selinux.c (perms): Use access_vector_t as element type and
38815 add netgroup-related initializers.
38816 * nscd/netgroupcache.c: New file.
38817 * nscd/nscd_netgroup.c: New file.
38818 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38819 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38820 For four parameters use innetgr.
38821 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38822 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38823 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38824 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38825
21fd49a9
UD
38826 * nscd/connections.c (register_traced_file): Don't register file
38827 for disabled databases.
38828
054c0457
UD
388292011-10-06 Ulrich Drepper <drepper@gmail.com>
38830
32b63198
UD
38831 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38832
054c0457
UD
38833 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38834 from tree and freeing node.
38835
64031225
JO
388362011-09-25 Jiri Olsa <jolsa@redhat.com>
38837
38838 * nss/nsswitch.c (__nss_database_lookup): Handle
38839 nss_parse_service_list out of memory case.
38840
0490345c
JO
388412011-09-15 Jiri Olsa <jolsa@redhat.com>
38842
38843 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38844 out of memory case.
38845
3a62d00d
AS
388462011-10-04 Andreas Schwab <schwab@redhat.com>
38847
38848 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38849 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38850 pass it down.
38851 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38852 elf_machine_rela, elf_machine_lazy_rel.
38853 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38854 (ELF_DYNAMIC_DO_REL): Likewise.
38855 (ELF_DYNAMIC_DO_RELA): Likewise.
38856 (ELF_DYNAMIC_RELOCATE): Likewise.
38857 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38858 to ELF_DYNAMIC_DO_REL.
38859 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38860 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38861 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38862 elf_machine_rela.
38863 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38864 skip_ifunc, don't call ifunc function if non-zero.
38865 (elf_machine_rela): Likewise.
38866 (elf_machine_lazy_rel): Likewise.
38867 (elf_machine_lazy_rela): Likewise.
38868 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38869 (elf_machine_lazy_rel): Likewise.
38870 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38871 Likewise.
38872 (elf_machine_lazy_rel): Likewise.
38873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38874 Likewise.
38875 (elf_machine_lazy_rel): Likewise.
38876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38877 (elf_machine_lazy_rel): Likewise.
38878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38879 (elf_machine_lazy_rel): Likewise.
38880 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38881 (elf_machine_lazy_rel): Likewise.
38882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38883 (elf_machine_lazy_rel): Likewise.
38884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38885 (elf_machine_lazy_rel): Likewise.
38886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38887 (elf_machine_lazy_rel): Likewise.
38888
68577918
UD
388892011-09-28 Ulrich Drepper <drepper@gmail.com>
38890
38891 * nss/nss_files/files-init.c (_nss_files_init): Use static
38892 initialization for all the *_traced_file variables.
38893
68822d74
AS
388942011-09-28 Andreas Schwab <schwab@redhat.com>
38895
38896 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38897
2056100b
RM
388982011-09-27 Roland McGrath <roland@hack.frob.com>
38899
38900 [BZ #13226]
38901 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38902
32c76b63
AS
389032011-09-27 Andreas Schwab <schwab@redhat.com>
38904
38905 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38906 Reread the line before reparsing it.
38907
bf972c9d
AS
389082011-09-26 Andreas Schwab <schwab@redhat.com>
38909
38910 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38911
e057a1b5
JM
389122011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38913 Maxim Kuvyrkov <maxim@codesourcery.com>
38914 Joseph Myers <joseph@codesourcery.com>
38915
38916 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38917 if needed for __stack_chk_guard.
38918
bc7e1c36
RM
389192011-09-19 Roland McGrath <roland@hack.frob.com>
38920
ecb1482f
RM
38921 * sysdeps/posix/spawni.c (script_execute): Always define it.
38922 It will be optimized away if unused.
38923 (maybe_script_execute): New function.
38924 (__spawni): Call it.
38925
bc7e1c36
RM
38926 * Makerules: Don't include tls.make.
38927 (config-tls): Always set to thread.
38928 * tls.make.c: File removed.
38929
1c3b002b
MF
389302011-09-19 Mike Frysinger <vapier@gentoo.org>
38931
38932 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38933 * config.make.in (CPPFLAGS-config): New substituted variable.
38934
2840865d
UD
389352011-09-15 Ulrich Drepper <drepper@gmail.com>
38936
88738eb6
UD
38937 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38938
cbf645a6 38939 [BZ #13192]
2840865d
UD
38940 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38941 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38942
b402e91a
RM
389432011-09-15 Roland McGrath <roland@hack.frob.com>
38944
38945 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38946 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38948 (CALL_FAIL): Likewise.
38949 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38950 (CALL_FAIL): Macro removed.
38951 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38952
4c1a1f71
UD
389532011-09-15 Ulrich Drepper <drepper@gmail.com>
38954
38955 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38956 for __FINITE_MATH_ONLY__ == 1.
38957
edc121be
AS
389582011-09-15 Andreas Schwab <schwab@redhat.com>
38959
38960 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38961 __ieee754_sqrt instead of sqrt.
38962 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38963 __ieee754_sqrtf instead of sqrtf.
38964 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38965 __floorf instead of floorf.
38966 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38967 __floorf, __truncf instead of floorf, truncf.
38968
cd205654
UD
389692011-09-14 Ulrich Drepper <drepper@gmail.com>
38970
ee4d0315
UD
38971 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38972
cd205654
UD
38973 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38974 __extern_always_inline.
38975 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38976 32-bit.
38977
48b67d71
AS
389782011-09-14 Andreas Schwab <schwab@redhat.com>
38979
38980 * elf/rtld.c (dl_main): Also relocate in dependency order when
38981 doing symbol dependency testing.
38982
1ae12c75
AS
389832011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38984
38985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38986 Always define `refsym'.
38987
995a80df
AS
389882011-09-13 Andreas Schwab <schwab@redhat.com>
38989
e529793b
AS
38990 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38991 (__FD_ELT): Renamed from __FDELT.
38992 * misc/bits/select2.h (__FD_ELT): Likewise.
38993 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38994 __FD_MASK instead of __FDELT, __FDMASK.
38995 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38996 Likewise.
38997 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38998 Likewise.
38999
52d4fef8
AS
39000 * elf/Makefile (gen-ldd): Fix pattern.
39001
995a80df
AS
39002 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39003 (init_tls): Likewise.
39004
8682f8b0
UD
390052011-09-12 Ulrich Drepper <drepper@gmail.com>
39006
39007 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39008
de82006d
AS
390092011-09-12 Andreas Schwab <schwab@redhat.com>
39010
a7c8e6a1
AS
39011 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39012 `struct cmsghdr *' instead of `void *'.
39013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39014 Likewise.
39015
0f31fe77
AS
390162011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39017
39018 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39019 if non-absolute.
39020 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39021 ldd_rewrite_script.
0f31fe77 39022
32b4c839
UD
390232011-09-11 Ulrich Drepper <drepper@gmail.com>
39024
83cd1420
UD
39025 * configure.in: Remove --with-tls option.
39026 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39027 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39028 out in case it is missing.
39029 * sysdeps/ia64/elf/configure.in: Likewise.
39030 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39031 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39032 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39033 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39034 * sysdeps/sh/elf/configure.in: Likewise.
39035 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39036 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39037 * sysdeps/x86_64/elf/configure.in: Likewise.
39038 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39039 * sysdeps/mach/hurd/tls.h: Likewise.
39040
633f745d
UD
39041 [BZ #13067]
39042 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39043
f318beb8
UD
39044 [BZ #13090]
39045 * configure.in: Fix use of AC_INIT.
39046
32b4c839
UD
39047 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39048
3ce1f295
UD
390492011-09-10 Ulrich Drepper <drepper@gmail.com>
39050
bb016596
UD
39051 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39052 __set_errno.
8e58439c
UD
39053 * malloc/hooks.c: Likewise.
39054
aebae053 39055 [BZ #11929]
02d46fc4
UD
39056 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39057 variables statically.
39058 (narenas): Initialize.
39059 (list_lock): Initialize.
bb016596
UD
39060 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39061 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
39062 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39063 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39064 Add initializers to main_arena and mp_.
39065 (malloc_state): Remove pagesize member. Change all users to use
39066 GLRO(dl_pagesize).
39067
39068 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39069 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39070 is always initialized.
39071
22a89187
UD
39072 * malloc/malloc.c: Removed unused configurations and dead code.
39073 * malloc/arena.c: Likewise.
39074 * malloc/hooks.c: Likewise.
02d46fc4 39075 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 39076
d063d164
UD
39077 * include/tls.h: Removed. USE___THREAD must always be defined.
39078 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39079 * elf/dl-libc.c: Likewise.
39080 * elf/dl-tsd.c: Likewise.
39081 * include/errno.h: Likewise.
39082 * include/netdb.h: Likewise.
39083 * include/resolv.h: Likewise.
39084 * inet/herrno-loc.c: Likewise.
39085 * inet/herrno.c: Likewise.
39086 * malloc/arena.c: Likewise.
39087 * malloc/hooks.c: Likewise.
39088 * malloc/malloc.c: Likewise.
39089 * resolv/res-state.c: Likewise.
39090 * resolv/res_libc.c: Likewise.
39091 * sysdeps/i386/dl-machine.h: Likewise.
39092 * sysdeps/ia64/dl-machine.h: Likewise.
39093 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39094 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39095 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39096 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39097 * sysdeps/sh/dl-machine.h: Likewise.
39098 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39099 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39100 * sysdeps/unix/i386/sysdep.S: Likewise.
39101 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39102 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39103 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39105 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39106 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39107 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39111 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39112 * sysdeps/x86_64/dl-machine.h: Likewise.
39113 * tls.make.c: Likewise.
39114
3ce1f295
UD
39115 * configure.in: Remove --with-__thread option. Make tests for
39116 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39117 tls_model attribute fail if no support is available. Remove
39118 USE_IN_LIBIO.
39119 * Makeconfig: Adjust for dropped configure option. All features are
39120 now mandatory.
39121 * Makerules: Likewise.
39122 * Versions.def: Likewise.
39123 * argp/argp-fmtstream.c: Likewise.
39124 * argp/argp-fmtstream.h: Likewise.
39125 * argp/argp-help.c: Likewise.
39126 * assert/assert.c: Likewise.
39127 * config.h.in: Likewise.
39128 * config.make.in: Likewise.
39129 * configure: Likewise.
39130 * configure.in: Likewise.
39131 * csu/Versions: Likewise.
39132 * csu/init.c: Likewise.
39133 * elf/tst-audit2.c: Likewise.
39134 * elf/tst-tls10.c: Likewise.
39135 * elf/tst-tls10.h: Likewise.
39136 * elf/tst-tls11.c: Likewise.
39137 * elf/tst-tls12.c: Likewise.
39138 * elf/tst-tls14.c: Likewise.
39139 * elf/tst-tlsmod11.c: Likewise.
39140 * elf/tst-tlsmod12.c: Likewise.
39141 * elf/tst-tlsmod13.c: Likewise.
39142 * elf/tst-tlsmod13a.c: Likewise.
39143 * elf/tst-tlsmod14a.c: Likewise.
39144 * elf/tst-tlsmod15b.c: Likewise.
39145 * elf/tst-tlsmod16a.c: Likewise.
39146 * elf/tst-tlsmod16b.c: Likewise.
39147 * elf/tst-tlsmod7.c: Likewise.
39148 * elf/tst-tlsmod8.c: Likewise.
39149 * elf/tst-tlsmod9.c: Likewise.
39150 * gmon/gmon.c: Likewise.
39151 * grp/fgetgrent_r.c: Likewise.
39152 * grp/putgrent.c: Likewise.
39153 * hurd/fopenport.c: Likewise.
39154 * include/libc-symbols.h: Likewise.
39155 * include/tls.h: Likewise.
39156 * intl/gettextP.h: Likewise.
39157 * intl/loadinfo.h: Likewise.
39158 * locale/global-locale.c: Likewise.
39159 * locale/localeinfo.h: Likewise.
39160 * mach/devstream.c: Likewise.
39161 * malloc/arena.c: Likewise.
39162 * malloc/set-freeres.c: Likewise.
39163 * misc/err.c: Likewise.
39164 * misc/getttyent.c: Likewise.
39165 * misc/mntent_r.c: Likewise.
39166 * posix/getopt.c: Likewise.
39167 * posix/wordexp.c: Likewise.
39168 * pwd/fgetpwent_r.c: Likewise.
39169 * resolv/Versions: Likewise.
39170 * resolv/res_hconf.c: Likewise.
39171 * shadow/fgetspent_r.c: Likewise.
39172 * shadow/putspent.c: Likewise.
39173 * stdio-common/printf_fphex.c: Likewise.
39174 * stdio-common/tmpfile.c: Likewise.
39175 * stdlib/abort.c: Likewise.
39176 * stdlib/fmtmsg.c: Likewise.
39177 * sunrpc/auth_unix.c: Likewise.
39178 * sunrpc/clnt_perr.c: Likewise.
39179 * sunrpc/clnt_tcp.c: Likewise.
39180 * sunrpc/clnt_udp.c: Likewise.
39181 * sunrpc/clnt_unix.c: Likewise.
39182 * sunrpc/openchild.c: Likewise.
39183 * sunrpc/svc_simple.c: Likewise.
39184 * sunrpc/svc_tcp.c: Likewise.
39185 * sunrpc/svc_udp.c: Likewise.
39186 * sunrpc/svc_unix.c: Likewise.
39187 * sunrpc/xdr.c: Likewise.
39188 * sunrpc/xdr_array.c: Likewise.
39189 * sunrpc/xdr_rec.c: Likewise.
39190 * sunrpc/xdr_ref.c: Likewise.
39191 * sunrpc/xdr_stdio.c: Likewise.
39192
1248c1c4
PB
391932011-09-09 Ulrich Drepper <drepper@gmail.com>
39194
39195 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39196
391972011-07-03 Andreas Jaeger <aj@suse.de>
39198
39199 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39200 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39201 regenerate with gen-libm-tests.pl.
39202
392032010-05-12 Petr Baudis <pasky@suse.cz>
39204
39205 [BZ #11589]
39206 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39207 around j0() zero points by switching to j1().
39208 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39211 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39212
f22e1074
UD
392132011-09-09 Ulrich Drepper <drepper@gmail.com>
39214
f19009c1
UD
39215 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39216 instead of 0.
39217 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39218 instead of 0.
f19009c1
UD
39219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39220 Patch in part by Pavel Roskin <proski@gnu.org>.
39221
3f8cc204
UD
39222 [BZ #13138]
39223 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39224 realloc.
39225 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39226 Free memory block if necessary.
39227
f22e1074
UD
39228 [BZ #12847]
39229 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39230 be NULL. Don't lock in this case.
39231
0a2349f9
RM
392322011-09-09 Roland McGrath <roland@hack.frob.com>
39233
39234 * elf/elf.h (ELFOSABI_GNU): New macro.
39235 (ELFOSABI_LINUX): Define to that.
39236
f3cdd467
DZ
392372011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39238
39239 * string/strncat.c (strncat): Undef the symbol in case it has been
39240 defined in bits/string.h.
39241
74718d13
UD
392422011-09-09 Ulrich Drepper <drepper@gmail.com>
39243
633e9e0f
UD
39244 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39245
0a2349f9 39246 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39247 link map.
39248
f9924780
AJ
392492011-08-17 Andreas Jaeger <aj@suse.de>
39250
39251 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39252
7f5517aa
PP
392532011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39254 Ian Lance Taylor <iant@google.com>
39255
39256 * math/libm-test.inc (lround_test): New testcase.
39257 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39258
762011fe
UD
392592011-09-08 Ulrich Drepper <drepper@gmail.com>
39260
92963737
UD
39261 * Makefile: Remove support for automatic cvs check-ins.
39262 * Makerules: Likewise.
39263 * config.make.in: Likewise.
39264 * configure.in: Likewise.
39265 * intl/Makefile: Likewise.
39266 * locale/Makefile: Likewise.
39267 * po/Makefile: Likewise.
39268 * posix/Makefile: Likewise.
39269 * sysdeps/gnu/Makefile: Likewise.
39270 * sysdeps/mach/hurd/Makefile: Likewise.
39271 * sysdeps/sparc/sparc32/Makefile: Likewise.
39272
b0727fd8
JS
39273 [BZ #13118]
39274 * posix/Makefile (bug-regex32-ENV): Define.
39275 Patch by John Stanley <jpsinthemix@verizon.net>.
39276
a0f33f99
UD
39277 * misc/Makefile (headers): Add bits/select2.h.
39278 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39279 * misc/bits/select2.h: New file.
39280 * include/bits/select2.h: New file.
39281 * debug/Makefile (routines): Add fdelt_chk.
39282 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39283 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39284 FD_ISSET.
39285 * debug/fdelt_chk.c: New file.
39286
762011fe
UD
39287 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39288 * wcsmbs/test-wmemcmp.c: Likewise.
39289 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39290 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39291
392922011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39293
39294 * string/Makefile (strop-tests): Add memcmp.
39295 * string/test-wmemcmp.c: New file.
39296 * string/test-memcmp.c: Add wmemcmp support.
39297
7f513ec8
RM
392982011-09-08 Roland McGrath <roland@hack.frob.com>
39299
0442afb4
RM
39300 [BZ #13153]
39301 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39302 2011-07-19 change.
39303
7f513ec8
RM
39304 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39305 garbage value in a __mach_port_mod_refs call in the cases of the
39306 task-self and thread-self ports.
39307
a12b2239
ST
393082011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39309
39310 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39311
610f9ab4
AS
393122011-09-08 Andreas Schwab <schwab@redhat.com>
39313
7f513ec8 39314 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39315
48882a1a
LD
393162011-09-07 Ulrich Drepper <drepper@gmail.com>
39317
b49865be
UD
39318 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39319
fdc86bc9
UD
39320 * elf/dl-libc.c (dlerror_run): Pass back error code from
39321 dl_catch_error.
39322
c966526a
UD
39323 [BZ #13123]
39324 * elf/dl-load.c (lose): Free l_origin if it is valid.
39325
48882a1a
LD
39326 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39327 names.
39328 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39329 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39331 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39332 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39333 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39334
77a2a8b4
AZ
393352011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39336
39337 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39338 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39339 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39340 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39341 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39342 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39343 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39344 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39345 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39346 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39347
24f579d8
AM
393482011-08-15 Alan Modra <amodra@gmail.com>
39349
39350 [BZ #13092]
39351 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39352 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39353 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39354 ppc_mcount to static-only-routines.
39355 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39356 __mcount_internal.
39357 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39358 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39359
3d4837df
UD
393602011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39361
39362 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39363 for finite and infinity parameters.
39364
22700377
WS
393652011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39366
39367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39368 and add nop instructions for throughput optimization.
39369 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39370
5025581e
WS
393712011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39372
39373 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39374 aligned copy for power7 with vector-scalar instructions.
39375 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39376
08a300c9
L
393772011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39378
39379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39380 AVX check.
39381
59178ef9
AS
393822011-09-07 Andreas Schwab <schwab@redhat.com>
39383
39384 [BZ #13144]
39385 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39386 last change.
39387
e38ba7ab
UD
393882011-09-07 Ulrich Drepper <drepper@gmail.com>
39389
39390 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39391 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39392 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39393 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39394 clock_gettime.
39395
d53a73ac
UD
393962011-09-06 Ulrich Drepper <drepper@gmail.com>
39397
fc8bffcc
UD
39398 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39399 Forgot to demangle the pointer.
39400
ceaa0c5d
UD
39401 * sysdeps/i386/sysdep.h: Define atom_text_section.
39402 * sysdeps/x86_64/sysdep.h: Likewise.
39403 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39404 section with atom_text_section.
39405 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39406 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39407 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39409 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39410
a77d3c17
UD
39411 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39412 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39413 already be defined. Change to take two parameters and don't assign
39414 result to variable. Adjust all users.
39415 Define INTERNAL_GETTIME if not already defined.
39416 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39417 call.
39418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39419 HAVE_CLOCK_GETTIME_VSYSCALL.
39420 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39421
d53a73ac
UD
39422 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39423 gettimeofday vsyscall, just use time.
39424
a8f84144
AS
394252011-09-06 Andreas Schwab <schwab@redhat.com>
39426
39427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39428 <errno.h>.
39429
ef606249
UD
394302011-09-06 Ulrich Drepper <drepper@gmail.com>
39431
39432 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39433 syscall on x86-64.
39434 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39435 syscall.
39436 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39437 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39438 syscall if possible.
39439
6585cb60
UD
394402011-09-05 Ulrich Drepper <drepper@gmail.com>
39441
39442 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39443 e_ident. Don't pass to find_mapsXX.
39444 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39445
a5f524e4
LD
394462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39447
39448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39449 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39450 * sysdeps/x86_64/multiarch/strchr.S: Update.
39451 Check bit_slow_BSF bit.
39452 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39453 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39454 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39455
554881ef
UD
394562011-09-05 Ulrich Drepper <drepper@gmail.com>
39457
d96de963
UD
39458 [BZ #13134]
39459 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39460 before glibc 2.15.
39461 (tryshell): Define.
39462 (__spawni): Change last parameter to be flag. Test
39463 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39464 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39465 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39466 * posix/spawni.c: Likewise.
39467 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39468 * posix/spawnp.c: Likewise. Change normal version to use
39469 SPAWN_XFLAGS_USE_PATH.
39470 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39471 SPAWN_XFLAGS_TRY_SHELL.
39472
d48e5868
UD
39473 [BZ #13150]
39474 * posix/glob.h: Remove gcc 1.x support.
39475
554881ef
UD
39476 [BZ #13068]
39477 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39478
693fb948
LD
394792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39480
39481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39482 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39483 strrchr-sse2-bsf
39484 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39485 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39486 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39487 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39488 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39489 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39490
1b48c537
UD
394912011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39492
49d42c37
UD
39493 * sysdeps/x86_64/wcscmp.S: New file.
39494
1b48c537
UD
39495 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39496 wcscmp-c wcscmp-sse2
39497 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39498 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39499 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39500 * wcsmbs/wcscmp.c: Allow renaming.
39501
15c95c5d
DM
395022011-09-05 David S. Miller <davem@davemloft.net>
39503
39504 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39505 stack slot, rather than the struct return pointer slot.
39506 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39507 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39509 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39510
2f0ad8f3
UD
395112011-09-05 Ulrich Drepper <drepper@gmail.com>
39512
d88ae418
UD
39513 * po/ja.po: Update from translation team.
39514
2f0ad8f3
UD
39515 [BZ #13144]
39516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39517 kernel in 64-bit binaries.
39518
5f4318d1
DM
395192011-09-01 David S. Miller <davem@davemloft.net>
39520
39521 * elf/elf.h (HWCAP_SPARC_*): Move to..
39522 * sysdeps/sparc/sysdep.h: this new file and add new values.
39523 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39524 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39525 _DL_HWCAP_COUNT to 24.
39526 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39527 entries.
39528 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39529 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39530 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39532 instead of magic constants.
39533 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39534
3ba57516
DM
395352011-08-31 David S. Miller <davem@davemloft.net>
39536
39537 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39539 Reimplement to do errno handling inline.
39540 (SYSCALL_ERROR_HANDLER): New macro.
39541 (__SYSCALL_STRING): Do not do errno handling in asm.
39542 (__CLONE_SYSCALL_STRING): Delete.
39543 (__INTERNAL_SYSCALL_STRING): Delete.
39544 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39545 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39546 (PSEUDO): Reimplement to do errno handling inline.
39547 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39548 (SYSCALL_ERROR_HANDLER): New macro.
39549 (__SYSCALL_STRING): Do not do errno handling in asm.
39550 (__CLONE_SYSCALL_STRING): Delete.
39551 (__INTERNAL_SYSCALL_STRING): Delete.
39552 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39553 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39554 i386.
39555 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39556 (inline_syscall*): Add 'err' argument.
39557 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39558 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39559 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39560 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39561
39562 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39563 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39564
2bc17433
AS
395652011-08-30 Andreas Schwab <schwab@redhat.com>
39566
39567 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39568
fbeb5f4d
JO
395692011-08-29 Jiri Olsa <jolsa@redhat.com>
39570
39571 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39572 directive.
39573
ad69cc26
DM
395742011-08-24 David S. Miller <davem@davemloft.net>
39575
39576 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39577
39dd69df
AS
395782011-08-24 Andreas Schwab <schwab@redhat.com>
39579
39580 * elf/Makefile: Add rules to build and run unload8 test.
39581 * elf/unload8.c: New file.
39582 * elf/unload8mod1.c: New file.
39583 * elf/unload8mod1x.c: New file.
39584 * elf/unload8mod2.c: New file.
39585 * elf/unload8mod3.c: New file.
39586
39587 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39588 it wasn't used.
39589
2c0b250a
DM
395902011-08-23 David S. Miller <davem@davemloft.net>
39591
39592 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39593 subtract stack bias.
39594 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39595 %sp not %fp in calculations.
39596 (_JMPBUF_UNWINDS_ADJ): Likewise.
39597
22044b48
DM
39598 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39599 (aio_suspend): Call it to force an exception region around the
39600 AIO_MISC_WAIT() invocation.
39601
2cae4995
AS
396022011-08-23 Andreas Schwab <schwab@redhat.com>
39603
39604 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39605 backslash.
39606
873a772e
AJ
396072011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39608
39609 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39610 protection macro.
39611 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39612 and <dl-machine.h>.
39613 (Elf64_FuncDesc): Remove.
39614
25ad0df1
DM
396152011-08-22 David S. Miller <davem@davemloft.net>
39616
39617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39618 sigaltstack check, add missing cfi directives.
39619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39620 missing cfi directives, and sigaltstack handling.
39621
e888bcbe
AS
396222011-08-16 Andreas Schwab <schwab@redhat.com>
39623
39624 [BZ #11724]
39625 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39626 object is seen twice.
39627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39628
39629 * elf/Makefile (distribute): Add tst-initorder2.c.
39630 (tests): Add tst-initorder2.
39631 (modules-names): Add tst-initorder2a tst-initorder2b
39632 tst-initorder2c tst-initorder2d. Add rules to build them.
39633 ($(objpfx)tst-initorder2.out): New rule.
39634 * elf/tst-initorder2.c: New file.
39635 * elf/tst-initorder2.exp: New file.
39636
87162f46
AS
396372011-08-22 Andreas Schwab <schwab@redhat.com>
39638
70538b7f
AS
39639 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39640
f55ffe58
AS
39641 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39642 dependencies back to end of function.
39643
87162f46
AS
39644 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39645 $(elfobjdir)/ld.so.
39646
91b392a4
UD
396472011-08-21 Ulrich Drepper <drepper@gmail.com>
39648
39649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39650 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39651 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39652 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39653 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39654 of __vdso_gettimeofday.
39655 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39656 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39657 attribute_hidden.
39658 (_libc_vdso_platform_setup): Remove initialization of
39659 __vdso_gettimeofday and __vdso_time.
39660
5c43483f
UD
396612011-08-20 Ulrich Drepper <drepper@gmail.com>
39662
775a77e7
UD
39663 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39664 and fgetc_unlocked.
39665 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39666 getc_unlocked.
89f447ed 39667
49c74ba9
UD
39668 * elf/dl-open.c (add_to_global): Report additions to the global scope
39669 for LD_DEBUG=scopes.
39670 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39671 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39672
5c43483f
UD
39673 [BZ #13114]
39674 * stdio-common/Makefile (tests): Add bug24.
39675 * stdio-common/bug24.c: New file.
39676
a101b025
AJ
396772011-08-19 Andreas Jaeger <aj@suse.de>
39678
39679 [BZ #13114]
39680 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39681 non-existant file when using close-on-exec mode.
39682
c88f1766
UD
396832011-08-20 Ulrich Drepper <drepper@gmail.com>
39684
0276a718
UD
39685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39686 the very first instruction.
39687
c88f1766
UD
39688 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39689 the CFI state in the end.
39690 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39691 inclusion of dl-trampoline.h.
39692 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39693
51ccffa0
AS
396942011-08-19 Andreas Schwab <schwab@redhat.com>
39695
94d7165f
AS
39696 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39697 expectations for long double.
39698
51ccffa0
AS
39699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39700 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39701
fd708658 397022011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39703
39704 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39705 artificual limit depends upon the system page size.
39706
44f0a71e
UD
397072011-08-17 Ulrich Drepper <drepper@gmail.com>
39708
39709 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39710 * resolv/Makefile: Define CFLAGS-libresolv.
39711
8de79a24
AS
397122011-08-17 Andreas Schwab <schwab@redhat.com>
39713
39714 * nss/makedb.c (compute_tables): Make variables used in nested
39715 function static.
39716
27724598
UD
397172011-08-17 Ulrich Drepper <drepper@gmail.com>
39718
c5305d88
UD
39719 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39720 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39721 if buffer was too small.
39722
27724598
UD
39723 * elf/pldd.c (main): Attach to all threads in the process.
39724 Rewrite /proc handling to use *at functions.
39725
076fe015
UD
397262011-08-16 Ulrich Drepper <drepper@gmail.com>
39727
174baab3
UD
39728 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39729 specifies first scope to show.
39730 (dl_open_worker): Update callers. Move printing scope of new
39731 object to before the relocation.
44f0a71e 39732 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39733 * sysdeps/generic/ldsodefs.h: Update declaration.
39734
076fe015
UD
39735 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39736 string for the scope number.
39737
a60df2c3
UD
397382011-08-14 Ulrich Drepper <drepper@gmail.com>
39739
39740 * nscd/servicescache.c (cache_addserv): Make sure written is always
39741 initialized.
39742
5e4287d1
RM
397432011-08-14 Roland McGrath <roland@hack.frob.com>
39744
85ae0589
RM
39745 * sysdeps/i386/i486/bits/atomic.h
39746 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39747 statement expression, so as to suppress "set but not used" warning.
39748 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39749
69f63097
RM
39750 * string/strncat.c (STRNCAT): Use prototype definition.
39751
675456ef
RM
39752 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39753 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39754 -Iprograms here.
39755 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39756 (localedef-modules): Add localedef.
39757 (locale-modules): Add locale.
39758
5e4287d1
RM
39759 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39760 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39761 to avoid a warning.
39762
9c96ff23
DM
397632011-08-14 David S. Miller <davem@davemloft.net>
39764
39765 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39766 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39767
f9ddf089
UD
397682011-08-13 Ulrich Drepper <drepper@gmail.com>
39769
44f0a71e 39770 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39771 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39772 * elf/rtld.c (dl_main): Set l_name of vDSO.
39773 Call _dl_show_scope when DL_DEBUG_SCOPES.
39774 (process_dl_debug): Recognize scopes flag and also set it for all.
39775 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39776 Declare _dl_show_scope.
39777
1dc27704
UD
39778 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39779 (do_dlopen): Pass caller_dlopen to dl_open.
39780 (__libc_dlopen_mode): Initialize caller_dlopen.
39781
f9ddf089
UD
39782 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39783 of libc. Make tolower call locale-independent. Optimize a bit by
39784 using isdigit instead of isalnum.
39785 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39786
9ac533d3
UD
397872011-08-12 Ulrich Drepper <drepper@gmail.com>
39788
39789 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39790 was a dependency or dynamically loaded.
39791
89edf2e9
UD
397922011-08-11 Ulrich Drepper <drepper@gmail.com>
39793
8e999d29
UD
39794 * intl/l10nflist.c: Allow architecture-specific pop function.
39795 * sysdeps/x86_64/l10nflist.c: New file.
39796
89edf2e9
UD
39797 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39798 classification.
39799
14d96785
AS
398002011-08-10 Andreas Schwab <schwab@redhat.com>
39801
39802 * include/dirent.h: Add libc_hidden_proto for scandirat and
39803 scandirat64. Don't declare __scandirat64.
39804 * dirent/scandirat.c: Add libc_hidden_def.
39805 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39806 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39807
6761ac04
DM
398082011-08-10 David S. Miller <davem@davemloft.net>
39809
39810 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39811 enum.
39812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39815
c55fbd1e
UD
398162011-08-09 Ulrich Drepper <drepper@gmail.com>
39817
39818 * Versions.def [libc]: Add GLIBC_2.15.
39819 * dirent/Makefile (routines): Add scandirat and scandirat64.
39820 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39821 GLIBC_2.15.
39822 * dirent/dirent.h: Declare scandirat and scandirat64.
39823 * dirent/scandirat.c: New file.
39824 * dirent/scandirat64.c: New file.
39825 * sysdeps/wordsize-64/scandirat.c: New file.
39826 * sysdeps/wordsize-64/scandirat64.c: New file.
39827 * dirent/opendir.c: Define opendirat.
39828 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39829 using scandirat.
39830 * dirent/scandir64.c: Adjust for scandir.c change.
39831 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39832 __scandirat64, and __scandir_cancel_handler.
39833 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39834 additional parameter and use openat instead of open (outside of ld.so).
39835 Add new __opendir as wrapper around __opendirat.
39836 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39837 here without requiring old scandirat implementation.
39838
879165f2
UD
398392011-08-08 Ulrich Drepper <drepper@gmail.com>
39840
39841 * dirent/scandir.c (cancel_handler): Renamed to
39842 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39843 defined. Adjust users.
39844 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39845 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39846
cb7e923b
UD
398472011-08-04 Ulrich Drepper <drepper@gmail.com>
39848
16292edd
UD
39849 * string/test-string.h (IMPL): Use __STRING to expand name and then
39850 stringify it.
39851
cb7e923b
UD
39852 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39853 of cleanups.
39854
cff82933
LD
398552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39856
39857 * string/Makefile: Update.
39858 (strop-tests): Append strncat.
39859 * string/test-wcscmp.c: New file.
39860 New comprehensive test for wcscmp.
39861 * string/test-strcmp.c: Update.
39862 (WIDE): New define.
39863
9be9bfcc
AS
398642011-07-22 Andreas Schwab <schwab@redhat.com>
39865
39866 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39867 line.
39868
2e96f1c7
AS
398692011-07-26 Andreas Schwab <schwab@redhat.com>
39870
39871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39872 encoding to ACE if AI_IDN.
39873
85188888
JJ
398742011-08-01 Jakub Jelinek <jakub@redhat.com>
39875
39876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39877 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39878
5fa16e9b
LD
398792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39880
39881 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39882 Fix overflow bug in strncat.
39883 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39884
39885 * string/test-strncat.c: Update.
39886 Add new tests for checking overflow bugs.
39887
398882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39889
39890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39891 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39892 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39893 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39894 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39895 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39896 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39897 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39898 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39899
39900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39901 (USE_AS_STRCAT): Define.
39902 Add strcat and strncat support.
39903 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39904
8c1a459f
AS
399052011-07-25 Andreas Schwab <schwab@redhat.com>
39906
39907 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39908 __n bigger than INT_MAX+1.
39909 (__strncmp_g): Likewise.
39910
bba33c28
UD
399112011-07-23 Ulrich Drepper <drepper@gmail.com>
39912
798be72d
UD
39913 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39914 * libio/stido.h: Likewise.
39915
8accd4dc
UD
39916 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39917 (AF_NFC): Define.
39918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39919 (AF_NFC): Define.
39920
cbff0d96
UD
39921 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39923 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39924 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39925 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39926
9191c04a
UD
39927 [BZ #13021]
39928 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39929 installed.
39930
bba33c28
UD
39931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39932 typo.
39933 (_dl_x86_64_save_sse): Likewise.
39934
90f139dd
UD
399352011-07-22 Ulrich Drepper <drepper@gmail.com>
39936
1aae088a
UD
39937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39938 OSXSAVE.
39939 (_dl_x86_64_save_sse): Likewise.
39940
8e2045f5
UD
39941 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39942
90f139dd
UD
39943 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39944
1d002f25
AS
399452011-07-21 Andreas Schwab <schwab@redhat.com>
39946
39947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39948 change.
39949 (_dl_x86_64_save_sse): Use correct AVX check.
39950
21137f89
UD
399512011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39952
39953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39954 bug in strncpy/strncat.
39955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39956
a65c0b7a
UD
399572011-07-21 Ulrich Drepper <drepper@gmail.com>
39958
39959 * string/tester.c (test_strcat): Add tests for different alignments
39960 of source and destination.
39961 (test_strncat): Likewise.
39962
6986b98a
UD
399632011-07-20 Ulrich Drepper <drepper@gmail.com>
39964
90bb2039
UD
39965 [BZ #12852]
39966 * posix/glob.c (glob): Check passed in values before using them in
39967 expressions to avoid some overflows.
39968 (glob_in_dir): Likewise.
39969
5644ef54
UD
39970 [BZ #13007]
39971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39972 check for AVX enablement so that we don't crash with old kernels and
39973 new hardware.
39974 * elf/tst-audit4.c: Add same checks here.
39975 * elf/tst-audit6.c: Likewise.
39976
39977 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39978
bfc9dc9b
AS
399792011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39980
39981 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39982
702e64bb
UD
399832011-07-20 Ulrich Drepper <drepper@gmail.com>
39984
39985 * po/cs.po: Update from translation team.
39986 * po/bg.po: Likewise.
39987
295e904f
MP
399882011-07-12 Marek Polacek <mpolacek@redhat.com>
39989
39990 * misc/sys/cdefs.h: Add support for const attribute.
39991 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39992 to gnu_dev_{major,minor,makedev} functions.
39993
3ff94596
MP
399942011-07-20 Marek Polacek <mpolacek@redhat.com>
39995
39996 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39997
28b59fca
AS
399982011-07-20 Andreas Schwab <schwab@redhat.com>
39999
40000 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40001 strlen results.
40002
19df733e
AK
400032011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40004
40005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40006 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40007 register in order to avoid conflicts with the soft frame pointer
40008 being held in r11 when necessary.
40009 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40010 (INTERNAL_VSYSCALL_NCS): Likewise.
40011
c8835729
MP
400122011-07-14 Marek Polacek <mpolacek@redhat.com>
40013
40014 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40015 * elf/dl-fini.c (_dl_fini): Adjust caller.
40016 * elf/dl-close.c (_dl_close_worker): Likewise.
40017 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40018
b902330c
MP
400192011-07-15 Marek Polacek <mpolacek@redhat.com>
40020
8991e135
MP
40021 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40022 "aux_cache->nlibs < 0".
40023
b902330c
MP
40024 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40025 in the reload-count case.
40026
99710781
LD
400272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40028
40029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40030 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40031 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40032 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40033 * sysdeps/x86_64/multiarch/strcat.S: New file.
40034 * sysdeps/x86_64/multiarch/strncat.S: New file.
40035 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40036 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40037 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40038 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40040 (USE_AS_STRCAT): Define.
40041 Add strcat and strncat support.
40042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40043 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40044 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40045 * string/strncat.c: Update.
40046 (USE_AS_STRNCAT): Define.
40047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40048 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40049 and i7.
40050 * sysdeps/x86_64/multiarch/init-arch.h
40051 (bit_Prefer_PMINUB_for_stringop): New.
40052 (index_Prefer_PMINUB_for_stringop): Likewise.
40053 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40054 bit_Prefer_PMINUB_for_stringop.
40055
7dc6bd90
UD
400562011-07-19 Ulrich Drepper <drepper@gmail.com>
40057
40058 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40059 buffer64.
40060 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40061 of casting of buffer.
40062 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40063 buffer32 and buffer64.
40064 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40065 writes instead of casting of buffer.
40066 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40067 buffer32.
40068 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40069 casting of buffer.
40070
e0e72284
AS
400712011-07-19 Andreas Schwab <schwab@redhat.com>
40072
40073 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40074
feb1eb0b
UD
400752011-07-19 Ulrich Drepper <drepper@gmail.com>
40076
40077 * nscd/nscd.c (termination_handler): Don't do anything for a database
40078 if it has not yet been initialized.
40079
298711ff
UD
400802011-07-18 Ulrich Drepper <drepper@gmail.com>
40081
40082 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40083
400842011-07-15 Marek Polacek <mpolacek@redhat.com>
40085
40086 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40087
f9d68389
UD
400882011-07-18 Ulrich Drepper <drepper@gmail.com>
40089
40090 * po/nl.po: Update from translation team.
40091 * po/sv.po: Likewise.
40092
db290cf5
RM
400932011-07-16 Roland McGrath <roland@hack.frob.com>
40094
40095 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40096 now disallowed by GCC.
5c550700 40097
fd5e21c7
RM
40098 * configure.in (use-default-link): Default to yes if a test -shared
40099 link meets our qualifications.
40100 * configure: Regenerated.
40101
5c550700
RM
40102 * config.make.in (output-format): New variable.
40103 * configure.in: Check for ld --print-output-format support.
40104 * configure: Regenerated.
40105 * Makerules ($(common-objpfx)format.lds)
40106 [$(output-format) != unknown]: Just use $(output-format),
40107 instead of the linker-script munging.
40108
9fa2c032
RM
401092011-07-14 Roland McGrath <roland@hack.frob.com>
40110
a6928d51
RM
40111 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40112 of $(common-objpfx)shlib.lds.
40113 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40114
661607b3
RM
40115 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40116 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40117
9fa2c032
RM
40118 * configure.in (-z relro check): Adjust test code to add a large
40119 writable data section after it.
40120 * configure: Regenerated.
40121
defe9061
RM
401222011-07-11 Roland McGrath <roland@hack.frob.com>
40123
40124 * configure.in (-z relro check): Fix test code to make the variable
40125 truly const.
40126 * configure: Regenerated.
40127
319b9ad4
UD
401282011-07-11 Ulrich Drepper <drepper@gmail.com>
40129
40130 * nscd/nscd.h (struct traced_file): Define.
40131 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40132 elements. Add traced_files.
40133 (inotify_fd): Declare.
40134 (register_traced_file): Declare.
40135 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40136 (inotify_fd): Export.
40137 (resolv_conf_descr): Remove.
40138 (nscd_init): Move inotify descriptor creation to main.
40139 Don't register files for notification here.
40140 (register_traced_file): New function.
40141 (invalidate_cache): Don't use reset_res to determine whether to call
40142 res_init, go through the list of registered files.
40143 (main_loop_poll): The inotify descriptors are now stored in the
40144 structures for the traced files.
40145 (main_loop_epoll): Likewise
40146 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40147 to __nss_disable_nscd.
40148 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40149 for a database anymore. Check the records for all the registered
40150 files instead.
40151 * nss/Makefile (libnss_files-routines): Add files-init.
40152 (libnss_db-routines): Add db-init.
40153 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40154 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40155 * nss/nss_db/db-init.c: New file.
40156 * nss/nss_files/files-init.c: New file.
40157 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40158 __nss_lookup_function.
40159 (__nss_lookup_function): Call nss_load_library.
40160 (nss_load_all_libraries): New function.
40161 (__nss_disable_nscd): Take parameter with callback function for files
40162 to register. Set is_nscd. Load all the DSOs for the NSS modules
40163 used for the cached services.
40164 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40165 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40166 options for features to all the files in nscd.
40167
40168 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40169
23bee3e8
RM
401702011-07-10 Roland McGrath <roland@hack.frob.com>
40171
40172 * csu/elf-init.c (__libc_csu_init): Comment typo.
40173
46a5b7f0
UD
401742011-07-09 Ulrich Drepper <drepper@gmail.com>
40175
40176 * po/pl.po: Update from translation team.
40177 * po/ja.po: Likewise.
40178 * po/ru.po: Likewise.
40179 * po/ko.po: Likewise.
40180 * po/fr.po: Likewise.
40181
d30cf5bb
RM
401822011-07-09 Roland McGrath <roland@hack.frob.com>
40183
113ddea4
RM
40184 * configure.in (.ctors/.dtors header and trailer check):
40185 Use an empirical test on a built program.
40186 * configure: Regenerated.
40187
574920b4
RM
40188 * configure.in (-z relro check): Use an empirical test on a built DSO.
40189 Detect, but do not require, on ia64.
40190 * configure: Regenerated.
40191
d30cf5bb
RM
40192 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40193 Update tests that use readelf to use $READELF instead.
40194 * configure: Regenerated.
40195
8538fdb3
UD
401962011-07-08 Ulrich Drepper <drepper@gmail.com>
40197
40198 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40199 if the result is not used.
40200
04d08991
AJ
402012011-07-05 Andreas Jaeger <aj@suse.de>
40202
40203 [BZ#9696]
40204 * stdlib/tst-strtod.c: Add testcase.
40205
de283087
AD
402062011-07-07 Ulrich Drepper <drepper@gmail.com>
40207
4e5f31c8 40208 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40209 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40210 The latter has a higher limit. Take additional parameter to pass to
40211 the new function.
40212 (__pathconf): Pass file to __statfs_link_max.
40213 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40214 __statfs_link_max.
40215 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40216 __statfs_link_max.
40217
de283087
AD
40218 [BZ #12868]
40219 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40221 Handle Lustre.
40222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40223 (__statfs_filesize_max): Likewise.
40224 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40225
c75fa153
AJ
402262011-07-05 Andreas Jaeger <aj@suse.de>
40227
40228 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40229
1a544854
UD
402302011-07-06 Marek Polacek <mpolacek@redhat.com>
40231
40232 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40233 `status' variable.
40234 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40235 Likewise.
40236
6f0eec67
UD
402372011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40238
40239 * Makefile (strop-tests): Add strncat.
40240 * string/test-strncat.c: New file.
40241
aae30307
UD
402422011-06-30 Marek Polacek <mpolacek@redhat.com>
40243
40244 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40245
c0cfb5eb
UD
402462011-06-21 Andreas Jaeger <aj@suse.de>
40247
40248 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40249 Copy rule from iconvdata/Makefile.
40250
01636b21
UD
402512011-07-06 Ulrich Drepper <drepper@gmail.com>
40252
40253 [BZ #12922]
40254 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40255 but no long options are defined, just return 'W'.
40256
9895c8bc
UD
402572011-06-22 Marek Polacek <mpolacek@redhat.com>
40258
40259 [BZ #9696]
40260 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40261
5d4cf042
UD
402622011-07-06 Ulrich Drepper <drepper@gmail.com>
40263
40264 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40265 netgroups to read.
960e5535 40266 (innetgr): Likewise.
5d4cf042 40267
751eb97e
RM
402682011-07-05 Roland McGrath <roland@hack.frob.com>
40269
40270 * config.make.in (install_root): Default to $(DESTDIR).
40271
f15f1e45
UD
402722011-07-05 Ulrich Drepper <drepper@gmail.com>
40273
40274 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40275
4e34ac6a
RM
402762011-07-02 Roland McGrath <roland@hack.frob.com>
40277
5e9b6af4
RM
40278 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40279
84f9ea0f
RM
40280 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40281 containing directory rather than embedding absolute directory names.
40282
ea5ee9f7
RM
40283 * scripts/check-local-headers.sh: Rewritten using awk.
40284 Match by word, not by line. Print error messages for matches.
40285 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40286
1b74661a
RM
40287 * Makerules [shlib-lds-flags empty]:
40288 ($(common-objpfx)libc_pic.opts): New target.
40289 ($(common-objpfx)libc_pic.os.clean): New target.
40290 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40291
40292 * config.make.in (OBJCOPY): New variable.
40293 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40294 * configure: Regenerated.
40295
f781ef40
RM
40296 * config.make.in (use-default-link): New variable.
40297 * configure.in (use_default_link): Grok --with-default-link to set it.
40298 * configure: Regenerated.
40299 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40300 (shlib-lds, shlib-lds-flags): Define to empty.
40301
2d4fa81e
RM
40302 * Makerules (shlib-lds): New variable.
40303 (shlib-lds-flags): New variable.
40304 (build-shlib, build-moduile, build-module-asneeded): Use it.
40305 ($(common-objpfx)libc.so): Use $(shlib-lds).
40306 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40307 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40308
31fffa6b
RM
40309 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40310 DT_FLAGS/DT_FLAGS_1 with zero flags.
40311
4e34ac6a
RM
40312 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40313 linker script munging.
40314
fcfc776b
UD
403152011-07-02 Ulrich Drepper <drepper@gmail.com>
40316
40317 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40318 as 128-bit value.
40319 * crypt/sha512.c (sha512_process_block): Perform total addition using
40320 128-bit if possible.
40321 (__sha512_finish_ctx): Likewise.
40322 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40323 as 64-bit value.
40324 * crypt/sha256.c (SWAP64): Define.
40325 (sha256_process_block): Perform total addition using 64-bit if
40326 possible.
40327 (__sha256_finish_ctx): Likewise.
40328
99231d9a
UD
403292011-07-01 Ulrich Drepper <drepper@gmail.com>
40330
40331 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40333 * nscd/hstcache.c (cache_addhst): Likewise.
40334 * nscd/grpcache.c (cache_addgr): Likewise.
40335 * nscd/aicache.c (addhstaiX): Likewise
40336 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40337
445b4a53
TK
403382011-07-01 Thorsten Kukuk <kukuk@suse.de>
40339
40340 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40342 * nscd/hstcache.c (cache_addhst): Likewise.
40343 * nscd/grpcache.c (cache_addgr): Likewise.
40344 * nscd/aicache.c (addhstaiX): Likewise
40345
6d4d8e8e
AS
403462011-07-01 Andreas Schwab <schwab@redhat.com>
40347
40348 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40349 domain only when needed.
40350
89f654c5
AS
403512011-06-30 Andreas Schwab <schwab@redhat.com>
40352
40353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40354 is always restored.
40355
cf3b23ff
UD
403562011-06-29 Ulrich Drepper <drepper@gmail.com>
40357
40358 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40359 are re-adding the entry.
40360 * nscd/servicescache.c (cache_addserv): Likewise.
40361
751626f9
AJ
403622011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40363
40364 * sysdeps/generic/dl-irel.h: fix protection against multiple
40365 inclusions.
40366 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40367
9113ea1f
UD
403682011-06-28 Ulrich Drepper <drepper@gmail.com>
40369
5c0b8d90
UD
40370 [BZ #12935]
40371 * malloc/memusage.sh: Fix quoting in message.
40372 * debug/xtrace.sh: Likewise.
40373
9113ea1f
UD
40374 * configure.in: Remove support for --experimental-malloc option, make
40375 it the default.
40376 * config.make.in: Likewise.
40377 * malloc/Makefile: Likewise.
40378
a4172181
AS
403792011-06-27 Andreas Schwab <schwab@redhat.com>
40380
40381 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40382 two-byte characters.
40383
78a7eee7
RM
403842011-06-27 Roland McGrath <roland@hack.frob.com>
40385
62bede13
RM
40386 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40387 AC_CACHE_CHECK invocation.
40388 * configure: Regenerated.
40389
78a7eee7
RM
40390 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40391
5ce33a62
UD
403922011-06-27 Ulrich Drepper <drepper@gmail.com>
40393
034807a9
UD
40394 [BZ #12350]
40395 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40396 bit from old_res_options.
40397
4902da17
UD
40398 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40399
5ce33a62
UD
40400 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40401 value type for setfct.
40402
c2344f56
L
404032011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40404
40405 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40406 __gettimeofday instead of gettimeofday.
40407
68468076
UD
404082011-06-26 Ulrich Drepper <drepper@gmail.com>
40409
40410 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40411
acb0d739
L
404122011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40413
40414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40415
40416 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40417 info.
40418
8912479f
L
404192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40420
40421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40422 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40423 strcpy-sse2-unaligned strncpy-sse2-unaligned
40424 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40425 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40426 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40427 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40428 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40429 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40430 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40431 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40432 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40433 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40434 (STRCPY): Support SSE2 and SSSE3 versions.
40435
d5495a11
UD
404362011-06-24 Ulrich Drepper <drepper@gmail.com>
40437
40438 [BZ #12874]
40439 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40440 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40441 kernels which artificially limit size of requests.
40442
0b1cbaae
L
404432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40444
40445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40446 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40447 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40448 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40449 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40450 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40451 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40452 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40454 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40455 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40456 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40457 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40458 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40459 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40461 Enable unaligned load optimization for Intel Core i3, i5 and i7
40462 processors.
40463 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40464 Define.
40465 (index_Fast_Unaligned_Load): Define.
40466 (HAS_FAST_UNALIGNED_LOAD): Define.
40467
07f494a0
MP
404682011-06-23 Marek Polacek <mpolacek@redhat.com>
40469
40470 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40471
fa3fc0fe
UD
404722011-06-22 Ulrich Drepper <drepper@gmail.com>
40473
40474 [BZ #12907]
40475 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40476 until it is clear that the information is realy needed.
40477 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40478
e12df166
AS
404792011-06-22 Andreas Schwab <schwab@redhat.com>
40480
40481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40482
852eb34d
UD
404832011-06-22 Ulrich Drepper <drepper@gmail.com>
40484
84e2a551
UD
40485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40486 /sys/devices/system/cpu/online if it is usable.
40487
852eb34d
UD
40488 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40489 reading the information from the /proc filesystem to once a second.
40490
6e502e19
UD
404912011-06-21 Andreas Jaeger <aj@suse.de>
40492
40493 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40494 NULL after inclusion of kernel headers.
40495
75d39ff2
UD
404962011-06-21 Ulrich Drepper <drepper@gmail.com>
40497
51f9aa6a
UD
40498 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40499 calls to internal_setent.
40500
c0244a9d
UD
40501 [BZ #12885]
40502 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40503 addresses using gethostbyname4_r ignore IPv4 addresses.
40504
c5e3c2ae
UD
40505 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40506 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40507
75d39ff2
UD
40508 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40509
42675c6f
DM
405102011-06-20 David S. Miller <davem@davemloft.net>
40511
40512 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40513 inclusions.
40514 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40515
40516 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40517 (elf_irel): Use it.
40518 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40519 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40520 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40521 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40522 * sysdeps/x86_64/dl-irel.h: Likewise.
40523
40524 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40525 * elf/dl-sym.c: Likewise.
40526
57912a71
UD
405272011-06-15 Ulrich Drepper <drepper@gmail.com>
40528
40529 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40530 need to dereference resplen2.
40531
ee22793d
AS
405322011-06-14 Andreas Schwab <schwab@redhat.com>
40533
40534 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40535
a9e836b0
UD
405362011-06-15 Ulrich Drepper <drepper@gmail.com>
40537
77fb9117
UD
40538 * Makeconfig: Define vardbdir and inst_vardbdir.
40539 * nss/Makefile: Add rules to install db-Makefile.
40540
40c1b22c
UD
40541 * nss/nss_db/db-XXX.c: Cleanup.
40542
9f2da732
UD
40543 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40544 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40545 GLIBC_PRIVATE.
40546 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40547 * nss/makedb.c: Implement -g option to specify that value strings
40548 are generated and should not be added to table iterated over for
40549 get*ent calls.
40550 * nss/nss_db/db-initgroups.c: New file.
40551
82e9a1f7
UD
40552 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40553 interface.
40554
c41af17e
UD
40555 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40556 (internal_getgrouplist): Adjust to name change.
40557 Update use_initgroups_entry if this is not the first call.
40558 * nss/databases.def: Add initgroups entry.
40559
a9e836b0
UD
40560 * nss/makedb.c (compute_tables): Check result of multiple hash table
40561 sizes to minimize maximum chain length.
40562
2666d441
UD
405632011-06-14 Ulrich Drepper <drepper@gmail.com>
40564
40565 * Versions.def: Add entry for libnss_db.
40566 * shlib-versions: Likewise.
40567 * nss/Makefile: Add rules to build libnss_db.
40568 * nss/Versions: Add libnss_db information. Organize libnss_files
40569 entries better.
40570 * nss/db-Makefile: Add gshadow support. Change rules for the new
40571 makedb progra. Some minor improvements to generate smaller files.
40572 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40573 here from...
40574 * nss/makedb.c: ...here.
40575 Improve database format to be smaller and require less memory at
40576 runtime.
40577 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40578 db anymore.
40579 * nss/nss_db/db-netgrp.c: Likewise.
40580 * nss/nss_db/db-open.c: Likewise.
40581 * nss/nss_files/flies-XXX.x: Adjust comments.
40582 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40583 * nss/nss_files/files-grp.c: Likewise.
40584 * nss/nss_files/files-hosts.c: Likewise.
40585 * nss/nss_files/files-network.c: Likewise.
40586 * nss/nss_files/files-proto.c: Likewise.
40587 * nss/nss_files/files-pwd.c: Likewise.
40588 * nss/nss_files/files-rpc.c: Likewise.
40589 * nss/nss_files/files-service.c: Likewise.
40590 * nss/nss_files/files-sgrp.c: Likewise.
40591 * nss/nss_files/files-spwd.c: Likewise.
40592 * nss/nss_db/db-alias.c: Removed.
40593 * nss/nss_db/dummy-db.h: Removed.
40594
9ee76b5a
UD
405952011-06-02 Ulrich Drepper <drepper@gmail.com>
40596
40597 * nss/makedb.c: Rewritten to not use database library.
40598 * nss/Makefile: Update to build new makedb program.
40599
c71ca1f8
AJ
406002011-06-14 Andreas Jaeger <aj@suse.de>
40601
40602 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40603 memset declaration.
40604
3154bfb8
UD
406052011-06-10 Andreas Schwab <schwab@redhat.com>
40606
40607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40608 tmpbuf.
40609
b350afab
RM
406102011-06-10 Roland McGrath <roland@hack.frob.com>
40611
decd4e50
RM
40612 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40613 * elf/Makefile ($(objpfx)ld.so): Likewise.
40614
5615eaf2
RM
40615 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40616 Don't list ld.so twice in dependencies.
40617
40618 * posix/bug-regex31.c: Include <stdlib.h>.
40619
40620 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40621
40622 * nis/nss_compat/compat-spwd.c
40623 (getspent_next_nss_netgr): Remove unused variable.
40624 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40625
40626 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40627 nonmembers" output to use the right array.
40628
40629 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40630
40631 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40632
40633 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40634 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40635 * catgets/gencat.c (read_input_file): Likewise.
40636 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40637
40638 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40639 variable definition inside #if's controlling its use.
40640
40641 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40642
40643 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40644
40645 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40646
40647 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40648 unreachable code.
40649
40650 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40651
b68e08db
RM
40652 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40653 * configure: Regenerated.
40654
b350afab
RM
40655 * Makerules: Revert last change.
40656 * elf/Makefile: Likewise.
40657
28368601
RM
406582011-06-09 Roland McGrath <roland@hack.frob.com>
40659
40660 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40661 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40662 (reloc-link): Likewise.
40663
11988f8f
UD
406642011-06-09 Ulrich Drepper <drepper@gmail.com>
40665
40666 * elf/Makefile: Add rules to build pldd.
40667 * elf/pldd.c: New file.
40668 * elf/pldd-xx.c: New file.
40669
e80fab37
UD
406702011-06-07 Ulrich Drepper <drepper@gmail.com>
40671
40672 * version.h: Update for 2.15 development version.
40673
9b849836
DM
406742011-06-07 David S. Miller <davem@davemloft.net>
40675
40676 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40677 ifuncs.
40678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40679 elf_machine_lazy_rel): Likewise.
40680 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40682 elf_machine_lazy_rel): Likewise.
40683 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40684 dl_hwcap via passed in argument.
40685 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40686 Likewise.
40687
5a31b283
AK
406882011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40689
40690 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40691
069e52f8
RM
406922011-06-06 Roland McGrath <roland@hack.frob.com>
40693
40694 [BZ #12849]
40695 * manual/fdl-1.1.texi: New file, verbatim from:
40696 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40697 * manual/lgpl-2.1.texi: New file, verbatim from:
40698 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40699 * manual/Makefile (licenses): New variable, list those new file names.
40700 (texis): Use it.
40701 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40702
40703 * manual/fdl.texi: File removed.
40704 * manual/lesser.texi: File removed.
40705 * manual/libc.texinfo (Copying, Documentation License):
40706 Use new @include file names, put @appendix directive before @include.
40707
f16846a5
JJ
407082011-06-04 Jakub Jelinek <jakub@redhat.com>
40709
40710 [BZ #12841]
40711 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40712 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40713 (mq_open): Add __NTH.
40714
3d29045b
L
407152011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40716
40717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40718 Assume Intel Core i3/i5/i7 processor if AVX is available.
40719
8c297311
UD
407202011-05-31 Ulrich Drepper <drepper@gmail.com>
40721
40722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40723 typo.
40724
c8fc0c91
UD
407252011-05-31 Andreas Schwab <schwab@redhat.com>
40726
40727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40728 memory. Use alloca_account. Fix memory leak when retrying.
40729
5b27a807
UD
407302011-05-31 Ulrich Drepper <drepper@gmail.com>
40731
356f8bc6
UD
40732 * version.h (RELEASE): Bump for 2.14 release.
40733 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40734
5b27a807
UD
40735 * config.make.in (RANLIB): Remove entry.
40736
01f16ab0
UD
407372011-05-30 Ulrich Drepper <drepper@gmail.com>
40738
41fce8bd
UD
40739 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40740 (libc.pot): Work around missing support for .ksh extension in xgettext.
40741
4769ae77
UD
40742 [BZ #12684]
40743 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40744 if both request failed.
40745 (send_dg): In case of server errors clear resplen or *resplen2.
40746
6b1e7d19
UD
40747 [BZ #12454]
40748 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40749 when there are multiple maps.
40750 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40751 (_dl_fini): Remove test here.
40752
01f16ab0
UD
40753 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40754
b1ebd700
UD
407552011-05-29 Ulrich Drepper <drepper@gmail.com>
40756
7ae22829
UD
40757 [BZ #12350]
40758 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40759 bit from old_res_options.
40760 (gaih_inet): Likewise.
40761
553149f6 40762 [BZ #11099]
18a84741 40763 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40764 as signed.
40765
652ffab1
UD
40766 * resolv/res_init.c (res_setoptions): Make the code more compact.
40767
16985fd0
UD
40768 [BZ #11558]
40769 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40770 set RES_USEVC.
40771
0464f746
UD
40772 [BZ #11634]
40773 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40774
7d17596c
UD
40775 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40776
cf6bbbd7
UD
40777 [BZ #11781]
40778 * malloc/malloc.h: Declare malloc hook variables as volatile.
40779
13f1ab36
UD
40780 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40781 in last patch.
40782
b1ebd700
UD
40783 [BZ #11799]
40784 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40785 raise in the comment.
80e2212d
UD
40786 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40789
ce67228d
UD
407902011-05-28 Ulrich Drepper <drepper@gmail.com>
40791
8887a920
UD
40792 [BZ #12811]
40793 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40794 grow the buffers more if it already has to be sufficient.
40795 (build_wcs_upper_buffer): Likewise.
40796 * posix/regexec.c (check_matching): Likewise.
40797 (clean_state_log_if_needed): Likewise.
40798 (extend_buffers): Don't enlarge buffers beyond size of the input
40799 buffer.
40800 Patches mostly by Emil Wojak <emil@wojak.eu>.
40801 * posix/bug-regex32.c: New file.
40802 * posix/Makefile (tests): Add bug-regex32.
40803
4f031072
UD
40804 * locale/findlocale.c (_nl_find_locale): Return right away if
40805 _nl_explode_name failed.
40806 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40807
d0478f0c
UD
40808 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40809
de81b246
UD
40810 * debug/xtrace.sh: Unify messages.
40811 * malloc/memusage.sh: Likewise.
40812
c738465a
UD
40813 [BZ #12813]
40814 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40815 time symbol from vDSO. Substitute with vsyscall if not available.
40816 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40817 __vdso_time.
40818
f1f929d7
UD
40819 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40820 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40821 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40822 Add sendmmsg and internal_sendmmsg.
40823 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40824 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40825 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40826
ce67228d
UD
40827 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40828 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40829 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40830
e57420c6
UD
408312011-05-27 Ulrich Drepper <drepper@gmail.com>
40832
a8509ca5
UD
40833 [BZ #12813]
40834 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40835 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40836 available.
40837 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40838 __vdso_getcpu.
40839
e57420c6
UD
40840 [BZ #12814]
40841 * iconvdata/Makefile (tests): Add bug-iconv9.
40842 * iconvdata/bug-iconv9.c: New file.
40843
4d07db15
AS
408442011-05-27 Andreas Schwab <schwab@redhat.com>
40845
40846 [BZ #12814]
40847 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40848
ea486f69
JJ
408492011-05-25 Jakub Jelinek <jakub@redhat.com>
40850
40851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40852 (struct user_regs_struct): Change intcs field back to cs.
40853
6f038433
UD
408542011-05-25 Ulrich Drepper <drepper@gmail.com>
40855
40856 * po/ja.po: Update from translation team.
40857
67f86a25
UD
408582011-05-23 Ulrich Drepper <drepper@gmail.com>
40859
40860 [BZ #12795]
40861 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40862 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40863
def7fbd6
AS
408642011-05-20 Andreas Schwab <schwab@redhat.com>
40865
40866 * stdlib/longlong.h: Update from GCC.
40867
f50ef8f1
AS
408682011-05-23 Andreas Schwab <schwab@redhat.com>
40869
40870 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40871 parameter name.
40872 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40873 Add parameter name.
40874 (__sysconf): Pass it down.
40875
de7ce8f1
UD
408762011-05-22 Ulrich Drepper <drepper@gmail.com>
40877
f2962a71
UD
40878 [BZ #12671]
40879 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40880 some situations.
40881 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40882 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40883 add in in __libc_use_alloca calls. Adjust callers.
40884 (glob): Use malloc in some situations.
40885
de7ce8f1
UD
40886 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40887 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40888 pltexit.
40889
aec84f53
UD
408902011-05-21 Ulrich Drepper <drepper@gmail.com>
40891
05bb4a68
UD
40892 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40893 and CLOCK_BOOTTIME_ALARM.
40894
7ea72f99
UD
40895 [BZ #12782]
40896 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40897 is returned.
40898
7e4afad5
UD
40899 * string/_strerror.c (__strerror_r): Print negative errors as signed
40900 numbers.
40901
8e211fec
UD
40902 [BZ #12777]
40903 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40904 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40905 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40906
f7d82dc9
UD
40907 * configure.in: Fix typo in redirection and correct removal of test
40908 files in two cases.
40909
cc9e536d
UD
40910 [BZ #12788]
40911 * locale/setlocale.c (new_composite_name): Fix test to check for
40912 identical name of all categories.
40913
aec84f53
UD
40914 [BZ #12792]
40915 * libio/filedoalloc.c (local_isatty): New function.
40916 (_IO_file_doallocate): Use local_isatty.
40917 * stdio-common/perror.c (perror): In case a new stream is used
40918 forward the stream error.
40919 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40920 error flag.
40921
78e64fdc
RT
409222011-05-20 Ulrich Drepper <drepper@gmail.com>
40923
34a9094f
UD
40924 [BZ #11869]
40925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40926 alloca.
40927 * include/alloca.h (extend_alloca_account): Define.
40928
78e64fdc
RT
40929 [BZ #11857]
40930 * posix/regex.h: Fix comments with documentation of user-accessible
40931 fields after compilation and describe correct free'ing of pattern
40932 after re_compile_pattern.
40933 Patch by Reuben Thomas <rrt@sc3d.org>.
40934
457bddfc
RA
409352011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40936
40937 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40938 and -mno-altivec to prevent the compiler from using Altivec and/or
40939 VSX instructions when the corresponding registers are not available.
40940
a4527b51
AS
409412011-05-19 Andreas Schwab <schwab@redhat.com>
40942
40943 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40944
ed690b2f
UD
409452011-05-19 Ulrich Drepper <drepper@gmail.com>
40946
40947 * libio/freopen.c (freopen): Use __dup2, not dup2.
40948 * libio/freopen64.c (freopen64): Likewise.
40949
8db73634
L
409502011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40951
40952 [BZ #12775]
40953 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40954 * math/Makefile (tests): Add test-powl.
40955 (CFLAGS-test-powl.c): Define.
40956 * math/test-powl.c: New file.
40957
0a197a9d
L
409582011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40959
40960 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40961
ee30c380
UD
409622011-05-17 Ulrich Drepper <drepper@gmail.com>
40963
40964 [BZ #11837]
40965 * iconvdata/gb18030.c: Update to GB18020-2005.
40966
6ce75379
UD
409672011-05-16 Ulrich Drepper <drepper@gmail.com>
40968
a4b89fd8
AR
40969 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40970 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40971 Patch by Aharon Robbins <arnold@skeeve.com>.
40972
ea389b12
UD
40973 [BZ #11892]
40974 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40975 on the stack.
40976
68a3f91f
UD
40977 [BZ #11895]
40978 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40979 through underflows.
40980
15cc7dd1
UD
40981 [BZ #12766]
40982 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40983 point to strings before performing equality test for error_one_per_line
40984 mode.
40985
f3799213
UD
40986 [BZ #11697]
40987 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40988
d79a9c94
UD
40989 [BZ #11820]
40990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40991 (struct user_fpregs_struct): Avoid __uint*_t types.
40992
56e5eb46
UD
40993 [BZ #6420]
40994 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40995 symbol info. Use it instead of calling _dl_addr locally.
40996 (lock_and_info): New function.
40997 (tr_freehook): Call lock_and_info and pass symbol info as additional
40998 parameter to tr_where.
40999 (tr_mallochook): Likewise.
41000 (tr_reallochook): Likewise.
41001 (tr_memalignhook): Likewise.
41002
6ce75379
UD
41003 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41004 used and couldn't be at all thread-safe.
41005
f8a3b5bf
UD
410062011-05-15 Ulrich Drepper <drepper@gmail.com>
41007
94b7cc37
UD
41008 * libio/freopen.c (freopen): Don't close old file descriptor
41009 before the new one is opened. Instead dup the new file descriptor
41010 to the old one after the new stream is created.
41011 * libio/freopen64.c (freopen64): Likewise.
41012 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41013 * libio/fileops.c (_IO_new_file_close_it): Handle new
41014 _IO_FLAGS2_NOCLOSE flag.
41015 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41016 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41017 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41018 _IO_FLAGS2_NOCLOSE flag.
41019 * include/unistd.h: Add hidden_proto for dup3.
41020 Define __have_dup3.
41021 * io/dup3.c: Define hidden symbol.
41022 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41023
bd25564e
UD
41024 [BZ #7101]
41025 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41026 when an incomplete long option is used.
41027 * posix/tst-getopt_long1.c: New file.
41028 * posix/Makefile (tests): Add tst-getopt_long1.
41029
c84cfef4
UD
41030 [BZ #10138]
41031 * scripts/config.guess: Update from autoconf-2.68.
41032 * scripts/config.sub: Likewise.
41033
3b85df27
UD
41034 [BZ #10157]
41035 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41036 tests into ...
41037 (has_cpuclock): ...this. New function.
41038 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41039 macro here based on has_cpuclock code.
41040
15a856b1
UD
41041 [BZ #10149]
41042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41043 First byte (not low byte) is now always NUL.
41044 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41045
05f399e6
UD
41046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41047 Use non-cancelable interfaces.
41048
10a52685 41049 [BZ #9809]
94ecc67d
UD
41050 * locale/iso-639.def: Add entry for Sorani.
41051
f8a3b5bf
UD
41052 [BZ #11901]
41053 * include/stdlib.h: Move include protection to the right place.
41054 Define abort_msg_s. Declare __abort_msg with it.
41055 * stdlib/abort.c (__abort_msg): Adjust type.
41056 * assert/assert.c (__assert_fail_base): New function. Majority
41057 of code from __assert_fail. Allocate memory for __abort_msg with
41058 mmap.
41059 (__assert_fail): Now call __assert_fail_base.
41060 * assert/assert-perr.c: Remove bulk of implementation. Use
41061 __assert_fail_base.
41062 * include/assert.hL Declare __assert_fail_base.
41063 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41064 mmap.
41065 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41066
1af4e298
UD
410672011-05-14 Ulrich Drepper <drepper@gmail.com>
41068
f8a3b5bf 41069 [BZ #11952]
d26dfc60
MG
41070 [BZ #12453]
41071 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41072 until all modules are registered in the DTV.
41073 * elf/Makefile: Add rules to build and run tst-tls19.
41074 * elf/tst-tls19.c: New file.
41075 * elf/tst-tls19mod1.c: New file.
41076 * elf/tst-tls19mod2.c: New file.
41077 * elf/tst-tls19mod3.c: New file.
41078 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41079
2fc54d6f
UD
41080 [BZ #12083]
41081 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41082 correctly.
41083
98d76b46
UD
41084 [BZ #12601]
41085 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41086 two-byte sequence errors.
41087 * iconvdata/Makefile (tests): Add bug-iconv8.
41088 * iconvdata/bug-iconv8.c: New file.
41089
da3c19ef
UD
41090 [BZ #12626]
41091 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41092 buf2 definition.
41093
ca408c15
UD
41094 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41095
d6f67f7d
UD
41096 [BZ #12432]
41097 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41098 (dummy_getcfa): New function.
41099 (init): Get _Unwind_GetCFA address, use dummy if not found.
41100 (backtrace_helper): In recursion check, also check whether CFA changes.
41101 (__backtrace): Completely initialize arg.
41102
1af4e298 41103 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
41104 storing incomplete byte sequence in state object. Avoid testing for
41105 guaranteed too small input if we know there is enough data available.
1af4e298 41106
da62f81b
AS
411072011-05-11 Andreas Schwab <schwab@redhat.com>
41108
41109 * Makeconfig (+link-pie): Indent.
41110 * Rules (binaries-pie): Define if $(have-fpie) and
41111 $(build-shared).
41112 (binaries-shared): Also filter out $(binaries-pie).
41113 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41114 * nscd/Makefile (others-pie): Add nscd.
41115 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41116 ($(objpfx)nscd): Remove command override.
41117 * login/Makefile (others-pie): Add pt_chown.
41118 ($(objpfx)pt_chown): Remove command override.
41119 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41120 remove command overrides.
41121
fcabc0f8
UD
411222011-05-13 Ulrich Drepper <drepper@gmail.com>
41123
20030ae6
UD
41124 * libio/tst_putwc.c: Fix error messages.
41125
fcabc0f8
UD
41126 [BZ #12724]
41127 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41128 currently writing and seek to current position when not.
41129 * libio/Makefile (tests): Add bug-fclose1.
41130 * libio/bug-fclose1.c: New file.
41131
320a5dc0
PB
411322011-05-12 Ulrich Drepper <drepper@gmail.com>
41133
41134 [BZ #12511]
41135 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41136 don't set DF_1_NODELETE here.
41137 (do_lookup_x): When entering new entry test for copy relocation
41138 and if necessary set DF_1_NODELETE flag.
41139 * elf/tst-unique4.cc: New file.
41140 * elf/tst-unique4.h: New file.
41141 * elf/tst-unique4lib.cc: New file.
41142 * elf/Makefile: Add rules to build and run tst-unique4.
41143 Patch by Piotr Bury <pbury@goahead.com>.
41144
22836f52
UD
411452011-05-11 Ulrich Drepper <drepper@gmail.com>
41146
f574184a
UD
41147 [BZ #12052]
41148 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41149
e1fb097f
UD
41150 [BZ #12625]
41151 * misc/mntent_r.c (addmntent): Flush the stream after the output
41152
22836f52
UD
41153 [BZ #12393]
41154 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41155 (is_trusted_path_normalize): Skip initial colon. Append slash
41156 to empty buffer. Duplicate is_trusted_path code but allow
41157 constructed patch to be prefix.
41158 (is_dst): Allow $ORIGIN followed by /.
41159 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41160 Correct testing of result of is_trusted_path_normalize
41161 (decompose_rpath): Fix warning.
41162
7b3b0b2a
UD
411632011-05-10 Ulrich Drepper <drepper@gmail.com>
41164
41165 [BZ #11257]
41166 * grp/initgroups.c (internal_getgrouplist): When we found the service
41167 list through the initgroups entry in nsswitch.conf do not always
41168 continue on a successful lookup. Don't always use the
eac80ce2 41169 __nss_group_database value if it is set.
7b3b0b2a
UD
41170 * nss/nsswitch.conf (initgroups): Change action for successful db
41171 lookup to continue for compatibility.
41172
2a81eaa5
UD
411732011-05-09 Ulrich Drepper <drepper@gmail.com>
41174
be97a69e
UD
41175 [BZ #11532]
41176 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41177 and CP774 modules.
41178 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41179 and CP774 modules.
41180 * iconvdata/tst-tables.sh: Likewise.
41181 * iconvdata/cp770.c: New file.
41182 * iconvdata/cp771.c: New file.
41183 * iconvdata/cp772.c: New file.
41184 * iconvdata/cp773.c: New file.
41185 * iconvdata/cp774.c: New file.
41186 * iconvdata/testdata/CP770: New file.
41187 * iconvdata/testdata/CP770..UTF8: New file.
41188 * iconvdata/testdata/CP771: New file.
41189 * iconvdata/testdata/CP771..UTF8: New file.
41190 * iconvdata/testdata/CP772: New file.
41191 * iconvdata/testdata/CP772..UTF8: New file.
41192 * iconvdata/testdata/CP773: New file.
41193 * iconvdata/testdata/CP773..UTF8: New file.
41194 * iconvdata/testdata/CP774: New file.
41195 * iconvdata/testdata/CP774..UTF8: New file.
41196
41197 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41198 END CHARMAP line.
41199 * iconvdata/gen-8bit-gap.sh: Likewise.
41200 * iconvdata/gen-8bit.sh: Likewise.
41201
c1e9e399
UD
41202 * locale/iso-639.def: Add ary entry.
41203
24c55fb3 41204 [BZ #11258]
96b4b1b0
UD
41205 * locale/C-translit.h.in: Add U20A1 transliteration.
41206
bdc2f971
KB
41207 [BZ #12178]
41208 * locale/iso-639.def: Add wae entry.
41209 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41210
2952b117
UD
41211 [BZ #12545]
41212 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41213 for n.
41214
2a81eaa5
UD
41215 [BZ #12711]
41216 * locale/C-translit.h.in: Add entry for U20B9.
41217 Patch by pravin.d.s@gmail.com.
41218
28377d1b
UD
412192011-05-08 Ulrich Drepper <drepper@gmail.com>
41220
7fb90fb8
UD
41221 [BZ #12713]
41222 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41223 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41224 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41225 in rtld. Use *stat64.
7fb90fb8 41226 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41227 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41228 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41229 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41230 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41231 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41232 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41233 __fstatat64 macros.
7fb90fb8
UD
41234 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41235 * dirent/rewinddir.c: Add libc_hidden_def.
41236 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41237 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41238
28377d1b
UD
41239 * include/dirent.h (__alloc_dir): Add flags parameter.
41240 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41241 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41242 __alloc_dir.
41243 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41244 from fdopendir if O_CLOEXEC is already set.
41245
66bdbaa4
AM
412462011-03-15 Alan Modra <amodra@gmail.com>
41247
41248 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41249 l_tls_firstbyte_offset non-zero. Save padding offset in
41250 l_tls_firstbyte_offset for later use.
41251 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41252 freeing static tls block.
41253
95721191
JN
412542011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41255
41256 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41257 where #ifdef was intended. The intent is to prevent ARG_MAX from
41258 being defined by the kernel headers.
41259
f87dfb1f
UD
412602011-05-07 Ulrich Drepper <drepper@gmail.com>
41261
41262 [BZ #12734]
41263 * resolv/resolv.h: Define RES_NOTLDQUERY.
41264 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41265 no-tld-query and set RES_NOTLDQUERY.
41266 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41267 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41268 modern BIND to search name as TLD unless forbidden.
41269
47c3cd7a
UD
412702011-05-07 Petr Baudis <pasky@suse.cz>
41271 Ulrich Drepper <drepper@gmail.com>
41272
41273 [BZ #12393]
41274 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41275 (is_trusted_path): ...to here.
c1e9ea35 41276 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41277 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41278 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41279
8a35c912
PP
412802011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41281
41282 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41283 __BEGIN/__END_DECLS.
41284
acd41f47
UD
412852011-05-06 Ulrich Drepper <drepper@gmail.com>
41286
41287 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41288 NSS_STATUS_NOTFOUND if no record was found.
41289
597df647
AS
412902011-05-05 Andreas Schwab <schwab@redhat.com>
41291
41292 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41293 (headers-not-in-tirpc): Remove rpc/netdb.h
41294 * resolv/netdb.h: Revert last change.
41295
b9af1301
PP
412962011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41297
41298 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41299 circular dependency between libgcc.a and libc.a.
41300
4e34d5f5
AS
413012011-05-05 Andreas Schwab <schwab@redhat.com>
41302
41303 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41304 * nis/Makefile: Don't install rpcsvc/*.
41305 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41306 instead of <rpc/types.h>.
41307 (MAXHOSTNAMELEN): Define.
41308
00ee369c
AS
413092011-05-03 Andreas Schwab <schwab@redhat.com>
41310
41311 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41312
0b592a30
MB
413132011-04-28 Maciej Babinski <mbabinski@google.com>
41314
41315 [BZ #12714]
41316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41317 gethostbyname4_r when IPv6 results are possible.
41318
6e04cbbe
UD
413192011-05-02 Ulrich Drepper <drepper@gmail.com>
41320
41321 [BZ #12723]
41322 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41323 _PC_PIPE_BUF handling.
41324
e4ecafe0
BH
413252011-04-30 Bruno Haible <bruno@clisp.org>
41326
41327 [BZ #12717]
41328 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41329 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41330 to 'int'.
41331 * inet/getnameinfo.c (getnameinfo): Likewise.
41332
125ee683
UD
413332011-04-29 Ulrich Drepper <drepper@gmail.com>
41334
41335 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41336 to groups setting in database lookup.
41337 * nss/nsswitch.conf: Add initgroups entry.
41338
b722481a
EB
413392011-04-22 Ulrich Drepper <drepper@gmail.com>
41340
41341 [BZ #12685]
41342 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41343 mode string.
41344 Patch by Eric Blake <eblake@redhat.com>.
41345
4df46dbd
L
413462011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41347
41348 * sunrpc/Makefile (need-export-routines): Add svc_run.
41349 (routines): Remove svc_run.
41350 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41351 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41352 * sunrpc/svc_run.c (svc_run): Likewise.
41353 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41354
e84142d2
UD
413552011-04-21 Ulrich Drepper <drepper@gmail.com>
41356
41357 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41358 problem in reallocation in last patch.
41359
877175d8
UD
413602011-04-20 Ulrich Drepper <drepper@gmail.com>
41361
41362 * sunrpc/Makefile: Move inclusion of Rules.
41363
ab8eed78
UD
413642011-04-19 Ulrich Drepper <drepper@gmail.com>
41365
41366 * nss/nss_files/files-initgroups.c: New file.
41367 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41368 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41369 _nss_files_initgroups_dyn.
41370
e3d8f584
RS
413712011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41372
41373 * elf/elf.h (R_ARM_IRELATIVE): Define.
41374
af190f45
UD
413752011-04-19 Ulrich Drepper <drepper@gmail.com>
41376
41377 * po/ru.po: Update from translation team.
41378
53cf59ef
UD
413792011-04-17 Ulrich Drepper <drepper@gmail.com>
41380
41381 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41382 dependencies.
41383
4c559bcd
MF
413842011-02-06 Mike Frysinger <vapier@gentoo.org>
41385
41386 [BZ #12653]
41387 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41388 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41391 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41392
4420675c
AS
413932011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41394
41395 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41396 differing bytes.
41397 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41400
75ea32ab
UD
414012011-04-17 Ulrich Drepper <drepper@gmail.com>
41402
41403 [BZ #12420]
41404 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41405 storing it.
41406 * stdlib/bug-getcontext.c: New file.
41407 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41408
27390476
AK
414092011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41410
41411 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41412 instructions into .machine "z9-109".
41413 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41414 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41415
10442705
AK
414162011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41417
41418 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41419 between environment variables and auxiliary vector.
41420
7b57bfe5
UD
414212011-04-16 Ulrich Drepper <drepper@gmail.com>
41422
41423 * Makefile: Add rules to build linkobj/libc.so.
41424 * include/libc-symbols.h: Define libc_hidden_nolink.
41425 * include/rpc/auth.h: Mark functions which are to be hidden.
41426 * include/rpc/auth_des.h: Likewise.
41427 * include/rpc/auth_unix.h: Likewise.
41428 * include/rpc/clnt.h: Likewise.
41429 * include/rpc/des_crypt.h: Likewise.
41430 * include/rpc/key_prot.h: Likewise.
41431 * include/rpc/pmap_clnt.h: Likewise.
41432 * include/rpc/pmap_prot.h: Likewise.
41433 * include/rpc/pmap_rmt.h: Likewise.
41434 * include/rpc/rpc_msg.h: Likewise.
41435 * include/rpc/svc.h: Likewise.
41436 * include/rpc/svc_auth.h: Likewise.
41437 * include/rpc/xdr.h: Likewise.
41438 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41439 * nss/Makefile: Likewise.
41440 * sunrpc/Makefile: Don't install headers. Build library with normal
41441 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41442 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41443 for the compat linking library. Remove use of INTDEF/INTUSE.
41444 * sunrpc/auth_none.c: Likewise.
41445 * sunrpc/auth_unix.c: Likewise.
41446 * sunrpc/authdes_prot.c: Likewise.
41447 * sunrpc/authuxprot.c: Likewise.
41448 * sunrpc/clnt_gen.c: Likewise.
41449 * sunrpc/clnt_perr.c: Likewise.
41450 * sunrpc/clnt_raw.c: Likewise.
41451 * sunrpc/clnt_simp.c: Likewise.
41452 * sunrpc/clnt_tcp.c: Likewise.
41453 * sunrpc/clnt_udp.c: Likewise.
41454 * sunrpc/clnt_unix.c: Likewise.
41455 * sunrpc/des_crypt.c: Likewise.
41456 * sunrpc/des_soft.c: Likewise.
41457 * sunrpc/get_myaddr.c: Likewise.
41458 * sunrpc/key_call.c: Likewise.
41459 * sunrpc/key_prot.c: Likewise.
41460 * sunrpc/netname.c: Likewise.
41461 * sunrpc/pm_getmaps.c: Likewise.
41462 * sunrpc/pm_getport.c: Likewise.
41463 * sunrpc/pmap_clnt.c: Likewise.
41464 * sunrpc/pmap_prot.c: Likewise.
41465 * sunrpc/pmap_prot2.c: Likewise.
41466 * sunrpc/pmap_rmt.c: Likewise.
41467 * sunrpc/publickey.c: Likewise.
41468 * sunrpc/rpc_cmsg.c: Likewise.
41469 * sunrpc/rpc_common.c: Likewise.
41470 * sunrpc/rpc_dtable.c: Likewise.
41471 * sunrpc/rpc_prot.c: Likewise.
41472 * sunrpc/rpc_thread.c: Likewise.
41473 * sunrpc/rtime.c: Likewise.
41474 * sunrpc/svc.c: Likewise.
41475 * sunrpc/svc_auth.c: Likewise.
41476 * sunrpc/svc_authux.c: Likewise.
41477 * sunrpc/svc_raw.c: Likewise.
41478 * sunrpc/svc_run.c: Likewise.
41479 * sunrpc/svc_simple.c: Likewise.
41480 * sunrpc/svc_tcp.c: Likewise.
41481 * sunrpc/svc_udp.c: Likewise.
41482 * sunrpc/svc_unix.c: Likewise.
41483 * sunrpc/svcauth_des.c: Likewise.
41484 * sunrpc/xcrypt.c: Likewise.
41485 * sunrpc/xdr.c: Likewise.
41486 * sunrpc/xdr_array.c: Likewise.
41487 * sunrpc/xdr_float.c: Likewise.
41488 * sunrpc/xdr_intXX_t.c: Likewise.
41489 * sunrpc/xdr_mem.c: Likewise.
41490 * sunrpc/xdr_rec.c: Likewise.
41491 * sunrpc/xdr_ref.c: Likewise.
41492 * sunrpc/xdr_sizeof.c: Likewise.
41493 * sunrpc/xdr_stdio.c: Likewise.
41494
e6c61494
UD
414952011-04-10 Ulrich Drepper <drepper@gmail.com>
41496
41497 [BZ #12650]
41498 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41499 * sysdeps/ia64/dl-tls.h: Likewise.
41500 * sysdeps/powerpc/dl-tls.h: Likewise.
41501 * sysdeps/s390/dl-tls.h: Likewise.
41502 * sysdeps/sh/dl-tls.h: Likewise.
41503 * sysdeps/sparc/dl-tls.h: Likewise.
41504 * sysdeps/x86_64/dl-tls.h: Likewise.
41505 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41506
34fe483e
AS
415072011-03-14 Andreas Schwab <schwab@redhat.com>
41508
41509 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41510 rpath element also skip the following colon.
41511 (expand_dynamic_string_token): Add is_path parameter and pass
41512 down to DL_DST_REQUIRED and _dl_dst_substitute.
41513 (decompose_rpath): Call expand_dynamic_string_token with
41514 non-zero is_path. Ignore empty rpaths.
41515 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41516 with zero is_path.
41517
f12a32e6
AS
415182011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41519
41520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41521 Make cancelable.
41522
38a7d692
UD
415232011-04-09 Ulrich Drepper <drepper@gmail.com>
41524
41525 [BZ #12655]
41526 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41527 Patch by Filipe David Manana <fdmanana@apache.org>.
41528
e451d22b
AS
415292011-04-07 Andreas Schwab <schwab@redhat.com>
41530
41531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41532 Maintain aligned stack.
41533 (CHECK_RSP): Remove unused macro.
41534
dedc7c7b
UD
415352011-04-03 Ulrich Drepper <drepper@gmail.com>
41536
41537 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41538 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41539
94521213
UD
415402011-04-02 Ulrich Drepper <drepper@gmail.com>
41541
41542 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41543
8cb700c0 41544 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41545
0354e355
L
415462011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41547
41548 [BZ #12518]
41549 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41550 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41551 * sysdeps/x86_64/memmove.c: New file.
41552 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41553 (memcpy): Renamed to ...
41554 (__new_memcpy): This.
41555 (memcpy): Provide GLIBC_2_14 memcpy.
41556 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41557 (memcpy): Provide GLIBC_2_2_5 memcpy.
41558
8593482f
UD
415592011-04-01 Ulrich Drepper <drepper@gmail.com>
41560
41561 [BZ #12631]
41562 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41563
81a5726b
AS
415642011-03-30 Andreas Schwab <schwab@redhat.com>
41565
41566 * misc/syncfs.c: New file.
41567 * misc/Makefile (routines): Add syncfs.
41568 * posix/unistd.h: Declare syncfs.
41569 * sysdeps/unix/syscalls.list: Add syncfs.
41570
00e5419f
AS
415712011-04-01 Andreas Schwab <schwab@redhat.com>
41572
41573 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41574 open_by_handle_at.
41575 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41580 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41582
748876bf
UD
415832011-04-01 Ulrich Drepper <drepper@gmail.com>
41584
658e451d
UD
41585 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41587 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41592
748876bf
UD
41593 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41594 sync_file_range.c with -fexceptions.
41595 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41596 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41597 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41598 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41599 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41600 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41602 sync_file_range as cancellation point
41603 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41604 now a wrapper around __call_sync_file_range with cancellation handling.
41605 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41606 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41607 function name to __call_sync_file_range.
41608 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41609 Add call_sync_file_range.
748876bf 41610
6e63d5e1
AS
416112011-04-01 Andreas Schwab <schwab@redhat.com>
41612
41613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41614 bits/timex.h.
6e63d5e1 41615
46998f74
UD
416162011-04-01 Ulrich Drepper <drepper@gmail.com>
41617
4c1423ed
UD
41618 * iconv/iconv.h: Fix typo in comment.
41619 * io/fcntl.h: Likewise.
41620 * libio/stdio.h: Likewise.
41621 * posix/spawn.h: Likewise.
41622 * posix/unistd.h: Likewise.
41623 * stdlib/stdlib.h: Likewise.
41624 * time/time.h: Likewise.
41625 * wcsmbs/wchar.h: Likewise.
41626
158648c0
UD
41627 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41628 open_by_handle): Add.
41629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41630 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41631 Augment a few comments.
41632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41637 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41638 open_by_handle.
41639
46998f74
UD
41640 * io/fcntl.h (AT_EMPTY_PATH): Define.
41641
83fe108b
UD
416422011-03-30 Ulrich Drepper <drepper@gmail.com>
41643
41644 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41645 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41646 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41647 to...
41648 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41649 * Versions.def: Add GLIBC_2.14.
41650 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41651 Export.
83fe108b 41652
bb242059
UD
416532011-03-22 Ulrich Drepper <drepper@gmail.com>
41654
41655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41656 round counter.
41657 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41658
c97a1282
L
416592011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41660
41661 [BZ #12597]
41662 * string/test-strncmp.c (do_page_test): New function.
41663 (check2): Likewise.
41664 (test_main): Call check2.
41665 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41666
2a115601
UD
416672011-03-20 Ulrich Drepper <drepper@gmail.com>
41668
41669 [BZ #12587]
41670 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41671 Handle cache information in CPU leaf 4.
41672 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41673
8126d904
UD
416742011-03-18 Ulrich Drepper <drepper@gmail.com>
41675
042c49c6 41676 [BZ #12583]
8126d904
UD
41677 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41678 character representation.
41679 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41680
ccfe366e
RA
416812011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41682
41683 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41684 END(__isnan) to END(__isnanf) to match function entry point/label
41685 EALIGN(__isnanf,...).
41686
c6e13027
JJ
416872011-03-10 Jakub Jelinek <jakub@redhat.com>
41688
41689 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41690
33f85a3f
UD
416912011-03-10 Ulrich Drepper <drepper@gmail.com>
41692
028478fa
UD
41693 [BZ #12510]
41694 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41695 copy from the symbol referenced in the relocation to initialize the
41696 used variable.
41697 Patch by Piotr Bury <pbury@goahead.com>.
41698 * elf/Makefile: Add rules to build and tst-unique3.
41699 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41700 * elf/tst-unique3.cc: New file.
41701 * elf/tst-unique3.h: New file.
41702 * elf/tst-unique3lib.cc: New file.
41703 * elf/tst-unique3lib2.cc: New file.
41704
33f85a3f
UD
41705 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41706
03592fc7
MF
417072011-03-10 Mike Frysinger <vapier@gentoo.org>
41708
41709 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41710 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41711 to _start.
03592fc7 41712
6a5ee102
UD
417132011-03-06 Ulrich Drepper <drepper@gmail.com>
41714
41715 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41716 to-be-loaded object along a path to loader is ld.so.
41717
7e4ba49c
HJ
417182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41719 Ulrich Drepper <drepper@gmail.com>
41720
41721 * sysdeps/x86_64/memset.S: After aligning destination, code
41722 branches to different locations depending on the value of
41723 misalignment, when multiarch is enabled. Fix this.
41724
417252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41726
41727 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41728 Set _x86_64_preferred_memory_instruction for AMD processsors.
41729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41730 Set bit_Prefer_SSE_for_memop for AMD processors.
41731
13a804de
UD
417322011-03-04 Ulrich Drepper <drepper@gmail.com>
41733
41734 * libio/fmemopen.c (fmemopen): Optimize a bit.
41735
9d25c392
AS
417362011-03-03 Andreas Schwab <schwab@redhat.com>
41737
41738 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41739
a5543c6a
RM
417402011-03-03 Roland McGrath <roland@redhat.com>
41741
41742 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41743
012d35f7
DM
417442011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41745
7e4ba49c 41746 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41747 __bzero_ultra1 instead of __memset_ultra1.
41748
4bff6e01
AS
417492011-02-23 Andreas Schwab <schwab@redhat.com>
41750 Ulrich Drepper <drepper@gmail.com>
41751
41752 [BZ #12509]
41753 * include/link.h (struct link_map): Add l_orig_initfini.
41754 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41755 returning unsuccessfully.
41756 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41757 close of a file loaded at startup, restore the original l_initfini
41758 list.
41759 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41760 list, store the pointer.
41761 * elf/Makefile ($(objpfx)noload-mem): New rule.
41762 (noload-ENV): Define.
41763 (tests): Add $(objpfx)noload-mem.
41764 * elf/noload.c: Include <memcheck.h>.
41765 (main): Call mtrace. Close all opened handles.
41766
f2092faf
AS
417672011-02-17 Andreas Schwab <schwab@redhat.com>
41768
41769 [BZ #12454]
41770 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41771 dependencies are missing.
41772
6c8a2e88
ST
417732011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41774
f2092faf 41775 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41776 Hurd needs munmap.
41777 * sysdeps/mach/hurd/ifreq.h: New file.
41778
84a42118
PB
417792011-01-27 Petr Baudis <pasky@suse.cz>
41780 Ulrich Drepper <drepper@gmail.com>
41781
071f805e 41782 [BZ 12445]#
84a42118
PB
41783 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41784 to extend_alloca().
41785 * stdio-common/bug23.c: New file.
41786 * stdio-common/Makefile (tests): Add bug23.
41787
e23fe25b
AS
417882010-09-28 Andreas Schwab <schwab@redhat.com>
41789 Ulrich Drepper <drepper@gmail.com>
41790
41791 [BZ #12489]
41792 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41793 before performing relro protection. At old place add assertion
41794 to make sure nothing changed.
41795
d3f02e10
NS
417962011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41797 Glauber de Oliveira Costa <glommer@gmail.com>
41798
41799 * elf/elf.h: Add new ARM TLS relocs.
41800
d55fd7a5
RA
418012011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41802
41803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41804 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41805 cast from r3.
41806 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41807 'tests' variable.
41808 * sysdeps/wordsize-64/tst-writev.c: New file.
41809
2206397e
RA
418102011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41811
41812 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41813 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41814 insns in _dl_start to prevent a TOC reference before relocs are
41815 resolved.
41816
e9433893
UD
418172011-02-15 Ulrich Drepper <drepper@gmail.com>
41818
41819 [BZ #12469]
41820 * Makeconfig: Remove RANLIB definition.
41821 * Makerules: Don't use RANLIB.
41822 * aclocal.m4: Remove ranlib test.
41823 * configure.in: No need to check for ranlib.
41824 * elf/rtld-Rules: Don't use RANLIB.
41825
f75286c6
ST
418262011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41827
8e31c82d
ST
41828 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41829 protection macro.
41830 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41831 inclusion protection macro.
41832
f75286c6
ST
41833 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41834 SIGRTMIN and SIGRTMAX and print information in that case only when
41835 SIGRTMIN is defined.
41836
c1d0e639
JJ
418372011-02-11 Jakub Jelinek <jakub@redhat.com>
41838
41839 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41840 arginfo fn returning -1.
41841
41842 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41843 and thousands string is zero terminated.
41844
edf9294e
AS
418452011-02-03 Andreas Schwab <schwab@redhat.com>
41846
41847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41848 sysdeps/unix/sysv/linux/bits/socket.h.
41849
2b7e92df
ST
418502011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41851
edf9294e
AS
41852 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41853 (__CPU_COUNT): Remove old macros.
41854 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41855 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41856 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41857 (__sched_cpualloc, __sched_cpufree): Add declarations.
41858
a4c7ea7b
UD
418592011-02-05 Ulrich Drepper <drepper@gmail.com>
41860
41861 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41862 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41863 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41864 (readdhstai): Return value of addhstaiX call.
41865 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41866 (addgrbyX): Return value returned by cache_addgr.
41867 (readdgrbyname): Return value returned by addgrbyX.
41868 (readdgrbygid): Likewise.
41869 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41870 (addpwbyX): Return value returned by cache_addpw.
41871 (readdpwbyname): Return value returned by addhstbyX.
41872 (readdpwbyuid): Likewise.
41873 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41874 (addservbyX): Return value returned by cache_addserv.
41875 (readdservbyname): Return value returned by addservbyX:
41876 (readdservbyport): Likewise.
41877 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41878 (addhstbyX): Return value returned by cache_addhst.
41879 (readdhstbyname): Return value returned by addhstbyX.
41880 (readdhstbyaddr): Likewise.
41881 (readdhstbynamev6): Likewise.
41882 (readdhstbyaddrv6): Likewise.
41883 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41884 (readdinitgroups): Return value returned by addinitgroupsX.
41885 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41886 (prune_cache): Keep track of timeout value of re-added entries.
41887 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41888 * nscd/nscd.h: Adjust prototypes of readd* functions.
41889
a0bf67cc
RM
418902011-02-04 Roland McGrath <roland@redhat.com>
41891
41892 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41893 (nis_stats): Likewise.
41894 * nis/nis_modify.c (nis_modify): Likewise.
41895 * nis/nis_remove.c (nis_remove): Likewise.
41896 * nis/nis_add.c (nis_add): Likewise.
41897
41898 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41899
41900 * posix/fnmatch_loop.c: Add some consts.
41901
41902 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41903
435b95eb
L
419042011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41905
41906 [BZ #12460]
41907 * config.make.in (config-cflags-novzeroupper): Define.
41908 * configure.in: Substitute libc_cv_cc_novzeroupper.
41909 * elf/Makefile (AVX-CFLAGS): Define.
41910 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41911 (CFLAGS-tst-auditmod4a.c): Likewise.
41912 (CFLAGS-tst-auditmod4b.c): Likewise.
41913 (CFLAGS-tst-auditmod6b.c): Likewise.
41914 (CFLAGS-tst-auditmod6c.c): Likewise.
41915 (CFLAGS-tst-auditmod7b.c): Likewise.
41916 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41917
8517b15e
UD
419182011-02-02 Ulrich Drepper <drepper@gmail.com>
41919
41920 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41921 function to the callback.
41922 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41923
10a656fe
AS
419242011-02-02 Andreas Schwab <schwab@redhat.com>
41925
41926 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41927 of errno.
41928
968dad0a
UD
419292011-01-19 Ulrich Drepper <drepper@gmail.com>
41930
9f94d2ea 41931 [BZ #11724]
968dad0a
UD
41932 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41933 of constructors.
41934 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41935 of destructors.
41936 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41937
41938 [BZ #11724]
41939 * elf/Makefile: Add rules to build and run new test.
41940 * elf/tst-initorder.c: New file.
41941 * elf/tst-initorder.exp: New file.
41942 * elf/tst-initordera1.c: New file.
41943 * elf/tst-initordera2.c: New file.
41944 * elf/tst-initordera3.c: New file.
41945 * elf/tst-initordera4.c: New file.
41946 * elf/tst-initorderb1.c: New file.
41947 * elf/tst-initorderb2.c: New file.
41948 * elf/tst-order-a1.c: New file.
41949 * elf/tst-order-a2.c: New file.
41950 * elf/tst-order-a3.c: New file.
41951 * elf/tst-order-a4.c: New file.
41952 * elf/tst-order-b1.c: New file.
41953 * elf/tst-order-b2.c: New file.
41954 * elf/tst-order-main.c: New file.
41955 New test case by George Gensure <werkt0@gmail.com>.
41956
86e92359
UD
419572010-10-01 Andreas Schwab <schwab@redhat.com>
41958
41959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41960 decoding ACE if AI_CANONIDN.
41961
5d5732b0
UD
419622011-01-18 Ulrich Drepper <drepper@gmail.com>
41963
41964 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41965
a77e8cbc
UD
419662011-01-17 Ulrich Drepper <drepper@gmail.com>
41967
6392473f
UD
41968 * version.h (RELEASE): Bump for 2.13 release.
41969 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41970
620a0529
UD
41971 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41972
18ba70a5
UD
41973 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41974 MADV_NOHUGEPAGE.
32465c3e
UD
41975 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41976 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41978 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41980 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41981
c0dafcf1
UD
41982 * posix/getconf.c: Update copyright year.
41983 * catgets/gencat.c: Likewise.
41984 * csu/version.c: Likewise.
41985 * debug/catchsegv.sh: Likewise.
41986 * debug/xtrace.sh: Likewise.
41987 * elf/ldconfig.c: Likewise.
41988 * elf/ldd.bash.in: Likewise.
41989 * elf/sprof.c (print_version): Likewise.
41990 * iconv/iconv_prog.c: Likewise.
41991 * iconv/iconvconfig.c: Likewise.
41992 * locale/programs/locale.c: Likewise.
41993 * locale/programs/localedef.c: Likewise.
41994 * malloc/memusage.sh: Likewise.
41995 * malloc/mtrace.pl: Likewise.
41996 * nscd/nscd.c (print_version): Likewise.
41997 * nss/getent.c: Likewise.
41998
a77e8cbc
UD
41999 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42000 PF_CAIF, and PF_ALG.
42001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42002
77e8bddf
AS
420032011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42004
1f20b93a
AS
42005 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42006 (modules-names): Use them.
42007 (ifunc-test-modules, ifunc-pie-tests): Define.
42008 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42009 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42010 (test-extras): Likewise.
42011 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42012 $(compile-command.c).
42013 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42014 (all-built-dso): Define.
42015 (check-textrel.out, check-execstack.out): Depend on it.
42016
77e8bddf
AS
42017 * configure.in: Don't override --enable-multi-arch.
42018
bc425b33
UD
420192011-01-15 Ulrich Drepper <drepper@gmail.com>
42020
42021 [BZ #6812]
42022 * nscd/hstcache.c (tryagain): Define.
42023 (cache_addhst): Return tryagain not notfound for temporary errors.
42024 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42025 failed.
42026
794c3ad3
UD
420272011-01-14 Ulrich Drepper <drepper@gmail.com>
42028
70181fdd
UD
42029 [BZ #10563]
42030 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42031 to make the syscall.
42032 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42033
794c3ad3
UD
42034 [BZ #12378]
42035 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42036 and fall back to matching as normal character if the string ends before
42037 the matching ']' is found. This is what POSIX requires.
42038 * posix/testfnm.c: Adjust test result.
42039 * posix/globtest.sh: Adjust test result. Add new test.
42040 * posix/tst-fnmatch.input: Likewise.
42041 * posix/tst-fnmatch2.c: Add new test.
42042
68dc9497
AS
420432010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42044
42045 * elf/Makefile (check-execstack): Revert last change. Depend on
42046 check-execstack.h.
42047 (check-execstack.h): New target.
42048 (generated): Add check-execstack.h.
42049 * elf/check-execstack.c: Include "check-execstack.h".
42050 (main): Revert last change.
42051 (handle_file): Return zero if GNU_STACK is absent and
42052 DEFAULT_STACK_PERMS doesn't include PF_X.
42053
451f001b
UD
420542011-01-13 Ulrich Drepper <drepper@gmail.com>
42055
cfa28e56
UD
42056 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42057 in child fails because the descriptor is already closed.
8cf8ce17
UD
42058 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42059 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42060 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 42061
1086d70d
UD
42062 [BZ #12397]
42063 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42064 syscall.
42065
451f001b
UD
42066 [BZ #10484]
42067 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42068 temporary buffer used to handle multi lookups locally.
a85b5cb4 42069 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 42070
08769175
UD
420712011-01-12 Ulrich Drepper <drepper@gmail.com>
42072
42073 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42074 loader is ld.so.
42075
5e49c52e
UD
420762011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42077
42078 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42079 alignment for SSE2.
42080
60522a5f
UD
420812011-01-12 Ulrich Drepper <drepper@gmail.com>
42082
42083 [BZ #12394]
42084 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42085 characters. When rounding increased number of integer digits recompute
42086 number of groups.
42087 * stdio-common/tst-grouping.c: New file.
42088 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42089
f257bbd7
UD
420902011-01-09 Ulrich Drepper <drepper@gmail.com>
42091
42092 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42093 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42094
42095 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42096 void.
42097 * bits/select.h: Likewise.
42098
fa9c15cb
UD
420992011-01-08 Ulrich Drepper <drepper@gmail.com>
42100
42101 * po/ja.po: Update from translation team.
42102
16c2895f
DM
421032011-01-04 David S. Miller <davem@sunset.davemloft.net>
42104
42105 [BZ #11155]
42106 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42107 implementation just like for lxstat, fxstatat, et al.
42108
2543fef2
JM
421092010-12-27 Jim Meyering <meyering@redhat.com>
42110
42111 [BZ #12348]
42112 * posix/regexec.c (build_trtable): Return failure indication upon
42113 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42114
98727dbe
UD
421152010-12-25 Ulrich Drepper <drepper@gmail.com>
42116
5bd6dc5c
UD
42117 [BZ #12201]
42118 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42119 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42120 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42121 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42122
97983464
UD
42123 [BZ #12207]
42124 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42125
98727dbe
UD
42126 [BZ #12204]
42127 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42128 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42129
4a531bb0
L
421302010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42131
42132 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42133 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42134 script has SORT_BY_INIT_PRIORITY.
42135 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42136 NO_CTORS_DTORS_SECTIONS is defined.
42137 * elf/soinit.c: Likewise.
42138 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42139 NO_CTORS_DTORS_SECTIONS is defined.
42140 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42141 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42142 * sysdeps/sh/init-first.c: Likewise.
42143 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42144
07eb4b71
UD
421452010-12-24 Ulrich Drepper <drepper@gmail.com>
42146
42147 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42148 always use the slow path.
42149
30950a5f
RA
421502010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42151
42152 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42153 similar rule which adds the sysdep directories to the header search in
42154 order to pick up the correct platform stackinfo.h.
42155 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42156 perform test if it is, otherwise return successfully without testing.
42157 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42158 DEFAULT_STACK_PERMS define in stackinfo.h.
42159 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42160 defined in stackinfo.h.
42161 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42162 DEFAULT_STACK_PERMS defined in stackinfo.h.
42163 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42164 * sysdeps/ia64/stackinfo.h: Likewise.
42165 * sysdeps/s390/stackinfo.h: Likewise.
42166 * sysdeps/sh/stackinfo.h: Likewise.
42167 * sysdeps/sparc/stackinfo.h: Likewise.
42168 * sysdeps/x86_64/stackinfo.h: Likewise.
42169 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42170 PF_X for powerpc64. Retain PF_X for powerpc32.
42171
db753e2c
UD
421722010-12-19 Ulrich Drepper <drepper@gmail.com>
42173
14b697f7
UD
42174 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42175 accurately.
db753e2c
UD
42176 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42177 GETDENTS_64BIT_ALIGNED.
42178
28300719
UD
421792010-12-14 Ulrich Drepper <dreper@gmail.com>
42180
14b697f7 42181 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42182
4f197237
AS
421832010-12-10 Andreas Schwab <schwab@redhat.com>
42184
dbb0472f
AS
42185 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42186 _GNU_SOURCE.
42187
4f197237
AS
42188 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42189 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42190 Remove __restrict.
42191 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42192 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42193
fb88ac72
UD
421942010-12-09 Ulrich Drepper <drepper@gmail.com>
42195
42196 [BZ #11655]
42197 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42198 are initialized.
42199
42acbb92
JJ
422002010-12-09 Jakub Jelinek <jakub@redhat.com>
42201
42202 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42203
c038d98d
UD
422042010-12-03 Ulrich Drepper <drepper@gmail.com>
42205
42206 * po/it.po: Update from translation team.
42207
3a4a2499
L
422082010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42209
42210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42211 unused codes.
42212
1e24cf6e
UD
422132010-11-30 Ulrich Drepper <drepper@gmail.com>
42214
42215 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42216
a7690819
AS
422172010-11-24 Andreas Schwab <schwab@redhat.com>
42218
42219 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42220 specially.
42221 (gaih_getanswer_slice): Likewise.
42222
3bf8d1b1
JJ
422232010-10-20 Jakub Jelinek <jakub@redhat.com>
42224
42225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42226
6db52fbb
PB
422272010-05-31 Petr Baudis <pasky@suse.cz>
42228
42229 [BZ #11149]
42230 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42231 silently even in the chroot mode.
42232
eaca7569
UD
422332010-11-22 Ulrich Drepper <drepper@gmail.com>
42234
42235 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42236 last patch a bit. Pretty printing
42237
3056dcdb
UD
422382010-05-31 Petr Baudis <pasky@suse.cz>
42239
42240 [BZ #10085]
42241 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42242 initialization of skip_initgroups_dyn.
42243
cf7c9078
UD
422442010-11-19 Ulrich Drepper <drepper@gmail.com>
42245
42246 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42248
a1fb5e3e
UD
422492010-11-16 Ulrich Drepper <drepper@gmail.com>
42250
42251 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42252
3540d66b
AS
422532010-11-11 Andreas Schwab <schwab@redhat.com>
42254
42255 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42256 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42257 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42258 ($(objpfx)tst-fnmatch-mem): New rule.
42259 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42260 * posix/tst-fnmatch.c (main): Call mtrace.
42261
13b69574
L
422622010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42263
42264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42265 Support Intel processor model 6 and model 0x2c.
42266
da93d214
LM
422672010-11-10 Luis Machado <luisgpm@br.ibm.com>
42268
42269 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42270 signed comparison.
42271
8ca52c6e
L
422722010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42273
42274 [BZ #12205]
42275 * string/test-strncasecmp.c (check_result): New function.
42276 (do_one_test): Use it.
42277 (check1): New function.
42278 (test_main): Use it.
42279 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42280 Support strcasecmp and strncasecmp.
42281
69da074d
UD
422822010-11-08 Ulrich Drepper <drepper@gmail.com>
42283
42284 [BZ #12194]
42285 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42286 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42287
ff02d528
L
422882010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42289
42290 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42291 IFUNC support.
42292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42293 memset-x86-64.
42294 * sysdeps/x86_64/multiarch/bzero.S: New file.
42295 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42296 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42297 * sysdeps/x86_64/multiarch/memset.S: New file.
42298 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42300 Set bit_Prefer_SSE_for_memop for Intel processors.
42301 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42302 Define.
42303 (index_Prefer_SSE_for_memop): Define.
42304 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42305
344d0b54
LM
423062010-11-04 Luis Machado <luisgpm@br.ibm.com>
42307
42308 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42309 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42310
c0dde15b
UD
423112010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42312
42313 [BZ #12191]
42314 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42315 (__x86_64_raw_data_cache_size_half): Likewise.
42316 (__x86_64_raw_shared_cache_size): Likewise.
42317 (__x86_64_raw_shared_cache_size_half): Likewise.
42318
42319 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42320 (__x86_64_raw_data_cache_size_half): Likewise.
42321 (__x86_64_raw_shared_cache_size): Likewise.
42322 (__x86_64_raw_shared_cache_size_half): Likewise.
42323 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42324 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42325 and __x86_64_raw_shared_cache_size_half. Round
42326 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42327 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42328 to multiple of 256 bytes.
42329
0e516e0e
MS
423302010-11-03 Ulrich Drepper <drepper@gmail.com>
42331
42332 [BZ #12167]
42333 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42334 of inacessible symlinks. Verify result of symlink before returning it.
42335 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42336 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42337
0e012e87
ER
423382010-10-28 Erich Ritz <erichritz@gmail.com>
42339
42340 * math/math.h (isinf): Fix typo in comment.
42341
de0ff7bc
UD
423422010-11-01 Ulrich Drepper <drepper@gmail.com>
42343
42344 * po/da.po: Update from translation team.
42345
fa41c84d
UD
423462010-10-26 Ulrich Drepper <drepper@gmail.com>
42347
42348 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42349 is added to the list.
42350
f0967738
AK
423512010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42352 Ulrich Drepper <drepper@gmail.com>
42353
42354 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42355 the global list here. Move code to...
42356 (_dl_add_to_namespace_list): ...here. New function.
42357 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42358 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42359 * elf/dl-load.c (lose): Don't remove the element from the list.
42360 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42361 (_dl_map_object): Likewise.
42362
423632010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42364
42365 [BZ #12159]
42366 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42367 into all bytes of SSE register.
42368 Patch by Richard Li <richardpku@gmail.com>.
42369
f0967738 423702010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42371
42372 [BZ #12140]
42373 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42374 perturbing.
42375
d0b9e94f
MB
423762010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42377
42378 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42379 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42380 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42381 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42383 submachine.
42384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42385
8e9f92e9
AS
423862010-10-22 Andreas Schwab <schwab@redhat.com>
42387
42388 * include/dlfcn.h (__RTLD_SECURE): Define.
42389 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42390 mode & __RTLD_SECURE instead.
42391 (open_path): Rename preloaded parameter to secure.
42392 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42393 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42394 * elf/dl-deps.c (openaux): Likewise.
42395 * elf/rtld.c (struct map_args): Remove is_preloaded.
42396 (map_doit): Don't use it.
42397 (dl_main): Likewise.
42398 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42399 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42400
bc96fbda
AS
424012010-09-09 Andreas Schwab <schwab@redhat.com>
42402
42403 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42404 (sysd-rules-targets): Remove duplicates.
42405 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42406 rtld-%.$o dependency.
42407
22cd1c9b
AS
424082010-10-18 Andreas Schwab <schwab@redhat.com>
42409
42410 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42411 _dl_map_object do it.
42412
18edac48
UD
424132010-10-19 Ulrich Drepper <drepper@gmail.com>
42414
42415 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42416 fast fma builtins, define the macros in the C99 standard.
42417 (FP_FAST_FMAF): Likewise.
42418 (FP_FAST_FMAL): Likewise.
42419 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42420
42421 * bits/mathdef.h: Update copyright year.
42422 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42423
d2050124
MM
424242010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42425
42426 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42427 builtins, define the macros in the C99 standard.
42428 (FP_FAST_FMAF): Likewise.
42429 (FP_FAST_FMAL): Likewise.
42430 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42431 multiply/add.
42432 (FP_FAST_FMAF): Likewise.
42433
475facd1
JJ
424342010-10-15 Jakub Jelinek <jakub@redhat.com>
42435
42436 [BZ #3268]
42437 * math/libm-test.inc (fma_test): Some new testcases.
42438 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42440 y and infinite z. Do multiplication by C already in long double.
42441 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42443 y and infinite z. Do bitwise or of inexact bit into u.d.
42444 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42445 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42446 * sysdeps/i386/fpu/s_fma.S: Removed.
42447 * sysdeps/i386/fpu/s_fmal.S: Removed.
42448
7c08a05c
JJ
424492010-10-16 Jakub Jelinek <jakub@redhat.com>
42450
42451 [BZ #3268]
42452 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42454 computation is not scheduled after fetestexcept. Fix value
42455 of minimum denormal long double.
42456
f3f7372d
JJ
424572010-10-14 Jakub Jelinek <jakub@redhat.com>
42458
42459 [BZ #3268]
42460 * math/libm-test.inc (fma_test): Add some more tests.
42461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42462 correctly.
42463
14d43591
AS
424642010-10-15 Andreas Schwab <schwab@redhat.com>
42465
42466 * scripts/data/localplt-s390-linux-gnu.data: New file.
42467 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42468
5e908464
JJ
424692010-10-13 Jakub Jelinek <jakub@redhat.com>
42470
42471 [BZ #3268]
42472 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42473 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42474 instead of dbl-64.
42475 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42476 inlines.
42477 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42479 if one of x and y is very large and the other is subnormal.
42480 * sysdeps/s390/fpu/s_fmaf.c: New file.
42481 * sysdeps/s390/fpu/s_fma.c: New file.
42482 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42483 * sysdeps/powerpc/fpu/s_fma.S: New file.
42484 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42485 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42486 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42487
424882010-10-12 Jakub Jelinek <jakub@redhat.com>
42489
42490 [BZ #3268]
42491 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42492 fma tests.
42493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42494 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42495 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42496 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42497 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42498 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42499 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42500
b833d51f
UD
425012010-10-12 Ulrich Drepper <drepper@redhat.com>
42502
42503 [BZ #12078]
42504 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42505 * posix/bug-regex31.input: Add test case.
42506
1751705d
UD
425072010-10-11 Ulrich Drepper <drepper@gmail.com>
42508
e9b9cbf5
UD
42509 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42510 * posix/bug-regex31.input: New file.
42511
42512 [BZ #12078]
42513 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42514 (parse_sub_exp): Fix last change, use postorder.
42515
ef06edbe
UD
42516 * posix/bug-regex31.c: New file.
42517 * posix/Makefile: Add rules to build and run bug-regex31.
42518
a129c80d
UD
42519 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42520
42521 [BZ #12078]
42522 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42523
b76b818e
UD
42524 [BZ #12108]
42525 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42526 to have entries in sys_siglist.
42527
1751705d
UD
42528 [BZ #12093]
42529 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42530 be NULL.
42531
9ff8d36f
JJ
425322010-10-07 Jakub Jelinek <jakub@redhat.com>
42533
42534 [BZ #3268]
42535 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42536 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42537 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42538 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42539 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42540 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42541 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42542 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42543 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42544 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42545 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42546 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42547 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42548 * math/ftestexcept.c (fetestexcept): Likewise.
42549 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42550 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42551 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42552 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42553 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42554 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42555 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42556
af325969
UD
425572010-10-11 Ulrich Drepper <drepper@gmail.com>
42558
c579b202 42559 [BZ #12107]
af325969
UD
42560 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42561 newline.
42562
67a67b95
UD
425632010-10-06 Ulrich Drepper <drepper@gmail.com>
42564
42565 * string/bug-strstr1.c: New file.
42566 * string/Makefile: Add rules to build and run bug-strstr1.
42567
5fb308bc
EB
425682010-10-05 Eric Blake <eblake@redhat.com>
42569
42570 [BZ #12092]
42571 * string/str-two-way.h (two_way_long_needle): Always clear memory
42572 when skipping input due to the shift table.
42573
45db99c7
UD
425742010-10-03 Ulrich Drepper <drepper@gmail.com>
42575
3b111893
UD
42576 [BZ #12005]
42577 * malloc/mcheck.c: Handle large requests.
42578
45db99c7
UD
42579 [BZ #12077]
42580 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42581 for strncmp and strncasecmp.
42582 * string/stratcliff.c: Add tests for strcmp and strncmp.
42583 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42584
cf7a1eb8
NI
425852010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42586
42587 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42588 __set_fpscr.
42589
6484ba5e
AJ
425902010-09-30 Andreas Jaeger <aj@suse.de>
42591
42592 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42593 (CGROUP_SUPER_MAGIC): Define.
42594 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42595 Handle btrfs and cgroup file systems.
42596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42597 Likewise.
42598
91c42559
LM
425992010-09-27 Luis Machado <luisgpm@br.ibm.com>
42600
42601 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42602 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42603
87a97932
AK
426042010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42605
42606 [BZ #12067]
42607 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42608 trying to locate the ELF header.
42609
c21cc9bc
AS
426102010-09-27 Andreas Schwab <schwab@redhat.com>
42611
42612 [BZ #11611]
42613 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42614 Mask out sign-bit copies when constructing f_fsid.
42615
315970f6
PB
426162010-09-24 Petr Baudis <pasky@suse.cz>
42617
42618 * debug/stack_chk_fail_local.c: Add missing licence exception.
42619 * debug/warning-nop.c: Likewise.
42620
1ac7a2c7
JM
426212010-09-15 Joseph Myers <joseph@codesourcery.com>
42622
42623 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42624 implementing getdents64 using getdents syscall, set d_type if
42625 __ASSUME_GETDENTS32_D_TYPE.
42626
56801c50
AS
426272010-09-16 Andreas Schwab <schwab@redhat.com>
42628
42629 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42630 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42631
dda51327
UD
426322010-09-21 Ulrich Drepper <drepper@redhat.com>
42633
42634 [BZ #12037]
42635 * posix/unistd.h: Undo change of feature selection for ftruncate from
42636 2010-01-11.
42637
8ffcee4a
UD
426382010-09-20 Ulrich Drepper <drepper@redhat.com>
42639
a545ecd9 42640 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42641 detection.
42642
e24f0a8b
AS
426432010-09-20 Andreas Schwab <schwab@redhat.com>
42644
42645 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42646 fanotify_mark.
42647 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42648
7291c56f
AS
426492010-09-14 Andreas Schwab <schwab@redhat.com>
42650
42651 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42652 variables after CHECK_SP call.
42653 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42654
bc5fb037
AS
426552010-09-13 Andreas Schwab <schwab@redhat.com>
42656 Ulrich Drepper <drepper@redhat.com>
42657
42658 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42659 re-relocationg ld.so.
42660 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42661 _dl_init_paths call.
42662 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42663 here anymore.
42664
e66e7419
UD
426652010-09-14 Ulrich Drepper <drepper@redhat.com>
42666
42667 * resolv/res_init.c (__res_vinit): Count the default server we added.
42668
c044aa75
CLT
426692010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42670 Ulrich Drepper <drepper@redhat.com>
42671
42672 [BZ #11968]
42673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42674 (____longjmp_chk): Use %ebx for saving value across system call.
42675 Add unwind info.
42676
32cf4069
AS
426772010-09-06 Andreas Schwab <schwab@redhat.com>
42678
42679 * manual/Makefile: Don't mix pattern rules with normal rules.
42680
817328ee
AS
426812010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42682
42683 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42684 operation.
42685 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42686 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42687 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42688 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42690 Likewise.
42691
29fddf61
UD
426922010-09-04 Ulrich Drepper <drepper@redhat.com>
42693
42694 [BZ #11979]
42695 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42696 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42697
0959ffc9
UD
426982010-09-02 Ulrich Drepper <drepper@redhat.com>
42699
42700 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42701 * sysdeps/x86_64/addmul_1.S: Likewise.
42702 * sysdeps/x86_64/lshift.S: Likewise.
42703 * sysdeps/x86_64/mul_1.S: Likewise.
42704 * sysdeps/x86_64/rshift.S: Likewise.
42705 * sysdeps/x86_64/sub_n.S: Likewise.
42706 * sysdeps/x86_64/submul_1.S: Likewise.
42707
ece29840
ST
427082010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42709
0959ffc9
UD
42710 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42711 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42712 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42713 * bits/sched.h [__need_schedparam]
ece29840 42714 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42715 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42716 (__defined_schedparam): Define to 1.
ece29840
ST
42717 (__sched_param): New structure, identical to sched_param.
42718 (__need_schedparam): Undefine.
42719
e53a31fe
MF
427202010-08-31 Mike Frysinger <vapier@gentoo.org>
42721
fdc0c10d
MF
42722 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42723 (epoll_create1): Declare.
42724
e53a31fe
MF
42725 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42726
a726d796
AS
427272010-08-31 Andreas Schwab <schwab@redhat.com>
42728
42729 [BZ #7066]
42730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42731 shifting retval into place.
42732
2f3e3dc7
UD
427332010-09-01 Ulrich Drepper <drepper@redhat.com>
42734
f2933da9
UD
42735 * nis/rpcsvc/nis.h: Update copyright notice.
42736 * nis/rpcsvc/nis.x: Likewise.
42737 * nis/rpcsvc/nis_callback.h: Likewise.
42738 * nis/rpcsvc/nis_callback.x: Likewise.
42739 * nis/rpcsvc/nis_object.x: Likewise.
42740 * nis/rpcsvc/nis_tags.h: Likewise.
42741 * nis/rpcsvc/yp.h: Likewise.
42742 * nis/rpcsvc/yp.x: Likewise.
42743 * nis/rpcsvc/ypupd.h: Likewise.
42744 * nis/yp_xdr.c: Likewise.
42745 * nis/ypupdate_xdr.c: Likewise.
42746
2f3e3dc7
UD
42747 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42748 mainly the body of pmap_getport. Add parameters to specify timeouts.
42749 (pmap_getport): Use __libc_rpc_getport.
42750 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42751 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42752 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42753
f3dcc2f9
AS
427542010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42755
42756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42757 fanotify_mark.
42758
6d34eb5b
RM
427592010-08-27 Roland McGrath <roland@redhat.com>
42760
42761 * sysdeps/i386/i686/multiarch/Makefile
42762 (CFLAGS-varshift.c): New variable.
42763
9ea3de11
UD
427642010-08-27 Ulrich Drepper <drepper@redhat.com>
42765
c96d23fc
UD
42766 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42767 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42768
9ea3de11
UD
42769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42770
42771 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42772
623aac7f
L
427732010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42774
42775 * sysdeps/x86_64/strlen.S: Unroll the loop.
42776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42777 strlen-sse2 strlen-sse2-bsf.
42778 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42779 __strlen_no_bsf if bit_Slow_BSF is set.
42780 (__strlen_sse42): Removed.
42781 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42782 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42783
8b2b7715
RM
427842010-08-25 Roland McGrath <roland@redhat.com>
42785
42786 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42787 * sysdeps/x86_64/multiarch/varshift.c: New file.
42788 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42789 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42790 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42791 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42792
e73015f2
L
427932010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42794
42795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42796 strlen-sse2 strlen-sse2-bsf.
42797 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42798 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42799 (__strlen_sse2): Removed.
42800 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42803 bit_Slow_BSF for Atom.
42804 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42805 (index_Slow_BSF): Define.
42806 (HAS_SLOW_BSF): Define.
42807
df24a73e
UD
428082010-08-25 Ulrich Drepper <drepper@redhat.com>
42809
42810 [BZ #10851]
42811 * resolv/res_init.c (__res_vinit): When no server address at all
42812 is given default to loopback.
42813
f2ac4868
RM
428142010-08-24 Roland McGrath <roland@redhat.com>
42815
09055553
RM
42816 * configure.in: Remove config-name.h generation.
42817 * configure: Regenerated.
42818 * config-name.in: File removed.
42819 * scripts/config-uname.sh: New file.
42820 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42821 ($(objdir)config-name.h): New target.
42822
f2ac4868
RM
42823 * sunrpc/rpc_parse.h: Avoid nested comment.
42824
73f27d5e
RH
428252010-08-24 Richard Henderson <rth@redhat.com>
42826 Ulrich Drepper <drepper@redhat.com>
42827 H.J. Lu <hongjiu.lu@intel.com>
42828
42829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42831 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42832 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42833 _mm_alignr_epi8 with _mm_loadu_si128.
42834 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42835 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42836 (__m128i_shift_right): Removed.
42837 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42838 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42839 * sysdeps/x86_64/multiarch/varshift.h: New file.
42840 * sysdeps/x86_64/multiarch/varshift.S: New file.
42841
84b9230c
MF
428422010-08-21 Mike Frysinger <vapier@gentoo.org>
42843
42844 * configure.in: Move assembler checks to before sysdep dir checking.
42845
9bbd0ddc
PB
428462010-08-20 Petr Baudis <pasky@suse.cz>
42847
42848 * LICENSES: Sync the sunrpc license.
42849
9da4bb31
UD
428502010-08-19 Ulrich Drepper <drepper@redhat.com>
42851
a7ab6ec8
UD
42852 * sunrpc/auth_des.c: Update copyright notice once again.
42853 * sunrpc/auth_none.c: Likewise.
42854 * sunrpc/auth_unix.c: Likewise.
42855 * sunrpc/authdes_prot.c: Likewise.
42856 * sunrpc/authuxprot.c: Likewise.
42857 * sunrpc/bindrsvprt.c: Likewise.
42858 * sunrpc/clnt_gen.c: Likewise.
42859 * sunrpc/clnt_perr.c: Likewise.
42860 * sunrpc/clnt_raw.c: Likewise.
42861 * sunrpc/clnt_simp.c: Likewise.
42862 * sunrpc/clnt_tcp.c: Likewise.
42863 * sunrpc/clnt_udp.c: Likewise.
42864 * sunrpc/clnt_unix.c: Likewise.
42865 * sunrpc/des_crypt.c: Likewise.
42866 * sunrpc/des_soft.c: Likewise.
42867 * sunrpc/get_myaddr.c: Likewise.
42868 * sunrpc/getrpcport.c: Likewise.
42869 * sunrpc/key_call.c: Likewise.
42870 * sunrpc/key_prot.c: Likewise.
42871 * sunrpc/openchild.c: Likewise.
42872 * sunrpc/pm_getmaps.c: Likewise.
42873 * sunrpc/pm_getport.c: Likewise.
42874 * sunrpc/pmap_clnt.c: Likewise.
42875 * sunrpc/pmap_prot.c: Likewise.
42876 * sunrpc/pmap_prot2.c: Likewise.
42877 * sunrpc/pmap_rmt.c: Likewise.
42878 * sunrpc/rpc/auth.h: Likewise.
42879 * sunrpc/rpc/auth_unix.h: Likewise.
42880 * sunrpc/rpc/clnt.h: Likewise.
42881 * sunrpc/rpc/des_crypt.h: Likewise.
42882 * sunrpc/rpc/key_prot.h: Likewise.
42883 * sunrpc/rpc/netdb.h: Likewise.
42884 * sunrpc/rpc/pmap_clnt.h: Likewise.
42885 * sunrpc/rpc/pmap_prot.h: Likewise.
42886 * sunrpc/rpc/pmap_rmt.h: Likewise.
42887 * sunrpc/rpc/rpc.h: Likewise.
42888 * sunrpc/rpc/rpc_des.h: Likewise.
42889 * sunrpc/rpc/rpc_msg.h: Likewise.
42890 * sunrpc/rpc/svc.h: Likewise.
42891 * sunrpc/rpc/svc_auth.h: Likewise.
42892 * sunrpc/rpc/types.h: Likewise.
42893 * sunrpc/rpc/xdr.h: Likewise.
42894 * sunrpc/rpc_clntout.c: Likewise.
42895 * sunrpc/rpc_cmsg.c: Likewise.
42896 * sunrpc/rpc_common.c: Likewise.
42897 * sunrpc/rpc_cout.c: Likewise.
42898 * sunrpc/rpc_dtable.c: Likewise.
42899 * sunrpc/rpc_hout.c: Likewise.
42900 * sunrpc/rpc_main.c: Likewise.
42901 * sunrpc/rpc_parse.c: Likewise.
42902 * sunrpc/rpc_parse.h: Likewise.
42903 * sunrpc/rpc_prot.c: Likewise.
42904 * sunrpc/rpc_sample.c: Likewise.
42905 * sunrpc/rpc_scan.c: Likewise.
42906 * sunrpc/rpc_scan.h: Likewise.
42907 * sunrpc/rpc_svcout.c: Likewise.
42908 * sunrpc/rpc_tblout.c: Likewise.
42909 * sunrpc/rpc_util.c: Likewise.
42910 * sunrpc/rpc_util.h: Likewise.
42911 * sunrpc/rpcinfo.c: Likewise.
42912 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42913 * sunrpc/rpcsvc/key_prot.x: Likewise.
42914 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42915 * sunrpc/rpcsvc/mount.x: Likewise.
42916 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42917 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42918 * sunrpc/rpcsvc/rex.x: Likewise.
42919 * sunrpc/rpcsvc/rstat.x: Likewise.
42920 * sunrpc/rpcsvc/rusers.x: Likewise.
42921 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42922 * sunrpc/rpcsvc/spray.x: Likewise.
42923 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42924 * sunrpc/rtime.c: Likewise.
42925 * sunrpc/svc.c: Likewise.
42926 * sunrpc/svc_auth.c: Likewise.
42927 * sunrpc/svc_authux.c: Likewise.
42928 * sunrpc/svc_raw.c: Likewise.
42929 * sunrpc/svc_run.c: Likewise.
42930 * sunrpc/svc_simple.c: Likewise.
42931 * sunrpc/svc_tcp.c: Likewise.
42932 * sunrpc/svc_udp.c: Likewise.
42933 * sunrpc/svc_unix.c: Likewise.
42934 * sunrpc/svcauth_des.c: Likewise.
42935 * sunrpc/xcrypt.c: Likewise.
42936 * sunrpc/xdr.c: Likewise.
42937 * sunrpc/xdr_array.c: Likewise.
42938 * sunrpc/xdr_float.c: Likewise.
42939 * sunrpc/xdr_mem.c: Likewise.
42940 * sunrpc/xdr_rec.c: Likewise.
42941 * sunrpc/xdr_ref.c: Likewise.
42942 * sunrpc/xdr_sizeof.c: Likewise.
42943 * sunrpc/xdr_stdio.c: Likewise.
42944
9da4bb31
UD
42945 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42946 handling.
42947
bdaa77bc
AS
429482010-08-19 Andreas Schwab <schwab@redhat.com>
42949
42950 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42951
fe2f79db
LM
429522010-08-19 Luis Machado <luisgpm@br.ibm.com>
42953
42954 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42955 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42956 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42957 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42958 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42959 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42960 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42961 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42963 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42964 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42965 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42966 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42967 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42968
b9b42ee0
AB
429692010-07-26 Anton Blanchard <anton@samba.org>
42970
42971 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42972 * malloc/arena.c (heap_trim): Likewise.
42973
1c06ba31
UD
429742010-08-16 Ulrich Drepper <drepper@redhat.com>
42975
42976 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42977 here. Not...
42978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42979 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42980
f8392f40
L
429812010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42982
42983 * sysdeps/i386/elf/Makefile: New file.
42984
3162f12e
AS
429852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42986
42987 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42988 from fanotify_init.
42989 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42991
28c90b2c
UD
429922010-08-15 Ulrich Drepper <drepper@redhat.com>
42993
42994 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42995 of strncasecmp_l.
1feccb6c 42996 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42997
ca6bb004
UD
429982010-08-14 Ulrich Drepper <drepper@redhat.com>
42999
e9f82e0d
UD
43000 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43001 strncase_l-nonascii.
43002 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43003 Add strncase_l-ssse3.
43004 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43005 * sysdeps/x86_64/strcmp.S: Likewise.
43006 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43007 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43008 * sysdeps/x86_64/strncase.S: New file.
43009 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43010 * sysdeps/x86_64/strncase_l.S: New file.
43011 * string/Makefile (strop-tests): Add strncasecmp.
43012 * string/test-strncasecmp.c: New file.
43013
43014 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43015 warning.
43016
ca6bb004
UD
43017 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43018 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43019
052fa7b3
AS
430202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43021
43022 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43023
962dba78
UD
430242010-08-12 Ulrich Drepper <drepper@redhat.com>
43025
43026 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43027 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43028 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43029
bebff237
AM
430302010-05-01 Alan Modra <amodra@gmail.com>
43031
43032 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43033 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43034 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43035 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43036 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43037 tidying. Don't tail-call __sigjmp_save for static lib.
43038 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43039 save location.
43040 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43041 (CALL_MCOUNT): Add eh info, and nop after bl.
43042 (TAIL_CALL_SYSCALL_ERROR): New macro.
43043 (PSEUDO_RET): Use it.
43044 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43045 Correct save location of integer regs and cr.
43046 (_dl_profile_resolve): Correct cr save location. Delete nops
43047 after bl when SHARED. Reduce cfi size a little by better
43048 placement of cfi directives.
43049 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43050 make a stack frame. Instead use parm save area as a temp.
43051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43052 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43054 Don't make a stack frame for parent, use parm save area.
43055 Increase child stack frame to 112 bytes. Don't save unused reg,
43056 and adjust reg usage. Set up cfi on error recovery and
43057 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43059 (__makecontext): Add dummy nop after jump to exit.
43060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43061 Use correct parm save area and cr save, reduce stack frame.
43062 Correct cfi for possible PSEUDO_RET frame setup.
43063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43064 Branch to local label emitted by PSEUDO_RET rather than
43065 __syscall_error.
43066
02637374
AS
430672010-08-12 Andreas Schwab <schwab@redhat.com>
43068
43069 [BZ #11904]
43070 * locale/programs/locale.c (print_assignment): New function.
43071 (show_locale_vars): Use it.
43072
c3e2f19b
UD
430732010-08-11 Ulrich Drepper <drepper@redhat.com>
43074
3cdaa6ad
UD
43075 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43076 field.
43077 (struct statfs64): Likewise.
43078 (_STATFS_F_FLAGS): Define.
43079 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43080 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43081 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43082 (ST_VALID): Define locally.
43083 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43084 __statvfs_getflags, use the provided value.
43085 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43086 __ASSUME_STATFS_F_FLAGS.
43087
754f7da3
UD
43088 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43089
10b3bedc
UD
43090 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43091 Add sys/fanotify.h.
43092 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43093 fanotify_mask for GLIBC_2.13.
43094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43095 fanotify_init and fanotify_mark.
43096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43097 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43098
c08fb0d7
UD
43099 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43100 Add prlimit.
43101 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43102 prlimit64 for GLIBC_2.13.
43103 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43104 prlimit64.
43105 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43106 syscall.
43107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43108 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43109 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43110 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43112 add prlimit alias.
43113 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43114
15bac72b
UD
43115 [BZ #11903]
43116 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43117 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43118
c3e2f19b
UD
43119 * nss/Makefile: Add rules to build and run tst-nss-test1.
43120 * shlib-versions: Add entry for libnss_test1.
43121 * nss/nss_test1.c: New file.
43122 * nss/tst-nss-test1.c: New file.
43123
43124 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43125 (__nss_configure_lookup): Set appropriate entry in
43126 __nss_configure_lookup to true.
43127 * nss/nsswitch.h: Define enum with indeces of databases in
43128 databases and __nss_database_custom arrays. Declare
43129 __nss_database_custom.
43130 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43131 to avoid using nscd when custom rules are installed.
43132 * nss/getXXbyYY_r.c: Likewise.
43133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43134
43135 * nss/nss_files/files-parse.c: Whitespace fixes.
43136
f15ce4d8
UD
431372010-08-09 Ulrich Drepper <drepper@redhat.com>
43138
43139 [BZ #11883]
43140 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43141 * posix/fnmatch_loop.c: Likewise.
43142
d22e4cc9
AK
431432010-07-17 Andi Kleen <ak@linux.intel.com>
43144
43145 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43146 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43147 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43148 * Versions.def [GLIBC_2.13]: Add.
43149
805bc17d
UD
431502010-08-06 Ulrich Drepper <drepper@redhat.com>
43151
43152 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43153 Also fail if tpwd after pwuid call is NULL.
43154
5a42321d
ST
431552010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43156
43157 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43158 when converting to ms.
43159
fd3ebeda
ST
431602010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43161
43162 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43163 EOPNOTSUPP errors with ENOTTY.
43164 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43165 EOPNOTSUPP errors with ENOTTY.
43166
73507d3a
UD
431672010-07-31 Ulrich Drepper <drepper@redhat.com>
43168
43169 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43170 Add strcasecmp_l-ssse3.
43171 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43172 strcasecmp.
43173 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43174 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43175 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43176
fe36dd02
UD
431772010-07-30 Ulrich Drepper <drepper@redhat.com>
43178
66f6765a
UD
43179 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43180
42e08a54
UD
43181 * string/Makefile (strop-tests): Add strcasecmp.
43182 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43183 strcasecmp_l-nonascii.
43184 (gen-as-const-headers): Add locale-defines.sym.
43185 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43186 * sysdeps/x86_64/strcasecmp.S: New file.
43187 * sysdeps/x86_64/strcasecmp_l.S: New file.
43188 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43189 * sysdeps/x86_64/locale-defines.sym: New file.
43190 * string/test-strcasecmp.c: New file.
43191
fe36dd02
UD
43192 * string/test-strcasestr.c: Test both ends of the range of characters.
43193 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43194
48cbc0d6
RM
431952010-07-29 Roland McGrath <roland@redhat.com>
43196
76e6d6bc 43197 [BZ #11856]
48cbc0d6
RM
43198 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43199
880113d9
UD
432002010-07-27 Ulrich Drepper <drepper@redhat.com>
43201
43202 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43203 for ld.so.
43204
deb9cabb
AS
432052010-07-27 Andreas Schwab <schwab@redhat.com>
43206
43207 * manual/memory.texi (Malloc Tunable Parameters): Document
43208 M_PERTURB.
43209
1c7570ff
RM
432102010-07-26 Roland McGrath <roland@redhat.com>
43211
43212 [BZ #11840]
43213 * configure.in (-fgnu89-inline check): Set and substitute
43214 gnu89_inline, not libc_cv_gnu89_inline.
43215 * configure: Regenerated.
43216 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43217
24fb0f88
UD
432182010-07-26 Ulrich Drepper <drepper@redhat.com>
43219
43220 * string/test-strnlen.c: New file.
43221 * string/Makefile (strop-tests): Add strnlen.
43222 * string/tester.c (test_strnlen): Add a few more test cases.
43223 * string/tst-strlen.c: Better error reporting.
43224
43225 * sysdeps/x86_64/strnlen.S: New file.
43226
8e96b93a
UD
432272010-07-24 Ulrich Drepper <drepper@redhat.com>
43228
43229 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43230 lower-latency instructions.
43231
dbc676d4
UD
432322010-07-23 Ulrich Drepper <drepper@redhat.com>
43233
43234 * string/test-strcasestr.c: New file.
43235 * string/test-strstr.c: New file.
43236 * string/Makefile (strop-tests): Add strstr and strcasestr.
43237 * string/str-two-way.h: Don't undefine MAX.
43238 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43239
f6a31e0e
AS
432402010-07-21 Andreas Schwab <schwab@redhat.com>
43241
43242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43243 strcasestr-nonascii.
43244 (CFLAGS-strcasestr-nonascii.c): Define.
43245 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43246 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43247 Remove unused attribute.
43248
5dbc3b6c
RM
432492010-07-20 Roland McGrath <roland@redhat.com>
43250
43251 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43252 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43253 ld.so.cache was broken. With it, there is no way to disable dsocaps
43254 like LD_HWCAP_MASK can disable hwcaps.
43255
23d101d8
EPM
432562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43257
43258 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43259
cc9f2e47
UD
432602010-07-16 Ulrich Drepper <drepper@redhat.com>
43261
43262 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43263 call in strcasestr.
43264 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43265 __strcasestr_sse42_nonascii.
43266 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43267 strcasestr-nonascii.c.
43268 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43269
77c1b069
LM
432702010-06-15 Luis Machado <luisgpm@br.ibm.com>
43271
43272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43273 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43274 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43275 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43276
440566c3
UD
432772010-07-09 Ulrich Drepper <drepper@redhat.com>
43278
43279 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43280 fcntl.
43281
5be9d05d
AS
432822010-07-06 Andreas Schwab <schwab@redhat.com>
43283
c30b7ee2 43284 [BZ #11577]
5be9d05d
AS
43285 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43286 dl_signal_cerror.
43287
8a492a67
UD
432882010-07-06 Ulrich Drepper <drepper@redhat.com>
43289
43290 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43291 _PC_PIPE_BUF using F_GETPIPE_SZ.
43292
713df3d5
RM
432932010-07-05 Roland McGrath <roland@redhat.com>
43294
43295 * manual/arith.texi (Rounding Functions): Fix rint description
43296 implicit in round description.
43297
702e8f14
UD
432982010-07-02 Ulrich Drepper <drepper@redhat.com>
43299
43300 * elf/Makefile: Fix linking for a few tests to make recent linker
43301 happy.
43302
52ed8be9
AS
433032010-06-30 Andreas Schwab <schwab@redhat.com>
43304
43305 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43306 $(common-objpfx)libc_nonshared.a.
43307
f47c9a11
LM
433082010-06-21 Luis Machado <luisgpm@br.ibm.com>
43309
43310 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43311 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43312 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43313 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43314 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43315 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43316 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43317 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43332 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43333 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43334 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43335 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43336 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43337 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43338 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43339 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43340 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43341 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43342 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43343 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43358
6fb8cbcb
L
433592010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43360
43361 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43362 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43363 * string/memmove.c (memmove): Renamed to ...
43364 (MEMMOVE): ...this. Default to memmove.
43365 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43366 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43367 (END_CHK): Define.
43368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43369 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43370 mempcpy-ssse3-back memmove-ssse3-back.
43371 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43374 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43375 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43376 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43377 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43378 * sysdeps/x86_64/multiarch/memmove.c: New file.
43379 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43380 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43381 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43382 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43383 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43385 Define.
43386 (index_Fast_Copy_Backward): Define.
43387 (HAS_ARCH_FEATURE): Define.
43388 (HAS_FAST_REP_STRING): Define.
43389 (HAS_FAST_COPY_BACKWARD): Define.
43390
4e733bac 433912010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43392
43393 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43394 Restore proper fallback handling.
43395
63c4ed22
UD
433962010-06-19 Ulrich Drepper <drepper@redhat.com>
43397
ac2b484c
UD
43398 [BZ #11701]
43399 * posix/group_member.c (__group_member): Correct checking loop.
43400
63c4ed22
UD
43401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43402 OOM in getpwuid_r correctly. Return error number when the caller
43403 should return, otherwise -1.
43404 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43405 call returning > 0 value.
43406 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43407
765ade4b
AS
434082010-06-07 Andreas Schwab <schwab@redhat.com>
43409
43410 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43411 libc_nonshared.a from targets in modules-names.
43412
80da2e09
KS
434132010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43414
43415 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43416 requires it.
43417
158db122
LM
434182010-06-10 Luis Machado <luisgpm@br.ibm.com>
43419
43420 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43422 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43424
caa78cf8
AS
434252010-06-02 Andreas Schwab <schwab@redhat.com>
43426
43427 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43428
b2ef2c01
UD
434292010-06-14 Ulrich Drepper <drepper@redhat.com>
43430
43431 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43432 and F_GETPIPE_SZ.
43433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43437 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43438 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43439
fbd643b6
RM
434402010-06-14 Roland McGrath <roland@redhat.com>
43441
43442 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43443
f32f2869
JJ
434442010-06-07 Jakub Jelinek <jakub@redhat.com>
43445
43446 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43447 __REDIRECT followed by __THROW.
43448 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43449 * posix/getopt.h (getopt): Likewise.
43450
2a50c078
EPM
434512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43452
43453 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43454 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43455 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43456 in AT_FLAGS.
43457 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43458 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43459
eb5ad2eb
LM
434602010-05-28 Luis Machado <luisgpm@br.ibm.com>
43461
43462 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43463
3c88fe1e
L
434642010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43465
43466 [BZ #11640]
43467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43468 Properly check family and model.
43469
d2f73151
TY
434702010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43471
43472 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43473
ebd2e13d
LM
434742010-05-24 Luis Machado <luisgpm@br.ibm.com>
43475
43476 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43477
b32b8b45
UD
434782010-05-21 Ulrich Drepper <drepper@redhat.com>
43479
43480 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43481 symbol reference.
43482
9acbe24d
AS
434832010-05-19 Andreas Schwab <schwab@redhat.com>
43484
43485 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43486 symbol reference.
43487
f0ccf6ea
AS
434882010-05-21 Andreas Schwab <schwab@redhat.com>
43489
3d04ff3a
AS
43490 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43491 and internal_recvmmsg.
43492 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43493 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43494 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43495 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43496
f0ccf6ea
AS
43497 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43498 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43499 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43500
5b08ac57
AS
435012010-05-20 Andreas Schwab <schwab@redhat.com>
43502
43503 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43504
4828935d
LM
435052010-05-17 Luis Machado <luisgpm@br.ibm.com>
43506
43507 POWER7 optimizations.
43508 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43509 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43510
373d545e
UD
435112010-05-19 Ulrich Drepper <drepper@redhat.com>
43512
43513 * version.h: Update for 2.13 development version.
43514
21a2b1ae
AS
435152010-05-12 Andrew Stubbs <ams@codesourcery.com>
43516
43517 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43518 exceptions. Return 0.
43519
3f7dcb2b
RM
435202010-05-07 Roland McGrath <roland@redhat.com>
43521
43522 * elf/ldconfig.c (main): Add a const.
43523
5f24d53a 435242010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43525
a160f8d8
UD
43526 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43527 (args_options): Add no-idn option.
43528 (ahosts_keys_int): Add idn_flags to ai_flags.
43529 (parse_option): Handle 'i' option to clear idn_flags.
43530
5f24d53a
UD
43531 * malloc/malloc.c (_int_free): Possible race in the most recently
43532 added check. Only act on the data if no current modification
43533 happened.
265bb1ce
UD
43534
43535See ChangeLog.17 for earlier changes.
This page took 5.894911 seconds and 5 git commands to generate.