]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Move rules for Linux-specific pldd program to Linux-specific Makefile.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
eb1ed03d
RM
12014-05-05 Roland McGrath <roland@hack.frob.com>
2
fe658845
RM
3 * elf/Makefile (others, install-bin): Remove pldd.
4 (pldd-modules): Variable removed.
5 ($(objpfx)pldd): Target removed.
6 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
7 (others, install-bin): Append pldd here.
8 ($(objpfx)pldd): New target.
9
eb1ed03d
RM
10 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11 to 0, so the first #if test emitted later doesn't see it undefined.
12 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13 * sysdeps/gnu/errlist.c: Regenerated.
14
19c4bec0
AZ
152014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16
17 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18 [libc_hidden_builtin_def]: Define to empty value.
19 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20 [libc_hidden_builtin_def]: Likewise.
21 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22 [libc_hidden_builtin_def]: Likewise.
23 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
24 [libc_hidden_builtin_def]: Likewise.
25 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
26 __redirect_memcpy and define ifunc as default hidden symbol.
27 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29
7776e669
AC
302014-05-04 Adam Conrad <adconrad@0c3.net>
31
32 * locale/iso-4217.def: Reintroduce XDR currency.
33
d69aeb12
AM
342014-05-04 Allan McRae <allan@archlinux.org>
35
36 * po/eo.po: Update Esperanto translation from translation project.
37
8f1df5cf
CD
382014-05-02 Carlos O'Donell <carlos@redhat.com>
39
40 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
41 and FEATURE_INDEX_MAX to 1.
42 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
43
13e402e7
SE
442014-05-01 Steve Ellcey <sellcey@mips.com>
45
46 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
47 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
48 * iconvdata/big5.c (ONE_DIRECTION): Define.
49 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
50 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
51 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52 * iconvdata/cp932.c (ONE_DIRECTION): Define.
53 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
54 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
55 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
56 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
57 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
58 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
59 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
60 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
61 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
62 * iconvdata/gbk.c (ONE_DIRECTION): Define.
63 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
64 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
65 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
66 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
67 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
68 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
69 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
70 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
71 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
72 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
73 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
74 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
75 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
76 * iconvdata/iso646.c (ONE_DIRECTION): Define.
77 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
78 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
79 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
80 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
81 * iconvdata/johab.c (ONE_DIRECTION): Define.
82 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
83 * iconvdata/sjis.c (ONE_DIRECTION): Define.
84 * iconvdata/t.61.c (ONE_DIRECTION): Define.
85 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
86 * iconvdata/tscii.c (ONE_DIRECTION): Define.
87 * iconvdata/uhc.c (ONE_DIRECTION): Define.
88 * iconvdata/unicode.c (ONE_DIRECTION): Define.
89 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
90 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
91 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
92
c727f032
RM
932014-05-01 Roland McGrath <roland@hack.frob.com>
94
8f2f08d0
RM
95 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
96 (_IO_JUMPS_OFFSET): Define to 0.
97
c727f032
RM
98 * nptl/sysdeps/pthread/bits/libc-lock.h
99 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
100 (__libc_lock_define_initialized_recursive): Always define using
101 initializer. Modern compilers treat uninitialized (implicit zero) and
102 explicit zero initializers the same (i.e. put the datum in bss).
103
a849e800
AS
1042014-05-01 Andreas Schwab <schwab@linux-m68k.org>
105
106 * nscd/nscd-client.h: Include <string.h>.
107
5331255b
DM
1082014-05-01 David S. Miller <davem@davemloft.net>
109
110 [BZ #16885]
111 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
112 multiple zero bytes exist at the end of a string.
113 Reported by Aurelien Jarno <aurelien@aurel32.net>
114
115 * string/test-strcmp.c (check): Add explicit test for situations where
116 there are multiple zero bytes after the first.
117
4fdfe821
AS
1182014-05-01 Andreas Schwab <schwab@linux-m68k.org>
119
120 [BZ #16890]
121 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
122 when compiling wprintf.
123 * stdio-common/tstdiomisc.c (t3): New function.
124 (main): Call it.
125
0cdddc25
SE
1262014-05-01 Steve Ellcey <sellcey@mips.com>
127
128 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
129 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
130 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
131 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
132
6426d77e
SE
1332014-05-01 Steve Ellcey <sellcey@mips.com>
134
135 * stdlib/longlong.h: Updated from GCC.
136
6d96f5e4
WN
1372014-05-01 Will Newton <will.newton@linaro.org>
138 Bernard Ogden <bernie.ogden@linaro.org>
139
7470db0c
WN
140 * NEWS: Update fixed bug list.
141
6d96f5e4
WN
142 [BZ #15119]
143 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
144
211d653c
DM
1452014-04-30 David S. Miller <davem@davemloft.net>
146
4fa262fa
DM
147 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
148 (libc_feholdexcept_setround_sparc_ctx): New function.
149 (libc_fesetenv_sparc_ctx): Likewise.
150 (libc_feupdateenv_sparc_ctx): Likewise.
151 (libc_feholdsetround_sparc_ctx): Likewise.
152 (libc_feholdexcept_setround_ctx): Define.
153 (libc_feholdexcept_setroundf_ctx): Likewise.
154 (libc_feholdexcept_setroundl_ctx): Likewise.
155 (libc_fesetenv_ctx): Likewise.
156 (libc_fesetenvf_ctx): Likewise.
157 (libc_fesetenvl_ctx): Likewise.
158 (libc_feupdateenv_ctx): Likewise.
159 (libc_feupdateenvf_ctx): Likewise.
160 (libc_feupdateenvl_ctx): Likewise.
161 (libc_feresetround_ctx): Likewise.
162 (libc_feresetroundf_ctx): Likewise.
163 (libc_feresetroundl_ctx): Likewise.
164 (libc_feholdsetround_ctx): Likewise.
165 (libc_feholdsetroundf_ctx): Likewise.
166 (libc_feholdsetroundl_ctx): Likewise.
167
1d3d93ef
DM
168 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
169 with __USE_GNU instead of XOPEN cpp guards.
170
8aa583c3
DM
171 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
172 0.
173
211d653c
DM
174 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
175 with XOPEN cpp guards.
176
60c8f1f6
JB
1772014-04-30 Julian Brown <julian@codesourcery.com>
178
179 [BZ #16888]
180 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
181 handling.
182
9a461d46
JM
1832014-04-30 Joseph Myers <joseph@codesourcery.com>
184
d0f5b3f8
JM
185 [BZ #9894]
186 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
187 Change to 2.6.32.
188 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
189 * sysdeps/unix/sysv/linux/configure: Regenerated.
190 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
191 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
192 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
193 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
194 * README: Update reference to required Linux kernel version.
195 * manual/install.texi (Linux): Update reference to required Linux
196 kernel headers version.
197 * INSTALL: Regenerated.
198
9a461d46
JM
199 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
200 header inclusion.
201 [POSIX] (limits.h): Likewise.
202 [POSIX] (math.h): Likewise.
203 [POSIX] (sys/wait.h): Likewise.
204 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
205 function.
206 [POSIX] (stddef.h): Do not allow header inclusion.
207
1775babf
AZ
2082014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
209
57f41c40 210 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 211
8f630cca
YY
2122014-04-30 Yang Yingliang <yangyingliang@huawei.com>
213
214 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
215 Return immediately after lll_futex_wake.
216
1cdeb237
SP
2172014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
218
bc8f194c
SP
219 [BZ #16791]
220 * nscd/nscd-client.h (datahead_init_common): Initialize entire
221 structure.
222 (datahead_init_pos): Call datahead_init_common early.
223 (datahead_init_neg): Likewise.
224
1cdeb237
SP
225 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
226 datahead_init_neg): New functions.
227 * nscd/aicache.c (addhstaiX): Use them.
228 * nscd/grpcache.c (cache_addgr): Likewise.
229 * nscd/hstcache.c (cache_addhst): Likewise.
230 * nscd/initgrcache.c (addinitgroupsX): Likewise.
231 * nscd/netgroupcache.c (do_notfound): Likewise.
232 (addgetnetgrentX): Likewise.
233 (addinnetgrX): Likewise.
234 * nscd/pwdcache.c (cache_addpw): Likewise.
235 * nscd/servicescache.c (cache_addserv): Likewise.
236
16b293a7
SP
2372014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
238 Atsushi Onoe <atsushi@onoe.org>
239
240 [BZ #14308]
241 [BZ #12994]
242 [BZ #13651]
243 * resolv/res_query.c (__libc_res_nsearch): Return if at least
244 one response is valid.
245 * resolv/res_send.c (send_dg): Check for validity of other
246 response if the current response is a referral.
247
a28a9b94
SE
2482014-04-29 Steve Ellcey <sellcey@mips.com>
249
250 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
251
2ca180e9
SL
2522014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
253
254 [BZ #16823]
255 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
256 Always divide by positive zero when computing -Inf result.
257 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
258 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
259
18f2945a
AZ
2602014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
261
262 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
263 FPSCR if value do not change.
264 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
265 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
266 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
267 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
268 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
269 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
270 function.
271
5abebba4
CD
2722014-05-29 Carlos O'Donell <carlos@systemhalted.org>
273
274 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
275 * sysdeps/unix/sysv/linux/hppa: Move directory from
276 ports/systeps/unix/sysv/linux/hppa.
277 * README: Update listing for hppa-*-linux-gnu.
278
f7ed60c2
OB
2792014-04-28 Ondřej Bílka <neleai@seznam.cz>
280
fff763a5
OB
281 [BZ #16754]
282 * manual/stdio.texi (Hook functions): Fix types of stream hook
283 functions.
f7ed60c2
OB
284 [BZ #16854]
285 * socket/sys/socket.h: Fix typo in comment.
286
df639d73
WD
2872014-04-28 Wilco <wdijkstr@arm.com>
288
f7ed60c2 289 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
290 * sysdeps/arm/math_private.h: New file.
291 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
292
48332d82
L
2932014-04-25 H.J. Lu <hongjiu.lu@intel.com>
294
295 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
296 with __int128_t.
297 (La_x86_64_retval): Likewise.
298
e5e0d9a4
IB
2992014-04-24 Ian Bolton <ian.bolton@arm.com>
300
301 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
302 fpsr if value didn't change.
303 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
304 to fpcr if value didn't change.
305 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
306 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
307 fpsr or fpcr if value didn't change.
308 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
309 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
310 fpcr if value didn't change.
311 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
312 to fpsr if value didn't change.
313
bacc75f7
SP
3142014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
315
316 * nptl/tst-sem3.c: Use test-skeleton.c
317 (main): Rename to do_test. Use return instead of
318 exit.
319 * nptl/tst-sem4.c: Use test-skeleton.c
320 (main): Rename to do_test.
321
a059d359
DM
3222014-04-22 David S. Miller <davem@davemloft.net>
323
324 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
325 (struct sigaction): New struct member __glibc_reserved0, change
326 type of sa_flags to int.
327
ea6c92f3
YZ
3282014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
329
330 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
331 (COUNT_LEADING_ZEROS_0): Define for AArch64.
332
766c4a36
SP
3332014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
334
335 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
336 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
337
140cc7ab
VK
3382014-04-22 Will Newton <will.newton@linaro.org>
339 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
340
341 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
342 (__longjmp): Add longjmp and longjmp_target SystemTap
343 probes.
344 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
345 (__sigsetjmp): Add setjmp SystemTap probe.
346
c54e5cf7
CD
3472014-04-17 Carlos O'Donell <carlos@redhat.com>
348
349 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
350 match manual order.
351
75ffb047
AZ
3522014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
353
354 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
355
2cd925f7
AZ
356 * sysdeps/powerpc/fpu/fenv_private.h
357 (libc_feholdexcept_setroundl_ctx): Define to
358 libc_feholdexcept_setround_ppc_ctx.
359 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
360 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
361 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
362 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
363
39e6cd8d
IB
3642014-04-17 Ian Bolton <ian.bolton@arm.com>
365
366 * sysdeps/aarch64/math-tests.h: New file.
367
f9281df9
SY
3682014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
369
370 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
371 New.
372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
373 Check and set bit_AVX2_Usable.
374 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
375 macro.
376 (bit_AVX2): Likewise.
377 (index_AVX2_Usable): Likewise.
378 (CPUID_AVX2): Likewise.
379 (HAS_AVX2): Likewise.
380
37d35007
WN
3812014-04-17 Will Newton <will.newton@linaro.org>
382
7c677662
WN
383 * manual/setjmp.texi (System V contexts): Add note that
384 calling setcontext on a context created by a call to a
385 signal handler is undefined. Update text to note that
386 setcontext from a signal handler is possible but not
387 recommended.
388
37d35007 389 [BZ #16629]
e04a4e9d
WN
390 * stdlib/tst-setcontext.c: Include signal.h.
391 (main): Check that the signal stack before and
392 after swapcontext is the same.
393
37d35007
WN
394 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
395 Re-implement to restore registers in user code and avoid
396 rt_sigreturn system call.
397
423a7160
W
3982014-04-17 Wilco <wdijkstr@arm.com>
399
400 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
401 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
402 * math/test-fenv.c: Skip exception trap tests on targets which only
403 support non-stop mode.
404
bc93ab29
IB
4052014-04-17 Ian Bolton <ian.bolton@arm.com>
406 Wilco Dijkstra <wilco.dijkstra@arm.com>
407
408 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
409 (libc_feholdsetround_aarch64_ctx)
410 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
411 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
412 (libc_feresetround_ctx, libc_feresetroundf_ctx)
413 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
414 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
415 (libc_feresetround_noexl_ctx): Define.
416
95fc5fa3
RH
4172014-04-16 Richard Henderson <rth@redhat.com>
418
ddb04724
RH
419 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
420
d77c0899
RH
421 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
422 unwind tables.
423
a3df56fc
RH
424 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
425 const from the non-libc, non-ldso copy.
426
95fc5fa3
RH
427 * sysdeps/alpha/libm-test-ulps: Regenerate.
428
7e0b6763
IB
4292014-04-16 Ian Bolton <ian.bolton@arm.com>
430 Wilco Dijkstra <wilco.dijkstra@arm.com>
431
432 * sysdeps/aarch64/fpu/math_private.h: New file.
433
a9ea2e0c
MS
4342014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
435
436 * sysdeps/aarch64/libm-test-ulps: Regenerate.
437
ea8ba7cd
IZ
4382014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
439
440 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
441 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
442 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
443 Intel MPX bound registers before _dl_profile_fixup.
444 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
445 registers after _dl_profile_fixup. Save and restore bound
446 registers bnd0/bnd1 when calling _dl_call_pltexit.
447 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
448 (LR_BND_OFFSET): Likewise.
449 (LRV_BND0_OFFSET): Likewise.
450 (LRV_BND1_OFFSET): Likewise.
451
9f2a4fbc
ST
4522014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
453
454 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
455 to...
456 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
457 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
458 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
459 fields.
9f2a4fbc 460
fd15a59b
ST
4612014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
462
463 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
464
f19dfa0a
SL
4652014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
466
467 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
468
4fa8bc3b
SL
4692014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
470
471 [BZ #14770]
472 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
473 * sysdeps/s390/configure: Regenerate.
474
8ea587db
SL
475 [BZ #16824]
476 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
477 Set round-to-nearest internally to reduce error accumulation.
478
aa5f0ff1
AM
4792014-04-16 Alan Modra <amodra@gmail.com>
480
481 [BZ #16740]
482 [BZ #16619]
483 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
484 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 485 * NEWS: Update fixed bug list.
aa5f0ff1 486
bb9c256f
SP
4872014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
488
489 * benchtests/Makefile: Depend on libraries in build directory.
490 (bench-math): Separate out math tests.
491 (bench-pthread): Separate out pthread tests.
492 (bench): Include math and pthread tests.
493
f737dfd0
CD
4942014-04-14 Carlos O'Donell <carlos@redhat.com>
495
496 [BZ #16831]
497 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
498 _dl_debug_initialize.
499
0699f766
CD
500 * configure.ac: Remove SELinux header check.
501 * configure: Regenerate.
502 * nscd/selinux.c (perms): Array of const char* to permission names.
503 (nscd_request_avc_has_perm): Call security_deny_unknown to find
504 default policy. Call string_to_security_class and string_to_av_perm to
505 translate strings. Enforce default policy and call avs_has_perm with
506 results of translated strings.
507
809bd45f
DM
5082014-04-13 David S. Miller <davem@davemloft.net>
509
510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
511
89e691f2
AM
5122014-04-12 Allan McRae <allan@archlinux.org>
513
514 [BZ #16838]
515 * manual/string.texi (Collation Functions): Fix qsort argument
516 order in example.
517 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
518
9c9daaeb
CM
5192014-04-11 Chris Metcalf <cmetcalf@tilera.com>
520
521 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
522 Make the test a no-op if there are no exceptions defined.
523
95561fb9
PP
5242014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
525
fe8d072c 526 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
527 enable-hardcoded-path-in-tests
528
970c602a
WN
5292014-04-11 Will Newton <will.newton@linaro.org>
530
531 * benchtests/Makefile (extra-objs): Add json-lib.o.
532 (bench-func): Tidy up JSON output.
533 * benchtests/bench-skeleton.c: Include json-lib.h.
534 (main): Use JSON library functions to do output of
535 benchmark results.
536 * benchtests/bench-timing-type.c (main): Output the
537 timing type simply, leaving formatting to the user.
538 * benchtests/json-lib.c: New file.
539 * benchtests/json-lib.h: Likewise.
540
36875b06
TR
5412014-04-11 Torvald Riegel <triegel@redhat.com>
542
543 [BZ #15215]
544 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
545 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
546 memory barriers. Add comments.
547 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
548 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
549 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
550 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
551 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
552 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
553
579db35a
SL
5542014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
555
556 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
557 * sysdeps/s390/s390-64/configure.ac: ... this ...
558 * sysdeps/s390/configure.ac: ... to here.
559 * sysdeps/s390/s390-32/configure: Delete file.
560 * sysdeps/s390/s390-64/configure: Delete file.
561 * sysdeps/s390/configure: Regenerate.
562
c12e9f37
JAPH
5632014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
564
565 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
566
439bda32
WN
5672014-04-11 Will Newton <will.newton@linaro.org>
568
569 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
570 to zero if it is not defined elsewhere. (mtrim): Test
571 the value of MALLOC_DEBUG with #if rather than #ifdef.
572
6a5d6ea1
TR
5732014-04-10 Torvald Riegel <triegel@redhat.com>
574
575 * benchtests/pthread_once-inputs: New file.
576 * benchtests/pthread_once-source.c: New file.
577 * benchtests/README: Update documentation.
578
a4c75cfd
IZ
5792014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
580 H.J. Lu <hongjiu.lu@intel.com>
581
582 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
583 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
584 * sysdeps/x86_64/configure: Regenerated.
585 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
586 macro.
587 (REGISTER_SAVE_RAX): Likewise.
588 (REGISTER_SAVE_RCX): Likewise.
589 (REGISTER_SAVE_RDX): Likewise.
590 (REGISTER_SAVE_RSI): Likewise.
591 (REGISTER_SAVE_RDI): Likewise.
592 (REGISTER_SAVE_R8): Likewise.
593 (REGISTER_SAVE_R9): Likewise.
594 (REGISTER_SAVE_BND0): Likewise.
595 (REGISTER_SAVE_BND1): Likewise.
596 (REGISTER_SAVE_BND2): Likewise.
597 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
598 bound registers when calling _dl_fixup.
599
27822ce6
AZ
6002014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
601
602 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
603 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
604 of its definition.
27822ce6
AZ
605 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
606 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
607 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
608 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
609 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
610 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
611 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
612
a88ddc90
PTB
6132014-04-09 Peter Brett <peter@peter-b.co.uk>
614
615 [BZ #15514]
616 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
617 pathconf(_PC_NAME_MAX).
618
01f8eac2
AZ
6192014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
620
621 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
622 Remove macro usage.
623 (__PTHREAD_SPINS): Move definition to ...
624 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
625 (__PTHREAD_SPINS): ... here.
626 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
627 (__PTHREAD_SPIN): Likewise.
628 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
629 (__PTHREAD_SPIN): Likewise.
630 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
631 (__PTHREAD_SPIN): Likewise.
632 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
633 (__PTHREAD_SPIN): Likewise.
634 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
635 (__PTHREAD_SPIN): Likewise.
636 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
637 (__PTHREAD_SPIN): Likewise.
638 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
639 (__PTHREAD_SPIN): Likewise.
640 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
641 (__PTHREAD_SPIN): Likewise.
642 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
643 (__PTHREAD_SPIN): Likewise.
644 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
645 (__PTHREAD_SPIN): Likewise.
646 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
647 (__PTHREAD_SPIN): Likewise.
648 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
649 (__PTHREAD_SPIN): Likewise.
650
de21c33c
AZ
651 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
652 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
653 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
654 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
655 imply folder.
656 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
657 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
658 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
659 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
660 correct imply path.
661 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
662 strlen symbol for non multi-arch builds.
663 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
664 missing hidden_def and weak_alias.
665
862c472e
CD
6662014-04-08 Carlos O'Donell <carlos@redhat.com>
667
668 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
669
8667f90e
WN
6702014-04-07 Will Newton <will.newton@linaro.org>
671
672 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
673 and contents. [!_LIBC] Remove #ifndef and contents.
674 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
675 * string/memccpy.c (__memccpy): Use ANSI prototype.
676 * string/memfrob.c (memfrob): Likewise.
677 * string/strcoll.c (STRCOLL): Likewise.
678 * string/strlen.c (strlen): Likewise.
679 * string/strtok.c (STRTOK): Likewise.
680 * string/strcat.c: Remove unused #include of memcopy.h.
681 (strcat): Use ANSI prototype.
682 * string/strchr.c: Remove unused #include of memcopy.h.
683 (strchr): Use ANSI prototype.
684 * string/strcmp.c: Remove unused #include of memcopy.h.
685 (strcmp): Use ANSI prototype.
686 * string/strcpy.c: Remove unused #include of memcopy.h.
687 (strcpy): Use ANSI prototype.
688
7ffa9423
AZ
6892014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
690
691 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
692 * config.make.in (config-extra-cppflags): Set it from
693 libc_extra_cppflags.
694 * configure.ac (libc_extra_cflags): Make it accumulate over
695 configure fragments.
696 (libc_extra_cppflags): New flag.
697 * configure. Regenerate.
698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
699 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
700 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
702
8bd70862
AZ
703 [BZ #16815]
704 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
705 result for FE_DOWNWARD rounding mode.
706 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
707 Likewise.
708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
709
d42f3448
CM
7102014-04-04 Chris Metcalf <cmetcalf@tilera.com>
711
712 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
713 in function argument name.
714
1c21d115
DS
7152014-04-03 David Svoboda <svoboda@cert.org>
716
717 [BZ #5666]
718 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
719 explicitly.
720
fcccd512
RM
7212014-04-03 Roland McGrath <roland@hack.frob.com>
722
723 * elf/dl-unmap-segments.h: New file.
724 * sysdeps/generic/ldsodefs.h
725 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
726 * elf/dl-close.c: Include <dl-unmap-segments.h>.
727 * elf/dl-fptr.c: Likewise.
728 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
729 * sysdeps/aarch64/tlsdesc.c: Likewise.
730 * sysdeps/arm/tlsdesc.c: Likewise.
731 * sysdeps/i386/tlsdesc.c: Likewise.
732 * sysdeps/tile/dl-runtime.c: Likewise.
733 * sysdeps/x86_64/tlsdesc.c: Likewise.
734 * elf/dl-load.h: New file.
735 * elf/dl-load.c: Include it.
736 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
737 Macros moved to dl-load.h.
738 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
739 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
740 Use _dl_unmap_segments in place of __munmap.
741 Break out segment-mapping loop into ...
742 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
743
f6488e2b
WN
7442014-04-03 Will Newton <will.newton@linaro.org>
745
746 * elf/dl-lookup.c (do_lookup_x): Remove comment
747 referring to nested function and move variable
748 declarations down to before first use.
749
6f05bafe
JM
7502014-04-02 Joseph Myers <joseph@codesourcery.com>
751
a84e78c8
JM
752 [BZ #16799]
753 [BZ #16800]
754 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
755 with 0 numerator.
756 * math/s_catanf.c (__catanf): Likewise.
757 * math/s_catanh.c (__catanh): Likewise.
758 * math/s_catanhf.c (__catanhf): Likewise.
759 * math/s_catanhl.c (__catanhl): Likewise.
760 * math/s_catanl.c (__catanl): Likewise.
761 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
762 by positive zero when computing -Inf result.
763 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
764 (catanh_test): Likewise.
765 * sysdeps/i386/fpu/libm-test-ulps: Update.
766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
767
6f05bafe
JM
768 [BZ #16789]
769 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
770 instead of using underflowing value in computing result.
771 * math/s_clog10.c (__clog10): Likewise.
772 * math/s_clog10f.c (__clog10f): Likewise.
773 * math/s_clog10l.c (__clog10l): Likewise.
774 * math/s_clogf.c (__clogf): Likewise.
775 * math/s_clogl.c (__clogl): Likewise.
776 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
777 (clog10_test): Likewise.
778 * sysdeps/i386/fpu/libm-test-ulps: Update.
779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
780
b0abbc21
AM
7812014-04-02 Alan Modra <amodra@gmail.com>
782
783 [BZ #16739]
784 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
785 output when value is near a power of two. Use int64_t for lx and
786 remove casts. Use decimal rather than hex exponent constants.
787 Don't use long double multiplication when double will suffice.
788 * math/libm-test.inc (nextafter_test_data): Add tests.
789 * NEWS: Add 16739 and 16786 to bug list.
790
af6b1797
AM
791 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
792
483818d7
AM
793 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
794
f6c55796
WN
7952014-04-01 Will Newton <will.newton@linaro.org>
796
797 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
798 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
799
13f7fe35
FW
8002014-04-01 Florian Weimer <fweimer@redhat.com>
801
802 [BZ #13347]
803 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
804 * nptl/tst-setuid2.c: New file.
805 * nptl/Makefile (xtests): Add tst-setuid2.
806
c859b32e
AM
8072014-04-01 Alan Modra <amodra@gmail.com>
808
809 [BZ #16786]
810 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
811
54fa2475
JM
8122014-03-31 Joseph Myers <joseph@codesourcery.com>
813
8795b4a4
JM
814 [BZ #6803]
815 [BZ #6804]
816 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
817 set errno as appropriate.
818 * math/w_scalbf.c (__scalbf): Likewise.
819 * math/w_scalbl.c (__scalbl): Likewise.
820 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
821 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
822 * math/libm-test.inc (scalb_test_data): Add errno expectations.
823 Add more NaN tests.
824
54fa2475
JM
825 [BZ #16349]
826 * math/w_atan2.c: Include <errno.h>.
827 (__atan2): Set errno for result underflowing to zero.
828 * math/w_atan2f.c: Include <errno.h>.
829 (__atan2f): Set errno for result underflowing to zero.
830 * math/w_atan2l.c: Include <errno.h>.
831 (__atan2l): Set errno for result underflowing to zero.
832 * math/auto-libm-test-in: Don't allow missing errno for some atan2
833 tests.
834 * math/auto-libm-test-out: Regenerated.
835
757d9dd5
AZ
8362014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
837
838 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
839 Encode instruction correctly in little endian.
840 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
841 Likewise.
842 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
843 Likewise.
844 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
845 Likewise.
846 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
847 Likewise.
848
d7a68734
JM
8492014-03-31 Joseph Myers <joseph@codesourcery.com>
850
47c5adeb
JM
851 [BZ #9894]
852 * sysdeps/unix/sysv/linux/kernel-features.h
853 [__sparc__ && !__arch64__ && !__sparc_v9__]
854 (__ASSUME_SET_ROBUST_LIST): Do not define.
855 [__sparc__ && !__arch64__ && !__sparc_v9__]
856 (__ASSUME_FUTEX_LOCK_PI): Likewise.
857 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
858 Likewise.
859 * sysdeps/unix/sysv/linux/arm/kernel-features.h
860 (__ASSUME_FUTEX_LOCK_PI): Undefine.
861 (__ASSUME_REQUEUE_PI): Likewise.
862 (__ASSUME_SET_ROBUST_LIST): Likewise.
863 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
864 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
865 Undefine.
866 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
867 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
868 Likewise.
869 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
870 Likewise.
871 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
872 Likewise.
873 * sysdeps/unix/sysv/linux/mips/kernel-features.h
874 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
875 Undefine.
876 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
877 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
878 Likewise.
879
d7a68734
JM
880 [BZ #16648]
881 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
882 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
883 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
884
c760f5c2
WN
8852014-03-31 Will Newton <will.newton@linaro.org>
886
887 * benchtests/Makefile (bench): Add ffs and ffsll to list
888 of tests.
889 * benchtests/ffs-inputs: New file.
890 * benchtests/ffsll-inputs: Likewise.
891
ea6029b1
JM
8922014-03-29 Joseph Myers <joseph@codesourcery.com>
893
894 [BZ #16770]
895 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
896 too large before casting to int.
897 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
898 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
899 * math/libm-test.inc (scalb_test_data): Add more tests.
900
cf806aff
SP
9012014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
902
56737508
SP
903 * benchtests/Makefile (DETAILED_OPT): New make option.
904 (bench-func): Run benchmark program with -d if DETAILED_OPT is
905 set.
906 * benchtests/bench-skeleton.c: Include stdbool.h.
907 (main): Store and print timings per input.
908 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
909 member to each argument value.
910 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
911 (_print_arg_data): Initialize per-input timing to 0.
912
cb5e4aad
SP
913 * benchtests/Makefile (timing-type): New binary.
914 (bench-clean): Also remove bench-timing-type.
915 (bench): New target for timing-type.
916 (bench-func): Print output in JSON format.
917 * benchtests/bench-skeleton.c (main): Print output in JSON
918 format.
919 * benchtests/bench-timing-type.c: New file.
920 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
921 (TIMING_PRINT_STATS): Remove.
922 * benchtests/scripts/bench.py (_print_arg_data): Store variant
923 name separately.
924
cf806aff
SP
925 * benchtests/bench-modf.c: Remove.
926 * benchtests/modf-inputs: New inputs file.
927
289e0779
JM
9282014-03-28 Joseph Myers <joseph@codesourcery.com>
929
930 [BZ #16362]
931 * math/s_clog10.c (M_PI_LOG10E): New macro.
932 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
933 imaginary parts are 0.
934 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
935 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
936 imaginary parts are 0.
937 * math/s_clog10l.c (M_PI_LOG10El): New macro.
938 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
939 imaginary parts are 0.
940 * math/libm-test.inc (clog10_test_data): Update expected results
941 for when real and imaginary parts are 0.
942
277ae3f1
PP
9432014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
944
945 * elf/dl-load.c: Finish conversion of __builtin_expect into
946 __glibc_{un}likely.
947
03a7091f
JM
9482014-03-27 Joseph Myers <joseph@codesourcery.com>
949
950 [BZ #16348]
951 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
952 1+x for argument with exponent below -67.
953 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
954 Likewise.
955 * math/auto-libm-test-in: Add more tests of exp.
956 * math/auto-libm-test-out: Regenerated.
957
ea7d8b95
SP
9582014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
959
dd3022d7
SP
960 [BZ #16759]
961 * inet/getnetgrent_r.c (get_nonempty_val): New function.
962 (nscd_getnetgrent): Use it.
963
ea7d8b95
SP
964 [BZ #16760]
965 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
966 of stpcpy.
967
df5b85da
AK
9682014-03-27 Andi Kleen <ak@linux.intel.com>
969
57f41c40
AS
970 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
971 (lll_robust_lock, lll_cond_lock, lll_timedlock)
972 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
973 (lll_robust_unlock): Remove out of line section. Use cfi
974 intrinsics.
df5b85da 975 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
976 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
977 (lll_robust_lock, lll_cond_lock, lll_timedlock)
978 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
979 (lll_robust_unlock): Remove out of line section. Use cfi
980 intrinsics.
df5b85da
AK
981 (LLL_STUB_UNWIND_INFO*): Remove.
982
fbd6b5a4
SP
9832014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
984
985 [BZ #16758]
986 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
987 blank values.
988
1b26b855
PP
9892014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
990
991 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
992
9be36fb8
JM
9932014-03-26 Joseph Myers <joseph@codesourcery.com>
994
995 [BZ #16198]
996 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
997 fnstenv.
998 * math/test-fenv-preserve.c: New file.
999 * math/Makefile (tests): Add test-fenv-preserve.
1000
60a2f3c1
WN
10012014-03-26 Will Newton <will.newton@linaro.org>
1002
1003 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1004
a5e5f1e2
RM
10052014-03-25 Roland McGrath <roland@hack.frob.com>
1006
1007 * scripts/versionlist.awk: Partition the version sets and emit all
1008 GLIBC_* (sorted) before all others (sorted).
1009
00f4012a
JM
10102014-03-25 Joseph Myers <joseph@codesourcery.com>
1011
1012 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1013 GLIBC_2.2.5 version.
1014
7bc5a741
AZ
10152014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1016
1017 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1018 calls.
1019
7578473b
AZ
1020 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1021 previous change.
1022
f3f1dab3
AZ
1023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1024
6da36183
AS
10252014-03-25 Andreas Schwab <schwab@suse.de>
1026
1027 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1028 label to be used after in6ailist is initialized.
1029
f3f1dab3 10302014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 1031
7578473b 1032 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
1033 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1034
046651c1
JM
10352014-03-25 Joseph Myers <joseph@codesourcery.com>
1036
1037 [BZ #16357]
1038 [BZ #16599]
1039 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1040 min_plus_half.
1041 (fp_formats): Update initializers.
1042 (init_fp_formats): Initialize new field.
1043 (output_for_one_input_case): Allow underflow for results up to
1044 min_plus_half.
1045 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1046 * math/auto-libm-test-in: Don't mark some underflows from asin and
1047 atanh as spurious.
1048 * math/auto-libm-test-out: Regenerated.
1049 * sysdeps/i386/fpu/libm-test-ulps: Update.
1050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1051
003e49ed
AS
10522014-03-25 Andreas Schwab <schwab@suse.de>
1053
1054 * libio/Makefile (tst-ftell-partial-wide-ENV)
1055 (tst-ftell-active-handler-ENV): Define.
1056
de031874
SL
10572014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1058
1059 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1060
55a81e3b
PP
10612014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1062
1063 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1064
f3426898
JM
10652014-03-24 Joseph Myers <joseph@codesourcery.com>
1066
1067 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1068 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1069 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1070
a42faf59
PP
10712014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1072
1073 [BZ #16634]
a42faf59 1074 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
1075 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1076 (open_path): Change from boolean 'secure' to complete flag 'mode'
1077 (_dl_map_object): Adjust.
a42faf59
PP
1078 * elf/Makefile (tests): Add tst-dlopen-aout.
1079 * elf/tst-dlopen-aout.c: New test.
1080
50936127
SL
10812014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1082
1083 [BZ #16714]
1084 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1085 (struct stat): Rename member pad0 to __glibc_reserved0.
1086
26011b5c
SL
1087 [BZ #16712]
1088 * sysdeps/s390/s390-32/bits/wordsize.h
1089 (__WORDSIZE32_SIZE_ULONG): New define.
1090 * sysdeps/s390/s390-64/bits/wordsize.h
1091 (__WORDSIZE32_SIZE_ULONG): Likewise.
1092 * sysdeps/generic/stdint.h (SIZE_MAX):
1093 Define as UL if __WORDSIZE32_SIZE_ULONG.
1094
a2d86bf1
SL
1095 [BZ #16713]
1096 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1097 (__glibc_reserved0): New variable.
1098 (sa_flags): Change type to int.
1099
78b6eebc
SL
1100 * posix/Makefile (before-compile): Use += before-compile instead
1101 of a :=.
1102
f1399b5a
SL
1103 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1104 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1105
a071766e
AS
11062014-03-20 Andreas Schwab <schwab@suse.de>
1107
1108 [BZ #16743]
1109 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1110 non-matching result from nscd.
1111
27c673b8
SP
11122014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1113
1114 * scripts/bench.py: Moved to ...
1115 * benchtests/scripts/bench.py: ... here.
1116 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1117
44152e4b
AS
11182014-03-24 Andreas Schwab <schwab@suse.de>
1119
1120 [BZ #16002]
1121 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1122 alloca_account and account alloca use for struct in6ailist.
1123
b376a11a
JM
11242014-03-24 Joseph Myers <joseph@codesourcery.com>
1125
1126 [BZ #16284]
1127 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1128 rounding mode to recompute results that overflow to infinity or
1129 underflow to zero.
1130 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1131 bug 16284.
1132 * math/auto-libm-test-out: Regenerated.
1133 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1134 (ccosh_test): Likewise.
1135 (csin_test_data): Use plus_oflow.
1136 (csin_test): Use ALL_RM_TEST.
1137 (csinh_test_data): Use plus_oflow.
1138 (csinh_test): Use ALL_RM_TEST.
1139 * sysdeps/i386/fpu/libm-test-ulps: Update.
1140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1141
f7be7376
JM
11422014-03-21 Joseph Myers <joseph@codesourcery.com>
1143
1ca2d03e
JM
1144 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1145 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1146 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1147
f7be7376
JM
1148 [BZ #16731]
1149 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1150 when x - 1 is zero.
1151 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1152 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1153 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1154 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1155 argument is 1.
1156 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1157 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1158 zero.
1159 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1160 * sysdeps/i386/fpu/libm-test-ulps: Update.
1161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1162
fdf4534d
SP
11632014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1164
df26ea53
SP
1165 * scripts/bench.pl: Remove file.
1166 * scripts/bench.py: New benchmark script.
1167 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1168 * benchtests/README: Mention python dependency.
1169 * scripts/pylintrc: New file.
1170 * scripts/pylint: New file.
1171
fdf4534d
SP
1172 * bits/mathdef.h: Use #ifdef instead of #if.
1173 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1174 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1175 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1176 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1177 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1178 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1179
6f23d093
AZ
11802014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1181 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1182
1183 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1185 and strpbrk-ppc64 objects.
1186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1187 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1188 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1189 multiarch strpbrk for POWER7.
1190 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1191 multiarch strpbrk for PPC64.
1192 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1193 ifunc selector.
1194 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1195 strpbrk for POWER7.
1196
8c92dfff
JM
11972014-03-20 Joseph Myers <joseph@codesourcery.com>
1198
1199 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1200 (atan_test): Likewise.
1201 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1202 (atanh_test): Use ALL_RM_TEST.
1203 (atan2_test_data): Likewise.
1204 (cabs_test): Likewise.
1205 (cacosh_test): Likewise.
1206 (carg_test): Likewise.
1207 (casin_test): Likewise.
1208 (casinh_test): Likewise.
1209 (cbrt_test): Likewise.
1210 (csqrt_test): Likewise.
1211 (erf_test): Likewise.
1212 (erfc_test): Likewise.
1213 (pow10_test): Likewise.
1214 (exp2_test): Likewise.
1215 (hypot_test): Likewise.
1216 (j0_test): Likewise.
1217 (j1_test): Likewise.
1218 (lgamma_test): Likewise.
1219 (gamma_test): Likewise.
1220 (sincos_test): Likewise.
1221 (tanh_test): Likewise.
1222 (y0_test): Likewise.
1223 (y1_test): Likewise.
1224 * sysdeps/i386/fpu/libm-test-ulps: Update.
1225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1226
6eaf95cb
AZ
12272014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1228
a387428c
SP
1229 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1231 and strcspn-ppc64 objects.
1232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1233 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1234 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1235 multiarch strcspn for POWER7.
1236 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1237 multiarch strcspn for PPC64.
1238 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1239 ifunc selector.
1240 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1241 strcspn for POWER7.
1242
ae3a5dff
JM
12432014-03-20 Joseph Myers <joseph@codesourcery.com>
1244
1245 * math/gen-libm-test.pl (generate_testfile): Expect only function
1246 name as argument to AUTO_TESTS_* and pass results for all rounding
1247 modes to parse_args.
1248 (parse_auto_input): Separate inputs of automatic tests from
1249 outputs before storing in %auto_tests.
1250 * math/libm-test.inc (acos_test_data): Update call to
1251 AUTO_TESTS_f_f.
1252 (acos_test): Use ALL_RM_TEST.
1253 (acos_tonearest_test_data): Remove.
1254 (acos_test_tonearest): Likewise.
1255 (acos_towardzero_test_data): Likewise.
1256 (acos_test_towardzero): Likewise.
1257 (acos_downward_test_data): Likewise.
1258 (acos_test_downward): Likewise.
1259 (acos_upward_test_data): Likewise.
1260 (acos_test_upward): Likewise.
1261 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1262 (asin_test_data): Likewise.
1263 (asin_test): Use ALL_RM_TEST.
1264 (asin_tonearest_test_data): Remove.
1265 (asin_test_tonearest): Likewise.
1266 (asin_towardzero_test_data): Likewise.
1267 (asin_test_towardzero): Likewise.
1268 (asin_downward_test_data): Likewise.
1269 (asin_test_downward): Likewise.
1270 (asin_upward_test_data): Likewise.
1271 (asin_test_upward): Likewise.
1272 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1273 (atan_test_data): Likewise.
1274 (atanh_test_data): Likewise.
1275 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1276 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1277 (carg_test_data): Likewise.
1278 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1279 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1280 (ccosh_test_data): Likewise.
1281 (cexp_test_data): Likewise.
1282 (clog_test_data): Likewise.
1283 (clog10_test_data): Likewise.
1284 (cos_test_data): Update call to AUTO_TESTS_f_f.
1285 (cos_test): Use ALL_RM_TEST.
1286 (cos_tonearest_test_data): Remove.
1287 (cos_test_tonearest): Likewise.
1288 (cos_towardzero_test_data): Likewise.
1289 (cos_test_towardzero): Likewise.
1290 (cos_downward_test_data): Likewise.
1291 (cos_test_downward): Likewise.
1292 (cos_upward_test_data): Likewise.
1293 (cos_test_upward): Likewise.
1294 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1295 (cosh_test): Use ALL_RM_TEST.
1296 (cosh_tonearest_test_data): Remove.
1297 (cosh_test_tonearest): Likewise.
1298 (cosh_towardzero_test_data): Likewise.
1299 (cosh_test_towardzero): Likewise.
1300 (cosh_downward_test_data): Likewise.
1301 (cosh_test_downward): Likewise.
1302 (cosh_upward_test_data): Likewise.
1303 (cosh_test_upward): Likewise.
1304 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1305 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1306 (ctan_test_data): Likewise.
1307 (ctan_test): Use ALL_RM_TEST.
1308 (ctan_tonearest_test_data): Remove.
1309 (ctan_test_tonearest): Likewise.
1310 (ctan_towardzero_test_data): Likewise.
1311 (ctan_test_towardzero): Likewise.
1312 (ctan_downward_test_data): Likewise.
1313 (ctan_test_downward): Likewise.
1314 (ctan_upward_test_data): Likewise.
1315 (ctan_test_upward): Likewise.
1316 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1317 (ctanh_test): Use ALL_RM_TEST.
1318 (ctanh_tonearest_test_data): Remove.
1319 (ctanh_test_tonearest): Likewise.
1320 (ctanh_towardzero_test_data): Likewise.
1321 (ctanh_test_towardzero): Likewise.
1322 (ctanh_downward_test_data): Likewise.
1323 (ctanh_test_downward): Likewise.
1324 (ctanh_upward_test_data): Likewise.
1325 (ctanh_test_upward): Likewise.
1326 (erf_test_data): Update call to AUTO_TESTS_f_f.
1327 (erfc_test_data): Likewise.
1328 (exp_test_data): Likewise.
1329 (exp_test): Use ALL_RM_TEST.
1330 (exp_tonearest_test_data): Remove.
1331 (exp_test_tonearest): Likewise.
1332 (exp_towardzero_test_data): Likewise.
1333 (exp_test_towardzero): Likewise.
1334 (exp_downward_test_data): Likewise.
1335 (exp_test_downward): Likewise.
1336 (exp_upward_test_data): Likewise.
1337 (exp_test_upward): Likewise.
1338 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1339 (exp10_test): Use ALL_RM_TEST.
1340 (exp10_tonearest_test_data): Remove.
1341 (exp10_test_tonearest): Likewise.
1342 (exp10_towardzero_test_data): Likewise.
1343 (exp10_test_towardzero): Likewise.
1344 (exp10_downward_test_data): Likewise.
1345 (exp10_test_downward): Likewise.
1346 (exp10_upward_test_data): Likewise.
1347 (exp10_test_upward): Likewise.
1348 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1349 (expm1_test_data): Likewise.
1350 (expm1_test): Use ALL_RM_TEST.
1351 (expm1_tonearest_test_data): Remove.
1352 (expm1_test_tonearest): Likewise.
1353 (expm1_towardzero_test_data): Likewise.
1354 (expm1_test_towardzero): Likewise.
1355 (expm1_downward_test_data): Likewise.
1356 (expm1_test_downward): Likewise.
1357 (expm1_upward_test_data): Likewise.
1358 (expm1_test_upward): Likewise.
1359 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1360 (fma_test): Use ALL_RM_TEST.
1361 (fma_towardzero_test_data): Remove.
1362 (fma_test_towardzero): Likewise.
1363 (fma_downward_test_data): Likewise.
1364 (fma_test_downward): Likewise.
1365 (fma_upward_test_data): Likewise.
1366 (fma_test_upward): Likewise.
1367 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1368 (j0_test_data): Update call to AUTO_TESTS_f_f.
1369 (j1_test_data): Likewise.
1370 (jn_test_data): Update call to AUTO_TESTS_if_f.
1371 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1372 (log_test_data): Update call to AUTO_TESTS_f_f.
1373 (log10_test_data): Likewise.
1374 (log1p_test_data): Likewise.
1375 (log2_test_data): Likewise.
1376 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1377 (pow_tonearest_test_data): Likewise.
1378 (sin_test_data): Update call to AUTO_TESTS_f_f.
1379 (sin_test): Use ALL_RM_TEST.
1380 (sin_tonearest_test_data): Remove.
1381 (sin_test_tonearest): Likewise.
1382 (sin_towardzero_test_data): Likewise.
1383 (sin_test_towardzero): Likewise.
1384 (sin_downward_test_data): Likewise.
1385 (sin_test_downward): Likewise.
1386 (sin_upward_test_data): Likewise.
1387 (sin_test_upward): Likewise.
1388 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1389 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1390 (sinh_test): Use ALL_RM_TEST.
1391 (sinh_tonearest_test_data): Remove.
1392 (sinh_test_tonearest): Likewise.
1393 (sinh_towardzero_test_data): Likewise.
1394 (sinh_test_towardzero): Likewise.
1395 (sinh_downward_test_data): Likewise.
1396 (sinh_test_downward): Likewise.
1397 (sinh_upward_test_data): Likewise.
1398 (sinh_test_upward): Likewise.
1399 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1400 (sqrt_test): Use ALL_RM_TEST.
1401 (sqrt_tonearest_test_data): Remove.
1402 (sqrt_test_tonearest): Likewise.
1403 (sqrt_towardzero_test_data): Likewise.
1404 (sqrt_test_towardzero): Likewise.
1405 (sqrt_downward_test_data): Likewise.
1406 (sqrt_test_downward): Likewise.
1407 (sqrt_upward_test_data): Likewise.
1408 (sqrt_test_upward): Likewise.
1409 (tan_test_data): Update call to AUTO_TESTS_f_f.
1410 (tan_test): Use ALL_RM_TEST.
1411 (tan_tonearest_test_data): Remove.
1412 (tan_test_tonearest): Likewise.
1413 (tan_towardzero_test_data): Likewise.
1414 (tan_test_towardzero): Likewise.
1415 (tan_downward_test_data): Likewise.
1416 (tan_test_downward): Likewise.
1417 (tan_upward_test_data): Likewise.
1418 (tan_test_upward): Likewise.
1419 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1420 (tgamma_test_data): Likewise.
1421 (y0_test_data): Likewise.
1422 (y1_test_data): Likewise.
1423 (yn_test_data): Update call to AUTO_TESTS_if_f.
1424 (main): Do not call removed functions.
1425
d71aeee8
JM
14262014-03-19 Joseph Myers <joseph@codesourcery.com>
1427
1428 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1429 (ldexp_test_data): Remove.
1430 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1431 scalbn_test_data.
1432 (scalb_test): Use ALL_RM_TEST.
1433
baaf1ded
AS
14342014-03-19 Andreas Schwab <schwab@suse.de>
1435
1436 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1437
b1115e91
JM
14382014-03-19 Joseph Myers <joseph@codesourcery.com>
1439
1440 [BZ #16649]
1441 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1442 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1443 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1444 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1445 (__ASSUME_PREADV): Undefine.
1446 (__ASSUME_PWRITEV): Likewise.
1447
0283ecca
RM
14482014-03-18 Roland McGrath <roland@hack.frob.com>
1449
7d375303
RM
1450 * bits/mman-linux.h: Add comment about non-Linux use.
1451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1452 bits/mman-linux.h resting place.
1453
0283ecca
RM
1454 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1455 * bits/mman-linux.h: ... here.
1456
aebe1003
AZ
14572014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1458
1459 * conform/conformtest.pl: Add standard definition when calling C
1460 preprocessor on data files.
1461 (checknamespace): Remove unused variable.
1462
b29b6bb8
JM
14632014-03-18 Joseph Myers <joseph@codesourcery.com>
1464
1465 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1466 minus_oflow, plus_uflow and minus_uflow in expected results.
1467 * math/libm-test.inc (scalbn_test_data): Add more tests of
1468 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1469 minus_uflow.
1470 (scalbn_test): Use ALL_RM_TEST.
1471 (scalbln_test_data): Add more tests of negative arguments. Use
1472 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1473 (scalbln_test): Use ALL_RM_TEST.
1474
c8f8fa15
RM
14752014-03-18 Roland McGrath <roland@hack.frob.com>
1476
1477 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1478
fede7a5f
WN
14792014-03-18 Will Newton <will.newton@linaro.org>
1480
1481 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1482 inaccurate comment.
1483
80cf0a58
JM
14842014-03-18 Joseph Myers <joseph@codesourcery.com>
1485
1486 * Makerules [!subdir] (check-abi): Exit with error status if a
1487 test failed.
1488
b3620862
JM
14892014-03-17 Joseph Myers <joseph@codesourcery.com>
1490
1491 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1492 for rint. Include results for all rounding modes.
1493 (nearbyint_test): Use ALL_RM_TEST.
1494 (rint_test_data): Include all tests used for nearbyint.
1495
788bba36
WN
14962014-03-17 Will Newton <will.newton@linaro.org>
1497
04ec140a
WN
1498 * nptl/sysdeps/pthread/pthread.h: Revert previous
1499 change.
1500
7579d8d5
WN
1501 * sysdeps/generic/ldsodefs.h: Revert previous
1502 change.
1503
c15cf13a
WN
1504 * libio/genops.c: Revert previous change.
1505 * libio/libioP.h: Likewise.
1506 * stdio-common/vfprintf.c: Likewise.
1507
d0ac1324
WN
1508 * sysdeps/generic/math_private.h: Revert previous
1509 change.
1510
9290130a
WN
1511 * sysdeps/generic/math_private.h: Check whether
1512 HAVE_RM_CTX is defined with #ifdef rather
1513 than #if.
1514
afb466fc
WN
1515 * argp/argp-fmtstream.h: Check whether
1516 __STRICT_ANSI__ is defined with #ifdef rather
1517 than #if.
1518 * argp/argp.h: Likewise.
1519
f7efd7c3
WN
1520 * libio/genops.c: Check whether
1521 _IO_JUMPS_OFFSET is defined with #ifdef rather
1522 than #if.
1523 * libio/libioP.h: Likewise.
1524 * stdio-common/vfprintf.c: Likewise.
1525
53f1bed3
WN
1526 * sysdeps/generic/ldsodefs.h: Check whether
1527 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1528 than #if.
1529
788bba36
WN
1530 * nptl/sysdeps/pthread/pthread.h: Check
1531 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1532 its value.
1533
fcd89ebe
SP
15342014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1535
ae42bbc5
SP
1536 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1537 setting O_APPEND.
1538 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1539 test case.
1540
ea33158c
SP
1541 [BZ #16680]
1542 * libio/fileops.c (_IO_file_open): Seek to end of file but
1543 don't cache the offset.
1544 (get_file_offset): Remove function.
1545 (do_ftell): Use cached offset when available.
1546 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1547 don't cache the offset.
1548 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1549 case.
1550 (do_one_test): Call it.
1551 (do_ftell_test): Fix up expected old offset for a+ mode.
1552 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1553 available.
1554
b1dbb426
SP
1555 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1556 up test status with function return status.
1557 (do_write_test): Likewise.
1558 (do_append_test): Likewise.
1559
fcd89ebe
SP
1560 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1561 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1562 Remove.
1563
9962a2d3
JM
15642014-03-17 Joseph Myers <joseph@codesourcery.com>
1565
1566 * math/gen-libm-test.pl (parse_args): Handle results specified for
1567 each rounding mode separately.
1568 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1569 tests and results from lrint_tonearest_test_data,
1570 lrint_towardzero_test_data, lrint_downward_test_data and
1571 lrint_upward_test_data.
1572 (lrint_test): Use ALL_RM_TEST.
1573 (lrint_tonearest_test_data): Remove.
1574 (lrint_test_tonearest): Likewise.
1575 (lrint_towardzero_test_data): Likewise.
1576 (lrint_test_towardzero): Likewise.
1577 (lrint_downward_test_data): Likewise.
1578 (lrint_test_downward): Likewise.
1579 (lrint_upward_test_data): Likewise.
1580 (lrint_test_upward): Likewise.
1581 (llrint_test_data): Merge in per-rounding-mode tests and results
1582 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1583 llrint_downward_test_data and llrint_upward_test_data.
1584 (llrint_test): Use ALL_RM_TEST.
1585 (llrint_tonearest_test_data): Remove.
1586 (llrint_test_tonearest): Likewise.
1587 (llrint_towardzero_test_data): Likewise.
1588 (llrint_test_towardzero): Likewise.
1589 (llrint_downward_test_data): Likewise.
1590 (llrint_test_downward): Likewise.
1591 (llrint_upward_test_data): Likewise.
1592 (llrint_test_upward): Likewise.
1593 (rint_test_data): Merge in per-rounding-mode tests and results
1594 from rint_tonearest_test_data, rint_towardzero_test_data,
1595 rint_downward_test_data and rint_upward_test_data. Add
1596 per-rounding-mode results for tests not in those arrays.
1597 (rint_test): Use ALL_RM_TEST.
1598 (rint_tonearest_test_data): Remove.
1599 (rint_test_tonearest): Likewise.
1600 (rint_towardzero_test_data): Likewise.
1601 (rint_test_towardzero): Likewise.
1602 (rint_downward_test_data): Likewise.
1603 (rint_test_downward): Likewise.
1604 (rint_upward_test_data): Likewise.
1605 (rint_test_upward): Likewise.
1606 (main): Don't call removed functions.
1607
5006148e
RM
16082014-03-14 Roland McGrath <roland@hack.frob.com>
1609
1610 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1611 "Compiled on ..." crapola. It is anti-useful.
1612
d6fe5e58
JM
16132014-03-14 Joseph Myers <joseph@codesourcery.com>
1614
1615 * scripts/evaluate-test.sh: Handle fourth argument to determine
1616 whether test run should stop on failure.
1617 * Makeconfig (stop-on-test-failure): New variable.
1618 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1619 $(stop-on-test-failure).
1620 * Makefile (tests): Give a summary of results from testing and
1621 exit with failure status if they include an ERROR or FAIL.
1622 (xtests): Likewise.
1623 * manual/install.texi (Configuring and compiling): Mention
1624 stop-on-test-failure=y.
1625 * INSTALL: Regenerated.
1626
498a2233
RM
16272014-03-14 Roland McGrath <roland@hack.frob.com>
1628
22dbc19d
RM
1629 * scripts/versionlist.awk: New file.
1630 * Makerules [$(build-shared) = yes]
1631 (postclean-generated): Add Versions.def, not Versions.def.v and
1632 Versions.def.v.i.
1633 ($(common-objpfx)Versions.def.v.i): Target removed.
1634 ($(common-objpfx)Versions.def): New target.
1635 ($(common-objpfx)Versions.all): Depend on that rather that
1636 $(common-objpfx)Versions.def.v.
1637 * Versions.def: File removed.
1638
498a2233
RM
1639 * Makeconfig (+gccwarn): Add -Wundef.
1640 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1641 a dl-sysdep.h breaking its contract.
1642 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1643 * include/stackinfo.h: New file.
1644 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1645 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1646 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1647 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1648 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1649 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1650 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1651 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1652 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1653 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1654 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1655 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1656 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1657 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1658 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1659
c7de5025
AZ
16602014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1661
1662 [BZ #16707]
1663 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1664 implementation.
1665 * math/libm-test.inc (round_test_data): Add more tests.
1666
98fb27a3
AZ
1667 [BZ #16706]
1668 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1669 implementation.
1670 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1671
374f7f61
AZ
1672 [BZ #16701]
1673 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1674 implementation.
1675 * math/libm-test.inc (ceil_test_data): Add more tests.
1676
4655c291
AZ
1677 * math/libm-test.inc (trunc_test_data): Add more tests related to
1678 BZ#16414.
1679
d7329d4b
RM
16802014-03-14 Roland McGrath <roland@hack.frob.com>
1681
1682 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1683 with #if rather than #ifdef.
1684 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1685
aa4de9ce
L
16862014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1687
1688 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1689 first. Disable AVX-512 GCC support if assembler doesn't support
1690 it.
1691 * sysdeps/x86_64/configure: Regenerated.
1692
2e03fae7
CD
16932014-03-13 Carlos O'Donell <carlos@redhat.com>
1694
1695 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1696 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1697 (__old_pthread_attr_setstack): Likewise.
1698 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1699 [!_STACK_GROWS_DOWN]: Likewise.
1700
43ca83ec
MF
17012014-03-13 Mike Frysinger <vapier@gentoo.org>
1702
1703 * config.make.in (have-bash2): Delete.
1704 * configure.ac (libc_cv_have_bash2): Delete.
1705 * configure: Regenerate.
1706 * elf/Makefile (common-ldd-rewrite): Rename to ...
1707 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1708 (sh-ldd-rewrite): Delete.
1709 (bash-ldd-rewrite): Delete.
1710 (have-bash2): Delete checks.
57f41c40
AS
1711 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1712 ldd-rewrite.
c66e48b4
MF
1713
1714 * config.make.in (have-ksh): Delete.
1715 (KSH): Delete.
1716 * configure.ac (libc_cv_have_ksh): Delete.
1717 * configure: Regenerate.
1718
b93834ef
MF
1719 * elf/Makefile: Delete $(have-ksh) check.
1720 ($(objpfx)sotruss): Change KSH to BASH.
1721 * elf/sotruss.ksh: Rename to ...
1722 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1723 function style to match POSIX. Drop ksh vim mode setting.
1724
f3a4632a
MF
1725 * manual/time.texi (Specifying the Time Zone with TZ): Change
1726 Tuesday to Thursday.
1727
5896c8bd
MF
1728 * debug/tst-longjmp_chk2.c: Update header comment.
1729 (stackoverflow_handler): Add comment. Call assert on pass value.
1730
2d63a517
IZ
17312014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1732
1733 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1734 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1735 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1736 (La_x86_64_vector): Add zmm.
1737 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1738 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1739 ($(objpfx)tst-audit10): New target.
1740 ($(objpfx)tst-audit10.out): Likewise.
1741 (tst-audit10-ENV): New.
1742 (AVX512-CFLAGS): Likewise.
1743 (CFLAGS-tst-audit10.c): Likewise.
1744 (CFLAGS-tst-auditmod10a.c): Likewise.
1745 (CFLAGS-tst-auditmod10b.c): Likewise.
1746 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1747 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1748 * sysdeps/x86_64/configure: Regenerated.
1749 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1750 AVX-512 zmm register support.
1751 (_dl_x86_64_save_sse): Likewise.
1752 (_dl_x86_64_restore_sse): Likewise.
1753 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1754 size vector registers.
1755 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1756 (ZMM_SIZE): Likewise.
1757 * sysdeps/x86_64/tst-audit10.c: New file.
1758 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1759 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1760
44c4e5d5
RM
17612014-03-13 Roland McGrath <roland@hack.frob.com>
1762
1763 * configure.ac (HAVE_EHDR_START): New check.
1764 * configure: Regenerated.
1765 * config.h.in (HAVE_EHDR_START): New #undef.
1766 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1767 assuming the lowest-addressed segment maps the start of the file.
1768
acd6e389
JM
17692014-03-13 Joseph Myers <joseph@codesourcery.com>
1770
1771 * INSTALL: Regenerated.
1772
6f918f36
WN
17732014-03-13 Will Newton <will.newton@linaro.org>
1774
1775 * manual/setjmp.texi (System V contexts): Improve
1776 clarity and grammar of documentation.
1777
798212a0
PP
17782014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1779
1780 [BZ #16381]
798212a0 1781 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1782 (tests-pie): Add tst-pie2.
798212a0
PP
1783 * elf/tst-pie2.c: New file.
1784 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1785 for ET_EXEC.
1786 * elf/rtld.c (map_doit): Load executable as lt_executable.
1787 (dl_main): Likewise.
1788
abe6d90c
JM
17892014-03-12 Joseph Myers <joseph@codesourcery.com>
1790
1791 [BZ #16642]
1792 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1793 (__ASSUME_PSELECT): Undefine.
1794
dd3946c6
AZ
17952014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1796
1797 [BZ #16689]
1798 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1799 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1800 static build.
1801 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1802 selector for static builds.
1803
c44496df
SP
18042014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1805
1806 [BZ #16695]
1807 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1808 key in the buffer.
1809
27c7220a
AZ
18102014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1811
57f41c40
AS
1812 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1813 IFUNC selector for static builds.
27c7220a 1814
600fa361
JM
18152014-03-11 Joseph Myers <joseph@codesourcery.com>
1816
76c96cf7
JM
1817 * sysdeps/mips/math_private.h [__mips_hard_float]
1818 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1819 libc_feresetround_mips_ctx.
1820 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1821 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1822 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1823
600fa361
JM
1824 [BZ #16677]
1825 * math/s_nextafter.c (__nextafter): Do not return value from
1826 overflowing computation.
1827 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1828 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1829 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1830 Likewise.
1831 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1832 Likewise.
1833 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1834 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1835
d7706c32
RM
18362014-03-11 Roland McGrath <roland@hack.frob.com>
1837
1838 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1839 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1840 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1841 the new mov targetting sp.
1842
4facea47
AZ
18432014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1844
1845 [BZ #16683]
1846 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1847 Define it for static builds as well.
1848 (NO_BZERO_IMPL): Likewise.
1849
e65caf1f
VR
18502014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1851
1852 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1853 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1854 multiarch strspn for PPC64.
1855 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1856 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1858 (__libc_ifunc_impl_list): Likewise.
1859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1860 multiarch optimizations
1861 * string/strspn.c (strspn): Using macro to redefine symbol name.
1862
ba9cc071
AZ
18632014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1864 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1865
1866 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1867 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1868 multiarch strncat for PPC64.
1869 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1870 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1872 (__libc_ifunc_impl_list): Likewise.
1873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1874 multiarch optimizations
1875
8b4ff974
SP
18762014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1877
1878 [BZ #16639]
1879 * nscd/nscd.service: Make service type forking.
1880
54b46a4b
AZ
18812014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1882
1883 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1884 sign in non default rounding modes.
1885 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1886
e9996ef7
JM
18872014-03-08 Joseph Myers <joseph@codesourcery.com>
1888
1889 * math/libm-test.inc (ALL_RM_TEST): New macro.
1890 (ceil_test): Use ALL_RM_TEST.
1891 (cimag_test): Likewise.
1892 (conj_test): Likewise.
1893 (copysign_test): Likewise.
1894 (cproj_test): Likewise.
1895 (creal_test): Likewise.
1896 (fabs_test): Likewise.
1897 (floor_test): Likewise.
1898 (fmax_test): Likewise.
1899 (fmin_test): Likewise.
1900 (fmod_test): Likewise.
1901 (fpclassify_test): Likewise.
1902 (frexp_test): Likewise.
1903 (ilogb_test): Likewise.
1904 (isfinite_test): Likewise.
1905 (finite_test): Likewise.
1906 (isgreater_test): Likewise.
1907 (isgreaterequal_test): Likewise.
1908 (isinf_test): Likewise.
1909 (isless_test): Likewise.
1910 (islessequal_test): Likewise.
1911 (islessgreater_test): Likewise.
1912 (isnan_test): Likewise.
1913 (isnormal_test): Likewise.
1914 (issignaling_test): Likewise.
1915 (isunordered_test): Likewise.
1916 (logb_test): Likewise.
1917 (logb_downward_test_data): Remove.
1918 (logb_test_downward): Likewise.
1919 (lround_test): Use ALL_RM_TEST.
1920 (llround_test): Likewise.
1921 (modf_test): Likewise.
1922 (nexttoward_test): Likewise.
1923 (remainder_test): Likewise.
1924 (drem_test): Likewise.
1925 (remainder_tonearest_test_data): Likewise.
1926 (remainder_test_tonearest): Likewise.
1927 (drem_test_tonearest): Likewise.
1928 (remainder_towardzero_test_data): Likewise.
1929 (remainder_test_towardzero): Likewise.
1930 (drem_test_towardzero): Likewise.
1931 (remainder_downward_test_data): Likewise.
1932 (remainder_test_downward): Likewise.
1933 (drem_test_downward): Likewise.
1934 (remainder_upward_test_data): Likewise.
1935 (remainder_test_upward): Likewise.
1936 (drem_test_upward): Likewise.
1937 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1938 (round_test): Use ALL_RM_TEST.
1939 (signbit_test): Likewise.
1940 (trunc_test): Likewise.
1941 (significand_test): Likewise.
1942 (main): Don't call removed functions.
1943
bc61d27c
JM
19442014-03-07 Joseph Myers <joseph@codesourcery.com>
1945
5c780849
JM
1946 [BZ #16674]
1947 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1948 || __USE_XOPEN2K8].
1949 (ILL_ILLOPN): Likewise.
1950 (ILL_ILLADR): Likewise.
1951 (ILL_ILLTRP): Likewise.
1952 (ILL_PRVOPC): Likewise.
1953 (ILL_PRVREG): Likewise.
1954 (ILL_COPROC): Likewise.
1955 (ILL_BADSTK): Likewise.
1956 (FPE_INTDIV): Likewise.
1957 (FPE_INTOVF): Likewise.
1958 (FPE_FLTDIV): Likewise.
1959 (FPE_FLTOVF): Likewise.
1960 (FPE_FLTUND): Likewise.
1961 (FPE_FLTRES): Likewise.
1962 (FPE_FLTINV): Likewise.
1963 (FPE_FLTSUB): Likewise.
1964 (SEGV_MAPERR): Likewise.
1965 (SEGV_ACCERR): Likewise.
1966 (BUS_ADRALN): Likewise.
1967 (BUS_ADRERR): Likewise.
1968 (BUS_OBJERR): Likewise.
1969 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1970 (TRAP_TRACE): Likewise.
1971 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1972 __USE_XOPEN2K8].
1973 (CLD_KILLED): Likewise.
1974 (CLD_DUMPED): Likewise.
1975 (CLD_TRAPPED): Likewise.
1976 (CLD_STOPPED): Likewise.
1977 (CLD_CONTINUED): Likewise.
1978 (POLL_IN): Likewise.
1979 (POLL_OUT): Likewise.
1980 (POLL_MSG): Likewise.
1981 (POLL_ERR): Likewise.
1982 (POLL_PRI): Likewise.
1983 (POLL_HUP): Likewise.
1984 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1985 Likewise.
1986 (ILL_ILLOPN): Likewise.
1987 (ILL_ILLADR): Likewise.
1988 (ILL_ILLTRP): Likewise.
1989 (ILL_PRVOPC): Likewise.
1990 (ILL_PRVREG): Likewise.
1991 (ILL_COPROC): Likewise.
1992 (ILL_BADSTK): Likewise.
1993 (FPE_INTDIV): Likewise.
1994 (FPE_INTOVF): Likewise.
1995 (FPE_FLTDIV): Likewise.
1996 (FPE_FLTOVF): Likewise.
1997 (FPE_FLTUND): Likewise.
1998 (FPE_FLTRES): Likewise.
1999 (FPE_FLTINV): Likewise.
2000 (FPE_FLTSUB): Likewise.
2001 (SEGV_MAPERR): Likewise.
2002 (SEGV_ACCERR): Likewise.
2003 (BUS_ADRALN): Likewise.
2004 (BUS_ADRERR): Likewise.
2005 (BUS_OBJERR): Likewise.
2006 (BUS_MCEERR_AR): Likewise.
2007 (BUS_MCEERR_AO): Likewise.
2008 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2009 (TRAP_TRACE): Likewise.
2010 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2011 __USE_XOPEN2K8].
2012 (CLD_KILLED): Likewise.
2013 (CLD_DUMPED): Likewise.
2014 (CLD_TRAPPED): Likewise.
2015 (CLD_STOPPED): Likewise.
2016 (CLD_CONTINUED): Likewise.
2017 (POLL_IN): Likewise.
2018 (POLL_OUT): Likewise.
2019 (POLL_MSG): Likewise.
2020 (POLL_ERR): Likewise.
2021 (POLL_PRI): Likewise.
2022 (POLL_HUP): Likewise.
2023 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2024 (ILL_ILLOPN): Likewise.
2025 (ILL_ILLADR): Likewise.
2026 (ILL_ILLTRP): Likewise.
2027 (ILL_PRVOPC): Likewise.
2028 (ILL_PRVREG): Likewise.
2029 (ILL_COPROC): Likewise.
2030 (ILL_BADSTK): Likewise.
2031 (FPE_INTDIV): Likewise.
2032 (FPE_INTOVF): Likewise.
2033 (FPE_FLTDIV): Likewise.
2034 (FPE_FLTOVF): Likewise.
2035 (FPE_FLTUND): Likewise.
2036 (FPE_FLTRES): Likewise.
2037 (FPE_FLTINV): Likewise.
2038 (FPE_FLTSUB): Likewise.
2039 (SEGV_MAPERR): Likewise.
2040 (SEGV_ACCERR): Likewise.
2041 (BUS_ADRALN): Likewise.
2042 (BUS_ADRERR): Likewise.
2043 (BUS_OBJERR): Likewise.
2044 (BUS_MCEERR_AR): Likewise.
2045 (BUS_MCEERR_AO): Likewise.
2046 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2047 (TRAP_TRACE): Likewise.
2048 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2049 __USE_XOPEN2K8].
2050 (CLD_KILLED): Likewise.
2051 (CLD_DUMPED): Likewise.
2052 (CLD_TRAPPED): Likewise.
2053 (CLD_STOPPED): Likewise.
2054 (CLD_CONTINUED): Likewise.
2055 (POLL_IN): Likewise.
2056 (POLL_OUT): Likewise.
2057 (POLL_MSG): Likewise.
2058 (POLL_ERR): Likewise.
2059 (POLL_PRI): Likewise.
2060 (POLL_HUP): Likewise.
2061 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2062 Likewise.
2063 (ILL_ILLOPN): Likewise.
2064 (ILL_ILLADR): Likewise.
2065 (ILL_ILLTRP): Likewise.
2066 (ILL_PRVOPC): Likewise.
2067 (ILL_PRVREG): Likewise.
2068 (ILL_COPROC): Likewise.
2069 (ILL_BADSTK): Likewise.
2070 (ILL_BADIADDR): Likewise.
2071 (ILL_BREAK): Likewise.
2072 (FPE_INTDIV): Likewise.
2073 (FPE_INTOVF): Likewise.
2074 (FPE_FLTDIV): Likewise.
2075 (FPE_FLTOVF): Likewise.
2076 (FPE_FLTUND): Likewise.
2077 (FPE_FLTRES): Likewise.
2078 (FPE_FLTINV): Likewise.
2079 (FPE_FLTSUB): Likewise.
2080 (FPE_DECOVF): Likewise.
2081 (FPE_DECDIV): Likewise.
2082 (FPE_DECERR): Likewise.
2083 (FPE_INVASC): Likewise.
2084 (FPE_INVDEC): Likewise.
2085 (SEGV_MAPERR): Likewise.
2086 (SEGV_ACCERR): Likewise.
2087 (SEGV_PSTKOVF): Likewise.
2088 (BUS_ADRALN): Likewise.
2089 (BUS_ADRERR): Likewise.
2090 (BUS_OBJERR): Likewise.
2091 (BUS_MCEERR_AR): Likewise.
2092 (BUS_MCEERR_AO): Likewise.
2093 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2094 (TRAP_TRACE): Likewise.
2095 (TRAP_BRANCH): Likewise.
2096 (TRAP_HWBKPT): Likewise.
2097 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2098 __USE_XOPEN2K8].
2099 (CLD_KILLED): Likewise.
2100 (CLD_DUMPED): Likewise.
2101 (CLD_TRAPPED): Likewise.
2102 (CLD_STOPPED): Likewise.
2103 (CLD_CONTINUED): Likewise.
2104 (POLL_IN): Likewise.
2105 (POLL_OUT): Likewise.
2106 (POLL_MSG): Likewise.
2107 (POLL_ERR): Likewise.
2108 (POLL_PRI): Likewise.
2109 (POLL_HUP): Likewise.
2110 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2111 (ILL_ILLOPN): Likewise.
2112 (ILL_ILLADR): Likewise.
2113 (ILL_ILLTRP): Likewise.
2114 (ILL_PRVOPC): Likewise.
2115 (ILL_PRVREG): Likewise.
2116 (ILL_COPROC): Likewise.
2117 (ILL_BADSTK): Likewise.
2118 (FPE_INTDIV): Likewise.
2119 (FPE_INTOVF): Likewise.
2120 (FPE_FLTDIV): Likewise.
2121 (FPE_FLTOVF): Likewise.
2122 (FPE_FLTUND): Likewise.
2123 (FPE_FLTRES): Likewise.
2124 (FPE_FLTINV): Likewise.
2125 (FPE_FLTSUB): Likewise.
2126 (SEGV_MAPERR): Likewise.
2127 (SEGV_ACCERR): Likewise.
2128 (BUS_ADRALN): Likewise.
2129 (BUS_ADRERR): Likewise.
2130 (BUS_OBJERR): Likewise.
2131 (BUS_MCEERR_AR): Likewise.
2132 (BUS_MCEERR_AO): Likewise.
2133 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2134 (TRAP_TRACE): Likewise.
2135 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2136 __USE_XOPEN2K8].
2137 (CLD_KILLED): Likewise.
2138 (CLD_DUMPED): Likewise.
2139 (CLD_TRAPPED): Likewise.
2140 (CLD_STOPPED): Likewise.
2141 (CLD_CONTINUED): Likewise.
2142 (POLL_IN): Likewise.
2143 (POLL_OUT): Likewise.
2144 (POLL_MSG): Likewise.
2145 (POLL_ERR): Likewise.
2146 (POLL_PRI): Likewise.
2147 (POLL_HUP): Likewise.
2148 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2149 (ILL_ILLOPN): Likewise.
2150 (ILL_ILLADR): Likewise.
2151 (ILL_ILLTRP): Likewise.
2152 (ILL_PRVOPC): Likewise.
2153 (ILL_PRVREG): Likewise.
2154 (ILL_COPROC): Likewise.
2155 (ILL_BADSTK): Likewise.
2156 (FPE_INTDIV): Likewise.
2157 (FPE_INTOVF): Likewise.
2158 (FPE_FLTDIV): Likewise.
2159 (FPE_FLTOVF): Likewise.
2160 (FPE_FLTUND): Likewise.
2161 (FPE_FLTRES): Likewise.
2162 (FPE_FLTINV): Likewise.
2163 (FPE_FLTSUB): Likewise.
2164 (SEGV_MAPERR): Likewise.
2165 (SEGV_ACCERR): Likewise.
2166 (BUS_ADRALN): Likewise.
2167 (BUS_ADRERR): Likewise.
2168 (BUS_OBJERR): Likewise.
2169 (BUS_MCEERR_AR): Likewise.
2170 (BUS_MCEERR_AO): Likewise.
2171 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2172 (TRAP_TRACE): Likewise.
2173 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2174 __USE_XOPEN2K8].
2175 (CLD_KILLED): Likewise.
2176 (CLD_DUMPED): Likewise.
2177 (CLD_TRAPPED): Likewise.
2178 (CLD_STOPPED): Likewise.
2179 (CLD_CONTINUED): Likewise.
2180 (POLL_IN): Likewise.
2181 (POLL_OUT): Likewise.
2182 (POLL_MSG): Likewise.
2183 (POLL_ERR): Likewise.
2184 (POLL_PRI): Likewise.
2185 (POLL_HUP): Likewise.
2186 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2187 (ILL_ILLOPN): Likewise.
2188 (ILL_ILLADR): Likewise.
2189 (ILL_ILLTRP): Likewise.
2190 (ILL_PRVOPC): Likewise.
2191 (ILL_PRVREG): Likewise.
2192 (ILL_COPROC): Likewise.
2193 (ILL_BADSTK): Likewise.
2194 (FPE_INTDIV): Likewise.
2195 (FPE_INTOVF): Likewise.
2196 (FPE_FLTDIV): Likewise.
2197 (FPE_FLTOVF): Likewise.
2198 (FPE_FLTUND): Likewise.
2199 (FPE_FLTRES): Likewise.
2200 (FPE_FLTINV): Likewise.
2201 (FPE_FLTSUB): Likewise.
2202 (SEGV_MAPERR): Likewise.
2203 (SEGV_ACCERR): Likewise.
2204 (BUS_ADRALN): Likewise.
2205 (BUS_ADRERR): Likewise.
2206 (BUS_OBJERR): Likewise.
2207 (BUS_MCEERR_AR): Likewise.
2208 (BUS_MCEERR_AO): Likewise.
2209 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2210 (TRAP_TRACE): Likewise.
2211 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2212 __USE_XOPEN2K8].
2213 (CLD_KILLED): Likewise.
2214 (CLD_DUMPED): Likewise.
2215 (CLD_TRAPPED): Likewise.
2216 (CLD_STOPPED): Likewise.
2217 (CLD_CONTINUED): Likewise.
2218 (POLL_IN): Likewise.
2219 (POLL_OUT): Likewise.
2220 (POLL_MSG): Likewise.
2221 (POLL_ERR): Likewise.
2222 (POLL_PRI): Likewise.
2223 (POLL_HUP): Likewise.
2224 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2225 (ILL_ILLOPN): Likewise.
2226 (ILL_ILLADR): Likewise.
2227 (ILL_ILLTRP): Likewise.
2228 (ILL_PRVOPC): Likewise.
2229 (ILL_PRVREG): Likewise.
2230 (ILL_COPROC): Likewise.
2231 (ILL_BADSTK): Likewise.
2232 (ILL_DBLFLT): Likewise.
2233 (ILL_HARDWALL): Likewise.
2234 (FPE_INTDIV): Likewise.
2235 (FPE_INTOVF): Likewise.
2236 (FPE_FLTDIV): Likewise.
2237 (FPE_FLTOVF): Likewise.
2238 (FPE_FLTUND): Likewise.
2239 (FPE_FLTRES): Likewise.
2240 (FPE_FLTINV): Likewise.
2241 (FPE_FLTSUB): Likewise.
2242 (SEGV_MAPERR): Likewise.
2243 (SEGV_ACCERR): Likewise.
2244 (BUS_ADRALN): Likewise.
2245 (BUS_ADRERR): Likewise.
2246 (BUS_OBJERR): Likewise.
2247 (BUS_MCEERR_AR): Likewise.
2248 (BUS_MCEERR_AO): Likewise.
2249 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2250 (TRAP_TRACE): Likewise.
2251 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2252 __USE_XOPEN2K8].
2253 (CLD_KILLED): Likewise.
2254 (CLD_DUMPED): Likewise.
2255 (CLD_TRAPPED): Likewise.
2256 (CLD_STOPPED): Likewise.
2257 (CLD_CONTINUED): Likewise.
2258 (POLL_IN): Likewise.
2259 (POLL_OUT): Likewise.
2260 (POLL_MSG): Likewise.
2261 (POLL_ERR): Likewise.
2262 (POLL_PRI): Likewise.
2263 (POLL_HUP): Likewise.
2264 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2265 (ILL_ILLOPN): Likewise.
2266 (ILL_ILLADR): Likewise.
2267 (ILL_ILLTRP): Likewise.
2268 (ILL_PRVOPC): Likewise.
2269 (ILL_PRVREG): Likewise.
2270 (ILL_COPROC): Likewise.
2271 (ILL_BADSTK): Likewise.
2272 (FPE_INTDIV): Likewise.
2273 (FPE_INTOVF): Likewise.
2274 (FPE_FLTDIV): Likewise.
2275 (FPE_FLTOVF): Likewise.
2276 (FPE_FLTUND): Likewise.
2277 (FPE_FLTRES): Likewise.
2278 (FPE_FLTINV): Likewise.
2279 (FPE_FLTSUB): Likewise.
2280 (SEGV_MAPERR): Likewise.
2281 (SEGV_ACCERR): Likewise.
2282 (BUS_ADRALN): Likewise.
2283 (BUS_ADRERR): Likewise.
2284 (BUS_OBJERR): Likewise.
2285 (BUS_MCEERR_AR): Likewise.
2286 (BUS_MCEERR_AO): Likewise.
2287 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2288 (TRAP_TRACE): Likewise.
2289 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2290 __USE_XOPEN2K8].
2291 (CLD_KILLED): Likewise.
2292 (CLD_DUMPED): Likewise.
2293 (CLD_TRAPPED): Likewise.
2294 (CLD_STOPPED): Likewise.
2295 (CLD_CONTINUED): Likewise.
2296 (POLL_IN): Likewise.
2297 (POLL_OUT): Likewise.
2298 (POLL_MSG): Likewise.
2299 (POLL_ERR): Likewise.
2300 (POLL_PRI): Likewise.
2301 (POLL_HUP): Likewise.
2302 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2303 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2304
bc61d27c
JM
2305 [BZ #16670]
2306 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2307 before #include of <time.h>.
2308 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2309 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2310 (test-xfail-UNIX98/sched.h/conform): Likewise.
2311
302949e2
MS
23122014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2313
2314 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2315 error absence of trapping exception support.
2316 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2317
a00f522a
JM
23182014-03-07 Joseph Myers <joseph@codesourcery.com>
2319
6f99f280
JM
2320 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2321 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2322 * timezone/Makefile (testdata): Move definition above include of
2323 Rules.
2324 (test-zones): New variable.
2325 (tests-special): Add zone files.
2326 (build-testdata): Use $(evaluate-test).
2327
0b20a9e8
JM
2328 * elf/Makefile (tests-special): Rename tests to end with .out.
2329 ($(objpfx)noload-mem): Likewise.
2330 ($(objpfx)tst-leaks1-mem): Likewise.
2331 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2332 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2333 $(objpfx)test-iconvconfig.out.
2334 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2335 set -e inside subshell and redirect output to file.
2336 * iconvdata/Makefile (generated): Rename tests to end with .out.
2337 Correct type.
2338 (tests-special): Rename tests to end with .out.
2339 ($(objpfx)mtrace-tst-loading): Likewise.
2340 * intl/Makefile (generated): Likewise.
2341 (tests-special): Likewise.
2342 ($(objpfx)mtrace-tst-gettext): Likewise.
2343 * misc/Makefile (generated): Likewise.
2344 (tests-special): Likewise.
2345 ($(objpfx)tst-error1-mem): Likewise.
2346 * nptl/Makefile (tests-special): Likewise.
2347 ($(objpfx)tst-stack3-mem): Likewise.
2348 (generated): Likewise.
2349 * posix/Makefile (generated): Likewise.
2350 (tests-special): Likewise.
2351 (xtests-special): Likewise.
2352 ($(objpfx)tst-fnmatch-mem): Likewise.
2353 ($(objpfx)bug-regex2-mem): Likewise.
2354 ($(objpfx)bug-regex14-mem): Likewise.
2355 ($(objpfx)bug-regex21-mem): Likewise.
2356 ($(objpfx)bug-regex31-mem): Likewise.
2357 ($(objpfx)tst-vfork3-mem): Likewise.
2358 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2359 ($(objpfx)tst-pcre-mem): Likewise.
2360 ($(objpfx)tst-boost-mem): Likewise.
2361 ($(objpfx)bug-ga2-mem): Likewise.
2362 ($(objpfx)bug-glob2-mem): Likewise.
2363 * resolv/Makefile (generate): Likewise.
2364 (tests-special): Likewise.
2365 (xtests-special): Likewise.
2366 (generated): Likewise.
2367 ($(objpfx)mtrace-tst-leaks): Likewise.
2368 ($(objpfx)mtrace-tst-leaks2): Likewise.
2369
265d52ab
JM
2370 * scripts/merge-test-results.sh: New file.
2371 * Makefile (tests-special-notdir): New variable.
2372 (tests): Run merge-test-results.sh.
2373 (xtests): Likewise.
2374 * Rules (tests-special-notdir): New variable.
2375 (xtests-special-notdir): Likewise.
2376 (tests): Run merge-test-results.sh
2377 (xtests): Likewise.
2378
54ee292d
JM
2379 * Makeconfig (test-xfail-name): New variable.
2380 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2381 compute variable name for expected failures.
2382 * conform/Makefile (conformtest-headers-data): New variable.
2383 (conformtest-standards): Likewise.
2384 (conformtest-headers-ISO): Likewise.
2385 (conformtest-headers-ISO99): Likewise.
2386 (conformtest-headers-ISO11): Likewise.
2387 (conformtest-headers-POSIX): Likewise.
2388 (conformtest-headers-XPG3): Likewise.
2389 (conformtest-headers-XPG4): Likewise.
2390 (conformtest-headers-UNIX98): Likewise.
2391 (conformtest-headers-XOPEN2K): Likewise.
2392 (conformtest-headers-POSIX2008): Likewise.
2393 (conformtest-headers-XOPEN2K8): Likewise.
2394 (conformtest-header-list-base): Likewise.
2395 (conformtest-header-list-tests): Likewise.
2396 (conformtest-header-base): Likewise.
2397 (conformtest-header-tests): Likewise.
2398 (tests-special): Add $(conformtest-header-list-tests). If
2399 [$(fast-check) && !$(cross-compiling)], add
2400 $(conformtest-header-tests) instead of
2401 $(objpfx)run-conformtest.out.
2402 (generated): Add $(conformtest-header-list-base). If
2403 [$(fast-check) && !$(cross-compiling)], add
2404 $(conformtest-header-base). Remove previous setting.
2405 ($(conformtest-header-list-tests)): New target.
2406 (test-xfail-run-conformtest): Remove variable.
2407 ($(objpfx)run-conformtest.out): Remove target.
2408 (test-xfail-ISO11/complex.h/conform): New variable.
2409 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2410 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2411 (test-xfail-XPG3/varargs.h/conform): Likewise.
2412 (test-xfail-XPG4/varargs.h/conform): Likewise.
2413 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2414 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2415 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2416 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2417 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2418 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2419 (test-xfail-XPG3/ftw.h/conform): Likewise.
2420 (test-xfail-XPG3/grp.h/conform): Likewise.
2421 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2422 (test-xfail-XPG3/limits.h/conform): Likewise.
2423 (test-xfail-XPG3/pwd.h/conform): Likewise.
2424 (test-xfail-XPG3/search.h/conform): Likewise.
2425 (test-xfail-XPG3/signal.h/conform): Likewise.
2426 (test-xfail-XPG3/stdio.h/conform): Likewise.
2427 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2428 (test-xfail-XPG3/string.h/conform): Likewise.
2429 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2430 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2431 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2432 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2433 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2434 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2435 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2436 (test-xfail-XPG3/termios.h/conform): Likewise.
2437 (test-xfail-XPG3/time.h/conform): Likewise.
2438 (test-xfail-XPG3/unistd.h/conform): Likewise.
2439 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2440 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2441 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2442 (test-xfail-XPG4/netdb.h/conform): Likewise.
2443 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2444 (test-xfail-XPG4/signal.h/conform): Likewise.
2445 (test-xfail-XPG4/stdio.h/conform): Likewise.
2446 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2447 (test-xfail-XPG4/stropts.h/conform): Likewise.
2448 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2449 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2450 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2451 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2452 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2453 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2454 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2455 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2456 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2457 (test-xfail-XPG4/termios.h/conform): Likewise.
2458 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2459 (test-xfail-XPG4/unistd.h/conform): Likewise.
2460 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2461 (test-xfail-POSIX/sched.h/conform): Likewise.
2462 (test-xfail-POSIX/signal.h/conform): Likewise.
2463 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2464 (test-xfail-POSIX/tar.h/conform): Likewise.
2465 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2466 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2467 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2468 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2469 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2470 (test-xfail-UNIX98/sched.h/conform): Likewise.
2471 (test-xfail-UNIX98/signal.h/conform): Likewise.
2472 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2473 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2474 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2475 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2476 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2477 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2478 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2479 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2480 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2481 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2482 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2483 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2484 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2485 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2486 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2487 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2488 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2489 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2490 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2491 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2492 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2493 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2494 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2495 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2496 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2497 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2498 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2499 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2500 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2501 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2502 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2503 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2504 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2505 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2506 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2507 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2508 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2509 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2510 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2511 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2512 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2513 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2514 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2515 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2516 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2517 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2518 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2519 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2520 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2521 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2522 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2523 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2524 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2525 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2526 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2527 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2528 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2529 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2530 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2531 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2532 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2533 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2534 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2535 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2536 (conformtest-cc-flags): Likewise.
2537 ($(conformtest-header-tests): New target.
2538 * conform/check-header-lists.sh: New file.
2539 * conform/run-conformtest.sh: Remove.
2540
a00f522a
JM
2541 * conform/conformtest.pl: Allow ' and \ in values given for
2542 constants.
2543 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2544 inclusion.
2545 [POSIX] (sys/types.h): Likewise.
2546 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2547 inclusion.
2548 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2549 inclusion.
2550 * conform/data/signal.h-data (SIGIO): Remove expectation.
2551 [XPG3] (SIGBUS): Do not expect.
2552 [POSIX || XPG3] (SIGPOLL): Likewise.
2553 [POSIX || XPG3] (SIGPROF): Likewise.
2554 [POSIX || XPG3] (SIGSYS): Likewise.
2555 [XPG3] (SIGTRAP): Likewise.
2556 [POSIX || XPG3] (SIGURG): Likewise.
2557 [POSIX || XPG3] (SIGVTALRM): Likewise.
2558 [POSIX || XPG3] (SIGXCPU): Likewise.
2559 [POSIX || XPG3] (SIGXFSZ): Likewise.
2560 [POSIX] (SA_SIGINFO): Expect.
2561 [XPG3] (siginfo_t): Do not expect type or contents.
2562 [POSIX] (si_pid): Do not expect element.
2563 [POSIX] (si_uid): Likewise.
2564 [POSIX] (si_addr): Likewise.
2565 [POSIX] (si_status): Likewise.
2566 [POSIX] (si_band): Likewise.
2567 [XPG4] (si_value): Likewise.
2568 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2569 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2570 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2571 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2572 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2573 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2574 [POSIX || XPG3] (ILL_COPROC): Likewise.
2575 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2576 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2577 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2578 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2579 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2580 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2581 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2582 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2583 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2584 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2585 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2586 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2587 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2588 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2589 [POSIX || XPG3] (CLD_EXITED): Likewise.
2590 [POSIX || XPG3] (CLD_KILLED): Likewise.
2591 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2592 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2593 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2594 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2595 [POSIX || XPG3] (POLL_IN): Likewise.
2596 [POSIX || XPG3] (POLL_OUT): Likewise.
2597 [POSIX || XPG3] (POLL_MSG): Likewise.
2598 [POSIX || XPG3] (POLL_ERR): Likewise.
2599 [POSIX || XPG3] (POLL_PRI): Likewise.
2600 [POSIX || XPG3] (POLL_HUP): Likewise.
2601 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2602 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2603 (SIG*): Do not allow.
2604 [XPG3] (si_*): Likewise.
2605 [XPG3] (SI_*): Likewise.
2606 [XPG3 || XPG4] (sigev_*): Likewise.
2607 [XPG3 || XPG4] (SIGEV_*): Likewise.
2608 [XPG3 || XPG4] (sival_*): Likewise.
2609 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2610 [POSIX || XPG3] (BUS_*): Likewise.
2611 [POSIX || XPG3] (CLD_*): Likewise.
2612 [POSIX || XPG3] (FPE_*): Likewise.
2613 [POSIX || XPG3] (ILL_*): Likewise.
2614 [POSIX || XPG3] (POLL_*): Likewise.
2615 [POSIX || XPG3] (SEGV_*): Likewise.
2616 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2617 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2618 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2619 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2620 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2621 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2622 Specify type and value.
2623 (TVERSLEN): Likewise.
2624 (REGTYPE): Likewise.
2625 (AREGTYPE): Likewise.
2626 (LNKTYPE): Likewise.
2627 (SYMTYPE): Likewise.
2628 (CHRTYPE): Likewise.
2629 (BLKTYPE): Likewise.
2630 (DIRTYPE): Likewise.
2631 (FIFOTYPE): Likewise.
2632 (CONTTYPE): Likewise.
2633 (TSUID): Likewise.
2634 (TSGID): Likewise.
2635 (TSVTX): Likewise.
2636 (TUREAD): Likewise.
2637 (TUWRITE): Likewise.
2638 (TUEXEC): Likewise.
2639 (TGREAD): Likewise.
2640 (TGWRITE): Likewise.
2641 (TGEXEC): Likewise.
2642 (TOREAD): Likewise.
2643 (TOWRITE): Likewise.
2644 (TOEXEC): Likewise.
2645 [POSIX] (TSVTX): Expect constant.
2646
aa97dee1
JM
26472014-03-06 Joseph Myers <joseph@codesourcery.com>
2648
f214606a
JM
2649 * Makefile (tests): Change dependencies to ....
2650 (tests-special): ... additions to this variable.
2651 (tests): Depend on $(tests-special).
2652 * Makerules (check-abi-list): New variable.
2653 (check-abi): Depend on $(check-abi-list).
2654 [$(subdir) = elf] (tests-special): Add
2655 $(objpfx)check-abi-libc.out.
2656 [$(build-shared) = yes && subdir] (tests-special): Add
2657 $(check-abi-list).
2658 [$(build-shared) = yes && subdir] (tests): Do not depend on
2659 check-abi.
2660 * Rules (tests): Depend on $(tests-special).
2661 (xtests): Depend on $(xtests-special).
2662 * catgets/Makefile (tests): Change dependencies to ....
2663 (tests-special): ... additions to this variable.
2664 * conform/Makefile (tests): Change dependencies to ....
2665 (tests-special): ... additions to this variable.
2666 * elf/Makefile (tests): Change dependencies to ....
2667 (tests-special): ... additions to this variable.
2668 * grp/Makefile (tests): Change dependencies to ....
2669 (tests-special): ... additions to this variable.
2670 * iconv/Makefile (xtests): Change dependencies to ....
2671 (xtests-special): ... additions to this variable.
2672 * iconvdata/Makefile (tests): Change dependencies to ....
2673 (tests-special): ... additions to this variable.
2674 * intl/Makefile (tests): Change dependencies to ....
2675 (tests-special): ... additions to this variable. Also add
2676 $(objpfx)tst-gettext.out.
2677 * io/Makefile (tests): Change dependencies to ....
2678 (tests-special): ... additions to this variable.
2679 * libio/Makefile (tests): Change dependencies to ....
2680 (tests-special): ... additions to this variable.
2681 * malloc/Makefile (tests): Change dependencies to ....
2682 (tests-special): ... additions to this variable.
2683 * misc/Makefile (tests): Change dependencies to ....
2684 (tests-special): ... additions to this variable.
2685 * nptl/Makefile (tests): Change dependencies to ....
2686 (tests-special): ... additions to this variable.
2687 * nptl_db/Makefile (tests): Change dependencies to ....
2688 (tests-special): ... additions to this variable.
2689 * posix/Makefile (tests): Change dependencies to ....
2690 (tests-special): ... additions to this variable.
2691 (xtests): Change dependencies to ....
2692 (xtests-special): ... additions to this variable.
2693 * resolv/Makefile (tests): Change dependencies to ....
2694 (tests-special): ... additions to this variable.
2695 (xtests): Change dependencies to ....
2696 (xtests-special): ... additions to this variable.
2697 * stdio-common/Makefile (tests): Change dependencies to ....
2698 (tests-special): ... additions to this variable.
2699 (do-tst-unbputc): Remove target.
2700 (do-tst-printf): Likewise.
2701 * stdlib/Makefile (tests): Change dependencies to ....
2702 (tests-special): ... additions to this variable.
2703 * string/Makefile (tests): Change dependencies to ....
2704 (tests-special): ... additions to this variable.
2705 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2706 (tests-special): ... additions to this variable.
2707
81700b53
JM
2708 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2709 whole file.
2710 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2711 whole file.
2712 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2713 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2714
2ea18461
JM
2715 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2716 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2717 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2718 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2719 * conform/data/libgen.h-data [XPG3]: Likewise.
2720 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2721 * conform/data/ndbm.h-data [XPG3]: Likewise.
2722 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2723 * conform/data/netdb.h-data [XPG3]: Likewise.
2724 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2725 * conform/data/poll.h-data [XPG3]: Likewise.
2726 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2727 * conform/data/strings.h-data [XPG3]: Likewise.
2728 * conform/data/stropts.h-data [XPG3]: Likewise.
2729 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2730 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2731 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2732 Likewise.
2733 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2734 * conform/data/sys/time.h-data [XPG3]: Likewise.
2735 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2736 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2737 * conform/data/sys/un.h-data [XPG3]: Likewise.
2738 * conform/data/syslog.h-data [XPG3]: Likewise.
2739 * conform/data/ucontext.h-data [XPG3]: Likewise.
2740 * conform/data/utmpx.h-data [XPG3]: Likewise.
2741 * conform/data/varargs.h-data [UNIX98]: Enable file.
2742
355bc986
JM
2743 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2744
215db402
JM
2745 * math/libm-test.inc (struct test_f_f_data): Move expected results
2746 into structure for each rounding mode.
2747 (struct test_ff_f_data): Likewise.
2748 (struct test_ff_f_data_nexttoward): Likewise.
2749 (struct test_fi_f_data): Likewise.
2750 (struct test_fl_f_data): Likewise.
2751 (struct test_if_f_data): Likewise.
2752 (struct test_fff_f_data): Likewise.
2753 (struct test_c_f_data): Likewise.
2754 (struct test_f_f1_data): Likewise.
2755 (struct test_fF_f1_data): Likewise.
2756 (struct test_ffI_f1_data): Likewise.
2757 (struct test_c_c_data): Likewise.
2758 (struct test_cc_c_data): Likewise.
2759 (struct test_f_i_data): Likewise.
2760 (struct test_ff_i_data): Likewise.
2761 (struct test_f_l_data): Likewise.
2762 (struct test_f_L_data): Likewise.
2763 (struct test_fFF_11_data): Likewise.
2764 (RM_): New macro.
2765 (RM_FE_DOWNWARD): Likewise.
2766 (RM_FE_TONEAREST): Likewise.
2767 (RM_FE_TOWARDZERO): Likewise.
2768 (RM_FE_UPWARD): Likewise.
2769 (RUN_TEST_LOOP_f_f): Update references to expected results.
2770 (RUN_TEST_LOOP_2_f): Likewise.
2771 (RUN_TEST_LOOP_fff_f): Likewise.
2772 (RUN_TEST_LOOP_c_f): Likewise.
2773 (RUN_TEST_LOOP_f_f1): Likewise.
2774 (RUN_TEST_LOOP_fF_f1): Likewise.
2775 (RUN_TEST_LOOP_fI_f1): Likewise.
2776 (RUN_TEST_LOOP_ffI_f1): Likewise.
2777 (RUN_TEST_LOOP_c_c): Likewise.
2778 (RUN_TEST_LOOP_cc_c): Likewise.
2779 (RUN_TEST_LOOP_f_i): Likewise.
2780 (RUN_TEST_LOOP_f_i_tg): Likewise.
2781 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2782 (RUN_TEST_LOOP_f_b): Likewise.
2783 (RUN_TEST_LOOP_f_b_tg): Likewise.
2784 (RUN_TEST_LOOP_f_l): Likewise.
2785 (RUN_TEST_LOOP_f_L): Likewise.
2786 (RUN_TEST_LOOP_fFF_11): Likewise.
2787 * math/gen-libm-test.pl (parse_args): Output four copies of
2788 expected results for each test.
2789
67737b8f
JM
2790 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2791 (__ASSUME_UTIMES): Remove.
2792 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2793 (__ASSUME_UTIMES): Likewise.
2794
aa97dee1
JM
2795 * math/gen-auto-libm-tests.c: Update comment on output format.
2796 (output_for_one_input_case): Generate before-rounding and
2797 after-rounding information as conditions on output flags not
2798 floating-point format.
2799 * math/auto-libm-test-out: Regenerated.
2800 * math/gen-libm-test.pl (cond_value): New function.
2801 (or_cond_value): Use cond_value.
2802 (generate_testfile): Handle conditional exceptions.
2803
e6b6a857
JM
28042014-03-05 Joseph Myers <joseph@codesourcery.com>
2805
2f0a0f44
JM
2806 * math/libm-test.inc (max_valid_error): New variable.
2807 (init_max_error): Take new argument specifying whether function
2808 results are exactly determined. Set max_valid_error and bound
2809 other variables for errors based on this argument.
2810 (set_max_error): Do not record results above max_valid_error.
2811 (check_float_internal): Only accept errors of up to 0.5ulps if
2812 also at most max_valid_error.
2813 (START): Take new argument EXACT and pass it to init_max_error.
2814 (acos_test): Update call to START.
2815 (acos_test_tonearest): Likewise.
2816 (acos_test_towardzero): Likewise.
2817 (acos_test_downward): Likewise.
2818 (acos_test_upward): Likewise.
2819 (acosh_test): Likewise.
2820 (asin_test): Likewise.
2821 (asin_test_tonearest): Likewise.
2822 (asin_test_towardzero): Likewise.
2823 (asin_test_downward): Likewise.
2824 (asin_test_upward): Likewise.
2825 (asinh_test): Likewise.
2826 (atan_test): Likewise.
2827 (atanh_test): Likewise.
2828 (atan2_test): Likewise.
2829 (cabs_test): Likewise.
2830 (cacos_test): Likewise.
2831 (cacosh_test): Likewise.
2832 (carg_test): Likewise.
2833 (casin_test): Likewise.
2834 (casinh_test): Likewise.
2835 (catan_test): Likewise.
2836 (catanh_test): Likewise.
2837 (cbrt_test): Likewise.
2838 (ccos_test): Likewise.
2839 (ccosh_test): Likewise.
2840 (ceil_test): Likewise.
2841 (cexp_test): Likewise.
2842 (cimag_test): Likewise.
2843 (clog_test): Likewise.
2844 (clog10_test): Likewise.
2845 (conj_test): Likewise.
2846 (copysign_test): Likewise.
2847 (cos_test): Likewise.
2848 (cos_test_tonearest): Likewise.
2849 (cos_test_towardzero): Likewise.
2850 (cos_test_downward): Likewise.
2851 (cos_test_upward): Likewise.
2852 (cosh_test): Likewise.
2853 (cosh_test_tonearest): Likewise.
2854 (cosh_test_towardzero): Likewise.
2855 (cosh_test_downward): Likewise.
2856 (cosh_test_upward): Likewise.
2857 (cpow_test): Likewise.
2858 (cproj_test): Likewise.
2859 (creal_test): Likewise.
2860 (csin_test): Likewise.
2861 (csinh_test): Likewise.
2862 (csqrt_test): Likewise.
2863 (ctan_test): Likewise.
2864 (ctan_test_tonearest): Likewise.
2865 (ctan_test_towardzero): Likewise.
2866 (ctan_test_downward): Likewise.
2867 (ctan_test_upward): Likewise.
2868 (ctanh_test): Likewise.
2869 (ctanh_test_tonearest): Likewise.
2870 (ctanh_test_towardzero): Likewise.
2871 (ctanh_test_downward): Likewise.
2872 (ctanh_test_upward): Likewise.
2873 (erf_test): Likewise.
2874 (erfc_test): Likewise.
2875 (exp_test): Likewise.
2876 (exp_test_tonearest): Likewise.
2877 (exp_test_towardzero): Likewise.
2878 (exp_test_downward): Likewise.
2879 (exp_test_upward): Likewise.
2880 (exp10_test): Likewise.
2881 (exp10_test_tonearest): Likewise.
2882 (exp10_test_towardzero): Likewise.
2883 (exp10_test_downward): Likewise.
2884 (exp10_test_upward): Likewise.
2885 (pow10_test): Likewise.
2886 (exp2_test): Likewise.
2887 (expm1_test): Likewise.
2888 (expm1_test_tonearest): Likewise.
2889 (expm1_test_towardzero): Likewise.
2890 (expm1_test_downward): Likewise.
2891 (expm1_test_upward): Likewise.
2892 (fabs_test): Likewise.
2893 (fdim_test): Likewise.
2894 (floor_test): Likewise.
2895 (fma_test): Likewise.
2896 (fma_test_towardzero): Likewise.
2897 (fma_test_downward): Likewise.
2898 (fma_test_upward): Likewise.
2899 (fmax_test): Likewise.
2900 (fmin_test): Likewise.
2901 (fmod_test): Likewise.
2902 (fpclassify_test): Likewise.
2903 (frexp_test): Likewise.
2904 (hypot_test): Likewise.
2905 (ilogb_test): Likewise.
2906 (isfinite_test): Likewise.
2907 (finite_test): Likewise.
2908 (isgreater_test): Likewise.
2909 (isgreaterequal_test): Likewise.
2910 (isinf_test): Likewise.
2911 (isless_test): Likewise.
2912 (islessequal_test): Likewise.
2913 (islessgreater_test): Likewise.
2914 (isnan_test): Likewise.
2915 (isnormal_test): Likewise.
2916 (issignaling_test): Likewise.
2917 (isunordered_test): Likewise.
2918 (j0_test): Likewise.
2919 (j1_test): Likewise.
2920 (jn_test): Likewise.
2921 (ldexp_test): Likewise.
2922 (lgamma_test): Likewise.
2923 (gamma_test): Likewise.
2924 (lrint_test): Likewise.
2925 (lrint_test_tonearest): Likewise.
2926 (lrint_test_towardzero): Likewise.
2927 (lrint_test_downward): Likewise.
2928 (lrint_test_upward): Likewise.
2929 (llrint_test): Likewise.
2930 (llrint_test_tonearest): Likewise.
2931 (llrint_test_towardzero): Likewise.
2932 (llrint_test_downward): Likewise.
2933 (llrint_test_upward): Likewise.
2934 (log_test): Likewise.
2935 (log10_test): Likewise.
2936 (log1p_test): Likewise.
2937 (log2_test): Likewise.
2938 (logb_test): Likewise.
2939 (logb_test_downward): Likewise.
2940 (lround_test): Likewise.
2941 (llround_test): Likewise.
2942 (modf_test): Likewise.
2943 (nearbyint_test): Likewise.
2944 (nextafter_test): Likewise.
2945 (nexttoward_test): Likewise.
2946 (pow_test): Likewise.
2947 (pow_test_tonearest): Likewise.
2948 (pow_test_towardzero): Likewise.
2949 (pow_test_downward): Likewise.
2950 (pow_test_upward): Likewise.
2951 (remainder_test): Likewise.
2952 (drem_test): Likewise.
2953 (remainder_test_tonearest): Likewise.
2954 (drem_test_tonearest): Likewise.
2955 (remainder_test_towardzero): Likewise.
2956 (drem_test_towardzero): Likewise.
2957 (remainder_test_downward): Likewise.
2958 (drem_test_downward): Likewise.
2959 (remainder_test_upward): Likewise.
2960 (drem_test_upward): Likewise.
2961 (remquo_test): Likewise.
2962 (rint_test): Likewise.
2963 (rint_test_tonearest): Likewise.
2964 (rint_test_towardzero): Likewise.
2965 (rint_test_downward): Likewise.
2966 (rint_test_upward): Likewise.
2967 (round_test): Likewise.
2968 (scalb_test): Likewise.
2969 (scalbn_test): Likewise.
2970 (scalbln_test): Likewise.
2971 (signbit_test): Likewise.
2972 (sin_test): Likewise.
2973 (sin_test_tonearest): Likewise.
2974 (sin_test_towardzero): Likewise.
2975 (sin_test_downward): Likewise.
2976 (sin_test_upward): Likewise.
2977 (sincos_test): Likewise.
2978 (sinh_test): Likewise.
2979 (sinh_test_tonearest): Likewise.
2980 (sinh_test_towardzero): Likewise.
2981 (sinh_test_downward): Likewise.
2982 (sinh_test_upward): Likewise.
2983 (sqrt_test): Likewise.
2984 (sqrt_test_tonearest): Likewise.
2985 (sqrt_test_towardzero): Likewise.
2986 (sqrt_test_downward): Likewise.
2987 (sqrt_test_upward): Likewise.
2988 (tan_test): Likewise.
2989 (tan_test_tonearest): Likewise.
2990 (tan_test_towardzero): Likewise.
2991 (tan_test_downward): Likewise.
2992 (tan_test_upward): Likewise.
2993 (tanh_test): Likewise.
2994 (tgamma_test): Likewise.
2995 (trunc_test): Likewise.
2996 (y0_test): Likewise.
2997 (y1_test): Likewise.
2998 (yn_test): Likewise.
2999 (significand_test): Likewise.
3000
e6b6a857
JM
3001 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3002 individual tests in comment.
3003 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3004 (prev_max_error): New variable.
3005 (prev_real_max_error): Likewise.
3006 (prev_imag_max_error): Likewise.
3007 (compare_ulp_data): Don't refer to test names in comment.
3008 (find_test_ulps): Remove function.
3009 (find_function_ulps): Likewise.
3010 (find_complex_function_ulps): Likewise.
3011 (init_max_error): Take function name as argument. Look up ulps
3012 for that function.
3013 (print_ulps): Remove function.
3014 (print_max_error): Use prev_max_error instead of calling
3015 find_function_ulps.
3016 (print_complex_max_error): Use prev_real_max_error and
3017 prev_imag_max_error instead of calling find_complex_function_ulps.
3018 (check_float_internal): Take max_ulp parameter instead of calling
3019 find_test_ulps. Don't call print_ulps.
3020 (check_float): Update call to check_float_internal.
3021 (check_complex): Update calls to check_float_internal.
3022 (START): Pass argument to init_max_error.
3023 * math/gen-libm-test.pl (%results): Don't include "kind"
3024 information.
3025 (parse_ulps): Don't handle ulps of individual tests.
3026 (print_ulps_file): Likewise.
3027 (output_ulps): Likewise.
3028 * math/README.libm-test: Update.
3029 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3030 individual tests.
3031 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3032 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3033 * sysdeps/arm/libm-test-ulps: Likewise.
3034 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3035 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3036 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3037 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3038 * sysdeps/microblaze/libm-test-ulps: Likewise.
3039 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3040 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3041 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3042 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3043 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3044 * sysdeps/sh/libm-test-ulps: Likewise.
3045 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3046 * sysdeps/tile/libm-test-ulps: Likewise.
3047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3048
45adef3c
JM
30492014-03-04 Joseph Myers <joseph@codesourcery.com>
3050
3051 * math/libm-test.inc (print_complex_max_error): Check separately
3052 whether real and imaginary errors are within allowed range and
3053 pass 0 to print_complex_function_ulps instead of value within
3054 allowed range.
3055
000232b9
SP
30562014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3057
d4b17258
SP
3058 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3059 formatting.
3060 (get_handles_fopen): Likewise.
3061 (do_write_test): Likewise.
3062
091eff71
SP
3063 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3064
fa3cd248
SP
3065 * libio/fileops.c (do_ftell): Use cached offset when
3066 available.
3067 * libio/iofwide.c (do_ftell_wide): Likewise.
3068 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3069 _IO_file_attach.
3070 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3071
000232b9
SP
3072 [BZ #16532]
3073 * libio/libioP.h (get_file_offset): New function.
3074 * libio/fileops.c (get_file_offset): Likewise.
3075 (do_ftell): Likewise.
3076 (_IO_new_file_seekoff): Split out ftell logic.
3077 * libio/wfileops.c (do_ftell_wide): Likewise.
3078 (_IO_wfile_seekoff): Split out ftell logic.
3079 * libio/tst-ftell-active-handler.c: New test case.
3080 * libio/Makefile (tests): Add it.
3081
116f4d1a
RM
30822014-03-03 Roland McGrath <roland@hack.frob.com>
3083
3084 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3085 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3086
532a6035
SP
30872014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3088
3089 [BZ #16639]
3090 * nscd/connections.c (nscd_init): Call do_exit.
3091 (start_threads): Call do_exit and notify_parent.
3092 (begin_drop_privileges): Call do_exit.
3093 (finish_drop_privileges): Likewise.
3094 * nscd/selinux.c (preserve_capabilities): Likewise.
3095 (install_real_capabilities): Likewise.
3096 (nscd_selinux_enabled): Likewise.
3097 (avc_create_thread): Likewise.
3098 (avc_alloc_lock): Likewise.
3099 (nscd_avc_init): Likewise.
3100 * nscd/nscd.c (parent_fd): New static variable.
3101 (main): Create a pipe between parent and child processes.
3102 Skip closing parent_fd.
3103 (monitor_child): New function.
3104 (do_exit): Likewise.
3105 (notify_parent): Likewise.
3106 * nscd/nscd.h (notify_parent): Likewise.
3107 (do_exit): Likewise.
3108
d6285c9f
CD
31092014-03-03 Carlos O'Donell <carlos@redhat.com>
3110
3111 * malloc/malloc.c (__libc_calloc): Revert last change.
3112
2b85d2a0
AZ
31132014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3114
3115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3116
c7debbdf
RS
31172014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3118
3119 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3121 implementation.
3122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3123 (__libc_ifunc_impl_list): Likewise.
3124 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3125 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3126 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3127 * string/strrchr.c: Define STRRCHR.
3128
235eed86
OB
31292014-02-28 Ondřej Bílka <neleai@seznam.cz>
3130
3131 * benchtest/bench-strtok.c (simple_strtok): Delete.
3132 (strtok_string): Use as benchmark.
3133 * string/strtok (STRTOK): New macro.
3134
8e25d1e7
CD
31352014-02-28 Carlos O'Donell <carlos@redhat.com>
3136
ef563f92
CD
3137 * manual/threads.texi: Add header and standard comments to all
3138 functions.
3139
8e25d1e7
CD
3140 * elf/dl-lookup.c (check_match): New function.
3141 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3142 (do_lookup_x): Remove nested function check_match. Use non-nested
3143 function check_match.
3144
ff71cc37
RM
31452014-02-28 Roland McGrath <roland@hack.frob.com>
3146
f08e9a26
RM
3147 * csu/Makefile (generated, before-compile): Use += rather than =.
3148 * catgets/Makefile (generated, generated-dirs): Likewise.
3149 * debug/Makefile (generated): Likewise.
3150 * dlfcn/Makefile (generated): Likewise.
3151 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3152 * iconvdata/Makefile (before-compile, generated): Likewise.
3153 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3154 * libio/Makefile (generated): Likewise.
3155 * malloc/Makefile (generated): Likewise.
3156 * manual/Makefile (generated, generated-dirs): Likewise.
3157 * misc/Makefile (generated): Likewise.
3158 * posix/Makefile (generated): Likewise.
3159 * resolv/Makefile (generated): Likewise.
3160 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3161 * timezone/Makefile (generated, generated-dirs): Likewise.
3162
ff71cc37
RM
3163 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3164
fe13a20c
AZ
31652014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3166
57f41c40
AS
3167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3168 power8 implementation.
3169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3170 file: POWER8 llround ifunc implementation.
3171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3172 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3173 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3174 POWER8 llround implementation.
3175
57f41c40
AS
3176 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3177 power8 implementation.
3178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3179 file: POWER8 llrint ifunc implementation.
3180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3181 Add POWER8 implementation.
1ad8950a
AZ
3182 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3183 POWER8 llrint implementation.
3184
57f41c40
AS
3185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3186 power8 implementation.
3187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3188 file: POWER8 finite ifunc implementation.
3189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3190 Add POWER8 implementation.
cac626d6
AZ
3191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3192 Likewise.
3193 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3194 POWER8 finite implementation.
3195 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3196
57f41c40
AS
3197 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3198 power8 implementation.
3199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3200 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3202 POWER8 implementation.
3203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3204 Likewise.
57f41c40
AS
3205 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3206 isinf implementation.
4393fc11
AZ
3207 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3208
57f41c40
AS
3209 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3210 (INIT_ARCH): Add hwcap2 initialization.
3211 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3212 power8 implementation.
3213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3214 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3216 POWER8 implementation.
3217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3218 Likewise.
57f41c40
AS
3219 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3220 isnan implementation.
487972ae
AZ
3221 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3222
7d92b787
JY
32232014-02-27 Joey Ye <joey.ye@arm.com>
3224
3225 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3226 (_FP_NANFRAC_Q): Set to zero.
3227
1cadc858
SP
32282014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3229
3230 [BZ #16623]
3231 * math/auto-libm-test-in: New test inputs.
3232 * math/auto-libm-test-out: Regenerate.
3233 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3234 and DA.
3235 (__cos): Likewise.
3236 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3237
f8c17e79
JM
32382014-02-27 Joseph Myers <joseph@codesourcery.com>
3239
3240 * scripts/evaluate-test.sh: Take new argument indicating whether
3241 failure is expected.
3242 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3243 indicating whether failure is expected.
3244 * conform/Makefile (test-xfail-run-conformtest): New variable.
3245 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3246 level.
3247 * posix/Makefile (test-xfail-annexc): New variable.
3248 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3249
a5f891ac
JM
32502014-02-26 Joseph Myers <joseph@codesourcery.com>
3251
3252 * argp/Makefile: Include Makeconfig immediately after defining
3253 subdir.
3254 * assert/Makefile: Likewise.
3255 * benchtests/Makefile: Likewise.
3256 * catgets/Makefile: Likewise.
3257 * conform/Makefile: Likewise.
3258 * crypt/Makefile: Likewise.
3259 * csu/Makefile: Likewise.
3260 (all): Remove target.
3261 * ctype/Makefile: Include Makeconfig immediately after defining
3262 subdir.
3263 * debug/Makefile: Likewise.
3264 * dirent/Makefile: Likewise.
3265 * dlfcn/Makefile: Likewise.
3266 * gmon/Makefile: Likewise.
3267 * gnulib/Makefile: Likewise.
3268 * grp/Makefile: Likewise.
3269 * gshadow/Makefile: Likewise.
3270 * hesiod/Makefile: Likewise.
3271 * hurd/Makefile: Likewise.
3272 (all): Remove target.
3273 * iconvdata/Makefile: Include Makeconfig immediately after
3274 defining subdir.
3275 * inet/Makefile: Likewise.
3276 * intl/Makefile: Likewise.
3277 * io/Makefile: Likewise.
3278 * libio/Makefile: Likewise.
3279 (all): Remove target.
3280 * locale/Makefile: Include Makeconfig immediately after defining
3281 subdir.
3282 * login/Makefile: Likewise.
3283 * mach/Makefile: Likewise.
3284 (all): Remove target.
3285 * malloc/Makefile: Include Makeconfig immediately after defining
3286 subdir.
3287 (all): Remove target.
3288 * manual/Makefile: Include Makeconfig immediately after defining
3289 subdir.
3290 * math/Makefile: Likewise.
3291 * misc/Makefile: Likewise.
3292 * nis/Makefile: Likewise.
3293 * nss/Makefile: Likewise.
3294 * po/Makefile: Likewise.
3295 (all): Remove target.
3296 * posix/Makefile: Include Makeconfig immediately after defining
3297 subdir.
3298 * pwd/Makefile: Likewise.
3299 * resolv/Makefile: Likewise.
3300 * resource/Makefile: Likewise.
3301 * rt/Makefile: Likewise.
3302 * setjmp/Makefile: Likewise.
3303 * shadow/Makefile: Likewise.
3304 * signal/Makefile: Likewise.
3305 * socket/Makefile: Likewise.
3306 * soft-fp/Makefile: Likewise.
3307 * stdio-common/Makefile: Likewise.
3308 * stdlib/Makefile: Likewise.
3309 * streams/Makefile: Likewise.
3310 * string/Makefile: Likewise.
3311 * sunrpc/Makefile: Likewise.
3312 (all): Remove target.
3313 * sysvipc/Makefile: Include Makeconfig immediately after defining
3314 subdir.
3315 * termios/Makefile: Likewise.
3316 * time/Makefile: Likewise.
3317 * timezone/Makefile: Likewise.
3318 (all): Remove target.
3319 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3320 subdir.
3321 * wctype/Makefile: Likewise.
3322
5b456e9d
SE
33232014-02-26 Steve Ellcey <sellcey@mips.com>
3324
3325 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3326 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3327 (libc_feholdexcept_setround_mips): Ditto.
3328 (libc_feholdsetround): New.
3329 (libc_feholdsetroundf): New.
3330 (libc_feholdsetroundl): New.
3331 (libc_feupdateenv_test_mips): New.
3332 (libc_feupdateenv_test): New.
3333 (libc_feupdateenv_testf): New.
3334 (libc_feupdateenv_testl): New.
3335 (libc_feresetround): New.
3336 (libc_feresetroundf): New.
3337 (libc_feresetroundl): New.
3338 (libc_fetestexcept_mips): New.
3339 (libc_fetestexcept): New.
3340 (libc_fetestexceptf): New.
3341 (libc_fetestexceptl): New.
3342 (HAVE_RM_CTX): New.
3343 (libc_feholdexcept_setround_mips_ctx): New.
3344 (libc_feholdexcept_setround_ctx): New.
3345 (libc_feholdexcept_setroundf_ctx): New.
3346 (libc_feholdexcept_setroundl_ctx): New.
3347 (libc_fesetenv_mips_ctx): New.
3348 (libc_fesetenv_ctx): New.
3349 (libc_fesetenv_ctxf): New.
3350 (libc_fesetenv_ctxl): New.
3351 (libc_feupdateenv_mips_ctx): New.
3352 (libc_feupdateenv_ctx): New.
3353 (libc_feupdateenvf_ctx): New.
3354 (libc_feupdateenvl_ctx): New.
3355 (libc_feholdsetround_mips_ctx): New.
3356 (libc_feholdsetround_ctx): New.
3357 (libc_feholdsetroundf_ctx): New.
3358 (libc_feholdsetroundl_ctx): New.
3359 (libc_feresetround_mips_ctx): New.
3360 (libc_feresetround_ctx): New.
3361 (libc_feresetroundf_ctx): New.
3362 (libc_feresetroundl_ctx): New.
3363
085d0e35
CD
33642014-02-26 Carlos O'Donell <carlos@redhat.com>
3365
f067bf1f
CD
3366 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3367
085d0e35
CD
3368 * manual/ipc.texi: New file.
3369 * manual/Makefile (chapters): Add ipc.
3370 * manual/job.texi: Add "Inter-Process Communication" to next.
3371 * manual/process.texi: Add "Inter-Process Communication" to prev.
3372
86e58c08
AZ
33732014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3374
3375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3376
4248f0da
OB
33772014-02-26 Ondřej Bílka <neleai@seznam.cz>
3378
3379 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3380
cf822e3c
OB
3381 * manual/arith.texi: Fix spaces after sentences.
3382 * manual/charset.texi: Likewise.
3383 * manual/errno.texi: Likewise.
3384 * manual/install.texi: Likewise.
3385 * manual/llio.texi: Likewise.
3386 * manual/locale.texi: Likewise.
3387 * manual/maint.texi: Likewise.
3388 * manual/math.texi: Likewise.
3389 * manual/memory.texi: Likewise.
3390 * manual/message.texi: Likewise.
3391 * manual/probes.texi: Likewise.
3392 * manual/resource.texi: Likewise.
3393 * manual/signal.texi: Likewise.
3394 * manual/socket.texi: Likewise.
3395 * manual/stdio.texi: Likewise.
3396 * manual/string.texi: Likewise.
3397 * manual/time.texi: Likewise.
3398 * manual/users.texi: Likewise.
3399
ade40b10
CD
34002014-02-25 Carlos O'Donell <carlos@redhat.com>
3401
3402 [BZ #16632]
3403 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3404 _DEFAULT_SOURCE is defined.
3405
d0503676
CD
34062014-02-25 Ulrich Drepper <drepper@gmail.com>
3407 Carlos O'Donell <carlos@redhat.com>
3408
3409 [BZ #16613]
3410 * elf/dl-tls.c (_dl_count_modids): New function.
3411 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3412 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3413 audit library and increment generation counter.
3414 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3415 * elf/tst-audit9.c: New file.
3416 * elf/tst-auditmod9a.c: New file.
3417 * elf/tst-auditmod9b.c: New file.
3418 * elf/Makefile: Add rules to build and run tst-audit9.
3419
4cbf380c
FW
34202014-02-25 Florian Weimer <fweimer@redhat.com>
3421
3422 [BZ #15347]
3423 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3424
80a56cc3
WN
34252014-02-25 Will Newton <will.newton@linaro.org>
3426
3427 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3428 (__longjmp): Restore sp and lr before restoring callee
3429 saved registers. Add longjmp and longjmp_target
3430 SystemTap probe point.
3431 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3432 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3433 Define to zero to match jmpbuf layout.
3434 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3435 (__sigsetjmp): Save sp and lr before saving callee
3436 saved registers. Add setjmp SystemTap probe point.
3437
3ea0f74e
SL
34382014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3439
3440 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3441
b04acb26
AS
34422014-02-24 Andreas Schwab <schwab@suse.de>
3443
3444 [BZ #15804]
3445 * elf/pldd.c (wait_for_ptrace_stop): New function.
3446 (main): Call it after attaching.
3447
098ad55c
RM
34482014-02-22 Roland McGrath <roland@hack.frob.com>
3449
d4ec6ae1
RM
3450 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3451 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3452 Versions files is now verboten.
3453 * hurd/Versions (libc: GLIBC_2.0):
3454 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3455 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3456 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3457 * mach/Versions: Likewise.
3458
098ad55c
RM
3459 * csu/Versions: Remove unused %include.
3460 * resolv/Versions: Likewise.
3461
acd7f096
JM
34622014-02-21 Joseph Myers <joseph@codesourcery.com>
3463
f0881698
JM
3464 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3465 ($(objpfx)check-local-headers.out): Likewise.
3466 ($(objpfx)begin-end-check.out): Likewise.
3467 * Makerules (check-abi-%.out): Likewise.
3468 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3469 ($(objpfx)test2.cat): Likewise.
3470 ($(objpfx)de/libc.cat): Likewise.
3471 ($(objpfx)test-gencat.out): Likewise.
3472 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3473 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3474 ($(objpfx)noload-mem): Likewise.
3475 ($(objpfx)tst-pathopt.out): Likewise.
3476 ($(objpfx)tst-rtld-load-self.out): Likewise.
3477 ($(objpfx)tst-array1-cmp.out): Likewise.
3478 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3479 ($(objpfx)tst-array2-cmp.out): Likewise.
3480 ($(objpfx)tst-array3-cmp.out): Likewise.
3481 ($(objpfx)tst-array4-cmp.out): Likewise.
3482 ($(objpfx)tst-array5-cmp.out): Likewise.
3483 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3484 ($(objpfx)check-textrel.out): Likewise.
3485 ($(objpfx)check-execstack.out): Likewise.
3486 ($(objpfx)check-localplt.out): Likewise.
3487 ($(objpfx)order2-cmp.out): Likewise.
3488 ($(objpfx)tst-leaks1-mem): Likewise.
3489 ($(objpfx)tst-leaks1-static-mem): Likewise.
3490 ($(objpfx)tst-initorder-cmp.out): Likewise.
3491 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3492 ($(objpfx)tst-unused-dep.out): Likewise.
3493 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3494 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3495 * iconv/Makefile (test-iconvconfig): Likewise.
3496 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3497 ($(objpfx)iconv-test.out): Likewise.
3498 ($(objpfx)tst-tables.out): Likewise.
3499 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3500 ($(objpfx)tst-gettext.out): Likewise.
3501 ($(objpfx)tst-translit.out): Likewise.
3502 ($(objpfx)tst-gettext2.out): Likewise.
3503 ($(objpfx)tst-gettext4.out): Likewise.
3504 ($(objpfx)tst-gettext6.out): Likewise.
3505 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3506 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3507 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3508 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3509 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3510 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3511 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3512 ($(objpfx)wordexp-tst.out): Likewise.
3513 ($(objpfx)annexc.out): Likewise.
3514 ($(objpfx)tst-fnmatch-mem): Likewise.
3515 ($(objpfx)bug-regex2-mem): Likewise.
3516 ($(objpfx)bug-regex14-mem): Likewise.
3517 ($(objpfx)bug-regex21-mem): Likewise.
3518 ($(objpfx)bug-regex31-mem): Likewise.
3519 ($(objpfx)tst-vfork3-mem): Likewise.
3520 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3521 ($(objpfx)tst-pcre-mem): Likewise.
3522 ($(objpfx)tst-boost-mem): Likewise.
3523 ($(objpfx)tst-getconf.out): Likewise.
3524 ($(objpfx)bug-ga2-mem): Likewise.
3525 ($(objpfx)bug-glob2-mem): Likewise.
3526 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3527 ($(objpfx)mtrace-tst-leaks2): Likewise.
3528 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3529 ($(objpfx)tst-printf.out): Likewise.
3530 ($(objpfx)tst-setvbuf1.out): Likewise.
3531 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3532 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3533 ($(objpfx)tst-fmtmsg.out): Likewise.
3534 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3535 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3536
acd7f096
JM
3537 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3538 * bits/sigaction.h [__USE_MISC]: Likewise.
3539 * bits/waitstatus.h: Update #endif comments.
3540 * ctype/ctype.h: Likewise.
3541 * dirent/dirent.h: Likewise.
3542 [__USE_MISC]: Remove redundant conditionals.
3543 * grp/grp.h: Update #endif comments.
3544 [__USE_GNU]: Remove redundant conditionals.
3545 [__USE_MISC]: Likewise.
3546 * inet/netinet/in.h [__USE_GNU]: Likewise.
3547 * io/sys/stat.h [__USE_MISC]: Likewise.
3548 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3549 * libio/bits/stdio.h: Update #endif comments.
3550 [__USE_MISC]: Remove redundant conditionals.
3551 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3552 * libio/stdio.h: Update #endif comments.
3553 [__USE_MISC]: Remove redundant conditionals.
3554 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3555 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3556 * math/math.h: Update #else and #endif comments.
3557 [__USE_MISC]: Remove redundant conditionals.
3558 * misc/sys/uio.h: Update #endif comments.
3559 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3560 * posix/glob.h [__USE_MISC]: Likewise.
3561 * posix/sys/types.h: Update #endif comments.
3562 [__USE_MISC]: Remove redundant conditionals.
3563 * posix/sys/wait.h: Update #endif comments.
3564 [__USE_MISC]: Remove redundant conditionals.
3565 * posix/unistd.h: Update #endif comments.
3566 [__USE_MISC]: Remove redundant conditionals.
3567 * pwd/pwd.h [__USE_GNU]: Likewise.
3568 [__USE_MISC]: Likewise.
3569 * resolv/netdb.h [__USE_GNU]: Likewise.
3570 * signal/signal.h: Update #endif comments.
3571 [__USE_MISC]: Remove redundant conditionals.
3572 * stdlib/stdlib.h: Update #else and #endif comments.
3573 [__USE_MISC]: Remove redundant conditionals.
3574 [__USE_GNU]: Likewise.
3575 * string/bits/string2.h [__USE_MISC]: Likewise.
3576 * string/string.h: Update #endif comments.
3577 [__USE_MISC]: Remove redundant conditionals.
3578 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3579 Likewise.
3580 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3581 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3582 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3583 Likewise.
3584 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3585 Likewise.
3586 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3587 comments.
3588 [__USE_MISC]: Remove redundant conditionals.
3589 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3590 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3591 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3592 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3593 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3594 Likewise.
3595 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3596 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3597 Likewise.
3598 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3599 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3600 Likewise.
3601 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3602 Likewise.
3603 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3604 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3605 Likewise.
3606 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3607 Likewise.
3608 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3609 * sysdeps/x86/bits/string.h: Update #endif comments.
3610 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3611 conditionals.
3612 * time/sys/time.h: Update #endif comments.
3613 * time/time.h: Likewise.
3614 [__USE_MISC]: Remove redundant conditionals.
3615
a5d82e4e
YG
36162014-02-21 Yury Gribov <y.gribov@samsung.com>
3617
3618 [BZ #16600]
3619 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3620
9a80491d
AS
36212014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3622
3623 * Versions.def (librt): Add GLIBC_2.17.
3624
105fa381
AC
36252014-02-21 Adam Conrad <adconrad@0c3.net>
3626
3627 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3628 synonym for _SYS_AUXV_H to allow direct inclusion.
3629 * sysdeps/sparc/bits/hwcap.h: Likewise.
3630 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3631 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3632 * sysdeps/sparc/sysdep.h: Likewise.
3633
b8cd1c4e
SP
36342014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3635
3636 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3637
bd939d23
RS
36382014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3639
3640 * benchtests/bench-strrchr.c: Print length instead of position.
3641
5d7b57ca
JM
36422014-02-20 Joseph Myers <joseph@codesourcery.com>
3643
bc688c10
JM
3644 [BZ #16611]
3645 * sysdeps/unix/sysv/linux/kernel-features.h
3646 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3647 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3648 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3649 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3650 Likewise.
3651 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3652 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3653 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3654 (__ASSUME_SENDMMSG): Define instead of using previous
3655 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3656 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3657 (__ASSUME_SENDMMSG_SYSCALL): Define.
3658 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3659 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3660 Likewise.
3661 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3662 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3663 Likewise.
3664 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3665 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3666 Likewise.
3667 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3668 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3669 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3670 [__ASSUME_SENDMMSG]: Change conditionals to
3671 [__ASSUME_SENDMMSG_SOCKETCALL].
3672 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3673 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3674 Define.
3675 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3676 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3677 Likewise.
3678 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3679 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3680 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3681 [!__ASSUME_SENDMMSG]: Change conditional to
3682 [!__ASSUME_SENDMMSG_SOCKETCALL].
3683 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3684 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3685 Define.
3686
0e31b18c
JM
3687 [BZ #16610]
3688 * sysdeps/unix/sysv/linux/kernel-features.h
3689 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3690 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3691 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3692 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3693 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3694 [__i386__ || __sparc__]
3695 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3696 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3697 (__ASSUME_RECVMMSG): Define instead of using previous
3698 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3699 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3700 (__ASSUME_RECVMMSG_SYSCALL): Define.
3701 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3702 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3703 Likewise.
3704 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3705 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3706 Likewise.
3707 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3708 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3709 Likewise.
3710 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3711 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3712 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3713 [__ASSUME_RECVMMSG]: Change condition to
3714 [__ASSUME_RECVMMSG_SOCKETCALL].
3715 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3716 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3717 Define.
3718 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3719 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3720 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3721 Likewise.
3722 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3723 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3724 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3725 [!__ASSUME_RECVMMSG]: Change condition to
3726 [!__ASSUME_RECVMMSG_SOCKETCALL].
3727 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3728 (__ASSUME_RECVMMSG_SYSCALL): Define.
3729
dd481ccf
JM
3730 [BZ #16609]
3731 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3732 __powerpc__ || __s390__ || __sh__ || __sparc__]
3733 (__ASSUME_SOCKETCALL): Define.
3734 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3735 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3736 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3737 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3738 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3739 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3740 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3741 (__ASSUME_ACCEPT4): Define instead of using previous
3742 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3743 __powerpc__ || __sparc__ || __s390__)] condition.
3744 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3745 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3746 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3747 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3748 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3749 [!__ASSUME_ACCEPT4]: Change condition to
3750 [!__ASSUME_ACCEPT4_SOCKETCALL].
3751 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3752 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3753 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3754 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3755 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3756 __ASSUME_ACCEPT4_SYSCALL.
3757 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3758 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3759 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3760 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3761 __ASSUME_ACCEPT4_SYSCALL.
3762 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3763 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3764 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3765 [__ASSUME_ACCEPT4]: Change condition to
3766 [__ASSUME_ACCEPT4_SOCKETCALL].
3767 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3768 (__ASSUME_SOCKETCALL): Define.
3769 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3770 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3771 (__ASSUME_SOCKETCALL): Define.
3772 (__ASSUME_ACCEPT4): Remove.
3773 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3774 Define.
3775 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3776 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3777 Likewise.
3778 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3779 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3780
5d7b57ca
JM
3781 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3782 macro.
3783 (HWCAP_ARM_LPAE): Likewise.
3784 (HWCAP_ARM_EVTSTRM): Likewise.
3785 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3786 Add vpfd32, lpae and evtstrm.
3787 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3788 Increase to 22.
3789
63689d61
JM
37902014-02-19 Joseph Myers <joseph@codesourcery.com>
3791
3792 * math/auto-libm-test-in: Add tests of clog10.
3793 * math/auto-libm-test-out: Regenerated.
3794 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3795 * sysdeps/i386/fpu/libm-test-ulps: Update.
3796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3797
ab09bf61
AS
37982014-02-18 Andreas Schwab <schwab@suse.de>
3799
3800 [BZ #16574]
3801 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3802 Store non-zero if the second buffer was newly allocated.
3803 (send_dg): Likewise.
3804 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3805 to send_vc and send_dg.
3806 (res_nsend): Pass NULL for ansp2_malloced.
3807 * resolv/res_query.c (__libc_res_nquery): Add parameter
3808 answerp2_malloced and pass it down to __libc_res_nsend.
3809 (res_nquery): Pass additional NULL to __libc_res_nquery.
3810 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3811 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3812 second answer buffer if answerp2_malloced was set.
3813 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3814 (__libc_res_nquerydomain): Add parameter
3815 answerp2_malloced and pass it down to __libc_res_nquery.
3816 (res_nquerydomain): Pass additional NULL to
3817 __libc_res_nquerydomain.
3818 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3819 additional NULL to __libc_res_nsend and __libc_res_nquery.
3820 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3821 additional NULL to __libc_res_nsearch.
3822 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3823 parameter of __libc_res_nsearch to check for separately allocated
3824 second buffer.
3825 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3826 __libc_res_nquery.
3827 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3828 additional NULL to __libc_res_nquery.
3829 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3830 __libc_res_nsearch.
3831 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3832 * include/resolv.h: Update prototypes of __libc_res_nquery,
3833 __libc_res_nsearch, __libc_res_nsend.
3834
a4fb7861
JM
38352014-02-18 Joseph Myers <joseph@codesourcery.com>
3836
c6af2d89
JM
3837 * math/auto-libm-test-in: Add tests of fma.
3838 * math/auto-libm-test-out: Regenerated.
3839 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3840 (fma_towardzero_test_data): Likewise.
3841 (fma_downward_test_data): Likewise.
3842 (fma_upward_test_data): Likewise.
3843 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3844 mpc_mode.
3845 (rounding_modes): Add values for new field.
3846 (func_calc_method): Add value mpfr_fff_f.
3847 (func_calc_desc): Add mpfr_fff_f union field.
3848 (test_function): Add field exact_args.
3849 (FUNC): Add macro argument EXACT_ARGS.
3850 (FUNC_mpfr_f_f): Update call to FUNC.
3851 (FUNC_mpfr_f_f): Likewise.
3852 (FUNC_mpfr_ff_f): Likewise.
3853 (FUNC_mpfr_if_f): Likewise.
3854 (FUNC_mpc_c_f): Likewise.
3855 (FUNC_mpc_c_c): Likewise.
3856 (test_functions): Add fma. Update calls to FUNC.
3857 (handle_input_arg): Add argument exact_args.
3858 (add_test): Update call to handle_input_arg.
3859 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3860 (output_for_one_input_case): Update call to calc_generic_results.
3861 Recalculate exact zero results in each rounding mode.
3862
a4fb7861
JM
3863 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3864 non-negative before setting low bit.
3865 * math/auto-libm-test-in: Mark one asin test possibly having
3866 spurious underflow.
3867 * math/auto-libm-test-out: Regenerated.
3868 * sysdeps/i386/fpu/libm-test-ulps: Update.
3869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3870
ef114eaf
DH
38712014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3872
2b7f4f2c
SP
3873 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3874 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3875 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3876 * README: Add missing listing for microblaze*-*-linux-gnu.
3877
c70a4b1d
MF
38782014-02-16 Mike Frysinger <vapier@gentoo.org>
3879
3880 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3881 * sysdeps/unix/sysv/linux/ia64: Move directory from
3882 ports/sysdeps/unix/sysv/linux/ia64.
3883 * README: Update listing for ia64-*-linux-gnu.
3884
591aeaf7
TD
38852014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3886 Joseph Myers <joseph@codesourcery.com>
3887
3888 * Makeconfig (test-name): New variable.
3889 (evaluate-test): Likewise.
3890 * Makerules (do-test-clean): Remove .test-result files.
3891 (common-mostlyclean): Likewise.
3892 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3893 * scripts/evaluate-test.sh: New file.
3894
6e89caf1
JM
38952014-02-14 Joseph Myers <joseph@codesourcery.com>
3896
7f98f180
JM
3897 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3898 separate $(objpfx)tst-fopenloc-cmp.out and
3899 $(objpfx)tst-fopenloc-mem.out targets.
3900 (tests): Update dependencies.
3901 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3902 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3903 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3904 (tst-rxspencer-no-utf8-ARGS): New variable.
3905 (tst-rxspencer-no-utf8-ENV): Likewise.
3906 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3907 instead of $(objpfx)tst-rxspencer-mem.
3908 ($(objpfx)tst-rxspencer-mem): Change target to
3909 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3910 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3911 * posix/tst-rxspencer-no-utf8.c: New file.
3912
6e89caf1
JM
3913 * elf/Makefile ($(objpfx)order.out): Remove rule.
3914 [$(run-built-tests) = yes] (tests): Depend on
3915 $(objpfx)order-cmp.out.
3916 ($(objpfx)order-cmp.out): New rule.
3917 [$(run-built-tests) = yes] (tests): Depend on
3918 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3919 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3920 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3921 $(objpfx)tst-array5-static-cmp.out.
3922 ($(objpfx)tst-array1.out): Remove rule.
3923 ($(objpfx)tst-array1-cmp.out): New rule.
3924 ($(objpfx)tst-array1-static.out): Remove rule.
3925 ($(objpfx)tst-array1-static-cmp.out): New rule.
3926 ($(objpfx)tst-array2.out): Remove rule.
3927 ($(objpfx)tst-array2-cmp.out): New rule.
3928 ($(objpfx)tst-array3.out): Remove rule.
3929 ($(objpfx)tst-array3-cmp.out): New rule.
3930 ($(objpfx)tst-array4.out): Remove rule.
3931 ($(objpfx)tst-array4-cmp.out): New rule.
3932 ($(objpfx)tst-array5.out): Remove rule.
3933 ($(objpfx)tst-array5-cmp.out): New rule.
3934 ($(objpfx)tst-array5-static.out): Remove rule.
3935 ($(objpfx)tst-array5-static-cmp.out): New rule.
3936 [$(run-built-tests) = yes] (tests): Depend on
3937 $(objpfx)order2-cmp.out.
3938 ($(objpfx)order2.out): Remove rule.
3939 ($(objpfx)order2-cmp.out): New rule.
3940 ($(objpfx)tst-initorder.out): Remove rule.
3941 [$(run-built-tests) = yes] (tests): Depend on
3942 $(objpfx)tst-initorder-cmp.out.
3943 ($(objpfx)tst-initorder-cmp.out): New rule.
3944 ($(objpfx)tst-initorder2.out): Remove rule.
3945 [$(run-built-tests) = yes] (tests): Depend on
3946 $(objpfx)tst-initorder2-cmp.out.
3947 ($(objpfx)tst-initorder2-cmp.out): New rule.
3948 [$(run-built-tests) = yes] (tests): Depend on
3949 $(objpfx)tst-unused-dep-cmp.out.
3950 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3951 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3952 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3953 on $(objpfx)tst-setvbuf1-cmp.out.
3954 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3955 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3956 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3957 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3958 ($(objpfx)tst-svc.out): Remove rule.
3959 ($(objpfx)tst-svc-cmp.out): New rule.
3960
ed9a38e2
JM
39612014-02-13 Joseph Myers <joseph@codesourcery.com>
3962
3963 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3964 * ctype/ctype.h [__USE_MISC]: Likewise.
3965 * dirent/dirent.h [__USE_MISC]: Likewise.
3966 * grp/grp.h [__USE_MISC]: Likewise.
3967 * io/fcntl.h [__USE_MISC]: Likewise.
3968 * io/sys/stat.h [__USE_MISC]: Likewise.
3969 * libio/stdio.h [__USE_MISC]: Likewise.
3970 * posix/unistd.h [__USE_MISC]: Likewise.
3971 * pwd/pwd.h [__USE_MISC]: Likewise.
3972 * stdlib.h [__USE_MISC]: Likewise.
3973 * string/bits/string2.h [__USE_MISC]: Likewise.
3974 * string/string.h [__USE_MISC]: Likewise.
3975 * time/time.h [__USE_MISC]: Likewise.
3976
d6680619
AS
39772014-02-13 Andreas Schwab <schwab@suse.de>
3978
3979 [BZ #16574]
3980 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3981 second answer buffer if it was separately allocated.
3982
ace614b8
JM
39832014-02-12 Joseph Myers <joseph@codesourcery.com>
3984
743151ae
JM
3985 * sysdeps/mips/math-tests.h: Include <features.h>.
3986 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3987 (ROUNDING_TESTS_long_double): Do not define.
3988 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3989 (EXCEPTION_TESTS_long_double): Likewise.
3990 * sysdeps/mips/mips64/libm-test-ulps: Update.
3991
498afc54
JM
3992 * include/features.h (__USE_BSD): Remove macro definitions.
3993 (__USE_SVID): Likewise.
3994 (_BSD_SOURCE): Likewise.
3995 (_SVID_SOURCE): Likewise.
3996 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3997 from definition of _DEFAULT_SOURCE.
3998 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3999 [_DEFAULT_SOURCE].
4000 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4001 * bits/mman.h [__USE_BSD]: Likewise.
4002 * bits/termios.h [__USE_BSD]: Likewise.
4003 * bits/waitstatus.h [__USE_BSD]: Likewise.
4004 * ctype/ctype.h [__USE_SVID]: Likewise.
4005 * dirent/dirent.h [__USE_BSD]: Likewise.
4006 * grp/grp.h [__USE_SVID]: Likewise.
4007 [__USE_BSD]: Likewise.
4008 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4009 * io/fcntl.h [__USE_BSD]: Likewise.
4010 * io/ftw.h [__USE_BSD]: Likewise.
4011 * io/sys/stat.h [__USE_BSD]: Likewise.
4012 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4013 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4014 * libio/stdio.h [__USE_SVID]: Likewise.
4015 [__USE_BSD]: Likewise.
4016 * math/math.h [__USE_SVID]: Likewise.
4017 [__USE_BSD]: Likewise.
4018 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4019 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4020 * misc/search.h [__USE_SVID]: Likewise.
4021 * misc/sys/mman.h [__USE_BSD]: Likewise.
4022 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4023 * misc/sys/uio.h [__USE_BSD]: Likewise.
4024 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4025 * posix/glob.h [__USE_BSD]: Likewise.
4026 * posix/regex.h [__USE_BSD]: Likewise.
4027 * posix/sys/types.h [__USE_BSD]: Likewise.
4028 [__USE_SVID]: Likewise.
4029 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4030 * posix/sys/wait.h [__USE_BSD]: Likewise.
4031 [__USE_SVID]: Likewise.
4032 * posix/unistd.h [__USE_BSD]: Likewise.
4033 [__USE_SVID]: Likewise.
4034 * pwd/pwd.h [__USE_SVID]: Likewise.
4035 * resolv/netdb.h [__USE_BSD]: Likewise.
4036 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4037 * signal/signal.h [__USE_BSD]: Likewise.
4038 [__USE_SVID]: Likewise.
4039 * socket/sys/socket.h [__USE_BSD]: Likewise.
4040 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4041 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4042 [__USE_SVID]: Likewise.
4043 * string/bits/string2.h [__USE_BSD]: Likewise.
4044 [__USE_SVID]: Likewise.
4045 * string/bits/string3.h [__USE_BSD]: Likewise.
4046 * string/endian.h [__USE_BSD]: Likewise.
4047 * string/string.h [__USE_SVID]: Likewise.
4048 [__USE_BSD]: Likewise.
4049 * string/strings.h [__USE_BSD]: Likewise.
4050 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4051 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4052 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4053 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4054 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4055 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4056 Likewise.
4057 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4058 Likewise.
4059 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4060 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4061 Likewise.
4062 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4063 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4064 Likewise.
4065 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4066 Likewise.
4067 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4068 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4069 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4070 Likewise.
4071 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4072 Likewise.
4073 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4074 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4075 * termios/termios.h [__USE_BSD]: Likewise.
4076 * time/sys/time.h [__USE_BSD]: Likewise.
4077 * time/time.h [__USE_BSD]: Likewise.
4078 [__USE_SVID]: Likewise.
4079
dd7b064c
JM
4080 * Makefile (subdir_targets): Remove subdir_lint.out.
4081
a2c4c199
JM
4082 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4083 (do-tst-printf): Likewise.
4084 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4085 $(objpfx)tst-printf.out.
4086
8756f740
JM
4087 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4088
1b6dd3f1
JM
4089 * Makerules (check-abi-%): Change target to
4090 $(objpfx)check-abi-%.out.
4091 (check-abi target): Update dependencies.
4092 (check-abi-pattern variable): Redirect output of diff to $@.
4093 (check-abi variable): Likewise.
4094 * elf/Makefile (check-abi): Update dependencies.
4095
ace614b8
JM
4096 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4097 unused.
4098 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4099 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4100 subnormal range.
4101 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4102 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4103 value has largest subnormal exponent.
4104 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4105 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4106 * sysdeps/aarch64/soft-fp/sfp-machine.h
4107 (_FP_TININESS_AFTER_ROUNDING): New macro.
4108 * sysdeps/alpha/soft-fp/sfp-machine.h
4109 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4110 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4111 Likewise.
4112 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4113 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4114 * sysdeps/mips/soft-fp/sfp-machine.h
4115 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4116 * sysdeps/powerpc/soft-fp/sfp-machine.h
4117 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4118 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4119 Likewise.
4120 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4121 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4122 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4123 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4124 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4125 Likewise.
4126
fbfdf9cb
DAS
41272014-02-12 Dylan Alex Simon <dylan@dylex.net>
4128
4129 [BZ #16545]
4130 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4131 model 1.
4132
68b7efaa
RH
41332014-02-12 Richard Henderson <rth@redhat.com>
4134
c70a4b1d 4135 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4136 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4137 * sysdeps/unix/sysv/linux/alpha: Move directory from
4138 ports/sysdeps/unix/sysv/linux/alpha.
4139 * README: Update listing for alpha-*-linux-gnu.
4140
cb4a2928
JM
41412014-02-11 Joseph Myers <joseph@codesourcery.com>
4142
c941736c
JM
4143 * include/features.h: Update comment documenting feature test
4144 macros.
4145 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4146 _DEFAULT_SOURCE.
4147 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4148 (_SVID_SOURCE): Likewise.
4149 (_DEFAULT_SOURCE): Update description of default features.
4150 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4151 with _GNU_SOURCE.
4152 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4153 (S_ISVTX): Likewise.
4154 * manual/math.texi (Mathematical Constants): Likewise.
4155 * manual/signal.texi (Interrupted Primitives): Likewise.
4156 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4157 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4158 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4159 Don't refer to _SVID_SOURCE in warning text.
4160
e8d8d7ec
JM
4161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4162
cb4a2928
JM
4163 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4164 already defined.
4165 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4166 * sysdeps/mips/dl-lookup.c: Remove.
4167 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4168
7e6424e3
AK
41692014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4170
4171 [BZ #16447]
4172 * math/auto-libm-test-in: Add testcase for expl.
4173 * math/auto-libm-test-out: Regenerate.
4174 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4175 calculation of unsafe.
4176 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4177
75eff3fe
MS
41782014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4179
4180 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4181 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4182 ports/sysdeps/unix/sysv/linux/aarch64.
4183 * README: Update listing for aarch64*-*-linux-gnu.
4184
d35f1e80
WN
41852014-02-11 Will Newton <will.newton@linaro.org>
4186
4187 * manual/probes.texi (Mathematical Function Probes): Use
4188 "triggered" instead of "hit".
4189
7b3436d4
WN
4190 * manual/probes.texi (Internal Probes): Add documentation
4191 of setjmp, longjmp and longjmp_target probes.
4192
b4f12ca3
WN
4193 * include/stap-probe.h: Add comment about probe argument
4194 format.
4195
c13a72b7
WN
4196 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4197 definition. (tr_where, tr_freehook, tr_mallochook,
4198 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4199
195b8165
DM
42002014-02-11 David S. Miller <davem@davemloft.net>
4201
4202 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4203 processing int_tests.
4204
2ad7600b
JM
42052014-02-10 Joseph Myers <joseph@codesourcery.com>
4206
4207 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4208 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4209 * sysdeps/unix/sysv/linux/mips: Move directory from
4210 ports/sysdeps/unix/sysv/linux/mips.
4211 * README: Update listing for mips-*-linux-gnu and
4212 mips64-*-linux-gnu.
4213
73588a72
AS
42142014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4215
4216 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4217 * sysdeps/unix/sysv/linux/m68k: Move directory from
4218 ports/sysdeps/unix/sysv/linux/m68k.
4219 * README: Update listing for m68k-*-linux-gnu.
4220
4372980f
CM
42212014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4222
4223 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4224 * sysdeps/unix/sysv/linux/generic: Move directory from
4225 ports/sysdeps/unix/sysv/linux/generic.
4226 * sysdeps/unix/sysv/linux/tile: Move directory from
4227 ports/sysdeps/unix/sysv/linux/tile.
4228 * README: Update listing for tile*-*-linux-gnu.
4229
a1ffb40e
OB
42302014-02-10 Ondřej Bílka <neleai@seznam.cz>
4231
57f41c40
AS
4232 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4233 __builtin_expect.
a1ffb40e
OB
4234 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4235 * catgets/open_catalog.c (__open_catalog): Likewise.
4236 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4237 * debug/confstr_chk.c: Likewise.
4238 * debug/fread_chk.c (__fread_chk): Likewise.
4239 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4240 * debug/getgroups_chk.c: Likewise.
4241 * debug/mbsnrtowcs_chk.c: Likewise.
4242 * debug/mbsrtowcs_chk.c: Likewise.
4243 * debug/mbstowcs_chk.c: Likewise.
4244 * debug/memcpy_chk.c: Likewise.
4245 * debug/memmove_chk.c: Likewise.
4246 * debug/mempcpy_chk.c: Likewise.
4247 * debug/memset_chk.c: Likewise.
4248 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4249 * debug/strcat_chk.c (__strcat_chk): Likewise.
4250 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4251 * debug/strncat_chk.c (__strncat_chk): Likewise.
4252 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4253 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4254 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4255 * debug/wcpncpy_chk.c: Likewise.
4256 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4257 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4258 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4259 * debug/wcsncpy_chk.c: Likewise.
4260 * debug/wcsnrtombs_chk.c: Likewise.
4261 * debug/wcsrtombs_chk.c: Likewise.
4262 * debug/wcstombs_chk.c: Likewise.
4263 * debug/wmemcpy_chk.c: Likewise.
4264 * debug/wmemmove_chk.c: Likewise.
4265 * debug/wmempcpy_chk.c: Likewise.
4266 * debug/wmemset_chk.c: Likewise.
4267 * dirent/scandirat.c (SCANDIRAT): Likewise.
4268 * dlfcn/dladdr1.c (dladdr1): Likewise.
4269 * dlfcn/dladdr.c (dladdr): Likewise.
4270 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4271 * dlfcn/dlerror.c (__dlerror): Likewise.
4272 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4273 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4274 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4275 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4276 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4277 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4278 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4279 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4280 Likewise.
4281 * elf/dl-conflict.c: Likewise.
4282 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4283 * elf/dl-dst.h: Likewise.
4284 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4285 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4286 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4287 * elf/dl-init.c (call_init, _dl_init): Likewise.
4288 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4289 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4290 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4291 Likewise.
a1ffb40e
OB
4292 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4293 Likewise.
4294 * elf/dl-minimal.c (__libc_memalign): Likewise.
4295 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4296 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4297 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4298 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4299 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4300 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4301 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4302 * elf/dl-writev.h (_dl_writev): Likewise.
4303 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4304 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4305 (dl_main): Likewise.
a1ffb40e
OB
4306 * elf/setup-vdso.h (setup_vdso): Likewise.
4307 * grp/compat-initgroups.c (compat_call): Likewise.
4308 * grp/fgetgrent.c (fgetgrent): Likewise.
4309 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4310 * grp/putgrent.c (putgrent): Likewise.
4311 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4312 Likewise.
4313 * hurd/hurdinit.c: Likewise.
4314 * iconvdata/8bit-gap.c (struct): Likewise.
4315 * iconvdata/ansi_x3.110.c : Likewise.
4316 * iconvdata/big5.c : Likewise.
4317 * iconvdata/big5hkscs.c : Likewise.
4318 * iconvdata/cp1255.c: Likewise.
4319 * iconvdata/cp1258.c : Likewise.
4320 * iconvdata/cp932.c : Likewise.
4321 * iconvdata/euc-cn.c: Likewise.
4322 * iconvdata/euc-jisx0213.c : Likewise.
4323 * iconvdata/euc-jp.c: Likewise.
4324 * iconvdata/euc-jp-ms.c : Likewise.
4325 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4326 * iconvdata/gb18030.c : Likewise.
4327 * iconvdata/gbbig5.c (const): Likewise.
4328 * iconvdata/gbgbk.c: Likewise.
4329 * iconvdata/gbk.c : Likewise.
4330 * iconvdata/ibm1364.c : Likewise.
4331 * iconvdata/ibm930.c : Likewise.
4332 * iconvdata/ibm932.c: Likewise.
4333 * iconvdata/ibm933.c : Likewise.
4334 * iconvdata/ibm935.c : Likewise.
4335 * iconvdata/ibm937.c : Likewise.
4336 * iconvdata/ibm939.c : Likewise.
4337 * iconvdata/ibm943.c: Likewise.
4338 * iconvdata/iso_11548-1.c: Likewise.
4339 * iconvdata/iso-2022-cn.c : Likewise.
4340 * iconvdata/iso-2022-cn-ext.c : Likewise.
4341 * iconvdata/iso-2022-jp-3.c: Likewise.
4342 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4343 * iconvdata/iso-2022-kr.c : Likewise.
4344 * iconvdata/iso646.c (gconv_end): Likewise.
4345 * iconvdata/iso_6937-2.c : Likewise.
4346 * iconvdata/iso_6937.c : Likewise.
4347 * iconvdata/iso8859-1.c: Likewise.
4348 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4349 * iconvdata/shift_jisx0213.c : Likewise.
4350 * iconvdata/sjis.c : Likewise.
4351 * iconvdata/t.61.c : Likewise.
4352 * iconvdata/tcvn5712-1.c : Likewise.
4353 * iconvdata/tscii.c: Likewise.
4354 * iconvdata/uhc.c : Likewise.
4355 * iconvdata/unicode.c (gconv_end): Likewise.
4356 * iconvdata/utf-16.c (gconv_end): Likewise.
4357 * iconvdata/utf-32.c (gconv_end): Likewise.
4358 * iconvdata/utf-7.c (base64): Likewise.
4359 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4360 * iconv/gconv_close.c (__gconv_close): Likewise.
4361 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4362 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4363 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4364 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4365 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4366 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4367 * iconv/iconv.c (iconv): Likewise.
4368 * iconv/iconv_close.c: Likewise.
4369 * iconv/loop.c (SINGLE): Likewise.
4370 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4371 * include/atomic.h: Likewise.
4372 * inet/inet6_option.c (option_alloc): Likewise.
4373 * intl/bindtextdom.c (set_binding_values): Likewise.
4374 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4375 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4376 * intl/localealias.c (read_alias_file): Likewise.
4377 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4378 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4379 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4380 * libio/fmemopen.c (fmemopen): Likewise.
4381 * libio/iofgets.c (_IO_fgets): Likewise.
4382 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4383 * libio/iofgetws.c (fgetws): Likewise.
4384 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4385 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
4386 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4387 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
4388 * locale/findlocale.c (_nl_find_locale): Likewise.
4389 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4390 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4391 Likewise.
4392 * locale/setlocale.c (setlocale): Likewise.
4393 * login/programs/pt_chown.c (main): Likewise.
4394 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4395 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
4396 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4397 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
4398 * math/e_exp2l.c: Likewise.
4399 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4400 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4401 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4402 * math/s_catan.c (__catan): Likewise.
4403 * math/s_catanf.c (__catanf): Likewise.
4404 * math/s_catanh.c (__catanh): Likewise.
4405 * math/s_catanhf.c (__catanhf): Likewise.
4406 * math/s_catanhl.c (__catanhl): Likewise.
4407 * math/s_catanl.c (__catanl): Likewise.
4408 * math/s_ccosh.c (__ccosh): Likewise.
4409 * math/s_ccoshf.c (__ccoshf): Likewise.
4410 * math/s_ccoshl.c (__ccoshl): Likewise.
4411 * math/s_cexp.c (__cexp): Likewise.
4412 * math/s_cexpf.c (__cexpf): Likewise.
4413 * math/s_cexpl.c (__cexpl): Likewise.
4414 * math/s_clog10.c (__clog10): Likewise.
4415 * math/s_clog10f.c (__clog10f): Likewise.
4416 * math/s_clog10l.c (__clog10l): Likewise.
4417 * math/s_clog.c (__clog): Likewise.
4418 * math/s_clogf.c (__clogf): Likewise.
4419 * math/s_clogl.c (__clogl): Likewise.
4420 * math/s_csin.c (__csin): Likewise.
4421 * math/s_csinf.c (__csinf): Likewise.
4422 * math/s_csinh.c (__csinh): Likewise.
4423 * math/s_csinhf.c (__csinhf): Likewise.
4424 * math/s_csinhl.c (__csinhl): Likewise.
4425 * math/s_csinl.c (__csinl): Likewise.
4426 * math/s_csqrt.c (__csqrt): Likewise.
4427 * math/s_csqrtf.c (__csqrtf): Likewise.
4428 * math/s_csqrtl.c (__csqrtl): Likewise.
4429 * math/s_ctan.c (__ctan): Likewise.
4430 * math/s_ctanf.c (__ctanf): Likewise.
4431 * math/s_ctanh.c (__ctanh): Likewise.
4432 * math/s_ctanhf.c (__ctanhf): Likewise.
4433 * math/s_ctanhl.c (__ctanhl): Likewise.
4434 * math/s_ctanl.c (__ctanl): Likewise.
4435 * math/w_pow.c: Likewise.
4436 * math/w_powf.c: Likewise.
4437 * math/w_powl.c: Likewise.
4438 * math/w_scalb.c (sysv_scalb): Likewise.
4439 * math/w_scalbf.c (sysv_scalbf): Likewise.
4440 * math/w_scalbl.c (sysv_scalbl): Likewise.
4441 * misc/error.c (error_tail): Likewise.
4442 * misc/pselect.c (__pselect): Likewise.
4443 * nis/nis_callback.c (__nis_create_callback): Likewise.
4444 * nis/nis_call.c (__nisfind_server): Likewise.
4445 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4446 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4447 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4448 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4449 * nis/nis_lookup.c (nis_lookup): Likewise.
4450 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
4451 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4452 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 4453 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
4454 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4455 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4456 * nis/nss_compat/compat-initgroups.c (add_group)
4457 (internal_getgrent_r): Likewise.
4458 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4459 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4460 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4461 (internal_getspnam_r): Likewise.
4462 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4463 (_nss_nis_getaliasbyname_r): Likewise.
4464 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4465 (_nss_nis_getntohost_r): Likewise.
4466 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4467 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4468 (_nss_nis_getgrgid_r): Likewise.
4469 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4470 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4471 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4472 (_nss_nis_gethostbyname4_r): Likewise.
4473 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4474 (initgroups_netid): Likewise.
a1ffb40e 4475 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
4476 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4477 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4478 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4479 (_nss_nis_getprotobynumber_r): Likewise.
4480 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4481 (_nss_nis_getsecretkey): Likewise.
4482 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4483 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4484 (_nss_nis_getpwuid_r): Likewise.
4485 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4486 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4487 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4488 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4489 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4490 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
4491 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4492 Likewise.
57f41c40
AS
4493 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4494 (_nss_nisplus_getntohost_r): Likewise.
4495 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4496 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4497 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4498 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 4499 Likewise.
57f41c40
AS
4500 * nis/nss_nisplus/nisplus-initgroups.c
4501 (_nss_nisplus_initgroups_dyn): Likewise.
4502 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4503 (_nss_nisplus_getnetbyaddr_r): Likewise.
4504 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4505 (_nss_nisplus_getprotobynumber_r): Likewise.
4506 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4507 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
4508 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4509 Likewise.
57f41c40
AS
4510 * nis/nss_nisplus/nisplus-service.c
4511 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4512 (_nss_nisplus_getservbyport_r): Likewise.
4513 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4514 (_nss_nisplus_getspnam_r): Likewise.
4515 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4516 Likewise.
a1ffb40e
OB
4517 * nscd/aicache.c (addhstaiX): Likewise.
4518 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
4519 * nscd/connections.c (register_traced_file, send_ro_fd)
4520 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4521 (main_loop_epoll): Likewise.
a1ffb40e
OB
4522 * nscd/grpcache.c (addgrbyX): Likewise.
4523 * nscd/hstcache.c (addhstbyX): Likewise.
4524 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4525 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
4526 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4527 (addinnetgrX): Likewise.
4528 * nscd/nscd-client.h (__nscd_acquire_maplock)
4529 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
4530 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4531 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4532 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4533 Likewise.
4534 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4535 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
4536 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4537 (__nscd_get_map_ref): Likewise.
a1ffb40e 4538 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
4539 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4540 Likewise.
a1ffb40e
OB
4541 * nscd/pwdcache.c (addpwbyX): Likewise.
4542 * nscd/selinux.c (preserve_capabilities): Likewise.
4543 * nscd/servicescache.c (addservbyX): Likewise.
4544 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4545 * posix/fnmatch.c (fnmatch): Likewise.
4546 * posix/getopt.c (_getopt_internal_r): Likewise.
4547 * posix/glob.c (glob, glob_in_dir): Likewise.
4548 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
4549 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4550 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
4551 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4552 * resolv/res_init.c: Likewise.
4553 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4554 * resolv/res_query.c (__libc_res_nquery): Likewise.
4555 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4556 Likewise.
4557 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4558 * stdio-common/perror.c (perror): Likewise.
4559 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4560 * stdio-common/tmpnam.c (tmpnam): Likewise.
4561 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4562 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
4563 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4564 Likewise.
a1ffb40e
OB
4565 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4566 * stdlib/putenv.c (putenv): Likewise.
4567 * stdlib/setenv.c (__add_to_environ): Likewise.
4568 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4569 * stdlib/strtol_l.c (INTERNAL): Likewise.
4570 * string/memmem.c (memmem): Likewise.
4571 * string/strerror.c (strerror): Likewise.
4572 * string/strnlen.c (__strnlen): Likewise.
4573 * string/test-memmem.c (simple_memmem): Likewise.
4574 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4575 * sunrpc/pm_getport.c (__get_socket): Likewise.
4576 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4577 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
4578 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4579 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
4580 Likewise.
4581 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4582 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4583 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4584 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4585 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
4586 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4587 Likewise.
4588 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4589 Likewise.
a1ffb40e
OB
4590 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4591 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4592 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4593 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4594 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4595 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4596 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4597 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4598 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4599 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4600 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4601 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4602 Likewise.
4603 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4604 Likewise.
4605 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4606 Likewise.
4607 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4608 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4609 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4610 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4611 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4612 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4613 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4614 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4615 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4616 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4617 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4618 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4619 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4620 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4621 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
4622 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4623 Likewise.
a1ffb40e
OB
4624 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4625 Likewise.
4626 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4627 Likewise.
4628 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4629 Likewise.
4630 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4631 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4632 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4633 Likewise.
4634 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4635 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4636 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4637 * sysdeps/posix/sleep.c: Likewise.
4638 * sysdeps/posix/tempname.c: Likewise.
4639 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4640 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4641 Likewise.
57f41c40
AS
4642 * sysdeps/powerpc/powerpc32/dl-machine.h
4643 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
4644 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4645 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4646 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4647 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4648 Likewise.
4649 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4650 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4651 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4652 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4653 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4654 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4655 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4656 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4657 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4658 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4659 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4660 (elf_machine_lazy_rel): Likewise.
a1ffb40e 4661 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4662 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4663 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4664 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4665 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4666 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4667 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4668 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4669 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4670 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4671 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4672 Likewise.
4673 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4674 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4675 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4676 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4677 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4678 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4679 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4680 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4681 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4682 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4683 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4684 Likewise.
4685 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4686 (__posix_fallocate64_l64): Likewise.
4687 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4688 (posix_fallocate): Likewise.
57f41c40
AS
4689 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4690 Likewise.
a1ffb40e 4691 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
4692 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4693 (getifaddrs_internal): Likewise.
a1ffb40e
OB
4694 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4695 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4696 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4697 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4698 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4699 (__posix_fallocate64_l64): Likewise.
4700 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4701 Likewise.
4702 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
4703 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4704 (__get_clockfreq): Likewise.
a1ffb40e
OB
4705 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4706 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4707 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4708 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4709 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4710 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4711 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4712 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4713 Likewise.
4714 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4715 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4716 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4717 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4718 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4719 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4720 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4721 Likewise.
4722 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4723 (posix_fallocate): Likewise.
4724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4725 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4726 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4727 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4728 (elf_machine_rela, elf_machine_rela_relative)
4729 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4730 * time/asctime.c (asctime_internal): Likewise.
4731 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4732 * time/tzset.c (__tzset_parse_tz): Likewise.
4733 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4734 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4735 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4736 * wcsmbs/wcsmbsload.h: Likewise.
4737
f3d338c9
OB
4738 [BZ #15894]
4739 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4740
57f41c40
AS
4741 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4742 (arena_get2): Remove THREAD_STATS conditionals.
4743 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4744 (__malloc_stats, int): Likewise.
bdfe308a 4745
d674667c
MF
47462014-02-08 Mike Frysinger <vapier@gentoo.org>
4747
4748 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4749 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4750
6349768c
MF
4751 * manual/setjmp.texi: Fix typos/grammar errors.
4752
0b7c7473
MF
4753 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4754 Only return early when n is <= 0. Delete unused return statement.
4755
ac8cc9e3
MF
4756 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4757 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4758 * debug/tst-longjmp_chk3.c: New file.
4759
c5bb8e23
MF
4760 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4761 (test_main): Replace code with set_fortify_handler call.
4762 * debug/test-strcpy_chk.c: Likewise.
4763 * debug/tst-chk1.c: Likewise.
4764 * debug/tst-longjmp_chk.c: Likewise.
4765 * test-skeleton.c: Include fcntl.h & paths.h
4766 (set_fortify_handler): Define.
4767
10444e42
MF
4768 * debug/tst-longjmp_chk.c: Add header comment and include
4769 ../test-skeleton.c.
4770 (do_test): Mark static.
4771 (TEST_FUNCTION): Define.
4772
1e805e8d
MF
4773 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4774 (IP_PMTUDISC_INTERFACE): Likewise.
4775 (IP_MULTICAST_IF): Likewise.
4776 (IP_MULTICAST_TTL): Likewise.
4777 (IP_MULTICAST_LOOP): Likewise.
4778 (IP_ADD_MEMBERSHIP): Likewise.
4779 (IP_DROP_MEMBERSHIP): Likewise.
4780 (IP_UNBLOCK_SOURCE): Likewise.
4781 (IP_BLOCK_SOURCE): Likewise.
4782 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4783 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4784 (IP_MSFILTER): Likewise.
4785 (MCAST_JOIN_GROUP): Likewise.
4786 (MCAST_BLOCK_SOURCE): Likewise.
4787 (MCAST_UNBLOCK_SOURCE): Likewise.
4788 (MCAST_LEAVE_GROUP): Likewise.
4789 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4790 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4791 (MCAST_MSFILTER): Likewise.
4792 (IP_MULTICAST_ALL): Likewise.
4793 (IP_UNICAST_IF): Likewise.
4794
73f79bb7
MF
4795 * timezone/Makefile: Delete $(have-ksh) check.
4796 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4797 * timezone/tzselect.ksh: Add +x mode bits.
4798
8da79b60
MF
4799 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4800 (ANON_INODE_FS_MAGIC): Likewise.
4801 (BDEVFS_MAGIC): Likewise.
4802 (BINFMTFS_MAGIC): Likewise.
4803 (BTRFS_TEST_MAGIC): Likewise.
4804 (CRAMFS_MAGIC_WEND): Likewise.
4805 (DEBUGFS_MAGIC): Likewise.
4806 (ECRYPTFS_SUPER_MAGIC): Likewise.
4807 (EXT3_SUPER_MAGIC): Likewise.
4808 (EXT4_SUPER_MAGIC): Likewise.
4809 (FUTEXFS_SUPER_MAGIC): Likewise.
4810 (HOSTFS_SUPER_MAGIC): Likewise.
4811 (HUGETLBFS_MAGIC): Likewise.
4812 (MINIX3_SUPER_MAGIC): Likewise.
4813 (MTD_INODE_FS_MAGIC): Likewise.
4814 (NILFS_SUPER_MAGIC): Likewise.
4815 (OPENPROM_SUPER_MAGIC): Likewise.
4816 (PIPEFS_MAGIC): Likewise.
4817 (PSTOREFS_MAGIC): Likewise.
4818 (QNX6_SUPER_MAGIC): Likewise.
4819 (RAMFS_MAGIC): Likewise.
4820 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4821 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4822 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4823 (SECURITYFS_MAGIC): Likewise.
4824 (SELINUX_MAGIC): Likewise.
4825 (SMACK_MAGIC): Likewise.
4826 (SOCKFS_MAGIC): Likewise.
4827 (SQUASHFS_MAGIC): Likewise.
4828 (STACK_END_MAGIC): Likewise.
4829 (TMPFS_MAGIC): Likewise.
4830 (USBDEVICE_SUPER_MAGIC): Likewise.
4831 (V9FS_MAGIC): Likewise.
4832 (XENFS_SUPER_MAGIC): Likewise.
4833 (CRAMFS_MAGIC): Fix typo in comment.
4834 (EXT2_SUPER_MAGIC): Update comment.
4835 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4836
464263cc
JM
48372014-02-08 Joseph Myers <joseph@codesourcery.com>
4838
c6bfe5c4
JM
4839 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4840 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4841 * sysdeps/unix/sysv/linux/arm: Move directory from
4842 ports/sysdeps/unix/sysv/linux/arm.
4843 * README: Update listing for arm-*-linux-gnueabi.
4844
464263cc
JM
4845 * README: Remove mention of am33.
4846
32749f6c
RM
48472014-02-07 Roland McGrath <roland@hack.frob.com>
4848
4849 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4850 than the comma operator, to avoid "rhs of comma has no effect"
4851 compiler warnings.
4852 (__sigfillset, __sigandset, __sigorset): Likewise.
4853 * include/signal.h (__sigemptyset): Likewise.
4854 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4855
d5b396c1
AM
48562014-02-07 Allan McRae <allan@archlinux.org>
4857
4858 * version.h (RELEASE): Set to "development".
4859 (VERSION): Set to "2.19.90"
4860 * NEWS: Add 2.20 section.
4861
3bfff2ed
CD
48622014-02-06 Carlos O'Donell <carlos@redhat.com>
4863
4864 [BZ #16529]
4865 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4866
ee7cc385
SP
48672014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4868
4869 * manual/contrib.texi: Update entry for Carlos O'Donell,
4870 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4871
f877c4f2
CD
48722014-02-05 Carlos O'Donell <carlos@rehdat.com>
4873
27e839f6
CD
4874 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4875
f877c4f2
CD
4876 * sysdeps/unix/sysv/linux/kernel-features.h
4877 [__LINUX_KERNEL_VERSION >= 0x020621]
4878 (__ASSUME_PROC_PID_TASK_COMM): Define.
4879
68159946
SP
48802014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4881
ba17cdbd
SP
4882 [BZ #16398]
4883 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4884 conversion when destination buffer does not have enough space.
4885 * libio/tst-ftell-partial-wide.c: New test case.
4886 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4887
68159946
SP
4888 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4889 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4890 Leonard and Allan McRae.
4891
2b528732
DM
48922014-02-04 David S. Miller <davem@davemloft.net>
4893
4894 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4895 32-bit.
4896
0ff82463
AZ
48972014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4898
57f41c40
AS
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4900 New file
c01603f7
AZ
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4902 New file
57f41c40
AS
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4904 New file.
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4906 New file.
c01603f7
AZ
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4908 New file.
57f41c40
AS
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4910 New file.
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4912 New file.
c01603f7
AZ
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4914 New file.
4915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4916 New file.
4917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4918 New file.
4919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4920 New file.
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4922 New file.
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4924 New file.
4925
49262014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4927
0ff82463
AZ
4928 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4929 * shlib-versions: Likewise.
4930
1695c773
AZ
49312014-02-04 Roland McGrath <roland@hack.frob.com>
4932 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4933
4934 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4935 (abilist-pattern): New variable, set to %-le.abilist.
4936
4937 * Makerules (abilist-pattern): New variable.
4938 (vpath): Use $(abilist-pattern) in place of %.abilist.
4939 (check-abi-% pattern rule): Likewise.
4940 (check-abi, update-abi): Likewise.
4941
6c0ce4b4
EW
49422014-02-04 Eric Wong <normalperson@yhbt.net>
4943
4944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4945
481e3524
CD
49462014-02-03 Carlos O'Donell <carlos@redhat.com>
4947
4948 * manual/startup.texi: Add next, previous, and top entries for
4949 the `Program Arguments' and `Environment Variables' nodes.
4950
375592d3
AO
49512014-02-03 Alexandre Oliva <aoliva@redhat.com>
4952
4953 * manual/macros.texi: Add comments before MTASC-safety macros.
4954
f54838ba
AO
4955 * manual/users.texi: Document MTASC-safety properties.
4956
57f41c40
AS
4957 * manual/threads.texi (pthread_key_create, pthread_key_delete)
4958 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
4959 @deftypefun, and add @safety note.
4960 * manual/signal.texi: Move comments that analyze the above
4961 functions to their home place.
4962
fd3daba4
AM
49632014-02-03 Allan McRae <allan@archlinux.org>
4964
4965 * po/sl.po: Update Slovenian translation from translation project.
4966
597636d7
AO
49672014-02-02 Alexandre Oliva <aoliva@redhat.com>
4968
4969 * manual/time.texi (timegm): Add missing blank after @c.
4970 Reported by Joseph Myers <joseph@codesourcery.com>.
4971
ee196e3c
AO
49722014-02-01 Alexandre Oliva <aoliva@redhat.com>
4973
4974 * manual/check-safety.sh: New.
4975 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4976
f8d529d5
AO
4977 * manual/terminal.texi: Document MTASC-safety properties.
4978
de55fdf4
AO
4979 * manual/filesys.texi: Document MTASC-safety properties.
4980
c3299c08
AO
4981 * manual/errno.texi: Document MTASC-safety properties.
4982
06e90b14
AO
4983 * manual/intro.texi: Document safety identifiers and
4984 conditionals.
4985
1acd4371
AO
4986 * manual/string.texi (wcstok): Fix prototype.
4987 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4988
23e5b8cb
AO
4989 * manual/time.texi: Document MTASC-safety properties.
4990
11087373
AO
4991 * manual/string.texi: Document MTASC-safety properties.
4992
5da2c93d
AO
4993 * manual/threads.texi: Document MTASC-safety properties.
4994
171e9210
AO
4995 * manual/stdio.texi: Document MTASC-safety properties.
4996
d9e02532
AO
4997 * manual/syslog.texi: Document MTASC-safety properties.
4998
6af8bab7
AO
4999 * manual/sysinfo.texi: Document MTASC-safety properties.
5000
663b02d7
AO
5001 * manual/startup.texi: Document MTASC-safety properties.
5002
973f180b
AO
5003 * manual/socket.texi: Document MTASC-safety properties.
5004
8f3c25c8
AO
5005 * manual/signal.texi: Document MTASC-safety properties.
5006
542210fb
AO
50072014-01-31 Alexandre Oliva <aoliva@redhat.com>
5008
5009 * manual/setjmp.texi: Document MTASC-safety properties.
5010
433c45a2
AO
5011 * manual/search.texi: Document MTASC-safety properties.
5012
c8ce789c
AO
5013 * manual/resource.texi: Document MTASC-safety properties.
5014
19f5d29c
AO
5015 * manual/process.texi: Document MTASC-safety properties.
5016
e2dfb7f4
AO
5017 * manual/platform.texi: Document MTASC-safety properties.
5018
8c1413f5
AO
5019 * manual/pipe.texi: Document MTASC-safety properties.
5020
03483ada
AO
5021 * manual/pattern.texi: Document MTASC-safety properties.
5022
29e7e2df
AO
5023 * manual/message.texi: Document MTASC-safety properties.
5024
9f529d7c
AO
5025 [BZ #12751]
5026 * manual/memory.texi: Document MTASC-safety properties.
5027
27aaa791
AO
5028 * manual/math.texi: Document MTASC-safety properties.
5029
f2d58726
AO
5030 * manual/locale.texi: Document MTASC-safety properties.
5031
2cc3615c
AO
5032 * manual/llio.texi: Document MTASC-safety properties.
5033
d9f0ec97
AO
5034 * manual/libdl.texi: New.
5035
e7c4409a
AO
5036 * manual/lang.texi: Document MTASC-safety properties.
5037
27bdc63c
AO
5038 * manual/job.texi: Document MTASC-safety properties.
5039
a7b90ea9
AO
5040 * manual/getopt.texi: Document MTASC-safety properties.
5041
c49130e3
AO
5042 * manual/ctype.texi: Document MTASC-safety properties.
5043
0d23a5c1
MR
50442014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5045
5046 [BZ #16046]
5047 * csu/libc-tls.c (static_map): Remove variable.
5048 (__libc_setup_tls): Use main executable's link map for TLS data.
5049 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5050 casing for LM_ID_BASE and GL(dl_nns).
5051 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5052 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5053 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5054 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5055 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5056 member.
5057 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5058 l_phnum members.
5059
0037bb60
AO
50602014-01-30 Alexandre Oliva <aoliva@redhat.com>
5061
5062 * manual/debug.texi: Document MTASC-safety properties.
5063
409e00bd
L
50642014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5065
5066 [BZ #16510]
5067 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5068 of __x86_64__ when disabling x87 inline functions.
5069
86e60666
AO
50702014-01-29 Alexandre Oliva <aoliva@redhat.com>
5071
5072 * manual/charset.texi: Document MTASC-safety properties.
5073
76167637
AO
5074 * manual/crypt.texi: Document MTASC-safety properties.
5075
e567f2a0
AO
5076 * manual/conf.texi: Document MTASC-safety properties.
5077
b719dafd
AO
5078 * manual/arith.texi: Document MTASC-safety properties.
5079
4a16c662
AO
5080 * manual/argp.texi: Document MTASC-safety properties.
5081
0a57b83e
AO
5082 * manual/macros.texi: Introduce macros to document multi
5083 thread, asynchronous signal and asynchronous cancellation
5084 safety properties.
5085 * manual/intro.texi: Introduce the properties themselves.
5086
feab2397
KK
50872014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5088
5089 * sysdeps/sh/sh4/Makefile: New file.
5090
1c0d11bc
AS
50912014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5092
5093 * math/gen-libm-test.pl ($srcdir): New variable.
5094 ($auto_input): Use it.
5095
af37a8a3
SP
50962014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5097
d7b00f98
SP
5098 [BZ #16506]
5099 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5100 access beyond array bounds when parsing netgroups file.
5101
af37a8a3
SP
5102 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5103 the old buffer before realloc.
5104
0c00f062
AM
51052014-01-27 Allan McRae <allan@archlinux.org>
5106
5107 * po/fr.po: Update French translation from translation project.
5108
7d69a1b0
KK
51092014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5110
5111 * sysdeps/sh/libm-test-ulps: Regenerate.
5112
6e697ff7
DM
51132014-01-24 David S. Miller <davem@davemloft.net>
5114
5115 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5116
9cadb35c
KK
51172014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5118
5119 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5120 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5121
5d41dadf
SP
51222013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5123
5124 [BZ #16474]
5125 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5126 string pointers after reallocation.
5127
0bad441c
KK
51282014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5129
5130 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5131 __SH4A__ instead of __SH_FPU_ANY__.
5132
7007c661
KK
51332014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5134
5135 * sysdeps/sh/fpu_control.h: New file.
5136 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5137 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5138 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5139 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5140 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5141 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5142 * sysdeps/sh/sys/ucontext.h: Remove.
5143 * sysdeps/sh/sys: Remove directory.
5144
0f0c35e4
AK
51452014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5146
5147 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5148 s390/sys/ucontext.h.
5149 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5150 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5151
4959e284
L
51522014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5153
5154 [BZ #15605]
5155 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5156
d98720e0
AZ
51572014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5158
5159 [BZ#16431]
5160 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5161 Adjust the vDSO correctly for internal calls.
5162 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5163
91cbd0bc
AM
51642014-01-20 Allan McRae <allan@archlinux.org>
5165
5166 * po/ca.po: Update Catalan translation from translation project.
5167
7a02cfad
MF
51682014-01-16 Mike Frysinger <vapier@gentoo.org>
5169
5170 * sysdeps/s390/sotruss-lib.c: New file.
5171
736c304a
AZ
51722014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5173
5174 [BZ#16430]
6e077ee5 5175 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5176 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5177 local calls issues by not having a PLT stub required for IFUNC calls.
5178 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5179
94d0cea0
JM
51802014-01-16 Joseph Myers <joseph@codesourcery.com>
5181
5182 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5183 * math/test-fpucw-static.c: Likewise.
5184
980cb518
SP
51852013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5186
5187 [BZ #16453]
5188 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5189
2393fc01
AZ
51902014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5191
5192 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5193 implementation for powerpc.
5194
d359bcc2
OB
51952014-01-15 Ondřej Bílka <neleai@seznam.cz>
5196
5197 [BZ #14782]
5198 * sysdeps/posix/system.c (__libc_system): Do not enable
5199 asynchronous cancellation.
5200
7beb48cb
AK
52012014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5202
5203 [BZ #16427]
5204 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5205 handling only for numbers special also in the IEEE case.
5206
c20d5bf5
AK
52072014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5208
5209 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5210
e83bd4ee
AM
52112014-01-11 Allan McRae <allan@archlinux.org>
5212
76d0ea69
AM
5213 * po/bg.po: Update Bulgarian translation from translation project.
5214
e83bd4ee
AM
5215 * po/de.po: Update German translation from translation project.
5216
bc2ba20a
RM
52172014-01-10 Roland McGrath <roland@hack.frob.com>
5218
5219 * sysdeps/generic/gcc-compat.h: New file.
5220
649ecea2
SP
52212014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5222
5223 * benchtests/asin-inputs: Correct slow inputs.
5224 * benchtests/acos-inputs: Likewise.
5225
1b19c006
AM
52262014-01-10 Allan McRae <allan@archlinux.org>
5227
a46dab08
AM
5228 * po:sv.po: Update Swedish translation from translation project.
5229
421df74a
AM
5230 * po/vi.po: Update Vietnamese translation from translation project.
5231
d61c51a7
AM
5232 * po/eo.po: Update Esperanto translation from translation project.
5233
0339a319
AM
5234 * po/cs.po: Update Czech translation from translation project.
5235
94ad3e99
AM
5236 * po/nl.po: Update Dutch translation from translation project.
5237
e349ca71
AM
5238 * po/pl.po: Update Polish translation from translation project.
5239
ddf930c1
AM
5240 * po/ru.po: Update Russian translation from translation project.
5241
1b19c006
AM
5242 * po/uk.po: Update Ukrainian translation from translation project.
5243
9f236c49
BM
52442014-01-08 Brooks Moses <bmoses@google.com>
5245
5246 * elf/dl-load.c: Fix comment typo.
5247
cd6701cf
CD
52482014-01-08 Carlos O'Donell <carlos@redhat.com>
5249
5250 * po/header.pot: Rename to...
5251 * po/pot.header: ... this.
5252 * po/Makefile: Use pot.header.
5253
66671c84
YK
52542014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5255 Maxim Kuvyrkov <maxim@kugelworks.com>
5256
5257 [BZ #16394]
cd6701cf
CD
5258 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5259 SRC and DEST against LEN.
66671c84 5260
38f34581
AZ
52612014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5262
5263 [BZ #16414]
5264 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5265 implementation.
5266 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5267
52682014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5269
5270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5271
4c327f2a
JM
52722014-01-08 Joseph Myers <joseph@codesourcery.com>
5273
5274 [BZ #16408]
5275 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5276 for large positive arguments.
5277
b821f414
JM
52782014-01-07 Joseph Myers <joseph@codesourcery.com>
5279
1f0f2067
JM
5280 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5281
a5a326f6
JM
5282 * math/auto-libm-test-in: Mark various tests with
5283 xfail-rounding:ldbl-128ibm.
5284 * math/auto-libm-test-out: Regenerated.
5285
b821f414
JM
5286 [BZ #16407]
5287 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5288 Increase overflow threshold.
5289
94c8a4bc
OB
52902014-01-07 Ondřej Bílka <neleai@seznam.cz>
5291
5292 [BZ #14286]
5293 * stdio-common/vfprintf.c: Check for integer overflow.
5294
87ded0c3
AK
52952014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5296
5297 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5298 the first argument and return value of __tls_get_addr_internal.
5299
c5eebdd0
AK
53002014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5301
5302 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5303 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5304
05d138ef
AK
53052014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5306
5307 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5308 * sysdeps/s390/rtld-global-offsets.sym: New file.
5309 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5310 GLIBC_2.19 symbol.
5311 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5312 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5313 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5314 ... this.
5315 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5316 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5317 ... this.
5318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5319 Regenerate.
5320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5321 Regenerate.
5322 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5323 halfs of GPRs for high_gprs contexts.
5324 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5325 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5326 field.
5327 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5328 uc_flags field.
5329 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5330 64 bit versions:
5331 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5332 for high GPRs (uc_high_gprs) and for future extensions
5333 (__reserved).
5334 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5335 for future extensions (__reserved).
5336 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5337 64 bit versions:
5338 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5339 SC_HIGHGPRS offset definition.
5340 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5341 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5342
93a45ff1
AK
5343 * Versions.def: Add GLIBC_2.19 for libpthread.
5344 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5345 siglongjmp for libpthread with GLIBC_2.19 symver.
5346 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5347 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5348 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5349 * sysdeps/s390/__longjmp.c: New file.
5350 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5351 * sysdeps/s390/longjmp.c: New file.
5352 * sysdeps/s390/setjmp.S: New file.
5353 * sysdeps/s390/sigjmp.S: New file.
5354 * sysdeps/s390/v1-longjmp.c: New file.
5355 * sysdeps/s390/v1-setjmp.h: New file.
5356 * sysdeps/s390/v1-sigjmp.c: New file.
5357 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5358 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5359 GLIBC_2.19 version.
5360 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5361 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5362 versioned symbols for ____longjmp_chk.
5363 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5364 Likewise.
5365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5366 Regenerate.
5367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5368 Regenerate.
5369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5370 Regenerate.
5371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5372 Regenerate.
5373 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5374 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5375 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5376 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5377 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5378 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5379 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5380 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5381 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5382 * sysdeps/s390/rtld-__longjmp.c: New file.
5383 * sysdeps/s390/rtld-setjmp.S: New file.
5384
eb3fc44b
JM
53852014-01-06 Joseph Myers <joseph@codesourcery.com>
5386
5387 [BZ #16400]
5388 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5389 Return -__logl (x) for small positive arguments without evaluating
5390 a polynomial.
5391
9341dde4
MF
53922014-01-06 Mike Frysinger <vapier@gentoo.org>
5393
5394 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5395 Rename to ...
5396 (__ptrace_peeksiginfo_args): ... this.
5397 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5398 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5399 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5400
4cff0293
AM
54012014-01-06 Allan McRae <allan@archlinux.org>
5402
5403 * inet/netinet/in.h: Fix typo in comment.
5404
75595dcf
AJ
54052014-01-05 Andreas Jaeger <aj@suse.de>
5406
5407 * sysdeps/i386/fpu/libm-test-ulps: Update.
5408
79c1e109
AM
54092014-01-05 Allan McRae <allan@archlinux.org>
5410
dd804818
AM
5411 * po/libc.pot: Regenerated.
5412
79c1e109
AM
5413 * malloc/memusagestat.c: Fix gettext call formatting.
5414
0c813d1f
SK
54152014-01-04 Sami Kerola <kerolasa@iki.fi>
5416
5417 * nscd/nscd.c: Improve usage() output.
5418
20f4a8d9
MF
54192014-01-04 Mike Frysinger <vapier@gentoo.org>
5420
5421 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5422 * sysdeps/unix/sysv/linux/configure: Regenerated.
5423 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5424 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5425
22562bb2
JM
54262014-01-03 Joseph Myers <joseph@codesourcery.com>
5427
5428 [BZ #16390]
5429 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5430 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5431
d7ad2d9b
AZ
54322014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5433
5434 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5435 extra tokens at end of #undef directive.
5436 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5437 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5438 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5439
7dd009d8
JM
54402014-01-03 Joseph Myers <joseph@codesourcery.com>
5441
24db925a
JM
5442 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5443
7dd009d8
JM
5444 * math/auto-libm-test-in: Mark various tests with
5445 xfail-rounding:ldbl-128ibm.
5446 * math/auto-libm-test-out: Regenerated.
5447
396e3ecf
JM
54482014-01-02 Joseph Myers <joseph@codesourcery.com>
5449
819e5d50
JM
5450 [BZ #16386]
5451 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5452 numbers with subnormal high part when calculating exponent.
5453
90b6a1e5
JM
5454 [BZ #16385]
5455 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5456 fabs.
5457
396e3ecf
JM
5458 [BZ #16384]
5459 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5460 M_LN2l.
5461 (__ieee754_acoshl): Use __log1pl not __log1p.
5462
6c8dbf00
OB
54632013-01-02 Ondřej Bílka <neleai@seznam.cz>
5464
57f41c40
AS
5465 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5466 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5467 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5468 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5469 (reused_arena, arena_get2): Convert to GNU style.
5470 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5471 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5472 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 5473 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
5474 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5475 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5476 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5477 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5478 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5479 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 5480 * malloc/malloc.h: Likewise.
57f41c40
AS
5481 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5482 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 5483 * malloc/mcheck.h: Likewise.
57f41c40
AS
5484 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5485 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
5486 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5487 * malloc/morecore.c (__default_morecore): Likewise.
5488 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
5489 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5490 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5491 (print_and_abort): Likewise.
6c8dbf00
OB
5492 * malloc/obstack.h: Likewise.
5493 * malloc/set-freeres.c (__libc_freeres): Likewise.
5494 * malloc/tst-mallocstate.c (main): Likewise.
5495 * malloc/tst-mtrace.c (main): Likewise.
5496 * malloc/tst-realloc.c (do_test): Likewise.
5497
d4124212
SP
54982013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5499
9a3c6a6f
SP
5500 [BZ #16366]
5501 * nscd/netgroupcache.c (do_notfound): New function.
5502 (addgetnetgrentX): Use it.
5503
d4124212
SP
5504 [BZ # 16365]
5505 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5506 NSS_STATUS_NOTFOUND.
5507
97b9a009
JM
55082014-01-01 Joseph Myers <joseph@codesourcery.com>
5509
5510 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5512
d4697bc9
AM
55132014-01-01 Allan McRae <allan@archlinux.org>
5514
ddb3687f
AM
5515 * scripts/update-copyrights: Update configure input file suffix.
5516
88726d48
AM
5517 * NEWS: Update copyright year.
5518 * catgets/gencat.c: Likewise.
5519 * csu/version.c: Likewise.
5520 * debug/catchsegv.sh: Likewise.
5521 * debug/pcprofiledump.c: Likewise.
5522 * debug/xtrace.sh: Likewise.
5523 * elf/ldconfig.c: Likewise.
5524 * elf/ldd.bash.in: Likewise.
5525 * elf/pldd.c: Likewise.
5526 * elf/sotruss.ksh: Likewise.
5527 * elf/sprof.c: Likewise.
5528 * iconv/iconv_prog.c: Likewise.
5529 * iconv/iconvconfig.c: Likewise.
5530 * locale/programs/locale.c: Likewise.
5531 * locale/programs/localedef.c: Likewise.
5532 * login/programs/pt_chown.c: Likewise.
5533 * malloc/memusage.sh: Likewise.
5534 * malloc/memusagestat.c: Likewise.
5535 * malloc/mtrace.pl: Likewise.
5536 * manual/libc.texinfo: Likewise.
5537 * nscd/nscd.c: Likewise.
5538 * nss/getent.c: Likewise.
5539 * nss/makedb.c: Likewise.
5540 * posix/getconf.c: Likewise.
5541 * scripts/test-installation.pl: Likewise.
5542
d4697bc9
AM
5543 * All files with FSF copyright notices: Update copyright dates
5544 using scripts/update-copyrights.
5545 * intl/plural.c: Regenerated.
5546 * locale/programs/charmap-kw.h: Likewise.
5547 * locale/programs/locfile-kw.h: Likewise.
5548
c8590f9d
MF
55492013-12-31 Mike Frysinger <vapier@gentoo.org>
5550
5551 * sysdeps/unix/sysv/linux/configure: Regenerated.
5552 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5553 the linux/fanotify.h header.
5554 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5555 HAVE_LINUX_FANOTIFY_H is defined.
5556
b19221b9
SP
55572013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5558
dd1d85e5
SP
5559 * benchtests/cos-inputs: New inputs.
5560 * benchtests/sin-inputs: Likewise.
5561
1acbb90f
SP
5562 * benchtests/atan-inputs: New inputs. Fix name of multiple
5563 precision fallback inputs.
5564
4c012ed3
SP
5565 * benchtests/atanh-inputs: New inputs.
5566 * benchtests/tanh-inputs: Likewise.
5567
eff98324
SP
5568 * benchtests/acosh-inputs: New inputs.
5569 * benchtests/asinh-inputs: Likewise.
5570
ce641152
SP
5571 * benchtests/cosh-inputs: New inputs.
5572 * benchtests/sinh-inputs: Likewise.
5573
b19221b9
SP
5574 * benchtests/acos-inputs: Add more inputs.
5575 * benchtests/asin-inputs: Likewise.
5576
030a4976 55772013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5578
030a4976 5579 [BZ #16375]
9dcc8f11
VS
5580 * manual/arith.texi: Fix spelling.
5581 * manual/charset.texi: Likewise.
5582 * manual/errno.texi: Likewise.
5583 * manual/filesys.texi: Likewise.
5584 * manual/lang.texi: Likewise.
5585 * manual/llio.texi: Likewise.
5586 * manual/locale.texi: Likewise.
5587 * manual/message.texi: Likewise.
5588 * manual/resource.texi: Likewise.
5589 * manual/search.texi: Likewise.
5590 * manual/setjmp.texi: Likewise.
5591 * manual/stdio.texi: Likewise.
5592 * manual/string.texi: Likewise.
5593 * manual/sysinfo.texi: Likewise.
5594 * manual/time.texi: Likewise.
5595
11520a57
CD
55962013-12-27 Carlos O'Donell <carlos@redhat.com>
5597
5598 * po/sl.po: New file.
5599
471103ae
MF
56002013-12-27 Mike Frysinger <vapier@gentoo.org>
5601
5602 * .gitignore: Add core/.gdbinit/.gdb_history.
5603
6c9642ed
AM
56042013-12-27 Allan McRae <allan@archlinux.org>
5605
5606 [BZ #16369]
5607 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5608 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5609
3f637079
BM
56102013-12-24 Brooks Moses <bmoses@google.com>
5611
5612 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5613 all compilers that claim C++98 compliance, not just GCC.
5614 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5615 Likewise.
5616
abc26e99
MK
56172013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5618
5619 * NEWS: Restore accidentally deleted bug-fix entries.
5620
362b47fe
MK
56212013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5622 Ondřej Bílka <neleai@seznam.cz>
5623
5624 [BZ #15073]
5625 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5626 have_lock.
362b47fe 5627
b9bcbbcb
OB
56282013-12-23 Ondřej Bílka <neleai@seznam.cz>
5629
5630 [BZ #12986]
5631 * manual/stdio.texi (String Input Conversions): Clarify that character
5632 classes are not supported.
5633
fb55fcd2
AZ
56342013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5635
5636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5637
ef7344f0
JM
56382013-12-22 Joseph Myers <joseph@codesourcery.com>
5639
4f40e4b3
JM
5640 [BZ #16337]
5641 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5642 Calculate results for small negative arguments directly rather
5643 than using reflection formula with special underflow handling.
5644
ef7344f0
JM
5645 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5646 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5647 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5648 (fchflags): Likewise.
5649 (revoke): Likewise.
5650 (setlogin): Likewise.
5651 (sigaltstack): Likewise.
5652 (wait4): Likewise.
5653 (sigblock): Remove.
5654 (sigsetmask): Likewise.
5655 (wait3): Likewise.
5656 (waitpid): Likewise.
5657 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5658 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5659 file.
5660 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5661 * sysdeps/unix/bsd/Makefile: ... here.
5662 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5663 * sysdeps/unix/bsd/Versions: ... here.
5664 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5665 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5666 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5667 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5668 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5669 * sysdeps/unix/bsd/sigblock.c: ... here.
5670 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5671 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5672 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5673 * sysdeps/unix/bsd/sigvec.c: ... here.
5674 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5675 * sysdeps/unix/bsd/tcdrain.c: ... here.
5676 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5677 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5678 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5679 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5680 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5681 * sysdeps/unix/bsd/wait.c: ... here.
5682 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5683 * sysdeps/unix/bsd/wait3.c: ... here.
5684 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5685 * sysdeps/unix/bsd/waitpid.c: ... here.
5686
5b0626b9
JM
56872013-12-21 Joseph Myers <joseph@codesourcery.com>
5688
5689 [BZ #16356]
5690 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5691 round-to-nearest for [!USE_AS_EXPM1L].
5692 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5693 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5694 more tests of exp and exp10. Expect some exp10 tests to miss
5695 exceptions or fail in directed rounding modes.
5696 * math/auto-libm-test-out: Regenerated.
5697 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5698 (exp10_test_tonearest): New function.
5699 (exp10_towardzero_test_data): New array.
5700 (exp10_test_towardzero): New function.
5701 (exp10_downward_test_data): New array.
5702 (exp10_test_downward): New function.
5703 (exp10_upward_test_data): New array.
5704 (exp10_test_upward): New function.
5705 (main): Call the new functions.
5706 * sysdeps/i386/fpu/libm-test-ulps: Update.
5707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5708
7fda5682
JM
57092013-12-20 Joseph Myers <joseph@codesourcery.com>
5710
31e3a405
JM
5711 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5712 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5713 * math/auto-libm-test-out: Regenerated.
5714 * math/libm-test.inc (acosh_test_data): Add more tests.
5715 (atanh_test_data): Likewise.
5716 (ceil_test_data): Likewise.
5717 (copysign_test_data): Likewise.
5718 * sysdeps/i386/fpu/libm-test-ulps: Update.
5719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5720
85bff96a
JM
5721 * timezone/checktab.awk: Update from tzcode 2013i.
5722 * timezone/private.h: Likewise.
5723 * timezone/scheck.c: Likewise.
5724 * timezone/tzfile.h: Likewise.
5725 * timezone/tzselect.ksh: Likewise.
5726 * timezone/zdump.c: Likewise.
5727 * timezone/zic.c: Likewise.
5728
b7867a3b
JM
5729 * math/auto-libm-test-in: Add tests of cpow.
5730 * math/auto-libm-test-out: Regenerated.
5731 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 5732 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
5733 mpc_cc_c.
5734 (func_calc_desc): Add mpc_cc_c union field.
5735 (test_functions): Add cpow.
5736 (special_fill_2pi): New function.
5737 (special_real_inputs): Add 2pi.
5738 (calc_generic_results): Handle mpc_cc_c.
5739 * sysdeps/i386/fpu/libm-test-ulps: Update.
5740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5741
7fda5682
JM
5742 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5743 csqrt, ctan and ctanh.
5744 * math/auto-libm-test-out: Regenerated.
5745 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5746 (TEST_COND_x86): Likewise.
5747 (ccos_test_data): Use AUTO_TESTS_c_c.
5748 (ccosh_test_data): Likewise.
5749 (cexp_test_data): Likewise.
5750 (clog_test_data): Likewise.
5751 (csqrt_test_data): Likewise.
5752 (ctan_test_data): Likewise.
5753 (ctan_tonearest_test_data): Likewise.
5754 (ctan_towardzero_test_data): Likewise.
5755 (ctan_downward_test_data): Likewise.
5756 (ctan_upward_test_data): Likewise.
5757 (ctanh_test_data): Likewise.
5758 (ctanh_tonearest_test_data): Likewise.
5759 (ctanh_towardzero_test_data): Likewise.
5760 (ctanh_downward_test_data): Likewise.
5761 (ctanh_upward_test_data): Likewise.
5762 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5763 mpc_c_c.
5764 (func_calc_desc): Add mpc_c_c union field.
5765 (FUNC_mpc_c_c): New macro.
5766 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5767 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5768 ctanh.
5769 (special_fill_min_subnorm_p120): New function.
5770 (special_real_inputs): Add min_subnorm_p120.
5771 (calc_generic_results): Handle mpc_c_c.
5772 * sysdeps/i386/fpu/libm-test-ulps: Update.
5773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5774
5ff8d60e
SP
57752013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5776
57f41c40
AS
5777 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5778 (do_sin_slow): New functions.
5779 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5780 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 5781
84ba214c
SP
5782 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5783 Use M to change sign of result instead of X. Assume X is
5784 positive.
5785 (csloww1): Likewise.
5786 (__sin): Adjust.
5787 (__cos): Adjust.
5788
975195e4
SP
5789 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5790 arguments A and DA.
5791 (__sin): Adjust.
5792 (__cos): Likewise.
5793
5ff8d60e
SP
5794 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5795 (__cos): Likewise.
5796 (sloww1): Don't adjust sign of DX.
5797 (csloww1): Likewise.
5798 (sloww2): Use X directly and don't adjust sign of DX.
5799 (csloww2): Likewise.
5800
eb983568
JM
58012013-12-19 Joseph Myers <joseph@codesourcery.com>
5802
64a17f1a
JM
5803 * math/auto-libm-test-in: Add tests of cabs and carg.
5804 * math/auto-libm-test-out: Regenerated.
5805 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5806 (carg_test_data): Likewise.
5807 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5808 mpc_c_f.
5809 (func_calc_desc): Add mpc_c_f union field.
5810 (test_functions): Add cabs and carg.
5811 (calc_generic_results): Handle mpc_c_f.
5812
eb983568
JM
5813 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5814 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5815 as a macro and a compat symbol.
5816 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5817 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5818 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5819 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5820 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5821 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5822 not use .hidden.
5823 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5824 Likewise.
5825 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5826 Likewise.
5827 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5828 Likewise.
5829 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5830 Likewise.
5831 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5832 Likewise.
5833 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5834 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5835 from GLIBC_2.3.2.
5836
6eeb678a
AZ
58372013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5838
5839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5840
6f6fc482
JM
58412013-12-19 Joseph Myers <joseph@codesourcery.com>
5842
21fea2e2
JM
5843 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5844 trailing whitespace removed.
5845 * scripts/config.guess: Update to version 2013-11-29.
5846 * scripts/config.sub: Update to version 2013-10-01.
5847
6f6fc482
JM
5848 * math/auto-libm-test-in: Add tests of sincos.
5849 * math/auto-libm-test-out: Regenerated.
5850 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5851 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5852 mpfr_f_11.
5853 (func_calc_desc): Add mpfr_f_11 union field.
5854 (test_functions): Add sincos.
5855 (calc_generic_results): Handle mpfr_f_11.
5856 * sysdeps/i386/fpu/libm-test-ulps: Update.
5857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5858
83f5c32d
AS
58592013-12-19 Andreas Schwab <schwab@suse.de>
5860
5861 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5862 CALL_MCOUNT.
5863 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5864 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5865 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5866
c688b419
JM
58672013-12-19 Joseph Myers <joseph@codesourcery.com>
5868
335ee092
JM
5869 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5870 * sysdeps/i386/fpu/libm-test-ulps: Update.
5871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5872
f88acd39
JM
5873 [BZ #16293]
5874 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5875 round-to-nearest mode when using frndint.
5876 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5877 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5878 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5879 Likewise.
5880 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5881 sinh test to fail.
5882 * math/auto-libm-test-out: Regenerated.
5883 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5884 (TEST_COND_x86): Likewise.
5885 (expm1_tonearest_test_data): New array.
5886 (expm1_test_tonearest): New function.
5887 (expm1_towardzero_test_data): New array.
5888 (expm1_test_towardzero): New function.
5889 (expm1_downward_test_data): New array.
5890 (expm1_test_downward): New function.
5891 (expm1_upward_test_data): New array.
5892 (expm1_test_upward): New function.
5893 (main): Run the new test functions.
5894 * sysdeps/i386/fpu/libm-test-ulps: Update.
5895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5896
c688b419
JM
5897 * include/features.h: Update comment documenting feature test
5898 macros. Mention _DEFAULT_SOURCE in comment.
5899 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5900 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5901 _BSD_SOURCE and _SVID_SOURCE.
5902 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5903 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5904 !_SVID_SOURCE]: Likewise.
5905 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5906 (__USE_POSIX_IMPLICITLY): Define.
5907 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5908 (_POSIX_SOURCE): Undefine and redefine.
5909 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5910 (_POSIX_C_SOURCE): Likewise.
5911 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5912 (Feature Test Macros): Update documentation of default features.
5913
9f6e964c
RS
59142013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5915
5916 * benchtests/Makefile: Add bench-strtok.
5917 * benchtests/bench-strtok.c: New file: strtok benchtest.
5918
ee0a148a
AM
59192013-12-19 Allan McRae <allan@archlinux.org>
5920
5921 * manual/install.texi: Suppress menu for plain text output.
5922 * INSTALL: Regenerated.
5923
b9ab448f
BM
59242013-12-18 Brooks Moses <bmoses@google.com>
5925
5926 [BZ #15846]
5927 * misc/getauxval.c: Include errno.h.
5928 (__getauxval): Set errno to ENOENT if the requested type is not
5929 found.
5930 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5931 don't declare with __attribute_const__.
5932 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5933 * manual/startup.texi: Document that getauxval sets errno.
5934
23776487
JM
59352013-12-18 Joseph Myers <joseph@codesourcery.com>
5936
f889953b
JM
5937 * math/auto-libm-test-in: Add tests of jn and yn.
5938 * math/auto-libm-test-out: Regenerated.
5939 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5940 (yn_test_data): Likewise.
5941 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5942 mpfr_if_f.
5943 (func_calc_desc): Add mpfr_if_f union field.
5944 (FUNC_mpfr_if_f): New macro.
5945 (test_functions): Add jn and yn.
5946 (calc_generic_results): Assert type of second input for
5947 mpfr_ff_f. Handle mpfr_if_f.
5948 (output_for_one_input_case): Disable all checking for arguments
5949 fitting floating-point types in case of an integer argument.
5950 * sysdeps/i386/fpu/libm-test-ulps: Update.
5951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5952
23776487
JM
5953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5954 Don't expect fegetround reference in libm.so.
5955
cb756c6d
MS
59562013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5957
5958 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5959 $(config-cflags-nofma).
5960
2dec468f
JM
59612013-12-18 Joseph Myers <joseph@codesourcery.com>
5962
5953eb3a
JM
5963 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5964 * math/auto-libm-test-out: Regenerated.
5965
2dec468f
JM
5966 [BZ #16338]
5967 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5968 to determine exponent and adjust argument to have exponent of -1.
5969 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5970 log2.
5971 * math/auto-libm-test-out: Regenerated.
5972 * sysdeps/i386/fpu/libm-test-ulps: Update.
5973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5974
4d84e6ad
OB
59752013-12-18 Ondřej Bílka <neleai@seznam.cz>
5976
5977 * manual/probes.texi: Remove cases when per-thread arenas are
5978 disabled.
5979
1818483b
AS
59802013-12-18 Andreas Schwab <schwab@suse.de>
5981
5982 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5983 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5984 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5985 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5986 * sysdeps/i386/i686/multiarch/Makefile: Update.
5987 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5988
25de95bf
JM
59892013-12-17 Joseph Myers <joseph@codesourcery.com>
5990
5991 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5992 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5993
674762d9
PE
59942013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5995
ed27ed83 5996 [BZ #15968]
0748546f
PE
5997 Support TZ transition times < 00:00:00.
5998 This is needed for version-3 tz-format files; it supports time
5999 stamps past 2037 for America/Godthab (the only entry in the tz
6000 database for which this change is relevant).
6001 * manual/time.texi (TZ Variable): Document transition times
6002 from -167:59:59 through -00:00:01.
6003 * time/tzset.c (tz_rule): Time of day is now signed.
6004 (__tzset_parse_tz): Parse negative time of day.
6005
4480e934
PE
6006 Document TZ transition times >= 25:00:00.
6007 * manual/time.texi (TZ Variable): Document transition times from
6008 25:00:00 through 167:59:59. These are already supported, and this
6009 support will help with version-3 tz-format files.
6010
69947401
PE
6011 * manual/time.texi (TZ Variable): Modernize North America example
6012 to reflect current (i.e., 2007-and-later) daylight saving rules.
6013
674762d9
PE
6014 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6015
7011c262
JM
60162013-12-17 Joseph Myers <joseph@codesourcery.com>
6017
2fc6557e
JM
6018 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6019 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6020 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6021 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6022 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6023 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6024 * sysdeps/unix/bsd/clock.c: Likewise.
6025 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6026 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6027 * sysdeps/unix/bsd/init-posix.c: Likewise.
6028 * sysdeps/unix/bsd/poll.c: Likewise.
6029 * sysdeps/unix/bsd/ptsname.c: Likewise.
6030 * sysdeps/unix/bsd/seekdir.c: Likewise.
6031 * sysdeps/unix/bsd/setegid.c: Likewise.
6032 * sysdeps/unix/bsd/seteuid.c: Likewise.
6033 * sysdeps/unix/bsd/setgid.c: Likewise.
6034 * sysdeps/unix/bsd/setrgid.c: Likewise.
6035 * sysdeps/unix/bsd/setruid.c: Likewise.
6036 * sysdeps/unix/bsd/setsid.c: Likewise.
6037 * sysdeps/unix/bsd/setuid.c: Likewise.
6038 * sysdeps/unix/bsd/sigaction.c: Likewise.
6039 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6040 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6041 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6042 * sysdeps/unix/bsd/telldir.c: Likewise.
6043 * sysdeps/unix/bsd/times.c: Likewise.
6044 * sysdeps/unix/bsd/usleep.c: Likewise.
6045
029c7b25
JM
6046 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6047 ($(objpfx)libbsd-compat.a): Remove rule.
6048
7011c262
JM
6049 * include/features.h (__FAVOR_BSD): Do not define.
6050 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6051 features conflicting with POSIX.
6052 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6053 (_BSD_SOURCE): Remove description of not being a subset of other
6054 feature test macros.
6055 * manual/job.texi (getpgrp): Do not document BSD version.
6056 (getpgid): Do not document by reference to BSD getpgrp.
6057 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6058 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6059 * signal/signal.h [__FAVOR_BSD]: Likewise.
6060 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6061 instead of making contents conditional on [__FAVOR_BSD].
6062 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6063
affb6f78
AZ
60642013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6065
6066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6067
c88769dd
JM
60682013-12-17 Joseph Myers <joseph@codesourcery.com>
6069
6432a540
JM
6070 [BZ #16314]
6071 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6072 values below 2**-450, not 2**-500.
6073 * math/auto-libm-test-in: Don't allow spurious underflow from
6074 hypot.
6075 * math/auto-libm-test-out: Regenerated.
6076
c88769dd
JM
6077 [BZ #16316]
6078 [BZ #16330]
6079 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6080 values of ha and hb and sort them after adjusting subnormal
6081 arguments.
6082 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6083 Likewise.
6084 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6085 values of ea and eb and sort them after adjusting subnormal
6086 arguments.
6087 * math/auto-libm-test-in: Do not expect some hypot tests of
6088 subnormals to fail. Add more hypot tests.
6089 * math/auto-libm-test-out: Regenerated.
6090
29618f6b
KK
60912013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6092
6093 [BZ #13304]
6094 * sysdeps/sh/s_fma.c: New file.
6095 * sysdeps/sh/s_fmaf.c: New file.
6096 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6097 version.
6098 * sysdeps/sh/Implies: Add sh/soft-fp.
6099
eacfdfbf
RM
61002013-12-16 Roland McGrath <roland@hack.frob.com>
6101
6102 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6103 level of indirection to members `objname', `errstring', `malloced'.
6104 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6105 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6106 it as the __longjmp argument (just pass 1 instead).
6107 (_dl_catch_error): Initialize C with argument pointers and address of
6108 volatile local ERRCODE rather than copying values out of C at return.
6109
ff362e5b
JM
61102013-12-16 Joseph Myers <joseph@codesourcery.com>
6111
6112 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6113 * math/auto-libm-test-out: Regenerated.
6114 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6115 (hypot_test_data): Likewise.
6116 (pow_test_data): Likewise.
6117 (pow_tonearest_test_data): Likewise.
6118 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6119 mpfr_ff_f.
6120 (func_calc_desc): Add mpfr_ff_f union field.
6121 (FUNC_mpfr_ff_f): New macro.
6122 (test_functions): Add atan2, hypot and pow.
6123 (special_fill_min): New function.
6124 (special_fill_minus_min): Likewise.
6125 (special_fill_min_subnorm): Likewise.
6126 (special_fill_minus_min_subnorm): Likewise.
6127 (special_real_inputs): Add min, -min, min_subnorm and
6128 -min_subnorm.
6129 (calc_generic_results): Handle mpfr_ff_f.
6130 * sysdeps/i386/fpu/libm-test-ulps: Update.
6131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6132
5764c27f
WN
61332013-12-16 Will Newton <will.newton@linaro.org>
6134
6135 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6136 (Aligned Memory Blocks): Add documentation for aligned_alloc
6137 and suggest it as an alternative to posix_memalign.
6138 (Hooks for Malloc): Document __memalign_hook is also called
6139 for aligned_alloc. (Summary of Malloc): Add summary for
6140 aligned alloc. Document __memalign_hook is also called
6141 for aligned_alloc.
6142
0a096e44
WN
61432013-12-16 Will Newton <will.newton@linaro.org>
6144
6145 * manual/memory.texi (Malloc Examples): Clarify default
6146 alignment documentation. Suggest posix_memalign rather
6147 than memalign or valloc.
6148 (Aligned Memory Blocks): Remove suggestion to use memalign
6149 or valloc. Remove obsolete comment about BSD.
6150 Document memalign errno values and mark the function obsolete.
6151 Document posix_memalign returned error codes. Mark valloc
6152 as obsolete. (Hooks for Malloc): __memalign_hook is also
6153 called for posix_memalign and valloc.
6154 (Summary of Malloc): Add posix_memalign to function summary.
6155 __memalign_hook is also called for posix_memalign and valloc.
6156
8d561986
SP
61572013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6158
6159 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6160 TAYLOR_SIN.
6161 (__sin): Adjust.
6162 (__cos): Likewise.
6163 (sloww): Use mynumber union. Expand ternary operator into
6164 if-else statements.
6165 (cslow): use mynumber union.
6166
73616a74
AM
61672013-12-16 Allan McRae <allan@archlinux.org>
6168
9e8ac24b
AM
6169 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6170 * configure: Regenerated.
6171
6f8e37eb
AM
6172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6173
8894bad3
AM
6174 [BZ #14120]
6175 * configure.ac: Added --enable-maintainer-mode. Check for
6176 autoconf when enabled.
6177 * configure: Regenerated.
6178
73616a74
AM
6179 * nscd/nscd.service: New file.
6180 * nscd/nscd.tmpfiles: New file.
6181
584b18eb
OB
61822013-12-14 Ondřej Bílka <neleai@seznam.cz>
6183
6184 [BZ #12100]
6185 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6186 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6187 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6188 (strstr): Add __strstr_sse2_unaligned ifunc.
6189 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6190 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6191 (strcasestr): Remove __strcasestr_sse42 ifunc.
6192 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6193 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6195
8a5c7897
KK
61962013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6197
6198 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6199 * sysdeps/sh/bits/fenv.h: ... here.
6200 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6201
fd712ef3
AZ
62022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6203
6204 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6205
42fcb46c
AZ
6206 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6207 hypotf multiarch implementations.
6208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6209 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6210 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6211 multiarch hypot for PPC64.
6212 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6213 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6214 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6215 multiarch hypotf for PPC64.
6216
83efded4
AZ
6217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6218 modff multiarch implementations.
6219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6222 multiarch modf for PPC64.
6223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6226 multiarch modff for PPC64.
6227
43e246d2
AZ
6228 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6229 and logl multiarch implementations.
6230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6233 multiarch logb for PPC64.
6234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6237 multiarch logb for PPC64.
6238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6241 multiarch logb for PPC64.
6242
8fdad123
AZ
6243 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6244 isinff multiarch implementation.
6245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6246 file.
6247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6249 multiarch isinf for PPC64.
6250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6251 file.
6252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6253 multiarch isinff for PPC64.
6254
1481d706
AZ
6255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6256 finitef multiarch implementation.
6257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6258 file.
6259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6261 multiarch finite for PPC64.
6262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6263 file.
6264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6265 multiarch finitef for PPC64.
6266
5ccd5fc8
AZ
6267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6268 lrint multiarch implementation.
6269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6270 file.
6271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6273 multiarch llrint for PPC64.
6274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6275 multiarch lrint for PPC64.
6276
2568f3fa
AZ
6277 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6278 copysignf multiarch implementation.
6279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6280 file.
6281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6282 file.
6283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6284 multiarch copysign for PPC64.
6285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6286 multiarch copysignf for PPC64.
6287
1cb341fd
AZ
6288 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6289 multiarch implementation.
6290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6291 file.
6292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6293 file.
6294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6295 file.
6296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6297 file.
6298 multiarch llround for PPC64.
6299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6300 multiarch trunc for PPC64.
6301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6302 multiarch truncf for PPC64.
6303
59a3e194
AZ
6304 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6305 multiarch implementation.
6306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6307 file.
6308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6309 file.
6310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6311 file.
6312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6313 file.
6314 multiarch llround for PPC64.
6315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6316 multiarch round for PPC64.
6317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6318 multiarch roundf for PPC64.
6319
357fd3b4
AZ
6320 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6321 multiarch implementation.
6322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6323 file.
6324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6325 file.
6326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6327 file.
6328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6329 file.
6330 multiarch llround for PPC64.
6331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6332 multiarch floor for PPC64.
6333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6334 multiarch floorf for PPC64.
6335
96770f12
AZ
6336 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6337 multiarch implementation.
6338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6339 file.
6340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6341 file.
6342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6343 file.
6344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6345 file.
6346 multiarch llround for PPC64.
6347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6348 multiarch ceil for PPC64.
6349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6350 multiarch ceilf for PPC64.
6351
c3627f6e
AZ
6352 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6353 multiarch implementation.
6354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6355 file.
6356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6357 file.
6358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6359 file.
6360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6361 multiarch llround for PPC64.
6362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6363 multiarch lround for PPC64.
6364
b2284ad7
AZ
6365 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6366 multiarch implementation.
6367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6370 file.
6371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6374 multiarch isnan for PPC64.
6375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6376 multiarch isnanf for PPC64.
6377
69bbc63d
AZ
6378 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6379 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6380 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6381 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6382 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6384
c24517c9
AZ
6385 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6386 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6387 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6388 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6389
a52374e8
AZ
6390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6391 multiarch implementations.
6392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6393 (__libc_ifunc_impl_list): Likewise.
6394 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6395 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6396 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6397 multiarch stpcpy for PPC64.
6398
7f5ec113
AZ
6399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6400 multiarch implementations.
6401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6402 (__libc_ifunc_impl_list): Likewise.
6403 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6404 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6405 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6406 multiarch strcpy for PPC64.
6407
e28bcd42
AZ
6408 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6409 redefine function name.
6410 (_wordcopy_fwd_dest_aligned): Likewise.
6411 (_wordcopy_bwd_aligned): Likewise.
6412 (_wordcopy_bwd_dest_aligned): Likewise.
6413 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6414 multiarch implementations.
6415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6416 (__libc_ifunc_impl_list): Likewise.
6417 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6418 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6419 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6420 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6421 multiarch wcscpy for PPC64.
6422
92cacfce
AZ
6423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6424 multiarch implementations.
6425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6426 (__libc_ifunc_impl_list): Likewise.
6427 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6428 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6429 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6430 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6431 multiarch wcscpy for PPC64.
6432
7b714620
AZ
6433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6434 multiarch implementations.
6435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6436 (__libc_ifunc_impl_list): Likewise.
6437 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6438 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6439 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6440 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6441 multiarch wcsrchr for PPC64.
6442
16fd2ae3
AZ
6443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6444 multiarch implementations.
6445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6446 (__libc_ifunc_impl_list): Likewise.
6447 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6448 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6449 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6450 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6451 multiarch wcschr for PPC64.
6452
9ee2969b
AZ
6453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6454 multiarch implementations.
6455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6456 (__libc_ifunc_impl_list): Likewise.
6457 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6458 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6459 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6460 multiarch strchrnul for PPC64.
6461
372dc060
AZ
6462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6463 implementations.
6464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6465 (__libc_ifunc_impl_list): Likewise.
6466 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6467 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6468 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6469 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6470 strchr for PPC64.
6471
24c2c3b9
AZ
6472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6473 implementations.
6474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6475 (__libc_ifunc_impl_list): Likewise.
6476 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6477 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6478 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6479 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6480 strncmp for PPC64.
6481
1c92d9a0
AZ
6482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6483 multiarch implementations.
6484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6485 (__libc_ifunc_impl_list): Likewise.
6486 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6487 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6488 strncasecmp for PPC64.
6489 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6490 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6491 multiarch strncasecmp_l for PPC64.
6492
17de3ee3
AZ
6493 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6494 multiarch implementations.
6495 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6496 (__libc_ifunc_impl_list): Likewise.
6497 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6498 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6499 multiarch strcasecmp for PPC64.
6500 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6501 file.
6502 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6503 multiarch strcasecmp_l for PPC64.
6504
62982bf9
AZ
6505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6506 implementations.
6507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6508 (__libc_ifunc_impl_list): Likewise.
6509 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6510 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6511 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6512 strnlen for PPC64.
6513
a65f4904
AZ
6514 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6515 implementations.
6516 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6517 (__libc_ifunc_impl_list): Likewise.
6518 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6519 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6520 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6521 strlen for PPC64.
6522
1fd005ad
AZ
6523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6524 implementations.
6525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6526 (__libc_ifunc_impl_list): Likewise.
6527 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6528 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6529 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6530 rawmemrchr for PPC64.
6531
cd05ba91
AZ
6532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6533 implementation.
6534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6535 (__libc_ifunc_impl_list): Likewise.
6536 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6537 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6538 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6539 memrchr for PPC64.
6540
870f8676
AZ
6541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6542 implementation.
6543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6544 (__libc_ifunc_impl_list): Likewise.
6545 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6546 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6547 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6548 memchr for PPC64.
6549
f00be62b
AZ
6550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6551 implementation.
6552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6553 (__libc_ifunc_impl_list): Likewise.
6554 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6555 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6556 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6557 mempcpy for PPC64.
6558
8a29a3d0
AZ
6559 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6560 avoid cretion of __bzero symbol.
6561 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6562 Likewise.
6563 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6564 Likewise.
6565 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6566 Likewise.
6567 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6568 multiarch implementations.
6569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6570 (__libc_ifunc_impl_list): Likewise.
6571 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6572 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6573 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6574 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6575 bzero for PPC32.
6576 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6577 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6578 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6579 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6580 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6581 memset for PPC64.
6582 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6583
07253fcf
AZ
6584 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6586 implementations.
6587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6588 (__libc_ifunc_impl_list): Likewise.
6589 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6590 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6591 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6592 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6593 memcmp for PPC64.
6594
b5beafbc
AZ
6595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6596 multiarch for POWER/PPC64.
6597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6598 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6599 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6600 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6601 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6602 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6603 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6604 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6605 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6606 memcpy for PPC64.
6607
5e6a4d4b
AZ
6608 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6609 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6610 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6611 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6612 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6613 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6614 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6615 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6616 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6617 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6618 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6619 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6620 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6621 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6622 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6630
ddfab6dc
KK
66312013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6632
6633 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6634
19b5525e
SP
66352013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6636
6637 * benchtests/Makefile (bench): Add exp2 and log2.
6638 (LDLIBS-bench-exp2): Add -lm.
6639 (LDLIBS-bench-log2): Likewise.
6640 * benchtests/exp2-inputs: New inputs file.
6641 * benchtests/log2-inputs: New inputs file.
6642 * benchtests/log-inputs: Add new inputs.
6643 * benchtests/tan-inputs: Likewise.
6644
196f7f5d
SP
66452013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6646
7a74607f
SP
6647 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6648 definition...
57f41c40
AS
6649 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6650 (csloww2): ... from here.
7a74607f 6651
196f7f5d
SP
6652 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6653 instead of structures.
6654 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6655 (POLYNOMIAL): Likewise.
6656 (TAYLOR_SLOW): Likewise.
6657 (__sin): Likewise.
6658 (__cos): Likewise.
6659 (slow1): Likewise.
6660 (slow2): Likewise.
6661 (sloww): Likewise.
6662 (sloww1); Likewise.
6663 (sloww2): Likewise.
6664 (bsloww1): Likewise.
6665 (bsloww2): Likewise.
6666 (cslow2): Likewise.
6667 (csloww): Likewise.
6668 (csloww1): Likewise.
6669 (csloww2): Likewise.
6670
0dfa665c
OB
66712013-12-10 Ondřej Bílka <neleai@seznam.cz>
6672
6673 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
6674 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6675 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
6676 * malloc/hooks.c (realloc_check): Likewise.
6677
5782a80f
OB
6678 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6679 * malloc/arena.c: Remove PER_THREAD conditional.
6680 [!PER_THREAD]: Remove code.
6681 (ptmalloc_unlock_all2): Likewise.
6682 (ptmalloc_init): Likewise.
6683 (_int_new_arena): Likewise.
6684 (arena_get2): Likewise.
6685 * malloc/hooks.c (__malloc_get_state): Likewise.
6686 (__malloc_set_state): Likewise.
6687 * malloc/malloc.c: Likewise.
6688 (struct malloc_state): Likewise.
6689 (struct malloc_par): Likewise.
6690 (__libc_realloc): Likewise.
6691 (__libc_mallopt): Likewise.
6692
aeb95445
AZ
66932013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6694
6695 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6696
e8349efd
OB
66972013-12-09 Ondřej Bílka <neleai@seznam.cz>
6698
6699 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6700 macro to a function. Check for zero perturb_byte.
6701 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6702
f3eeb3fc 6703 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
6704 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6705 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
6706 force_reg by atomic_forced_read.
6707 * malloc/arena.c (ptmalloc_init): Likewise.
6708 * malloc/hooks.c (top_check): Likewise.
6709
be2f9009
AZ
67102013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6711
6712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6713
e7b914bd
MT
67142013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6715
6716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6717
9f0be4f8
JM
67182013-12-08 Joseph Myers <joseph@codesourcery.com>
6719
6720 * math/auto-libm-test-in: Add tests of lgamma.
6721 * math/auto-libm-test-out: Regenerated.
6722 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6723 (M_LOG_2_SQRT_PIl): Likewise.
6724 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6725 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6726 mpfr_f_f1.
6727 (func_calc_desc): Add mpfr_f_f1 union field.
6728 (ARGS1): New macro.
6729 (ARGS2): Likewise.
6730 (ARGS3): Likewise.
6731 (ARGS4): Likewise.
6732 (RET1): Likewise.
6733 (RET2): Likewise.
6734 (CALC): Likewise.
6735 (FUNC): Likewise.
6736 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6737 (test_functions): Add lgamma.
6738 (calc_generic_results): Handle mpfr_f_f1.
6739 * sysdeps/i386/fpu/libm-test-ulps: Update.
6740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6741
24eeafdb
AZ
67422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6743
6744 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6745 __mpn_add_n for PowerPC64/POWER7.
6746 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6747 __mpn_sub_n for PowerPC64/POWER7.
6748
4a2c0fd4
AZ
6749 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6750 __mpn_addmul_1 for PowerPC64.
6751 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6752 __mpn_submul_1 for PowerPC64.
6753 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6754 for PowerPC64.
6755 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6756 for PowerPC64.
6757
4b5b548c
FS
67582013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6759
6760 [BZ #15089]
6761 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6762
0a3ac0aa
AZ
67632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6764
6765 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6766
ccdc8438
AZ
6767 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6768 add multiarch folders.
6769 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6770 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6771 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6772 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6773 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6774 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6775 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6776 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6777 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6778 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6779 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6786
2e973d99
AZ
6787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6788 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6790 New file.
6791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6792 New file.
6793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6794 multiarch __ieee754_hypot for PowerPC32.
6795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6796 New file.
6797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6798 New file.
6799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6800 multiarch __ieee754_hypotf for PowerPC32.
6801
2d9470b2
AZ
6802 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6803 long_double_symbol only if __logbl is defined.
6804 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6805 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6807 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6809 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6810 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6811 path for implementation.
6812 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6813 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6815 logb, and logbl multiarch implementations for PowerPC32.
6816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6817 file.
6818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6819 file.
6820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6821 multiarch logb for PowerPC32.
6822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6823 file.
6824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6825 file.
6826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6827 multiarch logbf for PowerPC32.
6828 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6830 file.
6831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6832 multiarch logbl implementation for PowerPC32.
6833
5212ffce
AZ
6834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6835 and modff multiarch implementations.
6836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6837 New file.
6838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6839 New file.
6840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6841 multiarch modf for PowerPC32.
6842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6843 New file.
6844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6845 New file.
6846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6847 multiarch modff for PowerPC32.
6848
79dccf31
AZ
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6850 and lrintf multiarch implementations.
6851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6852 New file.
6853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6854 New file.
6855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6856 multiarch lrint for PowerPC32.
6857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6858 file: multiarch lrintf for PowerPC32.
6859
deb66480
AZ
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6861 and lroundf multiarch implementations.
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6863 New file.
6864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6865 New file.
6866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6867 New file.
6868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6869 multiarch lround for PowerPC32.
6870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6871 file: multiarch lroundf for PowerPC32.
6872
264b036b
AZ
6873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6874 copysign and copysignf multiarch implementations.
6875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6876 New file.
6877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6878 New file.
6879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6880 file: multiarch copysign for PowerPC32.
6881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6882 file: multiarch copysignf for PowerPC32.
6883
d47db6c9
AZ
6884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6885 and truncf multiarch implementations.
6886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6887 New file.
6888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6889 file.
6890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6891 multiarch trunc for PowerPC32.
6892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6893 New file.
6894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6895 New file.
6896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6897 multiarch truncf for PowerPC32.
6898
ddb60b5a
AZ
6899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6900 and roundf multiarch implementations.
6901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6902 New file.
6903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6904 file.
6905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6906 multiarch round for PowerPC32.
6907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6908 New file.
6909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6910 New file.
6911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6912 multiarch roundf for PowerPC32.
6913
bedcf49b
AZ
6914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6915 and floorf multiarch implementations.
6916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6917 New file.
6918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6919 file.
6920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6921 multiarch floor for PowerPC32.
6922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6923 New file.
6924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6925 New file.
6926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6927 multiarch floorf for PowerPC32.
6928
35ae5b40
AZ
6929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6930 and ceilf multiarch implementations.
6931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6932 New file.
6933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6934 file.
6935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6936 multiarch ceil for PowerPC32.
6937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6938 New file.
6939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6940 file.
6941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6942 multiarch ceilf for PowerPC32.
6943
ae1a4cd9
AZ
6944 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6945 is defined.
6946 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6947 FINITEF is defined.
6948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6949 and finitef multiarch implementations.
6950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6951 New file.
6952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6953 file.
6954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6955 multiarch finite for PowerPC32.
6956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6957 New file.
6958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6959 file: multiarch finitef for PowerPC32.
6960
64fffd65
AZ
6961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6962 and isinff multiarch implementations.
6963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6964 file.
6965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6966 file.
6967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6968 multiarch isinf for PowerPC32.
6969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6970 New file.
6971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6972 multiarch isinff for PowerPC32.
6973
8e4e7ba2
AZ
6974 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6975 alias when __isnan is defined.
6976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6977 and isnanf multiarch implementations.
6978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6979 file.
6980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6981 file.
6982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6983 file.
6984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6985 file.
6986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6987 multiarch isnan for PowerPC32.
6988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6989 New file.
6990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6991 New file.
6992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6993 multiarch isnanf for PowerPC32.
6994
ddba588e
AZ
6995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6996 and sqrtf multiarch implementations.
6997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6998 file.
6999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7000 file.
7001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7002 multiarch sqrt for PowerPC32.
7003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7004 file.
7005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7006 file.
7007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7008 multiarch sqrtf for PowerPC32.
7009
0f96a2f0
AZ
7010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7011 and llroundf multiarch implementations.
7012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7013 New file.
7014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7015 New file.
7016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7017 New file.
7018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7019 file: multiarch llround for PowerPC32.
7020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7021 file: multiarch llroundf for PowerPC32.
7022
c9b5d79e
AZ
7023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7024 multiarch PowerPC32 fpu implementations.
7025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7026 New file.
7027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7028 New file.
7029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7030 multiarch llrint for PowerPC32.
7031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7032 New file.
7033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7034 New file.
7035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7036 file.
7037
9cbb3aab
AZ
7038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7039
ea5a72f8
AZ
7040 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7041 file.
7042 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7043 file.
7044 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7045 file.
7046 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7047 multiarch wordcopy for PPC32.
7048 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7049 wordcopy objects.
7050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7051 (__libc_ifunc_impl_list): Likewise.
7052 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7053 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7054 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7055 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7056 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7057 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7058
93be09e7
AZ
7059 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7060 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7061 file.
7062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7063 file.
7064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7065 file.
7066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7067 multiarch wcscpy for PPC32.
7068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7069 multiarch objects.
7070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7071 (__libc_ifunc_impl_list): Likewise.
7072 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7073 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7074 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7075 sysdeps/powerpc/power6/wcscpy.c.
7076
bb04e529
AZ
7077 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7079 file.
7080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7081 file.
7082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7083 file.
7084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7085 multiarch wcsrchr for PPC32.
7086 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7087 multiarch objects.
7088 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7089 (__libc_ifunc_impl_list): Likewise.
7090 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7091 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7092 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7093 sysdeps/powerpc/power6/wcsrchr.c.
7094
05b5cd1c
AZ
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7096 file.
7097 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7098 file.
7099 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7101 multiarch wcschr for PPc32.
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7103 multiarch objects.
7104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7105 (__libc_ifunc_impl_list): Likewise.
7106 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7107 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7108 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7109 sysdeps/powerpc/power6/wcschr.c.
7110
ba964147
AZ
7111 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7112 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7113 file.
7114 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7115 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7116 file: multiarch strchr for PPC32.
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7118 multiarch objects.
7119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7120 (__libc_ifunc_impl_list): Likewise.
7121
31c81aaa
AZ
7122 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7123 name.
7124 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7125 file.
7126 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7127 file.
7128 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7129 multiarch strchrnul for PPC32.
7130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7131 multiarch objects.
7132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7133 (__libc_ifunc_impl_list): Likewise.
7134
0d0607d9
AZ
7135 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7136 file.
7137 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7138 multiarch strncasecmp for PPC32.
7139 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7140 file.
7141 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7142 multiarch strncasecmp_l for PPC32.
7143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7144 strncasecmp multiarch objects.
7145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7146 (__libc_ifunc_impl_list): Likewise.
7147
4dfd5c86
AZ
7148 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7149 file.
7150 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7151 multiarch strncasecmp for PPC32.
7152 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7153 New file.
7154 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7155 multiarch strcasecmp_l for PPC32.
7156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7157 multiarch objects.
7158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7159 (__libc_ifunc_impl_list): Likewise.
7160
a19e01a3
AZ
7161 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7162 file.
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7164 file.
7165 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7166 multiarch strncmp for PPC32.
7167 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7168 multiarch objects.
7169 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7170 (__libc_ifunc_impl_list): Likewise.
7171
ae9cf7a2
AZ
7172 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7173 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7174 file.
7175 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7176 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7178 multiarch objects.
7179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7180 (__libc_ifunc_impl_list): Likewise.
7181
3148bb7d
AZ
7182 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7183 file.
7184 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7185 file.
7186 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7188 multiarch objects.
7189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7190 (__libc_ifunc_impl_list): Likewise.
7191
7af8b946
AZ
7192 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7193 file.
7194 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7195 file.
7196 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7197 multiarch rawmemchr for PPC32.
7198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7199 multiarch objects.
7200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7201 (__libc_ifunc_impl_list): Likewise.
7202
03a6aa6a
AZ
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7204 file.
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7206 file.
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7208 file: memrchr multiarch for PPC32.
7209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7210 multiarch objects.
7211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7212 (__libc_ifunc_impl_list): Likewise.
7213
1c62e6d9
AZ
7214 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7215 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7216 file.
7217 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7218 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7219 multiarch memchr for PPC32.
7220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7221 multiarch objects.
7222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7223 (__libc_ifunc_impl_list): Likewise.
7224
87da8bdb
AZ
7225 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7226 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7227 file.
7228 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7229 file.
7230 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7231 file: multiarch mempcpy for PPC32.
7232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7233 multiarch objects.
7234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7235 (__libc_ifunc_impl_list): Likewise.
7236
20ed4714
AZ
7237 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7238 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7239 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7240 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7241 multiarch bzero for PPC32.
7242 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7243 file.
7244 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7245 file.
7246 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7247 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7248 file: multiarch memset for PPC32.
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7250 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7251 memset multiarch objects.
7252 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7253 (__libc_ifunc_impl_list): Likewise.
7254
ab3e3a46
AZ
7255 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7256 file.
7257 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7258 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7259 memcmp for PPC32.
7260 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7261 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7262 multiarch objects.
7263 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7264 (__libc_ifunc_impl_list): Likewise.
7265
930de6f0
AZ
7266 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7267 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7268 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7269 file.
7270 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7271 file.
7272 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7273 file.
7274 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7275 multiarch memcpy for PPC32.
7276 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7277 multiarch objects.
7278 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7279 (__libc_ifunc_impl_list): Likewise.
7280
4c628e00
AZ
7281 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7282 support multiarch for POWER/PPC32.
7283 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7284 Likewise.
7285 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7287 Implies file to make multiarch folder appers before the fpu and
7288 default folder for power4 configuration.
7289
f4479220
SP
72902013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7291
7292 * scripts/bench.pl: Append volatile keyword to type.
7293
8517800f
KK
72942013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7295
7296 * sysdeps/sh/sotruss-lib.c: New file.
7297 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7298
180138f1
AZ
72992013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7300
7301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7302
bbf37bdc
JM
73032013-12-05 Joseph Myers <joseph@codesourcery.com>
7304
e47cc4e0
JM
7305 [BZ #6810]
7306 * math/w_tgamma.c: Include <errno.h>.
7307 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7308 * math/w_tgammaf.c: Include <errno.h>.
7309 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7310 * math/w_tgammal.c: Include <errno.h>.
7311 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7312 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7313 underflow. Add more tgamma tests.
7314 * math/auto-libm-test-out: Regenerated.
7315 * sysdeps/i386/fpu/libm-test-ulps: Update.
7316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7317
bbf37bdc
JM
7318 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7319 sin, sinh, tan, tanh, tgamma, y0 and y1.
7320 * math/auto-libm-test-out: Regenerated.
7321 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7322 (TEST_COND_x86): Likewise.
7323 (M_E2l): Remove macro.
7324 (M_E3l): Likewise.
7325 (M_2_SQRT_PIl): Likewise.
7326 (M_SQRT_PIl): Likewise.
7327 (M_1_DIV_El): Likewise.
7328 (log_test_data): Use AUTO_TESTS_f_f.
7329 (log10_test_data): Likewise.
7330 (log1p_test_data): Likewise.
7331 (log2_test_data): Likewise.
7332 (sin_test_data): Likewise.
7333 (sin_tonearest_test_data): Likewise.
7334 (sin_towardzero_test_data): Likewise.
7335 (sin_downward_test_data): Likewise.
7336 (sin_upward_test_data): Likewise.
7337 (sinh_test_data): Likewise.
7338 (sinh_tonearest_test_data): Likewise.
7339 (sinh_towardzero_test_data): Likewise.
7340 (sinh_downward_test_data): Likewise.
7341 (sinh_upward_test_data): Likewise.
7342 (tan_test_data): Likewise.
7343 (tan_tonearest_test_data): Likewise.
7344 (tan_towardzero_test_data): Likewise.
7345 (tan_downward_test_data): Likewise.
7346 (tan_upward_test_data): Likewise.
7347 (tanh_test_data): Likewise.
7348 (tgamma_test_data): Likewise.
7349 (y0_test_data): Likewise.
7350 (y1_test_data): Likewise.
7351 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7352 (special_real_inputs): Add pi/4.
7353 * sysdeps/i386/fpu/libm-test-ulps: Update.
7354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7355
eb5ad6b9
AZ
73562013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7357
7358 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7359 "longjmp_target" static probes.
7360 (__longjmp): Rename to __longjmp_symbol.
7361 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7362 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7363 on which longjmp to generate.
7364 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7365 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7366 probe.
7367 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7368 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7369 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7370 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7371 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7372 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7374 __longjmp_symbol based on which __longjmp to generate.
7375 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7376 probe.
7377 (setjmp): Rename to setjmp_symbol.
7378 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7379 (_setjmp): Rename to _setjmp_symbol.
7380 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7381 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7382 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7383 which setjmp to generate.
7384 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7385 "longjmp_target" static probes.
7386
d136c6dc
SP
73872013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7388
9298ecba
SP
7389 * benchtests/README: Add note about output arguments.
7390 * benchtests/bench-sincos.c: Remove file.
7391 * benchtests/sincos-inputs: New file.
7392 * scripts/bench.pl: Identify output arguments and define
7393 static variables for them.
7394
232983e9
SP
7395 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7396
d136c6dc
SP
7397 [BZ #15941]
7398 * Makefile (INSTALL): Add install-plain.texi as the primary
7399 dependency.
7400 * manual/install-plain.texi: New file.
7401 * manual/install.texi: Include node directive only for
7402 non-plaintext output.
7403
699ff837
JM
74042013-12-04 Joseph Myers <joseph@codesourcery.com>
7405
ab07cea8
JM
7406 * stdlib/longlong.h: Update from GCC.
7407
699ff837
JM
7408 [BZ #6807]
7409 [BZ #15901]
7410 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7411 * math/w_j0f.c (y0f): Likewise.
7412 * math/w_j0l.c (__y0l): Likewise.
7413 * math/w_j1.c (y1): Likewise.
7414 * math/w_j1f.c (y1f): Likewise.
7415 * math/w_j1l.c (__y1l): Likewise
7416 * math/w_jn.c (yn): Likewise.
7417 * math/w_jnf.c (ynf): Likewise.
7418 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7419 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7420 value for Bessel function domain errors outside _SVID_ mode.
7421 Adjust sign of return value for yn (negative integer, 0).
7422 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7423 by zero in return for negative x and set sign appropriately for
7424 negative n.
7425 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7426 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7427 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7428 expectations in error cases.
7429 (y1_test_data): Likewise.
7430 (yn_test_data): Likewise.
7431 * sysdeps/i386/fpu/libm-test-ulps: Update.
7432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7433
5b118558
UW
74342013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7435
7436 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7437 "64" to "64-v1". Add "64-v2".
7438 (abi-64-options): Rename to ...
7439 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7440 (abi-64-condition): Rename to ...
7441 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7442 (abi-64-ld-soname): Rename to ...
7443 (abi-64-v1-ld-soname): ... this.
7444 (abi-64-v2-options): Define.
7445 (abi-64-v2-condition): Likewise.
7446 (abi-64-v2-ld-soname): Likewise.
7447 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7448 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7452
61cd8fe4
UW
74532013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7454 Alan Modra <amodra@gmail.com>
7455
7456 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7457 New versions for use with the ELFv2 ABI.
7458 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7459 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7460 declaration.
7461 (struct La_ppc64v2_retval): Likewise.
7462 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7463 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7464 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7465 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7466 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7467 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7468 Do not save or restore CR.
7469 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7470 (_dl_profile_resolve): Do no save or restore CR. Support extended
7471 return values for ELFv2 ABI. Fix location of FPR return registers.
7472 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7473 updated values for _CALL_ELF == 2.
7474 (La_regs, La_retval, int_retval): Likewise.
7475
8b8a692c
UW
74762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7477
7478 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7479 (FRAME_MIN_SIZE_PARM): Likewise.
7480 (FRAME_BACKCHAIN): Likewise.
7481 (FRAME_CR_SAVE): Likewise.
7482 (FRAME_LR_SAVE): Likewise.
7483 (FRAME_TOC_SAVE): Likewise.
7484 (FRAME_PARM_SAVE): Likewise.
7485 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7486 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7487 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7488 (call_mcount_parm_offset): New macro.
7489 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7490 (PROF): Use symbolic stack frame offsets.
7491 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7492 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7493 Redefine in terms of FRAME_MIN_SIZE.
7494 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7495 (_dl_profile_resolve): Likewise. Update comment.
7496 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7497 symbols stack frame offsets.
7498 (__sigsetjmp): Likewise.
7499 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7500 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7501 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7502 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7503
7504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7505 (FRAME_BACKCHAIN): Remove.
7506 (FRAME_CR_SAVE): Likewise.
7507 (FRAME_LR_SAVE): Likewise.
7508 (FRAME_COMPILER_DW): Likewise.
7509 (FRAME_LINKER_DW): Likewise.
7510 (FRAME_TOC_SAVE): Likewise.
7511 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
7512 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7513 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7514 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
7515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7516 (CHECK_SP): Use symbolic stack frame offsets.
7517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7518 zone" instead of caller's parameter save area for temp storage.
7519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7520 Likewise. Also, use symbolic stack frame offsets.
7521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7522 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7523 our own stack frame instead of the caller's.
7524 (__socket): Use symbolic stack frame offsets.
7525
122b66de
UW
75262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7527 Alan Modra <amodra@gmail.com>
7528
7529 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7530 Define.
57f41c40
AS
7531 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7532 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
7533 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7534 New function.
7535 (elf_machine_fixup_plt): Call it.
7536 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7537 reloc arguments.
7538 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
7539 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7540 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7541 r2 before calling target.
7542
696caf1d
UW
75432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7544 Alan Modra <amodra@gmail.com>
7545
7546 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7547 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7548 versions of macros to support ELFv2 ABI.
7549 (LOCALENTRY): New macro.
7550 (ENTRY, EALIGN): Use it.
7551 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7552 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7553 fall through into ENTRY entry point.
7554 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7555 Only define if _CALL_ELF != 2.
7556
7557 (elf_machine_matches_host): Verify ABI version matches.
7558 (RTLD_START): Use LOCALENTRY.
7559 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7560 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7561 (PLT_ENTRY_WORDS): New macro.
7562 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7563 (elf_machine_runtime_setup): Support ELFv2 ABI.
7564 (elf_machine_fixup_plt): Likewise.
7565 (elf_machine_plt_conflict): Likewise.
7566 (resolve_ifunc): Likewise.
7567 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7568 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7569 Likewise.
7570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7571 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7573 (makecontext): Support ELFv2 ABI.
7574 * elf/elf.h (EF_PPC64_ABI): Define.
7575
d31beafa
UW
75762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7577
57f41c40
AS
7578 * sysdeps/powerpc/powerpc64/sysdep.h
7579 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7580 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7581 (ENTRY) [ASSEMBLER]: ... but instead here ...
7582 (EALIGN) [ASSEMBLER]: ... and here.
7583 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7584 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7585 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
7586 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7587 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
7588 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7589 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
7590 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7592 Use PPC64_LOAD_FUNCPTR.
7593
b525166b
UW
7594 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7595
7ec07d9a
AM
75962013-12-04 Alan Modra <amodra@gmail.com>
7597
7598 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7599 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7600 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7601 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7602
7603 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7604 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7605 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7606 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7607 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7608 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7609
5162e7dd
UW
76102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7611
7612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7613 (__makecontext): Fix incorrect CFI when backtracing out of
7614 context created via makecontext.
7615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7616 (__setcontext): Fix incorrect CFI during switch to new context.
7617 (__novec_setcontext): Likewise.
7618
19e3372b
OB
76192013-12-04 Ondřej Bílka <neleai@seznam.cz>
7620
7621 [BZ #4772]
7622 * time/strptime_l.c (__strptime_internal): Allow modifiers
7623 in strptime.
7624 * time/tst-strptime.c (day_tests): Add testcase.
7625
ecaf142d
SP
76262013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7627
7628 * scripts/bench.pl: Skip over blank lines.
7629
fbf964ae
PE
76302013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7631
7632 [BZ #926]
7633 * manual/time.texi (Calendar Time): Clarify what timezone functions
7634 use.
7635
fa60a674
AZ
76362013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7637
7638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7639
d674f0ef
OB
76402013-12-04 Ondřej Bílka <neleai@seznam.cz>
7641
7642 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7643 implementation.
7644 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7645 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7646 * debug/memset_chk.c (__memset_chk): Likewise.
7647 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7648 * debug/strncpy_chk.c: Likewise.
7649
17dea188
JM
76502013-12-03 Joseph Myers <joseph@codesourcery.com>
7651
749008ff
JM
7652 [BZ #15268]
7653 [BZ #15425]
7654 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7655 (__ieee754_exp): For possibly underflowing results, check size of
7656 result and force underflow exception if required.
7657 * math/auto-libm-test-in: Add more tests of exp.
7658 * math/auto-libm-test-out: Regenerated.
7659 * sysdeps/i386/fpu/libm-test-ulps: Update.
7660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7661
17dea188
JM
7662 [BZ #16283]
7663 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7664 * math/w_exp2f.c (__exp2f): Likewise.
7665 * math/w_exp2l.c (__exp2l): Likewise.
7666 * math/auto-libm-test-in: Do not allow missing errno on exp2
7667 underflow.
7668 * math/auto-libm-test-out: Regenerated.
7669
b20de2c3
OB
76702013-12-03 Ondřej Bílka <neleai@seznam.cz>
7671
7672 [BZ #16274]
7673 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7674 handle filename validation.
7675 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7676 (do_open): Delete.
7677
d8e2dbe3
JM
76782013-12-03 Joseph Myers <joseph@codesourcery.com>
7679
34e16df5
JM
7680 [BZ #6786]
7681 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7682 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7683 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7684 <float.h>.
7685 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7686 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7687 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7688 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7689 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7690 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7691 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7692 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7693 Add more erfc tests.
7694 * math/auto-libm-test-out: Regenerated.
7695 * sysdeps/i386/fpu/libm-test-ulps: Update.
7696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7697
d8e2dbe3
JM
7698 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7699 exp2, expm1, j0 and j1.
7700 * math/auto-libm-test-out: Regenerated.
7701 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7702 (erfc_test_data): Likewise.
7703 (exp_test_data): Likewise.
7704 (exp_tonearest_test_data): Likewise.
7705 (exp_towardzero_test_data): Likewise.
7706 (exp_downward_test_data): Likewise.
7707 (exp_upward_test_data): Likewise.
7708 (exp10_test_data): Likewise.
7709 (exp2_test_data): Likewise.
7710 (expm1_test_data): Likewise.
7711 (j0_test_data): Likewise.
7712 (j1_test_data): Likewise.
7713 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7714 (input_flag_type): Add flag_xfail_rounding.
7715 (input_flags): Add xfail-rounding.
7716 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7717 (output_for_one_input_case): Handle flag_xfail_rounding.
7718 * sysdeps/i386/fpu/libm-test-ulps: Update.
7719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7720
18d14251
AJ
77212013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7722
3d2e6075 7723 [BZ #16289]
18d14251
AJ
7724 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7725 division by 0.
7726
520d437b
SP
77272013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7728
7729 [BZ #16195]
7730 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7731 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7732 (STAP_PROBE0): New macro.
7733 (STAP_PROBE1): Likewise.
7734 (STAP_PROBE2): Likewise.
7735 (STAP_PROBE3): Likewise.
7736 (STAP_PROBE4): Likewise.
7737
416e0145
OB
77382013-12-02 Ondřej Bílka <neleai@seznam.cz>
7739
7740 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7741
9d17796a
SE
77422013-12-02 Steve Ellcey <sellcey@mips.com>
7743
7744 * benchtests/Makefile (bench): Add sqrt.
7745 (LDLIBS-bench-sqrt): New.
7746 * benchtests/sqrt-input: New.
7747
f524d6a8
PS
77482013-12-02 Pavel Simerda <psimerda@redhat.com>
7749
639a0ef8
PS
7750 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7751 (GAIH_EAI): Likewise.
7752 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7753 (gaih_inet): Likewise.
7754 (getaddrinfo): Don't use GAIH_EAI.
7755
f524d6a8
PS
7756 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7757 (struct gaih): Remove definition.
7758
df3aedaf
SP
77592013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7760
7761 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7762 Use HERRNOP directly.
7763
1ab19dec
AZ
77642013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7765
b42ad38d 7766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7767
176b0c79
JM
77682013-11-30 Joseph Myers <joseph@codesourcery.com>
7769
7770 * math/gen-auto-libm-tests.c (test_functions): Add more
7771 single-argument functions.
7772 (special_fill_pi_2): New function.
7773 (special_fill_minus_pi_2): Likewise.
7774 (special_fill_pi_6): Likewise.
7775 (special_fill_minus_pi_6): Likewise.
7776 (special_fill_pi_3): Likewise.
7777 (special_fill_2pi_3): Likewise.
7778 (special_fill_e): Likewise.
7779 (special_fill_1_e): Likewise.
7780 (special_fill_e_minus_1): Likewise.
7781 (special_real_inputs): Add more special inputs.
7782 (output_for_one_input_case): Do not require ERANGE on underflow to
7783 zero if round-to-nearest result does not underflow to zero, unless
7784 exact results required.
7785 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7786 atan, atanh, cbrt, cos and cosh.
7787 * math/auto-libm-test-out: Regenerated.
7788 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7789 (acos_tonearest_test_data): Likewise.
7790 (acos_towardzero_test_data): Likewise.
7791 (acos_downward_test_data): Likewise.
7792 (acos_upward_test_data): Likewise.
7793 (acosh_test_data): Likewise.
7794 (asin_test_data): Likewise.
7795 (asin_tonearest_test_data): Likewise.
7796 (asin_towardzero_test_data): Likewise.
7797 (asin_upward_test_data): Likewise.
7798 (asinh_test_data): Likewise.
7799 (atan_test_data): Likewise.
7800 (atanh_test_data): Likewise.
7801 (cbrt_test_data): Likewise.
7802 (cos_test_data): Likewise.
7803 (cos_tonearest_test_data): Likewise.
7804 (cos_towardzero_test_data): Likewise.
7805 (cos_downward_test_data): Likewise.
7806 (cos_upward_test_data): Likewise.
7807 (cosh_test_data): Likewise.
7808 (cosh_tonearest_test_data): Likewise.
7809 (cosh_towardzero_test_data): Likewise.
7810 (cosh_downward_test_data): Likewise.
7811 (cosh_upward_test_data): Likewise.
7812 * sysdeps/i386/fpu/libm-test-ulps: Update.
7813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7814
ffb536d0
JM
78152013-11-29 Joseph Myers <joseph@codesourcery.com>
7816
2a77a467
JM
7817 [BZ #6787]
7818 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7819 * math/w_exp10f.c (__exp10f): Likewise.
7820 * math/w_exp10l.c (__exp10l): Likewise.
7821 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7822 errno settings in existing tests.
7823
ea3bc4e8
JM
7824 [BZ #14032]
7825 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7826 precision control set to double precision.
7827 * sysdeps/i386/fpu/w_sqrt.c: New file.
7828 * math/auto-libm-test-in: Add more tests.
7829 * math/auto-libm-test-out: Update.
7830
0712c9d8
JM
7831 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7832 (sqrt_test_tonearest): New function.
7833 (sqrt_towardzero_test_data): New variable.
7834 (sqrt_test_towardzero): New function.
7835 (sqrt_downward_test_data): New variable.
7836 (sqrt_test_downward): New function.
7837 (sqrt_upward_test_data): New variable.
7838 (sqrt_test_upward): New function.
7839 (main): Call the new functions.
7840
ffb536d0
JM
7841 * math/gen-auto-libm-tests.c: New file.
7842 * math/auto-libm-test-in: Likewise.
7843 * math/auto-libm-test-out: New generated file.
7844 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7845 variables.
7846 (%beautify): Add generated representations of zero.
7847 (top level): Set $auto_input and call parse_auto_input.
7848 (beautify): Remove trailing "f" from hex float constants.
7849 (parse_args): Handle XFAIL_TEST.
7850 (convert_condition): New function.
7851 (or_value): Likewise.
7852 (or_cond_value): Likewise.
7853 (generate_testfile): Handle AUTO_TESTS_* lines.
7854 (parse_auto_input): New function.
7855 * math/libm-test.inc (XFAIL_TEST): New macro.
7856 (ERRNO_UNCHANGED): Update value.
7857 (ERRNO_EDOM): Likewise.
7858 (ERRNO_ERANGE): Likewise.
7859 (IGNORE_RESULT): Likewise.
7860 (TEST_COND_flt_32): New macro.
7861 (TEST_COND_dbl_64): Likewise.
7862 (TEST_COND_ldbl_96_intel): Likewise.
7863 (TEST_COND_ldbl_96_m68k): Likewise.
7864 (TEST_COND_ldbl_128): Likewise.
7865 (TEST_COND_ldbl_128ibm): Likewise.
7866 (TEST_COND_long32): Likewise.
7867 (TEST_COND_long64): Likewise.
7868 (TEST_COND_before_rounding): Likewise.
7869 (TEST_COND_after_rounding): Likewise.
7870 (enable_test): Handle XFAIL_TEST flag.
7871 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7872 with finite results.
7873 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7874 auto-libm-test-out.
7875
acd98a8e
AK
78762013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7877 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7878
7879 [BZ #16214]
7880 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7881 __tls_get_addr_internal instead of __tls_get_offset in order to
7882 avoid GOT pointer dependency. Make rtld export
7883 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7884 __tls_get_addr since we are a __tls_get_offset platform.
7885 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7886 GOT pointer being set up before.
7887 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7888
3c1c46a6
JM
78892013-11-28 Joseph Myers <joseph@codesourcery.com>
7890
7475aef5
JM
7891 * manual/math.texi (Errors in Math Functions): Document accuracy
7892 goals.
7893
8bca7cd8
JM
7894 [BZ #15004]
7895 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7896 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7897 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7898 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7899 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7901 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7902 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7903 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7904 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7905 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7911
91a1f3fe
JM
7912 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7913 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7914 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7915 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7916 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7917 Likewise.
7918 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7919 Likewise.
7920 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7921 Likewise.
7922 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7923 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7924 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7925 atomic-feupdateenv and flt-rounds.
7926 * sysdeps/powerpc/nofpu/Versions (libc): Add
7927 __atomic_feholdexcept, __atomic_feclearexcept,
7928 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7929 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7930 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7931 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7932 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7933 here.
7934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7935 Update.
7936
c5df7609
JM
7937 * manual/arith.texi (FP Exceptions): Document that exceptions may
7938 not be raised when matherr is used.
7939 (Math Error Reporting): Document overflow in directed rounding
7940 modes. Document that errno may not be set when finite values are
7941 returned on overflow. Document intent to set errno on underflow
7942 only for underflow to zero.
7943
3c1c46a6
JM
7944 [BZ #16271]
7945 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7946 round-to-nearest then adjust result for other rounding modes.
7947 * include/fenv.h (fegetround): Use libm_hidden_proto.
7948 * math/fegetround.c (fegetround): Use libm_hidden_def.
7949 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7950 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7951 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7952 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7953 Likewise.
7954 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7955 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7956 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7957 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7958
5a4c6d53
SP
79592013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7960
7961 [BZ #16077]
7962 * nss/Versions (libnss_files): Add
7963 _nss_files_gethostbyname3_r.
7964 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7965 New function.
7966 (HOST_DB_LOOKUP): Remove macro.
7967 (_nss_files_gethostbyname_r): Implement function without the
7968 HOST_DB_LOOKUP macro.
7969 (_nss_files_gethostbyname2_r): Likewise.
7970
897b98ba
OB
79712013-11-28 Ondřej Bílka <neleai@seznam.cz>
7972
7973 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7974
6f476861
UB
79752013-11-26 Uros Bizjak <ubizjak@gmail.com>
7976
7977 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7978 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7979 warning.
7980
bd12ab55
AZ
79812013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7982
7983 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7984 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7985 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7986 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7987 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7988 __fe_nomask_env_priv and attribute_hidden.
7989 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7990 (libc_feupdateenv_test_ppc): Likewise.
7991 (libc_feresetround_ppc): Likewise.
7992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7993 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7994 compat_symbol macro.
7995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7996 (__fe_nomask_env): Likewise.
7997 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7998
52bb6543
OB
79992013-11-26 Ondřej Bílka <neleai@seznam.cz>
8000
8001 * string/Makefile: Remove ifunc tests.
8002 * string/test-string.h: Define TEST_IFUNC.
8003 * string/test-bcopy-ifunc.c: Remove.
8004 * string/test-bzero-ifunc.c: Likewise.
8005 * string/test-memccpy-ifunc.c: Likewise.
8006 * string/test-memchr-ifunc.c: Likewise.
8007 * string/test-memcmp-ifunc.c: Likewise.
8008 * string/test-memcpy-ifunc.c: Likewise.
8009 * string/test-memmem-ifunc.c: Likewise.
8010 * string/test-memmove-ifunc.c: Likewise.
8011 * string/test-mempcpy-ifunc.c: Likewise.
8012 * string/test-memrchr-ifunc.c: Likewise.
8013 * string/test-memset-ifunc.c: Likewise.
8014 * string/test-rawmemchr-ifunc.c: Likewise.
8015 * string/test-stpcpy-ifunc.c: Likewise.
8016 * string/test-stpncpy-ifunc.c: Likewise.
8017 * string/test-strcasecmp-ifunc.c: Likewise.
8018 * string/test-strcasestr-ifunc.c: Likewise.
8019 * string/test-strcat-ifunc.c: Likewise.
8020 * string/test-strchr-ifunc.c: Likewise.
8021 * string/test-strchrnul-ifunc.c: Likewise.
8022 * string/test-strcmp-ifunc.c: Likewise.
8023 * string/test-strcpy-ifunc.c: Likewise.
8024 * string/test-strcspn-ifunc.c: Likewise.
8025 * string/test-strlen-ifunc.c: Likewise.
8026 * string/test-strncasecmp-ifunc.c: Likewise.
8027 * string/test-strncat-ifunc.c: Likewise.
8028 * string/test-strncmp-ifunc.c: Likewise.
8029 * string/test-strncpy-ifunc.c: Likewise.
8030 * string/test-strnlen-ifunc.c: Likewise.
8031 * string/test-strpbrk-ifunc.c: Likewise.
8032 * string/test-strrchr-ifunc.c: Likewise.
8033 * string/test-strspn-ifunc.c: Likewise.
8034 * string/test-strstr-ifunc.c: Likewise.
8035
ab260039 80362013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
8037
8038 * benchtests/Makefile: Remove ifunc tests.
8039 * benchtests/bench-string.h: Define TEST_IFUNC.
8040 * benchtests/bench-bcopy-ifunc.c: Remove.
8041 * benchtests/bench-bzero-ifunc.c: Likewise.
8042 * benchtests/bench-memccpy-ifunc.c: Likewise.
8043 * benchtests/bench-memchr-ifunc.c: Likewise.
8044 * benchtests/bench-memcmp-ifunc.c: Likewise.
8045 * benchtests/bench-memcpy-ifunc.c: Likewise.
8046 * benchtests/bench-memmem-ifunc.c: Likewise.
8047 * benchtests/bench-memmove-ifunc.c: Likewise.
8048 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8049 * benchtests/bench-memrchr-ifunc.c: Likewise.
8050 * benchtests/bench-memset-ifunc.c: Likewise.
8051 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8052 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8053 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8054 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8055 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8056 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8057 * benchtests/bench-strcat-ifunc.c: Likewise.
8058 * benchtests/bench-strchr-ifunc.c: Likewise.
8059 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8060 * benchtests/bench-strcmp-ifunc.c: Likewise.
8061 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8062 * benchtests/bench-strcpy-ifunc.c: Likewise.
8063 * benchtests/bench-strcspn-ifunc.c: Likewise.
8064 * benchtests/bench-strlen-ifunc.c: Likewise.
8065 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8066 * benchtests/bench-strncat-ifunc.c: Likewise.
8067 * benchtests/bench-strncmp-ifunc.c: Likewise.
8068 * benchtests/bench-strncpy-ifunc.c: Likewise.
8069 * benchtests/bench-strnlen-ifunc.c: Likewise.
8070 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8071 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 8072 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
8073 * benchtests/bench-strspn-ifunc.c: Likewise.
8074 * benchtests/bench-strstr-ifunc.c: Likewise.
8075
80762013-11-26 Ondřej Bílka <neleai@seznam.cz>
8077
ab260039
OB
8078 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8079
d1d9eaf4 80802013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 8081
d1d9eaf4
OB
8082 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8083 * rt/aio.h: Likewise.
8084 * sysdeps/gnu/bits/utmp.h: Likewise.
8085 * sysdeps/gnu/bits/utmpx.h: Likewise.
8086 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8087 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8088 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8089 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8090 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8091 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8092 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8093 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8094 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8095 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8096 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8097 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8098 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8100 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8101 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8102 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8103 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8104 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8105 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8106 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8107 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8108 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8109 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8110 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8112 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8113 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8114 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8115 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8116 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8117 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8118 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8119 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8120 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8121 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8122 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8123 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8124 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8125 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8126 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8127 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8128
a7624ed9
CD
81292013-11-25 Carlos O'Donell <carlos@redhat.com>
8130
8131 [BZ #16245]
8132 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8133 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8134
63cfe52b
JM
81352013-11-25 Joseph Myers <joseph@codesourcery.com>
8136
8137 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8138 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8139 Likewise.
8140
41e8926a
AZ
81412013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8142
8143 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8144 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8145 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8146 (__fesetround): Remove define.
8147 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8148 rounding and exceptions handling.
8149 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8150 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8151 (__fe_nomask_env): Likewise.
8152 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8153 __fegetround instead of fegetround.
8154 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8155 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8156
6851bd4d
RM
81572013-11-21 Roland McGrath <roland@hack.frob.com>
8158
070906ff
RM
8159 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8160 it's there.
8161
6851bd4d
RM
8162 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8163
84ae135d
MI
81642013-11-21 Meador Inge <meadori@codesourcery.com>
8165
8166 [BZ #11157]
8167 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8168 (encrypt_r): Likewise.
8169 * malloc/obstack.h (obstack_free): Likewise.
8170 * posix/unistd.h (encrypt): Likewise.
8171
daf75146
GM
81722013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8173
8174 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8175 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8176 DL_CALL_DT_FINI() that call the functions directly.
8177 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8178 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8179 * elf/dl-fini.c: Likewise.
8180
10ad46bc
OB
81812013-11-20 Ondřej Bílka <neleai@seznam.cz>
8182
8183 * malloc/hooks.c (memalign_check): Add alignment rounding.
8184 * malloc/malloc.c (_mid_memalign): New function.
8185 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8186 Implement by calling _mid_memalign.
8187 * manual/probes.texi (Memory Allocation Probes): Remove
8188 memory_valloc_retry and memory_pvalloc_retry.
8189
f3fd2628
SP
81902013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8191
4712799f
SP
8192 * locale/programs/locarchive.c (open_archive): Add const
8193 qualifier to ARCHIVEFNAME and copy default fname to
8194 DEFAULT_FNAME.
8195
0417b20f
SP
8196 [BZ #15601]
8197 * libio/tst-widetext.input: Rename Oriya to Odia.
8198 * locale/iso-639.def: Likewise.
8199
f3fd2628
SP
8200 * manual/probes.texi (Mathematical Function Probes): Add
8201 documentation for sin, cos, asin and acos probes.
8202 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8203 (__sin32): Add slowasin probe.
8204 (__cos32): Add slowacos probe.
8205 (__mpsin): Add slowsin probe.
8206 (__mpcos): Add slowcos probe.
8207
73c1ce4f
JM
82082013-11-19 Joseph Myers <joseph@codesourcery.com>
8209
8210 [BZ #15483]
8211 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8212 thread-local __sim_exceptions_thread and global
8213 __sim_exceptions_global.
8214 (__sim_disabled_exceptions): Change to thread-local
8215 __sim_disabled_exceptions_thread and global
8216 __sim_disabled_exceptions_global.
8217 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8218 and global __sim_round_mode_global.
8219 (__simulate_exceptions): Use thread-local floating-point state and
8220 set global state from it as needed.
8221 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8222 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8223 __sim_round_mode_thread.
8224 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8225 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8226 and global __sim_exceptions_global.
8227 (__sim_disabled_exceptions): Change to thread-local
8228 __sim_disabled_exceptions_thread and global
8229 __sim_disabled_exceptions_global.
8230 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8231 and global __sim_round_mode_global.
8232 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8233 (SIM_SET_GLOBAL): Likewise.
8234 * sysdeps/powerpc/soft-fp/sfp-machine.h
8235 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8236 __sim_round_mode_thread.
8237 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8238 __sim_disabled_exceptions_thread.
8239 (__sim_exceptions): Change to __sim_exceptions_thread.
8240 (__sim_disabled_exceptions): Change to
8241 __sim_disabled_exceptions_thread.
8242 (__sim_round_mode): Change to __sim_round_mode_thread.
8243 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8244 thread-local floating-point state and set global state from it as
8245 needed.
8246 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8247 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8248 (__sim_disabled_exceptions): Remove extern declaration.
8249 (feenableexcept): Use thread-local floating-point state and set
8250 global state from it as needed.
8251 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8252 extern declaration.
8253 (__sim_disabled_exceptions): Likewise.
8254 (__sim_round_mode): Likewise.
8255 (__fegetenv): Use thread-local floating-point state.
8256 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8257 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8258 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8259 floating-point state and set global state from it as needed.
8260 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8261 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8262 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8263 Likewise.
8264 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8265 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8266 Likewise.
8267 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8268 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8269 Use __sim_round_mode_thread.
8270 * math/test-fenv-tls.c: New file.
8271 * math/Makefile (tests): Add test-fenv-tls.
8272 ($(objpfx)test-fenv-tls): Depend on
8273 $(common-objpfx)nptl/libpthread.so.
8274
b5449b12
AS
82752013-11-19 Andreas Schwab <schwab@suse.de>
8276
8277 * locale/programs/locale.c (show_info): Decode wordarray elements.
8278 * locale/categories.def (LC_MONETARY): Add element for
8279 _NL_MONETARY_CRNCYSTR.
8280 * locale/C-monetary.c (conversion_rate): New variable.
8281 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8282 element.
8283
e186536b
CM
82842013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8285
8286 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8287 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8288
5c349950
PP
82892013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8290
8291 * elf/Makefile (tst-auxv): New test.
8292 * elf/tst-auxv.c: New
8293 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8294
699df45b
JM
82952013-11-18 Joseph Myers <joseph@codesourcery.com>
8296
8297 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8298 (hidden_proto): Caller changed.
8299 (hidden_tls_proto): New macro.
8300 (libc_hidden_tls_proto): Likewise.
8301 (rtld_hidden_tls_proto): Likewise.
8302 (libm_hidden_tls_proto): Likewise.
8303 (libresolv_hidden_tls_proto): Likewise.
8304 (librt_hidden_tls_proto): Likewise.
8305 (libdl_hidden_tls_proto): Likewise.
8306 (libnss_files_hidden_tls_proto): Likewise.
8307 (libnsl_hidden_tls_proto): Likewise.
8308 (libnss_nisplus_hidden_tls_proto): Likewise.
8309 (libutil_hidden_tls_proto): Likewise.
8310
b7589107
OB
83112013-11-18 Ondřej Bílka <neleai@seznam.cz>
8312
8313 [BZ #10253]
8314 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8315 (decompose_rpath): Defer expansion to fillin_rpath.
8316 (_dl_init_paths): Pass linkmap to fillin_rpath.
8317
250c23bd
RS
83182013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8319
8320 * benchtests/Makefile: Add strsep.
8321 * benchtests/bench-strsep.c: New file: strsep benchtest.
8322 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8323
a7931fcf
AS
83242013-11-18 Andreas Schwab <schwab@suse.de>
8325
8326 * locale/programs/locale.c (show_info) [case byte]: Check for
8327 '\377' instead of '\177'.
8328 * locale/C-monetary.c (not_available): Always use "\377".
8329 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8330 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8331 detect unavailable sign_posn locale elements.
8332 * locale/localeconv.c (__localeconv): For grouping and
8333 mon_grouping handle "\177" and "\377" like no grouping.
8334 (INT_ELEM): New macro. Use it to set all numeric members.
8335 * locale/programs/ld-monetary.c (monetary_read)
8336 <tok_mon_grouping>: Normalize single -1 to the empty string.
8337 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8338 Likewise.
8339
728dab0e
OB
83402013-11-07 Ondřej Bílka <neleai@seznam.cz>
8341
8342 [BZ #16055]
8343 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8344 when we match (nil).
8345 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8346
66294491
JM
83472013-11-16 Joseph Myers <joseph@codesourcery.com>
8348
ce665817
JM
8349 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8350 (NO_TEST_INLINE): Update value.
8351 (ERRNO_UNCHANGED): Likewise.
8352 (ERRNO_EDOM): Likewise.
8353 (ERRNO_ERANGE): Likewise.
8354 (IGNORE_RESULT): Likewise.
8355 (check_float_internal): Check signs of NaN results if
8356 TEST_NAN_SIGN used.
8357 (check_complex): Pass TEST_NAN_SIGN flag through to second
8358 check_float_internal call.
8359 (copysign_test_data): Add tests with quiet NaNs as second
8360 argument. Use TEST_NAN_SIGN.
8361 (fabs_test_data): Add test of negative quiet NaN argument. Use
8362 TEST_NAN_SIGN.
8363 (signbit_test_data): Add tests of quiet NaN argument.
8364 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8365
ee1466a9
JM
8366 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8367 $ignore_result.
8368 (parse_args): Handle function results specified as IGNORE.
8369 * math/libm-test.inc (IGNORE_RESULT): New macro.
8370 (check_float_internal): Do not check numerical result if flag
8371 IGNORE_RESULT set.
8372 (check_complex): Pass through IGNORE_RESULT to second
8373 check_float_internal call.
8374 (check_int): Do not check numerical result if flag IGNORE_RESULT
8375 set.
8376 (check_long): Likewise.
8377 (check_bool): Likewise.
8378 (check_longlong): Likewise.
8379 (lrint_test_data): Add tests of infinite and NaN arguments.
8380 (lrint_tonearest_test_data): Likewise.
8381 (lrint_towardzero_test_data): Likewise.
8382 (lrint_downward_test_data): Likewise.
8383 (lrint_upward_test_data): Likewise.
8384 (llrint_test_data): Likewise.
8385 (llrint_tonearest_test_data): Likewise.
8386 (llrint_towardzero_test_data): Likewise.
8387 (llrint_downward_test_data): Likewise.
8388 (llrint_upward_test_data): Likewise.
8389 (lround_test_data): Likewise.
8390 (llround_test_data): Likewise.
8391
14407b7e
JM
8392 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8393 (ERRNO_UNCHANGED): Update value.
8394 (ERRNO_EDOM): Likewise.
8395 (ERRNO_ERANGE): Likewise.
8396 (NO_TEST_INLINE_FLOAT): New macro.
8397 (NO_TEST_INLINE_DOUBLE): Likewise.
8398 (enable_test): New function.
8399 (RUN_TEST_f_f): Check enable_test before running test.
8400 (RUN_TEST_2_f): Likewise.
8401 (RUN_TEST_fff_f): Likewise.
8402 (RUN_TEST_c_f): Likewise.
8403 (RUN_TEST_f_f1): Likewise.
8404 (RUN_TEST_fF_f1): Likewise.
8405 (RUN_TEST_fI_f1): Likewise.
8406 (RUN_TEST_ffI_f1): Likewise.
8407 (RUN_TEST_c_c): Likewise.
8408 (RUN_TEST_cc_c): Likewise.
8409 (RUN_TEST_f_i): Likewise.
8410 (RUN_TEST_f_i_tg): Likewise.
8411 (RUN_TEST_ff_i_tg): Likewise.
8412 (RUN_TEST_f_b): Likewise.
8413 (RUN_TEST_f_b_tg): Likewise.
8414 (RUN_TEST_f_l): Likewise.
8415 (RUN_TEST_f_L): Likewise.
8416 (RUN_TEST_fFF_11): Likewise.
8417 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8418 conditionals.
8419 (cosh_test_data): Likewise.
8420 (exp_test_data): Likewise.
8421 (expm1_test_data): Likewise.
8422 (hypot_test_data): Likewise.
8423 (pow_test_data): Likewise.
8424 (sinh_test_data): Likewise.
8425 (tanh_test_data): Likewise.
8426 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8427 flags argument.
8428
ca07f197
JM
8429 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8430 tests with quiet NaN input and output.
8431 (acosh_test_data): Likewise.
8432 (asin_test_data): Likewise.
8433 (asinh_test_data): Likewise.
8434 (atan_test_data): Likewise.
8435 (atanh_test_data): Likewise.
8436 (atan2_test_data): Likewise.
8437 (cbrt_test_data): Likewise.
8438 (cos_test_data): Likewise.
8439 (cosh_test_data): Likewise.
8440 (erf_test_data): Likewise.
8441 (erfc_test_data): Likewise.
8442 (exp_test_data): Likewise.
8443 (exp10_test_data): Likewise.
8444 (exp2_test_data): Likewise.
8445 (expm1_test_data): Likewise.
8446 (hypot_test_data): Likewise.
8447 (j0_test_data): Likewise.
8448 (j1_test_data): Likewise.
8449 (jn_test_data): Likewise.
8450 (lgamma_test_data): Likewise.
8451 (log_test_data): Likewise.
8452 (log10_test_data): Likewise.
8453 (log1p_test_data): Likewise.
8454 (log2_test_data): Likewise.
8455 (pow_test_data): Likewise.
8456 (scalb_test_data): Likewise.
8457 (sin_test_data): Likewise.
8458 (sincos_test_data): Likewise.
8459 (sinh_test_data): Likewise.
8460 (tan_test_data): Likewise.
8461 (tanh_test_data): Likewise.
8462 (tgamma_test_data): Likewise.
8463 (y0_test_data): Likewise.
8464 (y1_test_data): Likewise.
8465 (yn_test_data): Likewise.
8466
66294491
JM
8467 [BZ #16167]
8468 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8469 argument being NaN and avoid computations with second argument in
8470 that case.
8471 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8472 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8473 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8474
1820b143
CL
84752013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8476
8477 * locale/iso-639.def: Add Chitwani Tharu (the).
8478
714bd261
AS
84792013-11-14 Andreas Schwab <schwab@suse.de>
8480
8481 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8482 word instead of empty string.
8483
7ab44563
AZ
84842013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8485
8486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8487 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8489 (__fe_nomask_env): Likewise.
8490
e8470ea2
SE
84912013-11-13 Steve Ellcey <sellcey@mips.com>
8492
8493 * benchtests/bench-timing.h: Include time.h.
8494
17c1d9f0
L
84952013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8496
8497 [BZ #15997]
8498 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8499 to 3.4.0 for x32.
8500 * sysdeps/unix/sysv/linux/configure: Regenerated.
8501
9310c284
JM
85022013-11-13 Joseph Myers <joseph@codesourcery.com>
8503
8504 [BZ #16151]
8505 * stdlib/strtod_l.c (round_and_return): Do not consider
8506 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8507 exponent one less than half the least subnormal exponent.
8508 * stdlib/test-strtod-round-data: Add more tests.
8509 * stdlib/tst-strtod-round.c (tests): Regenerated.
8510
7a2ad8cf
AZ
85112013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8512
8513 [BZ #14143]
8514 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8515 (__fe_mask_env): Likewise.
8516 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8517 libm_hidden_proto and add function prototype.
8518 (__fe_mask_env): Add function prototype.
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8520 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8522 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8524 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8525
50727aa7
MS
85262013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8527
b2f386c1 8528 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8529 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8530
a615be46
MS
85312013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8532
8533 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8534 of htab_find_slot().
8535
7ddace62
DM
85362013-11-11 David S. Miller <davem@davemloft.net>
8537
8538 [BZ #16150]
8539 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8540 symbol in the non-vis3 case in static builds.
8541 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8542 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8543 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8544 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8545
9182aa67
JK
85462013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8547
8548 [BZ #387]
8549 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8550 it is empty.
8551
450a2e2d
AZ
85522013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8553
b2f386c1
SP
8554 * benchtests/Makefile: Add bench-strtod.
8555 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8556
8ec3f656
AS
85572013-11-11 Andreas Schwab <schwab@suse.de>
8558
8559 [BZ #16153]
8560 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8561 terminating NUL in key length.
8562
76a9b998
AZ
85632013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8564
8565 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8566 Add artificial ODP entry for vDSO symbol for PPC64.
8567 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8568 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8569
e4368156
OB
85702013-11-07 Ondřej Bílka <neleai@seznam.cz>
8571
8572 [BZ #15374]
8573 * nss/getent.c (services_keys): Recognize services starting with digit.
8574
8d6bb57c
DM
85752013-11-06 David S. Miller <davem@davemloft.net>
8576
8577 [BZ #15985]
8578 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8579 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8580
e256c421
WN
85812013-11-06 Will Newton <will.newton@linaro.org>
8582
8583 * manual/memory.texi (Malloc Examples): Remove register
8584 keyword from examples.
8585
f6e12daa 85862013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8587
f6e12daa 8588 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8589
9d880655
AS
85902013-11-04 Joseph Myers <joseph@codesourcery.com>
8591
fd2f9486 8592 [BZ #6981]
9d880655
AS
8593 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8594 depending on [__GCC_IEC_559 > 0].
8595 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8596 depending on [__GCC_IEC_559_COMPLEX > 0].
8597
ae129d3c
CL
85982013-11-03 Chris Leonard <cjl@sugarlabs.org>
8599
8600 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8601 to iso-639.def.
8602
4a15c2a4 86032013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8604
8605 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8606
8b35e35d
OB
86072013-11-01 Ondřej Bílka <neleai@seznam.cz>
8608
8609 [BZ #16112]
8610 * malloc/malloc (malloc_info): Do not handle first bin as
8611 special case.
8612
1d70fd6c
CL
86132013-11-01 Chris Leonard <cjl@sugarlabs.org>
8614
8615 * locale/iso-639.def: Add Central Nahuatl (nhn).
8616
8c5c2600
BH
86172013-11-01 Bruno Haible <bruno@clisp.org>
8618
8619 [BZ #7003]
8620 * manual/math.texi (BSD Random): Specify range upper bound as
8621 in POSIX.
8622
da5579c2
CL
86232013-10-31 Chris Leonard <cjl@sugarlabs.org>
8624
8625 * locale/iso-639.def: Add Meadow Mari (mhr).
8626
5d30d853
OB
86272013-10-31 Ondřej Bílka <neleai@seznam.cz>
8628
8629 [BZ #14752], [BZ #15763]
8630 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8631 Validate name.
8632 * rt/tst_shm.c: Add test for escaping directory.
8633
a4966c61
AS
86342013-10-31 Andreas Schwab <schwab@suse.de>
8635
8a43e768 8636 [BZ #15917]
a4966c61
AS
8637 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8638 followed by 'x' as part of digit sequence.
8639 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8640
28d708c4
MAP
86412013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8642
8643 [BZ #16037]
8644 * configure.ac: allow GNU Make 4.0 and greater.
8645 * configure: Regenerated.
8646
a56ee40b
WN
86472013-10-30 Will Newton <will.newton@linaro.org>
8648
8649 [BZ #16038]
8650 * malloc/hooks.c (memalign_check): Limit alignment to the
8651 maximum representable power of two.
8652 * malloc/malloc.c (__libc_memalign): Likewise.
8653 * malloc/tst-memalign.c (do_test): Add test for very
8654 large alignment values.
8655 * malloc/tst-posix_memalign.c (do_test): Likewise.
8656
c6e4925d
OB
86572013-10-30 Ondřej Bílka <neleai@seznam.cz>
8658
8659 [BZ #11087]
8660 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8661 (munmap_chunk): Likewise.
8662 (mremap_chunk): Likewise.
8663
86642013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8665
8a43e768 8666 [BZ #15799]
bbea82f7
OB
8667 * stdlib/div.c (div): Remove obsolete code.
8668 * stdlib/ldiv.c (ldiv): Likewise.
8669 * stdlib/lldiv.c (lldiv): Likewise.
8670
977f4b31
SP
86712013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8672
8673 [BZ #16071]
8674 * nss/nss_files/files-XXX.c (get_contents_ret): New
8675 enumerator.
8676 (get_contents): New function.
8677 (internal_getent): Use it. Expand size of LINEBUFLEN.
8678
cb8a6dbd
MF
86792013-10-30 Mike Frysinger <vapier@gentoo.org>
8680
8681 * configure.in: Moved to ...
8682 * configure.ac: ... here. Change reference to configure.in
8683 to configure.ac.
8684 * sysdeps/arm/preconfigure.ac: ... here.
8685 configure.in to configure.ac.
8686 * sysdeps/gnu/configure.in: Moved to ...
8687 * sysdeps/gnu/configure.ac: ... here.
8688 * sysdeps/i386/configure.in: Moved to ...
8689 * sysdeps/i386/configure.ac: ... here.
8690 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8691 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8692 * sysdeps/mach/configure.in: Moved to ...
8693 * sysdeps/mach/configure.ac: ... here.
8694 * sysdeps/mach/hurd/configure.in: Moved to ...
8695 * sysdeps/mach/hurd/configure.ac: ... here.
8696 * sysdeps/powerpc/configure.in: Moved to ...
8697 * sysdeps/powerpc/configure.ac: ... here.
8698 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8699 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8700 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8701 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8702 * sysdeps/s390/s390-32/configure.in: Moved to ...
8703 * sysdeps/s390/s390-32/configure.ac: ... here.
8704 * sysdeps/s390/s390-64/configure.in: Moved to ...
8705 * sysdeps/s390/s390-64/configure.ac: ... here.
8706 * sysdeps/sh/configure.in: Moved to ...
8707 * sysdeps/sh/configure.ac: ... here.
8708 * sysdeps/sparc/configure.in: Moved to ...
8709 * sysdeps/sparc/configure.ac: ... here.
8710 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8711 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8712 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8713 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8714 * sysdeps/x86_64/configure.in: Moved to ...
8715 * sysdeps/x86_64/configure.ac: ... here.
8716 * sysdeps/x86_64/preconfigure.in: Moved to ...
8717 * sysdeps/x86_64/preconfigure.ac: ... here.
8718 * aclocal.m4: Change reference to configure.in to configure.ac.
8719 * config.h.in: Likewise.
8720 * manual/install.texi: Likewise.
8721 * manual/maint.texi: Likewise.
8722 * Makefile: Likewise.
8723 * malloc/Makefile: Likewise.
8724 * nscd/Makefile: Likewise.
8725 * Makeconfig: Change reference to configure.in and
8726 preconfigure.in to configure.ac and preconfigure.ac
8727 respectively.
8728 * INSTALL: Regenerated.
8729 * configure: Likewise.
8730 * sysdeps/gnu/configure: Likewise.
8731 * sysdeps/i386/configure: Likewise.
8732 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8733 * sysdeps/mach/configure: Likewise.
8734 * sysdeps/mach/hurd/configure: Likewise.
8735 * sysdeps/powerpc/configure: Likewise.
8736 * sysdeps/powerpc/powerpc32/configure: Likewise.
8737 * sysdeps/powerpc/powerpc64/configure: Likewise.
8738 * sysdeps/s390/s390-32/configure: Likewise.
8739 * sysdeps/s390/s390-64/configure: Likewise.
8740 * sysdeps/sh/configure: Likewise.
8741 * sysdeps/sparc/configure: Likewise.
8742 * sysdeps/unix/sysv/linux/configure: Likewise.
8743 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8744 * sysdeps/x86_64/configure: Likewise.
8745 * sysdeps/x86_64/preconfigure: Likewise.
8746
36a4953a
AS
87472013-10-29 Andreas Schwab <schwab@suse.de>
8748
8749 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8750
c79a1204
SP
87512013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8752
dfa1b402
SP
8753 * benchtests/pow-inputs: Add new inputs.
8754
54f73d9c
SP
8755 * benchtests/exp-inputs: Add new inputs.
8756
c79a1204
SP
8757 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8758 conditional check for return value.
8759 (__cos32): Likewise.
8760
67beb545 87612013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8762
8763 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8764 to provide a boost for large inputs with word alignment.
8765 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8766 implementation based on optimized PPC64 strcpy.
8767 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8768 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8769 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8770 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8771
151659f6
OB
87722013-10-25 Ondřej Bílka <neleai@seznam.cz>
8773
482a077e 8774 [BZ #2801]
151659f6
OB
8775 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8776
10b0f26b
OB
87772013-10-25 Ondřej Bílka <neleai@seznam.cz>
8778
8779 [BZ #14876]
8780 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8781 * time/tst-strptime.c (day_tests): Add testcase.
8782
ca42d35e
OB
87832013-10-25 Ondřej Bílka <neleai@seznam.cz>
8784
482a077e 8785 [BZ #14029]
ca42d35e
OB
8786 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8787
52e6d801
FB
87882013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8789
8790 [BZ #16074]
8791 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8792 MAP_FAILED on error.
8793
7cbcdb36
SP
87942013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8795
8796 [BZ #16072]
8797 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8798 heap for large requests.
8799
894f3f10
AM
88002013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8801
8802 [BZ #9954]
8803 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8804 result if the result has no associated interface.
8805 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8806 interface for all 127.X.Y.Z addresses.
8807
b85545a6
CL
88082013-10-24 Chris Leonard <cjl@sugarlabs.org>
8809
8810 * locale/iso-639.def: Add Ligurian (lij)
8811
d1f23d46
OB
88122013-10-21 Ondřej Bílka <neleai@seznam.cz>
8813
8814 [BZ #15825]
8815 * sunrpc/rpc_main.c: Document rpcgen -5.
8816
4db5b08f
MS
88172013-10-19 Michael Stahl <mstahl@redhat.com>
8818
8819 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8820
a471e96a
OB
88212013-10-19 Ondřej Bílka <neleai@seznam.cz>
8822
d1f23d46 8823 [BZ #10278]
a471e96a
OB
8824 * posix/glob.c: Match only directories when trailing slash is present.
8825 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8826 (main): Add testcase.
8827
45c30c61
OB
88282013-10-19 Ondřej Bílka <neleai@seznam.cz>
8829
8830 [BZ #15670]
8831 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8832
484c12fb
CD
88332013-10-18 Carlos O'Donell <carlos@redhat.com>
8834
3d7dc513
CD
8835 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8836 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8837 AUTH_DES and cindex for FIPS 140-2.
8838 (DES Encryption): Add cindex FIPS 46-3.
8839
484c12fb
CD
8840 * locale/locarchive.h (struct locarhandle): Add fname.
8841 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8842 if an optional argument was specified to --list-archive,
8843 otherwise NULL.
8844 * locale/programs/locarchive.c (show_archive_content): Take new
8845 argument fname and pass it via ah.fname to open_archive.
8846 * locale/programs/localedef.h: Update decl.
8847 (open_archive): If AH->fname is non-null, open that file
8848 rather than the default file name, and don't ignore ENOENT.
8849 (create_archive): Set AH.fname to NULL.
8850 (delete_locales_from_archive): Likewise.
8851 (add_locales_to_archive): Likewise.
8852 * locale/programs/locfile.c (write_all_categories): Likewise.
8853
3c8325fb
JM
88542013-10-18 Joseph Myers <joseph@codesourcery.com>
8855 Aldy Hernandez <aldyh@redhat.com>
8856
8857 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8858 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8859 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8860 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8861 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8862 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8863 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8864 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8865 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8866 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8867 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8868 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8869 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8870 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8871 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8872 Likewise.
8873 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8874 Likewise.
8875 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8876 Likewise.
8877 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8878 Likewise.
8879 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8880 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8881 Likewise.
8882 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8883 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8884 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8885 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8886 Likewise.
8887 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8888 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8889 * sysdeps/powerpc/preconfigure: Likewise.
8890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8891 Likewise.
8892 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8893 Replace contents of file by #include of <fenv_libc.h>.
8894 * sysdeps/powerpc/soft-fp/sfp-machine.h
8895 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8896 and <sys/prctl.h>.
8897 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8898 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8899 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8900 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8901 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8902 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8903 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8904 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8905 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8906 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8907 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8908 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8910 Allow copysignl PLT reference to be missing.
8911
5abe0682
RS
89122013-10-18 Richard Sandiford <richard@codesourcery.com>
8913 Joseph Myers <joseph@codesourcery.com
8914
8915 [BZ #15948]
8916 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8917 single character.
8918 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8919
c7738d08
SP
89202013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8921
8922 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8923 * elf/tst-tls1.c: Likewise.
8924 * elf/tst-tls10.h: Likewise.
8925 * elf/tst-tls14.c: Likewise.
8926 * elf/tst-tls2.c: Likewise.
8927 * elf/tst-tls3.c: Likewise.
8928 * elf/tst-tls4.c: Likewise.
8929 * elf/tst-tls5.c: Likewise.
8930 * elf/tst-tls6.c: Likewise.
8931 * elf/tst-tls7.c: Likewise.
8932 * elf/tst-tls8.c: Likewise.
8933 * elf/tst-tls9.c: Likewise.
8934 * elf/tst-tlsmod1.c: Likewise.
8935 * elf/tst-tlsmod13.c: Likewise.
8936 * elf/tst-tlsmod13a.c: Likewise.
8937 * elf/tst-tlsmod14a.c: Likewise.
8938 * elf/tst-tlsmod16a.c: Likewise.
8939 * elf/tst-tlsmod16b.c: Likewise.
8940 * elf/tst-tlsmod2.c: Likewise.
8941 * elf/tst-tlsmod3.c: Likewise.
8942 * elf/tst-tlsmod4.c: Likewise.
8943 * elf/tst-tlsmod5.c: Likewise.
8944 * elf/tst-tlsmod6.c: Likewise.
8945
0bfcf2c7
OB
89462013-10-18 Ondřej Bílka <neleai@seznam.cz>
8947
8948 [BZ #12486]
8949 * malloc/malloc.c: remove checks for statistics.
8950
264aad1e
OB
89512013-10-17 Ondřej Bílka <neleai@seznam.cz>
8952
8953 [BZ #15277]
8954 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8955 * inet/tst-network.c: Add testcase.
8956
b957ced8
AS
89572013-10-17 Andreas Schwab <schwab@suse.de>
8958
8959 [BZ #15218]
8960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8961 to determine canonical name.
8962
c5d5d574
OB
89632013-10-17 Ondřej Bílka <neleai@seznam.cz>
8964
8965 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8966 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8967 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8968 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8969 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8970 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8971 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8972 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8973 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8974 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8975 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8976 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8977 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8981 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8983 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8989 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8990 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8994 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8995 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8996 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8997 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9002 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9007 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9014 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9016 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9017 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9018 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9019 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9020 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9021 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9022 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9023
e5c2c2d0
JM
90242013-10-17 Joseph Myers <joseph@codesourcery.com>
9025
9026 [BZ #16041]
9027 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9028 make result into a quiet NaN.
9029
51ca9e29
JM
90302013-10-16 Joseph Myers <joseph@codesourcery.com>
9031
9032 * soft-fp/adddf3.c: Fix horizontal whitespace.
9033 * soft-fp/addsf3.c: Likewise.
9034 * soft-fp/addtf3.c: Likewise.
9035 * soft-fp/divdf3.c: Likewise.
9036 * soft-fp/divsf3.c: Likewise.
9037 * soft-fp/divtf3.c: Likewise.
9038 * soft-fp/double.h: Likewise.
9039 * soft-fp/eqdf2.c: Likewise.
9040 * soft-fp/eqsf2.c: Likewise.
9041 * soft-fp/eqtf2.c: Likewise.
9042 * soft-fp/extenddftf2.c: Likewise.
9043 * soft-fp/extended.h: Likewise.
9044 * soft-fp/extendsfdf2.c: Likewise.
9045 * soft-fp/extendsftf2.c: Likewise.
9046 * soft-fp/extendxftf2.c: Likewise.
9047 * soft-fp/fixdfdi.c: Likewise.
9048 * soft-fp/fixdfsi.c: Likewise.
9049 * soft-fp/fixdfti.c: Likewise.
9050 * soft-fp/fixsfdi.c: Likewise.
9051 * soft-fp/fixsfsi.c: Likewise.
9052 * soft-fp/fixsfti.c: Likewise.
9053 * soft-fp/fixtfdi.c: Likewise.
9054 * soft-fp/fixtfsi.c: Likewise.
9055 * soft-fp/fixtfti.c: Likewise.
9056 * soft-fp/fixunsdfdi.c: Likewise.
9057 * soft-fp/fixunsdfsi.c: Likewise.
9058 * soft-fp/fixunsdfti.c: Likewise.
9059 * soft-fp/fixunssfdi.c: Likewise.
9060 * soft-fp/fixunssfsi.c: Likewise.
9061 * soft-fp/fixunssfti.c: Likewise.
9062 * soft-fp/fixunstfdi.c: Likewise.
9063 * soft-fp/fixunstfsi.c: Likewise.
9064 * soft-fp/fixunstfti.c: Likewise.
9065 * soft-fp/floatdidf.c: Likewise.
9066 * soft-fp/floatdisf.c: Likewise.
9067 * soft-fp/floatditf.c: Likewise.
9068 * soft-fp/floatsidf.c: Likewise.
9069 * soft-fp/floatsisf.c: Likewise.
9070 * soft-fp/floatsitf.c: Likewise.
9071 * soft-fp/floattidf.c: Likewise.
9072 * soft-fp/floattisf.c: Likewise.
9073 * soft-fp/floattitf.c: Likewise.
9074 * soft-fp/floatundidf.c: Likewise.
9075 * soft-fp/floatundisf.c: Likewise.
9076 * soft-fp/floatunditf.c: Likewise.
9077 * soft-fp/floatunsidf.c: Likewise.
9078 * soft-fp/floatunsisf.c: Likewise.
9079 * soft-fp/floatunsitf.c: Likewise.
9080 * soft-fp/floatuntidf.c: Likewise.
9081 * soft-fp/floatuntisf.c: Likewise.
9082 * soft-fp/floatuntitf.c: Likewise.
9083 * soft-fp/fmadf4.c: Likewise.
9084 * soft-fp/fmasf4.c: Likewise.
9085 * soft-fp/fmatf4.c: Likewise.
9086 * soft-fp/gedf2.c: Likewise.
9087 * soft-fp/gesf2.c: Likewise.
9088 * soft-fp/getf2.c: Likewise.
9089 * soft-fp/ledf2.c: Likewise.
9090 * soft-fp/lesf2.c: Likewise.
9091 * soft-fp/letf2.c: Likewise.
9092 * soft-fp/muldf3.c: Likewise.
9093 * soft-fp/mulsf3.c: Likewise.
9094 * soft-fp/multf3.c: Likewise.
9095 * soft-fp/negdf2.c: Likewise.
9096 * soft-fp/negsf2.c: Likewise.
9097 * soft-fp/negtf2.c: Likewise.
9098 * soft-fp/op-1.h: Likewise.
9099 * soft-fp/op-2.h: Likewise.
9100 * soft-fp/op-4.h: Likewise.
9101 * soft-fp/op-8.h: Likewise.
9102 * soft-fp/op-common.h: Likewise.
9103 * soft-fp/quad.h: Likewise.
9104 * soft-fp/single.h: Likewise.
9105 * soft-fp/soft-fp.h: Likewise.
9106 * soft-fp/sqrtdf2.c: Likewise.
9107 * soft-fp/sqrtsf2.c: Likewise.
9108 * soft-fp/sqrttf2.c: Likewise.
9109 * soft-fp/subdf3.c: Likewise.
9110 * soft-fp/subsf3.c: Likewise.
9111 * soft-fp/subtf3.c: Likewise.
9112 * soft-fp/truncdfsf2.c: Likewise.
9113 * soft-fp/trunctfdf2.c: Likewise.
9114 * soft-fp/trunctfsf2.c: Likewise.
9115 * soft-fp/trunctfxf2.c: Likewise.
9116 * soft-fp/unorddf2.c: Likewise.
9117 * soft-fp/unordsf2.c: Likewise.
9118 * soft-fp/unordtf2.c: Likewise.
9119
9ebb0332
JM
91202013-10-15 Joseph Myers <joseph@codesourcery.com>
9121
9122 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9123 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9124
4b1a6d8b
OB
91252013-10-15 Ondřej Bílka <neleai@seznam.cz>
9126
9127 * elf/dl-libc.c: Clear initfini list after freeing.
9128
1e145589
JM
91292013-10-14 Joseph Myers <joseph@codesourcery.com>
9130
9131 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9132 * soft-fp/addsf3.c: Likewise.
9133 * soft-fp/addtf3.c: Likewise.
9134 * soft-fp/divdf3.c: Likewise.
9135 * soft-fp/divsf3.c: Likewise.
9136 * soft-fp/divtf3.c: Likewise.
9137 * soft-fp/double.h: Likewise.
9138 * soft-fp/eqdf2.c: Likewise.
9139 * soft-fp/eqsf2.c: Likewise.
9140 * soft-fp/eqtf2.c: Likewise.
9141 * soft-fp/extenddftf2.c: Likewise.
9142 * soft-fp/extended.h: Likewise.
9143 * soft-fp/extendsfdf2.c: Likewise.
9144 * soft-fp/extendsftf2.c: Likewise.
9145 * soft-fp/extendxftf2.c: Likewise.
9146 * soft-fp/fixdfdi.c: Likewise.
9147 * soft-fp/fixdfsi.c: Likewise.
9148 * soft-fp/fixdfti.c: Likewise.
9149 * soft-fp/fixsfdi.c: Likewise.
9150 * soft-fp/fixsfsi.c: Likewise.
9151 * soft-fp/fixsfti.c: Likewise.
9152 * soft-fp/fixtfdi.c: Likewise.
9153 * soft-fp/fixtfsi.c: Likewise.
9154 * soft-fp/fixtfti.c: Likewise.
9155 * soft-fp/fixunsdfdi.c: Likewise.
9156 * soft-fp/fixunsdfsi.c: Likewise.
9157 * soft-fp/fixunsdfti.c: Likewise.
9158 * soft-fp/fixunssfdi.c: Likewise.
9159 * soft-fp/fixunssfsi.c: Likewise.
9160 * soft-fp/fixunssfti.c: Likewise.
9161 * soft-fp/fixunstfdi.c: Likewise.
9162 * soft-fp/fixunstfsi.c: Likewise.
9163 * soft-fp/fixunstfti.c: Likewise.
9164 * soft-fp/floatdidf.c: Likewise.
9165 * soft-fp/floatdisf.c: Likewise.
9166 * soft-fp/floatditf.c: Likewise.
9167 * soft-fp/floatsidf.c: Likewise.
9168 * soft-fp/floatsisf.c: Likewise.
9169 * soft-fp/floatsitf.c: Likewise.
9170 * soft-fp/floattidf.c: Likewise.
9171 * soft-fp/floattisf.c: Likewise.
9172 * soft-fp/floattitf.c: Likewise.
9173 * soft-fp/floatundidf.c: Likewise.
9174 * soft-fp/floatundisf.c: Likewise.
9175 * soft-fp/floatunsidf.c: Likewise.
9176 * soft-fp/floatunsisf.c: Likewise.
9177 * soft-fp/floatuntidf.c: Likewise.
9178 * soft-fp/floatuntisf.c: Likewise.
9179 * soft-fp/floatuntitf.c: Likewise.
9180 * soft-fp/fmadf4.c: Likewise.
9181 * soft-fp/fmasf4.c: Likewise.
9182 * soft-fp/fmatf4.c: Likewise.
9183 * soft-fp/gedf2.c: Likewise.
9184 * soft-fp/gesf2.c: Likewise.
9185 * soft-fp/getf2.c: Likewise.
9186 * soft-fp/ledf2.c: Likewise.
9187 * soft-fp/lesf2.c: Likewise.
9188 * soft-fp/letf2.c: Likewise.
9189 * soft-fp/muldf3.c: Likewise.
9190 * soft-fp/mulsf3.c: Likewise.
9191 * soft-fp/multf3.c: Likewise.
9192 * soft-fp/negdf2.c: Likewise.
9193 * soft-fp/negsf2.c: Likewise.
9194 * soft-fp/negtf2.c: Likewise.
9195 * soft-fp/op-1.h: Likewise.
9196 * soft-fp/op-2.h: Likewise.
9197 * soft-fp/op-4.h: Likewise.
9198 * soft-fp/op-8.h: Likewise.
9199 * soft-fp/op-common.h: Likewise.
9200 * soft-fp/quad.h: Likewise.
9201 * soft-fp/single.h: Likewise.
9202 * soft-fp/soft-fp.h: Likewise.
9203 * soft-fp/sqrtdf2.c: Likewise.
9204 * soft-fp/sqrtsf2.c: Likewise.
9205 * soft-fp/sqrttf2.c: Likewise.
9206 * soft-fp/subdf3.c: Likewise.
9207 * soft-fp/subsf3.c: Likewise.
9208 * soft-fp/subtf3.c: Likewise.
9209 * soft-fp/truncdfsf2.c: Likewise.
9210 * soft-fp/trunctfdf2.c: Likewise.
9211 * soft-fp/trunctfsf2.c: Likewise.
9212 * soft-fp/trunctfxf2.c: Likewise.
9213 * soft-fp/unorddf2.c: Likewise.
9214 * soft-fp/unordsf2.c: Likewise.
9215 * soft-fp/unordtf2.c: Likewise.
9216
17c48a60
OB
92172013-10-14 Ondřej Bílka <neleai@seznam.cz>
9218
9219 [BZ #15672]
9220 * misc/error.c (error_tail): Fix possible buffer overflow.
9221
cabba934
OB
92222013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9223
9224 [BZ #13028]
9225 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9226 address.
9227
94bf958a
PM
92282013-10-14 P. J. McDermott <pj@pehjota.net>
9229
9230 [BZ #832]
9231 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9232 testing pipefail option.
9233
71b4dea7
JM
92342013-10-12 Joseph Myers <joseph@codesourcery.com>
9235
9236 * soft-fp/double.h: Indent preprocessor directives inside #if.
9237 * soft-fp/extended.h: Likewise.
9238 * soft-fp/op-2.h: Likewise.
9239 * soft-fp/op-4.h: Likewise.
9240 * soft-fp/op-common.h: Likewise.
9241 * soft-fp/quad.h: Likewise.
9242 * soft-fp/single.h: Likewise.
9243 * soft-fp/soft-fp.h: Likewise.
9244
55602758
YC
92452013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9246
9247 * iconv/iconv_prog.c: Fix typos.
9248 * stdio-common/psiginfo-data.h: Likewise.
9249
9cd83302
RT
92502013-10-12 Reuben Thomas <rrt@sc3d.org>
9251
9252 [BZ #15764]
9253 * locale/setlocale.c: Fix typo.
9254
99fd9f47
JM
92552013-10-12 Joseph Myers <joseph@codesourcery.com>
9256
b7ea74f0
JM
9257 [BZ #16036]
9258 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9259 signaling NaN arguments.
9260 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9261 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9262
8a509447
JM
9263 [BZ #14910]
9264 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9265 unordered operands.
9266 * soft-fp/gesf2.c (__gesf2): Likewise.
9267 * soft-fp/getf2.c (__getf2): Likewise.
9268 * soft-fp/ledf2.c (__ledf2): Likewise.
9269 * soft-fp/lesf2.c (__lesf2): Likewise.
9270 * soft-fp/letf2.c (__letf2): Likewise.
9271
98998e9f
JM
9272 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9273 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9274 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9275 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9276 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9277 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9278 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9279 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9280 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9281 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9282 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9283 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9284 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9285 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9286 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9287 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9288 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9289 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9290 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9291 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9292 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9293 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9294 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9295 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9296 * soft-fp/floattidf.c (__floattidf): Likewise.
9297 * soft-fp/floattisf.c (__floattisf): Likewise.
9298 * soft-fp/floattitf.c (__floattitf): Likewise.
9299 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9300 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9301 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9302 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9303 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9304 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9305 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9306 * soft-fp/gesf2.c (__gesf2): Likewise.
9307 * soft-fp/getf2.c (__getf2): Likewise.
9308 * soft-fp/ledf2.c (__ledf2): Likewise.
9309 * soft-fp/lesf2.c (__lesf2): Likewise.
9310 * soft-fp/letf2.c (__letf2): Likewise.
9311
8edc4a11
JM
9312 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9313 Undefine and redefine.
9314 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9315 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9316 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9317 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9318 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9319 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9320 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9321 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9322 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9323 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9324 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9325 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9326 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9327 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9328 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9329
8399acaf
JM
9330 [BZ #16032]
9331 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9332 without decrementing exponent if mantissa >= that for the
9333 denominator, not >.
9334 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9335 denominator, not >. Decrement exponent in < case instead of
9336 incrementing in >= case.
9337 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9338 without decrementing exponent if mantissa >= that for the
9339 denominator, not >.
9340
99fd9f47
JM
9341 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9342 computing saturated result for unsigned overflow.
9343
10e1cf6b
SP
93442013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9345 Jeff Law <law@redhat.com>
9346
9347 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9348 (atan2Mp): Add systemtap probe marker.
9349 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9350 (__ieee754_log): Add systemtap probe marker.
9351 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9352 (atanMp): Add systemtap probe marker.
9353 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9354 (tanMp): Add systemtap probe marker.
9355 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9356 (__slowexp): Add systemtap probe marker.
9357 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9358 (__slowpow): Add systemtap probe marker.
9359 * manual/probes.texi: Document probes.
9360
3d110c7c
EB
93612013-10-11 Eric Biggers <ebiggers3@gmail.com>
9362
9363 [BZ #15362]
9364 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9365 written.
9366 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9367 written.
9368 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9369 written to buffer but not flushed.
9370 * libio/iofwrite_u.c: Likewise.
9371 * libio/iopadn.c: Return bytes returned even if EOF was
9372 encountered.
9373 * libio/iowpadn.c: Likewise.
9374 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9375 if _IO_padn does not write the whole buffer.
9376 [!COMPILE_WPRINTF] (PAD): Likewise.
9377
75b4202a
DM
93782013-10-10 David S. Miller <davem@davemloft.net>
9379
9380 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9381 directory block.
9382
6c6352e6
JM
93832013-10-10 Joseph Myers <joseph@codesourcery.com>
9384
33b853c3
JM
9385 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9386 instead of FSF address.
9387 * soft-fp/fixdfti.c: Likewise.
9388 * soft-fp/fixsfti.c: Likewise.
9389 * soft-fp/fixtfti.c: Likewise.
9390 * soft-fp/fixunsdfti.c: Likewise.
9391 * soft-fp/fixunssfti.c: Likewise.
9392 * soft-fp/fixunstfti.c: Likewise.
9393 * soft-fp/floattidf.c: Likewise.
9394 * soft-fp/floattisf.c: Likewise.
9395 * soft-fp/floattitf.c: Likewise.
9396 * soft-fp/floatuntidf.c: Likewise.
9397 * soft-fp/floatuntisf.c: Likewise.
9398 * soft-fp/floatuntitf.c: Likewise.
9399 * soft-fp/trunctfxf2.c: Likewise.
9400
6c6352e6
JM
9401 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9402 * soft-fp/fixdfti.c: Likewise.
9403 * soft-fp/fixsfti.c: Likewise.
9404 * soft-fp/fixtfti.c: Likewise.
9405 * soft-fp/fixunsdfti.c: Likewise.
9406 * soft-fp/fixunssfti.c: Likewise.
9407 * soft-fp/fixunstfti.c: Likewise.
9408 * soft-fp/floattidf.c: Likewise.
9409 * soft-fp/floattisf.c: Likewise.
9410 * soft-fp/floattitf.c: Likewise.
9411 * soft-fp/floatuntidf.c: Likewise.
9412 * soft-fp/floatuntisf.c: Likewise.
9413 * soft-fp/floatuntitf.c: Likewise.
9414 * soft-fp/trunctfxf2.c: Likewise.
9415
3bf78b71
DM
94162013-10-10 David S. Miller <davem@davemloft.net>
9417
9418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9419
6f10289e
JM
94202013-10-10 Joseph Myers <joseph@codsourcery.com>
9421
bd878fc0
JM
9422 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9423 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9424 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9425 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9426 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9427 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9428 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9429
6f10289e
JM
9430 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9431 for NaNs before doing comparisons on argument.
9432 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9433 Likewise.
9434
321e2684
WN
94352013-10-10 Will Newton <will.newton@linaro.org>
9436
9437 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9438 passed to _int_memalign does not overflow.
9439
40fefba1
TR
94402013-10-10 Torvald Riegel <triegel@redhat.com>
9441
9442 * scripts/bench.pl: Add include-sources directive.
9443 * benchtests/README: Update documentation.
9444
2ae21ed2
JM
94452013-10-10 Joseph Myers <joseph@codesourcery.com>
9446
dcc2dd3f
JM
9447 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9448 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9449 instead of FP_INIT_ROUNDMODE.
9450 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9451 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9452
2ae21ed2
JM
9453 [BZ #16034]
9454 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9455 copy class of input value.
9456 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9457 not handle exceptions.
9458 * soft-fp/negsf2.c (__negsf2): Likewise.
9459 * soft-fp/negtf2.c (__negtf2): Likewise.
9460 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9461
cb8f9562
JM
94622013-10-09 Joseph Myers <joseph@codesourcery.com>
9463
9464 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9465 semicolon. From Linux kernel.
9466
5b60c59d
AB
94672013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9468
9469 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9470
b86835ca
YC
94712013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9472
9473 [BZ #156]
9474 * manual/socket.texi: Added statement about buffer
9475 for gethostbyname2_r.
9476
e7044ea7
OB
94772013-10-08 Ondřej Bílka <neleai@seznam.cz>
9478
9479 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9480 Use .p2align directive instead, throughout.
9481 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9482 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9483 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9484 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9485 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9486 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9487 * sysdeps/x86_64/strchr.S: Likewise.
9488 * sysdeps/x86_64/strrchr.S: Likewise.
9489
09544cbc
SP
94902013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9491
88576635
SP
9492 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9493
e7b2d1dd
SP
9494 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9495
09544cbc
SP
9496 * sysdeps/generic/math_private.h (__mpsin1): Remove
9497 declaration.
9498 (__mpcos1): Likewise.
9499 (__mpsin): New argument __range_reduce.
9500 (__mpcos): Likewise.
9501 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9502 (slow): Use __mpsin and __mpcos.
9503 (slow1): Likewise.
9504 (slow2): Likewise.
9505 (sloww): Likewise.
9506 (sloww1): Likewise.
9507 (sloww2): Likewise.
9508 (bsloww): Likewise.
9509 (bsloww1): Likewise.
9510 (bsloww2): Likewise.
9511 (cslow2): Likewise.
9512 (csloww): Likewise.
9513 (csloww1): Likewise.
9514 (csloww2): Likewise.
9515 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9516 range_reduce. Merge in __mpsin1.
9517 (__mpcos): Likewise.
9518 (__mpsin1): Remove.
9519 (__mpcos1): Likewise.
9520
7602d070
JM
95212013-10-07 Joseph Myers <joseph@codesourcery.com>
9522
9523 * locale/loadlocale.c (_nl_intern_locale_data): Use
9524 LOCFILE_ALIGNED_P.
9525 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9526 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9527 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9528 obstack data is appropriately aligned.
9529 (obstack_int32_grow_fast): Likewise.
9530 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9531 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9532 (add_locale_uint32_array): Likewise.
9533
a357259b
SP
95342013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9535
9536 * benchtests/Makefile: Remove ARGLIST and RET variables.
9537 ($(objpfx)bench-%.c): Pass only function name to the script.
9538 * benchtests/README: Update documentation.
9539 * benchtests/acos-inputs: Add new directives.
9540 * benchtests/acosh-inputs: Likewise.
9541 * benchtests/asin-inputs: Likewise.
9542 * benchtests/asinh-inputs: Likewise.
9543 * benchtests/atan-inputs: Likewise.
9544 * benchtests/atanh-inputs: Likewise.
9545 * benchtests/cos-inputs: Likewise.
9546 * benchtests/cosh-inputs: Likewise.
9547 * benchtests/exp-inputs: Likewise.
9548 * benchtests/log-inputs: Likewise.
9549 * benchtests/pow-inputs: Likewise.
9550 * benchtests/rint-inputs: Likewise.
9551 * benchtests/sin-inputs: Likewise.
9552 * benchtests/sinh-inputs: Likewise.
9553 * benchtests/tan-inputs: Likewise.
9554 * benchtests/tanh-inputs: Likewise.
9555 * scripts/bench.pl: Add support for new directives.
9556
9ec1b13d
AM
95572013-10-07 Alan Modra <amodra@gmail.com>
9558
9559 * README: Fix careless merge.
9560
8b7d57cd
AM
95612013-10-05 Alan Modra <amodra@gmail.com>
9562
9563 * NEWS: Mention powerpc64le support and bugs fixed.
9564 * README: Both big-endian and little-endian powerpc64 supported.
9565
7b7bab13
ST
95662013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9567
57f41c40
AS
9568 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9569 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
9570 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9571 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9572
d39baad1
RA
95732013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9574
9575 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9576 match prototype.
9577
cd78f7e7
JM
95782013-10-04 Joseph Myers <joseph@codesourcery.com>
9579
29d73d86
JM
9580 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9581 Move -mhard-float appending from
9582 ports/sysdeps/powerpc/powerpc32/Makefile.
9583 [$(with-fp) = yes] (ASFLAGS): Likewise.
9584 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9585 * sysdeps/powerpc/nofpu: Move directory from
9586 ports/sysdeps/powerpc/nofpu.
9587 * sysdeps/powerpc/soft-fp: Move directory from
9588 ports/sysdeps/powerpc/soft-fp.
9589 * sysdeps/powerpc/powerpc32/405: Move directory from
9590 ports/sysdeps/powerpc/powerpc32/405.
9591 * sysdeps/powerpc/powerpc32/440: Move directory from
9592 ports/sysdeps/powerpc/powerpc32/440.
9593 * sysdeps/powerpc/powerpc32/464: Move directory from
9594 ports/sysdeps/powerpc/powerpc32/464.
9595 * sysdeps/powerpc/powerpc32/476: Move directory from
9596 ports/sysdeps/powerpc/powerpc32/476.
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9598 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9600 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9602 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9604 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9606 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9607 * README: Update for powerpc-*-linux-gnu software floating point
9608 support in libc.
9609
e246b347
JM
9610 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9611 case to powerpc/powerpc32*.
9612 * sysdeps/unix/sysv/linux/configure: Regenerated.
9613
89c2003e
JM
9614 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9615 (_FPU_MASK_OM): Define as 0x04.
9616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9618 0x00c10080.
9619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9620 0x0000003c.
9621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9622
cd78f7e7
JM
9623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9624 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9625 getcontext_e500.
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9627 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9628 setcontext_e500.
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9630 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9631 and setcontext_e500.
9632
c755294d
CL
96332013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9634
9635 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9636
e16d221c
SP
96372013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9638
9639 * manual/threads.texi (Default Thread Attributes): Fix typo.
9640
215c7d43
WN
96412013-10-04 Will Newton <will.newton@linaro.org>
9642
9643 * malloc/Makefile: Add tst-memalign.
9644 * malloc/tst-memalign.c: New file.
9645
27d0461b
WN
9646 * malloc/tst-posix_memalign.c: Add comments.
9647 (do_test): Add comments and call free on all potentially
9648 allocated pointers. Add space after cast.
9649
1bc92709
WN
9650 * malloc/tst-pvalloc.c: Add comments.
9651 (do_test): Add comments and call free on all potentially
9652 allocated pointers. Remove duplicate check for NULL pointer.
9653 Add space after cast.
9654
66a9be9d
WN
9655 * malloc/tst-valloc.c: Add comments.
9656 (do_test): Add comments and call free on all potentially
9657 allocated pointers. Remove duplicate check for NULL pointer.
9658 Add space after cast.
9659
4cb81307
AM
96602013-10-04 Alan Modra <amodra@gmail.com>
9661
9662 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9663 Use stdint types in rather than __attribute__((mode())).
9664 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9665
f8e3e9f3
AM
96662013-10-04 Alan Modra <amodra@gmail.com>
9667
9668 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9669 Correct handling of unaligned relocs for little-endian.
9670 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9671
8f9ebb08
AM
96722013-10-04 Alan Modra <amodra@gmail.com>
9673
9674 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9675 * configure: Regenerate.
9676 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9677 * shlib-versions: Likewise.
9678
0edf96c2
AM
96792013-10-04 Alan Modra <amodra@gmail.com>
9680
9681 * string/tester.c (test_memrchr): Increment reported test cycle.
9682
e0f7a380
AM
96832013-10-04 Alan Modra <amodra@gmail.com>
9684
9685 * string/test-memcpy.c (do_one_test): When reporting errors, print
9686 string address and don't overrun end of string.
9687
466b0393
AM
96882013-10-04 Alan Modra <amodra@gmail.com>
9689
9690 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9691 insrdi. Make better use of reg selection to speed exit slightly.
9692 Schedule entry path a little better. Remove useless "are we done"
9693 checks on entry to main loop. Handle wrapping around zero address.
9694 Correct main loop count. Handle single left-over word from main
9695 loop inline rather than by using loop_small. Remove extra word
9696 case in loop_small caused by wrong loop count. Add little-endian
9697 support.
9698 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9699 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9700 cache hint.
9701 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9702 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9703 support. Avoid rlwimi.
9704 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9705
3be87c77
AM
97062013-10-04 Alan Modra <amodra@gmail.com>
9707
9708 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9709 insrdi. Formatting.
3be87c77
AM
9710 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9711 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9712 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9713 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9714 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9715 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9716
759cfef3
AM
97172013-10-04 Alan Modra <amodra@gmail.com>
9718
9719 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9720 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9721 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9722 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9723 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9724 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9725 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9726 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9727 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9728 use of regs. Use power7 mtocrf. Tidy function tails.
9729
fe6e95d7
AM
97302013-10-04 Alan Modra <amodra@gmail.com>
9731
9732 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9733 Formatting. Consistently use rXXX register defines or rN defines.
9734 Use early exit labels that avoid restoring unused non-volatile regs.
9735 Make cr field use more consistent with rWORDn compares. Rename
9736 regs used as shift registers for unaligned loop, using rN defines
9737 for short lifetime/multiple use regs.
9738 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9739 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9740 addi 1,1,64 to pop stack frame. Simplify return value code.
9741 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9742
664318c3
AM
97432013-10-04 Alan Modra <amodra@gmail.com>
9744
9745 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9746 support. Correct typos, formatting. Optimize tail. Use insrdi
9747 rather than rlwimi.
9748 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9749 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9750 little-endian support. Correct typos.
9751 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9752 rather than rlwimi.
9753 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9754 in loop and entry code to keep "and." results.
9755 (strchr): Add little-endian support. Comment. Move cntlzd
9756 earlier in tail.
9757 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9758
43b84013
AM
97592013-10-04 Alan Modra <amodra@gmail.com>
9760
9761 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9762 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9763 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9764 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9765
8a7413f9
AM
97662013-10-04 Alan Modra <amodra@gmail.com>
9767
9768 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9769 (rTMP): Define as r11.
9770 (strcmp): Add little-endian support. Optimise tail.
9771 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9772 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9773 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9774 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9775 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9776 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9777 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9778
33ee81de
AM
97792013-10-04 Alan Modra <amodra@gmail.com>
9780
9781 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9782 little-endian support. Remove unnecessary "are we done" tests.
9783 Handle "s" wrapping around zero and extremely large "size".
9784 Correct main loop count. Handle single left-over word from main
9785 loop inline rather than by using small_loop. Correct comments.
9786 Delete "zero" tail, use "end_max" instead.
9787 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9788
db9b4570
AM
97892013-10-04 Alan Modra <amodra@gmail.com>
9790
9791 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9792 support. Don't branch over align.
9793 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9794 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9795 support. Rearrange tmp reg use to suit. Comment.
9796 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9797
f7c399cf
AM
97982013-10-04 Alan Modra <amodra@gmail.com>
9799
9800 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9801
0b2c2ace
AM
98022013-10-04 Alan Modra <amodra@gmail.com>
9803
9804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9805 conditional form of branch and link when obtaining pc.
9806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9807
02f04a6c
AM
98082013-10-04 Alan Modra <amodra@gmail.com>
9809
9810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9811 HIWORD/LOWORD.
9812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9814
9b874b2f
AM
98152013-10-04 Alan Modra <amodra@gmail.com>
9816
9817 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9818 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9819 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9820 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9821 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9822 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9823 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9824 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9825 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9826 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9827
be1e5d31
AB
98282013-10-04 Anton Blanchard <anton@au1.ibm.com>
9829 Alistair Popple <alistair@ozlabs.au.ibm.com>
9830 Alan Modra <amodra@gmail.com>
9831
9832 [BZ #15723]
9833 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9834 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9835 _dl_hwcap access for little-endian.
9836 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9837 destroy vmx regs when saving unaligned.
9838 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9839 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9840 destroy vmx regs when saving unaligned.
9841
fef13a78
AM
98422013-10-04 Alan Modra <amodra@gmail.com>
9843
9844 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9845 Don't use a union to pack hi/low value.
9846
76a66d51
AB
98472013-10-04 Anton Blanchard <anton@au1.ibm.com>
9848
9849 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9850 for little-endian.
9851 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9852 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9853 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9854 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9855 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9856
6a31fe7f
AM
98572013-10-04 Alan Modra <amodra@gmail.com>
9858
9859 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9860 constants to usual value for .cst8 section, and remove redundant
9861 high address load.
9862 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9863 constant for 0x1p52. Load little-endian words of double from
9864 correct stack offsets.
9865
7b88401f
AM
98662013-10-04 Alan Modra <amodra@gmail.com>
9867
9868 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9869 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9870 words of double from correct stack offsets.
9871 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9872 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9873 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9874 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9875 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9876 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9877 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9878 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9879 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9880 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9881 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9882 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9883 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9884 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9885 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9886 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9887 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9888
9c008155
AM
98892013-10-04 Alan Modra <amodra@gmail.com>
9890
9891 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9892 64-bit int/double union.
9893 (_FPU_SETCW): Likewise.
9894 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9895 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9896
da13146d
AM
98972013-10-04 Alan Modra <amodra@gmail.com>
9898
9899 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9900 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9901
603e8410
AM
99022013-10-04 Alan Modra <amodra@gmail.com>
9903
9904 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9905 use vector int constants.
9906 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9907
4a28b3ca
AB
99082013-10-04 Anton Blanchard <anton@au1.ibm.com>
9909
9910 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9911 array with long long.
9912 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9913 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9914 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9915 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9916 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9917 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9918 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9919 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9920 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9921 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9922 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9923 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9924 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9925
2ca85d2b
AB
99262013-10-04 Anton Blanchard <anton@au1.ibm.com>
9927
9928 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9929 (__signbit): Likewise. Correct for little-endian.
9930 (__signbitl): Call __signbit.
9931 (lrint): Correct for little-endian.
9932 (lrintf): Call lrint.
9933
62a728ae
AM
99342013-10-04 Alan Modra <amodra@gmail.com>
9935
9936 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9937 union 32-bit int array member with 64-bit int array.
9938 (t515, tm256): Double rather than long double.
9939 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9940
32c301df
AM
99412013-10-04 Alan Modra <amodra@gmail.com>
9942
9943 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9944 Delete.
9945 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9946 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9947 version of math_ldbl.h.
9948
650ef4bd
AM
99492013-10-04 Alan Modra <amodra@gmail.com>
9950
9951 [BZ #15734], [BZ #15735]
9952 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9953 all uses of ieee875 long double macros and unions. Simplify test
9954 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9955 ldbl_extract_mantissa value for ix,iy exponents. Properly
9956 normalize after ldbl_extract_mantissa, and don't add hidden bit
9957 already handled. Don't treat low word of ieee854 mantissa like
9958 low word of IBM long double and mask off bit when testing for
9959 zero.
9960 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9961 all uses of ieee875 long double macros and unions. Simplify tests
9962 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9963 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9964 two1022, instead use their values. Recognise that tests for large
9965 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9966 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9967 Rewrite all uses of ieee875 long double macros and unions. Simplify
9968 test for 0.0L and nan. Correct negation.
9969 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9970 ieee875 long double macros and unions. Correct output for large
9971 magnitude x. Correct absolute value calculation.
9972 (__erfcl): Likewise.
9973 * math/libm-test.inc: Add tests for errors discovered in IBM long
9974 double versions of fmodl, remainderl, erfl and erfcl.
9975
765714ca
AM
99762013-10-04 Alan Modra <amodra@gmail.com>
9977
9978 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9979 all uses of ieee854 long double macros and unions. Simplify tests
9980 for long doubles that are fully specified by the high double.
9981 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9982 Likewise.
9983 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9984 Remove dead code too.
9985 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9986 (__ieee754_ynl): Likewise.
9987 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9988 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9989 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9990 Remove dead code too.
9991 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9992 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9993 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9994 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9995 Simplify.
9996 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9997 Simplify.
9998 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9999 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10000 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10001 Comment on variable precision.
10002 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10003 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10004 Likewise.
10005 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10006 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10007 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10008 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10009 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10010
4ebd120c
AM
100112013-10-04 Alan Modra <amodra@gmail.com>
10012
10013 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10014 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10015 all uses of ieee854 long double macros and unions.
10016 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10017 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10018 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10019 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10020 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10021 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10022 Likewise.
10023 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10024 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10025 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10026 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10027 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10028 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10029 Simplify sign and nan test too.
10030 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10031 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10032 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10033 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10034 Likewise.
10035 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10036 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10037 Likewise.
10038 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10039 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10040 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10041 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10042 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10043 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10044
1b6adf88
AM
100452013-10-04 Alan Modra <amodra@gmail.com>
10046
10047 * stdio-common/printf_size.c (__printf_size): Don't use
10048 union ieee854_long_double in fpnum union.
10049 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10050 signbit macro to retrieve sign from long double.
10051 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10052 retrieve sign from long double.
10053 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10054 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10055 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10056 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10057 * math/test-misc.c (main): Don't use union ieee854_long_double.
10058
4cf69995
AM
100592013-10-04 Alan Modra <amodra@gmail.com>
10060
10061 [BZ #15680]
10062 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10063 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10064 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10065 calculation. Remove unnecessary test for denormal exponent.
10066 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10067 Correct handling of denormals. Avoid undefined shift behaviour.
10068 Correct normalisation of low mantissa when low double is denormal.
10069 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10070 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10071 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10072 Correct normalisation of low mantissa. Test for overflow of high
10073 mantissa and normalise.
10074 (ldbl_nearbyint): Use more readable constant for two52.
10075 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10076 (__mpn_construct_long_double): Fix test for overflow of high
10077 mantissa and correct normalisation. Avoid undefined shift.
10078
9605ca6c
AM
100792013-10-04 Alan Modra <amodra@gmail.com>
10080
10081 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10082 (union ibm_extended_long_double): Define as an array of ieee754_double.
10083 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10084 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10085 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10086 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10087 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10088 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10089 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10090 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10091 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10092 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10093 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10094
975569d0
JM
100952013-10-03 Joseph Myers <joseph@codesourcery.com>
10096
d3d23756
JM
10097 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10098 page size instead of calling getpagesize.
10099
975569d0
JM
10100 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10101 (LOCFILE_ALIGN_MASK): Likewise.
10102 (LOCFILE_ALIGN_UP): Likewise.
10103 (LOCFILE_ALIGNED_P): Likewise.
10104 * locale/programs/ld-collate.c (collate_output): Use the new
10105 macros instead of __alignof__ (int32_t).
10106 * locale/weight.h (findidx): Likewise.
10107
b1fe1f2b
OB
101082013-10-03 Ondřej Bílka <neleai@seznam.cz>
10109
10110 [BZ #431]
10111 * manual/string.texi: Fix strncat and wcsncat.
10112
5f855e35
BM
101132013-10-03 Brooks Moses <bmoses@google.com>
10114
10115 [BZ #15915]
10116 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10117 * Makerules: ...here, and adjust associated comments.
10118
3cef6009
WN
101192013-10-02 Will Newton <will.newton@linaro.org>
10120
10121 * malloc/Makefile: Add tst-pvalloc.
10122 * malloc/tst-pvalloc.c: New file.
10123
7815420b
WN
101242013-10-02 Will Newton <will.newton@linaro.org>
10125
10126 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10127 improve test coverage.
10128
4868b204
WN
101292013-10-02 Will Newton <will.newton@linaro.org>
10130
10131 * malloc/Makefile: Add tst-posix_memalign.
10132 * malloc/tst-posix_memalign.c: New file.
10133
29c793b3
EB
101342013-10-01 Eric Blake <eblake@redhat.com>
10135
10136 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10137 Use __THROWNL rather than __THROW on static functions.
10138
fd967522
PM
101392013-09-30 Petr Machata <pmachata@redhat.com>
10140
10141 * elf/elf.h (R_AARCH64_ABS16): New macro.
10142 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10143 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10144 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10145 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10146 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10147 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10148 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10149 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10150 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10151 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10152 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10153 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10154 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10155 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10156 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10157 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10158 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10159 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10160 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10161 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10162 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10163 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10164 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10165 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10166 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10167 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10168 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10169 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10170 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10171 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10172 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10173 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10174 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10175 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10176 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10177 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10178 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10179 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10180 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10181 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10182 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10183 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10184 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10185 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10186 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10187 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10188 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10189 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10190 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10191 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10192 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10193 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10194 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10195 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10196 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10197 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10198 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10199 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10200 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10201 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10202 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10203 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10204 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10205 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10206 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10207 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10208 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10209 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10210 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10211 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10212 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10213 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10214 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10215 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10216 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10217 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10218 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10219 (R_AARCH64_TLSDESC_LDR): Likewise.
10220 (R_AARCH64_TLSDESC_ADD): Likewise.
10221 (R_AARCH64_TLSDESC_CALL): Likewise.
10222
b2179107
AS
102232013-09-30 Andreas Schwab <schwab@suse.de>
10224
10225 [BZ #15048]
10226 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10227 the nss database lookup.
10228 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10230
47f28d0a
MF
102312013-09-28 Mike Frysinger <vapier@gentoo.org>
10232
10233 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10234
102352013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10236
10237 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10238 ${Bash-specific parameter/pattern/string} parameter expansion.
10239 * sysdeps/unix/make-syscalls.sh: Likewise.
10240
f4518a17
KK
102412013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10242
10243 * sysdeps/sh/stackguard-macros.h: New file.
10244
dc1a95c7
OB
102452013-09-26 Ondřej Bílka <neleai@seznam.cz>
10246
10247 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10249 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10250 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10251 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10252 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10253
5ebbff8f
AZ
102542013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10255
10256 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10257 Fix thread ID register.
10258
4fd2cf9f
JM
102592013-09-25 Joseph Myers <joseph@codesourcery.com>
10260
10261 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10262 [POSIX || UNIX98]: Require rather than permitting all symbols from
10263 <time.h>.
10264 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10265 element of struct sched_param.
10266 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10267 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10268 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10269 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10270 constant.
10271
12c22bc4
OL
102722013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10273
10274 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10275 argument calculation.
10276
a03d8ea7
JM
102772013-09-24 Joseph Myers <joseph@codesourcery.com>
10278
10279 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10280 Expect macro.
10281 [POSIX] (pthread_attr_t): Do not require type.
10282 [POSIX] (pthread_cond_t): Likewise.
10283 [POSIX] (pthread_condattr_t): Likewise.
10284 [POSIX] (pthread_key_t): Likewise.
10285 [POSIX] (pthread_mutex_t): Likewise.
10286 [POSIX] (pthread_mutexattr_t): Likewise.
10287 [POSIX] (pthread_once_t): Likewise.
10288 [POSIX] (pthread_t): Likewise.
10289 [POSIX-based standards] (pthread_atfork): Expect function.
10290
6055173a
JM
102912013-09-24 Joseph Myers <joseph@codesourcery.com>
10292 Richard Sandiford <richard@codesourcery.com>
10293
10294 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10295 (swap_endianness_p): New extern variable.
10296 (set_big_endian): New inline function.
10297 (maybe_swap_uint32): Likewise.
10298 (maybe_swap_uint32_array): Likewise.
10299 (maybe_swap_uint32_obstack): Likewise.
10300 * locale/programs/locfile.c: Include <stdbool.h>.
10301 (swap_endianness_p): New variable.
10302 (add_locale_uint32): Call maybe_swap_uint32.
10303 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10304 (write_locale_data): Call maybe_swap_uint32_array.
10305 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10306 maybe_swap_uint32.
10307 (obstack_int32_grow_fast): Likewise.
10308 (output_weightwc): Call maybe_swap_uint32_obstack.
10309 (collate_output): Likewise.
10310 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10311 (OPT_LITTLE_ENDIAN): Likewise.
10312 (options): Add --little-endian and --big-endian options.
10313 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10314 * locale/programs/locarchive.c: Include "locfile.h".
10315 (GET): New macro.
10316 (SET): Likewise.
10317 (INC): Likewise.
10318 (create_archive): Use the new macros to access fields of
10319 structures directly mapped from or written to locale archives.
10320 (oldlocrecentcmp): Likewise.
10321 (enlarge_archive): Likewise.
10322 (insert_name): Likewise.
10323 (add_alias): Likewise.
10324 (add_locale): Likewise.
10325 (delete_locales_from_archive): Likewise.
10326 (show_archive_content): Likewise.
10327 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10328 locale data.
10329
39bf0bb4
RM
103302013-09-24 Roland McGrath <roland@hack.frob.com>
10331
10332 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10333 http://www.gnu.org/doc/freemanuals.texi.
10334 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10335
f02eed10
WN
103362013-09-24 Will Newton <will.newton@linaro.org>
10337
10338 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10339 macro.
10340
a3a6c312
JM
103412013-09-23 Joseph Myers <joseph@codesourcery.com>
10342
10343 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10344 unsigned char.
10345
107375ac
MR
103462013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10347
10348 * manual/threads.texi (POSIX Threads): Fix a typo.
10349
141f3a77
SP
103502013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10351
303e567a
SP
10352 [BZ #14547]
10353 * string/tst-strcoll-overflow.c: New test case.
10354 * string/Makefile (xtests): Add tst-strcoll-overflow.
10355 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10356 cache if string sizes may cause integer overflow.
10357
141f3a77
SP
10358 [BZ #14547]
10359 * string/strcoll_l.c (coll_seq): New members rule, idx,
10360 save_idx and back_us.
10361 (get_next_seq_nocache): New function.
10362 (do_compare_nocache): New function.
10363 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10364 when malloc fails.
10365
c61b4d41
CD
103662013-09-23 Carlos O'Donell <carlos@redhat.com>
10367
0b1f8e35
CD
10368 [BZ #15754]
10369 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10370 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10371 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10372
c61b4d41
CD
10373 [BZ #15754]
10374 * elf/Makefile (tests): Add tst-ptrguard1.
10375 (tests-static): Add tst-ptrguard1-static.
10376 (tst-ptrguard1-ARGS): Define.
10377 (tst-ptrguard1-static-ARGS): Define.
10378 * elf/tst-ptrguard1.c: New file.
10379 * elf/tst-ptrguard1-static.c: New file.
10380 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10381 * sysdeps/i386/stackguard-macros.h: Likewise.
10382 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10383 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10384 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10385 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10386 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10387 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10388
103892013-09-23 Hector Marco <hecmargi@upv.es>
10390 Ismael Ripoll <iripoll@disca.upv.es>
10391 Carlos O'Donell <carlos@redhat.com>
10392
10393 [BZ #15754]
10394 * sysdeps/generic/stackguard-macros.h: Define
10395 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10396 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10397 Define __pointer_chk_guard_local.
10398 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10399 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10400
f5f4e7b4
VV
104012013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10402
10403 [BZ #15859]
10404 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10405
5bb43a43
AS
104062013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10407
10408 * include/string.h (__ffs): Declare as hidden.
10409 * string/ffs.c (__ffs): Define as hidden.
10410 * sysdeps/i386/ffs.c (__ffs): Likewise.
10411 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10412 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10413 * sysdeps/s390/ffs.c (__ffs): Likewise.
10414 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10415
3ea5be54
AO
104162013-09-20 Alexandre Oliva <aoliva@redhat.com>
10417
ffb89e53
AO
10418 * NEWS: Mention malloc probes.
10419
322dea08
AO
10420 * malloc/arena.c (new_heap): New memory_heap_new probe.
10421 (grow_heap): New memory_heap_more probe.
10422 (shrink_heap): New memory_heap_less probe.
10423 (heap_trim): New memory_heap_free probe.
10424 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10425 (systrim): New memory_sbrk_less probe.
10426 * manual/probes.texi: Document them.
10427
655673f3
AO
10428 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10429 * manual/probes.texi: Document it.
10430
35fed6f1
AO
10431 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10432 (__libc_realloc): Add memory_realloc_retry probe.
10433 (__libc_memalign): Add memory_memalign_retry probe.
10434 (__libc_valloc): Add memory_valloc_retry probe.
10435 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10436 (__libc_calloc): Add memory_calloc_retry probe.
10437 * manual/probes.texi: Document them.
10438
6999d38c
AO
10439 * malloc/arena.c (get_free_list): Add probe
10440 memory_arena_reuse_free_list.
10441 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10442 and memory_arena_reuse.
10443 (arena_get2) [!PER_THREAD]: Likewise.
10444 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10445 memory_arena_reuse_realloc.
10446 * manual/probes.texi: Document them.
10447
0653427f
AO
10448 * malloc/malloc.c (__libc_free): Add
10449 memory_mallopt_free_dyn_thresholds probe.
10450 (__libc_mallopt): Add multiple memory_mallopt probes.
10451 * manual/probes.texi: Document them.
10452
3ea5be54
AO
10453 * malloc/malloc.c: Include stap-probe.h.
10454 (__libc_mallopt): Add memory_mallopt probe.
10455 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10456 * manual/probes.texi: New.
10457 * manual/Makefile (chapters): Add probes.
10458 * manual/threads.texi: Set next node.
10459
e35696c3 104602013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10461
e35696c3
CL
10462 [BZ #15963, #13985]
10463 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10464 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10465 Add `Chinese' to `nan' entry name.
10466
4aafb73c
SP
104672013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10468
10469 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10470 (POLYNOMIAL): Likewise.
10471 (TAYLOR_SINCOS): Likewise.
10472 (TAYLOR_SLOW): Likewise.
10473 (__sin): Use TAYLOR_SINCOS.
10474 (__cos): Likewise.
10475 (slow): Use TAYLOR_SLOW.
10476 (sloww): Likewise.
10477 (bsloww): Likewise.
10478 (csloww): Likewise.
10479
d84f25c7
LD
104802013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10481
10482 * stdlib/strtod_l.c: Fix buffer overrun.
10483
5eea0404
SP
104842013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10485
7849ff93
SP
10486 * benchtests/Makefile (bench): Add sincos.
10487 * benchtests/bench-sincos.c: New file.
10488
cfa3c886
SP
10489 * math/libm-test.inc (cos_test_data): New test inputs.
10490 (sin_test_data): Likewise.
10491
b348e1e3
SP
10492 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10493 macro.
10494 (__sin): Use it.
10495 (__cos): Likewise.
10496 (slow1): Likewise.
10497 (slow2): Likewise.
10498 (sloww1): Likewise.
10499 (sloww2): Likewise.
10500 (bsloww1): Likewise.
10501 (bsloww2): Likewise.
10502 (cslow2): Likewise.
10503 (csloww1): Likewise.
10504 (csloww2): Likewise.
10505
6cce25f8
SP
10506 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10507 function.
10508 (__sin): Use it.
10509 (__cos): Likewise.
10510
5eea0404
SP
10511 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10512 gotos.
10513 (__cos): Likewise.
10514
9c21573c
MR
105152013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10516
10517 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10518 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10519 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10520 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10521 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10522 * elf/cache.c (print_entry): Handle the new cache flags.
10523
24d22e65
JM
105242013-09-18 Joseph Myers <joseph@codesourcery.com>
10525 Aldy Hernandez <aldyh@redhat.com>
10526
10527 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10528 Change condition to [_SOFT_FLOAT].
10529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10533 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10541 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10542 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10544 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10545 declaration.
10546
d13ef066
JM
105472013-09-18 Joseph Myers <joseph@codesourcery.com>
10548
2e071de0
JM
10549 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10550 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10551 (__longjmp): Use LOAD_GP to load saved GPRs.
10552 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10553 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10554 (__sigsetjmp): Use SAVE_GP to save GPRs.
10555
d13ef066
JM
10556 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10557 Do not append -msoft-float.
10558 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10559
97a0650b
SP
105602013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10561
10562 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10563
11ca09e9
JM
105642013-09-17 Joseph Myers <joseph@codesourcery.com>
10565
10566 [BZ #15966]
10567 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10568 (_FPU_GETCW): Use initial "__" on variable and field names but not
10569 on macro parameter name.
10570 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10571 parentheses around reference to macro parameter.
10572
08ffcf34
RS
105732013-09-13 Richard Sandiford <richard@codesourcery.com>
10574
10575 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10576 prototype.
10577 (ctype_startup): Use uint32_t in cast and sizeof for
10578 ctype->charnames.
10579
ae7080d3
JL
105802013-09-11 Jia Liu <proljc@gmail.com>
10581
10582 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10583 __daddr_t_defined.
10584 [__FreeBSD__]: Likewise.
10585
5905e7b3
OB
105862013-09-11 Ondřej Bílka <neleai@seznam.cz>
10587
10588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10589 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10590 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10591 (strchr): Remove __strchr_sse42 ifunc selection.
10592 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10593 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10594
b987c776
WN
105952013-09-11 Will Newton <will.newton@linaro.org>
10596
10597 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10598 parameter to RES. Remove hardcoded 1000 value.
10599 * benchtests/bench-skeleton.c (main): Pass RES parameter
10600 to TIMING_INIT and multiply result by 1000.
10601
ddf985af
AZ
106022013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10603
10604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10605
ffdd3181
AS
106062013-09-11 Andreas Schwab <schwab@suse.de>
10607
10608 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10609 if not defined.
10610 (O_TMPFILE) [__USE_GNU]: Define.
10611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10612 Define.
10613
b73ed247
WN
106142013-09-11 Will Newton <will.newton@linaro.org>
10615
10616 [BZ #15857]
10617 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10618 does not overflow.
10619
55e17aad
WN
106202013-09-11 Will Newton <will.newton@linaro.org>
10621
10622 [BZ #15856]
10623 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10624 does not overflow.
10625
1159a193
WN
106262013-09-11 Will Newton <will.newton@linaro.org>
10627
10628 [BZ #15855]
10629 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10630 does not overflow.
10631
5905e7b3 106322013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10633
10634 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10635 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10636 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10637 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10638 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10639
cdfc721b
AM
106402013-09-10 Allan McRae <allan@archlinux.org>
10641
aa04af00
AM
10642 [BZ #15748]
10643 * manual/arith.texi (Parsing of Floats): Clarify
10644 cross-reference.
10645
cdfc721b
AM
10646 [BZ #15849]
10647 * manual/install.texi (Running make install): Mention
10648 --enable-pt-chown.
10649 * INSTALL: Regenerated.
10650
95e7cf29
MR
106512013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10652
10653 * csu/init-first.c (_init): Remove the !SHARED condition around
10654 FPU control word initialization.
10655 * elf/dl-support.c (_dl_fpu_control): New variable.
10656 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10657 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10658 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10659 * math/test-fpucw-static.c: New file.
10660 * math/test-fpucw-ieee.c: New file.
10661 * math/test-fpucw-ieee-static.c: New file.
10662 * math/Makefile (tests): Add `test-fpucw-ieee' and
10663 `$(tests-static)'.
10664 (tests-static): New variable.
10665 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10666 dependency to...
10667 [($(build-shared),yes)]
10668 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10669 ... this.
10670 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10671 New dependency.
10672
83e43bf0
AM
106732013-09-09 Allan McRae <allan@archlinux.org>
10674
a9f5ce09
AM
10675 [BZ #15939]
10676 * manual/string.texi (Collation Functions): Fix typo in
10677 strcoll example.
10678 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10679
34829bc2
AM
10680 [BZ #15893]
10681 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10682
3932737d
AM
10683 [BZ #15892]
10684 * libio/memstream.c (open_memstream): Fix memory leak.
10685 * libio/wmemstream.c (open_wmemstream): Likewise.
10686
83e43bf0
AM
10687 [BZ #15895]
10688 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10689
0c66b8e9
WN
106902013-09-09 Will Newton <will.newton@linaro.org>
10691
10692 * malloc/Makefile: Add tst-realloc to tests.
10693 * malloc/tst-realloc.c: New file.
10694
f6b00fd1
AM
106952013-09-09 Allan McRae <allan@archlinux.org>
10696
10697 [BZ #15844]
10698 * COPYING: Update from GNU website to fix FSF address.
10699 * COPYING.LIB: Likewise.
10700
eec55e16
DM
107012013-09-06 David S. Miller <davem@davemloft.net>
10702
10703 * po/zh_TW.po: Update Chinese (traditional) translation from
10704 translation project.
10705
1ecbb381
RS
107062013-09-06 Richard Sandiford <richard@codesourcery.com>
10707 Joseph Myers <joseph@codesourcery.com>
10708
10709 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10710 "localeinfo.h".
10711 (obstack_chunk_alloc): New macro.
10712 (obstack_chunk_free): Likewise.
10713 (record_offset): New function.
10714 (init_locale_data): Likewise.
10715 (align_locale_data): Likewise.
10716 (add_locale_empty): Likewise.
10717 (add_locale_raw_data): Likewise.
10718 (add_locale_raw_obstack): Likewise.
10719 (add_locale_string): Likewise.
10720 (add_locale_wstring): Likewise.
10721 (add_locale_uint32): Likewise.
10722 (add_locale_uint32_array): Likewise.
10723 (add_locale_char): Likewise.
10724 (start_locale_structure): Likewise.
10725 (end_locale_structure): Likewise.
10726 (start_locale_prelude): Likewise.
10727 (end_locale_prelude): Likewise.
10728 (write_locale_data): Take locale_file structure rather than an
10729 iovec.
10730 * locale/programs/locfile.h: Include "obstack.h".
10731 (struct locale_file): Change to store locale file contents instead
10732 of header.
10733 (init_locale_data): New prototype.
10734 (align_locale_data): Likewise.
10735 (add_locale_empty): Likewise.
10736 (add_locale_raw_data): Likewise.
10737 (add_locale_raw_obstack): Likewise.
10738 (add_locale_string): Likewise.
10739 (add_locale_wstring): Likewise.
10740 (add_locale_uint32): Likewise.
10741 (add_locale_uint32_array): Likewise.
10742 (add_locale_char): Likewise.
10743 (start_locale_structure): Likewise.
10744 (end_locale_structure): Likewise.
10745 (start_locale_prelude): Likewise.
10746 (end_locale_prelude): Likewise.
10747 (write_locale_data): Update prototype.
10748 * locale/programs/3level.h (struct TABLE): Remove result field.
10749 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10750 Use new locale_file interface.
10751 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10752 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10753 * locale/programs/ld-address.c (address_output): Use new
10754 locale_file interface.
10755 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10756 NO_ADD_LOCALE.
10757 (collate_finish): Don't call collseq_table_finalize.
10758 (collate_output): Use new locale_file interface.
10759 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10760 in file.
10761 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10762 (TABLE): Move defines earlier in file.
10763 (ELEMENT): Likewise.
10764 (DEFAULT): Likewise.
10765 (wctrans_table_add): Move macro and inline function earlier in
10766 file.
10767 (struct wctype_table): Move type earlier in file.
10768 (add_locale_wctype_table): New static prototype.
10769 (struct locale_ctype_t): Use logical types instead of struct iovec
10770 pointers for members.
10771 (ctype_output): Use new locale_file interface.
10772 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10773 new locale_file interface.
10774 (allocate_arrays): Update for use of new locale_file interface.
10775 * locale/programs/ld-identification.c (identification_output): Use
10776 new locale_file interface.
10777 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10778 * locale/programs/ld-messages.c (messages_output): Likewise.
10779 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10780 * locale/programs/ld-name.c (name_output): Likewise.
10781 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10782 * locale/programs/ld-paper.c (paper_output): Likewise.
10783 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10784 * locale/programs/ld-time.c (time_output): Likewise.
10785
e029e2e5
AZ
107862013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10787
10788 * benchtests/Makefile: Add memrchr benchmark.
10789 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10790 benchmark as memrchr.
10791 * benchtests/bench-memrchr-ifunc.c: New file.
10792 * benchtests/bench-memrchr.c: New file.
10793
bbf6e8e4
WN
107942013-09-06 Will Newton <will.newton@linaro.org>
10795
10796 * benchtests/Makefile (string-bench): Add memcpy.
10797
6c82a2f8
CD
107982013-09-05 Carlos O'Donell <carlos@redhat.com>
10799 Cong Wang <amwang@redhat.com>
10800
e732c5f0 10801 [BZ #15850]
6c82a2f8
CD
10802 * sysdeps/unix/sysv/linux/bits/in.h
10803 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10804 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10805 before __USE_KERNEL_IPV6_DEFS uses.
10806 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10807 IPPROTO_BEETPH.
10808 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10809 sockaddr_in6, or ipv6_mreq.
10810
5430fc65
AZ
108112013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10812
10813 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10814 memory access for final bytes in some large inputs.
10815 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10816
4660856c
AZ
108172013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10818
10819 * string/test-memrchr.c: New file.
10820 * string/test-memrchr-ifunc.c: New file.
10821 * string/Makefile: Add new memrchr testcase.
10822
bb8ea713
MF
108232013-09-05 Mike Frysinger <vapier@gentoo.org>
10824
10825 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10826 fanotify_init returns EPERM.
10827
b92a20b5
JM
108282013-09-04 Joseph Myers <joseph@codesourcery.com>
10829
10830 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10831 errors.
10832 (top level): Treat second token from macro or constant entries for
10833 allowed headers as allowed.
10834 * include/complex.h: Condition internal declarations on
10835 [!_ISOMAC].
10836 * include/fenv.h: Condition include of <stdbool.h> and internal
10837 declarations on [!_ISOMAC].
7447ccd9
CL
10838
108392013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10840
3e181dda 10841 [BZ #15923]
7447ccd9
CL
10842 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10843
3f2e46a4
JM
108442013-09-04 Joseph Myers <joseph@codesourcery.com>
10845
10846 * configure.in (--enable-versioning): Remove configure option.
10847 (libc_cv_asm_symver_directive): Remove configure test.
10848 (libc_cv_ld_version_script_option): Likewise.
10849 (VERSIONING): Remove variable and AC_SUBST.
10850 (DO_VERSIONING): Remove AC_DEFINE.
10851 * configure: Regenerated.
10852 * config.h.in (DO_VERSIONING): Remove macro.
10853 * Makerules [$(versioning) = yes]: Change conditionals to
10854 [$(build-shared) = yes].
10855 * config.make.in (versioning): Remove variable.
10856 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10857 [$(build-shared) = yes].
10858 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10859 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10860 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10861 [$(build-shared) = yes].
10862 * extra-lib.mk [$(versioning) = yes]: Likewise.
10863 * hurd/Makefile [$(versioning) = yes]: Likewise.
10864 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10865 [SHARED].
10866 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10867 [SHARED].
10868 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10869 [SHARED && !NO_HIDDEN].
10870 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10871 [SHARED].
10872 [SHARED && DO_VERSIONING]: Likewise..
10873 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10874 [$(build-shared) = yes].
10875 * manual/install.texi (--disable-versioning): Remove
10876 documentation.
10877 * INSTALL: Regenerated.
10878 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10879 to [SHARED].
10880 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10881 [$(build-shared) = yes].
10882 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10883 * sysdeps/i386/i686/multiarch/strstr-c.c
10884 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10885 [SHARED && !NO_HIDDEN].
10886 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10887 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10888 * sysdeps/powerpc/powerpc32/dl-machine.c
10889 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10890 * sysdeps/powerpc/powerpc32/sysdep.h
10891 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10892 to [SHARED && PIC && !NO_HIDDEN].
10893 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10894 conditional to [SHARED].
10895
44558701
WN
108962013-09-04 Will Newton <will.newton@linaro.org>
10897
10898 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10899 * benchtests/bench-string.h: Include bench-timing.h instead
10900 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10901 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10902 call to HP_TIMING_DIFF_INIT.
10903 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10904 instead of hp-timing.h macros.
10905 * benchtests/bench-memchr.c: Likewise.
10906 * benchtests/bench-memcmp.c: Likewise.
10907 * benchtests/bench-memcpy.c: Likewise.
10908 * benchtests/bench-memmem.c: Likewise.
10909 * benchtests/bench-memmove.c: Likewise.
10910 * benchtests/bench-memset.c: Likewise.
10911 * benchtests/bench-rawmemchr.c: Likewise.
10912 * benchtests/bench-strcasecmp.c: Likewise.
10913 * benchtests/bench-strcasestr.c: Likewise.
10914 * benchtests/bench-strcat.c: Likewise.
10915 * benchtests/bench-strchr.c: Likewise.
10916 * benchtests/bench-strcmp.c: Likewise.
10917 * benchtests/bench-strcpy.c: Likewise.
10918 * benchtests/bench-strcpy_chk.c: Likewise.
10919 * benchtests/bench-strlen.c: Likewise.
10920 * benchtests/bench-strncasecmp.c: Likewise.
10921 * benchtests/bench-strncat.c: Likewise.
10922 * benchtests/bench-strncmp.c: Likewise.
10923 * benchtests/bench-strncpy.c: Likewise.
10924 * benchtests/bench-strnlen.c: Likewise.
10925 * benchtests/bench-strpbrk.c: Likewise.
10926 * benchtests/bench-strrchr.c: Likewise.
10927 * benchtests/bench-strspn.c: Likewise.
10928 * benchtests/bench-strstr.c: Likewise.
10929
cae16d66
WN
109302013-09-04 Will Newton <will.newton@linaro.org>
10931
10932 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10933
ffa3cd7f
JM
109342013-09-03 Joseph Myers <joseph@codesourcery.com>
10935
10936 [BZ #15427]
10937 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10938 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10939 * math/libm-test.inc (lgamma_test_data): Add more tests.
10940 * sysdeps/i386/fpu/libm-test-ulps: Update.
10941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10942
8f02859f
OB
109432013-09-03 Ondřej Bílka <neleai@seznam.cz>
10944
10945 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10946 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10947 Add ifunc.
10948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10949 Add strcmp-sse2-unaligned
10950 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10951
18d43716
MF
109522013-09-02 Mike Frysinger <vapier@gentoo.org>
10953
10954 * Versions.def (libc): Add GLIBC_2.19.
10955
ac444012
MF
109562013-09-02 Mike Frysinger <vapier@gentoo.org>
10957
10958 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10959 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10960
b7835e32
JM
109612013-09-02 Joseph Myers <joseph@codesourcery.com>
10962
10963 [BZ #14155]
10964 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10965 intermediate calculations in recurrence.
10966 (__ieee754_ynf): Likewise.
10967 * math/libm-test.inc (jn_test_data): Do not allow spurious
10968 underflow exception. Add more tests.
10969 (yn_test_data): Add more tests.
10970 * sysdeps/i386/fpu/libm-test-ulps: Update.
10971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10972
8220f4f0
OB
109732013-09-02 Ondřej Bílka <neleai@seznam.cz>
10974
10975 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10976
f24a6d08
OB
109772013-08-30 Ondřej Bílka <neleai@seznam.cz>
10978
10979 * csu/init-first.c: Fix then/than typos.
10980 * locale/programs/ld-collate.c: Likewise.
10981 * locale/programs/linereader.h: Likewise.
10982 * manual/charset.texi: Likewise.
10983 * manual/filesys.texi: Likewise.
10984 * manual/stdio.texi: Likewise.
10985 * manual/string.texi: Likewise.
10986 * stdlib/fmtmsg.c: Likewise.
10987 * sysdeps/i386/stpncpy.S: Likewise.
10988 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10989 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10990 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10991 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10992
382466e0
OB
109932013-08-30 Ondřej Bílka <neleai@seznam.cz>
10994
10995 * elf/dl-open.c: Fix typos.
10996 * iconvdata/gbbig5.c: Likewise.
10997 * iconvdata/iso-2022-jp.c: Likewise.
10998 * iconv/gconv_int.h: Likewise.
10999 * iconv/loop.c: Likewise.
11000 * nis/rpcsvc/nis.h: Likewise.
11001 * resolv/ns_name.c: Likewise.
11002 * stdio-common/vfscanf.c: Likewise.
11003 * streams/stropts.h: Likewise.
11004 * sunrpc/rpc_thread.c: Likewise.
11005 * sysdeps/i386/strpbrk.S: Likewise.
11006 * sysdeps/ieee754/k_standard.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11009 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11010 * sysdeps/mach/hurd/profil.c: Likewise.
11011 * sysdeps/s390/dl-procinfo.h: Likewise.
11012 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11013 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11014 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11015 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11016 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11017
0186c6e9
OB
110182013-08-30 Ondřej Bílka <neleai@seznam.cz>
11019
11020 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11021 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11022
d4e16af1
OB
110232013-08-29 Ondřej Bílka <neleai@seznam.cz>
11024
11025 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11026 aix specific files.
11027 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11028 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11029 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11030 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11031 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11032 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11033 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11034 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11035
88335980
TS
110362013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11037 Roland McGrath <roland@hack.frob.com>
11038
11039 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11040 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11041
ed479b02
ST
110422013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11043
11044 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11045 __executable_start symbol instead of _start.
11046
f1cc4c86
TS
110472013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11048
d821f07c
TS
11049 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11050 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11051 Move macros to...
11052 * sysdeps/gnu/ldsodefs.h: ... this new file.
11053
c54290cf
TS
11054 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11055 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11056 instead of ELFOSABI_LINUX.
11057
0007fc9b 11058 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
11059 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11060 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11061 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11062 Likewise.
11063 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11064 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11065 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11066 Likewise.
11067 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11068 (ibm_extended_long_double): Add ieee_nan member.
11069 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11070 (do_test): New function.
11071
f1cc4c86
TS
11072 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11073 TEST_TRUNC.
11074 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11075 functions, renamed from truncdfsf_test, trunctfsf_test,
11076 trunctfdf_test.
11077 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11078 functions.
11079 (do_test): Run all these.
11080
6f65e668
OB
110812013-08-29 Ondřej Bílka <neleai@seznam.cz>
11082
11083 * argp/argp-help.c: Fix typos.
11084 * argp/argp-parse.c: Likewise.
11085 * debug/backtracesyms.c: Likewise.
11086 * elf/elf.h: Likewise.
11087 * malloc/malloc.c: Likewise.
11088 * nis/nis_print.c: Likewise.
11089 * resolv/res_comp.c: Likewise.
11090 * stdlib/stdlib.h: Likewise.
11091 * sunrpc/clnt_tcp.c: Likewise.
11092 * sunrpc/clnt_udp.c: Likewise.
11093 * sunrpc/clnt_unix.c: Likewise.
11094 * sysdeps/unix/bsd/ptsname.c: Likewise.
11095 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11096 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11098 Likewise.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11100 Likewise.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11102 Likewise.
6f65e668
OB
11103 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11104
3a309239
SP
111052013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11106
11107 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11109
3b813b29
MF
111102013-08-27 Mike Frysinger <vapier@gentoo.org>
11111
11112 [BZ #15897]
11113 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11114 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11115 ($(objpfx)bug-dl-leaf): New rule.
11116 ($(objpfx)bug-dl-leaf.so): Likewise.
11117 ($(objpfx)bug-dl-leaf.out): Likewise.
11118 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11119 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11120 * dlfcn/bug-dl-leaf.c: New test.
11121 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11122 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11123 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11124 (dlclose): Likewise.
11125 (dlmopen): Likewise.
11126
8cc3269f
RM
111272013-08-27 Roland McGrath <roland@hack.frob.com>
11128
7f9d0034
RM
11129 * include/netdb.h [!_ISOMAC]:
11130 Don't include <tls.h>.
11131 (h_errno, __libc_h_errno): Move declaration and macros out of
11132 [_LIBC_REENTRANT].
11133
fb431262
RM
11134 * include/resolv.h [_RESOLV_H_]:
11135 Don't include <tls.h>.
11136 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11137 * resolv/res_libc.c: Don't include <tls.h>.
11138 (_res): Use __attribute__ ((nocommon)) in place of
11139 __attribute__ ((section (".bss"))).
11140
bd81123a
RM
11141 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11142 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11143
c4e42566
RM
11144 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11145
f890a59b
RM
11146 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11147 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11148
11149 * resolv/res_mkquery.c: Include <sys/time.h>.
11150
5d1f0a09
RM
11151 * inet/ifreq.c: Moved to ...
11152 * sysdeps/unix/ifreq.c: ... here.
11153 * inet/ifreq.c: New file, true stub version.
11154
6fcf28b3
RM
11155 * socket/sa_len.c: New file.
11156 * socket/Makefile (aux): Add it.
11157 * sysdeps/unix/sysv/linux/Makefile
11158 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11159 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11160 and #include <socket/sa_len.c>.
11161 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11162 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11163
e041fb8b
RM
11164 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11165 * bits/socket.h: ... here.
11166
8cc3269f
RM
11167 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11168 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11169 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11170
5d228a43
AS
111712013-08-27 Andreas Schwab <schwab@suse.de>
11172
45b8accc
AS
11173 [BZ #15736]
11174 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11175 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11176 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11177 * string/test-strcasecmp.c (test_main): Run tests in several
11178 locales.
11179 * string/test-strncasecmp.c (test_main): Likewise.
11180
5d228a43
AS
11181 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11182 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11183 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11184 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11185 (__strncasecmp_ssse3) [PIC]: Likewise.
11186
59d112a4
RM
111872013-08-26 Roland McGrath <roland@hack.frob.com>
11188
53234cc3
RM
11189 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11190
59d112a4
RM
11191 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11192 instead of explicitly declaring xdecrypt.
11193 * nis/nss_nis/nis-publickey.c: Likewise.
11194
595aba70
SP
111952013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11196
11197 [BZ #15890]
11198 * nscd/aicache.c: Include res_hconf.h.
11199 (addhstaiX): Initialize res_hconf.
11200
ffabd393
AS
112012013-08-26 Andreas Schwab <schwab@suse.de>
11202
11203 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11204 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11205
e0a69f5c
SP
112062013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11207
11208 * nscd/aicache.c (addhstaiX): Fix indentation.
11209
8c12f01d
MF
112102013-08-25 Mike Frysinger <vapier@gentoo.org>
11211
11212 * configure.ac: Quote $build_pt_chown test.
11213 * configure: Regenerated.
11214
8fe89494
JM
112152013-08-23 Joseph Myers <joseph@codesourcery.com>
11216
11217 [BZ #15532]
11218 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11219 * math/s_cexpf.c (__cexpf): Likewise.
11220 * math/s_cexpl.c (__cexpl): Likewise.
11221 * math/libm-test.inc (cexp_test_data): Correct expected return
11222 value for NaN + i0. Add another test.
11223
75b181d6
DM
112242013-08-22 David S. Miller <davem@davemloft.net>
11225
11226 * po/ca.po: Update Catalan translation from translation project.
936241e4 11227 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11228
acd06bb1
JM
112292013-08-21 Joseph Myers <joseph@codesourcery.com>
11230
11231 [BZ #15797]
11232 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11233 is infinite, not alongside NaN test.
11234 * math/s_fdimf.c (__fdimf): Likewise.
11235 * math/s_fdiml.c (__fdiml): Likewise.
11236 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11237 errno is unchanged.
11238
c0c3f78a
OB
112392013-08-21 Ondřej Bílka <neleai@seznam.cz>
11240
11241 * argp/argp-help.c: Fix typos.
11242 * crypt/speeds.c: Likewise.
11243 * csu/check_fds.c: Likewise.
11244 * elf/dl-load.c: Likewise.
11245 * elf/dl-open.c: Likewise.
11246 * elf/reldep3.c: Likewise.
11247 * elf/reldep.c: Likewise.
11248 * elf/sprof.c: Likewise.
11249 * iconv/iconv_charmap.c: Likewise.
11250 * iconv/skeleton.c: Likewise.
11251 * iconv/strtab.c: Likewise.
11252 * io/lockf64.c: Likewise.
11253 * libio/libioP.h: Likewise.
11254 * resolv/gai_notify.c: Likewise.
11255 * resolv/ns_name.c: Likewise.
11256 * resolv/ns_samedomain.c: Likewise.
11257 * resolv/res_send.c: Likewise.
11258 * stdlib/random.c: Likewise.
11259 * sunrpc/rpc/xdr.h: Likewise.
11260 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11261 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11262 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11263 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11264 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11265 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11266 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11267 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11268 * sysdeps/mach/hurd/check_fds.c: Likewise.
11269 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11270 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11271 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11272 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11273 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11274 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11275 * sysdeps/pthread/aio_notify.c: Likewise.
11276 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11277 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11278 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11279 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11280 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11281
46ed1038
LD
112822013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11283
11284 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11285 version if bit_Slow_SSE4_2 is set.
11286 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11287 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11288
d400dcac
AZ
112892013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11290
11291 [BZ #15867]
11292 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11293 trampoline stack frame information.
11294 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11295 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11296 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11297 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11298 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11299 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11300 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11301 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11302 sa_flags value.
11303 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11304 interrupting a syscall and set with option SA_SIGINFO.
11305
42c8fdd8
JM
113062013-08-20 Joseph Myers <joseph@codesourcery.com>
11307
c980f2f4
JM
11308 [BZ #15531]
11309 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11310 argument is infinite.
11311 * math/s_cprojf.c (__cprojf): Likewise.
11312 * math/s_cprojl.c (__cprojl): Likewise.
11313 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11314 * math/libm-test.inc (cproj_test_data): Add more tests.
11315
0716c4fc
JM
11316 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11317
42c8fdd8
JM
11318 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11319 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11320 size. Use __ffs to determine corresponding shift.
11321
b31469d0
JM
113222013-08-20 Joseph Myers <joseph@codesourcery.com>
11323 Roland McGrath <roland@hack.frob.com>
11324
11325 * Makefile (INSTALL): Remove trailing blank lines from output of
11326 makeinfo.
11327
4e39af6e
AK
113282013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11329
11330 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11331 Align 32 bit compat elf_greg to 8 bytes.
11332
f315524e
AA
113332013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11334
11335 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11336
1326ba1a
SP
113372013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11338
11339 * string/strcoll_l.c (coll_seq): New structure.
11340 (get_next_seq_cached): New function.
11341 (get_next_seq): New function.
11342 (do_compare): New function.
11343 (STRCOLL): Use GNU style definition. Simplify implementation
11344 by using get_next_seq, get_next_seq_cached and do_compare.
11345
91ce4085
FW
113462013-08-16 Florian Weimer <fweimer@redhat.com>
11347
11348 [BZ #14699]
11349 CVE-2013-4237
11350 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11351 member.
11352 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11353 member.
11354 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11355 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11356 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11357 conditional.
11358 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11359 GETDENTS_64BIT_ALIGNED.
11360 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11361 * manual/filesys.texi (Reading/Closing Directory): Document
11362 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11363 strongly.
11364 * manual/conf.texi (Limits for Files): Add portability note to
11365 NAME_MAX, PATH_MAX.
11366 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11367
ca0a6bc4
AS
113682013-08-13 Andreas Schwab <schwab@suse.de>
11369
11370 [BZ #15749]
11371 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11372 of fabs.
11373 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11374 LDBL_MAX_EXP >= 16384]: Add tests for it.
11375
6c1fd795
DM
113762013-08-12 David S. Miller <davem@davemloft.net>
11377
11378 * version.h (RELEASE): Set to "development".
11379 (VERSION): Set to "2.18.90".
11380 * NEWS: Add 2.19 section.
11381
31ad488d
DM
113822013-08-03 David S. Miller <davem@davemloft.net>
11383
11384 * po/ko.po: Update Korean translation from translation project.
11385
db24e684
DM
113862013-08-01 David S. Miller <davem@davemloft.net>
11387
11388 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11389 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11390 Bilka.
11391
f723285b
DM
113922013-07-30 David S. Miller <davem@davemloft.net>
11393
11394 * po/fr.po: Update French translation from translation project.
11395
3cbc52db
DM
113962013-07-28 David S. Miller <davem@davemloft.net>
11397
30bbc0cc
DM
11398 * po/cs.po: Update Czech translation from translation project.
11399
3cbc52db
DM
11400 * po/sv.po: Update Swedish translation from translation project.
11401
d492e6d0
DM
114022013-07-27 David S. Miller <davem@davemloft.net>
11403
f1a7f492
DM
11404 * po/eo.po: Update Esperanto translation from translation project.
11405
90e62a4a
DM
11406 * po/vi.po: Update Vietnamese translation from translation project.
11407
d492e6d0
DM
11408 * po/de.po: Update German translation from translation project.
11409
d4baa62d
DM
114102013-07-26 David S. Miller <davem@davemloft.net>
11411
641aa7b4
DM
11412 * po/bg.po: Update Bulgarian translation from translation project.
11413
d4baa62d
DM
11414 * po/nl.po: Update Dutch translation from translation project.
11415 * po/pl.po: Update Polish translation from translation project.
11416 * po/ru.po: Update Russian translation from translation project.
11417
61a9dcb9
DM
114182013-07-24 David S. Miller <davem@davemloft.net>
11419
11420 * po/libc.pot: Update.
11421
7b1f8b58
AZ
114222013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11423
11424 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11425 variable page size.
11426 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11427 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11428 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11429
a8fc7a03
AK
114302013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11431
11432 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11433
e4608715
CD
114342013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11435 Andreas Schwab <schwab@suse.de>
11436 Roland McGrath <roland@hack.frob.com>
11437 Joseph Myers <joseph@codesourcery.com>
11438 Carlos O'Donell <carlos@redhat.com>
11439
11440 [BZ #15755]
11441 * config.h.in: Define HAVE_PT_CHOWN.
11442 * config.make.in (build-pt-chown): New variable.
11443 * configure.in (--enable-pt_chown): New configure option.
11444 * configure: Regenerate.
11445 * login/Makefile: Include Makeconfig. Build pt_chown only if
11446 build-pt-chown is enabled.
11447 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11448 pt_chown to fix pty ownership.
11449 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11450 CLOSE_ALL_FDS.
11451 * manual/install.texi (Configuring and compiling): Mention
11452 --enable-pt_chown. Add @findex for grantpt.
11453 * INSTALL: Regenerate.
11454
da2d62df
DM
114552013-07-20 David S. Miller <davem@davemloft.net>
11456
11457 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11458 difference between 32-bit and 64-bit.
11459
d7e06450
CD
114602013-07-15 Carlos O'Donell <carlos@redhat.com>
11461
11462 [BZ #15711]
11463 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11464 Avoid system header dependency with -ffreestanding.
11465 ($(objpfx)bits/syscall%d): Likewise.
11466
f959cfd7
DM
114672013-07-13 David S. Miller <davem@davemloft.net>
11468
11469 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11470 underflows from atanl/atan2l due to bug 15319.
11471 (casinh_test_data): Likewise.
11472
c61f8513
DM
114732013-07-07 David S. Miller <davem@davemloft.net>
11474
11475 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11476
72c90ed0
JA
114772013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11478
11479 * sysdeps/i386/fpu/libm-test-ulps: Update.
11480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11481
52dfbe13
SP
114822013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11483
11484 * configure.in (--enable-lock-elision): Fix message text.
11485 * INSTALL: Regenerate.
11486 * configure: Regenerate.
11487
3f169543
AZ
114882013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11489
11490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11491
521c6785
AJ
114922013-07-03 Andreas Jaeger <aj@suse.de>
11493
11494 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11495 define.
11496 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11497 (ptrace_peeksiginfo_args): Add.
11498 (__ptrace_peeksiginfo_flags): Add.
11499 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11500 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11501 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11502
d2cc15cb
AM
115032013-07-03 Allan McRae <allan@archlinux.org>
11504
11505 * sysdeps/i386/fpu/libm-test-ulps: Update.
11506
3aaeeca7
DM
115072013-07-02 David S. Miller <davem@davemloft.net>
11508
11509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11510
5314ed1a
MT
115112013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11512
11513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11514
67338156
JM
115152013-07-02 Joseph Myers <joseph@codesourcery.com>
11516
11517 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11519
1717da59
AK
115202013-07-02 Andi Kleen <ak@linux.intel.com>
11521
11522 * config.h.in (ENABLE_LOCK_ELISION): Add.
11523 * configure.in (--enable-lock-elision): Add option.
11524 * manual/install.texi: Document --enable lock elision.
11525 * configure: Regenerate
11526 * INSTALL: Regenerate.
11527
1c81621c
L
115282013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11529
11530 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11531 SSE4.2 strcasecmp for libc.a.
11532 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11533
77f01ab5
JM
115342013-07-02 Joseph Myers <joseph@codesourcery.com>
11535
11536 [BZ #13304]
11537 * soft-fp/op-common.h (_FP_FMA): New macro.
11538 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11539 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11540 (_FP_MUL_MEAT_1_imm): ... here.
11541 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11542 (_FP_MUL_MEAT_1_wide): ... here.
11543 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11544 (_FP_MUL_MEAT_1_hard): ... here.
11545 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11546 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11547 (_FP_MUL_MEAT_2_wide): ... here.
11548 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11549 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11550 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11551 (_FP_MUL_MEAT_2_gmp): ... here.
11552 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11553 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11554 (_FP_MUL_MEAT_4_wide): ... here.
11555 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11556 (_FP_MUL_MEAT_4_gmp): ... here.
11557 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11558 (_FP_WFRACBITS_DW_S): Likewise.
11559 (_FP_WFRACXBITS_DW_S): Likewise.
11560 (_FP_HIGHBIT_DW_S): Likewise.
11561 (FP_FMA_S): Likewise.
11562 (_FP_FRAC_HIGH_DW_S): Likewise.
11563 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11564 (_FP_WFRACBITS_DW_D): Likewise.
11565 (_FP_WFRACXBITS_DW_D): Likewise.
11566 (_FP_HIGHBIT_DW_D): Likewise.
11567 (FP_FMA_D): Likewise.
11568 (_FP_FRAC_HIGH_DW_D): Likewise.
11569 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11570 (_FP_WFRACBITS_DW_E): Likewise.
11571 (_FP_WFRACXBITS_DW_E): Likewise.
11572 (_FP_HIGHBIT_DW_E): Likewise.
11573 (FP_FMA_E): Likewise.
11574 (_FP_FRAC_HIGH_DW_E): Likewise.
11575 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11576 (_FP_WFRACBITS_DW_Q): Likewise.
11577 (_FP_WFRACXBITS_DW_Q): Likewise.
11578 (_FP_HIGHBIT_DW_Q): Likewise.
11579 (FP_FMA_Q): Likewise.
11580 (_FP_FRAC_HIGH_DW_Q): Likewise.
11581 * soft-fp/fmasf4.c: New file.
11582 * soft-fp/fmadf4.c: Likewise.
11583 * soft-fp/fmatf4.c: Likewise.
11584
6308fd9a
LD
115852013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11586
11587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11588 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11589 Silvermont.
11590 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11591 macro.
11592 (index_Slow_SSE4_2): Likewise.
11593 (index_Prefer_PMINUB_for_stringop): Likewise.
11594 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11595 bit_Slow_SSE4_2 is set.
11596 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11597 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11598
89cd9569
RA
115992013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11600
11601 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11602 rtld_global._dl_hwcap2.
11603 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11604 POWER8.
11605 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11606 POWER8 feature descriptions defined in _dl_hwcap2.
11607 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11608 string handling for POWER8 feature bits.
11609 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11610 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11611 _dl_powerpc_cap_flags.
11612 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11613 * sysdeps/powerpc/rtld-global-offsets.sym
11614 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11615 _dl_hwcap2 in the rtld_global_ro structure.
11616
1ae8bfe0
RA
116172013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11618
11619 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11620 hardware capabilities in support of AT_HWCAP2.
11621 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11622 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11623 GLRO(dl_hwcap2).
11624 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11625 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11626 explicitly the unknown a_type display mechanism is used.
11627 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11628 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11629 struct member.
11630 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11631 to macro prototype for AT_HWCAP2 support.
11632 * sysdeps/i386/dl-procinfo.h: Likewise.
11633 * sysdeps/s390/dl-procinfo.h: Likewise.
11634 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11635 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11636 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11637 return -1 for unknown a_type display fallback.
11638 * sysdeps/sparc/dl-procinfo.h: Likewise.
11639 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11640 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11641
8fbec010
JM
116422013-06-28 Joseph Myers <joseph@codesourcery.com>
11643
11644 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11645 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11646
0432680e
PY
116472013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11648
11649 [BZ #12492]
11650 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11651 mprotect making __stack_prot writable.
11652
ce61a2ad
NF
116532013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11654 Joseph Myers <joseph@codesourcery.com>
11655
11656 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11657 as being properly aligned.
11658
f91f1c0f
MR
116592013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11660
3d0f5d0c
MR
11661 * dlfcn/modstatic5.c: New file.
11662 * dlfcn/tststatic5.c: New file.
11663 * dlfcn/Makefile (tests): Add tststatic5.
11664 (tests-static): Likewise.
11665 (modules-names): Add modstatic5.
11666 (tststatic5-ENV): New variable.
11667 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11668
f91f1c0f
MR
11669 [BZ #15022]
11670 * elf/dl-support.c (_dl_main_map): New variable.
11671 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11672 (_dl_nns, _dl_load_adds): Set to 1.
11673 (_dl_initial_searchlist): Refer to _dl_main_map.
11674 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11675 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11676 call to _dl_get_origin.
11677 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11678 around call_map.
11679 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11680 * dlfcn/modstatic3.c: New file.
11681 * dlfcn/tststatic3.c: New file.
11682 * dlfcn/tststatic4.c: New file.
11683 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11684 (tests-static): Likewise.
11685 (modules-names): Add modstatic3.
11686 (tststatic3-ENV, tststatic4-ENV): New variables.
11687 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11688 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11689
cbe7d24b
JM
116902013-06-26 Joseph Myers <joseph@codesourcery.com>
11691
11692 * configure.in (CC): Require GCC version 4.4 or later.
11693 * configure: Regenerated.
11694 * manual/install.texi (Tools for Compilation): Update GCC version
11695 requirement.
11696 * INSTALL: Regenerated.
11697
11b8a0e1
LD
116982013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11699
11700 [BZ #15674]
bb5bb87c
L
11701 * string/test-memcmp.c (check2): New.
11702 (main): Call check2.
11703
11b8a0e1
LD
11704 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11705
b0037103
MR
117062013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11707
11708 [BZ #15022]
11709 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11710 over to...
11711 (dl_open_worker) [!SHARED]: ... here.
11712
c18c701d
RA
117132013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11714
11715 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11716
1d17fa5f
RH
117172013-06-25 Richard Henderson <rth@redhat.com>
11718
11719 * locale/programs/locarchive.c: Include <libc-internal.h>
11720
8fcb833a
JM
117212013-06-25 Joseph Myers <joseph@codesourcery.com>
11722
11723 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11724 trailing whitespace removed.
11725
17db6e8d
MF
117262013-06-24 Mike Frysinger <vapier@gentoo.org>
11727
11728 [BZ #10283]
17db6e8d
MF
11729 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11730 * locale/programs/locarchive.c: Include libc-mmap.h.
11731 (prepare_address_space): Take two new outputs (the mmap base and len).
11732 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11733 values.
11734 (create_archive): Declare new mmap base and len values for
11735 prepare_address_space, and store the result in ah.
11736 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11737 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11738 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11739 Declare new mmap base and len values for
11740 prepare_address_space, and store the result in new_ah.
11741 (open_archive): Declare new mmap base and len values for
11742 prepare_address_space, and store the result in ah.
11743 (close_archive): If ah->mmap_base is not NULL, use that and
11744 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11745 * sysdeps/generic/libc-mmap.h: New file.
11746
d605071e
MF
117472013-06-24 Mike Frysinger <vapier@gentoo.org>
11748
11749 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11750 (ALIGN_UP): Likewise.
11751 (PTR_ALIGN_DOWN): Likewise.
11752 (PTR_ALIGN_UP): Likewise.
11753
2f063a6e
RA
117542013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11755
11756 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11757 entry mapped to PPC_PLATFORM_POWER8.
11758 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11759 POWER8.
11760 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11761 (_dl_string_platform): Add case for exporting platform position for
11762 POWER8.
11763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11764 search path to sysdeps/powerpc/powerpc32/power8 directory.
11765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11766 search path to sysdeps/powerpc/powerpc64/power8 directory.
11767 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11768 power7 directories.
11769 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11770 power7 directories.
11771
a31ee4b3
SP
117722013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11773
a74ca98f
SP
11774 * INSTALL: Regenerate.
11775
a31ee4b3
SP
11776 * nscd/connections.c (nscd_init): Fix comment.
11777
695c378f
JM
117782013-06-22 Joseph Myers <joseph@codesourcery.com>
11779
d8412221
JM
11780 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11781
695c378f
JM
11782 [BZ #15667]
11783 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11784 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11785
d1d54715
MR
117862013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11787
11788 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11789 DL_DST_REQ_STATIC.
11790 (DL_DST_REQ_STATIC): Remove macro.
11791
8fdda7af
JM
117922013-06-21 Joseph Myers <joseph@codesourcery.com>
11793
11794 [BZ #7006]
11795 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11796 with a shift of 0 bits.
11797
f3bc5e5a
MR
117982013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11799
11800 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11801 $(tststatic-ENV).
11802
be09e8c9
KK
118032013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11804
11805 [BZ #15655]
11806 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11807
85c2e611
AZ
118082013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11809
11810 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11811 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11812 accepts -fno-tree-loop-distribute-patterns.
11813 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11814 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11815 recursive call.
11816 * string/memset.c (memset): Likewise.
11817 * string/test-memmove.c (simple_memmove): Disable loop transformation
11818 to library calls.
11819 * string/test-memset.c (simple_memset): Likewise.
11820 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11821 * benchtests/bench-memset.c (simple_memset): Likewise.
11822 * configure: Regenerated.
11823
c91e0825
JM
118242013-06-20 Joseph Myers <joseph@codesourcery.com>
11825
b8c792af
JM
11826 * math/test-misc.c (main): Ignore fesetround failure when failures
11827 of subsequent rounding tests would be ignored.
11828
c91e0825
JM
11829 [BZ #15654]
11830 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11831 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11832 * math/fegetenv.c (__fegetenv): Return 0.
11833 * math/fegetexcept.c (fegetexcept): Return 0.
11834 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11835 FE_TONEAREST.
11836 * math/feholdexcpt.c (feholdexcept): Return 0.
11837 * math/fesetenv.c (__fesetenv): Return 0.
11838 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11839 argument FE_TONEAREST.
11840 * math/feupdateenv.c (__feupdateenv): Return 0.
11841 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11842
bfcacbde
RM
118432013-06-18 Roland McGrath <roland@hack.frob.com>
11844
11845 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11846 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11847 ($(objpfx)rtld-%.os rules): Use them.
11848
e55a9b25
AZ
118492013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11850
11851 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11852 fields.
11853
346d65b3
RM
118542013-06-17 Roland McGrath <roland@hack.frob.com>
11855
12086fb4
RM
11856 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11857 length of target pattern, then descending length of dependency pattern.
11858 * configure.in (AWK): Require gawk 3.1.2 or newer.
11859 * manual/install.texi (Tools for Compilation): Say that we do.
11860 * configure: Regenerated.
11861
346d65b3
RM
11862 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11863 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11864 * scripts/sysd-rules.awk: ... this new script.
11865 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11866 than a glob-style pattern.
11867
1a846317
JM
118682013-06-17 Joseph Myers <joseph@codesourcery.com>
11869
11870 * math/test-misc.c (main): Do not treat incorrectly rounded
11871 conversions as failure unless ROUNDING_TESTS passes.
11872
8fc75e6f
JM
118732013-06-15 Joseph Myers <joseph@codesourcery.com>
11874
3711a167
JM
11875 [BZ #15631]
11876 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11877 restore exception state around main square root computation, then
11878 check for inexactness explicitly.
11879
8fc75e6f
JM
11880 * math/libm-test.inc (fma_test_data): Add another test.
11881
61dd6208
SP
118822013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11883
adf23d2c
SP
11884 * manual/threads.texi (Non-POSIX Extensions): New document
11885 node. Document pthread_getattr_default_np and
11886 pthread_setattr_default_np.
11887
61dd6208
SP
11888 * Versions.def (libpthread): Add GLIBC_2.18.
11889 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11891 Likewise.
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11893 Likewise.
11894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11895 Likewise.
11896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11897 Likewise.
11898 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11899 Likewise.
11900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11901 Likewise.
11902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11903 Likewise.
11904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11905 Likewise.
11906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11907 Likewise.
11908
d086fc7b
LD
119092013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11910
11911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11912 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11913
747ef469
SP
119142013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11915 H.J. Lu <hjl.tools@gmail.com>
11916
11917 [BZ #15627]
11918 * sysdeps/x86_64/rtld-memset.c: Remove file.
11919 * sysdeps/x86_64/rtld-memset.S: New file.
11920
1b2feed2
JM
119212013-06-14 Joseph Myers <joseph@codesourcery.com>
11922
11923 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11924 (test_in_one_mode): Take arguments for whether the rounding mode
11925 is supported for each floating-point type.
11926 (do_test): Pass new arguments to test_in_one_mode using
11927 ROUNDING_TESTS.
11928
a58ad3f8
RM
119292013-06-13 Roland McGrath <roland@hack.frob.com>
11930
11931 * posix/tst-waitid.c (do_test): Distinguish different instances of
11932 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11933 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11934 before entering the kernel for waitpid.
11935
c204ab28
SP
119362013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11937
11938 * NEWS: Fix note on clock function precision. Text by Roland
11939 McGrath.
11940
f4a29fba
RM
119412013-06-13 Roland McGrath <roland@hack.frob.com>
11942
11943 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11944 it into place only when and if the sanity check passes.
11945
1f24b9ad
JM
119462013-06-13 Joseph Myers <joseph@codesourcery.com>
11947
11948 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11949 output for whether conversion result is exact. Take argument
11950 indicating whether type is IBM long double.
11951 (round_for_all): Change need_exact field to ibm_ld.
11952 * stdlib/tst-strtod-round.c (struct exactness): New type.
11953 (struct test): Change bool ld_ok field to struct exactness exact.
11954 (TEST): Update all definitions for change to field.
11955 (tests): Regenerate array contents.
11956 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11957 field value. Check for IBM long double here.
11958 (do_test): Update calls to test_in_one_mode.
11959
58206c68
SP
119602013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11961
11962 [BZ #12515]
11963 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11964 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11965
2d6f4c5b 119662013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11967
11968 [BZ #15605]
11969 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11970 generated by the compiler on loop optimizations.
11971 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11972 general definitions.
11973
94f2c076
JM
119742013-06-12 Joseph Myers <joseph@codesourcery.com>
11975
11976 * math/bug-nextafter.c: Include <math-tests.h>.
11977 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11978 the relevant type.
11979 * math/bug-nexttoward.c: Include <math-tests.h>.
11980 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11981 the relevant type.
11982 * math/test-misc.c: Include <math-tests.h>.
11983 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11984 the relevant type.
11985
e0e50a0a
AJ
119862013-06-12 Andreas Jaeger <aj@suse.de>
11987
11988 * po/ia.po: Update Interlingua translation from translation
11989 project.
11990
25061094
SP
119912013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11992
11993 * include/fenv.h: Include stdbool.h.
11994 (struct rm_ctx): New structure.
11995 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11996 Define macro.
11997 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11998 (SET_RESTORE_ROUNDF): Likewise.
11999 (SET_RESTORE_ROUNDL): Likewise.
12000 (SET_RESTORE_ROUND_NOEX): Likewise.
12001 (SET_RESTORE_ROUND_NOEXF): Likewise.
12002 (SET_RESTORE_ROUND_NOEXL): Likewise.
12003 (SET_RESTORE_ROUND_53BIT): Likewise.
12004 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12005 (libc_feresetround_noexf_ctx): Likewise.
12006 (libc_feresetround_noexl_ctx): Likewise.
12007 (libc_feholdsetround_53bit_ctx): Likewise.
12008 (libc_feresetround_53bit_ctx): Likewise.
12009 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12010 (libc_feholdexcept_setround_sse_ctx): New function.
12011 (libc_fesetenv_sse_ctx): Likewise.
12012 (libc_feupdateenv_sse_ctx): Likewise.
12013 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12014 (libc_feholdexcept_setround_387_ctx): Likewise.
12015 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12016 (libc_feholdsetround_387_prec_ctx): Likewise.
12017 (libc_feholdsetround_387_ctx): Likewise.
12018 (libc_feholdsetround_387_53bit_ctx): Likewise.
12019 (libc_feholdsetround_sse_ctx): Likewise.
12020 (libc_feresetround_sse_ctx): Likewise.
12021 (libc_feresetround_387_ctx): Likewise.
12022 (libc_feupdateenv_387_ctx): Likewise.
12023 (libc_feholdexcept_setroundf_ctx): Define macro.
12024 (libc_fesetenvf_ctx): Likewise.
12025 (libc_feupdateenvf_ctx): Likewise.
12026 (libc_feholdsetroundf_ctx): Likewise.
12027 (libc_feresetroundf_ctx): Likewise.
12028 (libc_feholdexcept_setround_ctx): Likewise.
12029 (libc_fesetenv_ctx): Likewise.
12030 (libc_feupdateenv_ctx): Likewise.
12031 (libc_feholdsetround_ctx): Likewise.
12032 (libc_feresetround_ctx): Likewise.
12033 (libc_feholdexcept_setroundl_ctx): Likewise.
12034 (libc_feupdateenvl_ctx): Likewise.
12035 (libc_feholdsetroundl_ctx): Likewise.
12036 (libc_feresetroundl_ctx): Likewise.
12037 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12038 (libc_feresetround_53bit_ctx): Likewise.
12039
59b30555
SP
120402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12041
12042 * locale/iso-639.def: Convert to UTF-8.
12043
f1d73d30
JM
120442013-06-11 Joseph Myers <joseph@codesourcery.com>
12045
12046 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12047 (EXCEPTION_TESTS_double): Likewise.
12048 (EXCEPTION_TESTS_long_double): Likewise.
12049 (EXCEPTION_TESTS): Likewise.
12050 * math/libm-test.inc (test_exceptions): Only test exceptions if
12051 EXCEPTION_TESTS (FLOAT).
12052
94aca5e7
SP
120532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12054
12055 * benchtests/Makefile (string-bench): Add strcpy_chk and
12056 stpcpy_chk.
12057 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12058 * benchtests/bench-stpcpy_chk.c: New file.
12059 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12060 * benchtests/bench-strcpy_chk.c: New file.
12061 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12062 code.
12063 (do_test): Likewise.
12064
fac0c5f2
RA
120652013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12066
12067 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12068 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12069 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12070 with tabs where appropriate.
12071 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12072 dl-procinfo.h.
12073 [PPC_PLATFORM_PPC440]: Likewise.
12074 [PPC_PLATFORM_PPC464]: Likewise.
12075 [PPC_PLATFORM_PPC476]: Likewise.
12076 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12077 ppc464, and ppc476 platform strings merging from ports/
12078 dl-procinfo.h.
12079
f22bc486
AS
120802013-06-11 Andreas Schwab <schwab@suse.de>
12081
12082 [BZ #14991]
12083 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12084 (from_ucs4_idx): Regenerate.
12085 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12086 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12087 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12088 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12089 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12090 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12091 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12092 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12093 from FROM_LOOP and TO_LOOP specific macros.
12094 (BODY): Handle combining characters.
12095 * iconvdata/BIG5HKSCS.irreversible: Update.
12096 * iconvdata/BIG5HKSCS.precomposed: New file.
12097 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12098 characters.
12099 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12100
c1f75dc3
SP
121012013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12102
4eacded2
SP
12103 * include/sys/time.h: Fix indentation and add copyright header.
12104
fec799f8
SP
12105 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12106 (do_test): Likewise.
12107 * string/test-memchr.c (do_one_test): Likewise.
12108 (do_test): Likewise.
12109 * string/test-memcmp.c (do_one_test): Likewise.
12110 (do_test): Likewise.
12111 * string/test-memcpy.c (do_one_test): Likewise.
12112 (do_test): Likewise.
12113 * string/test-memmem.c (do_one_test): Likewise.
12114 (do_test): Likewise.
12115 (do_random_tests): Likewise.
12116 * string/test-memmove.c (do_one_test): Likewise.
12117 (do_test): Likewise.
12118 * string/test-memset.c (do_one_test): Likewise.
12119 (do_test): Likewise.
12120 * string/test-rawmemchr.c (do_one_test): Likewise.
12121 (do_test): Likewise.
12122 * string/test-strcasecmp.c (do_one_test): Likewise.
12123 (do_test): Likewise.
12124 * string/test-strcasestr.c (do_one_test): Likewise.
12125 (do_test): Likewise.
12126 * string/test-strcat.c (do_one_test): Likewise.
12127 (do_test): Likewise.
12128 * string/test-strchr.c (do_one_test): Likewise.
12129 (do_test): Likewise.
12130 * string/test-strcmp.c (do_one_test): Likewise.
12131 (do_test): Likewise.
12132 * string/test-strcpy.c (do_one_test): Likewise.
12133 (do_test): Likewise.
12134 * string/test-string.h: Likewise.
12135 (test_init): Likewise.
12136 * string/test-strlen.c (do_one_test): Likewise.
12137 (do_test): Likewise.
12138 * string/test-strncasecmp.c (do_one_test): Likewise.
12139 (do_test): Likewise.
12140 * string/test-strncat.c (do_one_test): Likewise.
12141 (do_test): Likewise.
12142 * string/test-strncmp.c (do_one_test): Likewise.
12143 (do_test_limit): Likewise.
12144 (do_test): Likewise.
12145 * string/test-strncpy.c (do_one_test): Likewise.
12146 (do_test): Likewise.
12147 * string/test-strnlen.c (do_one_test): Likewise.
12148 (do_test): Likewise.
12149 * string/test-strpbrk.c (do_one_test): Likewise.
12150 (do_test): Likewise.
12151 * string/test-strrchr.c (do_one_test): Likewise.
12152 (do_test): Likewise.
12153 * string/test-strspn.c (do_one_test): Likewise.
12154 (do_test): Likewise.
12155 * string/test-strstr.c (do_one_test): Likewise.
12156 (do_test): Likewise.
12157
97020474
SP
12158 * benchtests/Makefile (string-bench): Add string benchmarks.
12159 * benchtests/bench-bcopy-ifunc.c: New file.
12160 * benchtests/bench-bcopy.c: New file.
12161 * benchtests/bench-bzero-ifunc.c: New file.
12162 * benchtests/bench-bzero.c: New file.
12163 * benchtests/bench-memccpy-ifunc.c: New file.
12164 * benchtests/bench-memccpy.c: New file.
12165 * benchtests/bench-memchr-ifunc.c: New file.
12166 * benchtests/bench-memchr.c: New file.
12167 * benchtests/bench-memcmp-ifunc.c: New file.
12168 * benchtests/bench-memcmp.c: New file.
12169 * benchtests/bench-memmem-ifunc.c: New file.
12170 * benchtests/bench-memmem.c: New file.
12171 * benchtests/bench-memmove-ifunc.c: New file.
12172 * benchtests/bench-memmove.c: New file.
12173 * benchtests/bench-mempcpy-ifunc.c: New file.
12174 * benchtests/bench-mempcpy.c: New file.
12175 * benchtests/bench-memset-ifunc.c: New file.
12176 * benchtests/bench-memset.c: New file.
12177 * benchtests/bench-rawmemchr-ifunc.c: New file.
12178 * benchtests/bench-rawmemchr.c: New file.
12179 * benchtests/bench-stpcpy-ifunc.c: New file.
12180 * benchtests/bench-stpcpy.c: New file.
12181 * benchtests/bench-stpncpy-ifunc.c: New file.
12182 * benchtests/bench-stpncpy.c: New file.
12183 * benchtests/bench-strcasecmp-ifunc.c: New file.
12184 * benchtests/bench-strcasecmp.c: New file.
12185 * benchtests/bench-strcasestr-ifunc.c: New file.
12186 * benchtests/bench-strcasestr.c: New file.
12187 * benchtests/bench-strcat-ifunc.c: New file.
12188 * benchtests/bench-strcat.c: New file.
12189 * benchtests/bench-strchr-ifunc.c: New file.
12190 * benchtests/bench-strchr.c: New file.
12191 * benchtests/bench-strchrnul-ifunc.c: New file.
12192 * benchtests/bench-strchrnul.c: New file.
12193 * benchtests/bench-strcmp-ifunc.c: New file.
12194 * benchtests/bench-strcmp.c: New file.
12195 * benchtests/bench-strcpy-ifunc.c: New file.
12196 * benchtests/bench-strcpy.c: New file.
12197 * benchtests/bench-strcspn-ifunc.c: New file.
12198 * benchtests/bench-strcspn.c: New file.
12199 * benchtests/bench-strlen-ifunc.c: New file.
12200 * benchtests/bench-strlen.c: New file.
12201 * benchtests/bench-strncasecmp-ifunc.c: New file.
12202 * benchtests/bench-strncasecmp.c: New file.
12203 * benchtests/bench-strncat-ifunc.c: New file.
12204 * benchtests/bench-strncat.c: New file.
12205 * benchtests/bench-strncmp-ifunc.c: New file.
12206 * benchtests/bench-strncmp.c: New file.
12207 * benchtests/bench-strncpy-ifunc.c: New file.
12208 * benchtests/bench-strncpy.c: New file.
12209 * benchtests/bench-strnlen-ifunc.c: New file.
12210 * benchtests/bench-strnlen.c: New file.
12211 * benchtests/bench-strpbrk-ifunc.c: New file.
12212 * benchtests/bench-strpbrk.c: New file.
12213 * benchtests/bench-strrchr-ifunc.c: New file.
12214 * benchtests/bench-strrchr.c: New file.
12215 * benchtests/bench-strspn-ifunc.c: New file.
12216 * benchtests/bench-strspn.c: New file.
12217 * benchtests/bench-strstr-ifunc.c: New file.
12218 * benchtests/bench-strstr.c: New file.
12219
c1f75dc3
SP
12220 * benchtests/Makefile: Disable parallel execution of targets.
12221 (string-bench): Add memcpy.
12222 (benchset): New variable to store a list of benchmark sets.
12223 (bench-func): Renamed from bench.
12224 (bench-set): New target.
12225 (bench): Depend on bench-func and bench-set.
12226 * benchtests/README: Add section on benchmark sets.
12227 * benchtests/bench-memcpy-ifunc.c: New file.
12228 * benchtests/bench-memcpy.c: New file.
12229 * benchtests/bench-string.h: New file.
12230
50fd745b
AS
122312013-06-11 Andreas Schwab <schwab@suse.de>
12232
12233 [BZ #15577]
12234 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12235 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12236 values in the triple.
12237 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12238 terminator in the group key.
12239
3ee7e9fe
AJ
122402013-06-11 Andreas Jaeger <aj@suse.de>
12241
12242 * po/zh_TW.po: Update Chinese (traditional) translation from
12243 translation project.
12244
89fb6835
SP
122452013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12246
12247 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12248 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12249 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12250 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12251 (clock_getcpuclockid): Likewise.
12252 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12253 Add weak_alias and libc_hidden_def.
12254 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12255 * rt/clock_gettime.c (clock_gettime): Rename to
12256 __clock_gettime. Add weak_alias and libc_hidden_def.
12257 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12258 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12259 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12260 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12261 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12262 Likewise.
12263 * rt/clock_settime.c (clock_settime): Rename to
12264 __clock_settime. Add weak_alias and libc_hidden_def.
12265 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12266
0efa6f8b
JM
122672013-06-10 Joseph Myers <joseph@codesourcery.com>
12268
b8c61b4b
JM
12269 * mach/err_boot.sub: Remove trailing whitespace.
12270 * mach/err_ipc.sub: Likewise.
12271 * mach/err_mach.sub: Likewise.
12272
0efa6f8b
JM
12273 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12274 (ROUNDING_TESTS_double): Likewise.
12275 (ROUNDING_TESTS_long_double): Likewise.
12276 (ROUNDING_TESTS): Likewise.
12277 * math/libm-test.inc: Include <math-tests.h>.
12278 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12279 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12280 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12281 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12282
50b818bf
SP
122832013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12284
12285 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12286 of assigning.
12287
60d2f8f3
JM
122882013-06-08 Joseph Myers <joseph@codesourcery.com>
12289
4902d2c3
JM
12290 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12291 otherwise empty TRANS lines.
12292 * sysdeps/gnu/errlist.c: Regenerated.
12293
60d2f8f3
JM
12294 * catgets/gencat.c (error_print): Use (void) in function
12295 definition.
12296 * crypt/crypt_util.c (__init_des): Likewise.
12297 * crypt/speeds.c (Stop): Likewise.
12298 (main): Likewise.
12299 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12300 * inet/ruserpass.c (token): Likewise.
12301 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12302 * intl/localealias.c (extend_alias_table): Likewise.
12303 * intl/plural-exp.c (init_germanic_plural): Likewise.
12304 * libio/fcloseall.c (__fcloseall): Likewise.
12305 * libio/genops.c (_IO_flush_all): Likewise.
12306 (_IO_flush_all_linebuffered): Likewise.
12307 (_IO_cleanup): Likewise.
12308 (_IO_iter_begin): Likewise.
12309 (_IO_iter_end): Likewise.
12310 (_IO_list_lock): Likewise.
12311 (_IO_list_unlock): Likewise.
12312 (_IO_list_resetlock): Likewise.
12313 * libio/getchar.c (getchar): Likewise.
12314 * libio/getchar_u.c (getchar_unlocked): Likewise.
12315 * libio/getwchar.c (getwchar): Likewise.
12316 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12317 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12318 * login/getpt.c (__getpt): Likewise.
12319 * login/tst-utmp.c (main): Likewise.
12320 * malloc/hooks.c (__malloc_check_init): Likewise.
12321 * malloc/malloc.c (__malloc_stats): Likewise.
12322 * malloc/mtrace.c (tr_break): Likewise.
12323 (mtrace): Likewise.
12324 (muntrace): Likewise.
12325 * misc/fstab.c (endfsent): Likewise.
12326 * misc/getclktck.c (__getclktck): Likewise.
12327 * misc/getdtsz.c (__getdtablesize): Likewise.
12328 * misc/gethostid.c (gethostid): Likewise.
12329 * misc/getpagesize.c (__getpagesize): Likewise.
12330 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12331 (__get_nprocs): Likewise.
12332 (__get_phys_pages): Likewise.
12333 (__get_avphys_pages): Likewise.
12334 * misc/getttyent.c (getttyent): Likewise.
12335 (setttyent): Likewise.
12336 (endttyent): Likewise.
12337 * misc/getusershell.c (getusershell): Likewise.
12338 (endusershell): Likewise.
12339 (setusershell): Likewise.
12340 (initshells): Likewise.
12341 * misc/hsearch.c (__hdestroy): Likewise.
12342 * misc/sync.c (sync): Likewise.
12343 * misc/syslog.c (closelog_internal): Likewise.
12344 (closelog): Likewise.
12345 * misc/ttyslot.c (ttyslot): Likewise.
12346 * misc/vhangup.c (vhangup): Likewise.
12347 * posix/fork.c (__fork): Likewise.
12348 * posix/getegid.c (__getegid): Likewise.
12349 * posix/geteuid.c (__geteuid): Likewise.
12350 * posix/getgid.c (__getgid): Likewise.
12351 * posix/getpid.c (__getpid): Likewise.
12352 * posix/getppid.c (__getppid): Likewise.
12353 * posix/getuid.c (__getuid): Likewise.
12354 * posix/pause.c (pause): Likewise.
12355 * posix/setpgrp.c (setpgrp): Likewise.
12356 * posix/setsid.c (__setsid): Likewise.
12357 * posix/test-vfork.c (noop): Likewise.
12358 * resolv/gethnamaddr.c (_endhtent): Likewise.
12359 (_gethtent): Likewise.
12360 (ht_endhostent): Likewise.
12361 (gethostent): Likewise.
12362 (dns_service): Likewise.
12363 * stdlib/drand48.c (drand48): Likewise.
12364 * stdlib/lrand48.c (lrand48): Likewise.
12365 * stdlib/mrand48.c (mrand48): Likewise.
12366 * stdlib/rand.c (rand): Likewise.
12367 * stdlib/random.c (__random): Likewise.
12368 * stdlib/setenv.c (clearenv): Likewise.
12369 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12370 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12371 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12372 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12373 (__get_nprocs): Likewise.
12374 (__get_phys_pages): Likewise.
12375 (__get_avphys_pages): Likewise.
12376 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12377 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12378 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12379 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12380 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12381 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12382 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12383 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12384 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12385 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12386 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12387 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12388 * sysdeps/posix/clock.c (clock): Likewise.
12389 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12390 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12391 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12392 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12393 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12394 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12395 (__get_nprocs_conf): Likewise.
12396 (__get_phys_pages): Likewise.
12397 (__get_avphys_pages): Likewise.
12398 * time/clock.c (clock): Likewise.
12399 * time/tzset.c (__tzname_max): Likewise.
12400
2e09a79a
JM
124012013-06-07 Joseph Myers <joseph@codesourcery.com>
12402
12403 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12404 (__bswap_32): Do not use "register".
12405 * crypt/crypt.c (_ufc_doit_r): Likewise.
12406 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12407 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12408 * gmon/gmon.c (__monstartup): Likewise.
12409 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12410 * hurd/hurdmalloc.c (more_memory): Likewise.
12411 (malloc): Likewise.
12412 (free): Likewise.
12413 (realloc): Likewise.
12414 (malloc_fork_prepare): Likewise.
12415 (malloc_fork_parent): Likewise.
12416 (malloc_fork_child): Likewise.
12417 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12418 (_svcauth_des): Likewise.
12419 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12420 * inet/inet_net.c (inet_network): Likewise.
12421 * inet/inet_netof.c (inet_netof): Likewise.
12422 * inet/rcmd.c (__validuser2_sa): Likewise.
12423 * io/fts.c (fts_open): Likewise.
12424 (fts_load): Likewise.
12425 (fts_close): Likewise.
12426 (fts_read): Likewise.
12427 (fts_children): Likewise.
12428 (fts_build): Likewise.
12429 (fts_stat): Likewise.
12430 (fts_sort): Likewise.
12431 (fts_alloc): Likewise.
12432 (fts_lfree): Likewise.
12433 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12434 (_IO_file_xsgetn): Likewise.
12435 (_IO_file_xsgetn_mmap): Likewise.
12436 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12437 (_IO_cookie_write): Likewise.
12438 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12439 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12440 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12441 * malloc/obstack.c (_obstack_begin): Likewise.
12442 (_obstack_begin_1): Likewise.
12443 (_obstack_newchunk): Likewise.
12444 (_obstack_allocated_p): Likewise.
12445 (obstack_free): Likewise.
12446 (_obstack_memory_used): Likewise.
12447 * misc/getttyent.c (getttynam): Likewise.
12448 (getttyent): Likewise.
12449 (skip): Likewise.
12450 (value): Likewise.
12451 * misc/getusershell.c (initshells): Likewise.
12452 * misc/syslog.c (__vsyslog_chk): Likewise.
12453 * misc/ttyslot.c (ttyslot): Likewise.
12454 * nis/nis_hash.c (__nis_hash): Likewise.
12455 * posix/fnmatch_loop.c (FCT): Likewise.
12456 * posix/getconf.c (print_all): Likewise.
12457 (main): Likewise.
12458 * posix/getopt.c (exchange): Likewise.
12459 * posix/glob.c (globfree): Likewise.
12460 (prefix_array): Likewise.
12461 (__glob_pattern_type): Likewise.
12462 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12463 (NS_GET32): Likewise.
12464 (NS_PUT16): Likewise.
12465 (NS_PUT32): Likewise.
12466 * resolv/gethnamaddr.c (getanswer): Likewise.
12467 (gethostbyname2): Likewise.
12468 (gethostbyaddr): Likewise.
12469 (_gethtent): Likewise.
12470 (_gethtbyname2): Likewise.
12471 (_gethtbyaddr): Likewise.
12472 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12473 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12474 * resolv/res_init.c (__res_vinit): Likewise.
12475 (net_mask): Likewise.
12476 * resolv/res_mkquery.c (outchar): Likewise.
12477 (PRINT): Likewise.
12478 * stdio-common/printf_fp.c (outchar): Likewise.
12479 (PRINT): Likewise.
12480 * stdio-common/printf_fphex.c (outchar): Likewise.
12481 (PRINT): Likewise.
12482 * stdio-common/printf_size.c (outchar): Likewise.
12483 (PRINT): Likewise.
12484 * stdio-common/test_rdwr.c (main): Likewise.
12485 * stdio-common/tfformat.c (matches): Likewise.
12486 * stdio-common/vfprintf.c (outchar): Likewise.
12487 (printf_unknown): Likewise.
12488 (buffered_vfprintf): Likewise.
12489 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12490 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12491 (ReadFile): Likewise.
12492 * stdlib/qsort.c (SWAP): Likewise.
12493 (_quicksort): Likewise.
12494 * stdlib/setenv.c (__add_to_environ): Likewise.
12495 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12496 * stdlib/strtol_l.c (__strtol_l): Likewise.
12497 * stdlib/tst-strtod.c (main): Likewise.
12498 * stdlib/tst-strtol.c (main): Likewise.
12499 * stdlib/tst-strtoll.c (main): Likewise.
12500 * string/bits/string2.h (__strcmp_cc): Likewise.
12501 (__strcmp_cg): Likewise.
12502 (__strcspn_c1): Likewise.
12503 (__strcspn_c2): Likewise.
12504 (__strcspn_c3): Likewise.
12505 (__strspn_c1): Likewise.
12506 (__strspn_c2): Likewise.
12507 (__strspn_c3): Likewise.
12508 (__strsep_1c): Likewise.
12509 (__strsep_2c): Likewise.
12510 (__strsep_3c): Likewise.
12511 * string/memccpy.c (__memccpy): Likewise.
12512 * string/stpcpy.c (__stpcpy): Likewise.
12513 * string/strcmp.c (strcmp): Likewise.
12514 * string/strrchr.c (strrchr): Likewise.
12515 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12516 Likewise.
12517 * sysdeps/mach/hurd/getcwd.c
12518 (_hurd_canonicalize_directory_name_internal): Likewise.
12519 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12520 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12521 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12522 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12523 Likewise, in both definitions.
12524 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12525 definitions.
12526 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12527 64] (__bswap_64): Likewise.
12528 * time/test_time.c (main): Likewise.
12529 * time/tzfile.c (__tzfile_read): Likewise.
12530 (__tzfile_compute): Likewise.
12531 * time/tzset.c (__tzset_parse_tz): Likewise.
12532 (tzset_internal): Likewise.
12533 (compute_change): Likewise.
12534 * wcsmbs/wcscat.c (__wcscat): Likewise.
12535 * wcsmbs/wcschr.c (wcschr): Likewise.
12536 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12537 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12538 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12539 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12540 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12541 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12542 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12543 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12544 * wcsmbs/wmemset.c (wmemset): Likewise.
12545
9e54314b
JM
125462013-06-06 Joseph Myers <joseph@codesourcery.com>
12547
12548 * scripts/config.guess: Update to version 2013-05-16.
12549 * scripts/config.sub: Update to version 2013-04-24.
12550 * scripts/install-sh: Update to version 2011-11-20.07.
12551 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12552 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12553
350635a5
OB
125542013-06-06 Ondřej Bílka <neleai@seznam.cz>
12555
12556 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12557 * elf/sln.c: Likewise.
12558 * hurd/hurd/ioctl.h: Likewise.
12559 * hurd/hurdmalloc.c: Likewise.
12560 * hurd/xattr.c: Likewise.
12561 * include/shlib-compat.h: Likewise.
12562 * inet/ruserpass.c: Likewise.
12563 * libio/iofgets_u.c: Likewise.
12564 * libio/iofgetws_u.c: Likewise.
12565 * locale/programs/ld-identification.c: Likewise.
12566 * locale/programs/ld-time.c: Likewise.
12567 * mach/msg-destroy.c: Likewise.
12568 * nss/nss_files/files-netgrp.c: Likewise.
12569 * resolv/res_data.c: Likewise.
12570 * soft-fp/op-1.h: Likewise.
12571 * soft-fp/op-2.h: Likewise.
12572 * soft-fp/op-4.h: Likewise.
12573 * soft-fp/op-common.h: Likewise.
12574 * stdio-common/printf_fphex.c: Likewise.
12575 * stdlib/strtod_l.c: Likewise.
12576 * sunrpc/rpc/clnt.h: Likewise.
12577 * sysdeps/generic/framestate.c: Likewise.
12578 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12579 * sysdeps/i386/bsd-setjmp.S: Likewise.
12580 * sysdeps/i386/__longjmp.S: Likewise.
12581 * sysdeps/i386/setjmp.S: Likewise.
12582 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12583 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12585 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12586 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12587 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12588 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12589 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12590 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12591 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12596 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12598 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12599 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12600 * sysdeps/ieee754/support.c: Likewise.
12601 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12602 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12603 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12604 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12605 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12606 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12607 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12608 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12609 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12610 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12611 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12612 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12613 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12614 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12615 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12616 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12617 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12619
44a988af
OB
126202013-06-05 Ondřej Bílka <neleai@seznam.cz>
12621
25506f09 12622 * posix/transbug.c: Remove executable mode.
44a988af 12623
9c84384c
JM
126242013-06-05 Joseph Myers <joseph@codesourcery.com>
12625
12626 * crypt/speeds.c: Remove trailing whitespace.
12627 * dlfcn/default.c: Likewise.
12628 * elf/ifuncdep2.c: Likewise.
12629 * elf/ifuncmain1.c: Likewise.
12630 * elf/ifuncmain1vis.c: Likewise.
12631 * elf/testobj.h: Likewise.
12632 * elf/tst-stackguard1.c: Likewise.
12633 * gmon/sys/gmon.h: Likewise.
12634 * hurd/hurdmsg.c: Likewise.
12635 * hurd/new-fd.c: Likewise.
12636 * hurd/ports-get.c: Likewise.
12637 * iconvdata/ibm1008_420.c: Likewise.
12638 * inet/tst-getni1.c: Likewise.
12639 * inet/tst-getni2.c: Likewise.
12640 * libio/ioungetc.c: Likewise.
12641 * libio/wfiledoalloc.c: Likewise.
12642 * manual/libm-err-tab.pl: Likewise.
12643 * math/w_dremf.c: Likewise.
12644 * misc/ftruncate.c: Likewise.
12645 * posix/bug-glob2.c: Likewise.
12646 * posix/tst-pcre.c: Likewise.
12647 * posix/wait4.c: Likewise.
12648 * resolv/README: Likewise.
12649 * resolv/res_debug.h: Likewise.
12650 * resolv/tst-inet_ntop.c: Likewise.
12651 * setjmp/bug269-setjmp.c: Likewise.
12652 * soft-fp/extended.h: Likewise.
12653 * soft-fp/op-1.h: Likewise.
12654 * soft-fp/op-2.h: Likewise.
12655 * soft-fp/op-4.h: Likewise.
12656 * soft-fp/op-8.h: Likewise.
12657 * soft-fp/testit.c: Likewise.
12658 * stdio-common/bug16.c: Likewise.
12659 * stdlib/random.c: Likewise.
12660 * sunrpc/rpcsvc/rquota.x: Likewise.
12661 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12662 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12663 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12664 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12665 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12666 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12667 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12668 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12669 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12670 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12671 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12672 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12673 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12674 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12675 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12676 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12677 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12678 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12679 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12680 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12686 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12688 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12690 * sysdeps/ieee754/s_lib_version.c: Likewise.
12691 * sysdeps/mach/hurd/check_fds.c: Likewise.
12692 * sysdeps/mach/hurd/getsockname.c: Likewise.
12693 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12694 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12695 * sysdeps/powerpc/bits/link.h: Likewise.
12696 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12697 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12698 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12699 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12700 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12701 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12702 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12703 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12704 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12705 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12706 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12707 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12708 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12709 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12710 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12711 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12712 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12713 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12714 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12715 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12716 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12717 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12718 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12719 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12720 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12721 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12722 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12723 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12724 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12725 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12726 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12727 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12728 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12729 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12730 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12731 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12732 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12733 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12734 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12735 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12736 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12737 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12738 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12739 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12740 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12741 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12742 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12743 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12744 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12745 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12746 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12747 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12748 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12749 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12750 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12751 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12752 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12753 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12754 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12755 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12756 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12757 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12758 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12759 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12760 * sysdeps/powerpc/sysdep.h: Likewise.
12761 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12762 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12763 * sysdeps/sh/dl-trampoline.S: Likewise.
12764 * sysdeps/sh/memset.S: Likewise.
12765 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12766 * sysdeps/sh/strlen.S: Likewise.
12767 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12768 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12769 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12770 * sysdeps/sparc/sparc32/rem.S: Likewise.
12771 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12772 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12773 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12774 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12775 * sysdeps/sparc/sparc32/urem.S: Likewise.
12776 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12777 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12778 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12779 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12780 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12781 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12782 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12783 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12784 * sysdeps/unix/bsd/times.c: Likewise.
12785 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12786 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12790 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12791 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12792 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12793 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12794 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12795 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12796 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12797 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12798 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12799 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12800 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12801 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12802 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12803 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12804 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12805 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12806 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12807 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12808 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12809 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12810 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12811 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12812 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12813 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12814 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12815 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12816 * sysdeps/x86_64/strcspn.S: Likewise.
12817
869378a5
RA
128182013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12819
12820 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12821 generated file. Regenerate properly from gen-translit.pl.
12822 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12823 locale/C-translit.h.
12824
840e2943
AS
128252013-06-05 Andreas Schwab <schwab@suse.de>
12826
12827 [BZ #15100]
12828 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12829 week as 6 instead of -1.
12830 * time/tst-strptime.c (day_tests): Add test case.
12831
4c60cb0c
SP
128322013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12833
12834 * sysdeps/generic/math_private.h
12835 (libc_feholdexcept_setround_53bit): Replace with
12836 libc_feholdsetround_53bit.
12837 (libc_feupdateenv_53bit): Replace with
12838 libc_feresetround_53bit.
12839 (SET_RESTORE_ROUND_53BIT): Adjust.
12840
d180203e
SP
128412013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12842
96df079a
SP
12843 * string/test-strchrnul.c: Add copyright header.
12844
d180203e
SP
12845 * posix/tst-getaddrinfo4.c: Increase test timeout.
12846
8b0ccb2d
CD
128472013-06-03 Carlos O'Donell <carlos@redhat.com>
12848
12849 [BZ #15536]
12850 * math/libm-test.inc (MAX_EXP): Remove
12851 (MIN_EXP): Define.
12852 (ulp): Use MIN_EXP - MANT_DIG.
12853 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12854
3b3c4d40
CD
128552013-05-31 Carlos O'Donell <carlos@redhat.com>
12856
12857 * po/be.po: Revert last change.
12858 * po/zh_CN.po: Likewise.
12859 * po/header.pot: Likewise.
12860
fab7ce3f
JM
128612013-05-31 Joseph Myers <joseph@codesourcery.com>
12862
12863 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12864 link-libc-deps to empty as target-specific variable.
12865 * Makerules (link-libc-args): New variable.
12866 (libc-for-link): Likewise.
12867 (link-libc-deps): Likewise.
12868 (lib%.so): Depend on $(link-libc-deps). Link with
12869 $(link-libc-args).
12870 (build-module): Link with $(link-libc-args).
12871 (build-module-asneeded): Likewise.
12872 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12873 list of objects.
12874 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12875 target-specific variable.
12876 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12877 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12878 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12879 libc.
12880 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12881 libc and ld.so.
12882 ($(objpfx)libpcprofile.so): Likewise.
12883 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12884 libc_nonshared.a.
12885 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12886 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12887 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12888 $(link-libc-deps).
12889 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12890 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12891 * login/Makefile ($(objpfx)libutil.so): Likewise.
12892 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12893 * math/Makefile ($(objpfx)libm.so): Likewise.
12894 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12895 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12896 variable instead of depending directly on libc.
12897 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12898 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12899 $(link-libc-deps).
12900 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12901 libc.
12902 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12903 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12904 ($(objpfx)libanl.so): Likewise.
12905 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12906 ld.so.
12907 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12908 $(link-libc-deps).
12909 * sysdeps/i386/fpu/Makefile: Remove file.
12910 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12911 ($(objpfx)libm.so): Remove dependency on ld.so.
12912
eca5920c
PF
129132013-05-30 Patsy Franklin <pfrankli@redhat.com>
12914
12915 [BZ # 15553]
12916 * nis/yp_xdr.c (XDRMAXNAME): Define.
12917 (XDRMAXRECORD): Define.
12918 (xdr_domainname): Use XDRMAXNAME.
12919 (xdr_mapname): Likewise.
12920 (xdr_peername): Likewise.
12921 (xdr_keydat): Use XDRMAXRECORD.
12922 (xdr_valdat): Likewise.
12923
129242013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12925
12926 [BZ #14256]
12927 * manual/errno.texi (ESTALE): Update to account for more than
12928 just NFS file systems.
12929 * sysdeps/gnu/errlist.c: Regenerated.
12930
b9375348
SP
129312013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12932
12933 [BZ #15465]
12934 * elf/Makefile (tests): Add tst-null-argv.
12935 (modules-names): Add tst-null-argv-lib.
12936 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12937 (tst-null-argv-ENV): Set environment for tst-null-argv.
12938 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12939 (RTLD_PROGNAME): New macro.
12940 * elf/tst-null-argv.c: New test case.
12941 * elf/tst-null-argv-lib.c: Library for test case.
12942 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12943 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12944 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12945 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12946 * elf/dl-init.c (call_init): Likewise.
12947 (_dl_init): Likewise.
12948 * elf/dl-load.c (print_search_path): Likewise.
12949 (_dl_map_object): Likewise.
12950 * elf/dl-lookup.c (do_lookup_x): Likewise.
12951 (add_dependency): Likewise.
12952 (_dl_lookup_symbol_x): Likewise.
12953 (_dl_debug_bindings): Likewise.
12954 * elf/dl-open.c (_dl_show_scope): Likewise.
12955 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12956 * elf/dl-version.c (match_symbol): Likewise.
12957 (_dl_check_map_versions): Likewise.
12958 * elf/rtld.c (dl_main): Likewise.
12959 (print_unresolved): Use RTLD_PROGNAME.
12960 (print_missing_version): Likewise.
12961 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12962 (elf_machine_rela): Likewise.
12963 * sysdeps/powerpc/powerpc32/dl-machine.c
12964 (__process_machine_rela): Likewise.
12965 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12966 Likewise.
12967 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12968 Likewise.
12969 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12970 Likewise.
12971 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12973 Likewise.
12974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12975 Likewise.
12976 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12977
8a9f20c8
CD
129782013-05-28 Carlos O'Donell <carlos@redhat.com>
12979
12980 * po/be.po: Add descriptive title.
12981 * po/zh_CN.po: Likewise.
12982 * po/header.pot: Likewise.
12983
0e60d68e
MF
129842013-05-28 Mike Frysinger <vapier@gentoo.org>
12985
12986 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12987 error message.
12988 (enlarge_archive): Likewise.
12989
56b672e9
BN
129902013-05-28 Ben North <ben@redfrontdoor.org>
12991
12992 * manual/arith.texi (frexp): It is the magnitude of the return
12993 value which lies in [0.5, 1), not the return value itself.
12994
5e056687
AZ
129952013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12996
12997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12998
2b66ef5d
TS
129992013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13000
528c2405
TS
13001 * stdio-common/bug26.c (main): Correct fscanf template.
13002
07b4c13d
TS
13003 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13004 declare _dl_skip_args.
13005
ec9dd97c
TS
13006 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13007 Don't declare.
13008
2b66ef5d
TS
13009 * manual/platform.texi: Add missing @end deftypefun.
13010
4f8dfe27
JM
130112013-05-24 Joseph Myers <joseph@codesourcery.com>
13012
0323d086
JM
13013 [BZ #15529]
13014 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13015 bit of mantissa of 2^16382.
13016 * math/libm-test.inc (hypot_test_data): Add more tests.
13017
dd4259b9
JM
13018 * math/libm-test.inc: Add drem and pow10 to list of tested
13019 functions.
13020 (pow10_test): New function.
13021 (drem_test): Likewise.
13022 (drem_test_tonearest): Likewise.
13023 (drem_test_towardzero): Likewise.
13024 (drem_test_downward): Likewise.
13025 (drem_test_upward): Likewise.
13026 (main): Call the new functions.
13027
4f8dfe27
JM
13028 * math/libm-test.inc (finite_test_data): Remove.
13029 (finite_test): Run tests from isfinite_test_data.
13030 (gamma_test_data): Remove.
13031 (gamma_test): Run tests from lgamma_test_data.
13032 * sysdeps/i386/fpu/libm-test-ulps: Update.
13033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13034
d116b7c4
AZ
130352013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13036
13037 * manual/platform.texi: Add PowerPC PPR function set documentation.
13038 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13039 implementation.
13040
e96e3767
CD
130412013-05-24 Carlos O'Donell <carlos@redhat.com>
13042
13043 * math/libm-test.inc (MAX_EXP): Define.
13044 (ULPDIFF): Define.
13045 (ulp): New function.
13046 (check_float_internal): Use ULPDIFF.
13047 (cpow_test): Disable failing test.
13048 (check_ulp): Test ulp() implemetnation.
13049 (main): Call check_ulp before starting tests.
13050
b679a606
JM
130512013-05-24 Joseph Myers <joseph@codesourcery.com>
13052
e8bdba36
JM
13053 * math/gen-libm-test.pl (generate_testfile): Do not handle
13054 START_DATA and END_DATA.
13055 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13056 END_DATA.
13057 (acos_tonearest_test_data): Likewise.
13058 (acos_towardzero_test_data): Likewise.
13059 (acos_downward_test_data): Likewise.
13060 (acos_upward_test_data): Likewise.
13061 (acosh_test_data): Likewise.
13062 (asin_test_data): Likewise.
13063 (asin_tonearest_test_data): Likewise.
13064 (asin_towardzero_test_data): Likewise.
13065 (asin_downward_test_data): Likewise.
13066 (asin_upward_test_data): Likewise.
13067 (asinh_test_data): Likewise.
13068 (atan_test_data): Likewise.
13069 (atanh_test_data): Likewise.
13070 (atan2_test_data): Likewise.
13071 (cabs_test_data): Likewise.
13072 (cacos_test_data): Likewise.
13073 (cacosh_test_data): Likewise.
13074 (carg_test_data): Likewise.
13075 (casin_test_data): Likewise.
13076 (casinh_test_data): Likewise.
13077 (catan_test_data): Likewise.
13078 (catanh_test_data): Likewise.
13079 (cbrt_test_data): Likewise.
13080 (ccos_test_data): Likewise.
13081 (ccosh_test_data): Likewise.
13082 (ceil_test_data): Likewise.
13083 (cexp_test_data): Likewise.
13084 (cimag_test_data): Likewise.
13085 (clog_test_data): Likewise.
13086 (clog10_test_data): Likewise.
13087 (conj_test_data): Likewise.
13088 (copysign_test_data): Likewise.
13089 (cos_test_data): Likewise.
13090 (cos_tonearest_test_data): Likewise.
13091 (cos_towardzero_test_data): Likewise.
13092 (cos_downward_test_data): Likewise.
13093 (cos_upward_test_data): Likewise.
13094 (cosh_test_data): Likewise.
13095 (cosh_tonearest_test_data): Likewise.
13096 (cosh_towardzero_test_data): Likewise.
13097 (cosh_downward_test_data): Likewise.
13098 (cosh_upward_test_data): Likewise.
13099 (cpow_test_data): Likewise.
13100 (cproj_test_data): Likewise.
13101 (creal_test_data): Likewise.
13102 (csin_test_data): Likewise.
13103 (csinh_test_data): Likewise.
13104 (csqrt_test_data): Likewise.
13105 (ctan_test_data): Likewise.
13106 (ctan_tonearest_test_data): Likewise.
13107 (ctan_towardzero_test_data): Likewise.
13108 (ctan_downward_test_data): Likewise.
13109 (ctan_upward_test_data): Likewise.
13110 (ctanh_test_data): Likewise.
13111 (ctanh_tonearest_test_data): Likewise.
13112 (ctanh_towardzero_test_data): Likewise.
13113 (ctanh_downward_test_data): Likewise.
13114 (ctanh_upward_test_data): Likewise.
13115 (erf_test_data): Likewise.
13116 (erfc_test_data): Likewise.
13117 (exp_test_data): Likewise.
13118 (exp_tonearest_test_data): Likewise.
13119 (exp_towardzero_test_data): Likewise.
13120 (exp_downward_test_data): Likewise.
13121 (exp_upward_test_data): Likewise.
13122 (exp10_test_data): Likewise.
13123 (exp2_test_data): Likewise.
13124 (expm1_test_data): Likewise.
13125 (fabs_test_data): Likewise.
13126 (fdim_test_data): Likewise.
13127 (finite_test_data): Likewise.
13128 (floor_test_data): Likewise.
13129 (fma_test_data): Likewise.
13130 (fma_towardzero_test_data): Likewise.
13131 (fma_downward_test_data): Likewise.
13132 (fma_upward_test_data): Likewise.
13133 (fmax_test_data): Likewise.
13134 (fmin_test_data): Likewise.
13135 (fmod_test_data): Likewise.
13136 (fpclassify_test_data): Likewise.
13137 (frexp_test_data): Likewise.
13138 (gamma_test_data): Likewise.
13139 (hypot_test_data): Likewise.
13140 (ilogb_test_data): Likewise.
13141 (isfinite_test_data): Likewise.
13142 (isgreater_test_data): Likewise.
13143 (isgreaterequal_test_data): Likewise.
13144 (isinf_test_data): Likewise.
13145 (isless_test_data): Likewise.
13146 (islessequal_test_data): Likewise.
13147 (islessgreater_test_data): Likewise.
13148 (isnan_test_data): Likewise.
13149 (isnormal_test_data): Likewise.
13150 (issignaling_test_data): Likewise.
13151 (isunordered_test_data): Likewise.
13152 (j0_test_data): Likewise.
13153 (j1_test_data): Likewise.
13154 (jn_test_data): Likewise.
13155 (ldexp_test_data): Likewise.
13156 (lgamma_test_data): Likewise.
13157 (lrint_test_data): Likewise.
13158 (lrint_tonearest_test_data): Likewise.
13159 (lrint_towardzero_test_data): Likewise.
13160 (lrint_downward_test_data): Likewise.
13161 (lrint_upward_test_data): Likewise.
13162 (llrint_test_data): Likewise.
13163 (llrint_tonearest_test_data): Likewise.
13164 (llrint_towardzero_test_data): Likewise.
13165 (llrint_downward_test_data): Likewise.
13166 (llrint_upward_test_data): Likewise.
13167 (log_test_data): Likewise.
13168 (log10_test_data): Likewise.
13169 (log1p_test_data): Likewise.
13170 (log2_test_data): Likewise.
13171 (logb_test_data): Likewise.
13172 (logb_downward_test_data): Likewise.
13173 (lround_test_data): Likewise.
13174 (llround_test_data): Likewise.
13175 (modf_test_data): Likewise.
13176 (nearbyint_test_data): Likewise.
13177 (nextafter_test_data): Likewise.
13178 (nexttoward_test_data): Likewise.
13179 (pow_test_data): Likewise.
13180 (pow_tonearest_test_data): Likewise.
13181 (pow_towardzero_test_data): Likewise.
13182 (pow_downward_test_data): Likewise.
13183 (pow_upward_test_data): Likewise.
13184 (remainder_test_data): Likewise.
13185 (remainder_tonearest_test_data): Likewise.
13186 (remainder_towardzero_test_data): Likewise.
13187 (remainder_downward_test_data): Likewise.
13188 (remainder_upward_test_data): Likewise.
13189 (remquo_test_data): Likewise.
13190 (rint_test_data): Likewise.
13191 (rint_tonearest_test_data): Likewise.
13192 (rint_towardzero_test_data): Likewise.
13193 (rint_downward_test_data): Likewise.
13194 (rint_upward_test_data): Likewise.
13195 (round_test_data): Likewise.
13196 (scalb_test_data): Likewise.
13197 (scalbn_test_data): Likewise.
13198 (scalbln_test_data): Likewise.
13199 (signbit_test_data): Likewise.
13200 (sin_test_data): Likewise.
13201 (sin_tonearest_test_data): Likewise.
13202 (sin_towardzero_test_data): Likewise.
13203 (sin_downward_test_data): Likewise.
13204 (sin_upward_test_data): Likewise.
13205 (sincos_test_data): Likewise.
13206 (sinh_test_data): Likewise.
13207 (sinh_tonearest_test_data): Likewise.
13208 (sinh_towardzero_test_data): Likewise.
13209 (sinh_downward_test_data): Likewise.
13210 (sinh_upward_test_data): Likewise.
13211 (sqrt_test_data): Likewise.
13212 (tan_test_data): Likewise.
13213 (tan_tonearest_test_data): Likewise.
13214 (tan_towardzero_test_data): Likewise.
13215 (tan_downward_test_data): Likewise.
13216 (tan_upward_test_data): Likewise.
13217 (tanh_test_data): Likewise.
13218 (tgamma_test_data): Likewise.
13219 (trunc_test_data): Likewise.
13220 (y0_test_data): Likewise.
13221 (y1_test_data): Likewise.
13222 (yn_test_data): Likewise.
13223 (significand_test_data): Likewise.
13224
b679a606
JM
13225 * math/gen-libm-test.pl (@functions): Remove variable.
13226 (generate_testfile): Don't handle START and END lines.
13227 * math/libm-test.inc (START): New macro.
13228 (END): Likewise.
13229 (END_COMPLEX): Likewise.
13230 (acos_test): Use END macro without arguments.
13231 (acos_test_tonearest): Likewise.
13232 (acos_test_towardzero): Likewise.
13233 (acos_test_downward): Likewise.
13234 (acos_test_upward): Likewise.
13235 (acosh_test): Likewise.
13236 (asin_test): Likewise.
13237 (asin_test_tonearest): Likewise.
13238 (asin_test_towardzero): Likewise.
13239 (asin_test_downward): Likewise.
13240 (asin_test_upward): Likewise.
13241 (asinh_test): Likewise.
13242 (atan_test): Likewise.
13243 (atanh_test): Likewise.
13244 (atan2_test): Likewise.
13245 (cabs_test): Likewise.
13246 (cacos_test): Use END_COMPLEX macro without arguments.
13247 (cacosh_test): Likewise.
13248 (carg_test): Use END macro without arguments.
13249 (casin_test): Use END_COMPLEX macro without arguments.
13250 (casinh_test): Likewise.
13251 (catan_test): Likewise.
13252 (catanh_test): Likewise.
13253 (cbrt_test): Use END macro without arguments.
13254 (ccos_test): Use END_COMPLEX macro without arguments.
13255 (ccosh_test): Likewise.
13256 (ceil_test): Use END macro without arguments.
13257 (cexp_test): Use END_COMPLEX macro without arguments.
13258 (cimag_test): Use END macro without arguments.
13259 (clog_test): Use END_COMPLEX macro without arguments.
13260 (clog10_test): Likewise.
13261 (conj_test): Likewise.
13262 (copysign_test): Use END macro without arguments.
13263 (cos_test): Likewise.
13264 (cos_test_tonearest): Likewise.
13265 (cos_test_towardzero): Likewise.
13266 (cos_test_downward): Likewise.
13267 (cos_test_upward): Likewise.
13268 (cosh_test): Likewise.
13269 (cosh_test_tonearest): Likewise.
13270 (cosh_test_towardzero): Likewise.
13271 (cosh_test_downward): Likewise.
13272 (cosh_test_upward): Likewise.
13273 (cpow_test): Use END_COMPLEX macro without arguments.
13274 (cproj_test): Likewise.
13275 (creal_test): Use END macro without arguments.
13276 (csin_test): Use END_COMPLEX macro without arguments.
13277 (csinh_test): Likewise.
13278 (csqrt_test): Likewise.
13279 (ctan_test): Likewise.
13280 (ctan_test_tonearest): Likewise.
13281 (ctan_test_towardzero): Likewise.
13282 (ctan_test_downward): Likewise.
13283 (ctan_test_upward): Likewise.
13284 (ctanh_test): Likewise.
13285 (ctanh_test_tonearest): Likewise.
13286 (ctanh_test_towardzero): Likewise.
13287 (ctanh_test_downward): Likewise.
13288 (ctanh_test_upward): Likewise.
13289 (erf_test): Use END macro without arguments.
13290 (erfc_test): Likewise.
13291 (exp_test): Likewise.
13292 (exp_test_tonearest): Likewise.
13293 (exp_test_towardzero): Likewise.
13294 (exp_test_downward): Likewise.
13295 (exp_test_upward): Likewise.
13296 (exp10_test): Likewise.
13297 (exp2_test): Likewise.
13298 (expm1_test): Likewise.
13299 (fabs_test): Likewise.
13300 (fdim_test): Likewise.
13301 (finite_test): Likewise.
13302 (floor_test): Likewise.
13303 (fma_test): Likewise.
13304 (fma_test_towardzero): Likewise.
13305 (fma_test_downward): Likewise.
13306 (fma_test_upward): Likewise.
13307 (fmax_test): Likewise.
13308 (fmin_test): Likewise.
13309 (fmod_test): Likewise.
13310 (fpclassify_test): Likewise.
13311 (frexp_test): Likewise.
13312 (gamma_test): Likewise.
13313 (hypot_test): Likewise.
13314 (ilogb_test): Likewise.
13315 (isfinite_test): Likewise.
13316 (isgreater_test): Likewise.
13317 (isgreaterequal_test): Likewise.
13318 (isinf_test): Likewise.
13319 (isless_test): Likewise.
13320 (islessequal_test): Likewise.
13321 (islessgreater_test): Likewise.
13322 (isnan_test): Likewise.
13323 (isnormal_test): Likewise.
13324 (issignaling_test): Likewise.
13325 (isunordered_test): Likewise.
13326 (j0_test): Likewise.
13327 (j1_test): Likewise.
13328 (jn_test): Likewise.
13329 (ldexp_test): Likewise.
13330 (lgamma_test): Likewise.
13331 (lrint_test): Likewise.
13332 (lrint_test_tonearest): Likewise.
13333 (lrint_test_towardzero): Likewise.
13334 (lrint_test_downward): Likewise.
13335 (lrint_test_upward): Likewise.
13336 (llrint_test): Likewise.
13337 (llrint_test_tonearest): Likewise.
13338 (llrint_test_towardzero): Likewise.
13339 (llrint_test_downward): Likewise.
13340 (llrint_test_upward): Likewise.
13341 (log_test): Likewise.
13342 (log10_test): Likewise.
13343 (log1p_test): Likewise.
13344 (log2_test): Likewise.
13345 (logb_test): Likewise.
13346 (logb_test_downward): Likewise.
13347 (lround_test): Likewise.
13348 (llround_test): Likewise.
13349 (modf_test): Likewise.
13350 (nearbyint_test): Likewise.
13351 (nextafter_test): Likewise.
13352 (nexttoward_test): Likewise.
13353 (pow_test): Likewise.
13354 (pow_test_tonearest): Likewise.
13355 (pow_test_towardzero): Likewise.
13356 (pow_test_downward): Likewise.
13357 (pow_test_upward): Likewise.
13358 (remainder_test): Likewise.
13359 (remainder_test_tonearest): Likewise.
13360 (remainder_test_towardzero): Likewise.
13361 (remainder_test_downward): Likewise.
13362 (remainder_test_upward): Likewise.
13363 (remquo_test): Likewise.
13364 (rint_test): Likewise.
13365 (rint_test_tonearest): Likewise.
13366 (rint_test_towardzero): Likewise.
13367 (rint_test_downward): Likewise.
13368 (rint_test_upward): Likewise.
13369 (round_test): Likewise.
13370 (scalb_test): Likewise.
13371 (scalbn_test): Likewise.
13372 (scalbln_test): Likewise.
13373 (signbit_test): Likewise.
13374 (sin_test): Likewise.
13375 (sin_test_tonearest): Likewise.
13376 (sin_test_towardzero): Likewise.
13377 (sin_test_downward): Likewise.
13378 (sin_test_upward): Likewise.
13379 (sincos_test): Likewise.
13380 (sinh_test): Likewise.
13381 (sinh_test_tonearest): Likewise.
13382 (sinh_test_towardzero): Likewise.
13383 (sinh_test_downward): Likewise.
13384 (sinh_test_upward): Likewise.
13385 (sqrt_test): Likewise.
13386 (tan_test): Likewise.
13387 (tan_test_tonearest): Likewise.
13388 (tan_test_towardzero): Likewise.
13389 (tan_test_downward): Likewise.
13390 (tan_test_upward): Likewise.
13391 (tanh_test): Likewise.
13392 (tgamma_test): Likewise.
13393 (trunc_test): Likewise.
13394 (y0_test): Likewise.
13395 (y1_test): Likewise.
13396 (yn_test): Likewise.
13397 (significand_test): Likewise.
13398
bae143d2
OB
133992013-05-24 Ondřej Bílka <neleai@seznam.cz>
13400
13401 [BZ #15381]
13402 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13403
9323d39b
EM
134042013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13405
d4ea44a0 13406 [BZ #14894]
9323d39b
EM
13407 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13408 __ppc_mdoio and __ppc_mdoom.
13409 * manual/platform.texi: Document new functions __ppc_yield,
13410 __ppc_mdoio and __ppc_mdoom.
13411
13e23af7
CD
134122013-05-22 Carlos O'Donell <carlos@redhat.com>
13413
13414 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13415 (main): Mention "tls" pseudo-hwcap is legacy.
13416 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13417
351fe550
JM
134182013-05-22 Joseph Myers <joseph@codesourcery.com>
13419
13420 * math/gen-libm-test.pl (parse_args): Output only string of
13421 arguments as text for test name, not full call or descriptions of
13422 tests for extra outputs.
13423 (generate_testfile): Do not pass function name to parse_args.
13424 Generate this_func variable from START.
13425 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13426 field to arg_str.
13427 (struct test_ff_f_data): Likewise.
13428 (test_ff_f_data_nexttoward): Likewise.
13429 (struct test_fi_f_data): Likewise.
13430 (struct test_fl_f_data): Likewise.
13431 (struct test_if_f_data): Likewise.
13432 (struct test_fff_f_data): Likewise.
13433 (struct test_c_f_data): Likewise.
13434 (struct test_f_f1_data): Likewise. Remove field extra_name.
13435 (struct test_fF_f1_data): Likewise.
13436 (struct test_ffI_f1_data): Likewise.
13437 (struct test_c_c_data): Rename test_name field to arg_str.
13438 (struct test_cc_c_data): Likewise.
13439 (struct test_f_i_data): Likewise.
13440 (struct test_ff_i_data): Likewise.
13441 (struct test_f_l_data): Likewise.
13442 (struct test_f_L_data): Likewise.
13443 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13444 and extra2_name.
13445 (COMMON_TEST_SETUP): New macro.
13446 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13447 (COMMON_TEST_CLEANUP): Likewise.
13448 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13449 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13450 macros.
13451 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13452 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13453 macros.
13454 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13455 (RUN_TEST_fff_f): Take argument string. Call new setup and
13456 cleanup macros.
13457 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13458 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13459 macros.
13460 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13461 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13462 macros.
13463 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13464 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13465 cleanup macros.
13466 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13467 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13468 cleanup macros.
13469 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13470 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13471 cleanup macros.
13472 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13473 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13474 macros.
13475 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13476 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13477 macros.
13478 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13479 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13480 macros.
13481 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13482 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13483 cleanup macros.
13484 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13485 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13486 cleanup macros.
13487 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13488 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13489 macros.
13490 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13491 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13492 cleanup macros.
13493 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13494 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13495 macros.
13496 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13497 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13498 macros.
13499 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13500 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13501 cleanup macros.
13502 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13503
85118d4d
EBM
135042013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13505
13506 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13507 to _sifields.sigfault.
13508 (si_addr_lsb): Define new macro.
13509 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13510 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13511 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13512
7a44c18f
CD
135132013-05-03 Carlos O'Donell <carlos at redhat.com>
13514
13515 [BZ #15441]
13516 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13517 returns -1.
13518 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13519 null return -1.
13520 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13521 loading the domain.
13522
b50a7181
JM
135232013-05-22 Joseph Myers <joseph@codesourcery.com>
13524
13525 * math/gen-libm-test.pl (parse_args): Do not include expected
13526 result in test name.
13527 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13528 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13529 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13530 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13531 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13533
051063c8
SP
135342013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13535
3ce9e010
SP
13536 * benchtests/Makefile: Sort function entries.
13537
051063c8
SP
13538 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13539 tanh, asinh, acosh, atanh.
13540 * benchtests/acos-inputs: New file.
13541 * benchtests/acosh-inputs: New file.
13542 * benchtests/asin-inputs: New file.
13543 * benchtests/asinh-inputs: New file.
13544 * benchtests/atanh-inputs: New file.
13545 * benchtests/cosh-inputs: New file.
13546 * benchtests/log-inputs: New file.
13547 * benchtests/sinh-inputs: New file.
13548 * benchtests/tanh-inputs: New file.
13549
47c22455
DL
135502013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13551
13552 [BZ #15339]
13553 * posix/tst-getaddrinfo4.c: New test.
13554 * posix/Makefile (tests): Add it.
13555
3d04f5db
SP
135562013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13557
13558 [BZ #15339]
13559 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13560 when no services were used.
13561 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13562 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13563
d5dd6189
AS
135642013-05-21 Andreas Schwab <schwab@suse.de>
13565
13566 [BZ #15014]
13567 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13568 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13569 successful.
13570 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13571 redundant variable declarations and reallocation of buffer when
13572 parsing as IPv6 address. Always set NSS status when called from
13573 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13574 buffer too small. Correct computation of needed size.
13575 * nss/Makefile (tests): Add test-digits-dots.
13576 * nss/test-digits-dots.c: New test.
13577
fef94eab
SP
135782013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13579
13580 * benchtests/Makefile: Remove instructions for adding
13581 benchmark tests.
13582 * benchtests/README: New file to explain how to execute and
13583 enhance the benchmark tests.
13584
e39adf43
AS
135852013-05-21 Andreas Schwab <schwab@suse.de>
13586
13587 [BZ #15493]
13588 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13589 * setjmp/tst-sigsetjmp.c: New test.
13590
b2b671b6
OB
135912013-05-20 Ondřej Bílka <neleai@seznam.cz>
13592
13593 * sysdeps/x86_64/memset.S (memset): New implementation.
13594 (__bzero): Likewise.
13595 (__memset_tail): New function.
13596
2d48b41c
OB
135972013-05-20 Ondřej Bílka <neleai@seznam.cz>
13598
13599 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13600 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13601 __memcpy_sse2_unaligned ifunc selection.
13602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13603 Add memcpy-sse2-unaligned.S.
13604 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13605 Add: __memcpy_sse2_unaligned.
13606
f16cc3eb
JM
136072013-05-19 Joseph Myers <joseph@codesourcery.com>
13608
3e694268
JM
13609 [BZ #15490]
13610 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13611 math_force_eval before restoring floating-point envrionment.
13612 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13613 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13614 Likewise.
13615 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13616 <math_private.h>.
13617 (__nearbyintl): Use math_force_eval before restoring
13618 floating-point environment.
13619 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13620
db62a907
JM
13621 * math/gen-libm-test.pl (special_functions): Remove.
13622 (parse_args): Don't handle TEST_extra. Handle functions with no
13623 return value.
13624 * math/libm-test.inc (struct test_sincos_data): Replace with
13625 struct test_fFF_11_data.
13626 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13627 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13628 (sincos_test_data): Change element type to struct
13629 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13630 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13631 RUN_TEST_LOOP_sincos.
13632 * math/README.libm-test: Don't mention special handling of
13633 individual functions.
13634 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13635 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13636 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13637 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13638 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13640
f16cc3eb
JM
13641 * math/gen-libm-test.pl (get_variable): Remove function.
13642 (parse_args): Don't show pointer parameters to call in test
13643 names. Use "extra output N" in test names for extra outputs
13644 rather than naming variables.
13645
3779b5b6
JM
136462013-05-18 Joseph Myers <joseph@codesourcery.com>
13647
2ee094ff
JM
13648 [BZ #15488]
13649 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13650 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13651 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13652 double tests.
13653 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13654 disable.
13655 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13656 check_long_double.
13657
3779b5b6
JM
13658 * math/gen-libm-test.pl (@tests): Remove variable.
13659 ($count): Likewise.
13660 (new_test): Remove function.
13661 (show_exceptions): New function.
13662 (special_functions): Use show_exceptions instead of new_test.
13663 (parse_args): Likewise.
13664 (generate_testfile): Pass only function name in generated call to
13665 print_max_error or print_complex_max_error.
13666 (get_ulps): Do not handle complex tests specially.
13667 (output_test): Rename to ...
13668 (get_all_ulps_for_test): ... this. Return a string rather than
13669 printing to a file. Require ulps to be present.
13670 (output_ulps): Generate arrays rather than #defines.
13671 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13672 (struct ulp_data): New type.
13673 (BUILD_COMPLEX_ULP): Remove macro.
13674 (compare_ulp_data): New function.
13675 (find_ulps): Likewise.
13676 (find_test_ulps): Likewise.
13677 (find_function_ulps): Likewise.
13678 (find_complex_function_ulps): Likewise.
13679 (print_max_error): Determine allowed ulps using
13680 find_function_ulps.
13681 (print_complex_max_error): Determine allowed ulps using
13682 find_complex_function_ulps.
13683 (check_float_internal): Determine max ulps using find_test_ulps.
13684 (check_float): Do not take max_ulp parameter. Update call to
13685 check_float_internal.
13686 (check_complex): Likewise.
13687 (check_int): Do not take max_ulp parameter.
13688 (check_long): Likewise.
13689 (check_bool): Likewise.
13690 (check_longlong): Likewise.
13691 (struct test_f_f_data): Remove max_ulp field.
13692 (struct test_ff_f_data): Likewise.
13693 (struct test_ff_f_data_nexttoward): Likewise.
13694 (struct test_fi_f_data): Likewise.
13695 (struct test_fl_f_data): Likewise.
13696 (struct test_if_f_data): Likewise.
13697 (struct test_fff_f_data): Likewise.
13698 (struct test_c_f_data): Likewise.
13699 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13700 (struct test_fF_f1_data): Likewise.
13701 (struct test_ffI_f1_data): Likewise.
13702 (struct test_c_c_data): Remove max_ulp field.
13703 (struct test_cc_c_data): Likewise.
13704 (struct test_f_i_data): Likewise.
13705 (struct test_ff_i_data): Likewise.
13706 (struct test_f_l_data): Likewise.
13707 (struct test_f_L_data): Likewise.
13708 (struct test_sincos_data): Likewise.
13709 (RUN_TEST_f_f): Do not handle ulps.
13710 (RUN_TEST_LOOP_f_f): Likewise.
13711 (RUN_TEST_2_f): Likewise.
13712 (RUN_TEST_LOOP_2_f): Likewise.
13713 (RUN_TEST_fff_f): Likewise.
13714 (RUN_TEST_LOOP_fff_f): Likewise.
13715 (RUN_TEST_c_f): Likewise.
13716 (RUN_TEST_LOOP_c_f): Likewise.
13717 (RUN_TEST_f_f1): Likewise.
13718 (RUN_TEST_LOOP_f_f1): Likewise.
13719 (RUN_TEST_fF_f1): Likewise.
13720 (RUN_TEST_LOOP_fF_f1): Likewise.
13721 (RUN_TEST_fI_f1): Likewise.
13722 (RUN_TEST_LOOP_fI_f1): Likewise.
13723 (RUN_TEST_ffI_f1): Likewise.
13724 (RUN_TEST_LOOP_ffI_f1): Likewise.
13725 (RUN_TEST_c_c): Likewise.
13726 (RUN_TEST_LOOP_c_c): Likewise.
13727 (RUN_TEST_cc_c): Likewise.
13728 (RUN_TEST_LOOP_cc_c): Likewise.
13729 (RUN_TEST_f_i): Likewise.
13730 (RUN_TEST_LOOP_f_i): Likewise.
13731 (RUN_TEST_f_i_tg): Likewise.
13732 (RUN_TEST_LOOP_f_i_tg): Likewise.
13733 (RUN_TEST_ff_i_tg): Likewise.
13734 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13735 (RUN_TEST_f_b): Likewise.
13736 (RUN_TEST_LOOP_f_b): Likewise.
13737 (RUN_TEST_f_b_tg): Likewise.
13738 (RUN_TEST_LOOP_f_b_tg): Likewise.
13739 (RUN_TEST_f_l): Likewise.
13740 (RUN_TEST_LOOP_f_l): Likewise.
13741 (RUN_TEST_f_L): Likewise.
13742 (RUN_TEST_LOOP_f_L): Likewise.
13743 (RUN_TEST_sincos): Likewise.
13744 (RUN_TEST_LOOP_sincos): Likewise.
13745
8269107f
JM
137462013-05-17 Joseph Myers <joseph@codesourcery.com>
13747
bb38759d
JM
13748 [BZ #15480]
13749 [BZ #15485]
13750 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13751 main case of finite arguments, set rounding mode to FE_TONEAREST
13752 and discard exceptions.
13753 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13754 exceptions.
13755 (remainder_tonearest_test_data): New variable.
13756 (remainder_test_tonearest): New function.
13757 (remainder_towardzero_test_data): New variable.
13758 (remainder_test_towardzero): New function.
13759 (remainder_downward_test_data): New variable.
13760 (remainder_test_downward): New function.
13761 (remainder_upward_test_data): New variable.
13762 (remainder_test_upward): New function.
13763 (main): Call the new test functions.
13764
a00bdcf0
JM
13765 * math/libm-test.inc (struct test_f_f1_data): Remove field
13766 extra_init.
13767 (struct test_fF_f1_data): Likewise.
13768 (struct test_ffI_f1_data): Likewise.
13769 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13770 based on value of EXTRA_EXPECTED.
13771 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13772 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13773 EXTRA_VAR based on value of EXTRA_EXPECTED.
13774 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13775 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13776 EXTRA_VAR based on value of EXTRA_EXPECTED.
13777 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13778 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13779 EXTRA_VAR based on value of EXTRA_EXPECTED.
13780 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13781 * math/gen-libm-test.pl (parse_args): Don't output initializers
13782 for extra output values.
13783
de407f79
JM
13784 * math/libm-test.inc (check_int): Expect result to be exactly
13785 equal to expected value and do not handle ulps.
13786 (check_long): Likewise.
13787 (check_longlong): Likewise.
13788
8269107f
JM
13789 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13790 exceptions.
13791 (cimag_test_data): Likewise.
13792 (conj_test_data): Likewise.
13793 (copysign_test_data): Likewise.
13794 (cproj_test_data): Likewise.
13795 (creal_test_data): Likewise.
13796 (fabs_test_data): Likewise.
13797 (fdim_test_data): Likewise.
13798 (finite_test_data): Likewise.
13799 (floor_test_data): Likewise.
13800 (fmax_test_data): Likewise.
13801 (fmin_test_data): Likewise.
13802 (fmod_test_data): Likewise.
13803 (fpclassify_test_data): Likewise.
13804 (frexp_test_data): Likewise.
13805 (ilogb_test_data): Likewise.
13806 (isfinite_test_data): Likewise.
13807 (isgreater_test_data): Likewise.
13808 (isgreaterequal_test_data): Likewise.
13809 (isinf_test_data): Likewise.
13810 (isless_test_data): Likewise.
13811 (islessequal_test_data): Likewise.
13812 (islessgreater_test_data): Likewise.
13813 (isnan_test_data): Likewise.
13814 (isnormal_test_data): Likewise.
13815 (issignaling_test_data): Likewise.
13816 (isunordered_test_data): Likewise.
13817 (ldexp_test_data): Likewise.
13818 (lrint_test_data): Likewise.
13819 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13820 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13821 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13822 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13823 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13824 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13825 test input.
13826 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13827 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13828 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13829 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13830 that test input.
13831 (lrint_downward_test_data): Test for "inexact" exceptions.
13832 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13833 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13834 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13835 test input.
13836 (lrint_upward_test_data): Test for "inexact" exceptions.
13837 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13838 test input.
13839 (llrint_test_data): Test for "inexact" exceptions.
13840 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13841 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13842 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13843 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13844 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13845 (llrint_downward_test_data): Test for "inexact" exceptions.
13846 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13847 (llrint_upward_test_data): Test for "inexact" exceptions.
13848 (logb_test_data): Likewise.
13849 (logb_downward_test_data): Likewise.
13850 (nextafter_test_data): Likewise.
13851 (nexttoward_test_data): Likewise.
13852 (remainder_test_data): Likewise.
13853 (remquo_test_data): Likewise.
13854 (scalbn_test_data): Likewise.
13855 (scalbln_test_data): Likewise.
13856 (signbit_test_data): Likewise.
13857 (sqrt_test_data): Likewise.
13858 (significand_test_data): Likewise.
13859
48a18de1
SP
138602013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13861
13862 [BZ #15424]
13863 * benchtests/bench-modf.c (struct args): Mark arg0 as
13864 volatile.
13865 * scripts/bench.pl: Mark members of struct args as volatile.
13866
13d3b41a
AZ
138672013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13868
68191c1d 13869 [BZ # 15497]
13d3b41a
AZ
13870 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13871 negative infinity on POWER6 or lower.
13872 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13873
2848b105
MR
138742013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13875
13876 [BZ #15442]
13877 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13878 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13879 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13880 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13881 (_FP_SETQNAN): New macro.
13882 (_FP_SETQNAN_SEMIRAW): Likewise.
13883 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13884 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13885 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13886 (FP_EXTEND): Use _FP_FRAC_SNANP.
13887 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13888 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13889 into account.
13890 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13891 New macro.
13892 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13893 Likewise.
13894
323e5cb7
JM
138952013-05-16 Joseph Myers <joseph@codesourcery.com>
13896
c58b274f
JM
13897 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13898 with DIVIDE_BY_ZERO_EXCEPTION.
13899 (gamma_test_data): Likewise.
13900 (lgamma_test_data): Likewise.
13901 (log_test_data): Likewise.
13902 (log10_test_data): Likewise.
13903 (log2_test_data): Likewise.
13904 (tgamma_test_data): Likewise.
13905
0ab34904
JM
13906 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13907 (acos_test_tonearest): Likewise.
13908 (acos_test_towardzero): Likewise.
13909 (acos_test_downward): Likewise.
13910 (acos_test_upward): Likewise.
13911 (acosh_test): Likewise.
13912 (asin_test): Likewise.
13913 (asin_test_tonearest): Likewise.
13914 (asin_test_towardzero): Likewise.
13915 (asin_test_downward): Likewise.
13916 (asin_test_upward): Likewise.
13917 (asinh_test): Likewise.
13918 (atan_test): Likewise.
13919 (atanh_test): Likewise.
13920 (atan2_test): Likewise.
13921 (cabs_test): Likewise.
13922 (cacos_test): Likewise.
13923 (cacosh_test): Likewise.
13924 (casin_test): Likewise.
13925 (casinh_test): Likewise.
13926 (catan_test): Likewise.
13927 (catanh_test): Likewise.
13928 (cbrt_test): Likewise.
13929 (ccos_test): Likewise.
13930 (ccosh_test): Likewise.
13931 (cexp_test): Likewise.
13932 (clog_test): Likewise.
13933 (clog10_test): Likewise.
13934 (cos_test): Likewise.
13935 (cos_test_tonearest): Likewise.
13936 (cos_test_towardzero): Likewise.
13937 (cos_test_downward): Likewise.
13938 (cos_test_upward): Likewise.
13939 (cosh_test): Likewise.
13940 (cosh_test_tonearest): Likewise.
13941 (cosh_test_towardzero): Likewise.
13942 (cosh_test_downward): Likewise.
13943 (cosh_test_upward): Likewise.
13944 (cpow_test): Likewise.
13945 (csin_test): Likewise.
13946 (csinh_test): Likewise.
13947 (csqrt_test): Likewise.
13948 (ctan_test): Likewise.
13949 (ctan_test_tonearest): Likewise.
13950 (ctan_test_towardzero): Likewise.
13951 (ctan_test_downward): Likewise.
13952 (ctan_test_upward): Likewise.
13953 (ctanh_test): Likewise.
13954 (ctanh_test_tonearest): Likewise.
13955 (ctanh_test_towardzero): Likewise.
13956 (ctanh_test_downward): Likewise.
13957 (ctanh_test_upward): Likewise.
13958 (erf_test): Likewise.
13959 (erfc_test): Likewise.
13960 (exp_test): Likewise.
13961 (exp_test_tonearest): Likewise.
13962 (exp_test_towardzero): Likewise.
13963 (exp_test_downward): Likewise.
13964 (exp_test_upward): Likewise.
13965 (exp10_test): Likewise.
13966 (exp2_test): Likewise.
13967 (expm1_test): Likewise.
13968 (fmod_test): Likewise.
13969 (gamma_test): Likewise.
13970 (hypot_test): Likewise.
13971 (j0_test): Likewise.
13972 (j1_test): Likewise.
13973 (jn_test): Likewise.
13974 (lgamma_test): Likewise.
13975 (log_test): Likewise.
13976 (log10_test): Likewise.
13977 (log1p_test): Likewise.
13978 (log2_test): Likewise.
13979 (logb_test_downward): Likewise.
13980 (pow_test): Likewise.
13981 (pow_test_tonearest): Likewise.
13982 (pow_test_towardzero): Likewise.
13983 (pow_test_downward): Likewise.
13984 (pow_test_upward): Likewise.
13985 (remainder_test): Likewise.
13986 (remquo_test): Likewise.
13987 (sin_test): Likewise.
13988 (sin_test_tonearest): Likewise.
13989 (sin_test_towardzero): Likewise.
13990 (sin_test_downward): Likewise.
13991 (sin_test_upward): Likewise.
13992 (sincos_test): Likewise.
13993 (sinh_test): Likewise.
13994 (sinh_test_tonearest): Likewise.
13995 (sinh_test_towardzero): Likewise.
13996 (sinh_test_downward): Likewise.
13997 (sinh_test_upward): Likewise.
13998 (sqrt_test): Likewise.
13999 (tan_test): Likewise.
14000 (tan_test_tonearest): Likewise.
14001 (tan_test_towardzero): Likewise.
14002 (tan_test_downward): Likewise.
14003 (tan_test_upward): Likewise.
14004 (tanh_test): Likewise.
14005 (tgamma_test): Likewise.
14006 (y0_test): Likewise.
14007 (y1_test): Likewise.
14008 (yn_test): Likewise.
14009
323e5cb7
JM
14010 * math/gen-libm-test.pl (adjust_arg): Remove function.
14011 (special_function): Remove argument $in_func. Only handle
14012 generating output for tables of tests, not inside functions.
14013 (parse_args): Likewise.
14014 (generate_testfile): Remove variable $in_func. Update call to
14015 parse_args.
14016 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14017 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14018 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14019 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14020 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14021 (MAX_VALUE_INIT): Rename macro to max_value.
14022 (MIN_VALUE_INIT): Rename macro to min_value.
14023 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14024 (plus_zero): Remove variable.
14025 (minus_zero): Likewise.
14026 (plus_infty): Likewise.
14027 (minus_infty): Likewise.
14028 (qnan_value): Likewise.
14029 (max_value): Likewise.
14030 (min_value): Likewise.
14031 (min_subnorm_value): Likewise.
14032
e054f494
RA
140332013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14034
14035 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14036 uint64_t or uint32_t usage.
14037 * crypt/sha256-block.c: Likewise.
14038 * crypt/sha256-crypt.c: Likewise.
14039 * crypt/sha256.c: Likewise.
14040 * crypt/sha512-block.c: Likewise.
14041 * crypt/sha512-crypt.c: Likewise.
14042 * crypt/sha512.c: Likewise.
14043 * debug/backtrace-tst.c: Likewise.
14044 * debug/pcprofiledump.c: Likewise.
14045 * elf/cache.c: Likewise.
14046 * elf/dl-cache.c: Likewise.
14047 * elf/dl-misc.c: Likewise.
14048 * elf/dl-profile.c: Likewise.
14049 * elf/dl-support.c: Likewise.
14050 * elf/ldconfig.c: Likewise.
14051 * elf/sprof.c: Likewise.
14052 * iconv/dummy-repertoire.c: Likewise.
14053 * iconv/iconv_charmap.c: Likewise.
14054 * iconv/skeleton.c: Likewise.
14055 * iconvdata/8bit-generic.c: Likewise.
14056 * iconvdata/cp737.h: Likewise.
14057 * iconvdata/cp775.h: Likewise.
14058 * iconvdata/ibm1008.h: Likewise.
14059 * iconvdata/ibm1025.h: Likewise.
14060 * iconvdata/ibm1046.h: Likewise.
14061 * iconvdata/ibm1097.h: Likewise.
14062 * iconvdata/ibm1112.h: Likewise.
14063 * iconvdata/ibm1122.h: Likewise.
14064 * iconvdata/ibm1123.h: Likewise.
14065 * iconvdata/ibm1124.h: Likewise.
14066 * iconvdata/ibm1129.h: Likewise.
14067 * iconvdata/ibm1130.h: Likewise.
14068 * iconvdata/ibm1132.h: Likewise.
14069 * iconvdata/ibm1133.h: Likewise.
14070 * iconvdata/ibm1137.h: Likewise.
14071 * iconvdata/ibm1140.h: Likewise.
14072 * iconvdata/ibm1141.h: Likewise.
14073 * iconvdata/ibm1142.h: Likewise.
14074 * iconvdata/ibm1143.h: Likewise.
14075 * iconvdata/ibm1144.h: Likewise.
14076 * iconvdata/ibm1145.h: Likewise.
14077 * iconvdata/ibm1146.h: Likewise.
14078 * iconvdata/ibm1147.h: Likewise.
14079 * iconvdata/ibm1148.h: Likewise.
14080 * iconvdata/ibm1149.h: Likewise.
14081 * iconvdata/ibm1153.h: Likewise.
14082 * iconvdata/ibm1154.h: Likewise.
14083 * iconvdata/ibm1155.h: Likewise.
14084 * iconvdata/ibm1156.h: Likewise.
14085 * iconvdata/ibm1157.h: Likewise.
14086 * iconvdata/ibm1158.h: Likewise.
14087 * iconvdata/ibm1160.h: Likewise.
14088 * iconvdata/ibm1161.h: Likewise.
14089 * iconvdata/ibm1162.h: Likewise.
14090 * iconvdata/ibm1163.h: Likewise.
14091 * iconvdata/ibm1164.h: Likewise.
14092 * iconvdata/ibm1166.h: Likewise.
14093 * iconvdata/ibm1167.h: Likewise.
14094 * iconvdata/ibm12712.h: Likewise.
14095 * iconvdata/ibm1390.h: Likewise.
14096 * iconvdata/ibm1399.h: Likewise.
14097 * iconvdata/ibm16804.h: Likewise.
14098 * iconvdata/ibm4517.h: Likewise.
14099 * iconvdata/ibm4899.h: Likewise.
14100 * iconvdata/ibm4909.h: Likewise.
14101 * iconvdata/ibm4971.h: Likewise.
14102 * iconvdata/ibm5347.h: Likewise.
14103 * iconvdata/ibm803.h: Likewise.
14104 * iconvdata/ibm856.h: Likewise.
14105 * iconvdata/ibm901.h: Likewise.
14106 * iconvdata/ibm902.h: Likewise.
14107 * iconvdata/ibm9030.h: Likewise.
14108 * iconvdata/ibm9066.h: Likewise.
14109 * iconvdata/ibm921.h: Likewise.
14110 * iconvdata/ibm922.h: Likewise.
14111 * iconvdata/ibm9448.h: Likewise.
14112 * iconvdata/isiri-3342.h: Likewise.
14113 * iconvdata/jis0201.h: Likewise.
14114 * include/link.h: Likewise.
14115 * include/netdb.h: Likewise.
14116 * inet/check_native.c: Likewise.
14117 * inet/check_pf.c: Likewise.
14118 * inet/getipv4sourcefilter.c: Likewise.
14119 * inet/getnameinfo.c: Likewise.
14120 * inet/getsourcefilter.c: Likewise.
14121 * inet/htonl.c: Likewise.
14122 * inet/setipv4sourcefilter.c: Likewise.
14123 * inet/setsourcefilter.c: Likewise.
14124 * inet/test-inet6_opt.c: Likewise.
14125 * inet/tst-network.c: Likewise.
14126 * locale/C-collate.c: Likewise.
14127 * locale/C-ctype.c: Likewise.
14128 * locale/C-time.c: Likewise.
14129 * locale/C-translit.h: Likewise.
14130 * locale/loadarchive.c: Likewise.
14131 * locale/programs/3level.h: Likewise.
14132 * locale/programs/charmap.c: Likewise.
14133 * locale/programs/charmap.h: Likewise.
14134 * locale/programs/ld-address.c: Likewise.
14135 * locale/programs/ld-collate.c: Likewise.
14136 * locale/programs/ld-ctype.c: Likewise.
14137 * locale/programs/ld-identification.c: Likewise.
14138 * locale/programs/ld-measurement.c: Likewise.
14139 * locale/programs/ld-messages.c: Likewise.
14140 * locale/programs/ld-monetary.c: Likewise.
14141 * locale/programs/ld-name.c: Likewise.
14142 * locale/programs/ld-numeric.c: Likewise.
14143 * locale/programs/ld-paper.c: Likewise.
14144 * locale/programs/ld-telephone.c: Likewise.
14145 * locale/programs/ld-time.c: Likewise.
14146 * locale/programs/linereader.c: Likewise.
14147 * locale/programs/locale.c: Likewise.
14148 * locale/programs/locarchive.c: Likewise.
14149 * locale/programs/locfile.h: Likewise.
14150 * locale/programs/repertoire.c: Likewise.
14151 * locale/programs/simple-hash.c: Likewise.
14152 * locale/programs/simple-hash.h: Likewise.
14153 * malloc/memusage.c: Likewise.
14154 * malloc/memusagestat.c: Likewise.
14155 * nis/nis_defaults.c: Likewise.
14156 * nis/nis_hash.c: Likewise.
14157 * nis/nis_print.c: Likewise.
14158 * nis/nis_xdr.c: Likewise.
14159 * nscd/connections.c: Likewise.
14160 * nscd/hstcache.c: Likewise.
14161 * nscd/nscd_gethst_r.c: Likewise.
14162 * nscd/nscd_getserv_r.c: Likewise.
14163 * nscd/nscd_helper.c: Likewise.
14164 * nscd/servicescache.c: Likewise.
14165 * nss/makedb.c: Likewise.
14166 * nss/nss_db/db-XXX.c: Likewise.
14167 * nss/nss_db/db-initgroups.c: Likewise.
14168 * nss/nss_db/db-netgrp.c: Likewise.
14169 * nss/nss_files/files-network.c: Likewise.
14170 * nss/nss_files/files-parse.c: Likewise.
14171 * posix/bug-regex5.c: Likewise.
14172 * posix/fnmatch_loop.c: Likewise.
14173 * posix/regcomp.c: Likewise.
14174 * posix/regexec.c: Likewise.
14175 * posix/tst-rfc3484-2.c: Likewise.
14176 * posix/tst-rfc3484-3.c: Likewise.
14177 * posix/tst-rfc3484.c: Likewise.
14178 * resolv/nss_dns/dns-canon.c: Likewise.
14179 * resolv/nss_dns/dns-network.c: Likewise.
14180 * resolv/res_init.c: Likewise.
14181 * resolv/res_mkquery.c: Likewise.
14182 * resolv/tst-aton.c: Likewise.
14183 * stdlib/cxa_atexit.c: Likewise.
14184 * stdlib/cxa_finalize.c: Likewise.
14185 * stdlib/gen-fpioconst.c: Likewise.
14186 * stdlib/strtol_l.c: Likewise.
14187 * string/tst-endian.c: Likewise.
14188 * sunrpc/auth_des.c: Likewise.
14189 * sunrpc/clnt_udp.c: Likewise.
14190 * sunrpc/rtime.c: Likewise.
14191 * sunrpc/svcauth_des.c: Likewise.
14192 * sunrpc/xdr.c: Likewise.
14193 * sunrpc/xdr_intXX_t.c: Likewise.
14194 * sunrpc/xdr_rec.c: Likewise.
14195 * sysdeps/generic/ldconfig.h: Likewise.
14196 * sysdeps/generic/ldsodefs.h: Likewise.
14197 * sysdeps/generic/memusage.h: Likewise.
14198 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14199 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14200 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14201 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14202 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14203 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14204 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14205 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14206 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14207 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14208 * sysdeps/posix/getaddrinfo.c: Likewise.
14209 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14210 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14211 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14212 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14213 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14214 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14215 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14216 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14217 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14218 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14219 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14220 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14221 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14222 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14223 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14224 * sysdeps/x86_64/dl-tls.h: Likewise.
14225 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14226 * time/alt_digit.c: Likewise.
14227 * time/era.c: Likewise.
14228 * wcsmbs/tst-c16c32-1.c: Likewise.
14229
8c75f674
JM
142302013-05-16 Joseph Myers <joseph@codesourcery.com>
14231
14232 * math/libm-test.inc (struct test_sincos_data): New type.
14233 (RUN_TEST_LOOP_sincos): New macro.
14234 (sincos_test_data): New variable.
14235 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14236
e6e49e59
RH
142372013-05-16 Richard Henderson <rth@redhat.com>
14238
14239 * math/atest-exp2.c (LIMB64): New macro.
14240 (CONSTSZ): New macro.
14241 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14242 (hexdig): Move ...
14243 (print_mpn_fp): ... to function scope.
14244 (read_mpn_hex): Remove.
14245 (get_log2): Remove.
14246 (exp2_mpn): Use mp_log2.
14247 (main): Use mp_exp1.
14248
15c7c18d
JM
142492013-05-16 Joseph Myers <joseph@codesourcery.com>
14250
105a07df
JM
14251 * math/libm-test.inc: Remove comment about not testing "inexact"
14252 exceptions.
14253 (INEXACT_EXCEPTION): New macro.
14254 (NO_INEXACT_EXCEPTION): Likewise.
14255 (INVALID_EXCEPTION_OK): Update value.
14256 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14257 (OVERFLOW_EXCEPTION_OK): Likewise.
14258 (UNDERFLOW_EXCEPTION_OK): Likewise.
14259 (IGNORE_ZERO_INF_SIGN): Likewise.
14260 (ERRNO_UNCHANGED): Likewise.
14261 (ERRNO_EDOM): Likewise.
14262 (ERRNO_ERANGE): Likewise.
14263 (test_exceptions): Handle testing "inexact" exceptions.
14264 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14265 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14266 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14267 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14268 INEXACT_EXCEPTION.
14269 (rint_towardzero_test_data): Likewise.
14270 (rint_downward_test_data): Likewise.
14271 (rint_upward_test_data): Likewise.
14272
e9eee333
JM
14273 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14274 with OVERFLOW_EXCEPTION.
14275 (exp10_test_data): Likewise.
14276 (exp2_test_data): Likewise.
14277 (expm1_test_data): Likewise.
14278 (lgamma_test_data): Likewise.
14279 (pow_test_data): Likewise.
14280 (tgamma_test_data): Likewise.
14281 (yn_test_data): Remove duplicate test of overflow.
14282
1c38ff73
JM
14283 * math/libm-test.inc (struct test_cc_c_data): New type.
14284 (RUN_TEST_LOOP_cc_c): New macro.
14285 (cpow_test_data): New variable.
14286 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14287
15c7c18d
JM
14288 * math/libm-test.inc (struct test_f_L_data): New type.
14289 (RUN_TEST_LOOP_f_L): New macro.
14290 (llrint_test_data): New variable.
14291 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14292 (llrint_tonearest_test_data): New variable.
14293 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14294 (llrint_towardzero_test_data): New variable.
14295 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14296 (llrint_downward_test_data): New variable.
14297 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14298 (llrint_upward_test_data): New variable.
14299 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14300 (llround_test_data): New variable.
14301 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14302
f137ff13
PC
143032013-05-13 Peter Collingbourne <pcc@google.com>
14304
14305 * math/atest-exp2.c (get_log2): Remove const attribute.
14306
3608cb24
JM
143072013-05-15 Joseph Myers <joseph@codesourcery.com>
14308
14309 * math/libm-test.inc (struct test_f_l_data): New type.
14310 (RUN_TEST_LOOP_f_l): New macro.
14311 (lrint_test_data): New variable.
14312 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14313 (lrint_tonearest_test_data): New variable.
14314 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14315 (lrint_towardzero_test_data): New variable.
14316 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14317 (lrint_downward_test_data): New variable.
14318 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14319 (lrint_upward_test_data): New variable.
14320 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14321 (lround_test_data): New variable.
14322 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14323
39b1f617
PC
143242013-05-15 Peter Collingbourne <pcc@google.com>
14325
1deff3dc
PC
14326 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14327 (EXTRACT_WORDS64) Use where appropriate.
14328 (INSERT_WORDS64) Likewise.
14329
791f3ba0
PC
14330 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14331 constraints with x constraints.
14332 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14333
39b1f617
PC
14334 * malloc/obstack.c (_obstack_compat): Add initializer.
14335
12fba011
EM
143362013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14337
14338 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14339 si_trapno and add si_addr_lsb to _sifields.sigfault.
14340 (si_trapno): Remove macro.
14341 (si_addr_lsb): Define new macro.
14342 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14343
d369f531
JM
143442013-05-15 Joseph Myers <joseph@codesourcery.com>
14345
b861c6c4
JM
14346 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14347 instead of TEST_f_l.
14348 (llrint_test_tonearest): Likewise.
14349 (llrint_test_towardzero): Likewise.
14350 (llrint_test_downward): Likewise.
14351 (llrint_test_upward): Likewise.
14352 (llround_test): Likewise.
14353
7abeee12
JM
14354 * math/libm-test.inc (struct test_f_i_data): Add comment.
14355 (RUN_TEST_LOOP_f_b): New macro.
14356 (RUN_TEST_LOOP_f_b_tg): Likewise.
14357 (finite_test_data): New variable.
14358 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14359 (isfinite_test_data): New variable.
14360 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14361 (isinf_test_data): New variable.
14362 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14363 (isnan_test_data): New variable.
14364 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14365 (isnormal_test_data): New variable.
14366 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14367 (issignaling_test_data): New variable.
14368 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14369 (signbit_test_data): New variable.
14370 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14371
cbe8c4d3
JM
14372 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14373 with INVALID_EXCEPTION.
14374 (acosh_test_data): Likewise.
14375 (asin_test_data): Likewise.
14376 (atanh_test_data): Likewise.
14377 (fmod_test_data): Likewise.
14378 (log_test_data): Likewise.
14379 (log10_test_data): Likewise.
14380 (log2_test_data): Likewise.
14381 (pow_test_data): Likewise.
14382 (sqrt_test_data): Likewise.
14383 (y0_test_data): Likewise.
14384 (y1_test_data): Likewise.
14385 (yn_test_data): Likewise.
14386
5575c0e5
JM
14387 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14388 function contents.
14389
d369f531
JM
14390 * math/libm-test.inc (struct test_ff_i_data): New type.
14391 (RUN_TEST_LOOP_ff_i_tg): New macro.
14392 (isgreater_test_data): New variable.
14393 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14394 (isgreaterequal_test_data): New variable.
14395 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14396 (isless_test_data): New variable.
14397 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14398 (islessequal_test_data): New variable.
14399 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14400 (islessgreater_test_data): New variable.
14401 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14402 (isunordered_test_data): New variable.
14403 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14404
781fd748
DM
144052013-05-14 David S. Miller <davem@davemloft.net>
14406
14407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14408
87aa21df
JM
144092013-05-14 Joseph Myers <joseph@codesourcery.com>
14410
5e908270
JM
14411 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14412
f71172e5
JM
14413 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14414 extra_test to int.
14415 (struct test_f_i_data): Change type of max_ulp to int.
14416
8cfa635a
JM
14417 * math/libm-test.inc (test_ffI_f1_data): New type.
14418 (RUN_TEST_LOOP_ffI_f1): New macro.
14419 (remquo_test_data): New variable.
14420 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14421
2bcb36b2
JM
14422 * setjmp/tst-setjmp-fp.c: New file.
14423 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14424 (link-libm): New variable.
14425 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14426
acbd839a
JM
14427 * math/libm-test.inc (struct test_f_i_data): New type.
14428 (RUN_TEST_LOOP_f_i): New macro.
14429 (RUN_TEST_LOOP_f_i_tg): Likewise.
14430 (fpclassify_test_data): New variable.
14431 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14432 (ilogb_test_data): New variable.
14433 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14434
e414d745
JM
14435 * math/libm-test.inc (scalbln_test): Correct function name in END
14436 call.
14437
d9c2a0fd
JM
14438 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14439 (RUN_TEST_LOOP_fI_f1): New macro.
14440 (frexp_test_data): New variable.
14441 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14442
9dc9095d
JM
14443 * math/libm-test.inc (struct test_fF_f1_data): New type.
14444 (RUN_TEST_LOOP_fF_f1): New macro.
14445 (modf_test_data): New variable.
14446 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14447
87aa21df
JM
14448 * math/libm-test.inc (struct test_f_f1_data): New type.
14449 (RUN_TEST_LOOP_f_f1): New macro.
14450 (gamma_test_data): New variable.
14451 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14452 (lgamma_test_data): New variable.
14453 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14454
141af660
CD
144552013-05-13 Carlos O'Donell <carlos@redhat.com>
14456
14457 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14458 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14459 (main): Comment "tls" pseudo-hwcap.
14460
6d33265c
JM
144612013-05-13 Joseph Myers <joseph@codesourcery.com>
14462
68fc074c
JM
14463 * math/libm-test.inc (struct test_fl_f_data): New type.
14464 (RUN_TEST_LOOP_fl_f): New variable.
14465 (scalbln_test_data): New variable.
14466 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14467
243216e1
JM
14468 * math/libm-test.inc (struct test_fi_f_data): New type.
14469 (RUN_TEST_LOOP_fi_f): New macro.
14470 (ldexp_test_data): New variable.
14471 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14472 (scalbn_test_data): New variable.
14473 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14474
6a1992e2
JM
14475 * math/libm-test.inc (struct test_c_f_data): New type.
14476 (RUN_TEST_LOOP_c_f): New macro.
14477 (cabs_test_data): New variable.
14478 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14479 (carg_test_data): New variable.
14480 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14481 (cimag_test_data): New variable.
14482 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14483 (creal_test_data): New variable.
14484 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14485
0e400df5
JM
14486 * math/libm-test.inc (struct test_if_f_data): New type.
14487 (RUN_TEST_LOOP_if_f): New macro.
14488 (jn_test_data): New variable.
14489 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14490 (yn_test_data): New variable.
14491 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14492
6d33265c
JM
14493 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14494
f98ece5f
AZ
144952013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14496
14497 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14498 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14499
0f7d347b
SP
145002013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14501
43fe811b
SP
14502 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14503 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14504 (bench-deps): Add bench-timing.h.
14505 * benchtests-bench-skeleton.c: Include bench-timing.h.
14506 (main): Use TIMING_* macros instead of clock_gettime.
14507 * benchtests/bench-timing.h: New file.
14508
0f7d347b
SP
14509 [BZ #14582]
14510 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14511 Renamed from _LIB_VERSION.
14512 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14513
601a3a5f
JM
145142013-05-12 Joseph Myers <joseph@codesourcery.com>
14515
4f184d30
JM
14516 * math/libm-test.inc (struct test_fff_f_data): New type.
14517 (RUN_TEST_LOOP_fff_f): New macro.
14518 (fma_test_data): New variable.
14519 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14520 (fma_towardzero_test_data): New variable.
14521 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14522 (fma_downward_test_data): New variable.
14523 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14524 (fma_upward_test_data): New variable.
14525 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14526
08198877
JM
14527 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14528 (struct test_c_c_data): New type.
14529 (RUN_TEST_LOOP_c_c): New macro.
14530 (cacos_test_data): New variable.
14531 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14532 (cacosh_test_data): New variable.
14533 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14534 (casin_test_data): New variable.
14535 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14536 (casinh_test_data): New variable.
14537 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14538 (catan_test_data): New variable.
14539 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14540 (catanh_test_data): New variable.
14541 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14542 (ccos_test_data): New variable.
14543 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14544 (ccosh_test_data): New variable.
14545 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14546 (cexp_test_data): New variable.
14547 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14548 (clog_test_data): New variable.
14549 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14550 (clog10_test_data): New variable.
14551 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14552 (conj_test_data): New variable.
14553 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14554 (cproj_test_data): New variable.
14555 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14556 (csin_test_data): New variable.
14557 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14558 (csinh_test_data): New variable.
14559 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14560 (csqrt_test_data): New variable.
14561 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14562 (ctan_test_data): New variable.
14563 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14564 (ctan_tonearest_test_data): New variable.
14565 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14566 (ctan_towardzero_test_data): New variable.
14567 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14568 (ctan_downward_test_data): New variable.
14569 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14570 (ctan_upward_test_data): New variable.
14571 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14572 (ctanh_test_data): New variable.
14573 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14574 (ctanh_tonearest_test_data): New variable.
14575 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14576 (ctanh_towardzero_test_data): New variable.
14577 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14578 (ctanh_downward_test_data): New variable.
14579 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14580 (ctanh_upward_test_data): New variable.
14581 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14582 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14583 of BUILD_COMPLEX.
14584
601a3a5f
JM
14585 * math/libm-test.inc (struct test_ff_f_data): New type.
14586 (struct test_ff_f_data_nexttoward): Likewise.
14587 (RUN_TEST_LOOP_2_f): New macro.
14588 (RUN_TEST_LOOP_ff_f): Likewise.
14589 (atan2_test_data): New variable.
14590 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14591 (copysign_test_data): New variable.
14592 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14593 (fdim_test_data): New variable.
14594 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14595 (fmax_test_data): New variable.
14596 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14597 (fmin_test_data): New variable.
14598 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14599 (fmod_test_data): New variable.
14600 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14601 (hypot_test_data): New variable.
14602 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14603 (nextafter_test_data): New variable.
14604 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14605 (nexttoward_test_data): New variable.
14606 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14607 (pow_test_data): New variable.
14608 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14609 (pow_tonearest_test_data): New variable.
14610 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14611 (pow_towardzero_test_data): New variable.
14612 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14613 (pow_downward_test_data): New variable.
14614 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14615 (pow_upward_test_data): New variable.
14616 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14617 (remainder_test_data): New variable.
14618 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14619 (scalb_test_data): New variable.
14620 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14621 * sysdeps/i386/fpu/libm-test-ulps: Update.
14622
74c57478
JM
146232013-05-11 Joseph Myers <joseph@codesourcery.com>
14624
8329e4da
JM
14625 * math/libm-test.inc (fma_test): Use max_value instead of local
14626 variable fltmax.
14627 (nextafter_test): Likewise.
14628
74c57478
JM
14629 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14630 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14631 (acos_downward_test_data): New variable.
14632 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14633 (acos_upward_test_data): New variable.
14634 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14635 (acosh_test_data): New variable.
14636 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14637 (asin_test_data): New variable.
14638 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14639 (asin_tonearest_test_data): New variable.
14640 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14641 (asin_towardzero_test_data): New variable.
14642 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14643 (asin_downward_test_data): New variable.
14644 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14645 (asin_upward_test_data): New variable.
14646 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14647 (asinh_test_data): New variable.
14648 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14649 (atan_test_data): New variable.
14650 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14651 (atanh_test_data): New variable.
14652 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14653 (cbrt_test_data): New variable.
14654 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14655 (ceil_test_data): New variable.
14656 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14657 (cos_test_data): New variable.
14658 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14659 (cos_tonearest_test_data): New variable.
14660 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14661 (cos_towardzero_test_data): New variable.
14662 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14663 (cos_downward_test_data): New variable.
14664 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14665 (cos_upward_test_data): New variable.
14666 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14667 (cosh_test_data): New variable.
14668 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14669 (cosh_tonearest_test_data): New variable.
14670 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14671 (cosh_towardzero_test_data): New variable.
14672 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14673 (cosh_downward_test_data): New variable.
14674 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14675 (cosh_upward_test_data): New variable.
14676 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14677 (erf_test_data): New variable.
14678 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14679 (erfc_test_data): New variable.
14680 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14681 (exp_test_data): New variable.
14682 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14683 (exp_tonearest_test_data): New variable.
14684 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14685 (exp_towardzero_test_data): New variable.
14686 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14687 (exp_downward_test_data): New variable.
14688 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14689 (exp_upward_test_data): New variable.
14690 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14691 (exp10_test_data): New variable.
14692 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14693 (exp2_test_data): New variable.
14694 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14695 (expm1_test_data): New variable.
14696 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14697 (fabs_test_data): New variable.
14698 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14699 (floor_test_data): New variable.
14700 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14701 (j0_test_data): New variable.
14702 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14703 (j1_test_data): New variable.
14704 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14705 (log_test_data): New variable.
14706 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14707 (log10_test_data): New variable.
14708 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14709 (log1p_test_data): New variable.
14710 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14711 (log2_test_data): New variable.
14712 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14713 (logb_test_data): New variable.
14714 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14715 (logb_downward_test_data): New variable.
14716 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14717 (nearbyint_test_data): New variable.
14718 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14719 (rint_test_data): New variable.
14720 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14721 (rint_tonearest_test_data): New variable.
14722 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14723 (rint_towardzero_test_data): New variable.
14724 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14725 (rint_downward_test_data): New variable.
14726 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14727 (rint_upward_test_data): New variable.
14728 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14729 (round_test_data): New variable.
14730 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14731 (sin_test_data): New variable.
14732 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14733 (sin_tonearest_test_data): New variable.
14734 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14735 (sin_towardzero_test_data): New variable.
14736 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14737 (sin_downward_test_data): New variable.
14738 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14739 (sin_upward_test_data): New variable.
14740 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14741 (sinh_test_data): New variable.
14742 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14743 (sinh_tonearest_test_data): New variable.
14744 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14745 (sinh_towardzero_test_data): New variable.
14746 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14747 (sinh_downward_test_data): New variable.
14748 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14749 (sinh_upward_test_data): New variable.
14750 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14751 (sqrt_test_data): New variable.
14752 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14753 (tan_test_data): New variable.
14754 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14755 (tan_tonearest_test_data): New variable.
14756 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14757 (tan_towardzero_test_data): New variable.
14758 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14759 (tan_downward_test_data): New variable.
14760 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14761 (tan_upward_test_data): New variable.
14762 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14763 (tanh_test_data): New variable.
14764 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14765 (tgamma_test_data): New variable.
14766 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14767 (trunc_test_data): New variable.
14768 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14769 (y0_test_data): New variable.
14770 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14771 (y1_test_data): New variable.
14772 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14773 (significand_test_data): New variable.
14774 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14775
7187d844
CG
147762013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14777
14778 [BZ #12387]
14779 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14780
f63fae73
PT
147812013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14782
14783 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14784
8a67a4b3
AJ
147852013-05-10 Andreas Jaeger <aj@suse.de>
14786
14787 [BZ #15448]
14788 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14789 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14790
51df539d
JM
147912013-05-10 Joseph Myers <joseph@codesourcery.com>
14792
14793 * math/gen-libm-test.pl (adjust_arg): New function.
14794 (special_functions): Handle generating output in both functions
14795 and arrays.
14796 (parse_args): Likewise.
14797 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14798 $in_func argument to parse_args.
14799 * math/libm-test.inc (struct test_f_f_data): New type.
14800 (IF_ROUND_INIT_): New macro.
14801 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14802 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14803 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14804 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14805 (ROUND_RESTORE_): Likewise.
14806 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14807 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14808 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14809 (ROUND_RESTORE_FE_UPWARD): Likewise.
14810 (RUN_TEST_LOOP_f_f): New macro.
14811 (acos_test_data): New variable.
14812 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14813 (acos_tonearest_test_data): New variable.
14814 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14815
5c637fe5
SP
148162013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14817
14818 * benchtests/bench-skeleton.c (startup): Fix coding style.
14819
ab2b9461
JM
148202013-05-10 Joseph Myers <joseph@codesourcery.com>
14821
14822 [BZ #6809]
14823 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14824 negative infinity argument.
14825 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14826 negative infinity argument.
14827 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14828 negative infinity argument.
14829 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14830 domain errors.
14831
4c0fe6fe
FW
148322013-05-10 Florian Weimer <fweimer@redhat.com>
14833
14834 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14835 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14836 * iconv/iconv_prog.c (main): Likewise.
14837 * locale/programs/charmap-dir.c (charmap_readdir)
14838 (fopen_uncompressed): Likewise.
14839 * locale/programs/locfile.c (siblings_uncached)
14840 (write_locale_data): Use lstat64 instead of lstat.
14841 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14842 stat.
14843
a3375d29
AJ
148442013-05-10 Andreas Jaeger <aj@suse.de>
14845
14846 [BZ #15395]
14847 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14848 localization.
14849 Include <locale.h>.
14850
36129722
CD
148512013-05-09 Carlos O'Donell <carlos@redhat.com>
14852
14853 * elf/dl-close.c (_dl_close_worker): Add comments.
14854
faa7f811
JM
148552013-05-09 Joseph Myers <joseph@codesourcery.com>
14856
ed41ffef
JM
14857 [BZ #15359]
14858 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14859 high part of pi/2.
14860 (__ieee754_rem_pio2l): Update comments.
14861
d0213cd0
JM
14862 [BZ #15429]
14863 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14864 high part of pi/2.
14865 (__ieee754_rem_pio2l): Update comments.
14866
0d3e777a
JM
14867 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14868 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14869
24f56066
JM
14870 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14871 M_PI_4l.
14872
faa7f811
JM
14873 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14874 (M_PI_34_LOG10El): Likewise.
14875 (M_PI2_LOG10El): Likewise.
14876 (M_PI4_LOG10El): Likewise.
14877 (M_PI_LOG10El): Likewise.
14878
e9a5e0fd
AZ
148792013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14880
14881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14882
d8cd06db
JM
148832013-05-08 Joseph Myers <joseph@codesourcery.com>
14884
a0d9f9d7
JM
14885 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14886 (MINUS_ZERO_INIT): Likewise.
14887 (PLUS_INFTY_INIT): Likewise.
14888 (MINUS_INFTY_INIT): Likewise.
14889 (QNAN_VALUE_INIT): Likewise.
14890 (MAX_VALUE_INIT): Likewise.
14891 (MIN_VALUE_INIT): Likewise.
14892 (MIN_SUBNORM_VALUE_INIT): Likewise.
14893 (plus_zero): Initialize with PLUS_ZERO_INIT.
14894 (minus_zero): Initialize with MINUS_ZERO_INIT.
14895 (plus_infty): Initialize with PLUS_INFTY_INIT.
14896 (minus_infty): Initialize with MINUS_INFTY_INIT.
14897 (qnan_value): Initialize with QNAN_VALUE_INIT.
14898 (max_value): Initialize with MAX_VALUE_INIT.
14899 (min_value): Initialize with MIN_VALUE_INIT.
14900 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14901
ae08db3b
JM
14902 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14903 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14904 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14905 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14906
f44bf14a
JM
14907 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14908 (RUN_TEST_2_f): Likewise.
14909 (RUN_TEST_ff_f): Likewise.
14910 (RUN_TEST_fi_f): Likewise.
14911 (RUN_TEST_fl_f): Likewise.
14912 (RUN_TEST_fff_f): Likewise.
14913 (RUN_TEST_c_f): Likewise.
14914 (RUN_TEST_f_f1): Likewise.
14915 (RUN_TEST_fF_f1): Likewise.
14916 (RUN_TEST_fI_f1): Likewise.
14917 (RUN_TEST_ffI_f1): Likewise.
14918 (RUN_TEST_c_c): Likewise.
14919 (RUN_TEST_cc_c): Likewise.
14920 (RUN_TEST_f_i): Likewise.
14921 (RUN_TEST_f_i_tg): Likewise.
14922 (RUN_TEST_ff_i_tg): Likewise.
14923 (RUN_TEST_f_b): Likewise.
14924 (RUN_TEST_f_b_tg): Likewise.
14925 (RUN_TEST_f_l): Likewise.
14926 (RUN_TEST_f_L): Likewise.
14927 (RUN_TEST_sincos): Likewise.
14928 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14929 whether to show exceptions. Do not include ");\n" in return
14930 value.
14931 (special_functions): Output call to RUN_TEST_sincos instead of
14932 check_float calls. Update calls to new_test.
14933 (parse_args): Output call to single RUN_TEST_* macro instead of
14934 check_* calls and other assignments. Update calls to new_test.
14935
d8cd06db
JM
14936 [BZ #2546]
14937 [BZ #2560]
14938 [BZ #5159]
14939 [BZ #15426]
14940 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14941 input to result for tgamma overflow.
14942 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14943 (gamma_coeff): New variable.
14944 (NCOEFF): New macro.
14945 (gamma_positive): New function.
14946 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14947 underflow here. Use gamma_positive instead of exp (lgamma) for
14948 other arguments.
14949 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14950 (gamma_coeff): New variable.
14951 (NCOEFF): New macro.
14952 (gammaf_positive): New function.
14953 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14954 underflow here. Use gamma_positive instead of exp (lgamma) for
14955 other arguments.
14956 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14957 (gamma_coeff): New variable.
14958 (NCOEFF): New macro.
14959 (gammal_positive): New function.
14960 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14961 underflow here. Use gamma_positive instead of exp (lgamma) for
14962 other arguments.
14963 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14964 (gamma_coeff): New variable.
14965 (NCOEFF): New macro.
14966 (gammal_positive): New function.
14967 (__ieee754_gammal_r): Handle positive infinity, overflow and
14968 underflow here. Handle NaN the same as positive infinity. Remove
14969 check x < 0xffffffff for negative integers. Use gamma_positive
14970 instead of exp (lgamma) for other arguments.
14971 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14972 (gamma_coeff): New variable.
14973 (NCOEFF): New macro.
14974 (gammal_positive): New function.
14975 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14976 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14977 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14978 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14979 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14980 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14981 * sysdeps/generic/math_private.h (__gamma_productf): New
14982 prototype.
14983 (__gamma_product): Likewise.
14984 (__gamma_productl): Likewise.
14985 * math/Makefile (libm-calls): Add gamma_product.
14986 * math/libm-test.inc (tgamma_test): Add more tests.
14987 * sysdeps/i386/fpu/libm-test-ulps: Update.
14988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14989
bb7cf681
OB
149902013-05-08 Ondřej Bílka <neleai@seznam.cz>
14991
14992 * benchtests/bench-skeleton.c (main): Preheat CPU.
14993
ba853947
AJ
149942013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14995
14996 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14997
8347c74c
RM
149982013-05-07 Roland McGrath <roland@hack.frob.com>
14999
15000 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15001 and _dl_skip_args_internal.
15002
e8dd4791
CD
150032013-05-07 Carlos O'Donell <carlos@redhat.com>
15004
15005 * manual/message.texi (Message Translation): Talk about users.
15006 Message to key mapping impacts design.
15007
c7405830
RM
150082013-05-06 Roland McGrath <roland@hack.frob.com>
15009
a9173057
RM
15010 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15011
976e2f03
RM
15012 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15013
9723ffc5
RM
15014 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15015 * sysdeps/wordsize-64/glob64.c: ... here.
15016
962e6658
RM
15017 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15018 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15019 New macros.
15020
ee586a6d
RM
15021 * debug/getlogin_r_chk.c: Moved to ...
15022 * login/getlogin_r_chk.c: ... here.
15023 * debug/Makefile (routines): Move getlogin_r_chk to ...
15024 * login/Makefile (routines): ... here.
15025 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15026 * login/Versions (libc: GLIBC_2.4): ... here.
15027
355f9165
RM
15028 * io/poll.c (__poll): Renamed from poll.
15029 Add libc_hidden_def.
15030 (poll): Define as weak alias.
15031
bd9ffde6
RM
15032 * debug/ptsname_r_chk.c: Moved to ...
15033 * login/ptsname_r_chk.c: ... here.
15034 * debug/Makefile (routines): Move ptsname_r_chk to ...
15035 * login/Makefile (routines): ... here.
15036 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15037 * login/Versions (libc: GLIBC_2.4): ... here.
15038
8fb16a04
RM
15039 * posix/getlogin.c: Moved to ...
15040 * login/getlogin.c: ... here.
15041 * posix/getlogin_r.c: Moved to ...
15042 * login/getlogin_r.c: ... here.
15043 * posix/getlogin_r.c: Moved to ...
15044 * login/getlogin_r.c: ... here.
15045 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15046 * login/Makefile (routines): ... here.
15047 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15048 * login/Versions (libc: GLIBC_2.0): ... here.
15049
b99b892f
RM
15050 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15051 (setrlimit): Define as weak alias.
15052
c7405830
RM
15053 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15054 Call __ names for open, ftruncate, and close.
15055 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15056 (truncate): Define as weak alias.
15057
5bf96de5
JM
150582013-05-06 Joseph Myers <joseph@codesourcery.com>
15059
9ea3513c
JM
15060 * math/gen-libm-test.pl (parse_args): Initialize x before each
15061 test of frexp, modf and remquo.
15062
5bf96de5
JM
15063 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15064 test signgam value.
15065
16e616a7
AZ
150662013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15067
15068 [BZ #15418]
15069 [BZ #15419]
15070 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15071 internal tests.
15072 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15073
d5e82754
RM
150742013-05-06 Roland McGrath <roland@hack.frob.com>
15075
15076 * elf/dl-writev.h: New file.
15077 * elf/dl-misc.c: Include it.
15078 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15079 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15080
a7548d41
JM
150812013-05-04 Joseph Myers <joseph@codesourcery.com>
15082
b7dab1e4
JM
15083 * math/libm-test.inc (noXFails): Remove variable.
15084 (noXPasses): Likewise.
15085 (BUILD_COMPLEX_INT): Remove macro.
15086 (print_screen): Remove xfail argument.
15087 (print_screen_max_error): Likewise.
15088 (update_stats): Likewise.
15089 (print_max_error): Likewise. Update calls to other affected
15090 functions.
15091 (print_complex_max_error): Likewise.
15092 (test_single_exception): Update calls to print_screen.
15093 (test_single_errno): Likewise.
15094 (check_float_internal): Remove xfail argument. Update calls to
15095 other affected functions.
15096 (check_float): Likewise.
15097 (check_complex): Likewise.
15098 (check_int): Likewise.
15099 (check_long): Likewise.
15100 (check_bool): Likewise.
15101 (check_longlong): Likewise.
15102 (main): Don't print noXFails and noXPasses.
15103 * math/gen-libm-test.pl (top level): Don't mention expected
15104 failure handling in comment.
15105 (new_test): Don't handle expected failures.
15106 (parse_args): Don't mention expected failure handling in comment.
15107 (generate_testfile): Don't handle expected failures.
15108 (parse_ulps): Likewise.
15109 (print_ulps_file): Likewise.
15110 (get_failure): Remove function.
15111 (output_test): Don't handle expected failures.
15112 * make/README.libm-test: Don't mention expected failure handling.
15113
a7548d41
JM
15114 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15115 (minus_zero): Likewise.
15116 (plus_infty): Likewise.
15117 (minus_infty): Likewise.
15118 (qnan_value): Likewise.
15119 (max_value): Likewise.
15120 (min_value): Likewise.
15121 (min_subnorm_value): Likewise.
15122 (initialize): Do not initialize those variables dynamically.
15123
60bfd54c
RM
151242013-05-03 Roland McGrath <roland@hack.frob.com>
15125
cc0e6ed8
RM
15126 * io/open.c (__open_2): Moved to ...
15127 * io/open_2.c: ... this new file.
15128 * io/open64.c (__open64_2): Moved to ...
15129 * io/open64_2.c: ... this new file.
15130 * io/openat.c (__openat_2): Moved to ...
15131 * io/openat_2.c: ... this new file.
15132 * io/openat64.c (__openat64_2): Moved to ...
15133 * io/openat64_2.c: ... this new file.
15134 * io/Makefile (routines): Add them.
15135 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15136 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15137 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15138 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15139 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15140 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15141 (__openat64): Add hidden_ver.
15142 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15143 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15144
60bfd54c
RM
15145 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15146 Separately conditionalize setting of GLRO(dl_sysinfo) so
15147 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15148 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15149
83e7640f
AZ
151502013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15151
15152 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15153 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15154 definition.
15155 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15156 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15157 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15158 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15159 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15160
d5dc2af3
JM
151612013-05-03 Joseph Myers <joseph@codesourcery.com>
15162
c31a5b1e
JM
15163 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15164 test signgam value.
15165
d5dc2af3
JM
15166 * math/libm-test.inc (hypot_test): Do not use
15167 IGNORE_ZERO_INF_SIGN.
15168
164fd39d
AJ
151692013-05-03 Andreas Jaeger <aj@suse.de>
15170
15171 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15172 Linux 3.9.
15173 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15174 (PF_MAX): Adjust for VSOCK change.
15175
8237f48c
AZ
151762013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15177
15178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15179
9df02941
CD
151802013-05-02 Carlos O'Donell <carlos@redhat.com>
15181
15182 [BZ #15264]
15183 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15184 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15185 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15186
d422395e
DM
151872013-05-02 David S. Miller <davem@davemloft.net>
15188
15189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15190
a07c5731
OB
151912013-05-01 Ondřej Bílka <neleai@seznam.cz>
15192
15193 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15194
1324e37f
RM
151952013-05-01 Roland McGrath <roland@hack.frob.com>
15196
15197 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15198
0695940b
RS
151992013-05-01 Richard Smith <richard@metafoo.co.uk>
15200
bb5f27ad 15201 [BZ #14952]
0695940b
RS
15202 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15203 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15204 Use __attribute__ ((__gnu_inline__)).
15205 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15206 Don't use __attribute__ ((__gnu_inline__)).
15207
10de07f5
JM
152082013-05-01 Joseph Myers <joseph@codesourcery.com>
15209
15210 [BZ #15423]
15211 * math/s_catan.c (__catan): Handle small real or imaginary part of
15212 input specially to avoid spurious underflow.
15213 * math/s_catanf.c (__catanf): Likewise.
15214 * math/s_catanh.c (__catanh): Likewise.
15215 * math/s_catanhf.c (__catanhf): Likewise.
15216 * math/s_catanhl.c (__catanhl): Likewise.
15217 * math/s_catanl.c (__catanl): Likewise.
15218 * math/libm-test.inc (catan_test): Add more tests.
15219 (catanh_test): Likewise.
15220 * sysdeps/i386/fpu/libm-test-ulps: Update.
15221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15222
cb4d5414
AZ
152232013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15224
15225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15226
caf84319
JM
152272013-04-30 Joseph Myers <joseph@codesourcery.com>
15228
15229 [BZ #15416]
15230 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15231 accurately for denominator in atan2.
15232 * math/s_catanf.c (__catanf): Likewise.
15233 * math/s_catanh.c (__catanh): Likewise.
15234 * math/s_catanhf.c (__catanhf): Likewise.
15235 * math/s_catanhl.c (__catanhl): Likewise.
15236 * math/s_catanl.c (__catanl): Likewise.
15237 * math/libm-test.inc (catan_test): Add more tests.
15238 (catanh_test): Likewise.
15239 * sysdeps/i386/fpu/libm-test-ulps: Update.
15240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15241
d569c6ee
SP
152422013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15243
6dbe713d
SP
15244 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15245
f0ee064b
SP
15246 * benchtests/Makefile (bench): Remove slow benchmarks.
15247 * benchtests/atan-inputs: Add slow benchmark inputs.
15248 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15249 (BENCH_FUNC): Accept variant offset.
15250 (VARIANT): Define.
15251 * benchtests/bench-skeleton.c (main): Run benchmark for each
15252 variant.
15253 * benchtests/cos-inputs: Add slow benchmark inputs.
15254 * benchtests/exp-inputs: Likewise.
15255 * benchtests/pow-inputs: Likewise.
15256 * benchtests/sin-inputs: Likewise.
15257 * benchtests/slowatan-inputs: Remove.
15258 * benchtests/slowatan.c: Remove.
15259 * benchtests/slowcos-inputs: Remove.
15260 * benchtests/slowcos.c: Remove.
15261 * benchtests/slowexp-inputs: Remove.
15262 * benchtests/slowexp.c: Remove.
15263 * benchtests/slowpow-inputs: Remove.
15264 * benchtests/slowpow.c: Remove.
15265 * benchtests/slowsin-inputs: Remove.
15266 * benchtests/slowsin.c: Remove.
15267 * benchtests/slowtan-inputs: Remove.
15268 * benchtests/slowtan.c: Remove.
15269 * benchtests/tan-inputs: Add slow benchmark inputs.
15270 * scripts/bench.pl: Parse comments and directives.
15271
d569c6ee
SP
15272 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15273 in CPPFLAGS.
15274 ($(objpfx)bench-%.c): Remove *-ITER.
15275 * benchtests/bench-modf.c: Remove definition of ITER.
15276 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15277 (main): Loop for DURATION seconds instead of fixed number of
15278 iterations.
15279 * scripts/bench.pl: Don't expect iterations in parameters.
15280
a6a242fe
RM
152812013-04-29 Roland McGrath <roland@hack.frob.com>
15282
15283 * io/fchdir.c (__fchdir): Renamed from fchdir.
15284 (fchdir): Define as weak alias.
15285
f2da7793
JM
152862013-04-29 Joseph Myers <joseph@codesourcery.com>
15287
15288 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15289 (ERRNO_EDOM): Likewise.
15290 (ERRNO_ERANGE): Likewise.
15291 (noErrnoTests): New variable.
15292 (init_max_error): Set errno to 0.
15293 (test_single_errno): New function.
15294 (test_errno): Likewise.
15295 (check_float_internal): Call test_errno. Set errno to 0.
15296 (check_complex): Refer to errno tests in comment.
15297 (check_int): Call test_errno. Set errno to 0.
15298 (check_long): Likewise.
15299 (check_bool): Likewise.
15300 (check_longlong): Likewise.
15301 (cos_test): Use ERRNO_* flags for errno tests instead of
15302 check_int.
15303 (expm1_test): Likewise.
15304 (fmod_test): Likewise.
15305 (ilogb_test): Likewise.
15306 (lgamma_test): Likewise.
15307 (pow_test): Likewise.
15308 (remainder_test): Likewise.
15309 (sin_test): Likewise.
15310 (tan_test): Likewise.
15311 (yn_test): Likewise.
15312 (initialize): Set errno to 0.
15313 (main): Print number of errno tests.
15314 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15315
b1a36ceb
AJ
153162013-04-29 Andreas Jaeger <aj@suse.de>
15317
c3ed8088
AJ
15318 [BZ #15084]
15319 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15320 and RES_USEVC.
15321
f1a24198
AJ
15322 [BZ #15085]
15323 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15324 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15325 unimplemented.
15326
9ce3b2cb
AJ
15327 [BZ #15380]
15328 * stdlib/random.c (__initstate): Return NULL if
15329 __initstate fails.
15330
f1a24198 15331 [BZ #15086]
b1a36ceb
AJ
15332 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15333 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15334 RES_SNGLKUPREOP.
15335
7e7b6f36
AZ
153362013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15337
15338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15339
4d14f449
JM
153402013-04-29 Joseph Myers <joseph@codesourcery.com>
15341
15342 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15343 of individual tests.
15344 (casin_test): Likewise.
15345 (casinh_test): Likewise.
15346
5b4217d7
JM
153472013-04-27 Joseph Myers <joseph@codesourcery.com>
15348
15349 [BZ #15409]
15350 * math/s_catan.c (__catan): Handle arguments with large real or
15351 imaginary part separately without squaring.
15352 * math/s_catanf.c (__catanf): Likewise.
15353 * math/s_catanh.c (__catanh): Likewise.
15354 * math/s_catanhf.c (__catanhf): Likewise.
15355 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15356 and redefine.
15357 (__catanhl): Handle arguments with large real or imaginary part
15358 separately without squaring.
15359 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15360 and redefine.
15361 (__catanl): Handle arguments with large real or imaginary part
15362 separately without squaring.
15363 * math/libm-test.inc (catan_test): Add more tests.
15364 (catanh_test): Likewise.
15365 * sysdeps/i386/fpu/libm-test-ulps: Update.
15366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15367
4220c3ef
AJ
153682013-04-27 Andreas Jaeger <aj@suse.de>
15369
15370 [BZ #15007]
15371 * stdlib/stdlib.h: Update guards for qecvt.
15372 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15373 <stdlib.h>.
15374
4721b2d1
AM
153752013-04-27 Allan McRae <allan@archlinux.org>
15376
15377 * sysdeps/i386/fpu/libm-test-ulps: Update.
15378
f0302940
JM
153792013-04-26 Joseph Myers <joseph@codesourcery.com>
15380
9457fd95
JM
15381 [BZ #15406]
15382 * math/s_catan.c: Include <float.h>.
15383 (__catan): Ensure underflow exception occurs for underflowed
15384 result.
15385 * math/s_catanf.c: Include <float.h>.
15386 (__catanf): Ensure underflow exception occurs for underflowed
15387 result.
15388 * math/s_catanh.c: Include <float.h>.
15389 (__catanh): Ensure underflow exception occurs for underflowed
15390 result.
15391 * math/s_catanhf.c: Include <float.h>.
15392 (__catanhf): Ensure underflow exception occurs for underflowed
15393 result.
15394 * math/s_catanhl.c: Include <float.h>.
15395 (__catanhl): Ensure underflow exception occurs for underflowed
15396 result.
15397 * math/s_catanl.c: Include <float.h>.
15398 (__catanl): Ensure underflow exception occurs for underflowed
15399 result.
15400 * math/libm-test.inc (catan_test): Add more tests.
15401 (catanh_test): Likewise.
15402
f0302940
JM
15403 [BZ #15405]
15404 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15405 underflowed result.
15406 * math/s_ccoshf.c (__ccoshf): Likewise.
15407 * math/s_ccoshl.c (__ccoshl): Likewise.
15408 * math/s_csin.c (__csin): Likewise.
15409 * math/s_csinf.c (__csinf): Likewise.
15410 * math/s_csinh.c (__csinh): Likewise.
15411 * math/s_csinhf.c (__csinhf): Likewise.
15412 * math/s_csinhl.c (__csinhl): Likewise.
15413 * math/s_csinl.c (__csinl): Likewise.
15414 * math/libm-test.inc (ccos_test): Add more tests.
15415 (ccosh_test): Likewise.
15416 (csin_test): Likewise.
15417 (csinh_test): Likewise.
15418
aa630f59
AZ
154192013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15420
15421 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15422 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15423 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15424 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15425 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15426 powerpc/power5+/fpu folders.
15427 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15428
15429
1b835983
MT
154302013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15431
15432 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15433
73709b26
JM
154342013-04-25 Joseph Myers <joseph@codesourcery.com>
15435
15436 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15437 additions to variable.
15438 [$(config-machine) = x86_64] (modules-names): Likewise.
15439 ($(objpfx)tst-audit3): Remove dependency.
15440 ($(objpfx)tst-audit3.out): Likewise.
15441 ($(objpfx)tst-audit4): Likewise.
15442 ($(objpfx)tst-audit4.out): Likewise.
15443 ($(objpfx)tst-audit5): Likewise.
15444 ($(objpfx)tst-audit5.out): Likewise.
15445 ($(objpfx)tst-audit6): Likewise.
15446 ($(objpfx)tst-audit6.out): Likewise.
15447 ($(objpfx)tst-audit7): Likewise.
15448 ($(objpfx)tst-audit7.out): Likewise.
15449 (tst-audit3-ENV): Remove variable.
15450 (tst-audit4-ENV): Likewise.
15451 (tst-audit5-ENV): Likewise.
15452 (tst-audit6-ENV): Likewise.
15453 (tst-audit7-ENV): Likewise.
15454 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15455 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15456 addition to variable.
15457 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15458 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15459 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15460 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15461 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15462 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15463 tst-audit3, tst-audit4 and tst-audit5.
15464 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15465 tst-audit6 and tst-audit7.
15466 [$(subdir) = elf] (modules-names): Add audit modules for those
15467 tests.
15468 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15469 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15470 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15471 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15472 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15473 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15474 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15475 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15476 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15477 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15478 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15479 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15480 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15481 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15482 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15483 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15484 Likewise.
15485 [$(subdir) = elf && $(config-cflags-avx) = yes]
15486 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15487 [$(subdir) = elf && $(config-cflags-avx) = yes]
15488 (CFLAGS-tst-auditmod4a.c): Likewise.
15489 [$(subdir) = elf && $(config-cflags-avx) = yes]
15490 (CFLAGS-tst-auditmod4b.c): Likewise.
15491 [$(subdir) = elf && $(config-cflags-avx) = yes]
15492 (CFLAGS-tst-auditmod6b.c): Likewise.
15493 [$(subdir) = elf && $(config-cflags-avx) = yes]
15494 (CFLAGS-tst-auditmod6c.c): Likewise.
15495 [$(subdir) = elf && $(config-cflags-avx) = yes]
15496 (CFLAGS-tst-auditmod7b.c): Likewise.
15497 * elf/tst-audit3.c: Move to ...
15498 * sysdeps/x86_64/tst-audit3.c: ... here.
15499 * elf/tst-audit4.c: Move to ...
15500 * sysdeps/x86_64/tst-audit4.c: ... here.
15501 * elf/tst-audit5.c: Move to ...
15502 * sysdeps/x86_64/tst-audit5.c: ... here.
15503 * elf/tst-audit6.c: Move to ...
15504 * sysdeps/x86_64/tst-audit6.c: ... here.
15505 * elf/tst-audit7.c: Move to ...
15506 * sysdeps/x86_64/tst-audit7.c: ... here.
15507 * elf/tst-auditmod3a.c: Move to ...
15508 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15509 * elf/tst-auditmod3b.c: Move to ...
15510 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15511 * elf/tst-auditmod4a.c: Move to ...
15512 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15513 * elf/tst-auditmod4b.c: Move to ...
15514 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15515 * elf/tst-auditmod5a.c: Move to ...
15516 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15517 * elf/tst-auditmod5b.c: Move to ...
15518 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15519 * elf/tst-auditmod6a.c: Move to ...
15520 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15521 * elf/tst-auditmod6b.c: Move to ...
15522 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15523 * elf/tst-auditmod6c.c: Move to ...
15524 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15525 * elf/tst-auditmod7a.c: Move to ...
15526 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15527 * elf/tst-auditmod7b.c: Move to ...
15528 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15529
1ef74943
PP
155302013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15531
15532 [BZ #15366]
15533 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15534 define unconditionally.
15535 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15536 define unconditionally.
15537 (INT8_C, INT16_C, etc.): Likewise.
15538
93fd48c5
MR
155392013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15540
ae9552cf
MR
15541 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15542 __ehdr_start with hidden visibility.
15543
93fd48c5
MR
15544 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15545
418601aa
CD
155462013-04-24 Carlos O'Donell <carlos@redhat.com>
15547
15548 * math/libm-test.inc (cos_test): Use accurate hex constants.
15549 (sincost_test): Likewise.
15550
2f38fbfe
JM
155512013-04-24 Joseph Myers <joseph@codesourcery.com>
15552
5e221800
JM
15553 * math/libm-test.inc (catan_test): Add more tests.
15554 (catanh_test): Likewise.
15555
77f143fd
JM
15556 * math/s_catanf.c (__catanf): Use suffixed floating-point
15557 constants.
15558 * math/s_catanhf.c (__catanhf): Likewise.
15559 * math/s_catanhl.c (__catanhl): Likewise.
15560 * math/s_catanl.c (__catanl): Likewise.
15561
2f38fbfe
JM
15562 [BZ #15394]
15563 * math/s_catan.c (__catan): Calculate imaginary part of result
15564 with log1p not log unless computing log of number close to 0.
15565 * math/s_catanf.c (__catanf): Likewise.
15566 * math/s_catanl.c (__catanl): Likewise.
15567 * math/s_catanh.c (__catanh): Calculate real part of result with
15568 log1p not log unless computing log of number close to 0.
15569 * math/s_catanhf.c (__catanhf): Likewise.
15570 * math/s_catanhl.c (__catanhl): Likewise.
15571 * math/libm-test.inc (catan_test): Add more tests.
15572 (catanh_test): Likewise.
15573 * sysdeps/i386/fpu/libm-test-ulps: Update.
15574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15575
45d69176
SP
155762013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15577
15578 * benchtests/Makefile: Mention files in which fast and slow
15579 paths of math functions are implemented.
15580
87f51853
RM
155812013-04-23 Roland McGrath <roland@hack.frob.com>
15582
15583 * sysdeps/posix/timespec_get.c: New file.
15584
3c026539
AZ
155852013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15586
15587 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15588 POWER.
15589 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15590 for POWER.
15591 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15592 powerpc/power5/fpu folders.
15593 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15594 * benchtests/Makefile: Add modf testcase.
15595 * benchtests/bench-modf.c: New file: Benchmark test for mo
15596
ff491d14
SP
155972013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15598
15599 [BZ #14888]
15600 * time/Makefile (tests): Add tst-strptime-whitespace.
15601 * time/strptime_l.c (get_number): Use ISSPACE.
15602 (__strptime_internal): Likewise.
15603 * time/tst-strptime-whitespace.c: New test case.
15604
7ed3f4e8
AS
156052013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15606
15607 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15608 member.
15609 (_nss_files_init): Set it here.
15610
5c95f7b6
HC
156112013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15612
15613 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15614 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15615 unsigned.
15616
d34c9158
JBG
156172013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15618
15619 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15620
2169712d
SP
156212013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15622
15623 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15624 size just once.
15625
29c5de99
DM
156262013-04-21 David S. Miller <davem@davemloft.net>
15627
15628 * po/ru.po: Update Russion translation from translation project.
15629
ccdad15d
AC
156302013-04-17 Adam Conrad <adconrad@0c3.net>
15631
15632 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15633 and setfsgid.
15634
0f122b8d
CD
156352013-04-17 Carlos O'Donell <carlos@redhat.com>
15636
5c5b07da 15637 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15638 * configure: Regenerate.
5c5b07da 15639 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15640 Add example to error message.
15641 * sysdeps/i386/configure: Regenerate.
15642
037714dd
SP
156432013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15644
15645 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15646 slowtan.
15647 * benchtests/cos-inputs: New file.
15648 * benchtests/slowcos-inputs: New file.
15649 * benchtests/slowcos.c: New file.
15650 * benchtests/slowtan-inputs: New file.
15651 * benchtests/slowtan.c: New file.
15652 * benchtests/tan-inputs: New file.
15653
e913141d
RM
156542013-04-16 Roland McGrath <roland@hack.frob.com>
15655
15656 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15657 considered kosher.
15658
a2964074
SP
156592013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15660
4856bcd2
SP
15661 * benchtests/Makefile: Include cppflags-iterator.mk to add
15662 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15663
a2964074
SP
15664 * Makefile.in (bench-clean): New target.
15665 * benchtests/Makefile (bench-clean): Likewise.
15666
9fbf9aca
DH
156672013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15668
15669 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15670
207d1e2a
TS
156712013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15672
15673 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15674
306dfba9
AS
156752013-04-15 Andreas Schwab <schwab@suse.de>
15676
15677 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15678 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15679 * nscd/pwdcache.c (cache_addpw): Likewise.
15680 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15681 more than recsize.
15682
206a6699
SP
156832013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15684
15685 * benchtests/Makefile (bench): Write all output to
15686 bench-out.tmp together.
15687
0582f6b3
AS
156882013-04-15 Andreas Schwab <schwab@suse.de>
15689
15690 * nscd/nscd.c (main): Don't fork again after closing files.
15691
acb4325f
SP
156922013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15693
5cb26d0a
SP
15694 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15695
acb4325f
SP
15696 * benchtests/Rules (bench-deps): Collect dependencies into a
15697 single variable. Add Makefile to dependencies.
15698 ($(objpfx)bench-%.c): Depend on bench-deps.
15699
47792506
RM
157002013-04-12 Roland McGrath <roland@hack.frob.com>
15701 Xavier Roche <roche+kml2@exalead.com>
15702
15703 [BZ #15361]
15704 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15705 just that it's a file descriptor.
15706 * manual/llio.texi (Synchronizing AIO Operations): Update description
15707 for EBADF error from aio_fsync.
15708
8fc1bee5
SP
157092013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15710
15711 * Rules (bench): Move target definition...
15712 * benchtests/Makefile: ... here.
15713
aba5e333
CD
157142013-04-11 Carlos O'Donell <carlos@redhat.com>
15715
15716 * math/libm-test.inc (cos_test): Fix PI/2 test.
15717 (sincos_test): Likewise.
15718 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15719 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15720
273cdee8
AS
157212013-04-11 Andreas Schwab <schwab@suse.de>
15722
6ecec3b6
AS
15723 [BZ #13988]
15724 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15725 accept exponent character only when digits were seen.
15726 * stdio-common/Makefile (tests): Add bug26.
15727 * stdio-common/bug26.c: New file.
15728
273cdee8
AS
15729 [BZ #14293]
15730 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15731 non-freeable.
15732
8da491f5
SP
157332013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15734
01dc6df9
SP
15735 * Makeconfig (rtld-prefix): Define built linker prefix.
15736 * Rules (run-bench): Use it.
15737 * math/Makefile (run-regen-ulps): Likewise.
15738
8da491f5
SP
15739 * Rules (bench): Remove eval.
15740
abe7f530
SP
157412013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15742 Roland McGrath <roland@hack.frob.com>
15743 Ondrej Bilka <neleai@seznam.cz>
15744
15745 [BZ #15346]
15746 * time/getdate.c: Include ctype.h and alloca.h.
15747 (__getdate_r): Trim leading and trailing spaces of input.
15748 * time/tst-getdate.c (tests): Add tests with leading and
15749 trailing spaces.
15750
61c23e62
RM
157512013-04-08 Roland McGrath <roland@hack.frob.com>
15752
15753 [BZ #14280]
15754 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15755 when computing value.
15756
7208a313
CD
157572013-04-06 Carlos O'Donell <carlos@redhat.com>
15758
085b2d41
CD
15759 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15760 Use testrun.sh to run libm tests.
15761
7208a313
CD
15762 [BZ #15309]
15763 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15764
872c0acd
MM
157652013-04-06 Marko Myllynen <myllynen@redhat.com>
15766
15767 [BZ #15264]
15768 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15769
26510bdd
CD
157702013-04-06 Carlos O'Donell <carlos@redhat.com>
15771
15772 * Makefile.in (regen-ulps): New target.
15773 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15774 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15775 [ifneq (no,$(PERL)] (regen-ulps): New target.
15776 [ifeq (no,$(PERL)] (regen-ulps): New target.
15777 * math/libm-test.inc (ulps_file_name): Define.
15778 (output_dir): New variable.
15779 (options): Add "output-dir" option.
15780 (parse_opt): Handle 'o' case.
15781 (main): If output_dir is non-NULL use it as a prefix
15782 otherwise use "".
15783 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15784
a01f19c8
CD
157852013-04-06 Carlos O'Donell <carlos@redhat.com>
15786
15787 [BZ #10060, #10062]
15788 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15789 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15790 fail configure if __sync_val_compare_and_swap is not inlined.
15791 * sysdeps/i386/configure: Regenerate.
15792 * configure.in: Build for i686 when configured for i386.
15793 * configure: Regenerate.
15794 * README: Remove i386 reference.
15795
b7a329a5
CD
157962013-04-06 Carlos O'Donell <carlos@redhat.com>
15797
15798 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15799 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15800
bf0f50df
TS
158012013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15802
ee091edf
TS
15803 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15804 (lmsnanval): New variables.
15805 (F): Add conversion tests.
15806 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15807 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15808
a8b792d6
TS
15809 * stdio-common/tstdiomisc.c (F): Properly collect individual
15810 tests' results.
15811
a1cbf437
TS
15812 [BZ #14686, #15336]
15813 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15814 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15815 Instead, use input NaN values or generate a qNaN by arithmetic
15816 operation. Also fix bugs to comply with the standard.
15817 * math/libm-test.inc (remainder_test): Add more tests.
15818
8b43a0c9
TS
15819 [BZ #15335, #15342]
15820 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15822 input NaN values or generate a qNaN by arithmetic operation.
15823
d91da4ce
TS
15824 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15825 unreachable code.
15826
bf0f50df
TS
15827 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15828 definitions.
15829
05e166c8
JM
158302013-04-03 Joseph Myers <joseph@codesourcery.com>
15831
15832 [BZ #14478]
15833 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15834 underflowed result.
15835 * math/s_cexpf.c (__cexpf): Likewise.
15836 * math/s_cexpl.c (__cexpl): Likewise.
15837 * math/libm-test.inc (cexp_test): Add more tests.
15838
1cef1b19
AS
158392013-04-03 Andreas Schwab <schwab@suse.de>
15840
15841 [BZ #15330]
15842 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15843 order arrays from heap if bigger than alloca cutoff.
15844
74d87055
TS
158452013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15846
15847 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15848 (SNAN_TESTS_double): Refer to GCC PR56831.
15849 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15850 GCC PR56828.
15851
d755bba4
SP
158522013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15853
90d5d5bb
SP
15854 * Rules (bench): Move bench.out after the run is complete.
15855
73e0cd5d
SP
15856 * Rules (bench): Echo currently running benchmark.
15857
64aabd4b
SP
15858 * benchtests/Makefile (bench): Add atan and slowatan.
15859 * benchtests/atan-inputs: New file.
15860 * benchtests/slowatan-inputs: New file.
15861 * benchtests/slowatan.c: New file.
15862
c871eccd
SP
15863 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15864 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15865 its value.
15866
d755bba4
SP
15867 [BZ #15305]
15868 * sysdeps/unix/sysv/linux/kernel-features.h
15869 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15870 __ASSUME_XFS_RESTRICTED_CHOWN.
15871 * sysdeps/unix/sysv/linux/pathconf.c
15872 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15873 Save and restore errno.
15874
52ce4860
JM
158752013-04-02 Joseph Myers <joseph@codesourcery.com>
15876
15877 [BZ #15327]
15878 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15879 arguments using __kernel_casinh.
15880 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15881 arguments using __kernel_casinhf.
15882 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15883 arguments using __kernel_casinhl.
15884 * math/libm-test.inc (cacosh_test): Add more tests.
15885 * sysdeps/i386/fpu/libm-test-ulps: Update.
15886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15887
81f311c2
SP
158882013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15889
e7906a47
SP
15890 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15891 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15892
92e3664b
SP
15893 * bench/Makefile (bench): Add sin and slowsin.
15894 * benchtests/sin-inputs: New file.
15895 * benchtests/slowsin-inputs: New file.
15896 * benchtests/slowsin.c: New file.
15897
81f311c2
SP
15898 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15899 (bench): Add slowexp and slowpow.
15900 (exp-ITER): Increase iterations.
15901 (pow-ITER): Likewise.
15902 * benchtests/exp-inputs: Change input.
15903 * benchtests/pow-inputs: Likewise.
15904 * benchtests/slowexp-inputs: New file.
15905 * benchtests/slowexp.c: New file.
15906 * benchtests/slowpow-inputs: New file.
15907 * benchtests/slowpow.c: New file.
15908
ab0f1aa9
AZ
159092013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15910
15911 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15912 instructions.
15913 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15914 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15915 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15916 * benchtests/Makefile: Add rint benchtest.
15917 * benchtests/rint-inputs: Input for rint benchtest.
15918
57267616
TS
159192013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15920
15921 * Versions.def (libm): Add GLIBC_2.18.
15922 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15923 hidden libm prototypes.
15924 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15925 * math/Makefile (libm-calls): Add s_issignaling.
15926 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15927 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15928 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15929 declaration.
15930 * math/math.h [__USE_GNU] (issignaling): New macro.
15931 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15932 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15933 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15934 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15935 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15936 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15937 * manual/arith.texi (issignaling): New section.
15938 * manual/libm-err-tab.pl (@all_functions): Update comment.
15939 * math/gen-libm-test.pl (parse_args): Apply special handling for
15940 issignaling.
15941 * math/libm-test.inc (print_float, issignaling_test): New
15942 functions.
15943 (check_float_internal): Add issignaling checks.
15944 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15945 default definition.
15946 * sysdeps/powerpc/math-tests.h: New file.
15947 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15948 tests.
15949 * math/test-snan.c (TEST_FUNC): Likewise.
15950
6142896d
DM
159512013-03-30 David S. Miller <davem@davemloft.net>
15952
15953 * po/de.po: Update from translation team.
15954
ccc8cadf
JM
159552013-03-30 Joseph Myers <joseph@codesourcery.com>
15956
15957 [BZ #10357]
15958 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15959 imaginary part less than 1.0 and real part less than 0.5
15960 specially.
15961 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15962 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15963 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15964 (cacos_test): Add more tests.
15965 (casin_test): Likewise.
15966 (casinh_test): Likewise.
15967 * sysdeps/i386/fpu/libm-test-ulps: Update.
15968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15969
0f6a8d4b
SP
159702013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15971
0d1029de
SP
15972 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15973 ONE with its value.
15974
c2d94018
SP
15975 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15976 (__pow_mp): Replace ONE and MONE with their values.
15977 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15978 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15979 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15980 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15981 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15982 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15983
27ec37f1
SP
15984 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15985
a64d7e0e
SP
15986 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15987 (__pow_mp): Replace ZERO and MZERO with their values.
15988 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15989 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15990 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15991 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15992 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15993 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15994 (__sqr): Likewise.
15995
d26dd3eb
SP
15996 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15997
0f6a8d4b
SP
15998 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15999
e57b0c61
RM
160002013-03-28 Roland McGrath <roland@hack.frob.com>
16001
16002 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16003 Declare with __attribute__ ((weak)).
16004 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16005 Call __call_tls_dtors only if it's not NULL.
16006
356b3480
RM
160072013-03-28 Roland McGrath <roland@hack.frob.com>
16008
288f7d79
RM
16009 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16010 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16011 magic __ehdr_start linker symbol if it's defined.
16012 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16013 them up here if it was already done.
16014
dc0a0263
RM
16015 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16016 (_dl_aux_init): Use const in cast when setting it.
16017 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16018 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16019 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16020
3d3436ae
RM
16021 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16022 Declare them here.
16023 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16024 * csu/libc-tls.c: Nor here.
16025 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16026
356b3480
RM
16027 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16028 (__libc_message): Never call vsyslog.
16029
b0f1246a
AM
160302013-03-28 Alan Modra <amodra@gmail.com>
16031
16032 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16033 Define as empty.
16034 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16035 Likewise.
16036
fbbe2b9a
AZ
160372013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16038
16039 [BZ #15214]
16040 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16041 underflow.
16042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16043
1728ab37
SP
160442013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16045
7a86be6e
SP
16046 [BZ #15304]
16047 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16048 Don't add gid passed as argument.
16049
1728ab37
SP
16050 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16051
3a7182a1
JM
160522013-03-27 Joseph Myers <joseph@codesourcery.com>
16053
16054 [BZ #15307]
16055 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16056 imaginary part between 1.0 and 1.5 and real part less than 0.5
16057 specially.
16058 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16059 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16060 * math/libm-test.inc (cacos_test): Add more tests.
16061 (casin_test): Likewise.
16062 (casinh_test): Likewise.
16063 * sysdeps/i386/fpu/libm-test-ulps: Update.
16064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16065
6f2e90e7
SP
160662013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16067
5739f705
SP
16068 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16069 constants.
16070 (norm): Likewise.
16071 (denorm): Likewise.
16072 (__dbl_mp): Likewise.
16073 (add_magnitudes): Likewise.
16074 (sub_magnitudes): Likewise.
16075 (__add): Likewise.
16076 (__sub): Likewise.
16077 (__mul): Likewise.
16078 (__sqr): Likewise.
16079 (__inv): Likewise.
16080 (__dvd): Likewise.
16081
e375e83d
SP
16082 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16083 commented code.
16084 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16085 (__dubcos): Likewise.
16086 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16087 (__ieee754_acos): Likewise.
16088 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16089 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16090 (__exp1): Likewise.
16091 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16092 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16093 (log1): Likewise.
16094 (my_log2): Likewise.
16095 (checkint): Likewise.
16096 * sysdeps/ieee754/dbl-64/e_remainder.c
16097 (__ieee754_remainder): Likewise.
16098 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16099 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16100 (bsloww): Likewise.
16101 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16102
6f2e90e7
SP
16103 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16104 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16105 MANTISSA_STORE_T to store computations on mantissa. Use
16106 macros for rounding and division.
16107 (denorm): Likewise.
16108 (__dbl_mp): Likewise.
16109 (add_magnitudes): Likewise.
16110 (sub_magnitudes): Likewise.
16111 (__mul): Likewise.
16112 (__sqr): Likewise.
16113 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16114 powers of two in terms of TWOPOW macro.
16115 (mp_no): Make type of mantissa as MANTISSA_T.
16116 [!RADIXI]: Define RADIXI.
16117 [!TWO52]: Define TWO52.
16118 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16119
fce14d4e
AZ
161202013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16121
16122 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16123 llroundl symbol when building for PPC32.
16124
9ad027fb
MW
161252013-03-24 Mark H Weaver <mhw@netris.org>
16126
16127 * manual/arith.texi (Normalization Functions): Fix prototypes for
16128 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16129
e42a38dd
AZ
161302013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16131
16132 [BZ #13889]
16133 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16134 high value to check if expl overflow.
16135 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16136 to check for underflow and overflow.
16137 * math/libm-test.inc: Add exp test.
16138
2e0fb521
DL
161392013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16140
16141 [BZ #11120]
16142 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16143 with NOT_IN_libc.
16144
b5784d95
AZ
161452013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16146
16147 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16148 symbol.
16149
5aa4a1a1
TS
161502013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16151
bdef0be7
TS
16152 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16153 wrap blocks consisting of several statements.
16154
5aa4a1a1
TS
16155 * sysdeps/generic/math-tests.h: New file.
16156 * sysdeps/i386/fpu/math-tests.h: Likewise.
16157 * math/test-snan.c: Include it.
16158 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16159
98c48fe5
JM
161602013-03-21 Joseph Myers <joseph@codesourcery.com>
16161
16162 [BZ #15285]
16163 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16164 (__ieee754_j0l): Do not improve calculations using cos of twice
16165 input for inputs above LDBL_MAX / 2.0L.
16166 (__ieee754_y0l): Likewise.
16167 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16168 (__ieee754_j1l): Do not improve calculations using cos of twice
16169 input for inputs above LDBL_MAX / 2.0L.
16170 (__ieee754_y1l): Likewise.
16171 * math/libm-test.inc (j0_test): Add another test.
16172 (j1_test): Likewise.
16173 (y0_test): Likewise.
16174 (y1_test): Likewise.
16175 * sysdeps/i386/fpu/libm-test-ulps: Update.
16176
3775a8bc
SP
161772013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16178
16179 * Rules ($(objpfx)bench-%.c): Include code from a C source
16180 file.
16181
0a1b2ae6
JM
161822013-03-21 Joseph Myers <joseph@codesourcery.com>
16183
16184 [BZ #15287]
16185 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16186 imaginary part 1.0 and real part less than 0.5 specially.
16187 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16188 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16189 * math/libm-test.inc (cacos_test): Add more tests.
16190 (casin_test): Likewise.
16191 (casinh_test): Likewise.
16192 * sysdeps/i386/fpu/libm-test-ulps: Update.
16193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16194
b33d4ce4
SP
161952013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16196
16197 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16198 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16199
bef0b507
JM
162002013-03-20 Joseph Myers <joseph@codesourcery.com>
16201
16202 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16203 * config.make.in (config-cflags-sse4): Remove variable.
16204 (config-cflags-avx): Likewise.
16205 (config-cflags-sse2avx): Likewise.
16206 (config-cflags-novzeroupper): Likewise.
16207 (config-asflags-i686): Likewise.
16208 (have-mfma4): Likewise.
16209 (have-as-vis3): Likewise.
16210 (MIG): Likewise.
16211 * configure.in (MIG): Do not AC_SUBST.
16212 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16213 (libc_cv_cc_sse4): Do not AC_SUBST.
16214 (libc_cv_cc_avx): Likewise.
16215 (libc_cv_cc_sse2avx): Likewise.
16216 (libc_cv_cc_novzeroupper): Likewise.
16217 (libc_cv_cc_fma4): Likewise.
16218 (libc_cv_as_i686): Likewise.
16219 (libc_cv_sparc_as_vis3): Likewise.
16220 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16221 LIBC_CONFIG_VAR.
16222 (config-asflags-i686): Likewise.
16223 (config-cflags-avx): Likewise.
16224 (config-cflags-sse2avx): Likewise.
16225 (have-mfma4): Likewise.
16226 (config-cflags-novzeroupper): Likewise.
16227 * sysdeps/mach/configure.in (MIG): Likewise.
16228 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16229 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16230 LIBC_CONFIG_VAR.
16231 (config-cflags-avx): Likewise.
16232 (config-cflags-sse2avx): Likewise.
16233 (have-mfma4): Likewise.
16234 (config-cflags-novzeroupper): Likewise.
16235 * configure: Regenerated.
16236 * sysdeps/i386/configure: Likewise.
16237 * sysdeps/mach/configure: Likewise.
16238 * sysdeps/sparc/configure: Likewise.
16239 * sysdeps/x86_64/configure: Likewise.
16240
912cc4b3
RM
162412013-03-20 Roland McGrath <roland@hack.frob.com>
16242
16243 [BZ #14812]
16244 * locale/programs/localedef.c (options): Put N_ translation marker
16245 on argument names, not just descriptions.
16246
04eed2b0
MS
162472013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16248
16249 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16250
a065ceff
OB
162512013-03-20 Ondřej Bílka <neleai@seznam.cz>
16252
9bb2a810 16253 [BZ #14176]
a065ceff
OB
16254 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16255
a600e5ce
RM
162562013-03-19 Roland McGrath <roland@hack.frob.com>
16257
16258 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16259 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16260 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16261 [!BEFORE_ABORT] (before_abort): New function.
16262 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16263 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16264 (writev_for_fatal): New function.
16265 (WRITEV_FOR_FATAL): New macro; call that.
16266 (backtrace_and_maps): New function.
16267 (BEFORE_ABORT): New macro; call that.
16268 (struct str_list): Type removed.
16269 (__libc_message, __libc_fatal): Functions removed.
16270 Include <sysdeps/posix/libc_fatal.c> instead.
16271
6b18bea6
JM
162722013-03-19 Joseph Myers <joseph@codesourcery.com>
16273
16274 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16275 constants.
16276 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16277 double constants.
16278
aaa8cb4b
AS
162792013-03-19 Andreas Schwab <schwab@suse.de>
16280
44673770
AS
16281 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16282 * sysdeps/gnu/configure: Regenerate.
16283
aaa8cb4b
AS
16284 * configure.in: Substitute libc_cv_rtlddir.
16285 * configure: Regenerate.
16286 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16287 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16288 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16289 * elf/Makefile (install-others, CFLAGS-interp.c)
16290 (ldso_install, common-ldd-rewrite): Likewise.
16291 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16292 $(inst_slibdir)/$(rtld-installed-name).
16293 * scripts/rellns-sh: Add -p option.
16294 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16295 for source.
16296
d3cfc668
SP
162972013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16298
16299 * manual/nptl.texi: Renamed to ...
16300 * manual/threads.texi: ... this.
16301 * manual/Makefile (chapters): Update.
16302
0e2b9cdd
RM
163032013-03-18 Roland McGrath <roland@hack.frob.com>
16304
16305 [BZ #14812]
16306 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16307 on argument names, not just descriptions.
0e2b9cdd
RM
16308 * malloc/memusagestat.c (options): Likewise.
16309 * nss/getent.c (options): Likewise.
63270c24
RM
16310
163112013-03-18 Benno Schulenberg <bensberg@justemail.net>
16312
16313 [BZ #14812]
16314 * iconv/iconv_prog.c (options): Put N_ translation marker
16315 on argument names, not just descriptions.
16316 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16317
b2e1393c
OB
163182013-03-18 Ondrej Bilka <neleai@seznam.cz>
16319
16320 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16321 implementation which is faster on all x86_64 architectures.
16322 Tested on AMD, Intel Nehalem, SNB, IVB.
16323 * sysdeps/x86_64/strnlen.S: Likewise.
16324
16325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16326 Remove all multiarch strlen and strnlen versions.
16327 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16328 Remove strlen and strnlen related parts.
16329
16330 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16331 Inline strlen part.
16332 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16333
16334 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16335 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16336 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16337 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16338 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16339 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16340
ec4ff04d
CD
163412013-03-17 Carlos O'Donell <carlos@redhat.com>
16342
16343 * manual/memory.texi (Malloc Tunable Parameters):
16344 Sort parameters alphabetically. Add comments for missing entries.
16345
cd18e90a
DM
163462013-03-17 David S. Miller <davem@davemloft.net>
16347
16348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16349
2a185d32
JM
163502013-03-16 Joseph Myers <joseph@codesourcery.com>
16351
d2f9799e
JM
16352 [BZ #15283]
16353 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16354 for arguments at most half maximum finite value.
16355 * math/libm-test.inc (j0_test): Add more tests.
16356 (j1_test): Likewise.
16357 (y0_test): Likewise.
16358 (y1_test): Likewise.
16359 * sysdeps/i386/fpu/libm-test-ulps: Update.
16360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16361
2a185d32
JM
16362 [BZ #14155]
16363 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16364 1 / x and functions P and Q for arguments above 0x1p256L.
16365 (__ieee754_y0l): Likewise.
16366 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16367 (__ieee754_y1l): Likewise.
16368 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16369 (j1_test): Likewise.
16370 (y0_test): Likewise.
16371 (y1_test): Likewise.
16372
6cbec759
TS
163732013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16374
16375 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16376 variable.
16377
bc16e260
RM
163782013-03-15 Roland McGrath <roland@hack.frob.com>
16379
aefc9b8c
RM
16380 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16381 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16382 zero since it's initialized to EXEC_PAGESIZE.
16383
bc16e260
RM
16384 * sysdeps/unix/sysv/linux/ldsodefs.h
16385 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16386 * sysdeps/generic/ldsodefs.h: ... here.
16387
a57da955
TS
163882013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16389
af00a34d
TS
16390 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16391
495ded2c
TS
16392 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16393 math/test-snan.c.
16394 * math/test-snan.c: Renamed from
16395 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16396 * math/Makefile (tests): Add test-snan.
16397 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16398 test-powerpc-snan.
16399
777b0332
TS
16400 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16401 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16402 functions.
16403 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16404 __builtin_nan family of functions.
16405 * math/libm-test.inc (initialize): Initialize qnan_value with
16406 __builtin_nan family of functions.
16407 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16408 Remove variables.
16409 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16410 Remove functions.
16411 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16412 storage class. Initialize qNaN_var and sNaN_var with
16413 __builtin_nan and __builtin_nans families of functions,
16414 respectively.
16415
64d063b8
TS
16416 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16417 (sqrt_test): Remove duplicate test with qNaN input.
16418 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16419 (round_test, signbit_test, significand_test): Note missing +/-Inf
16420 as well as qNaN tests.
16421
67e971f1
TS
16422 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16423 qNaN_var. Fix a few strings, too.
16424 * math/libm-test.inc (nan_value): Rename to qnan_value.
16425 * math/gen-libm-test.pl (%beautify): Adjust to that.
16426 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16427 * math/test-misc.c (main): Likewise.
16428 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16429 to __qnan_bytes, and __qnan_union, respectively.
16430 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16431 Likewise.
16432 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16433 and lqnanval, respectively.
16434 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16435 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16436 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16437 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16438
64487e12
TS
16439 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16440 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16441 doubles.
16442
e015e27b
TS
16443 * math/test-misc.c (main): Fix copy'n'pastos.
16444 * misc/tst-efgcvt.c (special): Likewise.
16445
a57da955
TS
16446 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16447 Remove declarations.
16448
1e380345
SP
164492013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16450
16451 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16452 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16453 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16454 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16455
ef26eece
AZ
164562013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16457
16458 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16459 macro to return vdso values correctly in IFUNC implementations.
16460 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16461 Optimization by using IFUNC.
16462
8cfdb7e0
SP
164632013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16464 Richard Henderson <rth@redhat.com>
16465 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16466
16467 * Makefile.in (bench): New target.
16468 * NEWS: Mention the benchmark framework.
16469 * Rules (bench): Likewise.
16470 (binaries-bench): Generate binaries for functions to
16471 benchmark.
16472 * benchtests/Makefile: New makefile for benchmark tests.
16473 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16474 programs.
16475 * benchtests/exp-inputs: New input file for EXP function.
16476 * benchtests/pow-inputs: New input file for POW function.
16477 * scripts/bench.pl: New script to generate source files for
16478 benchmark programs.
16479
bcda9880
SP
164802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16481
d22ca8cd
SP
16482 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16483 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16484 computations on mantissa. Use macros for rounding and
16485 division.
16486 (denorm): Likewise.
16487 (__dbl_mp): Likewise.
16488 (add_magnitudes): Likewise.
16489 (sub_magnitudes): Likewise.
16490 (__mul): Likewise.
16491 (__sqr): Likewise.
16492 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16493 powers of two in terms of TWOPOW macro.
16494 (mp_no): Make type of mantissa as MANTISSA_T.
16495 [!RADIXI]: Define RADIXI.
16496 [!TWO52]: Define TWO52.
16497 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16498
bcda9880
SP
16499 * manual/nptl.texi (cindex): Modify threads to pthreads.
16500
06d5adfb
JM
165012013-03-15 Joseph Myers <joseph@codesourcery.com>
16502
16503 * sysdeps/x86_64/preconfigure: Regenerated.
16504
41c7328e
JM
165052013-03-14 Joseph Myers <joseph@codesourcery.com>
16506
16507 [BZ #14155]
16508 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16509 0x1p28 and above.
16510 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16511 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16512 0x1p28 and above.
16513 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16514 * math/libm-test.inc (j0_test): Do not allow one spurious
16515 underflow exception.
16516 (y1_test): Likewise.
16517
e25cfa60
SP
165182013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16519
0409959c
SP
16520 * manual/Makefile (chapters): Add nptl.
16521 * manual/debug.texi (Debugging Support): Add link to Threads
16522 chapter.
16523 * manual/nptl.texi: New file.
16524
e25cfa60
SP
16525 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16526
58a1335e
PB
165272013-03-14 Petr Baudis <pasky@ucw.cz>
16528
16529 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16530 for non-NULL pointer before the memory validity test. Pointed
16531 out by Holger Brunck <holger.brunck@keymile.com>.
16532
9dc7c64f
AS
165332013-03-13 Andreas Schwab <schwab@suse.de>
16534
16535 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16536 instead of .os.
16537
54206aa6
JM
165382013-03-13 Joseph Myers <joseph@codesourcery.com>
16539
16540 * timezone/zic.c: Update from tzcode 2013b.
16541
e98cdb38
CD
165422013-03-12 Carlos O'Donell <carlos@redhat.com>
16543
16544 * manual/install.texi (Configuring and compiling):
16545 Mention i686 and i586.
16546 * INSTALL: Regenerate.
16547
9967e003
RM
165482013-03-12 Roland McGrath <roland@hack.frob.com>
16549
16550 * sysdeps/init_array/elf-init.c: New file.
16551 * csu/elf-init.c
16552 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16553 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16554
16555 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16556 __gmon_start__ as global, but as static with a .preinit_array pointer.
16557 * sysdeps/init_array/gmon-start.c: New file. Use that.
16558 * sysdeps/init_array/crti.S: New file, empty except for comments.
16559 * sysdeps/init_array/crtn.S: Likewise.
16560
e6b5a293 165612013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16562
16563 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16564 definining bcopy.
80f844c9
OB
16565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16566 Remove Prefer_SSE_for_memop.
16567 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16568 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16569 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16571 memset-x86-64.
80f844c9 16572 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16573 Remove bzero, memset ifunc support.
80f844c9
OB
16574 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16575 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16576 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16577 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16578
fb6b0fcb
AS
165792013-03-11 Andreas Schwab <schwab@suse.de>
16580
16581 [BZ #15234]
16582 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16583 by SHLIB_COMPAT.
16584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16585 (GLIBC_2.16): Remove pthread_atfork.
16586
3e6bd4b1
PP
165872013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16588
16589 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16590 (ptestcases.h): Likewise.
16591
222d7f00
RM
165922013-03-08 Roland McGrath <roland@hack.frob.com>
16593
16594 * Makeconfig ($(common-objpfx)config.status): Depend on
16595 sysdeps/*/preconfigure{,.in} too.
16596
1ba4f030
JM
165972013-03-08 Joseph Myers <joseph@codesourcery.com>
16598
a222d91a
JM
16599 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16600 (__free_hook): Use void * instead of __malloc_ptr_t.
16601 (__malloc_hook): Likewise.
16602 (__realloc_hook): Likewise.
16603 (__memalign_hook): Likewise.
16604 (__after_morecore_hook): Likewise.
16605 * malloc/arena.c (save_malloc_hook): Likewise.
16606 (save_free_hook): Likewise.
16607 * malloc/hooks.c (malloc_hook_ini): Likewise.
16608 (realloc_hook_ini): Likewise.
16609 (memalign_hook_ini): Likewise.
16610 * malloc/malloc.c (malloc_hook_ini): Likewise.
16611 (realloc_hook_ini): Likewise.
16612 (memalign_hook_ini): Likewise.
16613 (__free_hook): Likewise.
16614 (__malloc_hook): Likewise.
16615 (__realloc_hook): Likewise.
16616 (__memalign_hook): Likewise.
16617 (__libc_malloc): Likewise.
16618 (__libc_free): Likewise.
16619 (__libc_realloc): Likewise.
16620 (__libc_memalign): Likewise.
16621 (__libc_valloc): Likewise.
16622 (__libc_pvalloc): Likewise.
16623 (__libc_calloc): Likewise.
16624 (__posix_memalign): Likewise.
16625 * malloc/morecore.c (__sbrk): Likewise.
16626 (__default_morecore): Likewise.
16627
5cc45e10
JM
16628 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16629
dd54b864
JM
16630 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16631 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16632 __malloc_ptrdiff_t.
16633
1ba4f030
JM
16634 * malloc/malloc.h (__malloc_size_t): Remove macro.
16635 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16636 __malloc_size_t.
16637 (old_memalign_hook): Likewise.
16638 (old_realloc_hook): Likewise.
16639 (struct hdr): Likewise.
16640 (flood): Likewise.
16641 (mallochook): Likewise.
16642 (memalignhook): Likewise.
16643 (reallochook): Likewise.
16644 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16645 (tr_old_realloc_hook): Likewise.
16646 (tr_old_memalign_hook): Likewise.
16647 (tr_mallochook): Likewise.
16648 (tr_reallochook): Likewise.
16649 (tr_memalignhook): Likewise.
16650
edf66e57
AZ
166512013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16652
16653 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16654 default_ldbl_pack and using as default implementation.
16655 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16656 implementation.
16657 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16658 redundant definition.
16659 (ldbl_insert_mantissa): Likewise.
16660 (ldbl_canonicalize): Likewise.
16661 (ldbl_nearbyint): Likewise.
16662 (ldbl_pack): Rename to ldbl_pack_ppc.
16663 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16664 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16665 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16666
6d9145d8
SP
166672013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16668
16669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16670 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16671 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16672 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16674 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16675 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16676 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16677
4dd4e157
AJ
166782013-03-07 Andreas Jaeger <aj@suse.de>
16679
16680 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16681 bits/mman-linux.h.
16682
adbb8027
SP
166832013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16684
ce544b5b
SP
16685 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16686 Include mpa.h and declare __MPEXP.
16687 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16688 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16689 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16690 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16691 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16692 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16693 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16694
4cc149fd
SP
16695 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16696 (__slowpow): Use long double EXPL and LOGL functions to
16697 compute POW.
16698 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16699 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16700 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16701 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16702 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16703 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16704
e6ebd4a7
SP
16705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16706 intermediate variable to calculate exponent.
16707 (__sqr): Likewise.
16708 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16709 Likewise.
16710 (__sqr): Likewise.
16711
82a9811d
SP
16712 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16713 [!NO__SQR]: Define __sqr.
16714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16715 and NO__SQR. Remove all code except __mul and __sqr. Include
16716 sysdeps/ieee754/dbl-64/mpa.c.
16717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16718
adbb8027
SP
16719 [BZ #12723]
16720 * posix/Makefile (tests): Add tst-pathconf.
16721 * posix/tst-pathconf.c: New test case.
16722 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16723 _PC_PIPE_BUF.
16724 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16725
39120df9
PF
167262013-03-06 Patsy Franklin <pfrankli@redhat.com>
16727
16728 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16729
67525cb8
AJ
167302013-03-06 Andreas Jaeger <aj@suse.de>
16731
664a9ce4
AJ
16732 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16733 definition via __MAP_ANONYMOUS.
16734
8e39047d
AJ
16735 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16736 it's not part of Linux headers.
16737
67525cb8
AJ
16738 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16739 (MAP_HUGE_MASK): Define.
16740
16741 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16742 Define.
16743 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16744 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16745 Define.
16746 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16747 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16748 Define.
16749 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16750 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16751 Define.
16752 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16753
16754 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16755 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16756 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16757 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16758 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16759 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16760
16761 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16762 Handle f2fs.
16763
16764 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16765 Handle f2fs and efivarfs.
16766
16767 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16768 f2fs.
16769
16770 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16771 (EFIVARFS_MAGIC): Add.
16772 (F2FS_LINK_MAX): Add.
16773
e1b42695
PP
167742013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16775
16776 * stdio-common/vfprintf.c: Replace __builtin_expect with
16777 __glibc_unlikely.
16778
2d67d91a
JM
167792013-03-06 Joseph Myers <joseph@codesourcery.com>
16780
16781 [BZ #13550]
16782 * sysdeps/generic/bp-sym.h: Remove file.
16783 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16784 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16785 <bp-sym.h> and <bp-asm.h>.
16786 (__longjmp): Don't use BP_SYM.
16787 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16788 and <bp-asm.h>.
16789 (memcpy): Don't use BP_SYM.
16790 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16791 <bp-sym.h> and <bp-asm.h>.
16792 (memcpy): Don't use BP_SYM.
16793 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16794 <bp-asm.h>.
16795 (memcpy): Don't use BP_SYM.
16796 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16797 <bp-asm.h>.
16798 (memset): Don't use BP_SYM.
16799 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16800 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16801 (__bzero): Don't use BP_SYM.
16802 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16803 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16804 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16805 <bp-sym.h> and <bp-asm.h>.
16806 (memcmp): Don't use BP_SYM. Remove comment about bounded
16807 pointers.
16808 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16809 <bp-sym.h> and <bp-asm.h>.
16810 (memcpy): Don't use BP_SYM.
16811 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16812 <bp-sym.h> and <bp-asm.h>.
16813 (memset): Don't use BP_SYM.
16814 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16815 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16816 (__bzero): Don't use BP_SYM.
16817 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16818 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16819 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16820 <bp-sym.h> and <bp-asm.h>.
16821 (strncmp): Don't use BP_SYM. Remove comment about bounded
16822 pointers.
16823 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16824 <bp-sym.h> and <bp-asm.h>.
16825 (memcpy): Don't use BP_SYM.
16826 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16827 <bp-sym.h> and <bp-asm.h>.
16828 (memset): Don't use BP_SYM.
16829 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16830 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16831 (__bzero): Don't use BP_SYM.
16832 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16833 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16834 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16835 <bp-sym.h> and <bp-asm.h>.
16836 (__memchr): Don't use BP_SYM.
16837 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16838 <bp-sym.h> and <bp-asm.h>.
16839 (memcmp): Don't use BP_SYM. Remove comment about bounded
16840 pointers.
16841 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16842 <bp-sym.h> and <bp-asm.h>.
16843 (memcpy): Don't use BP_SYM.
16844 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16845 <bp-sym.h> and <bp-asm.h>.
16846 (__mempcpy): Don't use BP_SYM.
16847 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16848 <bp-sym.h> and <bp-asm.h>.
16849 (__memrchr): Don't use BP_SYM.
16850 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16851 <bp-sym.h> and <bp-asm.h>.
16852 (memset): Don't use BP_SYM.
16853 (__bzero): Likewise.
16854 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16855 <bp-sym.h> and <bp-asm.h>.
16856 (__rawmemchr): Don't use BP_SYM.
16857 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16858 <bp-sym.h> and <bp-asm.h>.
16859 (__STRCMP): Don't use BP_SYM.
16860 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16861 <bp-sym.h> and <bp-asm.h>.
16862 (strchr): Don't use BP_SYM.
16863 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16864 <bp-sym.h> and <bp-asm.h>.
16865 (__strchrnul): Don't use BP_SYM.
16866 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16867 <bp-sym.h> and <bp-asm.h>.
16868 (strlen): Don't use BP_SYM.
16869 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16870 <bp-sym.h> and <bp-asm.h>.
16871 (strncmp): Don't use BP_SYM. Remove comment about bounded
16872 pointers.
16873 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16874 <bp-sym.h> and <bp-asm.h>.
16875 (__strnlen): Don't use BP_SYM.
16876 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16877 <bp-sym.h> and <bp-asm.h>.
16878 (__GI__setjmp): Don't use BP_SYM.
16879 (_setjmp): Likewise.
16880 (__sigsetjmp): Likewise.
16881 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16882 (L(start_addresses)): Don't use BP_SYM.
16883 (_start): Likewise.
16884 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16885 <bp-asm.h>.
16886 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16887 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16888 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16889 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16890 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16891 <bp-asm.h>.
16892 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16893 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16894 about bounded pointers.
16895 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16896 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16897 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16898 <bp-asm.h>.
16899 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16900 about bounded pointers. Remove GKM FIXME comments.
16901 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16902 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16903 <bp-asm.h>.
16904 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16905 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16906 Remove GKM FIXME comments.
16907 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16908 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16909 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16910 <bp-asm.h>.
16911 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16912 about bounded pointers. Remove GKM FIXME comment.
16913 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16914 and <bp-asm.h>.
16915 (strncmp): Don't use BP_SYM. Remove comment about bounded
16916 pointers.
16917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16918 <bp-sym.h> and <bp-asm.h>.
16919 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16921 <bp-sym.h> and <bp-asm.h>.
16922 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16923 comment.
16924
cdcf361f
PP
169252013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16926
16927 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16928 call free(NULL).
16929
3c4a2b15
DM
169302013-03-05 David S. Miller <davem@davemloft.net>
16931
16932 * po/es.po: Update from translation team.
16933
cdcf361f 169342013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16935
16936 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16937 <bits/mman-linux.h>.
16938 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16939 is fine.
16940 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16941 <bits/mman-linux.h> to end of file.
16942 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16943 is fine.
16944 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16945 <bits/mman-linux.h> to end of file.
16946 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16947 is fine.
16948 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16949 <bits/mman-linux.h> to end of file.
16950
16951 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16952 (MCL_CURRENT, MCL_FUTURE): Define here.
16953
5f67c04f
AK
169542013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16955
8a4473cc 16956 [BZ #15232]
5f67c04f
AK
16957 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16958 attribute_hidden.
16959 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16960
c3e94a95
AK
169612013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16962
16963 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16964 fourth parameter needed for rt_sigprocmask syscall.
16965 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16966 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16967 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16968 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16969 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16970 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16971
cfb6382a
JM
169722013-03-04 Joseph Myers <joseph@codesourcery.com>
16973
16974 [BZ #13550]
16975 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16976 comment about bounded pointers.
16977 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16978 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16979
539d8e01
AJ
169802013-03-04 Andreas Jaeger <aj@suse.de>
16981
16982 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16983 common definitions.
16984
16985 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16986 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16987 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16988 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16989 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16990 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16991
2e167a70 169922013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16993
16994 [BZ #15055]
16995 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16996 __ieee754_sqrl instead of __sqrl.
16997
68508633
JM
169982013-03-01 Joseph Myers <joseph@codesourcery.com>
16999
17000 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17001 * sysdeps/powerpc/fpu_control.h: ... here.
17002 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17003 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17004 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17005 * sysdeps/powerpc/bits/mathinline.h: ... here.
17006
7775448e
RM
170072013-03-01 Roland McGrath <roland@hack.frob.com>
17008
17009 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17010 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17011 to just [NEED_DL_SYSINFO_DSO].
17012 * elf/dl-support.c: Likewise.
17013 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17014 * elf/rtld.c (dl_main): Likewise.
17015 * elf/setup-vdso.h (setup_vdso): Likewise.
17016 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17017 * sysdeps/unix/sysv/linux/dl-sysdep.c
17018 (_dl_discover_osversion): Likewise.
17019
4e9b5995
CD
170202013-03-01 Carlos O'Donell <carlos@redhat.com>
17021
17022 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17023 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17024
e23872c8
SP
170252013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17026
e5c74c63
SP
17027 * NEWS: Mention libm performance improvements and non-x86 PI
17028 futex support.
17029
e23872c8
SP
17030 * csu/libc-start.c (__pthread_initialize_minimal): Change
17031 function arguments.
17032 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17033
b5510883
JM
170342013-02-28 Joseph Myers <joseph@codesourcery.com>
17035
17036 [BZ #13550]
17037 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17038 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17039 <bp-sym.h> and <bp-asm.h>.
17040 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17041 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17042 and <bp-asm.h>.
17043 (memcpy): Don't use BP_SYM.
17044 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17045 <bp-asm.h>.
17046 (__mpn_add_n): Don't use BP_SYM.
17047 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17048 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17049 and <bp-asm.h>.
17050 (__mpn_addmul_1): Don't use BP_SYM.
17051 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17052 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17053 <bp-sym.h>.
17054 (_setjmp): Don't use BP_SYM.
17055 (__novmx_setjmp): Likewise.
17056 (__GI__setjmp): Likewise.
17057 (__vmx_setjmp): Likewise.
17058 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17059 <bp-sym.h>.
17060 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17061 (__bzero): Don't use BP_SYM.
17062 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17063 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17064 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17065 <bp-sym.h> and <bp-asm.h>.
17066 (memcpy): Don't use BP_SYM.
17067 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17068 <bp-sym.h> and <bp-asm.h>.
17069 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17070 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17071 <bp-sym.h> and <bp-asm.h>.
17072 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17073 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17074 <bp-asm.h>.
17075 (__mpn_lshift): Don't use BP_SYM.
17076 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17077 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17078 <bp-asm.h>.
17079 (memset): Don't use BP_SYM.
17080 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17081 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17082 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17083 <bp-asm.h>.
17084 (__mpn_mul_1): Don't use BP_SYM.
17085 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17086 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17087 <bp-sym.h> and <bp-asm.h>.
17088 (memcmp): Don't use BP_SYM.
17089 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17090 <bp-sym.h> and <bp-asm.h>.
17091 (memcpy): Don't use BP_SYM.
17092 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17093 <bp-sym.h> and <bp-asm.h>.
17094 (memset): Don't use BP_SYM.
17095 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17096 <bp-sym.h> and <bp-asm.h>.
17097 (strncmp): Don't use BP_SYM.
17098 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17099 <bp-sym.h> and <bp-asm.h>.
17100 (memcpy): Don't use BP_SYM.
17101 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17102 <bp-sym.h> and <bp-asm.h>.
17103 (memset): Don't use BP_SYM.
17104 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17105 <bp-sym.h> and <bp-asm.h>.
17106 (__memchr): Don't use BP_SYM.
17107 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17108 <bp-sym.h> and <bp-asm.h>.
17109 (memcmp): Don't use BP_SYM.
17110 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17111 <bp-sym.h> and <bp-asm.h>.
17112 (memcpy): Don't use BP_SYM.
17113 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17114 <bp-sym.h> and <bp-asm.h>.
17115 (__mempcpy): Don't use BP_SYM.
17116 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17117 <bp-sym.h> and <bp-asm.h>.
17118 (__memrchr): Don't use BP_SYM.
17119 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17120 <bp-sym.h> and <bp-asm.h>.
17121 (memset): Don't use BP_SYM.
17122 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17123 <bp-sym.h> and <bp-asm.h>.
17124 (__rawmemchr): Don't use BP_SYM.
17125 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17126 <bp-sym.h> and <bp-asm.h>.
17127 (__STRCMP): Don't use BP_SYM.
17128 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17129 <bp-sym.h> and <bp-asm.h>.
17130 (strchr): Don't use BP_SYM.
17131 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17132 <bp-sym.h> and <bp-asm.h>.
17133 (__strchrnul): Don't use BP_SYM.
17134 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17135 <bp-sym.h> and <bp-asm.h>.
17136 (strlen): Don't use BP_SYM.
17137 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17138 <bp-sym.h> and <bp-asm.h>.
17139 (strncmp): Don't use BP_SYM.
17140 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17141 <bp-sym.h> and <bp-asm.h>.
17142 (__strnlen): Don't use BP_SYM.
17143 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17144 <bp-asm.h>.
17145 (__mpn_rshift): Don't use BP_SYM.
17146 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17147 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17148 <bp-sym.h> and <bp-asm.h>.
17149 (__sigsetjmp): Don't use BP_SYM.
17150 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17151 (L(start_addresses)): Don't use BP_SYM.
17152 (_start): Likewise.
17153 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17154 <bp-asm.h>.
17155 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17156 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17157 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17158 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17159 <bp-asm.h>.
17160 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17161 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17162 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17163 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17164 <bp-asm.h>.
17165 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17166 comments.
17167 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17168 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17169 <bp-asm.h>.
17170 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17171 FIXME comments.
17172 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17173 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17174 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17175 <bp-asm.h>.
17176 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17177 comment.
17178 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17179 and <bp-asm.h>.
17180 (strncmp): Don't use BP_SYM,
17181 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17182 <bp-asm.h>.
17183 (__mpn_sub_n): Don't use BP_SYM.
17184 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17185 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17186 and <bp-asm.h>.
17187 (__mpn_submul_1): Don't use BP_SYM.
17188 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17190 <bp-sym.h> and <bp-asm.h>.
17191 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17193 <bp-sym.h> and <bp-asm.h>.
17194 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17195 comment.
17196
8d19fe64
SP
171972013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17198
17199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17200 Use ZK to minimize writes to Z.
17201 (sub_magnitudes): Simplify code a bit.
17202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17203 Use ZK to minimize writes to Z.
17204 (sub_magnitudes): Simplify code a bit.
17205
85bd816a
RM
172062013-02-27 Roland McGrath <roland@hack.frob.com>
17207
17208 * csu/gmon-start.c: Add special exception to license text.
17209
b5977bf2
RH
172102013-02-27 Richard Henderson <rth@redhat.com>
17211
17212 * scripts/config.guess: Update from config.git.
17213 * scripts/config.sub: Likewise.
17214
11d6e2f2
SP
172152013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17216
09c14ed2
SP
17217 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17218
a688864e
SP
17219 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17220
6295157a
SP
17221 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17222
b8de2202
SP
17223 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17224
11d6e2f2
SP
17225 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17226
7e80ddb8
RM
172272013-02-26 Roland McGrath <roland@hack.frob.com>
17228
17229 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17230 [$(build-shared = yes].
7e80ddb8 17231
7da6d9ed
SP
172322013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17233
45f05884
SP
17234 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17235 (__mul): Reduce iterations for calculating mantissa.
17236
2236d359
SP
17237 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17238 MPTWO.
17239 (__mpranred): Likewise.
17240
7da6d9ed
SP
17241 [BZ #15160]
17242 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17243 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17244
b7688c42
PE
172452013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17246
17247 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17248 Define __attribute__.
17249
53a5c423
SP
172502013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17251
17252 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17253 unused.
17254 * posix/regex_internal.h (__attribute): Remove.
17255 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17256 (re_string_context_at): Likewise.
17257 (bitset_not): Use __attribute__ and mark function as possibly
17258 unused.
17259 (bitset_merge): Likewise.
17260 (bitset_mask): Likewise.
17261 (re_string_char_size_at): Likewise.
17262 (re_string_wchar_at): Likewise.
17263 (re_string_elem_size_at): Likewise.
17264
60f5a8b5
SP
172652013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17266
2a983a2e
SP
17267 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17268 code.
17269 (cc32): Likewise.
17270
e69804d1
SP
17271 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17272 (__acr): Likewise.
17273 (__cpy): Likewise.
17274 (norm): Likewise.
17275 (denorm): Likewise.
17276 (__dbl_mp): Likewise.
17277 (add_magnitudes): Likewise.
17278 (sub_magnitudes): Likewise.
17279 (__mul): Likewise.
17280 (__inv): Likewise.
17281
2f22a1e8
SP
17282 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17283 style.
17284
8930ddc7
SP
17285 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17286 style.
17287
dc60cb11
SP
17288 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17289 code.
17290
60f5a8b5
SP
17291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17292 up changes with default code.
17293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17294 Likewise.
17295
b4d1fd33
AM
172962013-02-24 Allan McRae <allan@archlinux.org>
17297
faf6f8bc
AM
17298 * manual/socket.texi (The Internet Namespace): Order menu items
17299 to match that in the file.
17300
b4d1fd33
AM
17301 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17302 node listing of the info page menu.
17303
2366713d
JM
173042013-02-21 Joseph Myers <joseph@codesourcery.com>
17305
17306 [BZ #13550]
17307 * sysdeps/i386/bp-asm.h: Remove file.
17308 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17309 (PARMS): Do not use macros from bp-asm.h.
17310 (S1): Likewise.
17311 (S2): Likewise.
17312 (SIZE): Likewise.
17313 (__mpn_add_n): Do not use BP_SYM
17314 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17315 "bp-asm.h".
17316 (PARMS): Do not use macros from bp-asm.h.
17317 (S1): Likewise.
17318 (SIZE): Likewise.
17319 (__mpn_addmul_1): Do not use BP_SYM
17320 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17321 "bp-asm.h".
17322 (PARMS): Do not use macros from bp-asm.h.
17323 (SIGMSK): Likewise.
17324 (_setjmp): Likewise. Do not use BP_SYM.
17325 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17326 "bp-asm.h".
17327 (PARMS): Do not use macros from bp-asm.h.
17328 (SIGMSK): Likewise.
17329 (setjmp): Likewise. Do not use BP_SYM.
17330 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17331 "bp-asm.h".
17332 (PARMS): Do not use macros from bp-asm.h.
17333 (__frexp): Do not use BP_SYM.
17334 (frexp): Likewise.
17335 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17336 "bp-asm.h".
17337 (PARMS): Do not use macros from bp-asm.h.
17338 (__frexpf): Do not use BP_SYM.
17339 (frexpf): Likewise.
17340 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17341 "bp-asm.h".
17342 (PARMS): Do not use macros from bp-asm.h.
17343 (__frexpl): Do not use BP_SYM.
17344 (frexpl): Likewise.
17345 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17346 "bp-asm.h".
17347 (PARMS): Do not use macros from bp-asm.h.
17348 (__remquo): Do not use BP_SYM.
17349 (remquo): Likewise.
17350 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17351 "bp-asm.h".
17352 (PARMS): Do not use macros from bp-asm.h.
17353 (__remquof): Do not use BP_SYM.
17354 (remquof): Likewise.
17355 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17356 "bp-asm.h".
17357 (PARMS): Do not use macros from bp-asm.h.
17358 (__remquol): Do not use BP_SYM.
17359 (remquol): Likewise.
17360 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17361 "bp-asm.h".
17362 (PARMS): Do not use macros from bp-asm.h.
17363 (DEST): Likewise.
17364 (SRC): Likewise.
17365 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17366 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17367 "bp-asm.h".
17368 (PARMS): Do not use macros from bp-asm.h.
17369 (strlen): Do not use BP_SYM.
17370 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17371 "bp-asm.h".
17372 (PARMS): Do not use macros from bp-asm.h.
17373 (S1): Likewise.
17374 (S2): Likewise.
17375 (SIZE): Likewise.
17376 (__mpn_add_n): Do not use BP_SYM.
17377 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17378 "bp-asm.h".
17379 (PARMS): Do not use macros from bp-asm.h.
17380 (S1): Likewise.
17381 (SIZE): Likewise.
17382 (__mpn_addmul_1): Do not use BP_SYM.
17383 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17384 weak_alias.
17385 (bzero): Likewise.
17386 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17387 "bp-asm.h".
17388 (PARMS): Do not use macros from bp-asm.h.
17389 (S): Likewise.
17390 (SIZE): Likewise.
17391 (__mpn_lshift): Do not use BP_SYM.
17392 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17393 "bp-asm.h".
17394 (PARMS): Do not use macros from bp-asm.h.
17395 (DEST): Likewise.
17396 (SRC): Likewise.
17397 (LEN): Likewise.
17398 (memcpy): Likewise. Do not use BP_SYM.
17399 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17400 libc_hidden_def and weak_alias.
17401 (mempcpy): Do not use BP_SYM in weak_alias.
17402 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17403 "bp-asm.h".
17404 (PARMS): Do not use macros from bp-asm.h.
17405 (DEST): Likewise.
17406 (LEN): Likewise.
17407 [!BZERO_P] (CHR): Likewise.
17408 (memset): Likewise. Do not use BP_SYM.
17409 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17410 "bp-asm.h".
17411 (PARMS): Do not use macros from bp-asm.h.
17412 (S1): Likewise.
17413 (SIZE): Likewise.
17414 (__mpn_mul_1): Do not use BP_SYM.
17415 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17416 "bp-asm.h".
17417 (PARMS): Do not use macros from bp-asm.h.
17418 (S): Likewise.
17419 (SIZE): Likewise.
17420 (__mpn_rshift): Do not use BP_SYM.
17421 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17422 "bp-asm.h".
17423 (PARMS): Do not use macros from bp-asm.h.
17424 (STR): Likewise.
17425 (CHR): Likewise.
17426 (strchr): Likewise. Do not use BP_SYM.
17427 (index): Do not use BP_SYM in weak_alias.
17428 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17429 "bp-asm.h".
17430 (PARMS): Do not use macros from bp-asm.h.
17431 (DEST): Likewise.
17432 (SRC): Likewise.
17433 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17434 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17435 "bp-asm.h".
17436 (PARMS): Do not use macros from bp-asm.h.
17437 (strlen): Do not use BP_SYM.
17438 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17439 "bp-asm.h".
17440 (PARMS): Do not use macros from bp-asm.h.
17441 (S1): Likewise.
17442 (S2): Likewise.
17443 (SIZE): Likewise.
17444 (__mpn_sub_n): Do not use BP_SYM.
17445 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17446 "bp-asm.h".
17447 (PARMS): Do not use macros from bp-asm.h.
17448 (S1): Likewise.
17449 (SIZE): Likewise.
17450 (__mpn_submul_1): Do not use BP_SYM.
17451 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17452 "bp-asm.h".
17453 (PARMS): Do not use macros from bp-asm.h.
17454 (S1): Likewise.
17455 (S2): Likewise.
17456 (SIZE): Likewise.
17457 (__mpn_add_n): Do not use BP_SYM.
17458 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17459 weak_alias.
17460 (bzero): Likewise.
17461 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17462 "bp-asm.h".
17463 (PARMS): Do not use macros from bp-asm.h.
17464 (BLK2): Likewise.
17465 (LEN): Likewise.
17466 (memcmp): Do not use BP_SYM.
17467 (bcmp): Do not use BP_SYM in weak_alias.
17468 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17469 "bp-asm.h".
17470 (PARMS): Do not use macros from bp-asm.h.
17471 (DEST): Likewise.
17472 (SRC): Likewise.
17473 (LEN): Likewise.
17474 (memcpy): Likewise. Do not use BP_SYM.
17475 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17476 "bp-asm.h".
17477 (PARMS): Do not use macros from bp-asm.h.
17478 (DEST): Likewise.
17479 (SRC): Likewise.
17480 (LEN): Likewise.
17481 (memmove): Likewise. Do not use BP_SYM.
17482 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17483 "bp-asm.h".
17484 (PARMS): Do not use macros from bp-asm.h.
17485 (DEST): Likewise.
17486 (SRC): Likewise.
17487 (LEN): Likewise.
17488 (__mempcpy): Likewise. Do not use BP_SYM.
17489 (mempcpy): Do not use BP_SYM in weak_alias.
17490 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17491 "bp-asm.h".
17492 (PARMS): Do not use macros from bp-asm.h.
17493 (DEST): Likewise.
17494 (LEN): Likewise.
17495 [!BZERO_P] (CHR): Likewise.
17496 (memset): Likewise. Do not use BP_SYM.
17497 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17498 "bp-asm.h".
17499 (PARMS): Do not use macros from bp-asm.h.
17500 (STR2): Likewise.
17501 (strcmp): Do not use BP_SYM.
17502 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17503 "bp-asm.h".
17504 (PARMS): Do not use macros from bp-asm.h.
17505 (STR): Likewise.
17506 (DELIM): Likewise.
17507 [USE_AS_STRTOK_R] (SAVE): Likewise.
17508 (FUNCTION): Likewise. Do not use BP_SYM.
17509 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17510 aliases.
17511 (strtok_r): Likewise.
17512 (__GI___strtok_r): Likewise.
17513 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17514 (PARMS): Do not use macros from bp-asm.h.
17515 (S): Likewise.
17516 (SIZE): Likewise.
17517 (__mpn_lshift): Do not use BP_SYM.
17518 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17519 (PARMS): Do not use macros from bp-asm.h.
17520 (STR): Likewise.
17521 (CHR): Likewise.
17522 (__memchr): Do not use BP_SYM.
17523 (memchr): Do not use BP_SYM in weak_alias.
17524 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17525 (PARMS): Do not use macros from bp-asm.h.
17526 (BLK2): Likewise.
17527 (LEN): Likewise.
17528 (memcmp): Do not use BP_SYM.
17529 (bcmp): Do not use BP_SYM in weak_alias.
17530 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17531 (PARMS): Do not use macros from bp-asm.h.
17532 (S1): Likewise.
17533 (SIZE): Likewise.
17534 (__mpn_mul_1): Do not use BP_SYM.
17535 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17536 "bp-asm.h".
17537 (PARMS): Do not use macros from bp-asm.h.
17538 (STR): Likewise.
17539 (CHR): Likewise.
17540 (__rawmemchr): Do not use BP_SYM.
17541 (rawmemchr): Do not use BP_SYM in weak_alias.
17542 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17543 (PARMS): Do not use macros from bp-asm.h.
17544 (S): Likewise.
17545 (SIZE): Likewise.
17546 (__mpn_rshift): Do not use BP_SYM.
17547 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17548 (PARMS): Do not use macros from bp-asm.h.
17549 (SIGMSK): Likewise.
17550 (__sigsetjmp): Likewise. Do not use BP_SYM.
17551 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17552 (_start): Do not use BP_SYM.
17553 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17554 (PARMS): Do not use macros from bp-asm.h.
17555 (DEST): Likewise.
17556 (SRC): Likewise.
17557 (__stpcpy): Likewise. Do not use BP_SYM.
17558 (stpcpy): Do not use BP_SYM in weak_alias.
17559 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17560 "bp-asm.h".
17561 (PARMS): Do not use macros from bp-asm.h.
17562 (DEST): Likewise.
17563 (SRC): Likewise.
17564 (LEN): Likewise.
17565 (__stpncpy): Likewise. Do not use BP_SYM.
17566 (stpncpy): Do not use BP_SYM in weak_alias.
17567 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17568 (PARMS): Do not use macros from bp-asm.h.
17569 (STR): Likewise.
17570 (CHR): Likewise.
17571 (strchr): Likewise. Do not use BP_SYM.
17572 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17573 "bp-asm.h".
17574 (PARMS): Do not use macros from bp-asm.h.
17575 (STR): Likewise.
17576 (CHR): Likewise.
17577 (__strchrnul): Likewise. Do not use BP_SYM.
17578 (strchrnul): Do not use BP_SYM in weak_alias.
17579 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17580 "bp-asm.h".
17581 (PARMS): Do not use macros from bp-asm.h.
17582 (STOP): Likewise.
17583 (strcspn): Do not use BP_SYM.
17584 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17585 "bp-asm.h".
17586 (PARMS): Do not use macros from bp-asm.h.
17587 (STR): Likewise.
17588 (STOP): Likewise.
17589 (strpbrk): Likewise. Do not use BP_SYM.
17590 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17591 "bp-asm.h".
17592 (PARMS): Do not use macros from bp-asm.h.
17593 (STR): Likewise.
17594 (CHR): Likewise.
17595 (strrchr): Likewise. Do not use BP_SYM.
17596 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17597 (PARMS): Do not use macros from bp-asm.h.
17598 (SKIP): Likewise.
17599 (strspn): Do not use BP_SYM.
17600 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17601 (PARMS): Do not use macros from bp-asm.h.
17602 (STR): Likewise.
17603 (DELIM): Likewise.
17604 (SAVE): Likewise.
17605 (FUNCTION): Likewise. Do not use BP_SYM.
17606 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17607 aliases.
17608 (strtok_r): Likewise.
17609 (__GI___strtok_r): Likewise.
17610 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17611 (PARMS): Do not use macros from bp-asm.h.
17612 (S1): Likewise.
17613 (S2): Likewise.
17614 (SIZE): Likewise.
17615 (__mpn_sub_n): Do not use BP_SYM.
17616 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17617 "bp-asm.h".
17618 (PARMS): Do not use macros from bp-asm.h.
17619 (S1): Likewise.
17620 (SIZE): Likewise.
17621 (__mpn_submul_1): Do not use BP_SYM.
17622 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17623 <bp-sym.h>.
17624 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17625 and <bp-asm.h>.
17626 (PARMS): Do not use macros from bp-asm.h.
17627 (FLAGS): Likewise.
17628 (PTID): Likewise.
17629 (TLS): Likewise.
17630 (CTID): Likewise.
17631 (__clone): Do not use BP_SYM.
17632 (clone): Do not use BP_SYM in weak_alias.
17633 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17634 and <bp-asm.h>.
17635 (PARMS): Do not use macros from bp-asm.h.
17636 (LEN): Likewise.
17637 (__mmap64): Do not use BP_SYM.
17638 (mmap64): Do not use BP_SYM in weak_alias.
17639 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17640 <bp-sym.h> and <bp-asm.h>.
17641 (PARMS): Do not use macros from bp-asm.h.
17642 (__posix_fadvise64_l64): Do not use BP_SYM.
17643 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17644 (PARMS): Do not use macros from bp-asm.h.
17645 (NSOPS): Likewise.
17646 (semtimedop): Do not use BP_SYM.
17647 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17648 and <bp-asm.h>.
17649
582a3cff
AM
176502013-02-21 Allan McRae <allan@archlinux.org>
17651
17652 * manual/message.texi (Charset conversion in gettext):
17653 Move @end statement to beginning of line.
17654
bab8a695
SP
176552013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17656
80945231
SP
17657 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17658 static.
17659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17660 Likewise.
17661
bab8a695
SP
17662 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17663 (denorm): Likewise.
17664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17666
e21d7aa7
AK
176672013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17668
17669 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17670 tail-call to the resolved function if pltexit isn't needed.
17671
4c7a4263
SP
176722013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17673
17674 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17675 or Y being zero as being unlikely.
17676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17677 Likewise.
17678
41f49342
CD
176792013-02-20 Carlos O'Donell <carlos@redhat.com>
17680
17681 * manual/nss.texi (System Databases and Name Service Switch):
17682 Remove frobnicate @pxref.
17683
50022a93
TS
176842013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17685
17686 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17687 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17688
08cbd996
PM
176892013-02-20 Petr Machata <pmachata@redhat.com>
17690
17691 * elf/elf.h (R_ARM_TARGET1): New macro.
17692 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17693 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17694 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17695 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17696 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17697 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17698 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17699 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17700 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17701 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17702 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17703 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17704 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17705 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17706 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17707 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17708 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17709 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17710 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17711 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17712 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17713 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17714 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17715 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17716 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17717 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17718 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17719 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17720 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17721 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17722 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17723 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17724 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17725 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17726 (R_ARM_THM_GOT_BREL12): Likewise.
17727 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17728 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17729 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17730 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17731 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17732 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17733 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17734 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17735 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17736
c7b275d6
TS
177372013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17738
17739 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17740 __attribute_used__ to __attribute__ ((unused)).
17741
20cd7fb3
SP
177422013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17743
17744 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17745 powerpc mpa.c.
17746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17747 comment formatting.
17748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17749
92945b52
JM
177502013-02-19 Joseph Myers <joseph@codesourcery.com>
17751
17752 [BZ #13550]
17753 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17754 Remove macro.
17755 (ENTER): Remove both macro definitions.
17756 (LEAVE): Likewise.
17757 (CHECK_BOUNDS_LOW): Likewise.
17758 (CHECK_BOUNDS_HIGH): Likewise.
17759 (CHECK_BOUNDS_BOTH): Likewise.
17760 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17761 (RETURN_BOUNDED_POINTER): Likewise.
17762 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17763 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17764 (POP_ERRNO_LOCATION_RETURN): Likewise.
17765 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17766 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17767 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17768 macros.
17769 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17770 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17771 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17772 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17773 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17774 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17775 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17776 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17777 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17778 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17779 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17780 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17781 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17782 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17783 removed macros.
17784 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17785 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17786 macros.
17787 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17788 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17789 * sysdeps/i386/i586/memset.S (memset): Likewise.
17790 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17791 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17792 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17793 macros.
17794 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17795 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17796 Change uses of L(2) to L(out).
17797 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17798 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17799 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17800 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17801 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17802 removed macros.
17803 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17804 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17805 macros.
17806 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17807 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17808 (RETURN): Do not use macro LEAVE.
17809 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17810 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17811 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17812 * sysdeps/i386/i686/memset.S (memset): Likewise.
17813 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17814 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17815 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17816 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17817 Likewise.
17818 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17819 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17820 L(1_2) and L(1_3) into L(1).
17821 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17822 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17823 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17824 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17825 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17826 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17827 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17828 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17829 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17830 macros.
17831 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17832 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17833 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17834 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17835 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17836 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17837 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17838 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17839 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17840 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17841 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17842 * sysdeps/i386/strspn.S (strspn): Likewise.
17843 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17844 conditional code.
17845 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17846 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17847 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17848 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17849 L(1_3) into L(1_1).
17850 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17851 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17852 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17853 macros.
17854 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17855
2389741a
JJ
178562013-02-19 Jakub Jelinek <jakub@redhat.com>
17857
17858 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17859 macro.
17860
2016b3cd
SP
178612013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17862
e4f22324
SP
17863 * math/atest-exp.c (exp_mpn): Remove ROUND.
17864 * math/atest-exp2.c (exp_mpn): Likewise.
17865 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17866
2016b3cd
SP
17867 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17868 * stdlib/tst-tls-atexit-lib.c: Likewise.
17869 * stdlib/tst-tls-atexit.c: Likewise.
17870
4be9b544
MF
178712013-02-18 Mike Frysinger <vapier@gentoo.org>
17872
17873 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17874 and __attribute_alloc_size__.
17875
2f62b9ee
MF
178762013-02-18 Mike Frysinger <vapier@gentoo.org>
17877
17878 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17879 __attribute_alloc_size__.
17880 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17881 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17882
6ff444c4
MF
178832013-02-18 Mike Frysinger <vapier@gentoo.org>
17884
17885 * include/programs/xmalloc.h: New file.
17886 * catgets/gencat.c: Include it.
17887 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17888 * elf/pldd.c: Likewise.
17889 * iconv/iconv_charmap.c: Likewise.
17890 * iconv/iconvconfig.c: Likewise.
17891 * iconv/strtab.c: Likewise.
17892 * locale/programs/locale.c: Likewise.
17893 * locale/programs/localedef.h: Likewise.
17894 * locale/programs/simple-hash.c: Likewise.
17895 * nscd/nscd.h: Likewise.
17896 * nss/makedb.c: Likewise.
17897 * sysdeps/generic/ldconfig.h: Likewise.
17898
be179c8a
SP
178992013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17900
ba384f6e
SP
17901 * Versions.def: Add GLIBC_2.18.
17902 * include/link.h (struct link_map): New member l_tls_dtor_count.
17903 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17904 (__call_tls_dtors): Likewise.
17905 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17906 __cxa_thread_atexit_impl.
17907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17908 Likewise.
17909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17910 Likewise.
17911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17912 Likewise.
17913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17914 Likewise.
17915 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17917 Likewise.
17918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17919 Likewise.
17920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17922 Likewise.
17923 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17924 (tests): Add test case tst-tls-atexit.
17925 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17926 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17927 (GLIBC_PRIVATE): Add __call_tls_dtors.
17928 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17929 for libstdc++.
17930 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17931 * stdlib/tst-tls-atexit.c: New test case.
17932 * stdlib/tst-tls-atexit-lib.c: New test case.
17933
ffaa74cf 17934 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17935
be179c8a
SP
17936 * elf/Versions (ld): Add _dl_find_dso_for_object.
17937 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17938 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17939 (dl_open_worker): Use _dl_find_dso_for_object.
17940 * elf/dl-sym.c (do_sym): Likewise.
17941 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17942
f78b5caa
AK
179432013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17944
17945 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17946 Syntactic changes only.
17947 (_dl_runtime_profile): Do a tail-call to the resolved function.
17948
29691210
JM
179492013-02-17 Joseph Myers <joseph@codesourcery.com>
17950
17951 [BZ #13550]
17952 * sysdeps/x86_64/bp-asm.h: Remove file.
17953 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17954 <bp-sym.h> and <bp-asm.h>.
17955 (__clone): Do not use BP_SYM.
17956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17957 <bp-sym.h> and <bp-asm.h>.
17958 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17959 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17960 "bp-asm.h".
17961 (_setjmp): Do not use BP_SYM.
17962 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17963 "bp-asm.h".
17964 (setjmp): Do not use BP_SYM.
17965 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17966 libc_hidden_def.
17967 (mempcpy): Do not use BP_SYM in weak_alias.
17968 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17969 "bp-asm.h".
17970 (strchr): Do not use BP_SYM.
17971 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17972 "bp-asm.h".
17973 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17974 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17975 (_start): Do not use BP_SYM.
17976 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17977 "bp-asm.h".
17978 (strcat): Do not use BP_SYM.
17979 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17980 "bp-asm.h".
17981 (STRCMP): Do not use BP_SYM.
17982 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17983 "bp-asm.h".
17984 (STRCPY): Do not use BP_SYM.
17985 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17986 "bp-asm.h".
17987 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17988 "bp-asm.h".
17989 (FUNCTION): Do not use BP_SYM.
17990 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17991 weak_alias.
17992 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17993
f238fd19
AJ
179942013-02-17 Andreas Jaeger <aj@suse.de>
17995
17996 * time/Versions: Sort entries.
17997 * string/Versions: Likewise.
17998 * resolv/Versions: Likewise.
17999 * posix/Versions: Likewise.
18000 * iconv/Versions: Likewise.
18001 * elf/Versions: Likewise.
18002 * wcsmbs/Versions: Likewise.
18003
bd07f23c 180042013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 18005
22af19f9
SP
18006 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18007 loop termination condition.
18008
4709fe76
SP
18009 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18010 variable to calculate EZ.
18011 (__sqr): Likewise.
2d0e0f29
SP
18012
18013 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18014 the lower precision input.
18015
daaa7713
JM
180162013-02-15 Joseph Myers <joseph@codesourcery.com>
18017
18018 [BZ #13550]
18019 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18020 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18021 (run-via-rtld-prefix): Do not handle %-bp tests.
18022 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18023 (all-object-suffixes): Remove .ob.
18024 (bppfx): Remove variable.
18025 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18026 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18027 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18028 [$(build-bounded) = yes] (libtype.ob): Likewise.
18029 * Makerules (elide-routines.ob): Remove variable.
18030 (do-tests-clean): Do not handle *-bp.out.
18031 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18032 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18033 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18034 (tests): Do not include $(tests-bp.out).
18035 (xtests): Do not include $(xtests-bp.out).
18036 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18037 [$(build-bounded) = yes] ($(addprefix
18038 $(objpfx),$(binaries-bounded))): Remove rule.
18039 ($(objpfx)%-bp.out): Remove rule.
18040 * config.make.in (build-bounded): Remove variable.
18041 * crypt/Makefile [$(build-bounded) = yes]
18042 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18043 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18044 append to variable.
18045 [$(build-bounded) = yes] (install-lib): Likewise.
18046 [$(build-bounded) = yes] (generated): Likewise.
18047 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18048 Remove rule.
18049 * intl/Makefile [$(build-bounded) = yes]
18050 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18051 * math/Makefile [$(build-bounded) = yes]
18052 ($(tests:%=$(objpfx)%-bp): Likewise.
18053 * misc/Makefile [$(build-bounded) = yes]
18054 ($(objpfx)tst-tsearch-bp): Likewise.
18055 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18056 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18057 Remove dependency.
18058 * string/Makefile (o-objects.ob): Remove variable.
18059 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18060 (CFLAGS-.ob): Remove variable.
18061 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18062 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18063 both definitions of variable.
18064 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18065 (ASFLAGS-.ob): Remove variable.
18066
e97ed6dd
JM
180672013-02-14 Joseph Myers <joseph@codesourcery.com>
18068
2bdd4ca6
JM
18069 [BZ #13550]
18070 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18071 Remove __BOUNDED_POINTERS__ from condition.
18072 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18073 * string/bits/string2.h [!__NO_STRING_INLINES &&
18074 !__BOUNDED_POINTERS__]: Likewise.
18075 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18076 Likewise.
18077 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18078 Remove conditional code.
18079 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18080 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18081 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18082 condition.
18083
e97ed6dd
JM
18084 [BZ #13550]
18085 * csu/libc-start.c: Do not include <bp-sym.h>.
18086 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18087 * elf/dl-open.c: Do not include <bp-sym.h>.
18088 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18089 * math/fegetenv.c: Do not include <bp-sym.h>.
18090 (fegetenv): Do not use BP_SYM in versioned symbols.
18091 * nptl/sysdeps/pthread/bits/libc-lockP.h
18092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18093 <bp-sym.h>.
18094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18095 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18097 (__pthread_mutex_destroy): Likewise.
18098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18099 (__pthread_mutex_lock): Likewise.
18100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18101 (__pthread_mutex_trylock): Likewise.
18102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18103 (__pthread_mutex_unlock): Likewise.
18104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18105 (__pthread_mutexattr_init): Likewise.
18106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18107 (__pthread_mutexattr_destroy): Likewise.
18108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18109 (__pthread_mutexattr_settype): Likewise.
18110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18111 (__pthread_rwlock_init): Likewise.
18112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18113 (__pthread_rwlock_destroy): Likewise.
18114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18115 (__pthread_rwlock_rdlock): Likewise.
18116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18117 (__pthread_rwlock_tryrdlock): Likewise.
18118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18119 (__pthread_rwlock_wrlock): Likewise.
18120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18121 (__pthread_rwlock_trywrlock): Likewise.
18122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18123 (__pthread_rwlock_unlock): Likewise.
18124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18125 (__pthread_key_create): Likewise.
18126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18127 (__pthread_setspecific): Likewise.
18128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18129 (__pthread_getspecific): Likewise.
18130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18131 Likewise.
18132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18133 (_pthread_cleanup_push_defer): Likewise.
18134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18135 (_pthread_cleanup_pop_restore): Likewise.
18136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18137 (pthread_setcancelstate): Likewise.
18138 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18139 <bp-sym.h>.
18140 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18141 (memchr): Do not use BP_SYM in weak_alias.
18142 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18143 (fegetenv): Do not use BP_SYM in versioned symbols.
18144 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18145 (fesetenv): Do not use BP_SYM in versioned symbols.
18146 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18147 (feupdateenv): Do not use BP_SYM in versioned symbols.
18148 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18149 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18150 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18151 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18152 (open64): Do not use BP_SYM in weak_alias.
18153 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18154 (fegetenv): Do not use BP_SYM in versioned symbols.
18155 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18156 (fesetenv): Do not use BP_SYM in versioned symbols.
18157 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18158 (feupdateenv): Do not use BP_SYM in versioned symbols.
18159 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18160 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18161 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18162 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18163 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18164 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18165 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18166 <bp-sym.h>.
18167 (__libc_start_main): Do not use BP_SYM.
18168
d6752ccd
SP
181692013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18170
cb57ce60
SP
18171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18172 redundant return line.
18173 (norm): Likewise.
18174 (denorm): Likewise.
18175 (dbl_mp): Likewise.
18176 (sub_magnitudes): Likewise.
18177 (__add): Likewise.
18178 (__sub): Likewise.
18179 (__mul): Likewise.
18180 (__inv): Likewise.
18181 (__dvd): Likewise.
18182 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18183 (norm): Likewise.
18184 (denorm): Likewise.
18185 (dbl_mp): Likewise.
18186 (sub_magnitudes): Likewise.
18187 (__add): Likewise.
18188 (__sub): Likewise.
18189 (__mul): Likewise.
18190 (__inv): Likewise.
18191 (__dvd): Likewise.
18192
f414520d
SP
18193 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18194 instead of __mul.
18195 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18196 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18197 (cc32): Likewise.
18198
d6752ccd
SP
18199 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18200 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18202 of __mul for squares.
18203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18204 function
18205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18206 Likewise.
18207 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18208 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18209
70d9946a
JM
182102013-02-13 Joseph Myers <joseph@codesourcery.com>
18211
18212 [BZ #13550]
18213 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18214 code.
18215 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18216 prototype or function definition. Rename ubp_* variables and
18217 parameters. Remove argv definitions conditional on
18218 [__BOUNDED_POINTERS__].
18219 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18220 * elf/dl-runtime.c (_dl_fixup): Likewise.
18221 * include/set-hooks.h (RUN_HOOK): Likewise.
18222 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18223 definition.
18224 * string/strcpy.c (strcpy): Do not use __unbounded.
18225 * sysdeps/generic/frame.h (struct layout): Likewise.
18226 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18227 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18228 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18229 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18230 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18231 (__backtrace): Likewise.
18232 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18233 use __ptrvalue.
18234 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18235 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18236 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18237 Likewise.
18238 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18239 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18240 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18241 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18242 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18243 Do not use __unbounded.
18244 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18245 Rename __unboundedrlimits parameter to rlimits in prototype.
18246 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18247 Do not use __unbounded.
18248 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18249 not use __ptrvalue.
18250 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18251 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18252 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18253 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18254 __ptrvalue or __unbounded.
18255 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18256 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18257 use __unbounded.
18258 (__new_msgctl): Do not use __ptrvalue.
18259 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18260 __unbounded.
18261 (__libc_msgrcv): Do not use __ptrvalue.
18262 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18263 startup_info): Do not use __unbounded.
18264 (__libc_start_main): Likewise. Rename ubp_* variables and
18265 parameters. Remove argv definitions conditional on
18266 [__BOUNDED_POINTERS__].
18267 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18268 __ptrvalue.
18269 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18270 use __unbounded.
18271 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18272 or __ptrvalue.
18273 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18274 use __unbounded.
18275 (__new_shmctl): Do not use __ptrvalue.
18276 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18277 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18278 Likewise.
18279 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18280 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18281 (__libc_sigaction): Likewise.
18282 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18283 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18284 Likewise.
18285 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18286
cc7834d6
OB
182872013-02-13 Ondřej Bílka <neleai@seznam.cz>
18288
ffb1ec7b 18289 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18290
18291 * string/mempcpy.c: Implement by calling memcpy.
18292
bdf02814
SP
182932013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18294
c2af38aa
SP
18295 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18296
4e92d59e
SP
18297 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18298 evaluation.
18299
909279a5
SP
18300 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18301 values in the mantissa.
18302
bdf02814
SP
18303 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18304 minimize writes to Z.
18305 (sub_magnitudes): Simplify code a bit.
18306
cd525923
RM
183072013-02-12 Roland McGrath <roland@hack.frob.com>
18308
18309 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18310 from the message. The linker prefixes all warnings with that already.
18311
7e2f0d2d
AS
183122013-02-12 Andreas Schwab <schwab@suse.de>
18313
a445af0b
AS
18314 [BZ #15078]
18315 * posix/regexec.c (extend_buffers): Add parameter min_len.
18316 (check_matching): Pass minimum needed length.
18317 (clean_state_log_if_needed): Likewise.
18318 (get_subexp): Likewise.
18319 * posix/Makefile (tests): Add bug-regex34.
18320 (bug-regex34-ENV): Define.
18321 * posix/bug-regex34.c: New file.
18322
7e2f0d2d
AS
18323 [BZ #11561]
18324 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18325 elements compare against the byte sequence of it, not its name.
18326 * posix/Makefile (tests): Add bug-regex35.
18327 (bug-regex35-ENV): Define.
18328 * posix/bug-regex35.c: New file.
18329
a175b684
TV
183302013-02-11 Tom de Vries <tom@codesourcery.com>
18331
18332 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18333 comment.
18334 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18335 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18336 (CHECK_EOL): Add undef.
18337
310998fe 183382013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18339
18340 * bits/stdlib-bsearch.h: New file.
18341 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18342 * stdlib/stdlib.h: Likewise.
41eda41d 18343
8ded91fb
RM
183442013-02-11 Roland McGrath <roland@hack.frob.com>
18345
18346 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18347 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18348 declaration.
18349 * manual/search.texi (Array Search Function): Add missing const in
18350 lfind prototype.
18351 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18352 declaration to use rlim_t.
18353 (Basic Scheduling Functions): Remove erroneous const from
18354 sched_getparam prototype. Remove erroneous * from
18355 sched_get_priority_max and sched_get_priority_min prototypes.
18356 (Resource Usage): Fix summary @comment on vtimes to refer to
18357 sys/vtimes.h rather than vtimes.h.
18358 Add missing *s in vtimes prototype.
18359 (Limits on Resources): Fix ulimit prototype to return long int.
18360 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18361 prototypes to use long int rather than double.
18362 (BSD Random): Fix initstate and setstate to use char *, not void *.
18363 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18364 prototype to make second argument 'struct aiocb64 *const[]'.
18365 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18366 (Status of AIO Operations): Remove erroneous const in aio_return and
18367 aio_return64 prototypes.
18368 (Synchronizing I/O): Fix sync prototype to return void.
18369 * manual/startup.texi (Suboptions): Remove an erroneous const in
18370 getsubopt prototype.
18371 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18372 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18373 use size_t rather than int.
18374 (Scanning All Users): Likewise for getpwent_r.
18375 (Setting Groups): Add missing const to setgroups prototype.
18376 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18377 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18378 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18379 'const void *' rather than 'const char *'.
18380 (Host Address Functions): Likewise for inet_ntop.
18381 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18382 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18383 ssize_t for return value.
18384 (Sending Data): Likewise for send, sendto, sendmsg.
18385 (Socket Option Functions): Add a missing const in setsockopt prototype.
18386 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18387 use wchar_t for the argument.
18388 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18389 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18390 take no arguments.
18391 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18392 double/float/long double for second argument.
18393 Fix return types of significand, significandf, significandl.
18394 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18395 argument in fchmod prototype.
18396 (File Owner): Use uid_t and gid_t in fchown prototype.
18397 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18398 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18399 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18400 use 'const struct dirent **' as argument types to CMP function pointer
18401 argument.
18402 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18403 (File Times): Fix summary magic @comment for struct utimbuf and utime
18404 to refer to utime.h, not time.h.
18405 * manual/string.texi (Argz Functions): Add missing const in
18406 argz_extract and argz_next prototypes.
18407 (Finding Tokens in a String): Likewise for basename.
18408 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18409 (Copying and Concatenation): Fix typo in wmemmove prototype.
18410 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18411 (Signal Stack): Remove erroneous const in sigstack prototype.
18412 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18413 prototype.
18414 (Simple Calendar Time): Likewise for stime.
18415 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18416 prototype.
18417 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18418 say sys/sysctl.h instead.
18419 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18420 and vsyslog prototypes.
18421
fe77fe6d
TV
184222013-02-11 Tom de Vries <tom@codesourcery.com>
18423
18424 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18425 Remove.
18426
3a09b620
RM
184272013-02-11 Roland McGrath <roland@hack.frob.com>
18428
18429 * misc/sys/mman.h: Fix typo in mremap comment.
18430
550a0b89
RM
184312013-02-08 Roland McGrath <roland@hack.frob.com>
18432
18433 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18434 the '\0' terminator.
18435
a2da1673
JM
184362013-02-08 Joseph Myers <joseph@codesourcery.com>
18437
18438 [BZ #13550]
18439 * debug/segfault.c: Don't include <bp-checks.h>.
18440 * sysdeps/generic/bp-checks.h: Remove file.
18441 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18442 (__GETDENTS): Don't use CHECK_N.
18443 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18444 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18445 (__getgroups): Don't use CHECK_N.
18446 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18447 (setgroups): Don't use CHECK_N.
18448 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18449 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18450 (__libc_msgrcv): Don't use CHECK_N.
18451 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18452 (__libc_msgsnd): Don't use CHECK_N.
18453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18454 <bp-checks.h>.
18455 (__libc_pread): Don't use CHECK_N.
18456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18457 include <bp-checks.h>.
18458 (__libc_pread64): Don't use CHECK_N.
18459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18460 include <bp-checks.h>.
18461 (__libc_pwrite): Don't use CHECK_N.
18462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18463 include <bp-checks.h>.
18464 (__libc_pwrite64): Don't use CHECK_N.
18465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18466 <bp-checks.h>.
18467 (__libc_pread): Don't use CHECK_N.
18468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18469 include <bp-checks.h>.
18470 (__libc_pread64): Don't use CHECK_N.
18471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18472 include <bp-checks.h>.
18473 (__libc_pwrite): Don't use CHECK_N.
18474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18475 include <bp-checks.h>.
18476 (__libc_pwrite64): Don't use CHECK_N.
18477 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18478 (do_pread): Don't use CHECK_N.
18479 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18480 (do_pread64): Don't use CHECK_N.
18481 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18482 (do_pwrite): Don't use CHECK_N.
18483 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18484 (do_pwrite64): Don't use CHECK_N.
18485 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18486 (__libc_readv): Don't use CHECK_N.
18487 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18488 (semop): Don't use CHECK_N.
18489 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18490 <bp-checks.h>.
18491 (semtimedop): Don't use CHECK_N.
18492 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18493 (__libc_pread): Don't use CHECK_N.
18494 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18495 <bp-checks.h>.
18496 (__libc_pread64): Don't use CHECK_N.
18497 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18498 <bp-checks.h>.
18499 (__libc_pwrite): Don't use CHECK_N.
18500 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18501 <bp-checks.h>.
18502 (__libc_pwrite64): Don't use CHECK_N.
18503 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18504 <bp-checks.h>.
18505 (__libc_msgrcv): Don't use CHECK_N.
18506 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18507 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18508 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18509 (__libc_writev): Don't use CHECK_N.
18510
b84660a8
RM
185112013-02-08 Roland McGrath <roland@hack.frob.com>
18512
7f3e75f8
RM
18513 * string/strcpy.c: Removed unused variable.
18514
b84660a8
RM
18515 * Makeconfig (+sysdep-includes): Define with := rather than =.
18516 Use an existing include/ subdir of each sysdeps dir before it.
18517
471514d3
CD
185182013-02-08 Carlos O'Donell <carlos@redhat.com>
18519
18520 * nscd/connection.c (register_traced_file): Comment function.
18521 [HAVE_INOTIFY] (union __inev): Define.
18522 [HAVE_INOTIFY] (inotify_check_files): New function.
18523 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18524 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18525 clear_db_cache.
18526 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18527
b2d3c3be
CD
185282013-02-08 Carlos O'Donell <carlos@redhat.com>
18529
18530 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18531 loaded if not already and that a failure is permanent.
18532
b39949d2
CD
185332013-02-08 Carlos O'Donell <carlos@redhat.com>
18534
ddacd1db 18535 [BZ #15006]
b39949d2
CD
18536 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18537 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18538
b2c9eff4
JM
185392013-02-08 Joseph Myers <joseph@codesourcery.com>
18540
f3aae3f3
JM
18541 [BZ #13550]
18542 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18543 (CHECK_1_NULL_OK): Likewise.
18544 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18545 (__fxstat): Do not use CHECK_1.
18546 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18547 <bp-checks.h>.
18548 (___fxstat64): Do not use CHECK_1.
18549 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18550 <bp-checks.h>.
18551 (__fxstatat): Do not use CHECK_1.
18552 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18553 <bp-checks.h>.
18554 (__fxstatat64): Do not use CHECK_1.
18555 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18556 <bp-checks.h>.
18557 (__fxstat): Do not use CHECK_1.
18558 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18559 <bp-checks.h>.
18560 (__fxstatat): Do not use CHECK_1.
18561 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18562 <bp-checks.h>.
18563 (__getresgid): Do not use CHECK_1.
18564 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18565 <bp-checks.h>.
18566 (__getresuid): Do not use CHECK_1.
18567 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18568 <bp-checks.h>.
18569 (__lxstat): Do not use CHECK_1.
18570 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18571 <bp-checks.h>.
18572 (__old_msgctl): Do not use CHECK_1.
18573 (__new_msgctl): Likewise.
18574 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18575 <bp-checks.h>.
18576 (__new_setrlimit): Do not use CHECK_1.
18577 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18578 <bp-checks.h>.
18579 (__old_shmctl): Do not use CHECK_1.
18580 (__new_shmctl): Likewise.
18581 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18582 <bp-checks.h>.
18583 (__xstat): Do not use CHECK_1.
18584 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18585 (__lxstat): Do not use CHECK_1.
18586 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18587 <bp-checks.h>.
18588 (___lxstat64): Do not use CHECK_1.
18589 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18590 (__old_msgctl): Do not use CHECK_1.
18591 (__new_msgctl): Likewise.
18592 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18593 <bp-checks.h>.
18594 (__gettimeofday): Do not use CHECK_1.
18595 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18596 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18597 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18598 <bp-checks.h>.
18599 (__gettimeofday): Do not use CHECK_1.
18600 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18601 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18602 (__new_shmctl): Do not use CHECK_1.
18603 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18604 <bp-checks.h>.
18605 (do_sigtimedwait): Do not use CHECK_1.
18606 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18607 <bp-checks.h>.
18608 (do_sigwaitinfo): Do not use CHECK_1.
18609 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18610 <bp-checks.h>.
18611 (msgctl): Do not use CHECK_1.
18612 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18613 <bp-checks.h>.
18614 (shmctl): Do not use CHECK_1.
18615 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18616 (ustat): Do not use CHECK_1.
18617 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18618 <bp-checks.h>.
18619 (__fxstat): Do not use CHECK_1.
18620 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18621 <bp-checks.h>.
18622 (__fxstatat): Do not use CHECK_1.
18623 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18624 <bp-checks.h>.
18625 (__lxstat): Do not use CHECK_1.
18626 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18627 <bp-checks.h>.
18628 (__xstat): Do not use CHECK_1.
18629 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18630 (__xstat): Do not use CHECK_1.
18631 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18632 (___xstat64): Do not use CHECK_1.
18633
b2c9eff4
JM
18634 [BZ #13550]
18635 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18636 definitions.
18637 (CHECK_BOUNDS_HIGH): Likewise.
18638 * string/strcpy.c: Do not include <bp-checks.h>.
18639 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18640
f1d70dad
RM
186412013-02-07 Roland McGrath <roland@hack.frob.com>
18642
18643 * nscd/nscd-client.h (__nscd_drop_map_ref):
18644 Add __attribute__ ((unused)).
18645 * nis/nss-nisplus.h (niserr2nss): Likewise.
18646
18647 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18648 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18649
18650 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18651 Remove inline keyword.
18652 * include/rounding-mode.h (round_away): Likewise.
18653 * libio/wfileops.c (adjust_wide_data): Likewise.
18654 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18655 (__m128i_strloadu_tolower): Likewise.
18656 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18657 (__m128i_strloadu_tolower): Likewise.
18658 * time/mktime.c (ydhms_diff): Likewise.
18659 * locale/elem-hash.h (elem_hash): Likewise.
18660 * locale/setlocale.c (setdata): Likewise.
18661 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18662 (re_string_wchar_at): Likewise.
18663 (bitset_not, bitset_merge, bitset_mask): Likewise.
18664 [!(__GNUC__ > 3)] (inline): Remove macro.
18665 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18666 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18667 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18668 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18669 * string/memcmp.c (memcmp_bytes): Likewise.
18670 * locale/programs/locarchive.c (compute_hashval): Likewise.
18671 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18672 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18673 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18674 * nss/getent.c (print_rpc, print_protocols): Likewise.
18675 (print_passwd, print_group, print_aliases): Likewise.
18676 * nis/nss-nisplus.h (niserr2nss): Likewise.
18677 * nscd/connections.c (restart_p): Likewise.
18678 Change return type to bool.
18679
eab55bfb
RM
186802013-02-05 Roland McGrath <roland@hack.frob.com>
18681
7bd642f5
RM
18682 * Makeconfig (all-Depend-files): Add existing
18683 $(sorted-subdirs:=/Depend) files.
18684 (all-subdirs): Remove nss.
18685 * sysdeps/unix/inet/Subdirs: Add it here instead.
18686 * hesiod/Depend: New file.
18687
573c29b2
RM
18688 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18689 instead of calling alloca.
18690
b2e25af0
RM
18691 * io/lseek.c (__lseek): Rename to __libc_lseek.
18692 Define __lseek as an alias.
18693
eab55bfb
RM
18694 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18695
9a0d1941
CD
186962013-02-04 Carlos O'Donell <carlos@redhat.com>
18697
18698 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18699 else clause and remove check for non-standard endianness.
18700
b83bbec4
DM
187012013-02-04 David S. Miller <davem@davemloft.net>
18702
18703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18704
6277fdab
JM
187052013-02-04 Joseph Myers <joseph@codesourcery.com>
18706
18707 [BZ #13550]
18708 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18709 (__ubp_memchr): Remove prototype.
18710 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18711 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18712 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18713 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18714 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18715 Remove alias.
18716 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18717 (__ubp_memchr): Likewise.
18718 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18719 (__ubp_memchr): Likewise.
18720 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18721 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18722 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18723 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18724 CHECK_STRING.
18725 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18726 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18727 (__getcwd): Do not use CHECK_STRING.
18728 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18729 <bp-checks.h>.
18730 (__real_chown): Do not use CHECK_STRING.
18731 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18732 <bp-checks.h>.
18733 (fchownat): Do not use CHECK_STRING.
18734 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18735 CHECK_STRING.
18736 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18737 <bp-checks.h>.
18738 (__lchown): Do not use CHECK_STRING.
18739 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18740 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18741 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18742 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18744 include <bp-checks.h>.
18745 (truncate64): Do not use CHECK_STRING.
18746 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18747 <bp-checks.h>.
18748 (__real_chown): Do not use CHECK_STRING.
18749 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18750 <bp-checks.h>.
18751 (__lchown): Do not use CHECK_STRING.
18752 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18753 <bp-checks.h>.
18754 (__chown): Do not use CHECK_STRING.
18755 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18756 <bp-checks.h>.
18757 (truncate64): Do not use CHECK_STRING.
18758 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18759 Likewise.
18760 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18761 (__xmknod): Do not use CHECK_STRING.
18762 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18763 <bp-checks.h>.
18764 (__xmknodat): Do not use CHECK_STRING.
18765 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18766 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18767
903ae060
AS
187682013-02-04 Andreas Schwab <schwab@suse.de>
18769
18770 [BZ #14142]
18771 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18772 * include/netdb.h: Likewise for h_errno.
18773 * elf/tst-stackguard1.c: Include <tls.h>.
18774
542f9466
JK
187752013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18776
18777 * elf/link.h (struct link_map): Extend the l_addr comment.
18778 * include/link.h (struct link_map): Likewise.
18779
e782a927
JM
187802013-02-01 Joseph Myers <joseph@codesourcery.com>
18781
18782 [BZ #13550]
18783 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18784 (BOUNDED_1): Remove macro.
18785 * debug/backtrace.c: Don't include <bp-checks.h>.
18786 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18787 (__backtrace): Likewise.
18788 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18789 <bp-checks.h>.
18790 (__backtrace): Don't use BOUNDED_1.
18791 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18792 <bp-checks.h>.
18793 (__backtrace): Don't use BOUNDED_1.
18794 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18795 (__backtrace): Don't use BOUNDED_1.
18796 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18797 (shmat): Don't use BOUNDED_N.
18798
8cf28c5e
JM
187992013-01-31 Joseph Myers <joseph@codesourcery.com>
18800
3a7ac8a0
JM
18801 [BZ #13550]
18802 * sysdeps/generic/bp-start.h: Remove file.
18803 * csu/libc-start.c: Don't include <bp-start.h>.
18804 (LIBC_START_MAIN): Set up __environ directly instead of using
18805 INIT_ARGV_and_ENVIRON.
18806 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18807 <bp-start.h>.
18808
f3499f95
JM
18809 [BZ #13550]
18810 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18811 definitions.
18812 (CHECK_FCNTL): Likewise.
18813 (CHECK_N_PAGES): Likewise.
18814
32a45bea
JM
18815 [BZ #13550]
18816 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18817 definitions.
18818 (CHECK_SIGSET_NULL_OK): Likewise.
18819 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18820 <bp-checks.h>.
18821 (sigpending): Don't use CHECK_SIGSET.
18822 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18823 <bp-checks.h>.
18824 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18825 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18826 <bp-checks.h>.
18827 (do_sigsuspend): Don't use CHECK_SIGSET.
18828 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18829 use CHECK_SIGSET.
18830 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18831 (do_sigwait): Don't use CHECK_SIGSET.
18832 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18833 use CHECK_SIGSET.
18834 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18835 include <bp-checks.h>.
18836 (sigpending): Don't use CHECK_SIGSET.
18837 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18838 include <bp-checks.h>.
18839 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18840 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18841 <bp-checks.h>.
18842 (sigpending): Don't use CHECK_SIGSET.
18843 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18844 <bp-checks.h>.
18845 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18846
2e8a5c8c
JM
18847 [BZ #13550]
18848 * sysdeps/generic/bp-semctl.h: Remove file.
18849 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18850 <bp-checks.h> and <bp-semctl.h>.
18851 (__old_semctl): Don't use CHECK_SEMCTL.
18852 (__new_semctl): Likewise.
18853 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18854 and <bp-semctl.h>.
18855 (__old_semctl): Don't use CHECK_SEMCTL.
18856 (__new_semctl): Likewise.
18857 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18858 <bp-checks.h> and <bp-semctl.h>.
18859 (__old_semctl): Don't use CHECK_SEMCTL.
18860 (__new_semctl): Likewise.
18861 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18862 <bp-checks.h> and <bp-semctl.h>.
18863 (semctl): Don't use CHECK_SEMCTL.
18864
c2d54929
JM
18865 [BZ #13550]
18866 * Makerules (elide-bp-thunks): Remove variable.
18867 (elide-routines.oS): Don't use $(elide-bp-thunks).
18868 (elide-routines.os): Likewise.
18869 (elide-routines.o): Likewise.
18870 (elide-routines.op): Likewise.
18871 (elide-routines.og): Likewise.
18872 (objects): Don't use $(bp-thunks).
18873 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18874 include.
18875 (common-generated): Do not add s-proto-bp.d.
18876 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18877 (int): Likewise.
18878 (typ): Likewise.
18879 Do not generate makefile rules for bounded-pointer thunks.
18880 * sysdeps/generic/bp-thunks.h: Remove file.
18881 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18882 * sysdeps/unix/s-proto-bp.S: Likewise.
18883
8cf28c5e
JM
18884 [BZ #15062]
18885 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18886 parts of result separately when argument is not close to line from
18887 -i to i and one part of argument is small.
18888 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18889 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18890 * math/libm-test.inc (cacos_test): Add more tests.
18891 (casin_test): Likewise.
18892 (casinh_test): Likewise.
18893 * sysdeps/i386/fpu/libm-test-ulps: Update.
18894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18895
c4e33b8d
DM
188962013-01-31 David S. Miller <davem@davemloft.net>
18897
18898 * po/de.po: Update from translation team.
18899
3b60b421
MK
189002013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18901
18902 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18903
bb931195
TS
189042013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18905
b5a5da23
TS
18906 * configure.in (_AC_PROG_CC_C89): New definition.
18907 * configure: Regenerate.
18908
bb931195
TS
18909 * configure.in (AC_PROG_CPP): New definition.
18910 * configure: Regenerate.
18911
8c53a12c
JM
189122013-01-23 Joseph Myers <joseph@codesourcery.com>
18913
18914 * debug/tst-backtrace.h: New file.
18915 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18916 (ret): Remove variable.
18917 (x): Likewise.
18918 (FAIL): Remove macro.
18919 (NO_INLINE): Likewise.
18920 (fn1): Use match function instead of strstr.
18921 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18922 (ret): Remove variable.
18923 (x): Likewise.
18924 (FAIL): Remove macro.
18925 (NO_INLINE): Likewise.
18926 (fn): Use match function instead of strstr.
18927 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18928 (ret): Remove variable.
18929 (x): Likewise.
18930 (FAIL): Remove macro.
18931 (NO_INLINE): Likewise.
18932 (handle_signal): Use match function instead of strstr.
18933 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18934 (ret): Remove variable.
18935 (x): Likewise.
18936 (FAIL): Remove macro.
18937 (NO_INLINE): Likewise.
18938 (handle_signal): Use match function instead of strstr.
18939
4858fa2a
RM
189402013-01-23 Roland McGrath <roland@hack.frob.com>
18941
18942 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18943
bae8e7f5
DM
189442013-01-23 David S. Miller <davem@davemloft.net>
18945
18946 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18947 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18948 argument of CAS if possible.
18949 * sysdeps/sparc/sparc64/bits/atomic.h
18950 (__arch_compare_and_exchange_val_32_acq): Likewise.
18951 (__arch_compare_and_exchange_val_64_acq): Likewise.
18952
9cbbc4ae
PT
189532013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18954
18955 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18956 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18957 Include <limits.h>.
67b3f58c 18958 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18959
5655a0b5
AC
189602013-01-23 Adam Conrad <adconrad@0c3.net>
18961
18962 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18963 (LDFLAGS-tst-array5): Likewise.
18964
052aff95
JM
189652013-01-23 Joseph Myers <joseph@codesourcery.com>
18966
18967 [BZ #15036]
18968 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18969 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18970 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18971 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18972
7c1e01aa
DM
189732013-01-21 David S. Miller <davem@davemloft.net>
18974
18975 * sysdeps/sparc/backtrace.c: New file.
18976 * sysdeps/sparc/sparc32/backtrace.h: New file.
18977 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18978 * sysdeps/sparc/sparc64/backtrace.h: New file.
18979 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18980 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18981 -funwind-tables.
18982
ab087e0a
AS
189832013-01-21 Andreas Schwab <schwab@suse.de>
18984
18985 [BZ #15020]
18986 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18987 closed its stdout.
18988
ed689c2f
AS
189892013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18990
18991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18992 "mpa2.h".
18993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18994
31d470ac
JM
189952013-01-18 Joseph Myers <joseph@codesourcery.com>
18996 Mark Mitchell <mark@codesourcery.com>
18997 Tom de Vries <tom@codesourcery.com>
18998 Paul Pluzhnikov <ppluzhnikov@google.com>
18999
19000 * debug/tst-backtrace2.c: New file.
19001 * debug/tst-backtrace3.c: Likewise.
19002 * debug/tst-backtrace4.c: Likewise.
19003 * debug/tst-backtrace5.c: Likewise.
19004 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19005 (CFLAGS-tst-backtrace3.c): Likewise.
19006 (CFLAGS-tst-backtrace4.c): Likewise.
19007 (CFLAGS-tst-backtrace5.c): Likewise.
19008 (LDFLAGS-tst-backtrace2): Likewise.
19009 (LDFLAGS-tst-backtrace3): Likewise.
19010 (LDFLAGS-tst-backtrace4): Likewise.
19011 (LDFLAGS-tst-backtrace5): Likewise.
19012 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19013 tst-backtrace4 and tst-backtrace5.
19014
90567f30 190152013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
19016 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19017
19018 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19019 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19020 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19021 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19023 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19024 "+r" and remove output regs list as redundant. Add explicit inline
19025 asm to specify register of return val to work around compiler codegen
19026 bug. Remove (int) cast on return value. Add return type parameter to
19027 use in macro so that this macro does not truncate return value for
19028 64-bit values.
19029 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19030 pass to INTERNAL_VSYSCALL_NCS.
19031 (INLINE_VSYSCALL): Add 'long int' as return type to
19032 INTERNAL_VSYSCALL_NCS macro invocation.
19033 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19034 INTERNAL_VSYSCALL_NCS macro invocation.
19035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19036
d3b9ea61
SP
190372013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19038
0b57daeb
SP
19039 [BZ #14496]
19040 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19041 Fix application of SIMD FP exception mask.
19042
caa99d06
SP
19043 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19044 mp_no from a power of two.
19045 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19046 __mpexp_twomm1. Use __pow_mp.
19047
d3b9ea61
SP
19048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19049 multiplication.
19050
1dbaee3c
DM
190512013-01-17 David S. Miller <davem@davemloft.net>
19052
19053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19054
728d7b43
JM
190552013-01-17 Joseph Myers <joseph@codesourcery.com>
19056
19057 [BZ #15023]
19058 * include/complex.h: Condition contents on [!_COMPLEX_H].
19059 (__kernel_casinhf): New prototype.
19060 (__kernel_casinh): Likewise.
19061 (__kernel_casinhl): Likewise.
19062 * math/Makefile (libm_calls): Add k_casinh.
19063 * math/k_casinh.c: New file.
19064 * math/k_casinhf.c: Likewise.
19065 * math/k_casinhl.c: Likewise.
19066 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19067 finite nonzero arguments.
19068 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19069 finite nonzero arguments.
19070 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19071 finite nonzero arguments.
19072 * math/s_casinh.c: Do not include <float.h>.
19073 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19074 * math/s_casinhf.c: Do not include <float.h>.
19075 (__casinhf): Move code for finite nonzero arguments to
19076 k_casinhf.c.
19077 * math/s_casinhl.c: Do not include <float.h>.
19078 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19079 redefine.
19080 (__casinhl): Move code for finite nonzero arguments to
19081 k_casinhl.c.
19082 * math/libm-test.inc (cacos_test): Add more tests.
19083 * sysdeps/i386/fpu/libm-test-ulps: Update.
19084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19085
2a26ef3a
PT
190862013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19087
19088 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19089 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19090 [!HAVE_MREMAP]: Remove [defined linux] case.
19091 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19092
a897655d
SP
190932013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19094
19095 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19096
881ebe89 190972013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
19098
19099 * elf/elf.h (R_386_SIZE32): New relocation.
19100 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19101 R_386_SIZE32.
19102 (elf_machine_rela): Likewise.
19103 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19104 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19105
59981e9b
JM
191062013-01-17 Joseph Myers <joseph@codesourcery.com>
19107
19108 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19109 (FP_FAST_FMA): Do not define.
19110 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19111 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19112 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19113 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19114 !_SOFT_FLOAT]: Likewise.
19115 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19116 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19117 value.
19118 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19119 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19120 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19121 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19122 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19123 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19124 file.
19125
cfa8054f
AS
191262013-01-16 Andreas Schwab <schwab@suse.de>
19127
19128 [BZ #14327]
19129 * include/stdlib.h (__mktemp): Add declaration.
19130 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19131 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19132
dd930cc5
SP
191332013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19134
881ebe89
SP
19135 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19136 definitions.
19137 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19138 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19139 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19140 definitions here.
19141 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19142 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19143 definitions.
19144 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19145 and ONE.
19146 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19147 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19148 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19149 definitions.
19150 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19151 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19152 definitions.
19153 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19154
dd930cc5
SP
19155 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19156
c19a9f89
DM
191572013-01-15 David S. Miller <davem@davemloft.net>
19158
1aa61767
DM
19159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19160 trunc{,f} to libm-sysdep_routes.
19161 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19163 file.
19164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19166 file.
19167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19168 file.
19169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19171 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19172 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19173 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19174 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19175 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19176 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19177
c42d5e98
DM
19178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19179 nearbyint{,f} to libm-sysdep_routes.
19180 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19182 New file.
19183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19184 file.
19185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19186 New file.
19187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19188 file.
19189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19191 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19192 file.
19193 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19194 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19195 file.
19196 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19197 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19198 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19199
c19a9f89
DM
19200 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19201 libc_feholdexcept and libc_fesetenv.
19202
357679d2
MF
192032013-01-15 Mike Frysinger <vapier@gentoo.org>
19204
19205 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19206
65a82e3d
DM
192072013-01-14 David S. Miller <davem@davemloft.net>
19208
8b954ab9
DM
19209 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19210 (SPARC_ASM_VIS2_IFUNC): Likewise.
19211 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19213 use of 'siam' instruction.
19214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19215 Likewise.
19216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19217 Likewise.
19218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19219 Likewise.
19220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19221 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19225 file.
19226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19227 file.
19228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19229 file.
19230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19231 file.
19232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19237 new VIS2 routines.
19238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19241 Likewise.
19242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19245 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19247 routines to libm-sysdep_routines.
19248 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19249
65a82e3d
DM
19250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19251 fdim/fdimf to libm-sysdep_routines.
19252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19253 file.
19254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19256 file.
19257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19260 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19261 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19262 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19263 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19264
e34ab705
SP
192652013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19266
2a91b573
SP
19267 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19268 to optimize copies.
19269
1066a534
SP
19270 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19271 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19273
e34ab705
SP
19274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19275 local variable MPTWO.
19276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19277 Likewise.
19278
aba5e596
MF
192792013-01-13 Mike Frysinger <vapier@gentoo.org>
19280
19281 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19282 GLOB_NOESCAPE.
19283
e557e9e5
MF
192842013-01-13 Mike Frysinger <vapier@gentoo.org>
19285
19286 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19287
0428cec9
MF
192882013-01-13 Mike Frysinger <vapier@gentoo.org>
19289
19290 * manual/pattern.texi (glob_t): Document gl_flags.
19291 (glob64_t): Likewise.
19292
8794a964
DM
192932013-01-11 David S. Miller <davem@davemloft.net>
19294
66438c3f
RM
19295 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19296 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19297 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19298 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19299 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19300 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19301 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19302 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19303 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19304 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19305 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19306 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19307 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19308
4ae4244d
DM
19309 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19310 sparc V9 rather than using V8 code.
19311 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19312 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19313
8794a964
DM
19314 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19315 Move to...
19316 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19317 Here.
19318
6270516e
RM
193192013-01-11 Roland McGrath <roland@hack.frob.com>
19320
19321 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19322 not in the main loop.
19323 * configure: Regenerated.
19324
6a57d931
JM
193252013-01-11 Joseph Myers <joseph@codesourcery.com>
19326
19327 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19328 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19329 to just #else.
19330 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19331 [!__GLIBC_HAVE_LONG_LONG] case.
19332 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19333 condition to just #else.
19334 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19335 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19336 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19337 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19338 unconditional.
19339 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19340 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19341 #elif condition to just #else.
19342 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19343 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19344 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19345 #elif condition to just #else.
19346
0e8529e9
SE
193472013-01-11 Steve Ellcey <sellcey@mips.com>
19348
19349 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19350 (EF_MIPS_ARCH_64): Fix value.
19351 (EF_MIPS_ARCH_32R2): New.
19352 (EF_MIPS_ARCH_64R2): New.
19353
740b3dbe
L
193542013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19355
19356 * Makeconfig (+link-pie-before-libc): New.
19357 (+link-pie-after-libc): Likewise.
19358 (+link-pie-tests): Likewise.
19359 (+link-pie): Rewritten.
19360 (link-before-libc): Remove $(config-LDFLAGS).
19361 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19362 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19363 (config-LDFLAGS): Renamed to ...
19364 (rtld-LDFLAGS): This.
19365 (rtld-tests-LDFLAGS): New macro.
19366 (link-libc-rpath-link): Likewise.
19367 (link-libc-tests-rpath-link): Likewise.
19368 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19369 (link-libc): Prepand $(link-libc-rpath-link).
19370 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19371 (test-program-prefix): New macro.
19372 (test-via-rtld-prefix): Likewise.
19373 (test-program-cmd): Likewise.
19374 (host-test-program-cmd): Likewise.
19375 * Makefile ($(common-objpfx)testrun.sh): Replace
19376 $(run-program-prefix) with $(test-program-prefix).
19377 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19378 $(rtld-LDFLAGS).
19379 ($(common-objpfx)shlib.lds): Likewise.
19380 (build-module-helper): Likewise.
19381 ($(common-objpfx)format.lds): Likewise.
19382 * Rules (binaries-pie-tests): New.
19383 (binaries-pie-notests): Likewise.
19384 (binaries-pie): Rewritten.
19385 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19386 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19387 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19388 (make-test-out): Replace $(host-built-program-cmd) with
19389 $(host-test-program-cmd).
19390 * config.make.in (build-hardcoded-path-in-tests): New variable.
19391 * configure.in (--enable-hardcoded-path-in-tests): New configure
19392 option.
19393 (hardcoded_path_in_tests): New AC_SUBST.
19394 * configure: Regenerated.
19395 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19396 $(built-program-cmd) with $(test-program-cmd).
19397 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19398 (test_program_cmd): This.
19399 * elf/Makefile ($(objpfx)order.out): Run test with
19400 $(test-program-prefix).
19401 ($(objpfx)order2.out): Likewise.
19402 ($(objpfx)tst-initorder.out): Likewise.
19403 ($(objpfx)tst-initorder2.out): Likewise.
19404 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19405 $(test-program-cmd).
19406 ($(objpfx)tst-array1-static.out): Likewise.
19407 ($(objpfx)tst-array2.out): Likewise.
19408 ($(objpfx)tst-array3.out): Likewise.
19409 ($(objpfx)tst-array4.out): Likewise.
19410 ($(objpfx)tst-array5.out): Likewise.
19411 ($(objpfx)tst-array5-static.out): Likewise.
19412 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19413 $(test-program-cmd).
19414 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19415 $(run-program-prefix) with $(test-program-prefix).
19416 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19417 (test_program_prefix): This.
19418 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19419 $(run-program-prefix) with $(test-program-prefix).
19420 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19421 (test_program_prefix): This.
19422 * iconvdata/tst-tables.sh: Likewise.
19423 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19424 $(run-program-prefix) with $(test-program-prefix).
19425 ($(objpfx)tst-translit.out): Likewise.
19426 ($(objpfx)tst-gettext2.out): Likewise.
19427 ($(objpfx)tst-gettext4.out): Likewise.
19428 ($(objpfx)tst-gettext6.out): Likewise.
19429 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19430 (test_program_prefix): This.
19431 * intl/tst-gettext2.sh: Likewise.
19432 * intl/tst-gettext4.sh Likewise.
19433 * intl/tst-gettext6.sh: Likewise.
19434 * intl/tst-translit.sh: Likewise.
19435 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19436 with $(test-program-cmd).
19437 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19438 $(run-program-prefix) with $(test-program-prefix).
19439 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19440 (test_program_prefix): This.
19441 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19442 $(run-program-prefix) with $(test-program-prefix).
19443 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19444 (test_program_prefix): This.
19445 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19446 * posix/Makefile ($(objpfx)globtest.out): Replace
19447 $(run-via-rtld-prefix) and $(test-wrapper) with
19448 $(test-program-prefix) and $(test-via-rtld-prefix).
19449 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19450 $(test-program-prefix).
19451 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19452 $(host-test-program-cmd).
19453 (tst-spawn-ARGS): Likewise.
19454 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19455 $(test-program-prefix).
19456 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19457 (test_via_rtld_prefix): This.
19458 (test_wrapper): Renamed to ...
19459 (test_program_prefix): This.
19460 (run_program_prefix): Replaced by test_program_prefix.
19461 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19462 (test_program_prefix): This.
19463 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19464 with $(host-test-program-cmd).
19465 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19466 $(run-program-prefix) with $(test-program-prefix).
19467 ($(objpfx)tst-printf.out): Likewise.
19468 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19469 $(test-program-cmd).
19470 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19471 (test_program_prefix): This.
19472 * stdio-common/tst-unbputc.sh: Likewise.
19473 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19474 $(run-program-prefix) with $(test-program-prefix).
19475 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19476 (test_program_prefix): This.
19477 * string/Makefile ($(objpfx)tst-svc.out): Replace
19478 $(built-program-cmd) with $(test-program-cmd).
19479
c6fe55cf
AJ
194802013-01-11 Andreas Jaeger <aj@suse.de>
19481
19482 [BZ #15003]
19483 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19484 value. Sync with Linux 3.7.
19485
9e6919c8
DM
194862013-01-10 David S. Miller <davem@davemloft.net>
19487
19488 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19489 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19490 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19491
1c9f1a02
RM
194922013-01-10 Roland McGrath <roland@hack.frob.com>
19493
19494 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19495 never set.
19496 * configure: Regenerated.
19497
b9de2dde
DM
194982013-01-10 David S. Miller <davem@davemloft.net>
19499
19500 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19501 sparc V9 rather than using V8 code.
19502 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19503 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19504
e7f68ef4
RM
195052013-01-10 Roland McGrath <roland@hack.frob.com>
19506
19507 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19508 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19509 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19510 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19511 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19512 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19513 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19514 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19515 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19516 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19517 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19518 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19519 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19520 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19521 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19522 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19523 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19524 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19525 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19526 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19527 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19528 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19529 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19530 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19531 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19532 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19533 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19534
5a47cc9c
DM
195352013-01-10 David S. Miller <davem@davemloft.net>
19536
19537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19538
4cf8f209
L
195392013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19540
19541 * posix/Makefile (tests-static): New variable.
19542 (tests): Add $(tests-static).
19543 (tst-exec-static-ARGS): New variable.
19544 (tst-spawn-static-ARGS): Likewise.
19545 * posix/tst-exec-static.c: New file.
19546 * posix/tst-spawn-static.c: Likewise.
19547 * posix/tst-exec.c: Support run directly.
19548 * posix/tst-spawn.c: Likewise.
19549
fed0faa1
JM
195502013-01-10 Joseph Myers <joseph@codesourcery.com>
19551
828beb13
JM
19552 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19553 long.
19554 * math/bits/mathcalls.h (llrint): Likewise.
19555 (llround): Likewise.
19556 * stdlib/stdlib.h (struct drand48_data): Likewise.
19557 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19558 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19559 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19560 Likewise.
19561 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19562 Likewise.
19563 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19564 (elf_greg_t): Likewise.
19565 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19566 (__jmp_buf): Likewise.
19567 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19568 definitions.
19569 (llrint): Likewise, for all definitions.
19570 (llrintl): Likewise.
19571
fed0faa1
JM
19572 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19573 Remove [__GNUC__] condition.
19574 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19575 condition to just [__USE_ISOC99].
19576 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19577
1a20cb20
L
195782013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19579
19580 [BZ #14200]
19581 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19582 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19583 defined.
19584 (_POSIX_V6_ILP32_OFF32): Likewise.
19585 (_XBS5_ILP32_OFF32): Likewise.
19586 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19587 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19588
751b85f7
SP
195892013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19590
7490eb81
SP
19591 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19592
751b85f7
SP
19593 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19594 doubles __mpexp_twomm1. Adjust usage.
19595 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19596 Remove.
19597
988197f0
AS
195982013-01-10 Andreas Schwab <schwab@suse.de>
19599
19600 [BZ #14964]
19601 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19602 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19603
e83d7298
DM
196042013-01-09 David S. Miller <davem@davemloft.net>
19605
034ed64b 19606 [BZ #15003]
57f41c40
AS
19607 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19608 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19609 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19610 (TCP_FASTOPEN): Define.
e83d7298
DM
19611 (tcp_repair_opt): New structure.
19612 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19613 enum values.
57f41c40
AS
19614 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19615 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19616 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
19617 (tcp_cookie_transactions): New structure.
19618
d5e0b9bd
AB
196192013-01-09 Anton Blanchard <anton@samba.org>
19620
19621 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19622 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19623 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19624 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19625
0c07e3ea
JM
196262013-01-09 Joseph Myers <joseph@codesourcery.com>
19627
19628 * include/features.h (__USE_ANSI): Remove.
19629
232f7002
RM
196302013-01-09 Roland McGrath <roland@hack.frob.com>
19631
ad98e30c
RM
19632 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19633
232f7002
RM
19634 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19635
950c99ca
SP
196362013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19637
b5792741
SP
19638 * sysdeps/s390/fpu/libm-test-ulps: Update.
19639
47cf2278
SP
19640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19641
950c99ca
SP
19642 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19643 (__acr): Likewise.
19644 (__cpy): Likewise.
19645 (norm): Likewise.
19646 (denorm): Likewise.
19647 (__mp_dbl): Likewise.
19648 (__dbl_mp): Likewise.
19649 (add_magnitudes): Likewise.
19650 (sub_magnitudes): Likewise.
19651 (__add): Likewise.
19652 (__sub): Likewise.
19653 (__mul): Likewise.
19654 (__inv): Likewise.
19655 (__dvd): Likewise.
19656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19657 (__acr): Likewise.
19658 (__cpy): Likewise.
19659 (norm): Likewise.
19660 (denorm): Likewise.
19661 (__mp_dbl): Likewise.
19662 (__dbl_mp): Likewise.
19663 (add_magnitudes): Likewise.
19664 (sub_magnitudes): Likewise.
19665 (__add): Likewise.
19666 (__sub): Likewise.
19667 (__mul): Likewise.
19668 (__inv): Likewise.
19669 (__dvd): Likewise.
19670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19671 (__acr): Likewise.
19672 (__cpy): Likewise.
19673 (norm): Likewise.
19674 (denorm): Likewise.
19675 (__mp_dbl): Likewise.
19676 (__dbl_mp): Likewise.
19677 (add_magnitudes): Likewise.
19678 (sub_magnitudes): Likewise.
19679 (__add): Likewise.
19680 (__sub): Likewise.
19681 (__mul): Likewise.
19682 (__inv): Likewise.
19683 (__dvd): Likewise.
19684
eede9df9
JM
196852013-01-08 Joseph Myers <joseph@codesourcery.com>
19686
19687 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19688 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19689 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19690 2 && __USE_EXTERN_INLINES]: Likewise.
19691
c40ea3d9
AJ
196922013-01-08 Andreas Jaeger <aj@suse.de>
19693
19694 [BZ# 14985]
19695 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19696 Remove.
19697 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19698 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19699
2ccdea26
AB
197002013-01-07 Anton Blanchard <anton@samba.org>
19701
19702 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19703 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19704 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19705 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19706 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19707 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19708 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19709 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19711 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19712 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19713 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19714 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19715 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19716 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19717 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19718 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19719 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19720 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19721 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19722 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19723 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19724 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19725 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19726 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19727 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19728 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19729 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19730 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19731 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19732 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19734 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19735 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19736 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19737 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19738 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19739 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19740 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19741 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19742 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19743 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19744 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19745
a9708fed
JM
197462013-01-07 Joseph Myers <joseph@codesourcery.com>
19747
375607b9
JM
19748 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19749 (__MALLOC_PMT): Likewise.
19750 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19751 [__GNUC__], only on [_LIBC].
19752 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19753 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19754 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19755 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19756 forward declaration.
19757 (realloc_hook_ini): Likewise.
19758 (memalign_hook_ini): Likewise.
19759 (__libc_memalign): Do not use __MALLOC_PMT in variable
19760 declaration.
19761 (__libc_valloc): Likewise.
19762 (__libc_pvalloc): Likewise.
19763 (__libc_calloc): Likewise.
19764 (__posix_memalign): Likewise.
19765
a9708fed
JM
19766 [BZ #14996]
19767 * math/s_casinh.c: Include <float.h>.
19768 (__casinh): Do not do computation with squaring and square root
19769 for large arguments.
19770 * math/s_casinhf.c: Include <float.h>.
19771 (__casinhf): Do not do computation with squaring and square root
19772 for large arguments.
19773 * math/s_casinhl.c: Include <float.h>.
19774 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19775 (__casinhl): Do not do computation with squaring and square root
19776 for large arguments.
19777 * math/libm-test.inc (casin_test): Add more tests.
19778 (casinh_test): Likewise.
19779 * sysdeps/i386/fpu/libm-test-ulps: Update.
19780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19781
afec409a
L
197822013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19783
19784 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19785 (__x86_64_raw_data_cache_size): Likewise.
19786 (__x86_64_data_cache_size_half): Likewise.
19787 (__x86_64_raw_data_cache_size_half): Likewise.
19788 (__x86_64_shared_cache_size): Likewise.
19789 (__x86_64_raw_shared_cache_size): Likewise.
19790 (__x86_64_shared_cache_size_half): Likewise.
19791 (__x86_64_raw_shared_cache_size_half): Likewise.
19792 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19793 to ...
19794 (__x86_data_cache_size): This.
19795 (__x86_64_raw_data_cache_size): Renamed to ...
19796 (__x86_raw_data_cache_size): This.
19797 (__x86_64_data_cache_size_half): Renamed to ...
19798 (__x86_data_cache_size_half): This.
19799 (__x86_64_raw_data_cache_size_half): Renamed to ...
19800 (__x86_raw_data_cache_size_half): This.
19801 (__x86_64_shared_cache_size): Renamed to ...
19802 (__x86_shared_cache_size): This.
19803 (__x86_64_raw_shared_cache_size): Renamed to ...
19804 (__x86_raw_shared_cache_size): This.
19805 (__x86_64_shared_cache_size_half): Renamed to ...
19806 (__x86_shared_cache_size_half): This.
19807 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19808 (__x86_raw_shared_cache_size_half): This.
19809 * sysdeps/x86_64/memcpy.S: Updated.
19810 * sysdeps/x86_64/memset.S: Likewise.
19811 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19812 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19813 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19814
0b3986d0
DM
198152013-01-04 David S. Miller <davem@davemloft.net>
19816
19817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19818
e47686e9
AS
198192013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19820
d643bac1
AS
19821 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19822 1 to avoid redefinition warning.
19823 (__USE_GNU): Don't define.
19824 (init_signaling_nan): Protoize.
19825
e47686e9
AS
19826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19827
b18decba
SP
198282013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19829
fffb407f
SP
19830 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19832 (__cpymn): Likewise.
19833 (norm): Remove commented code.
19834 (denorm): Likewise.
19835 (__mp_dbl): Likewise.
19836 (__inv): Likewise.
19837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19838 (__cpymn): Likewise.
19839 (norm): Remove commented code.
19840 (denorm): Likewise.
19841 (__mp_dbl): Likewise.
19842 (__inv): Likewise.
19843
b18decba
SP
19844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19845 mp_no value for 1.0 and 2.0.
19846 (norm): Use RADIXI instead of radixi.d.
19847 (denorm): Likewise.
19848 (__mul): Use 0.0 instead of zero.d.
19849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19850 mp_no value for 1.0 and 2.0.
19851 (norm): Use RADIXI instead of radixi.d.
19852 (denorm): Likewise.
19853 (__mul): Use 0.0 instead of zero.d.
19854
cdc1c96f
JM
198552013-01-04 Joseph Myers <joseph@codesourcery.com>
19856
19857 [BZ #14994]
19858 * math/s_casinh.c (__casinh): Reduce finite argument to first
19859 quadrant then set signs of results at the end.
19860 * math/s_casinhf.c (__casinhf): Likewise.
19861 * math/s_casinhl.c (__casinhl): Likewise.
19862 * math/libm-test.inc (casin_test): Add more tests.
19863 (casinh_test): Likewise.
19864 * sysdeps/i386/fpu/libm-test-ulps: Update.
19865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19866
302913e1
SP
198672013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19868
6420d207
SP
19869 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19870
a9e48ab4
SP
19871 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19872
b7837264
SP
19873 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19874 declarations.
19875 (denorm): Likewise.
19876 (__mp_dbl): Likewise.
19877 (__inv): Likewise.
19878
f8af25d2
SP
19879 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19880 and adjust the header comment.
19881
302913e1
SP
19882 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19883 variable name from declaration.
19884
5d7dd1ca
L
198852013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19886
19887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19888 Initialize COMMON_CPUID_INDEX_7 element.
19889 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19890 (CPUID_RTM): Likewise.
19891 (HAS_RTM): Likewise.
19892 (COMMON_CPUID_INDEX_7): New enum.
19893
2f5f40f4
AS
198942013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19895
19896 [BZ #14981]
19897 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19898 size is zero, record memory as freed.
19899
4056f4a0
AJ
199002013-01-03 Andreas Jaeger <aj@suse.de>
19901
19902 * po/ia.po: Add new Interlingua translation.
19903
ab15736f 199042012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19905
19906 * locale/programs/localedef.c: Fix description of '--posix' flag.
19907
568035b7
JM
199082013-01-02 Joseph Myers <joseph@codesourcery.com>
19909
e6898b8d
JM
19910 * NEWS: Update dates in second copyright notice.
19911 * README: Update copyright dates in example.
19912 * manual/libc.texinfo: Update copyright dates.
19913 * scripts/test-installation.pl: Update copyright date in --version
19914 output.
19915
0e2f9562
JM
19916 * hurd/ctty-input.c: Fix copyright notice formatting.
19917 * hurd/ctty-output.c: Likewise.
19918 * hurd/dtable.c: Likewise.
19919 * hurd/hurd-raise.c: Likewise.
19920 * hurd/hurdprio.c: Likewise.
19921 * hurd/msgportdemux.c: Likewise.
19922 * misc/sys/file.h: Likewise.
19923 * misc/sys/ioctl.h: Likewise.
19924 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19925 * sysdeps/mach/hurd/chdir.c: Likewise.
19926 * sysdeps/mach/hurd/fchdir.c: Likewise.
19927 * sysdeps/mach/hurd/rename.c: Likewise.
19928 * sysdeps/mach/hurd/rmdir.c: Likewise.
19929 * sysdeps/mach/hurd/seekdir.c: Likewise.
19930 * sysdeps/mach/hurd/setsid.c: Likewise.
19931 * sysdeps/posix/wait3.c: Likewise.
19932
568035b7
JM
19933 * All files with FSF copyright notices: Update copyright dates
19934 using scripts/update-copyrights.
19935 * intl/plural.c: Regenerated.
19936 * locale/programs/charmap-kw.h: Likewise.
19937 * locale/programs/locfile-kw.h: Likewise.
19938
da08f647
SP
199392013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19940
0f5477af
SP
19941 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19942 four values.
19943
44e0d4c2
SP
19944 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19945 calculation loop and add branch prediction.
19946
4d55b4e5
SP
19947 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19948 check access beyond bounds of m1np.
19949
da08f647
SP
19950 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19951 MPTWO.
19952 (__inv): Remove local variable MPTWO to use the global
19953 constant.
19954 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19955 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19956 variable MPTWO.
19957 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19958 MP3HALFS static const.
19959
8e051029
DM
199602013-01-01 David S. Miller <davem@davemloft.net>
19961
19962 * po/ca.po: Update from translation team.
19963
f4cf5f2d
JM
199642013-01-01 Joseph Myers <joseph@codesourcery.com>
19965
19966 * scripts/update-copyrights: New file.
19967 * Makeconfig: Reformat copyright notice.
19968 * ctype/ctype.h: Likewise.
19969 * debug/swprintf_chk.c: Likewise.
19970 * elf/dl-cache.c: Likewise.
19971 * elf/dl-debug.c: Likewise.
19972 * elf/dl-object.c: Likewise.
19973 * grp/initgroups.c: Likewise.
19974 * hurd/Makefile: Likewise.
19975 * hurd/hurd/signal.h: Likewise.
19976 * hurd/hurdfault.c: Likewise.
19977 * hurd/hurdioctl.c: Likewise.
19978 * hurd/hurdlookup.c: Likewise.
19979 * hurd/intr-msg.c: Likewise.
19980 * iconv/gconv_open.c: Likewise.
19981 * libio/swprintf.c: Likewise.
19982 * locale/lc-ctype.c: Likewise.
19983 * locale/nl_langinfo.c: Likewise.
19984 * mach/Machrules: Likewise.
19985 * mach/Makefile: Likewise.
19986 * malloc/obstack.h: Likewise.
19987 * manual/Makefile: Likewise.
19988 * manual/tsort.awk: Likewise.
19989 * misc/bits/stab.def: Likewise.
19990 * nis/nis_print_group_entry.c: Likewise.
19991 * nis/nis_table.c: Likewise.
19992 * nis/nss_compat/compat-pwd.c: Likewise.
19993 * nis/nss_compat/compat-spwd.c: Likewise.
19994 * po/Makefile: Likewise.
19995 * posix/fnmatch.c: Likewise.
19996 * posix/regex.h: Likewise.
19997 * resolv/Makefile: Likewise.
19998 * resolv/nss_dns/dns-network.c: Likewise.
19999 * resolv/res_hconf.c: Likewise.
20000 * scripts/gen-sorted.awk: Likewise.
20001 * soft-fp/soft-fp.h: Likewise.
20002 * stdio-common/printf.h: Likewise.
20003 * stdlib/monetary.h: Likewise.
20004 * stdlib/random.c: Likewise.
20005 * stdlib/random_r.c: Likewise.
20006 * sysdeps/generic/Makefile: Likewise.
20007 * sysdeps/gnu/Makefile: Likewise.
20008 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20009 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20010 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20012 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20013 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20014 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20015 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20016 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20017 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20018 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20019 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20020 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20021 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20022 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20023 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20024 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20025 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20026 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20027 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20028 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20029 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20030 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20031 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20032 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20033 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20034 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20035 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20036 * sysdeps/mach/hurd/errnos.awk: Likewise.
20037 * sysdeps/mach/hurd/fork.c: Likewise.
20038 * sysdeps/mach/hurd/getcwd.c: Likewise.
20039 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20040 * sysdeps/mach/hurd/mmap.c: Likewise.
20041 * sysdeps/mach/hurd/utimes.c: Likewise.
20042 * sysdeps/mach/hurd/xmknod.c: Likewise.
20043 * sysdeps/posix/profil.c: Likewise.
20044 * sysdeps/posix/readdir_r.c: Likewise.
20045 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20046 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20047 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20048 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20050 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20051 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20052 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20054 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20055 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20056 * sysdeps/pthread/lio_listio.c: Likewise.
20057 * sysdeps/sparc/dl-procinfo.h: Likewise.
20058 * sysdeps/unix/i386/sysdep.S: Likewise.
20059 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20060 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20061 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20062 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20064 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20065 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20066 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20067 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20068 * sysdeps/wordsize-32/divdi3.c: Likewise.
20069 * time/sys/time.h: Likewise.
20070 * wcsmbs/Makefile: Likewise.
20071
0549fbba
DM
200722013-01-01 David S. Miller <davem@davemloft.net>
20073
a141f1a7
DM
20074 * po/fr.po: Update from translation team.
20075
0549fbba
DM
20076 * catgets/gencat.c: Update copyright year.
20077 * csu/version.c: Likewise.
20078 * debug/catchsegv.sh: Likewise.
20079 * debug/pcprofiledump.c: Likewise.
20080 * debug/xtrace.sh: Likewise.
20081 * elf/ldconfig.c: Likewise.
20082 * elf/ldd.bash.in: Likewise.
20083 * elf/pldd.c: Likewise.
20084 * elf/sotruss.ksh: Likewise.
20085 * elf/sprof.c: Likewise.
20086 * iconv/iconv_prog.c: Likewise.
20087 * iconv/iconvconfig.c: Likewise.
20088 * locale/programs/locale.c: Likewise.
20089 * locale/programs/localedef.c: Likewise.
20090 * login/programs/pt_chown.c: Likewise.
20091 * malloc/memusage.sh: Likewise.
20092 * malloc/memusagestat.c: Likewise.
20093 * malloc/mtrace.pl: Likewise.
20094 * nscd/nscd.c: Likewise.
20095 * nss/getent.c: Likewise.
20096 * nss/makedb.c: Likewise.
20097 * posix/getconf.c: Likewise.
20098
18ea052c
SP
200992012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20100
20101 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20102 numbers.
20103
9c89fca6
MF
201042012-12-30 Mike Frysinger <vapier@gentoo.org>
20105
20106 * math/bits/mathcalls.h (modf): Use __nonnull.
20107
085ec079
SP
201082012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20109
20110 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20111 (split): Use macro CN instead of the bare value.
20112 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20113 could be used.
20114 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20115 instead of the bare value.
20116 (power1): Likewise.
20117
6d9f97e1
SP
201182012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20119
d63f73be
SP
20120 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20121 __ATAN_TWOM.
20122 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20123
6d9f97e1
SP
20124 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20125 their values.
20126 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20127 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20128 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20129 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20130
4c4febf5
AJ
201312012-12-28 Andreas Jaeger <aj@suse.de>
20132
af5843ef
AJ
20133 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20134 values are from Linux 3.7.
20135
4c4febf5
AJ
20136 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20137 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20138
99136f82
SP
201392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20140
2f216c3c 20141 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20142 TRUE case.
20143
99136f82
SP
20144 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20145 (norm): Likewise.
20146 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20147 variables with preprocessor constants.
20148 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20149 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20150 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20151
7fffbdff
BH
201522012-12-27 Bruno Haible <bruno@clisp.org>
20153
20154 [BZ #14317]
20155 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20156 only if needed.
20157
b76eb5f0
SP
201582012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20159
31a7fe5c
SP
20160 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20161 and use variable directly.
20162 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20163
b76eb5f0
SP
20164 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20165 MPONE.
20166 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20167 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20168 variable MPONE.
20169 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20170 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20171 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20172 include directive. Remove local variable MPONE.
20173 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20174 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20175 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20176
2c8bfe7d
DM
201772012-12-25 David S. Miller <davem@davemloft.net>
20178
20179 * version.h (RELEASE): Set to "development".
20180 (VERSION): Set to "2.17.90".
20181 * NEWS: Add 2.18 section.
20182
147d03b0
DM
201832012-12-21 David S. Miller <davem@davemloft.net>
20184
20185 * po/hr.po: Update from translation team.
20186
a8ebb2b9
AK
201872012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20188
20189 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20190
95b4f1b6
SE
201912012-12-19 Steve Ellcey <sellcey@mips.com>
20192
b2d94007 20193 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20194
cedb2a90
MS
201952012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20196
20197 * manual/contrib.texi (Contributors): Spelling correction.
20198
bbf527d6
DM
201992012-12-15 David S. Miller <davem@davemloft.net>
20200
20201 * po/ru.po: Update from translation team.
20202
bc38c906
DM
202032012-12-13 David S. Miller <davem@davemloft.net>
20204
85429b1a
DM
20205 * NEWS: Mention IFUNC testsuite enhancements.
20206
d283e353
DM
20207 * po/pl.po: Update from translation team.
20208 * po/bg.po: Likewise.
20209
bc38c906
DM
20210 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20211 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20212
a181b0d7
DM
202132012-12-11 David S. Miller <davem@davemloft.net>
20214
4641d57e
DM
20215 * po/sv.po: Update from translation team.
20216
f7bc6495
DM
20217 * po/vi.po: Update from translation team.
20218
6fc9048f
DM
20219 * po/cs.po: Update from translation team.
20220
a181b0d7
DM
20221 * po/de.po: Update from translation team.
20222 * po/eo.po: Likewise.
20223 * po/nl.po: Likewise.
20224
f70bfe80
SP
202252012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20226
3c8b4190
SP
20227 [BZ #14246]
20228 * manual/argp.texi (Argp Helper Functions): Move node to follow
20229 Argp Parsing State.
20230
f70bfe80
SP
20231 [BZ #14872]
20232 * manual/conf.texi (Limits on File System Capacity): Mention if
20233 terminating null is included in the max size.
20234
188f0adf
AJ
202352012-12-10 Andreas Jaeger <aj@suse.de>
20236
20237 * po/cs.po: Update from translation team.
20238
56e7d3ad
SP
202392012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20240
20241 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20242 void pointer and cast to uintptr_t.
20243 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20244 path.
20245 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20246 * sysdeps/s390/s390-64/memset.S: Likewise.
20247
76f2d2ea 202482012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20249
20250 [BZ #14833]
20251 * menual/message.texi (Message Translation): Fix typos.
20252 (Helper programs for gettext): Likewise.
20253
67cbf9a2
AS
202542012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20255
20256 [BZ #14898]
20257 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20258 Change to -1.
20259
682d0e9a
DM
202602012-12-07 David S. Miller <davem@davemloft.net>
20261
20262 * po/libc.pot: Update.
20263
573cd484
RH
202642012-12-07 Richard Henderson <rth@redhat.com>
20265
7e9da188 20266 [BZ #10114]
573cd484
RH
20267 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20268 normal/normal case to before the switch.
20269 (_FP_DIV): Likewise.
20270
e933a943
MF
202712012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20272 Mike Frysinger <vapier@gentoo.org>
20273
20274 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20275 check for __NR_fadvise64_64.
20276
82123268
CM
202772012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20278
20279 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20280 0, not just to plain "0" as a statement.
20281 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20282 with cw.
20283
d9814526
JM
202842012-12-06 Joseph Myers <joseph@codesourcery.com>
20285
20286 * NEWS: Use sourceware.org in Bugzilla URL.
20287
7728c574
SP
202882012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20289
f16946dd
SP
20290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20291 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20292
5704bbcb
SP
20293 * stdio-common/tst-put-error.c (do_test): Add newline to the
20294 padded test to ensure flush.
20295
17aa0516
JL
202962012-12-05 Jeff Law <law@redhat.com>
20297
20298 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20299
363313b5
JM
203002012-12-05 Joseph Myers <joseph@codesourcery.com>
20301
effbd42a
JM
20302 * README: Don't refer to ports add-on as distributed separately.
20303 Mention AArch64 in list of systems supported in the ports add-on.
20304
87600365
JM
20305 * LICENSES: Add more non-FSF copyright and license notices.
20306
a0d7066a
JM
20307 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20308 ((unused)).
20309
66ca5a5b
JM
20310 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20311
363313b5
JM
20312 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20313 10000 as width of padded output.
20314
b37984ad
JM
203152012-12-04 Joseph Myers <joseph@codesourcery.com>
20316
9003570a
JM
20317 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20318
b37984ad
JM
20319 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20320 variable LX with __attribute__ ((unused)).
20321 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20322 Likewise.
20323 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20324 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20325 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20326 with __attribute__ ((unused)).
20327
c8df52ec
DM
203282012-12-04 David S. Miller <davem@abraco.davemloft.net>
20329
20330 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20331
b3b099af
JM
203322012-12-04 Joseph Myers <joseph@codesourcery.com>
20333
c33aa6e3
JM
20334 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20335 (CFLAGS-nldbl-acos.c): New variable.
20336 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20337 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20338 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20339 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20340 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20341 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20342 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20343 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20344 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20345 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20346 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20347 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20348 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20349 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20350 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20351 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20352 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20353 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20354 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20355 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20356 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20357 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20358 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20359 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20360 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20361 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20362 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20363 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20364 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20365 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20366 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20367 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20368 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20369 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20370 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20371 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20372 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20373 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20374 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20375 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20376 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20377 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20378 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20379 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20380 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20381 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20382 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20383 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20384 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20385 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20386 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20387 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20388 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20389 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20390 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20391 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20392 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20393 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20394 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20395 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20396 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20397 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20398 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20399 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20400 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20401 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20402 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20403 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20404 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20405 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20406 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20407 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20408 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20409 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20410 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20411 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20412 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20413 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20414 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20415 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20416 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20417 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20418 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20419 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20420 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20421 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20422 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20423 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20424 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20425 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20426 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20427 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20428 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20429 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20430 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20431 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20432 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20433
20f0018d
JM
20434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20435 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20436
b3b099af
JM
20437 [BZ #14914]
20438 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20439 whole low double instead of just low 47 bits when splitting values
20440 into two parts.
20441
029264d1
AM
204422012-12-03 Allan McRae <allan@archlinux.org>
20443
20444 * manual/stdio.texi (Predefined Printf Handlers): Remove
20445 @hsep and @vsep usage.
20446
c9d6789e
MF
204472012-12-03 Mike Frysinger <vapier@gentoo.org>
20448
20449 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20450 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20451
4b7634a5
JL
204522012-12-03 Jeff Law <law@redhat.com>
20453
20454 * time/sys/time.h (settimeofday): Do not mark TV argument
20455 as __nonnull.
20456
eb6cbd24
MF
204572012-12-01 Mike Frysinger <vapier@gentoo.org>
20458
20459 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20460 when currently writing and seek to current position when not.
20461 * libio/Makefile (tests): Remove bug-fclose1.
20462 * libio/bug-fclose1.c: Delete.
20463
f638872a
JM
204642012-12-01 Joseph Myers <joseph@codesourcery.com>
20465
20466 * manual/arith.texi (feenableexcept): Fix typo.
20467 (fedisableexcept): Likewise.
20468
48085d14
RM
204692012-11-30 Roland McGrath <roland@hack.frob.com>
20470
20471 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20472 second, differently-typed declaration, rather than a cast.
20473
1a538b9f
SP
204742012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20475
20476 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20477 * include/rpc/svc.h: ... here.
20478
d07f2ff1 204792012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20480
20481 [BZ #13013]
20482 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20483 depending n and resplen2 to catch cases where answer
20484 equals answerp2.
20485
c93ec1f0
CD
204862012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20487
20488 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20489 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20490
37db69de
MF
204912012-11-29 Mike Frysinger <vapier@gentoo.org>
20492
20493 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20494
e10c4e4f
RM
204952012-11-29 Roland McGrath <roland@hack.frob.com>
20496
20497 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20498
2af1b328
JL
204992012-11-28 Jeff Law <law@redhat.com>
20500
20501 [BZ #13761]
20502 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20503 dataset_temporary. Track alloca usage into alloca_used.
20504 If dataset is large allocate and release it via malloc/free.
20505
111db5b1
FW
205062012-06-04 Florian Weimer <fweimer@redhat.com>
20507
f06cc227 20508 [BZ #14197]
111db5b1
FW
20509 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20510
dd694abd
DM
205112012-11-28 David S. Miller <davem@davemloft.net>
20512
20513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20514
9984dd01
JM
205152012-11-28 Joseph Myers <joseph@codesourcery.com>
20516
20517 [BZ #14803]
20518 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20519 of pi/2 rounded to nearest to 64 bits.
20520 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20521 nearest to 64 bits.
20522 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20523 bits.
20524
14bc93a9
JL
205252012-11-28 Jeff Law <law@redhat.com>
20526 Martin Osvald <mosvald@redhat.com>
20527
20528 [BZ #14889]
20529 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20530 * sunrpc/svc.c: Include time.h.
20531 (__svc_accept_failed): New function.
20532 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20533 any reason other than EINTR, call __svc_accept_failed.
20534 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20535 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20536
e3c6aa3a
AS
205372012-11-28 Andreas Schwab <schwab@suse.de>
20538
20539 * scripts/abilist.awk: Also handle indirect functions in .opd
20540 section.
20541
1bead169
JM
205422012-11-28 Joseph Myers <joseph@codesourcery.com>
20543
20544 [BZ #13881]
20545 * sysdeps/x86/fpu/powl_helper.c: New file.
20546 * sysdeps/x86/fpu/Makefile: Likewise.
20547 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20548 (p3): New object.
20549 (__ieee754_powl): Use __powl_helper for finite arguments except
20550 integer exponents below 8.
20551 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20552 (p3): New object.
20553 (__ieee754_powl): Use __powl_helper for finite arguments except
20554 integer exponents below 8.
20555 * math/libm-test.inc (pow_test): Add more tests and enable some
20556 previously disabled tests.
20557 * sysdeps/i386/fpu/libm-test-ulps: Update.
20558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20559
0817d63d
SP
205602012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20561 Carlos O'Donell <carlos_odonell@mentor.com>
20562
20563 * nss/makedb.c (is_prime): Assert that input is odd and greater
20564 than 4. Note that fact in a comment too.
20565 (next_prime): Add 4 to input.
20566
de2fd463
SP
205672012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20568
20569 [BZ #11741]
20570 * libio/Makefile (tests): Add test case tst-fwrite-error.
20571 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20572 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20573 * libio/tst-fwrite-error.c: New test case.
20574
c515fb51
L
205752012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20576
20577 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20578 before casting to void *.
20579 * include/libc-internal.h (__pointer_type): New macro.
20580 (__integer_if_pointer_type_sub): Likewise.
20581 (__integer_if_pointer_type): Likewise.
20582 (cast_to_integer): Likewise.
20583 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20584 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20585 before casting to atomic64_t.
20586 (atomic_exchange_acq): Likewise.
20587 (__arch_exchange_and_add_body): Likewise.
20588 (__arch_add_body): Likewise.
20589 (atomic_add_negative): Likewise.
20590 (atomic_add_zero): Likewise.
20591
4cf77aa9
JM
205922012-11-26 Joseph Myers <joseph@codesourcery.com>
20593
20594 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20595 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20596 (add_fdes): Likewise.
20597 (linear_search_fdes): Likewise.
20598 (binary_search_unencoded_fdes): Likewise.
20599
d260b3b4
AS
206002012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20601
20602 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20603
67060746
AC
206042012-11-24 Adam Conrad <adconrad@0c3.net>
20605
20606 * configure.in: Autodetect C++ header directories.
20607 * configure: Regenerated.
20608
800938a1
MF
206092012-11-23 Mike Frysinger <vapier@gentoo.org>
20610
20611 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20612
4e6e34e6
AS
206132012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20614
20615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20616
7c7feb47
JM
206172012-11-22 Joseph Myers <joseph@codesourcery.com>
20618
7184dcdf
JM
20619 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20620 LDBL_MANT_DIG == 106]: Disable some tests.
20621 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20622 Likewise.
20623 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20624 Likewise.
20625
0a42601f
JM
20626 [BZ #14871]
20627 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20628 input for small inputs. Return +/- pi/2 for large inputs.
20629 * math/libm-test.inc (atan_test): Add more tests.
20630
79c9b9fe
JM
20631 * sysdeps/generic/unwind-dw2-fde-glibc.c
20632 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20633 __attribute__ ((unused)).
20634
c60d3bf2
JM
20635 [BZ #14645]
20636 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20637 x * y if x and y are nonzero and z is zero.
20638
ef1e0867
JM
20639 [BZ #14811]
20640 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20641 nonzero exponents with absolute value below 0x1p-117 to +/-
20642 0x1p-117.
20643
1468ded3
JM
20644 [BZ #14869]
20645 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20646 up arguments below 2**-450, not just those below 2**-500.
20647 * math/libm-test.inc (hypot_test): Add another test.
20648
8e27e3cc
JM
20649 [BZ #14868]
20650 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20651 Return a+b for ratio over 2**120, not 2**60.
20652 * math/libm-test.inc (hypot_test): Add another test.
20653
c9c0279b
JM
20654 * math/libm-test.inc (clog_test): Use
20655 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20656 (clog10_test): Likewise.
20657
7c7feb47
JM
20658 [BZ #6778]
20659 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20660
fff1530e
AS
206612012-11-22 Andreas Schwab <schwab@suse.de>
20662
20663 * sysdeps/i386/fpu/libm-test-ulps: Update.
20664
94558d30
PT
206652012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20666
20667 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20668 printf output with newline.
20669
7e1be741
L
206702012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20671
6bfea974
L
20672 [BZ #14865]
20673 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20674 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20675 -z nodlopen, -z initfirst and -z execstack support.
20676 * configure: Regenerated.
20677
7e1be741
L
20678 * elf/elf.h (DF_1_NODIRECT): New macro.
20679 (DF_1_IGNMULDEF): Likewise.
20680 (DF_1_NOKSYMS): Likewise.
20681 (DF_1_NOHDR): Likewise.
20682 (DF_1_EDITED): Likewise.
20683 (DF_1_NORELOC): Likewise.
20684 (DF_1_SYMINTPOSE): Likewise.
20685 (DF_1_GLOBAUDIT): Likewise.
20686 (DF_1_SINGLETON): Likewise.
20687 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20688 DT_1_SUPPORTED_MASK bits.
20689 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20690
105ce2ce
CD
206912012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20692
20693 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20694
123be9de
TS
206952012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20696
d072f3f7
TS
20697 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20698 macro.
20699
123be9de
TS
20700 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20701 (sendmmsg): Move declarations...
20702 * socket/sys/socket.h: ... here.
20703 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20704 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20705 include it from...
20706 * socket/recvmmsg.c: ... this new file.
20707 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20708 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20709 definition of __sendmmsg hidden.
20710 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20711 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20712 Move ENOSYS stub into and include it from...
20713 * socket/sendmmsg.c: ... this new file.
20714 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20715 (sysdep_routines): Move recvmmsg and sendmmsg...
20716 * socket/Makefile (routines): ... here.
20717 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20718 (GLIBC_PRIVATE): Add __sendmmsg.
20719 * include/sys/socket.h (__sendmmsg): Add declarations.
20720 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20721 sendmmsg.
20722
cf9a5d18
JM
207232012-11-20 Joseph Myers <joseph@codesourcery.com>
20724
20725 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20726 variable I1 with __attribute__ ((unused)).
20727 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20728
ecd4caf9
JM
207292012-11-19 Joseph Myers <joseph@codesourcery.com>
20730
be14d48f
JM
20731 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20732 DUMMY variables with __attribute__ ((unused)).
20733
ecd4caf9
JM
20734 * bits/byteswap.h: Include <bits/types.h>.
20735 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20736
986cab95
PT
207372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20738
20739 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20740 string_t. Do not manually set errno.
20741 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20742 length with __strnlen. Make sure to both set errno and return it on
20743 failure.
20744
6d33cc9d
DM
207452012-11-19 David S. Miller <davem@davemloft.net>
20746
20747 With help from Joseph Myers.
20748 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20749 very large arguments properly.
20750 * math/libm-test.inc (atan_test): New tests.
20751 (atan2_test): New tests.
20752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20754
ee663277
JM
207552012-11-19 Joseph Myers <joseph@codesourcery.com>
20756
877f2d8e
JM
20757 [BZ #14856]
20758 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20759 Define to 3.
20760
116fc08a
JM
20761 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20762 [POSIX] (EADDRNOTAVAIL): Likewise.
20763 [POSIX] (EAFNOSUPPORT): Likewise.
20764 [POSIX] (EALREADY): Likewise.
20765 [POSIX] (ECONNABORTED): Likewise.
20766 [POSIX] (ECONNREFUSED): Likewise.
20767 [POSIX] (ECONNRESET): Likewise.
20768 [POSIX] (EDESTADDRREQ): Likewise.
20769 [POSIX] (EDQUOT): Likewise.
20770 [POSIX] (EHOSTUNREACH): Likewise.
20771 [POSIX] (EIDRM): Likewise.
20772 [POSIX] (EISCONN): Likewise.
20773 [POSIX] (ELOOP): Likewise.
20774 [POSIX] (EMULTIHOP): Likewise.
20775 [POSIX] (ENETDOWN): Likewise.
20776 [POSIX] (ENETUNREACH): Likewise.
20777 [POSIX] (ENOBUFS): Likewise.
20778 [POSIX] (ENODATA): Likewise.
20779 [POSIX] (ENOLINK): Likewise.
20780 [POSIX] (ENOMSG): Likewise.
20781 [POSIX] (ENOPROTOOPT): Likewise.
20782 [POSIX] (ENOSR): Likewise.
20783 [POSIX] (ENOSTR): Likewise.
20784 [POSIX] (ENOTCONN): Likewise.
20785 [POSIX] (ENOTSOCK): Likewise.
20786 [POSIX] (EOPNOTSUPP): Likewise.
20787 [POSIX] (EOVERFLOW): Likewise.
20788 [POSIX] (EPROTO): Likewise.
20789 [POSIX] (EPROTONOSUPPORT): Likewise.
20790 [POSIX] (EPROTOTYPE): Likewise.
20791 [POSIX] (ESTALE): Likewise.
20792 [POSIX] (ETIME): Likewise.
20793 [POSIX] (ETXTBSY): Likewise.
20794 [POSIX] (EWOULDBLOCK): Likewise.
20795 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20796 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20797 [POSIX] (SEEK_CUR): Likewise.
20798 [POSIX] (SEEK_END): Likewise.
20799 [POSIX || UNIX98] (mode_t): Do not require.
20800 [POSIX] (off_t): Likewise.
20801 [POSIX] (pid_t): Likewise.
20802 [POSIX] (sys/stat.h): Do not allow header.
20803 [POSIX] (unistd.h): Likewise.
20804 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20805 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20806 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20807 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20808 require.
20809 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20810 sigevent): Specify elements.
20811 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20812 entry.
20813 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20814 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20815
a483863f
JM
20816 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20817 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20818 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20819 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20820 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20821 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20822 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20823 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20824 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20825 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20826 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20827 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20828 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20829 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20830 Likewise.
20831 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20832 Likewise.
20833 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20834 Likewise.
20835 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20836 Likewise.
20837 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20838 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20839 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20840 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20841 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20842 Specify lower bound on value.
20843 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20844 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20845 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20846 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20847 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20848 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20849 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20850 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20851 value.
20852 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20853 as optional.
20854 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20855 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20856 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20857 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20858 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20859 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20860 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20861 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20862 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20863 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20864 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20865 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20866 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20867 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20868 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20869 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20870 entry.
20871 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20872 optional.
20873 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20874 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20875 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20876 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20877 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20878 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20879 Likewise.
20880 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20881 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20882 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20883 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20884 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20885 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20886 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20887 as optional.
20888 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20889 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20890 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20891 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20892 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20893 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20894 specify as optional.
20895 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20896 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20897 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20898 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20899 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20900 [XPG3] (NL_LANGMAX): Likewise.
20901 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20902 [POSIX || XPG3] (NL_NMAX): Likewise.
20903 [POSIX || XPG3] (NL_SETMAX): Likewise.
20904 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20905 [XPG3] (NZERO): Likewise.
20906 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20907 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20908 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20909 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20910 (REG_ERANGE): Expect.
20911 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20912 optional-constant.
20913 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20914 Use (void) in prototype.
20915 [POSIX] (*_t): Allow.
20916 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20917 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20918 (WRDE_BADVAL): Expect.
20919
5ba924e3
JM
20920 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20921 expect.
20922 [XPG3 || XPG4] (O_RSYNC): Likewise.
20923 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20924 Likewise.
20925 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20926 [XPG3 || XPG4] (sigqueue): Likewise.
20927 [XPG3 || XPG4] (sigtimedwait): Likewise.
20928 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20929 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20930 [XPG3 || XPG4] (vsnprintf): Likewise.
20931 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20932 Likewise.
20933 [XPG3 || XPG4] (blksize_t): Likewise.
20934 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20935 Likewise.
20936 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20937 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20938 [XPG3 || XPG4] (struct itimerspec): Likewise.
20939 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20940 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20941 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20942 [XPG3 || XPG4] (clockid_t): Likewise.
20943 [XPG3 || XPG4] (timer_t): Likewise.
20944 [XPG3 || XPG4] (clock_getres): Likewise.
20945 [XPG3 || XPG4] (clock_gettime): Likewise.
20946 [XPG3 || XPG4] (clock_settime): Likewise.
20947 [XPG3 || XPG4] (nanosleep): Likewise.
20948 [XPG3 || XPG4] (timer_create): Likewise.
20949 [XPG3 || XPG4] (timer_delete): Likewise.
20950 [XPG3 || XPG4] (timer_gettime): Likewise.
20951 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20952 [XPG3 || XPG4] (timer_settime): Likewise.
20953 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20954 [XPG3 || XPG4] (getlogin_r): Likewise.
20955 [XPG3 || XPG4] (pread): Likewise.
20956 [XPG3 || XPG4] (pthread_atfork): Likewise.
20957 [XPG3 || XPG4] (pwrite): Likewise.
20958
ee663277
JM
20959 [BZ #14835]
20960 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20961 <bits/siginfo.h>.
20962
942caa16
PT
209632012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20964
e19af380
PT
20965 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20966 finalizing MALLSTREAM.
20967
942caa16
PT
20968 * sysdeps/mach/hurd/syncfs.c: New file.
20969
cfde9b46
SP
209702012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20971
20972 [BZ #14719]
20973 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20974 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20975 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20976 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20977 (_nss_dns_gethostbyname4_r): Likewise.
20978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20979 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20980
f6da27e5
PH
209812012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20982
20983 [BZ #13763]
20984 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20985
6665d4a2
SM
209862012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20987
1f51ee92
SM
20988 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20989 * elf/cache.c (print_entry): Print ",AArch64" for
20990 FLAG_AARCH64_LIB64
20991
6665d4a2
SM
20992 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20993 * elf/cache.c (print_entry): Print ",hard-float" for
20994 FLAG_ARM_LIBHF.
20995
05b227bd
DM
209962012-11-18 David S. Miller <davem@davemloft.net>
20997
20998 With help from Joseph Myers.
20999 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21000 cutoff to 2**-13.
21001 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21002 cutoff to 2**-25.
21003 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21004 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21005 small.
21006 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21007 * math/libm-test.inc (y0_test): New tests.
21008 (y1_test): New tests.
21009 * sysdeps/i386/fpu/libm-test-ulps: Update.
21010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21012
786b0b67
AS
210132012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21014
21015 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21016 64-bit targets.
21017 * configure: Regenerated.
21018
8e18b86d
DM
210192012-11-17 David S. Miller <davem@davemloft.net>
21020
21021 [BZ #14811]
21022 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21023 nonzero exponents with absolute value below 0x1p-128 to +/-
21024 0x1p-128.
21025
531f1ae0
JM
210262012-11-17 Joseph Myers <joseph@codesourcery.com>
21027
12df29e2
JM
21028 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21029
150dc1a0
JM
21030 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21031
531f1ae0
JM
21032 * posix/getconf-speclist.c: New file.
21033 * posix/posix-envs.def: Likewise.
21034 * posix/confstr.c (START_ENV_GROUP): New macro.
21035 (END_ENV_GROUP): Likewise.
21036 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21037 (KNOWN_PRESENT_ENV_STRING): Likewise.
21038 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21039 (UNKNOWN_ENVIRONMENT): Likewise.
21040 (confstr): Include posix-envs.def instead of handling
21041 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21042 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21043 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21044 (END_ENV_GROUP): Likewise.
21045 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21046 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21047 (UNKNOWN_ENVIRONMENT): Likewise.
21048 (__sysconf): Include posix-envs.def instead of handling associated
21049 cases directly here.
21050 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21051 preprocessing getconf-speclist.c rather than running getconf or
21052 generating empty file.
21053
a93f9cbc
PT
210542012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21055
21056 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21057
d64d9f87
AL
210582012-11-16 Andrej Lajovic <natrij@gmail.com>
21059
21060 [BZ #14672]
21061 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21062
447885eb
DM
210632012-11-16 David S. Miller <davem@davemloft.net>
21064
21065 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21066 smaller than LDBL_EPSILON/2.0L, just return xm1.
21067
bcbf9830
L
210682012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21069
21070 * elf/tst-array1.c (init): Set constructor priority to 1000.
21071 (fini): Set destructor priority to 1000.
21072 * elf/tst-array2dep.c: Likewise.
21073
2b766585
SP
210742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21075
21076 [BZ #11741]
21077 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21078 (_IO_new_file_xsputn): Also return EOF if none of the input
21079 data was written when overflow failed.
21080 * libio/iopadn.c (_IO_padn): Likewise.
21081 * libio/iowpadn.c (_IO_wpadn): Likewise.
21082 * stdio-common/tst-put-error.c: Add copyright notice.
21083 (do_test): Add case for printing padded string.
21084 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21085 _IO_padn returned error.
21086 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21087 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21088 return EOF.
21089
b1848fde
SP
210902012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21091
21092 * libio/libioP.h: Add comment note that the references to C++
21093 bits are now obsolete.
21094
2fd89785
MS
210952012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21096
21097 * math/libm-test.inc (check_complex): Use asprintf.
21098
e3ea5409
JM
210992012-11-14 Joseph Myers <joseph@codesourcery.com>
21100
21101 * debug/pcprofiledump.c (print_version): Update copyright year.
21102 * malloc/memusagestat.c (print_version): Likewise.
21103
2e64d265
L
211042012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21105
21106 [BZ #14831]
21107 * elf/Makefile (tests): Add tst-audit8.
21108 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21109 ($(objpfx)tst-audit8.out): New target.
21110 (tst-audit8-ENV): New variable.
21111 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21112 audit if l_reloc_result is NULL.
21113 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21114 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21115 * elf/tst-audit8.c: New file.
21116
c485e4d2
MS
211172012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21118
21119 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21120 * misc/Makefile (CFLAGS-select.c): Define.
21121 * posix/Makefile (CFLAGS-pause.c): Define.
21122
3a0d900a
DM
211232012-11-13 David S. Miller <davem@davemloft.net>
21124
21125 * crypt/Makefile: Move test targets after toplevel Rules
21126 inclusion. Grab any necessary sysdep routines when linking.
21127 * crypt/md5.c (md5_process_block): Remove define, we will always
21128 name it __md5_process_block.
21129 (md5_finish_ctx): Update md5_process_block call.
21130 (md5_stream): Likewise.
21131 (md5_process_bytes): Likewise.
21132 (md5_process_block): Rename to __md5_process_block and move to ...
21133 * crypt/md5-block.c: ... here.
21134 * crypt/sha256.c (sha256_process_block): Move to ...
21135 * crypt/sha256-block.c: ... here.
21136 * crypt/sha512.c (sha512_process_block): Move to ...
21137 * crypt/sha512-block.c: ... here.
21138 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21139 path.
21140 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21141 * sysdeps/sparc/sparc64/multiarch/Makefile
21142 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21143 crypt subdir.
21144 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21145 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21146 multiarch changes.
21147 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21148 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21149 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21150 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21151 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21152 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21153 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21154 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21155 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21156 file.
21157 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21158 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21159 file.
21160 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21161
8ca89318
JM
211622012-11-13 Joseph Myers <joseph@codesourcery.com>
21163
e27d476a
JM
21164 * timezone/tzselect.ksh: Update from tzcode git revision
21165 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21166 * timezone/zdump.c: Likewise.
21167 * timezone/zic.c: Likewise.
21168 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21169 in TZVERSION setting, not $(PKGVERSION).
21170 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21171 REPORT_BUGS_TO settings.
21172
8ca89318
JM
21173 [BZ #14838]
21174 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21175 macro.
21176
47594329
MS
211772012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21178
21179 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21180 detection to immediately after _FP_ROUND().
21181 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21182 bits are 0.
21183
640ac3f1
DM
211842012-11-11 David S. Miller <davem@davemloft.net>
21185
21186 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21187 inttypes.h
21188 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21189 __close rather than their public counterparts.
21190
3d2577bb
JM
211912012-11-10 Joseph Myers <joseph@codesourcery.com>
21192
21193 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21194 file.
21195 [UNIX98] (sem_timedwait): Do not expect.
21196 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21197 [XPG4 || UNIX98] (sockatmark): Do not expect.
21198 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21199 (clock_getcpuclockid): Do not expect.
21200 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21201 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21202 Do not expect.
21203 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21204 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21205 [UNIX98] (vwscanf): Likewise.
21206 [UNIX98] (vswscanf): Likewise.
21207
fb1ae1ee
JM
212082012-11-09 Joseph Myers <joseph@codesourcery.com>
21209
9ec6f8bd
JM
21210 * timezone/version.h: Remove file.
21211 * timezone/README: Do not refer to version.h.
21212 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21213 $(objpfx)version.h.
21214 ($(objpfx)zdump.o): Likewise.
c3f81911 21215 ($(objpfx)version.h): New target.
9ec6f8bd 21216
0aa8f8a1
JM
21217 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21218 2012i.
21219 * timezone/README: Don't mention modification to tzselect.ksh.
21220 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21221 work on unmodified tzselect.ksh. Substitute version numbers in
21222 tzselect.ksh.
21223
4e87147f
JM
21224 * Makefile (format-me): Remove.
21225 (INSTALL): Adjust indentation. Use commands directly instead of
21226 using $(format-me).
21227
8b748aed
JM
21228 * aclocal.m4 (ACX_PKGVERSION): New macro.
21229 (ACX_BUGURL): Likewise.
21230 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21231 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21232 (REPORT_BUGS_TO): Likewise.
21233 * configure: Regenerated.
21234 * config.h.in (PKGVERSION): New macro.
21235 (REPORT_BUGS_TO): Likewise.
21236 * config.make.in (PKGVERSION): New variable.
21237 (PKGVERSION_TEXI): Likewise.
21238 (REPORT_BUGS_TO): Likewise.
21239 (REPORT_BUGS_TEXI): Likewise.
21240 * Makefile (format-me): Use -I$(common-objpfx)manual.
21241 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21242 ($(common-objpfx)manual/%): New target.
21243 (manual/%): Remove target.
21244 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21245 (print_version): Use PKGVERSION.
21246 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21247 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21248 and REPORT_BUGS_TO.
21249 ($(objpfx)xtrace): Likewise.
21250 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21251 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21252 (print_version): Use PKGVERSION.
21253 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21254 (do_version): Use PKGVERSION.
21255 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21256 REPORT_BUGS_TO.
21257 (common-ldd-rewrite): Likewise.
21258 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21259 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21260 (print_version): Use PKGVERSION.
21261 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21262 * elf/pldd.c (argp_program_bug_address): Remove variable.
21263 (more_help): New function.
21264 (argp): Use more_help.
21265 (print_version): Use PKGVERSION.
21266 * elf/sln.c (main): Use PKGVERSION.
21267 (usage): Use REPORT_BUGS_TO.
21268 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21269 (top level): Use PKGVERSION.
21270 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21271 (print_version): Use PKGVERSION.
21272 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21273 (print_version): Use PKGVERSION.
21274 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21275 (print_version): Use PKGVERSION.
21276 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21277 (print_version): Use PKGVERSION.
21278 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21279 (print_version): Use PKGVERSION.
21280 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21281 (print_version): Use PKGVERSION.
21282 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21283 and BUGURL.
21284 ($(objpfx)memusage): Likewise.
21285 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21286 (do_version): Use PKGVERSION.
21287 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21288 (print_version): Use PKGVERSION.
21289 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21290 ($PKGVERSION): New variable.
21291 ($REPORT_BUGS_TO): Likewise.
21292 (usage): Use $REPORT_BUGS_TO.
21293 (top level): Use $PKGVERSION.
21294 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21295 ($(objpfx)pkgvers.texi): New rule.
21296 ($(objpfx)stamp-pkgvers): Likewise.
21297 * manual/install.texi: Include pkgvers.texi.
21298 (--with-pkgversion): Document new configure option.
21299 (--with-bugurl): Likewise.
21300 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21301 than necessarily for this particular distribution. Use
21302 REPORT_BUGS_TO for where to report bugs.
21303 * INSTALL: Regenerated.
21304 * manual/libc.texinfo: Include pkgvers.texi.
21305 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21306 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21307 (print_version): Use PKGVERSION.
21308 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21309 (print_version): Use PKGVERSION.
21310 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21311 (print_version): Use PKGVERSION.
21312 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21313 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21314 macro.
21315 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21316 (print_version): Use PKGVERSION.
21317 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21318 (print_version): Use PKGVERSION.
21319 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21320 and PKGVERSION.
21321
92e4b6a9
JM
21322 * timezone/checktab.awk: Update from tzcode 2012i.
21323 * timezone/ialloc.c: Likewise.
21324 * timezone/private.h: Likewise.
21325 * timezone/scheck.c: Likewise.
21326 * timezone/tzfile.h: Likewise.
21327 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21328 (TZVERSION): Hardcode tzcode version number.
21329 * timezone/zdump.c: Update from tzcode 2012i.
21330 * timezone/zic.c: Likewise.
21331 * timezone/version.h: New file.
21332 * timezone/README: Describe version.h. Update upstream location.
21333
9bde902c
JM
21334 [BZ #14824]
21335 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21336 (mktemp): Enable declaration.
21337 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21339 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21341 Likewise.
21342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21343 Likewise.
21344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21345 Likewise.
21346 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21347 Likewise.
21348 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21349 Likewise.
21350 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21351 Likewise.
21352
fb1ae1ee
JM
21353 [BZ #14821]
21354 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21355 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21356 for copies of such integer values.
21357 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21358 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21359
2c1adbcb
AJ
213602012-11-09 Andreas Jaeger <aj@suse.de>
21361
21362 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21363 definitions and declarations that are provided by
21364 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21365
d0f8457e
AK
213662012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21367
3a235abb 21368 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21369 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21370 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21371 definition.
21372
57241e26
MS
213732012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21374
21375 * elf/elf.h: Update comment before AArch64 relocations.
21376
60e8270d
DM
213772012-11-07 David S. Miller <davem@davemloft.net>
21378
21379 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21380 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21381 (__start_context): Declare.
21382 (__makecontext_ret): Delete.
21383 (__makecontext): Hook up __start_context instead of
21384 __makecontext_ret.
21385 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21386 (sysdep_routines): Add __start_context when in stdlib.
21387
0fbb0fbc
JM
213882012-11-07 Joseph Myers <joseph@codesourcery.com>
21389
21390 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21391 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21392 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21393 hardcoded "nm".
21394 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21395 (READELF): New variable. Use it instead of hardcoded "readelf".
21396
eb48db7e
L
213972012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21398
21399 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21400 * sysdeps/x86/Makefile: Here.
21401 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21402 * sysdeps/x86/tst-xmmymm.sh: This.
21403
05bcf62a
JM
214042012-11-07 Joseph Myers <joseph@codesourcery.com>
21405
c4b6cf53
JM
21406 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21407 expectations.
21408 [UNIX98] (pthread_barrier_t): Do not expect.
21409 [UNIX98] (pthread_barrierattr_t): Likewise.
21410 [UNIX98] (pthread_spinlock_t): Likewise.
21411 [UNIX98] (pthread_barrier_destroy): Likewise.
21412 [UNIX98] (pthread_barrier_init): Likewise.
21413 [UNIX98] (pthread_barrier_wait): Likewise.
21414 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21415 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21416 [UNIX98] (pthread_barrierattr_init): Likewise.
21417 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21418 [UNIX98] (pthread_getcpuclockid): Likewise.
21419 [UNIX98] (pthread_mutex_timedlock): Likewise.
21420 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21421 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21422 [UNIX98] (pthread_sigmask): Likewise.
21423 [UNIX98] (pthread_spin_destroy): Likewise.
21424 [UNIX98] (pthread_spin_init): Likewise.
21425 [UNIX98] (pthread_spin_lock): Likewise.
21426 [UNIX98] (pthread_spin_trylock): Likewise.
21427 [UNIX98] (pthread_spin_unlock): Likewise.
21428 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21429 Do not expect.
21430 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21431 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21432 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21433 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21434 [XPG3 || XPG4] (pthread_key_t): Likewise.
21435 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21436 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21437 [XPG3 || XPG4] (pthread_once_t): Likewise.
21438 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21439 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21440 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21441 [XPG3 || XPG4] (pthread_t): Likewise.
21442
cbe6e120
JM
21443 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21444 not expect.
21445 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21446
1b126443
JM
21447 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21448 Change function return type to int.
21449
b961a573
JM
21450 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21451 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21452 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21453 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21454 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21455 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21456 [!POSIX] (posix_madvise): Likewise.
21457 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21458 && !UNIX98].
21459 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21460 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21461 (mode_t): Likewise.
21462 (posix_mem_offset): Likewise.
21463 (posix_typed_mem_get_info): Likewise.
21464 (posix_typed_mem_open): Likewise.
21465
9e188909
JM
21466 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21467 Change condition to [XOPEN2K8].
21468
05bcf62a
JM
21469 * conform/conformtest.pl: Preprocess allow-header data with -x c
21470 instead of from stdin.
21471 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21472 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21473 [C99-based standards] (cerfc): Likewise.
21474 [C99-based standards] (cexp2): Likewise.
21475 [C99-based standards] (cexpm1): Likewise.
21476 [C99-based standards] (clog10): Likewise.
21477 [C99-based standards] (clog1p): Likewise.
21478 [C99-based standards] (clog2): Likewise.
21479 [C99-based standards] (clgamma): Likewise.
21480 [C99-based standards] (ctgamma): Likewise.
21481 [C99-based standards] (cerff): Likewise.
21482 [C99-based standards] (cerfcf): Likewise.
21483 [C99-based standards] (cexp2f): Likewise.
21484 [C99-based standards] (cexpm1f): Likewise.
21485 [C99-based standards] (clog10f): Likewise.
21486 [C99-based standards] (clog1pf): Likewise.
21487 [C99-based standards] (clog2f): Likewise.
21488 [C99-based standards] (clgammaf): Likewise.
21489 [C99-based standards] (ctgammaf): Likewise.
21490 [C99-based standards] (cerfl): Likewise.
21491 [C99-based standards] (cerfcl): Likewise.
21492 [C99-based standards] (cexp2l): Likewise.
21493 [C99-based standards] (cexpm1l): Likewise.
21494 [C99-based standards] (clog10l): Likewise.
21495 [C99-based standards] (clog1pl): Likewise.
21496 [C99-based standards] (clog2l): Likewise.
21497 [C99-based standards] (clgammal): Likewise.
21498 [C99-based standards] (ctgammal): Likewise.
21499 * conform/data/inttypes.h-data [C99-based standards]: Include
21500 stdint.h-data. Remove all expectations for stdint.h contents.
21501 [C99-based standards] (PRI*): Do not allow.
21502 [C99-based standards] (SCN*): Likewise.
21503 [C99-based standards] (*_t): Likewise.
21504 [C99-based-standards] (PRId8): Expect macro.
21505 [C99-based-standards] (PRIi8): Likewise.
21506 [C99-based-standards] (PRIo8): Likewise.
21507 [C99-based-standards] (PRIu8): Likewise.
21508 [C99-based-standards] (PRIx8): Likewise.
21509 [C99-based-standards] (PRIX8): Likewise.
21510 [C99-based-standards] (SCNd8): Likewise.
21511 [C99-based-standards] (SCNi8): Likewise.
21512 [C99-based-standards] (SCNo8): Likewise.
21513 [C99-based-standards] (SCNu8): Likewise.
21514 [C99-based-standards] (SCNx8): Likewise.
21515 [C99-based-standards] (PRIdLEAST8): Likewise.
21516 [C99-based-standards] (PRIiLEAST8): Likewise.
21517 [C99-based-standards] (PRIoLEAST8): Likewise.
21518 [C99-based-standards] (PRIuLEAST8): Likewise.
21519 [C99-based-standards] (PRIxLEAST8): Likewise.
21520 [C99-based-standards] (PRIXLEAST8): Likewise.
21521 [C99-based-standards] (SCNdLEAST8): Likewise.
21522 [C99-based-standards] (SCNiLEAST8): Likewise.
21523 [C99-based-standards] (SCNoLEAST8): Likewise.
21524 [C99-based-standards] (SCNuLEAST8): Likewise.
21525 [C99-based-standards] (SCNxLEAST8): Likewise.
21526 [C99-based-standards] (PRIdFAST8): Likewise.
21527 [C99-based-standards] (PRIiFAST8): Likewise.
21528 [C99-based-standards] (PRIoFAST8): Likewise.
21529 [C99-based-standards] (PRIuFAST8): Likewise.
21530 [C99-based-standards] (PRIxFAST8): Likewise.
21531 [C99-based-standards] (PRIXFAST8): Likewise.
21532 [C99-based-standards] (SCNdFAST8): Likewise.
21533 [C99-based-standards] (SCNiFAST8): Likewise.
21534 [C99-based-standards] (SCNoFAST8): Likewise.
21535 [C99-based-standards] (SCNuFAST8): Likewise.
21536 [C99-based-standards] (SCNxFAST8): Likewise.
21537 [C99-based-standards] (PRId16): Likewise.
21538 [C99-based-standards] (PRIi16): Likewise.
21539 [C99-based-standards] (PRIo16): Likewise.
21540 [C99-based-standards] (PRIu16): Likewise.
21541 [C99-based-standards] (PRIx16): Likewise.
21542 [C99-based-standards] (PRIX16): Likewise.
21543 [C99-based-standards] (SCNd16): Likewise.
21544 [C99-based-standards] (SCNi16): Likewise.
21545 [C99-based-standards] (SCNo16): Likewise.
21546 [C99-based-standards] (SCNu16): Likewise.
21547 [C99-based-standards] (SCNx16): Likewise.
21548 [C99-based-standards] (PRIdLEAST16): Likewise.
21549 [C99-based-standards] (PRIiLEAST16): Likewise.
21550 [C99-based-standards] (PRIoLEAST16): Likewise.
21551 [C99-based-standards] (PRIuLEAST16): Likewise.
21552 [C99-based-standards] (PRIxLEAST16): Likewise.
21553 [C99-based-standards] (PRIXLEAST16): Likewise.
21554 [C99-based-standards] (SCNdLEAST16): Likewise.
21555 [C99-based-standards] (SCNiLEAST16): Likewise.
21556 [C99-based-standards] (SCNoLEAST16): Likewise.
21557 [C99-based-standards] (SCNuLEAST16): Likewise.
21558 [C99-based-standards] (SCNxLEAST16): Likewise.
21559 [C99-based-standards] (PRIdFAST16): Likewise.
21560 [C99-based-standards] (PRIiFAST16): Likewise.
21561 [C99-based-standards] (PRIoFAST16): Likewise.
21562 [C99-based-standards] (PRIuFAST16): Likewise.
21563 [C99-based-standards] (PRIxFAST16): Likewise.
21564 [C99-based-standards] (PRIXFAST16): Likewise.
21565 [C99-based-standards] (SCNdFAST16): Likewise.
21566 [C99-based-standards] (SCNiFAST16): Likewise.
21567 [C99-based-standards] (SCNoFAST16): Likewise.
21568 [C99-based-standards] (SCNuFAST16): Likewise.
21569 [C99-based-standards] (SCNxFAST16): Likewise.
21570 [C99-based-standards] (PRId32): Likewise.
21571 [C99-based-standards] (PRIi32): Likewise.
21572 [C99-based-standards] (PRIo32): Likewise.
21573 [C99-based-standards] (PRIu32): Likewise.
21574 [C99-based-standards] (PRIx32): Likewise.
21575 [C99-based-standards] (PRIX32): Likewise.
21576 [C99-based-standards] (SCNd32): Likewise.
21577 [C99-based-standards] (SCNi32): Likewise.
21578 [C99-based-standards] (SCNo32): Likewise.
21579 [C99-based-standards] (SCNu32): Likewise.
21580 [C99-based-standards] (SCNx32): Likewise.
21581 [C99-based-standards] (PRIdLEAST32): Likewise.
21582 [C99-based-standards] (PRIiLEAST32): Likewise.
21583 [C99-based-standards] (PRIoLEAST32): Likewise.
21584 [C99-based-standards] (PRIuLEAST32): Likewise.
21585 [C99-based-standards] (PRIxLEAST32): Likewise.
21586 [C99-based-standards] (PRIXLEAST32): Likewise.
21587 [C99-based-standards] (SCNdLEAST32): Likewise.
21588 [C99-based-standards] (SCNiLEAST32): Likewise.
21589 [C99-based-standards] (SCNoLEAST32): Likewise.
21590 [C99-based-standards] (SCNuLEAST32): Likewise.
21591 [C99-based-standards] (SCNxLEAST32): Likewise.
21592 [C99-based-standards] (PRIdFAST32): Likewise.
21593 [C99-based-standards] (PRIiFAST32): Likewise.
21594 [C99-based-standards] (PRIoFAST32): Likewise.
21595 [C99-based-standards] (PRIuFAST32): Likewise.
21596 [C99-based-standards] (PRIxFAST32): Likewise.
21597 [C99-based-standards] (PRIXFAST32): Likewise.
21598 [C99-based-standards] (SCNdFAST32): Likewise.
21599 [C99-based-standards] (SCNiFAST32): Likewise.
21600 [C99-based-standards] (SCNoFAST32): Likewise.
21601 [C99-based-standards] (SCNuFAST32): Likewise.
21602 [C99-based-standards] (SCNxFAST32): Likewise.
21603 [C99-based-standards] (PRId64): Likewise.
21604 [C99-based-standards] (PRIi64): Likewise.
21605 [C99-based-standards] (PRIo64): Likewise.
21606 [C99-based-standards] (PRIu64): Likewise.
21607 [C99-based-standards] (PRIx64): Likewise.
21608 [C99-based-standards] (PRIX64): Likewise.
21609 [C99-based-standards] (SCNd64): Likewise.
21610 [C99-based-standards] (SCNi64): Likewise.
21611 [C99-based-standards] (SCNo64): Likewise.
21612 [C99-based-standards] (SCNu64): Likewise.
21613 [C99-based-standards] (SCNx64): Likewise.
21614 [C99-based-standards] (PRIdLEAST64): Likewise.
21615 [C99-based-standards] (PRIiLEAST64): Likewise.
21616 [C99-based-standards] (PRIoLEAST64): Likewise.
21617 [C99-based-standards] (PRIuLEAST64): Likewise.
21618 [C99-based-standards] (PRIxLEAST64): Likewise.
21619 [C99-based-standards] (PRIXLEAST64): Likewise.
21620 [C99-based-standards] (SCNdLEAST64): Likewise.
21621 [C99-based-standards] (SCNiLEAST64): Likewise.
21622 [C99-based-standards] (SCNoLEAST64): Likewise.
21623 [C99-based-standards] (SCNuLEAST64): Likewise.
21624 [C99-based-standards] (SCNxLEAST64): Likewise.
21625 [C99-based-standards] (PRIdFAST64): Likewise.
21626 [C99-based-standards] (PRIiFAST64): Likewise.
21627 [C99-based-standards] (PRIoFAST64): Likewise.
21628 [C99-based-standards] (PRIuFAST64): Likewise.
21629 [C99-based-standards] (PRIxFAST64): Likewise.
21630 [C99-based-standards] (PRIXFAST64): Likewise.
21631 [C99-based-standards] (SCNdFAST64): Likewise.
21632 [C99-based-standards] (SCNiFAST64): Likewise.
21633 [C99-based-standards] (SCNoFAST64): Likewise.
21634 [C99-based-standards] (SCNuFAST64): Likewise.
21635 [C99-based-standards] (SCNxFAST64): Likewise.
21636 [C99-based-standards] (PRIdMAX): Likewise.
21637 [C99-based-standards] (PRIiMAX): Likewise.
21638 [C99-based-standards] (PRIoMAX): Likewise.
21639 [C99-based-standards] (PRIuMAX): Likewise.
21640 [C99-based-standards] (PRIxMAX): Likewise.
21641 [C99-based-standards] (PRIXMAX): Likewise.
21642 [C99-based-standards] (SCNdMAX): Likewise.
21643 [C99-based-standards] (SCNiMAX): Likewise.
21644 [C99-based-standards] (SCNoMAX): Likewise.
21645 [C99-based-standards] (SCNuMAX): Likewise.
21646 [C99-based-standards] (SCNxMAX): Likewise.
21647 [C99-based-standards] (PRIdPTR): Likewise.
21648 [C99-based-standards] (PRIiPTR): Likewise.
21649 [C99-based-standards] (PRIoPTR): Likewise.
21650 [C99-based-standards] (PRIuPTR): Likewise.
21651 [C99-based-standards] (PRIxPTR): Likewise.
21652 [C99-based-standards] (PRIXPTR): Likewise.
21653 [C99-based-standards] (SCNdPTR): Likewise.
21654 [C99-based-standards] (SCNiPTR): Likewise.
21655 [C99-based-standards] (SCNoPTR): Likewise.
21656 [C99-based-standards] (SCNuPTR): Likewise.
21657 [C99-based-standards] (SCNxPTR): Likewise.
21658 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21659 allow.
21660 * conform/data/stdint.h-data: Update comments to clarify
21661 requirements.
21662 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21663 type.
21664 [C99-based standards] (INT8_MAX): Likewise.
21665 [C99-based standards] (INT16_MIN): Likewise.
21666 [C99-based standards] (INT16_MAX): Likewise.
21667 [C99-based standards] (INT32_MIN): Likewise.
21668 [C99-based standards] (INT32_MAX): Likewise.
21669 [C99-based standards] (INT64_MIN): Likewise.
21670 [C99-based standards] (INT64_MAX): Likewise.
21671 [C99-based standards] (UINT8_MAX): Likewise.
21672 [C99-based standards] (UINT16_MAX): Likewise.
21673 [C99-based standards] (UINT32_MAX): Likewise.
21674 [C99-based standards] (UINT64_MAX): Likewise.
21675 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21676 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21677 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21678 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21679 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21680 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21681 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21682 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21683 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21684 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21685 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21686 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21687 [C99-based standards] (INT_FAST8_MIN): Likewise.
21688 [C99-based standards] (INT_FAST8_MAX): Likewise.
21689 [C99-based standards] (INT_FAST16_MIN): Likewise.
21690 [C99-based standards] (INT_FAST16_MAX): Likewise.
21691 [C99-based standards] (INT_FAST32_MIN): Likewise.
21692 [C99-based standards] (INT_FAST32_MAX): Likewise.
21693 [C99-based standards] (INT_FAST64_MIN): Likewise.
21694 [C99-based standards] (INT_FAST64_MAX): Likewise.
21695 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21696 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21697 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21698 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21699 [C99-based standards] (INTPTR_MIN): Likewise.
21700 [C99-based standards] (INTPTR_MAX): Likewise.
21701 [C99-based standards] (UINTPTR_MAX): Likewise.
21702 [C99-based standards] (INTMAX_MIN): Likewise.
21703 [C99-based standards] (INTMAX_MAX): Likewise.
21704 [C99-based standards] (UINTMAX_MAX): Likewise.
21705 [C99-based standards] (PTRDIFF_MIN): Likewise.
21706 [C99-based standards] (PTRDIFF_MAX): Likewise.
21707 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21708 [C99-based standards] (SIZE_MAX): Likewise.
21709 [C99-based standards] (WCHAR_MAX): Likewise.
21710 [C99-based standards] (WINT_MAX): Likewise.
21711 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21712 constraint on value.
21713 [C99-based standards] (WCHAR_MIN): Likewise.
21714 [C99-based standards] (WINT_MIN): Likewise.
21715 [C99-based standards] (*_t): Allow.
21716 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21717 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21718 Include math.h-data and complex.h-data. Remove all expectations
21719 of math.h and complex.h contents.
21720 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21721 at end of line.
21722 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21723 (struct tm): Expect tag.
21724 [C99-based-standards] (wcstof): Expect function.
21725 [C99-based-standards] (wcstold): Likewise.
21726 [C99-based-standards] (wcstoll): Likewise.
21727 [C99-based-standards] (wcstoull): Likewise.
21728 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21729 macro-int-constant. Specify type.
21730 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21731 constraint on value.
21732 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21733 Specify type.
21734 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21735 Specify value.
21736 [ISO C standards]: Do not allow headers.
21737 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21738 wcs[abcdefghijklmnopqrstuvwxyz]*.
21739 [ISO C standards] (*_t): Do not allow.
21740 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21741 Expect function.
21742 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21743 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21744 Specify type.
21745 [ISO C standards]: Do not allow headers.
21746 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21747 is[abcdefghijklmnopqrstuvwxyz]*.
21748 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21749 to[abcdefghijklmnopqrstuvwxyz]*.
21750 [ISO C standards] (*_t): Do not allow.
21751 * conform/data/stdalign.h-data: New file.
21752 * conform/data/stdbool.h-data: Likewise.
21753 * conform/data/stdnoreturn.h-data: Likewise.
21754
7514feb8
RM
217552012-11-07 Roland McGrath <roland@hack.frob.com>
21756
21757 [BZ #14815]
21758 * manual/filesys.texi (Directory Entries): Typo fix.
21759 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21760
19b2ecfc
MS
217612012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21762
21763 * elf/elf.h (EM_AARCH64): New macro.
21764 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21765 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21766 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21767 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21768 (R_AARCH64_TLSDESC): Likewise.
21769 (NT_ARM_TLS): Likewise.
21770 (NT_ARM_HW_BREAK): Likewise.
21771 (NT_ARM_HW_WATCH): Likewise.
21772
60e235ee
JM
217732012-11-07 Joseph Myers <joseph@codesourcery.com>
21774
21775 [BZ #14811]
21776 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21777 (__ieee754_powl): Saturate nonzero exponents with absolute value
21778 below 0x1p-79 to +/- 0x1p-79.
21779 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21780 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21781 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21782 nonzero exponents with absolute value below 0x1p-32 to +/-
21783 0x1p-32.
21784 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21785 (__ieee754_powl): Saturate nonzero exponents with absolute value
21786 below 0x1p-79 to +/- 0x1p-79.
21787 * math/libm-test.inc (pow_test): Add more tests.
21788
0ab234b7
AK
217892012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21790
21791 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21792 _dl_s390_cap_flags with kernel. Increase string length.
21793 (_dl_s390_platforms): Add z196 and zEC12.
21794
45832f74
JM
217952012-11-07 Joseph Myers <joseph@codesourcery.com>
21796
21797 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21798 Change XOPEN21K to XOPEN2K.
21799
19218757
MK
218002012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21801
21802 * string/memmove.c: Use memcpy when possible.
21803
c5f45721
AJ
218042012-11-06 Andreas Jaeger <aj@suse.de>
21805
21806 * po/eo.po: Update from translation team.
21807
82477c28
JM
218082012-11-06 Joseph Myers <joseph@codesourcery.com>
21809
21810 [BZ #14793]
21811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21812 exponent and small x and y exponents, scale x or y up. Increase
21813 by 2 the exponent used in scaling up.
21814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21815 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21816 * math/libm-test.inc (fma_test): Add more tests.
21817 (fma_test_towardzero): Likewise.
21818 (fma_test_downward): Likewise.
21819 (fma_test_upward): Likewise.
21820
99252c8c
JM
218212012-11-05 Joseph Myers <joseph@codesourcery.com>
21822
acfa885f
JM
21823 [BZ #14805]
21824 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21825 fenv_t *.
21826
99252c8c
JM
21827 [BZ #14801]
21828 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21829 namespace for names of struct fields.
21830 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21831 fenv_t fields.
21832 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21833 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21834
d6d98dea
ST
218352012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21836
21837 [BZ #3665]
21838 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21839
e10bb107
TS
218402012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21841
21842 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21843 PTR_DEMANGLE.
21844
21845 [BZ #5246]
21846 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21847 PTR_DEMANGLE.
21848
a0c2940d
JM
218492012-11-04 Joseph Myers <joseph@codesourcery.com>
21850
21851 [BZ #14797]
21852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21853 definitely overflow as x * y not x * y + z.
21854 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21855 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21856 * math/libm-test.inc (fma_test): Add more tests.
21857 (fma_test_towardzero): Likewise.
21858 (fma_test_downward): Likewise.
21859 (fma_test_upward): Likewise.
21860
b830319d
TS
218612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21862
21863 [BZ #157]
21864
21865 * include/stub-tag.h: Remove file.
21866 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21867 '#include' of it.
21868 * manual/maint.texi (Porting): Don't reference it.
21869 * Makerules ($(objpfx)stubs): Likewise.
21870 * dirent/closedir.c: Don't include <stub-tag.h>.
21871 * dirent/dirfd.c: Likewise.
21872 * dirent/fdopendir.c: Likewise.
21873 * dirent/getdents.c: Likewise.
21874 * dirent/getdents64.c: Likewise.
21875 * dirent/opendir.c: Likewise.
21876 * dirent/readdir.c: Likewise.
21877 * dirent/readdir64.c: Likewise.
21878 * dirent/readdir64_r.c: Likewise.
21879 * dirent/readdir_r.c: Likewise.
21880 * dirent/rewinddir.c: Likewise.
21881 * dirent/seekdir.c: Likewise.
21882 * dirent/telldir.c: Likewise.
21883 * gmon/profil.c: Likewise.
21884 * grp/setgroups.c: Likewise.
21885 * inet/if_index.c: Likewise.
21886 * io/access.c: Likewise.
21887 * io/chdir.c: Likewise.
21888 * io/chmod.c: Likewise.
21889 * io/chown.c: Likewise.
21890 * io/close.c: Likewise.
21891 * io/dup.c: Likewise.
21892 * io/dup2.c: Likewise.
21893 * io/dup3.c: Likewise.
21894 * io/euidaccess.c: Likewise.
21895 * io/faccessat.c: Likewise.
21896 * io/fchdir.c: Likewise.
21897 * io/fchmod.c: Likewise.
21898 * io/fchmodat.c: Likewise.
21899 * io/fchown.c: Likewise.
21900 * io/fchownat.c: Likewise.
21901 * io/fcntl.c: Likewise.
21902 * io/flock.c: Likewise.
21903 * io/fstatfs.c: Likewise.
21904 * io/fstatfs64.c: Likewise.
21905 * io/fstatvfs.c: Likewise.
21906 * io/fstatvfs64.c: Likewise.
21907 * io/futimens.c: Likewise.
21908 * io/fxstat.c: Likewise.
21909 * io/fxstat64.c: Likewise.
21910 * io/fxstatat.c: Likewise.
21911 * io/fxstatat64.c: Likewise.
21912 * io/getcwd.c: Likewise.
21913 * io/isatty.c: Likewise.
21914 * io/lchmod.c: Likewise.
21915 * io/lchown.c: Likewise.
21916 * io/link.c: Likewise.
21917 * io/linkat.c: Likewise.
21918 * io/lseek.c: Likewise.
21919 * io/lseek64.c: Likewise.
21920 * io/lxstat64.c: Likewise.
21921 * io/mkdir.c: Likewise.
21922 * io/mkdirat.c: Likewise.
21923 * io/mkfifo.c: Likewise.
21924 * io/mkfifoat.c: Likewise.
21925 * io/open.c: Likewise.
21926 * io/open64.c: Likewise.
21927 * io/openat.c: Likewise.
21928 * io/openat64.c: Likewise.
21929 * io/pipe.c: Likewise.
21930 * io/pipe2.c: Likewise.
21931 * io/poll.c: Likewise.
21932 * io/posix_fadvise.c: Likewise.
21933 * io/posix_fadvise64.c: Likewise.
21934 * io/posix_fallocate.c: Likewise.
21935 * io/posix_fallocate64.c: Likewise.
21936 * io/read.c: Likewise.
21937 * io/readlink.c: Likewise.
21938 * io/readlinkat.c: Likewise.
21939 * io/rmdir.c: Likewise.
21940 * io/sendfile.c: Likewise.
21941 * io/sendfile64.c: Likewise.
21942 * io/statfs.c: Likewise.
21943 * io/statfs64.c: Likewise.
21944 * io/statvfs.c: Likewise.
21945 * io/statvfs64.c: Likewise.
21946 * io/symlink.c: Likewise.
21947 * io/symlinkat.c: Likewise.
21948 * io/ttyname.c: Likewise.
21949 * io/ttyname_r.c: Likewise.
21950 * io/umask.c: Likewise.
21951 * io/unlink.c: Likewise.
21952 * io/unlinkat.c: Likewise.
21953 * io/utime.c: Likewise.
21954 * io/utimensat.c: Likewise.
21955 * io/write.c: Likewise.
21956 * io/xmknod.c: Likewise.
21957 * io/xmknodat.c: Likewise.
21958 * io/xstat.c: Likewise.
21959 * io/xstat64.c: Likewise.
21960 * login/getpt.c: Likewise.
21961 * login/grantpt.c: Likewise.
21962 * login/unlockpt.c: Likewise.
21963 * math/e_acoshl.c: Likewise.
21964 * math/e_acosl.c: Likewise.
21965 * math/e_asinl.c: Likewise.
21966 * math/e_atan2l.c: Likewise.
21967 * math/e_atanhl.c: Likewise.
21968 * math/e_coshl.c: Likewise.
21969 * math/e_expl.c: Likewise.
21970 * math/e_fmodl.c: Likewise.
21971 * math/e_gammal_r.c: Likewise.
21972 * math/e_hypotl.c: Likewise.
21973 * math/e_j0l.c: Likewise.
21974 * math/e_j1l.c: Likewise.
21975 * math/e_jnl.c: Likewise.
21976 * math/e_lgammal_r.c: Likewise.
21977 * math/e_log10l.c: Likewise.
21978 * math/e_log2l.c: Likewise.
21979 * math/e_logl.c: Likewise.
21980 * math/e_powl.c: Likewise.
21981 * math/e_rem_pio2l.c: Likewise.
21982 * math/e_sinhl.c: Likewise.
21983 * math/e_sqrtl.c: Likewise.
21984 * math/fclrexcpt.c: Likewise.
21985 * math/fedisblxcpt.c: Likewise.
21986 * math/feenablxcpt.c: Likewise.
21987 * math/fegetenv.c: Likewise.
21988 * math/fegetexcept.c: Likewise.
21989 * math/fegetround.c: Likewise.
21990 * math/feholdexcpt.c: Likewise.
21991 * math/fesetenv.c: Likewise.
21992 * math/fesetround.c: Likewise.
21993 * math/feupdateenv.c: Likewise.
21994 * math/fgetexcptflg.c: Likewise.
21995 * math/fraiseexcpt.c: Likewise.
21996 * math/fsetexcptflg.c: Likewise.
21997 * math/ftestexcept.c: Likewise.
21998 * math/k_cosl.c: Likewise.
21999 * math/k_rem_pio2l.c: Likewise.
22000 * math/k_sinl.c: Likewise.
22001 * math/k_tanl.c: Likewise.
22002 * math/s_asinhl.c: Likewise.
22003 * math/s_atanl.c: Likewise.
22004 * math/s_cbrtl.c: Likewise.
22005 * math/s_erfl.c: Likewise.
22006 * math/s_expm1l.c: Likewise.
22007 * math/s_log1pl.c: Likewise.
22008 * math/s_tanhl.c: Likewise.
22009 * misc/acct.c: Likewise.
22010 * misc/brk.c: Likewise.
22011 * misc/chflags.c: Likewise.
22012 * misc/chroot.c: Likewise.
22013 * misc/fchflags.c: Likewise.
22014 * misc/fgetxattr.c: Likewise.
22015 * misc/flistxattr.c: Likewise.
22016 * misc/fremovexattr.c: Likewise.
22017 * misc/fsetxattr.c: Likewise.
22018 * misc/fsync.c: Likewise.
22019 * misc/ftruncate.c: Likewise.
22020 * misc/futimes.c: Likewise.
22021 * misc/futimesat.c: Likewise.
22022 * misc/getdomain.c: Likewise.
22023 * misc/getdtsz.c: Likewise.
22024 * misc/gethostid.c: Likewise.
22025 * misc/gethostname.c: Likewise.
22026 * misc/getloadavg.c: Likewise.
22027 * misc/getpagesize.c: Likewise.
22028 * misc/getsysstats.c: Likewise.
22029 * misc/getxattr.c: Likewise.
22030 * misc/gtty.c: Likewise.
22031 * misc/ioctl.c: Likewise.
22032 * misc/lgetxattr.c: Likewise.
22033 * misc/listxattr.c: Likewise.
22034 * misc/llistxattr.c: Likewise.
22035 * misc/lremovexattr.c: Likewise.
22036 * misc/lsetxattr.c: Likewise.
22037 * misc/lutimes.c: Likewise.
22038 * misc/madvise.c: Likewise.
22039 * misc/mincore.c: Likewise.
22040 * misc/mlock.c: Likewise.
22041 * misc/mlockall.c: Likewise.
22042 * misc/mmap.c: Likewise.
22043 * misc/mprotect.c: Likewise.
22044 * misc/msync.c: Likewise.
22045 * misc/munlock.c: Likewise.
22046 * misc/munlockall.c: Likewise.
22047 * misc/munmap.c: Likewise.
22048 * misc/preadv.c: Likewise.
22049 * misc/preadv64.c: Likewise.
22050 * misc/ptrace.c: Likewise.
22051 * misc/pwritev.c: Likewise.
22052 * misc/pwritev64.c: Likewise.
22053 * misc/readv.c: Likewise.
22054 * misc/reboot.c: Likewise.
22055 * misc/remap_file_pages.c: Likewise.
22056 * misc/removexattr.c: Likewise.
22057 * misc/revoke.c: Likewise.
22058 * misc/select.c: Likewise.
22059 * misc/setdomain.c: Likewise.
22060 * misc/setegid.c: Likewise.
22061 * misc/seteuid.c: Likewise.
22062 * misc/sethostid.c: Likewise.
22063 * misc/sethostname.c: Likewise.
22064 * misc/setregid.c: Likewise.
22065 * misc/setreuid.c: Likewise.
22066 * misc/setxattr.c: Likewise.
22067 * misc/sstk.c: Likewise.
22068 * misc/stty.c: Likewise.
22069 * misc/swapoff.c: Likewise.
22070 * misc/swapon.c: Likewise.
22071 * misc/sync.c: Likewise.
22072 * misc/syncfs.c: Likewise.
22073 * misc/syscall.c: Likewise.
22074 * misc/truncate.c: Likewise.
22075 * misc/ualarm.c: Likewise.
22076 * misc/usleep.c: Likewise.
22077 * misc/ustat.c: Likewise.
22078 * misc/utimes.c: Likewise.
22079 * misc/vhangup.c: Likewise.
22080 * misc/writev.c: Likewise.
22081 * posix/_exit.c: Likewise.
22082 * posix/alarm.c: Likewise.
22083 * posix/execve.c: Likewise.
22084 * posix/fexecve.c: Likewise.
22085 * posix/fork.c: Likewise.
22086 * posix/fpathconf.c: Likewise.
22087 * posix/getaddrinfo.c: Likewise.
22088 * posix/getegid.c: Likewise.
22089 * posix/geteuid.c: Likewise.
22090 * posix/getgid.c: Likewise.
22091 * posix/getgroups.c: Likewise.
22092 * posix/getlogin.c: Likewise.
22093 * posix/getlogin_r.c: Likewise.
22094 * posix/getpgid.c: Likewise.
22095 * posix/getpid.c: Likewise.
22096 * posix/getppid.c: Likewise.
22097 * posix/getresgid.c: Likewise.
22098 * posix/getresuid.c: Likewise.
22099 * posix/getsid.c: Likewise.
22100 * posix/getuid.c: Likewise.
22101 * posix/glob64.c: Likewise.
22102 * posix/nanosleep.c: Likewise.
22103 * posix/pathconf.c: Likewise.
22104 * posix/pause.c: Likewise.
22105 * posix/posix_madvise.c: Likewise.
22106 * posix/pread.c: Likewise.
22107 * posix/pread64.c: Likewise.
22108 * posix/pwrite.c: Likewise.
22109 * posix/pwrite64.c: Likewise.
22110 * posix/sched_getaffinity.c: Likewise.
22111 * posix/sched_getp.c: Likewise.
22112 * posix/sched_gets.c: Likewise.
22113 * posix/sched_primax.c: Likewise.
22114 * posix/sched_primin.c: Likewise.
22115 * posix/sched_rr_gi.c: Likewise.
22116 * posix/sched_setaffinity.c: Likewise.
22117 * posix/sched_setp.c: Likewise.
22118 * posix/sched_sets.c: Likewise.
22119 * posix/sched_yield.c: Likewise.
22120 * posix/setgid.c: Likewise.
22121 * posix/setlogin.c: Likewise.
22122 * posix/setpgid.c: Likewise.
22123 * posix/setresgid.c: Likewise.
22124 * posix/setresuid.c: Likewise.
22125 * posix/setsid.c: Likewise.
22126 * posix/setuid.c: Likewise.
22127 * posix/sleep.c: Likewise.
22128 * posix/spawni.c: Likewise.
22129 * posix/sysconf.c: Likewise.
22130 * posix/times.c: Likewise.
22131 * posix/wait.c: Likewise.
22132 * posix/wait3.c: Likewise.
22133 * posix/wait4.c: Likewise.
22134 * posix/waitpid.c: Likewise.
22135 * resolv/gai_sigqueue.c: Likewise.
22136 * resource/getpriority.c: Likewise.
22137 * resource/getrlimit.c: Likewise.
22138 * resource/getrusage.c: Likewise.
22139 * resource/nice.c: Likewise.
22140 * resource/setpriority.c: Likewise.
22141 * resource/setrlimit.c: Likewise.
22142 * resource/ulimit.c: Likewise.
22143 * rt/aio_cancel.c: Likewise.
22144 * rt/aio_fsync.c: Likewise.
22145 * rt/aio_read.c: Likewise.
22146 * rt/aio_sigqueue.c: Likewise.
22147 * rt/aio_suspend.c: Likewise.
22148 * rt/aio_write.c: Likewise.
22149 * rt/clock_getres.c: Likewise.
22150 * rt/clock_gettime.c: Likewise.
22151 * rt/clock_nanosleep.c: Likewise.
22152 * rt/clock_settime.c: Likewise.
22153 * rt/lio_listio.c: Likewise.
22154 * rt/mq_close.c: Likewise.
22155 * rt/mq_getattr.c: Likewise.
22156 * rt/mq_notify.c: Likewise.
22157 * rt/mq_open.c: Likewise.
22158 * rt/mq_receive.c: Likewise.
22159 * rt/mq_send.c: Likewise.
22160 * rt/mq_setattr.c: Likewise.
22161 * rt/mq_timedreceive.c: Likewise.
22162 * rt/mq_timedsend.c: Likewise.
22163 * rt/mq_unlink.c: Likewise.
22164 * rt/shm_open.c: Likewise.
22165 * rt/shm_unlink.c: Likewise.
22166 * rt/timer_create.c: Likewise.
22167 * rt/timer_delete.c: Likewise.
22168 * rt/timer_getoverr.c: Likewise.
22169 * rt/timer_gettime.c: Likewise.
22170 * rt/timer_settime.c: Likewise.
22171 * setjmp/__longjmp.c: Likewise.
22172 * setjmp/setjmp.c: Likewise.
22173 * signal/kill.c: Likewise.
22174 * signal/killpg.c: Likewise.
22175 * signal/raise.c: Likewise.
22176 * signal/sigaction.c: Likewise.
22177 * signal/sigaltstack.c: Likewise.
22178 * signal/sigblock.c: Likewise.
22179 * signal/sigignore.c: Likewise.
22180 * signal/sigintr.c: Likewise.
22181 * signal/signal.c: Likewise.
22182 * signal/sigpause.c: Likewise.
22183 * signal/sigpending.c: Likewise.
22184 * signal/sigqueue.c: Likewise.
22185 * signal/sigreturn.c: Likewise.
22186 * signal/sigset.c: Likewise.
22187 * signal/sigsetmask.c: Likewise.
22188 * signal/sigstack.c: Likewise.
22189 * signal/sigsuspend.c: Likewise.
22190 * signal/sigtimedwait.c: Likewise.
22191 * signal/sigvec.c: Likewise.
22192 * signal/sigwait.c: Likewise.
22193 * signal/sigwaitinfo.c: Likewise.
22194 * signal/sysv_signal.c: Likewise.
22195 * socket/accept.c: Likewise.
22196 * socket/accept4.c: Likewise.
22197 * socket/bind.c: Likewise.
22198 * socket/connect.c: Likewise.
22199 * socket/getpeername.c: Likewise.
22200 * socket/getsockname.c: Likewise.
22201 * socket/getsockopt.c: Likewise.
22202 * socket/isfdtype.c: Likewise.
22203 * socket/listen.c: Likewise.
22204 * socket/recv.c: Likewise.
22205 * socket/recvfrom.c: Likewise.
22206 * socket/recvmsg.c: Likewise.
22207 * socket/send.c: Likewise.
22208 * socket/sendmsg.c: Likewise.
22209 * socket/sendto.c: Likewise.
22210 * socket/setsockopt.c: Likewise.
22211 * socket/shutdown.c: Likewise.
22212 * socket/sockatmark.c: Likewise.
22213 * socket/socket.c: Likewise.
22214 * socket/socketpair.c: Likewise.
22215 * stdio-common/ctermid.c: Likewise.
22216 * stdio-common/cuserid.c: Likewise.
22217 * stdio-common/remove.c: Likewise.
22218 * stdio-common/rename.c: Likewise.
22219 * stdio-common/renameat.c: Likewise.
22220 * stdio-common/tempname.c: Likewise.
22221 * stdlib/getcontext.c: Likewise.
22222 * stdlib/makecontext.c: Likewise.
22223 * stdlib/setcontext.c: Likewise.
22224 * stdlib/swapcontext.c: Likewise.
22225 * stdlib/system.c: Likewise.
22226 * streams/fattach.c: Likewise.
22227 * streams/fdetach.c: Likewise.
22228 * streams/getmsg.c: Likewise.
22229 * streams/getpmsg.c: Likewise.
22230 * streams/putmsg.c: Likewise.
22231 * streams/putpmsg.c: Likewise.
22232 * sysdeps/unix/bsd/getpt.c: Likewise.
22233 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22234 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22235 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22237 Likewise.
22238 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22239 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22240 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22241 * sysvipc/msgctl.c: Likewise.
22242 * sysvipc/msgget.c: Likewise.
22243 * sysvipc/msgrcv.c: Likewise.
22244 * sysvipc/msgsnd.c: Likewise.
22245 * sysvipc/semctl.c: Likewise.
22246 * sysvipc/semget.c: Likewise.
22247 * sysvipc/semop.c: Likewise.
22248 * sysvipc/semtimedop.c: Likewise.
22249 * sysvipc/shmat.c: Likewise.
22250 * sysvipc/shmctl.c: Likewise.
22251 * sysvipc/shmdt.c: Likewise.
22252 * sysvipc/shmget.c: Likewise.
22253 * termios/tcdrain.c: Likewise.
22254 * termios/tcflow.c: Likewise.
22255 * termios/tcflush.c: Likewise.
22256 * termios/tcgetattr.c: Likewise.
22257 * termios/tcgetpgrp.c: Likewise.
22258 * termios/tcsendbrk.c: Likewise.
22259 * termios/tcsetattr.c: Likewise.
22260 * termios/tcsetpgrp.c: Likewise.
22261 * time/adjtime.c: Likewise.
22262 * time/clock.c: Likewise.
22263 * time/getitimer.c: Likewise.
22264 * time/gettimeofday.c: Likewise.
22265 * time/setitimer.c: Likewise.
22266 * time/settimeofday.c: Likewise.
22267 * time/stime.c: Likewise.
22268 * time/time.c: Likewise.
22269
222702012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22271
a20492cf
PT
22272 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22273 /usr/old/bin.
22274
72e182e3
PT
22275 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22276 instead of spaces.
22277 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22278
fbeafede
JM
222792012-11-03 Joseph Myers <joseph@codesourcery.com>
22280
5b5b04d6
JM
22281 [BZ #14796]
22282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22283 FE_TONEAREST before applying Dekker multiplication and Knuth
22284 addition. Clear inexact exceptions and check for exact zero
22285 results afterwards.
22286 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22287 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22289 * math/libm-test.inc (fma_test): Add more tests.
22290 (fma_test_towardzero): Likewise.
22291 (fma_test_downward): Likewise.
22292 (fma_test_upward): Likewise.
22293 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22294 function.
22295 (libc_fesetround): New macro.
22296 (libc_fesetroundf): Likewise.
22297 (libc_fesetroundl): Likewise.
22298 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22299 function.
22300 (libc_fesetround_387): Likewise.
22301 (libc_fesetroundf): New macro.
22302 (libc_fesetround): Likewise.
22303 (libc_fesetroundl): Likewise.
22304 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22305 function.
22306 (libc_fesetroundf): New macro.
22307 (libc_fesetround): Likewise.
22308 (libc_fesetroundl): Likewise.
22309 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22310 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22311 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22312 libm_hidden_ver.
22313 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22314 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22315 libm_hidden_def.
22316 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22317 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22318 libm_hidden_ver.
22319 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22320 libm_hidden_def.
22321
fbeafede
JM
22322 [BZ #3439]
22323 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22324 integer constant usable in #if and use that to give value to enum
22325 constant.
22326 (FE_DIVBYZERO): Likewise.
22327 (FE_UNDERFLOW): Likewise.
22328 (FE_OVERFLOW): Likewise.
22329 (FE_INVALID): Likewise.
22330 (FE_INVALID_SNAN): Likewise.
22331 (FE_INVALID_ISI): Likewise.
22332 (FE_INVALID_IDI): Likewise.
22333 (FE_INVALID_ZDZ): Likewise.
22334 (FE_INVALID_IMZ): Likewise.
22335 (FE_INVALID_COMPARE): Likewise.
22336 (FE_INVALID_SOFTWARE): Likewise.
22337 (FE_INVALID_SQRT): Likewise.
22338 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22339 (FE_TONEAREST): Likewise.
22340 (FE_TOWARDZERO): Likewise.
22341 (FE_UPWARD): Likewise.
22342 (FE_DOWNWARD): Likewise.
22343 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22344 (FE_DIVBYZERO): Likewise.
22345 (FE_OVERFLOW): Likewise.
22346 (FE_UNDERFLOW): Likewise.
22347 (FE_INEXACT): Likewise.
22348 (FE_TONEAREST): Likewise.
22349 (FE_DOWNWARD): Likewise.
22350 (FE_UPWARD): Likewise.
22351 (FE_TOWARDZERO): Likewise.
22352 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22353 (FE_UNDERFLOW): Likewise.
22354 (FE_OVERFLOW): Likewise.
22355 (FE_DIVBYZERO): Likewise.
22356 (FE_INVALID): Likewise.
22357 (FE_TONEAREST): Likewise.
22358 (FE_TOWARDZERO): Likewise.
22359 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22360 (FE_OVERFLOW): Likewise.
22361 (FE_UNDERFLOW): Likewise.
22362 (FE_DIVBYZERO): Likewise.
22363 (FE_INEXACT): Likewise.
22364 (FE_TONEAREST): Likewise.
22365 (FE_TOWARDZERO): Likewise.
22366 (FE_UPWARD): Likewise.
22367 (FE_DOWNWARD): Likewise.
22368 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22369 (FE_DIVBYZERO): Likewise.
22370 (FE_OVERFLOW): Likewise.
22371 (FE_UNDERFLOW): Likewise.
22372 (FE_INEXACT): Likewise.
22373 (FE_TONEAREST): Likewise.
22374 (FE_DOWNWARD): Likewise.
22375 (FE_UPWARD): Likewise.
22376 (FE_TOWARDZERO): Likewise.
22377
105ca950
CM
223782012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22379
22380 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22381
a542b389
AS
223822012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22383
22384 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22385 commands. Quote $PWD.
22386 (blacklist_exports): Don't use remove_newlines. Replace "declare
22387 -x" by "export".
22388 (remove_newlines): Remove.
22389
f62c8abc
L
223902012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22391
22392 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22393 * stdlib/stdlib.h (atof): Moved to ...
22394 * include/bits/stdlib-float.h: Here. New file.
22395 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22396 * stdlib/bits/stdlib-float.h: New file.
22397 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22398 -mno-sse -mno-mmx.
22399 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22400 <xmmintrin.h>.
22401
0155d5b2
JM
224022012-11-02 Joseph Myers <joseph@codesourcery.com>
22403
a68d0680
JM
22404 * conform/conformtest.pl (@headers): Add fenv.h.
22405 * conform/data/fenv.h-data: New file.
22406 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22407 include of <math/fenv.h>.
22408
caf7f573
JM
22409 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22410 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22411 && !UNIX98]. Enables tests for XOPEN2K8.
22412 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22413 POSIX2008]: Likewise.
22414
6c073ad6
JM
22415 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22416 (struct rusage): Do not expect type or its members.
22417
0155d5b2
JM
22418 [BZ #3439]
22419 * math/math.h (FP_NAN): Define macro to integer constant usable in
22420 #if and use that to give value to enum constant.
22421 (FP_INFINITE): Likewise.
22422 (FP_ZERO): Likewise.
22423 (FP_SUBNORMAL): Likewise.
22424 (FP_NORMAL): Likewise.
22425
b5dcacb4
AS
224262012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22427
22428 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22429 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22430 arguments.
22431
f7934be8
RM
224322012-11-02 Roland McGrath <roland@hack.frob.com>
22433
22434 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22435 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22436 autoconf-time if not.
22437 * configure.in: Remove AC_PREREQ.
22438
d7d08bde
TMQMF
224392012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22440
22441 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22442 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22443 of the internal implementation.
22444
dcdae19a
JM
224452012-11-02 Joseph Myers <joseph@codesourcery.com>
22446
22447 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22448 except include of <misc/sys/syslog.h>.
22449
d6cffd3e
AS
224502012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22451
22452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22453 function returns with a NULL context exit with zero.
22454
b3563932
TMQMF
224552012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22456
22457 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22458
b288a93d
L
224592012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22460
22461 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22462 (run_program_cmd): This.
22463 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22464 (tst_langinfo): New variable. Use it.
22465
a2421a68
SAS
224662012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22467
22468 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22469 floating point opcodes.
22470
6f796e1b
TS
224712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22472
7402596b
TS
22473 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22474 variable.
22475
d0d4f868
TS
22476 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22477
6f796e1b
TS
22478 * sysdeps/mach/hurd/powerpc: Remove directory.
22479 * sysdeps/mach/powerpc: Likewise.
22480
4da224a2
AS
224812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22482
22483 * scripts/check-local-headers.sh: Ignore c++ headers.
22484
341dd673
TS
224852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22486
22487 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22488 __libc_cleanup_region_start argument.
22489
473611b2
JM
224902012-11-01 Joseph Myers <joseph@codesourcery.com>
22491
22492 [BZ #14784]
22493 [BZ #14785]
22494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22495 x * y using scaling, not as x * y + z.
22496 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22497 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22498 * math/libm-test.inc (fma_test): Add more tests.
22499 (fma_test_towardzero): Likewise.
22500 (fma_test_downward): Likewise.
22501 (fma_test_upward): Likewise.
22502
4078da3d
TS
225032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22504
22505 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22506
903252aa
JM
225072012-10-31 Joseph Myers <joseph@codesourcery.com>
22508
22509 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22510 New variable.
22511
cbc818d0
TS
225122012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22513
22514 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22515
5a03cb1e
AS
225162012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22517
22518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22519 Fix sort order.
22520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22521 Likewise.
22522
90aff2ff
TMQMF
225232012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22524
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22526 Fix the order of the list for glibc 2.17.
22527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22528 Likewise.
22529
1818fcb7
AS
225302012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22531
22532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22533
ef82f4da
JM
225342012-10-31 Joseph Myers <joseph@codesourcery.com>
22535
16a0e2ec
JM
22536 [BZ #14610]
22537 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22538 for low part of x being zero before using __atanl (y).
22539 * math/libm-test.inc (atan2_test): Add another test.
22540
0eb69512
JM
22541 * manual/install.texi (Configuring and compiling): Document
22542 general use of test-wrapper and test-wrapper-env.
22543 * INSTALL: Regenerated.
22544
ef82f4da
JM
22545 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22546 (__fma): Do not extract and scale down low bits on after-rounding
22547 systems when result rounded to normal precision would have normal
22548 exponent.
22549 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22550 (__fmal): Do not extract and scale down low bits on after-rounding
22551 systems when result rounded to normal precision would have normal
22552 exponent.
22553 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22554 (__fmal): Do not extract and scale down low bits on after-rounding
22555 systems when result rounded to normal precision would have normal
22556 exponent.
22557 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22558 macro.
22559 (fma_test): Add more tests.
22560 (fma_test_towardzero): Likewise.
22561 (fma_test_downward): Likewise.
22562 (fma_test_upward): Likewise.
22563
954ef0d9
L
225642012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22565
22566 * sysdeps/i386/tininess.h: Renamed to ...
22567 * sysdeps/x86/tininess.h: This.
22568 * sysdeps/x86_64/tininess.h: Removed.
22569
df61ffb2
JM
225702012-10-30 Joseph Myers <joseph@codesourcery.com>
22571
22572 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22573 input. Use $(build-program-cmd).
22574 ($(objpfx)tst-array1-static.out): Likewise.
22575 ($(objpfx)tst-array2.out): Likewise.
22576 ($(objpfx)tst-array3.out): Likewise.
22577 ($(objpfx)tst-array4.out): Likewise.
22578 ($(objpfx)tst-array5.out): Likewise.
22579 ($(objpfx)tst-array5-static.out): Likewise.
22580
01767843
CM
225812012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22582
47cc1490
CM
22583 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22584 if defined.
22585
01767843
CM
22586 * nss/nsswitch.h (nss_interface_function): Provide new
22587 macro for use with NSS functions.
22588 * grp/initgroups.c: Use new macro.
22589 * nss/getXXbyYY.c: Likewise.
22590 * nss/getXXbyYY_r.c: Likewise.
22591 * nss/getXXent.c: Likewise.
22592 * nss/getXXent_r.c: Likewise.
22593 * sysdeps/posix/getaddrinfo.c: Likewise.
22594
8321aa97
AJ
225952012-10-30 Andreas Jaeger <aj@suse.de>
22596
22597 * po/ru.po: Update Russion translation from translation project.
22598
2a27fd6d
JM
225992012-10-30 Joseph Myers <joseph@codesourcery.com>
22600
8627a232
JM
22601 [BZ #14152]
22602 [BZ #14783]
22603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22604 result and shift together with sticky bit instead of replicating
22605 round-to-nearest rounding.
22606 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22607 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22608 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22609 missing underflow exceptions.
22610 (fma_test_towardzero): Add more tests.
22611 (fma_test_downward): Likewise.
22612 (fma_test_upward): Likewise.
22613
2a27fd6d
JM
22614 [BZ #14047]
22615 * sysdeps/generic/tininess.h: New file.
22616 * sysdeps/i386/tininess.h: Likewise.
22617 * sysdeps/sh/tininess.h: Likewise.
22618 * sysdeps/x86_64/tininess.h: Likewise.
22619 * stdlib/tst-strtod-underflow.c: Likewise.
22620 * stdlib/tst-tininess.c: Likewise.
22621 * stdlib/strtod_l.c: Include <tininess.h>.
22622 (round_and_return): Do not set errno for exact underflow cases.
22623 Force an underflow exception when setting errno for underflow.
22624 Determine underflow based on rounding to normal precision if
22625 TININESS_AFTER_ROUNDING.
22626 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22627 ERANGE for exact underflow cases.
22628 * stdlib/Makefile (tests): Add tst-tininess and
22629 tst-strtod-underflow.
22630 ($(objpfx)tst-tininess): Use $(link-libm).
22631 ($(objpfx)tst-strtod-underflow): Likewise.
22632
e7170363
AJ
226332012-10-30 Andreas Jaeger <aj@suse.de>
22634
e5088dc6
AJ
22635 [BZ#14767]
22636 * elf/Makefile (tests): Remove conditional for have-initfini-array
22637 since this is now always required and the variable does not exist
22638 anymore.
22639 (tests-static): Likewise.
22640 (modules-names): Likewise.
22641
e7170363 22642 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22643
22644 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22645 merged with constructor/destructor.
22646 (init_array): Likewise.
22647 * elf/tst-array2dep.c (fini_array): Likewise.
22648 (init_array): Likewise.
22649
60457d8a
MF
226502012-10-29 Mike Frysinger <vapier@gentoo.org>
22651
22652 * manual/message.texi: Delete @cartouche tags.
22653
8bece752
PT
226542012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22655
94ce799f
PT
22656 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22657 EOPNOTSUPP.
22658 * sysdeps/mach/hurd/fsync.c: Likewise.
22659
8bece752
PT
22660 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22661 [_POSIX_REALTIME_SIGNALS]: Change condition to
22662 [_POSIX_REALTIME_SIGNALS > 0].
22663
86ebe6b1
AJ
226642012-10-27 Andreas Jaeger <aj@suse.de>
22665
22666 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22667 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22668 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22669 [__WORDSIZE != 64]: Likewise.
22670
54399c08
L
226712012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22672
22673 * iconvdata/tst-table.sh: Remove ${SHELL}.
22674 * iconvdata/tst-tables.sh: Likewise.
22675
e2211bed
DM
226762012-10-25 David S. Miller <davem@davemloft.net>
22677
22678 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22679 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22680 of strtoull.
22681
f303f97c
DM
22682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22683 ifunc-impl-list.c
22684 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22685 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22686 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22687 file.
22688
1e9d84cd
RM
226892012-10-25 Roland McGrath <roland@hack.frob.com>
22690
22691 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22692 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22693 __getdirentries.
22694
df381762
JM
226952012-10-25 Joseph Myers <joseph@codesourcery.com>
22696 Jim Blandy <jimb@codesourcery.com>
22697
22698 * scripts/cross-test-ssh.sh: New file.
22699 * manual/install.texi (Configuring and compiling): Document use of
22700 cross-test-ssh.sh.
22701 * INSTALL: Regenerated.
22702
bff64913
PT
227032012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22704
22705 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22706 EOPNOTSUPP.
22707
25fe8932
JM
227082012-10-25 Joseph Myers <joseph@codesourcery.com>
22709
22710 * Makeconfig (run-program-prefix): Fix comment.
22711
cc1290d0
JM
227122012-10-24 Joseph Myers <joseph@codesourcery.com>
22713 Jim Blandy <jimb@codesourcery.com>
22714
22715 * Makeconfig (test-wrapper): New variable,
22716 (test-wrapper-env): Likewise.
22717 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22718 (run-built-tests): Define to yes.
22719 (run-program-prefix): Use $(test-wrapper).
22720 (built-program-cmd): Likewise.
22721 * Rules (make-test-out): Use $(test-wrapper-env) and
22722 $(host-built-program-cmd).
22723 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22724 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22725 tst-pathopt.sh.
22726 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22727 $(test-wrapper-env) to tst-rtld-load-self.sh.
22728 ($(objpfx)order2.out): Use $(test-wrapper).
22729 ($(objpfx)tst-initorder.out): Likewise.
22730 ($(objpfx)tst-initorder2.out): Likewise.
22731 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22732 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22733 (test_wrapper_env): New variable. Use it to run ld.so.
22734 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22735 Use it to run ld.so.
22736 (test_wrapper_env): Likewise.
22737 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22738 $(test-wrapper) to run-iconv-test.sh.
22739 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22740 (ICONV): Use $test_wrapper.
22741 * posix/Makefile ($(objpfx)globtest.out): Pass
22742 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22743 globtest.sh, not $(run-program-prefix).
22744 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22745 (test_wrapper): Likewise.
22746 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22747 set together with run_via_rtld_prefix.
22748 (run_program_prefix): Define in terms of test_wrapper and
22749 run_via_rtld_prefix.
22750
6e6249d0
RM
227512012-10-24 Roland McGrath <roland@hack.frob.com>
22752
22753 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22754 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22755 Targets removed.
22756
22757 [BZ #14743]
22758 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22759 Declare __clock_getres, __clock_gettime, __clock_settime,
22760 __clock_nanosleep, and __clock_getcpuclockid.
22761 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22762 Remove librt_hidden_def (clock_gettime).
22763 * sysdeps/unix/clock_gettime.c: Likewise.
22764 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22765 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22766 * rt/clock_getres.c: Define __clock_getres as an alias.
22767 * sysdeps/posix/clock_getres.c: Likewise.
22768 * rt/clock_settime.c: Define __clock_settime as an alias.
22769 * sysdeps/unix/clock_settime.c: Likewise.
22770 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22771 * sysdeps/unix/clock_nanosleep.c: Likewise.
22772 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22773 * rt/clock-compat.c: New file.
22774 * rt/Makefile (librt-routines): Add clock-compat and move
22775 $(clock-routines) to ...
22776 (routines): ... here, new variable.
22777 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22778 Don't add get_clockfreq here.
22779 * rt/Versions (libc: GLIBC_2.17): New version set.
22780 Add clock_* symbols here.
22781 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22782 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22783 (GLIBC_2.17): Add clock_* symbols.
22784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22786 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22788 Likewise.
22789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22790 Likewise.
22791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22795 * NEWS: Mention the move.
22796
22797 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22798 Use __open, __read, __close rather than their public counterparts.
22799 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22800 (__get_clockfreq_via_cpuinfo): Likewise.
22801 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22802 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22803
22804 * config.h.in (HAVE_IFUNC): New #undef.
22805 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22806 was successful.
22807 * configure: Regenerated.
22808
0cae3f4b
MF
228092012-10-24 Mike Frysinger <vapier@gentoo.org>
22810
22811 * configure.in: Move READELF check to start of file.
22812 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22813 libc_cv_asm_gnu_indirect_function in the process.
22814 * configure: Regenerated.
22815
8175a253
MF
228162012-10-24 Mike Frysinger <vapier@gentoo.org>
22817
22818 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22819 send the output to /dev/null.
22820 (libc_cv_cc_with_libunwind): Likewise.
22821 (libc_cv_as_noexecstack): Likewise.
22822 * configure: Regenerate.
22823
0708a7d1
JM
228242012-10-24 Joseph Myers <joseph@codesourcery.com>
22825
10b40d85
JM
22826 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22827
0708a7d1
JM
22828 * posix/globtest.sh (TMPDIR): Do not set.
22829 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22830 (testout): Likewise.
22831
9fddec1a
AJ
228322012-10-24 Andreas Jaeger <aj@suse.de>
22833
3a8db22f
AJ
22834 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22835 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22836 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22837 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22838 posix_fadvise64, posix_fallocate64.
22839
9fddec1a
AJ
22840 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22841 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22842 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22843 Likewise.
22844 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22845 Likewise.
22846 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22847
22848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22849 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22850 <bits/fcntl-linux.h>.
22851 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22852
22853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22854 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22855 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22856 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22857 [__WORDSIZE != 64]: Likewise.
22858
ebfd1bbd
JM
228592012-10-23 Joseph Myers <joseph@codesourcery.com>
22860
03ac099f
JM
22861 * Makeconfig (run-built-tests): New variable.
22862 * Rules [$(cross-compiling) = yes]: Change condition to
22863 [$(run-built-tests) = no].
22864 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22865 to [$(run-built-tests) = yes].
22866 * elf/Makefile [$(cross-compiling) = no]: Likewise
22867 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22868 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22869 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22870 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22871 * io/Makefile [$(cross-compiling) = no]: Likewise.
22872 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22873 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22874 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22875 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22876 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22877 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22878 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22879 * string/Makefile [$(cross-compiling) = no]: Likewise.
22880
ebfd1bbd
JM
22881 * posix/Makefile ($(objpfx)globtest.out): Pass
22882 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22883 $(rtld-installed-name).
22884 * posix/globtest.sh (elf_objpfx): Remove variable.
22885 (rtld_installed_name): Likewise.
22886 (library_path): Likewise.
22887 (run_program_prefix): New variable. Use for running globtest
22888 binary.
22889
166bca24
JB
228902012-10-23 Jim Blandy <jimb@codesourcery.com>
22891 Joseph Myers <joseph@codesourcery.com>
22892
22893 * Makeconfig (host-built-program-cmd): New variable.
22894 * elf/Makefile (tst-stackguard1-ARGS): Use
22895 $(host-built-program-cmd).
22896 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22897 (tst-spawn-ARGS): Likewise.
22898 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22899
88866099
JM
229002012-10-23 Joseph Myers <joseph@codesourcery.com>
22901 Jim Blandy <jimb@codesourcery.com>
22902
22903 * Makeconfig (run-via-rtld-prefix): New variable.
22904 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22905 (built-program-cmd): Likewise.
22906
b4b4c296
AJ
229072012-10-22 Andreas Jaeger <aj@suse.de>
22908
22909 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22910 __O_RSYNC if it exists, otherwise to O_SYNC.
22911
6fb54a22
JB
229122012-10-22 Jim Blandy <jimb@codesourcery.com>
22913 Joseph Myers <joseph@codesourcery.com>
22914
22915 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22916 /dev/null.
22917 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22918 from /dev/null
22919 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22920 /dev/null.
22921
481b90b9
AJ
229222012-10-22 Andreas Jaeger <aj@suse.de>
22923
2a0e2669
AJ
22924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22925 Define always.
22926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22927
76e38f9a
AJ
22928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22929 bits/fcntl-linux.h.
22930
7cd37b43
AJ
22931 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22932 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22933
481b90b9
AJ
22934 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22935 to __O_LARGEFILE.
22936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22937 to __O_LARGEFILE.
22938
aba75984
JB
229392012-10-21 Jim Blandy <jimb@codesourcery.com>
22940 Joseph Myers <joseph@codesourcery.com>
22941
22942 * config.make.in (NM): New variable.
22943
88d4247f
AJ
229442012-10-21 Andreas Jaeger <aj@suse.de>
22945
22946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22947 definitions and declarations that are provided by
22948 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22949
f2eed205
L
229502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22951
22952 [BZ #14683]
22953 * elf/Makefile (tests-static): Add tst-leaks1-static.
22954 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22955 ($(objpfx)tst-leaks1-static): New rule.
22956 ($(objpfx)tst-leaks1-static-mem): Likewise.
22957 (tst-leaks1-static-ENV): New macro.
22958 * elf/dl-open.c (dl_open_worker): Check the main application
22959 only if SHARED is defined.
22960 * elf/tst-leaks1-static.c: New file.
22961
335e6931
AJ
229622012-10-20 Andreas Jaeger <aj@suse.de>
22963
22964 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22965 generic values for Linux.
22966 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22967 and declarations that are provided by <bits/fcntl-linux.h> and
22968 include <bits/fcntl-linux.h>.
22969 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22970 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22971
ac5c94d3
RM
229722012-10-20 Roland McGrath <roland@hack.frob.com>
22973
22974 * io/fcntl.h: Move include of <bits/types.h> to the top and
22975 include it unconditionally.
22976
de54b33a
L
229772012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22978
228cfb01
L
22979 * wcsmbs/Makefile (tests-ifunc): New variable.
22980 (tests): Add $(tests-ifunc).
22981 * wcsmbs/test-wcschr-ifunc.c: New file.
22982 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22983 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22984 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22985 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22986 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22987
69f07e5f
L
22988 * string/Makefile (tests-ifunc): New variable.
22989 (tests): Add $(tests-ifunc).
22990 * string/test-memccpy.c (TEST_NAME): New macro.
22991 * string/test-memchr.c (TEST_NAME): Likewise.
22992 * string/test-memcmp.c (TEST_NAME): Likewise.
22993 * string/test-memcpy.c (TEST_NAME): Likewise.
22994 * string/test-memmem.c (TEST_NAME): Likewise.
22995 * string/test-memmove.c (TEST_NAME): Likewise.
22996 * string/test-memset.c (TEST_NAME): Likewise.
22997 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22998 * string/test-stpcpy.c (TEST_NAME): Likewise.
22999 * string/test-stpncpy.c (TEST_NAME): Likewise.
23000 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23001 * string/test-strcasestr.c (TEST_NAME): Likewise.
23002 * string/test-strcat.c (TEST_NAME): Likewise.
23003 * string/test-strchr.c (TEST_NAME): Likewise.
23004 * string/test-strcmp.c(TEST_NAME): Likewise.
23005 * string/test-strcpy.c (TEST_NAME): Likewise.
23006 * string/test-strcspn.c (TEST_NAME): Likewise.
23007 * string/test-strlen.c (TEST_NAME): Likewise.
23008 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23009 * string/test-strncmp.c (TEST_NAME): Likewise.
23010 * string/test-strncpy.c (TEST_NAME): Likewise.
23011 * string/test-strnlen.c (TEST_NAME): Likewise.
23012 * string/test-strpbrk.c (TEST_NAME): Likewise.
23013 * string/test-strrchr.c (TEST_NAME): Likewise.
23014 * string/test-strspn.c (TEST_NAME): Likewise.
23015 * string/test-strstr.c (TEST_NAME): Likewise.
23016 * string/test-bcopy-ifunc.c: New file.
23017 * string/test-bzero-ifunc.c: Likewise.
23018 * string/test-memccpy-ifunc.c: Likewise.
23019 * string/test-memchr-ifunc.c: Likewise.
23020 * string/test-memcmp-ifunc.c: Likewise.
23021 * string/test-memcpy-ifunc.c: Likewise.
23022 * string/test-memmem-ifunc.c: Likewise.
23023 * string/test-memmove-ifunc.c: Likewise.
23024 * string/test-mempcpy-ifunc.c: Likewise.
23025 * string/test-memset-ifunc.c: Likewise.
23026 * string/test-rawmemchr-ifunc.c: Likewise.
23027 * string/test-stpcpy-ifunc.c: Likewise.
23028 * string/test-stpncpy-ifunc.c: Likewise.
23029 * string/test-strcasecmp-ifunc.c: Likewise.
23030 * string/test-strcasestr-ifunc.c: Likewise.
23031 * string/test-strcat-ifunc.c: Likewise.
23032 * string/test-strchr-ifunc.c: Likewise.
23033 * string/test-strchrnul-ifunc.c: Likewise.
23034 * string/test-strcmp-ifunc.c: Likewise.
23035 * string/test-strcpy-ifunc.c: Likewise.
23036 * string/test-strcspn-ifunc.c: Likewise.
23037 * string/test-strlen-ifunc.c: Likewise.
23038 * string/test-strncasecmp-ifunc.c: Likewise.
23039 * string/test-strncat-ifunc.c: Likewise.
23040 * string/test-strncmp-ifunc.c: Likewise.
23041 * string/test-strncpy-ifunc.c: Likewise.
23042 * string/test-strnlen-ifunc.c: Likewise.
23043 * string/test-strpbrk-ifunc.c: Likewise.
23044 * string/test-strrchr-ifunc.c: Likewise.
23045 * string/test-strspn-ifunc.c: Likewise.
23046 * string/test-strstr-ifunc.c: Likewise.
23047
de54b33a
L
23048 * debug/Makefile (tests-ifunc): New variable.
23049 (tests): Add $(tests-ifunc).
23050 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23051 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23052 * debug/test-stpcpy_chk-ifunc.c: New file.
23053 * debug/test-strcpy_chk-ifunc.c: Likewise.
23054
88481c16
SP
230552012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23056
23057 [BZ #13601]
23058 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23059 header is not read in.
23060
135948bd
JM
230612012-10-19 Joseph Myers <joseph@codesourcery.com>
23062
89f1c388
JM
23063 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23064 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23065 directly. Pass built executable to script as
23066 $(built-program-cmd).
23067 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23068 $testprogram without using LD_LIBRARY_PATH and $ldso.
23069
e40a0d21
JM
23070 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23071 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23072 $(rtld-installed-name).
23073 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23074 (rtld_installed_name): Likewise.
23075 (library_path): Likewise.
23076 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23077 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23078 $(run-program-prefix) to tst-tables.sh.
23079 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23080 it to run tst-table-from and tst-table-to.
23081 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23082 Pass it to tst-table.sh.
23083 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23084 $(run-program-prefix) to tst-gettext.sh.
23085 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23086 tst-translit.sh.
23087 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23088 tst-gettext2.sh.
23089 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23090 to run tst-gettext.
23091 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23092 to run tst-gettext2.
23093 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23094 to run tst-translit.
23095 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23096 $(run-program-prefix) to tst-mtrace.sh.
23097 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23098 to run tst-mtrace.
23099 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23100 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23101 $(rtld-installed-name).
23102 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23103 (rtld_installed_name): Likewise.
23104 (run_program_prefix): New variable. Use it to run wordexp-test.
23105
728e272a
JM
23106 * Makeconfig (ARCH): Remove all definitions.
23107 (machine): Likewise.
23108 [ARCH]: Remove conditional code.
23109 [!objdir]: Give error.
23110 [!objdir] (objpfx): Remove.
23111 [!objdir] (common-objpfx): Likewise.
23112 [!objdir] (common-objdir): Likewise.
23113 * configure.in (config_makefile): Remove. Hardcode Makefile in
23114 AC_CONFIG_FILES call.
23115 * configure: Regenerated.
23116
d528cdcf
JM
23117 [BZ #13888]
23118 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23119 or TMPDIR.
23120 (testout): Likewise.
23121
135948bd
JM
23122 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23123 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23124 $(rtld-installed-name).
23125 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23126 (rtld_installed_name): Likwise.
23127 (runit): Remove function.
23128 (run_getconf): New variable, Use it for running getconf binary.
23129
38c78296
L
231302012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23131
23132 [BZ #14716]
23133 * string/test-memmem.c (check_result): New function.
23134 (do_one_test): Use it.
23135 (check1): New function.
23136 (test_main): Use it.
23137
d077f65f
MT
231382012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23139
23140 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23141
ced52c71
JM
231422012-10-18 Joseph Myers <joseph@codesourcery.com>
23143
23144 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23145 (_G_LSEEK64): Likewise.
23146 (_G_MMAP64): Likewise.
23147 (_G_FSTAT64): Likewise.
23148 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23149 (_G_LSEEK64): Likewise.
23150 (_G_MMAP64): Likewise.
23151 (_G_FSTAT64): Likewise.
23152 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23153 unconditional. Call __mmap64 directly.
23154 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23155 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23156 __lseek64 directly.
23157 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23158 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23159 __mmap64 directly.
23160 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23161 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23162 __lseek64 directly.
23163 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23164 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23165 __lseek64 directly.
23166 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23167 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23168 __lseek64 directly.
23169 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23170 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23171 __fxstat64 directly.
23172 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23173 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23174 unconditional.
23175 (freopen64) [!_G_OPEN64]: Remove conditional code.
23176 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23177 unconditional.
23178 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23179 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23180 unconditional.
23181 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23182 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23183 unconditional.
23184 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23185 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23186 unconditional.
23187 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23188 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23189 unconditional.
23190 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23191 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23192 unconditional.
23193 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23194 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23195 unconditional.
23196 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23197
b741de23
SP
231982012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23199
23200 [BZ #12140]
23201 * manual/memory.texi (Malloc Tunable Parameters): Add note
23202 about free list pointers overwriting some perturb bytes.
23203 Wording suggested by Roland McGrath.
23204
f9b9d9c9
JM
232052012-10-17 Joseph Myers <joseph@codesourcery.com>
23206
23207 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23208 (lgamma_test): Likewise.
23209 (tgamma_test): Likewise.
23210
172a631a
FW
232112012-10-16 Florian Weimer <fweimer@redhat.com>
23212
23213 [BZ #14700]
23214 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23215 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23216
e9f37252
MK
232172012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23218
23219 * NEWS: Mention BZ #14716.
23220 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23221 when removing AVAILABLE1_USES_J macro.
23222
d394eb74
L
232232012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23224
23225 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23226 (__bswap_64): __uint64_t for unsigned 64-bit int.
23227
ca38dc17
AS
232282012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23229
23230 * include/string.h (memmem): Declare libc hidden alias.
23231 * string/memmem.c (memmem): Define libc hidden alias.
23232 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23233 __read, __close instead of open, read, close.
23234
9a387d1f
L
232352012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23236
ac49ecaf
L
23237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23238 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23239 global and hidden.
23240 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23241 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23242 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23243 Likewise.
23244 (__rawmemchr_sse2): Likewise.
23245 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23246 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23247 (__strchr_sse2): Likewise.
23248 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23249 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23250 (__strcasecmp_sse2): Likewise.
23251 (__strncasecmp_sse2): Likewise.
23252 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23253 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23254 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23255 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23256 (__strrchr_sse2): Likewise.
23257 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23258 ifunc-impl-list.c.
23259 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23260 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23261 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23262 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23263 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23264 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23265 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23266 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23267 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23268 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23269 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23270 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23271 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23272 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23273 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23274 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23275 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23276 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23277 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23278 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23279 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23280 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23281 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23282 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23283 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23284 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23285 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23286 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23287 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23288 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23289
b090e8ea
L
23290 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23291 global and hidden.
23292 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23293 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23294 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23295 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23296 Likewise.
23297 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23298 Likewise.
23299 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23300 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23301 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23302 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23303 ifunc-impl-list.c.
23304 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23305 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23306 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23307 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23308 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23309 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23310 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23311 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23312 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23313 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23314 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23315 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23316 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23317 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23318 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23319 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23320 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23321 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23322 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23323 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23324 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23325 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23326 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23327 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23328 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23329 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23330 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23331 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23332 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23333 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23334 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23335 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23336 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23337 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23338 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23339 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23340 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23341 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23342 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23343 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23344 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23345
11dd4af6
L
23346 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23347 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23348 * include/ifunc-impl-list.h: New file.
23349 * misc/ifunc-impl-list.c: Likewise.
23350 * misc/Makefile (routines): Add ifunc-impl-list.
23351 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23352 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23353 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23354 TEST_NAME]: New variables.
11dd4af6
L
23355 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23356 are defined.
23357 (test_init): Call __libc_ifunc_impl_list to initialize
23358 func_list if TEST_IFUNC and TEST_NAME are defined.
23359
9a387d1f
L
23360 * string/Makefile (strop-tests): Add bcopy and bzero.
23361 * string/test-bcopy.c: New file.
23362 * string/test-bzero.c: Likewise.
23363 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23364 defined.
23365 * string/test-memset.c: Support bzero test if TEST_BZERO is
23366 defined.
23367 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23368 __libc_memmove.
23369 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23370 __libc_memset.
23371 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23372 of memset.
23373
472371b9
JM
233742012-10-10 Joseph Myers <joseph@codesourcery.com>
23375
1e4a9536
JM
23376 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23377 * configure: Regenerated.
23378
d173d12e
JM
23379 * Makeconfig (+link-static-before-libc): Don't include
23380 $(link-static-libc).
23381
472371b9
JM
23382 * libio/libio.h (_IO_pos_t): Remove.
23383
89a3ad0b
AO
233842012-10-10 Alexandre Oliva <aoliva@redhat.com>
23385
23386 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23387 McGrath.
23388
e7451425
AO
233892012-10-10 Alexandre Oliva <aoliva@redhat.com>
23390
23391 * crypt/crypt-entry.c: Include fips-private.h.
23392 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23393 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23394 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23395 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23396
4ba74a35
AO
233972012-10-10 Alexandre Oliva <aoliva@redhat.com>
23398
23399 * crypt/crypt-private.h: Include stdbool.h.
23400 (_ufc_setup_salt_r): Return bool.
23401 * crypt/crypt-entry.c: Include errno.h.
23402 (__crypt_r): Return NULL with EINVAL for bad salt.
23403 * crypt/crypt_util.c (bad_for_salt): New.
23404 (_ufc_setup_salt_r): Check that salt is long enough and within
23405 the specified alphabet.
23406 * crypt/badsalttest.c: New file.
23407 * crypt/Makefile (tests): Add it.
23408 ($(objpfx)badsalttest): New.
23409
f96f1242
MK
234102012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23411
23412 * NEWS: Add entry for BZ #14602.
23413
0e8e0c1c
JM
234142012-10-09 Joseph Myers <joseph@codesourcery.com>
23415
23416 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23417 type-generic.
23418 * math/libm-test.inc: Update comment listing what functions and
23419 macros are tested.
23420 (isgreater_test): New function.
23421 (isgreaterequal_test): Likewise.
23422 (isless_test): Likewise.
23423 (islessequal_test): Likewise.
23424 (islessgreater_test): Likewise.
23425 (isunordered_test): Likewise.
23426 (main): Call the new functions.
23427
273edc5e
RM
234282012-10-09 Roland McGrath <roland@hack.frob.com>
23429
b8493de0
RM
23430 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23431 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23432 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23433 * sysdeps/i386/configure: Regenerated.
23434 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23435 * sysdeps/mach/configure: Regenerated.
23436 * sysdeps/mach/hurd/configure: Regenerated.
23437 * sysdeps/powerpc/configure: Regenerated.
23438 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23439 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23440 * sysdeps/s390/s390-32/configure: Regenerated.
23441 * sysdeps/s390/s390-64/configure: Regenerated.
23442 * sysdeps/sh/configure: Regenerated.
23443 * sysdeps/sparc/configure: Regenerated.
23444 * sysdeps/unix/sysv/linux/configure: Regenerated.
23445 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23446 * sysdeps/x86_64/configure: Regenerated.
23447
273edc5e
RM
23448 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23449 defined. Don't check if MAP is NULL.
23450
c8450f70
JM
234512012-10-09 Joseph Myers <joseph@codesourcery.com>
23452
23453 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23454 (_G_stat64): Likewise.
23455 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23456 (_G_stat64): Likewise.
23457 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23458 instead of struct _G_stat64.
23459 * libio/fileops.c (mmap_remap_check): Likewise.
23460 (decide_maybe_mmap): Likewise.
23461 (_IO_new_file_seekoff): Likewise.
23462 (_IO_file_stat): Likewise.
23463 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23464 _G_off64_t.
23465 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23466 instead of struct _G_stat64.
23467 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23468
57e605ba
MK
234692012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23470
23471 [BZ #14602]
23472 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23473 Replace with ...
23474 (CHECK_EOL): New macro.
23475 (two_way_short_needle): Check beginning of haystack for EOL. Use
23476 CHECK_EOL.
23477 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23478 Replace with CHECK_EOL.
23479 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23480 Replace with CHECK_EOL.
23481
ef1bb361
JM
234822012-10-08 Joseph Myers <joseph@codesourcery.com>
23483
23484 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23485 type-generic.
23486 * math/libm-test.inc: Update comment listing what functions and
23487 macros are tested.
23488 (finite_test): New function.
23489 (isinf_test): Likewise.
23490 (isnan_test): Likewise.
23491 (fpclassify_test): Test subnormal input.
23492 (isfinite_test): Likewise.
23493 (isnormal_test): Likewise.
23494 (main): Call the new functions.
23495
55f11534
JN
234962012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23497
23498 [BZ #14660]
23499 * Makerules (%.dynsym): Force C locale when running
23500 $(OBJDUMP) --dynamic-syms.
23501
1ab29350
AS
235022012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23503
23504 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23505 <stdint.h>.
23506
f1ecb7ef
DM
235072012-10-06 David S. Miller <davem@davemloft.net>
23508
23509 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23510 upper 32-bits of the length value in %o2 since we use branch-on-register
23511 tests which consider the entire 64-bit register.
23512
5d41d91a
L
235132012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23514
23515 * string/test-strstr.c (check2): Add a test for page boundary.
23516
3baddb72
DM
235172012-10-05 David S. Miller <davem@davemloft.net>
23518
23519 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23520 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23521 file.
23522 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23523 sysdep_routines.
23524 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23525 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23526 and bzero when HWCAP_SPARC_CRYPTO is present.
23527
9cee5585
L
235282012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23529
d7e0dab9
L
23530 [BZ #14602]
23531 * string/test-strstr.c (check2): New function.
23532 (test_main): Call check2.
23533
03759f47
L
23534 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23535 and bug-strchr1.
23536 * string/bug-strcasestr1.c (do_test): Moved to ...
23537 * string/test-strcasestr.c (check1): Here. New function.
23538 (do_one_test): Break out result checking code into ...
23539 (check_result): This. New function.
23540 (do_one_test): Call check_result.
23541 (test_main): Call check1.
23542 * string/bug-strchr1.c (do_test): Moved to ...
23543 * string/test-strchr.c (check1): Here. New function.
23544 (do_one_test): Break out result checking code into ...
23545 (check_result): This. New function.
23546 (do_one_test): Call check_result.
23547 (test_main): Call check1.
23548 * string/bug-strstr1.c (main): Moved to ...
046f153e 23549 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23550 (do_one_test): Break out result checking code into ...
23551 (check_result): This. New function.
23552 (do_one_test): Call check_result.
23553 (test_main): Call check1.
23554 * string/bug-strcasestr1.c: Removed.
23555 * string/bug-strchr1.c: Likewise.
23556 * string/bug-strstr1.c: Likewise.
23557
53cea63e
L
23558 * elf/Makefile (dl-routines): Add hwcaps.
23559 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23560 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23561 (_dl_important_hwcaps): Moved to ...
23562 * elf/dl-hwcaps.c: Here. New file.
23563 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23564
9cee5585 23565 [BZ #14557]
bb859b06
L
23566 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23567 if IS_IN_rtld isn't defined.
23568
9cee5585
L
23569 * elf/dl-support.c (_dl_sysinfo_map): New.
23570 Include "get-dynamic-info.h" and "setup-vdso.h".
23571 (_dl_non_dynamic_init): Call setup_vdso.
23572 * elf/dynamic-link.h: Don't include <assert.h>.
23573 (elf_get_dynamic_info): Moved to ...
23574 * elf/get-dynamic-info.h: Here. New file.
23575 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23576 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23577 * elf/setup-vdso.h: Here. New file.
23578 * elf/rtld.c: Include "setup-vdso.h".
23579 (dl_main): Call setup_vdso.
23580
23c31b76
JM
235812012-10-05 Joseph Myers <joseph@codesourcery.com>
23582
28234b07
JM
23583 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23584 creal in comment listing functions tested. List finite, isinf,
23585 isnan, isless, islessequal, isgreater, isgreaterequal,
23586 islessgreater, isunordered, lgamma_r and pow10 as functions and
23587 macros not tested. Mention which functions not tested are aliases
23588 for other functions. Fix typo. Note that signs of NaNs are not
23589 tested.
23590
23c31b76
JM
23591 * scripts/config.guess: Update from config.git.
23592 * scripts/config.sub: Likewise.
23593
9043e228
RM
235942012-10-04 Roland McGrath <roland@hack.frob.com>
23595
23596 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23597 * misc/madvise.c (madvise): Renamed to __madvise.
23598 Make madvise a weak alias.
23599 * include/sys/mman.h: Declare __madvise.
23600 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23601 * sysdeps/unix/syscalls.list
23602 (madvise): Make __madvise the strong name, and madvise a weak alias.
23603 * sysdeps/unix/sysv/linux/syscalls.list
23604 (madvise, mmap): Remove redundant entries.
23605 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23606 * malloc/malloc.c (mtrim): Likewise.
23607 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23608
f57f8055
RM
236092012-10-03 Roland McGrath <roland@hack.frob.com>
23610
23611 * sysdeps/mach/hurd/dl-cache.c: File removed.
23612 * config.h.in (USE_LDCONFIG): New #undef.
23613 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23614 * configure: Regenerated.
23615 * elf/Makefile (dl-routines): Add dl-cache only under
23616 [$(use-ldconfig) = yes].
23617 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23618 cache on [USE_LDCONFIG].
23619 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23620 [USE_LDCONFIG].
23621 * elf/rtld.c (dl_main): Likewise.
23622
5bb0c10a
PT
236232012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23624
23625 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23626 _SC_LEVEL4_CACHE_LINESIZE.
23627
010188c6
RM
236282012-10-03 Roland McGrath <roland@hack.frob.com>
23629
23630 * sysdeps/unix/bsd/confstr.h: File removed.
23631
b6c5ec07
AO
236322012-10-02 Alexandre Oliva <aoliva@redhat.com>
23633
23634 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23635 sys/sdt-config.h.
23636
408223d4
RM
236372012-10-02 Roland McGrath <roland@hack.frob.com>
23638
23639 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23640 Make 'mapoff' field ElfW(Off) rather than off_t.
23641
bb9510dc
DL
236422012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23643
fc997c6e
DL
23644 * nscd/Makefile: Remove nscd-cflags and all its users.
23645 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23646 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23647
bb9510dc
DL
23648 [BZ #10631]
23649 * malloc.c (malloc_printerr): Clarify error message.
23650
05699367
L
236512012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23652
23653 [BZ #14648]
23654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23655 Set bit_FMA_Usable if FMA is supported.
23656 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23657 macro.
23658 (bit_FMA4_Usable): Updated.
23659 (index_FMA_Usable): New macro.
23660 (CPUID_FMA): Likewise
23661 (HAS_FMA): Defined with bit_FMA_Usable.
23662
51367701
RM
236632012-10-01 Roland McGrath <roland@hack.frob.com>
23664
23665 * bits/types.h (__swblk_t): Type removed.
23666 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23667 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23668 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23669 (__SWBLK_T_TYPE): Likewise.
23670 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23671 (__SWBLK_T_TYPE): Likewise.
23672 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23673 (__SWBLK_T_TYPE): Likewise.
23674 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23675 (__SWBLK_T_TYPE): Likewise.
23676
4d57bf63 236772012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23678 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23679
23680 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23681 (xdr_mapname): Use YPMAXMAP as maxsize.
23682 (xdr_peername): Use YPMAXPEER as maxsize.
23683 (xdr_keydat): Use YPAXRECORD as maxsize.
23684 (xdr_valdat): Use YPMAXRECORD as maxsize.
23685
93c65d43
RM
236862012-10-01 Roland McGrath <roland@hack.frob.com>
23687
497a03d6
RM
23688 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23689
93c65d43
RM
23690 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23691 * csu/init-first.c: ... here.
23692 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23693 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23694 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23695 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23696 * sysdeps/i386/init-first.c: File removed.
23697 * sysdeps/sh/init-first.c: File removed.
23698
bec749fd
JM
236992012-10-01 Joseph Myers <joseph@codesourcery.com>
23700
23701 [BZ #14645]
23702 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23703 if x * y might underflow to zero and z is zero.
23704 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23705 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23706 * math/libm-test.inc (min_subnorm_value): New variable.
23707 (fma_test): Add more tests.
23708 (fma_test_towardzero): Likewise.
23709 (fma_test_downward): Likewise
23710 (fma_test_upward): Likewise.
23711 (initialize): Set min_subnorm_value.
23712
8ec5b013
JM
237132012-09-29 Joseph Myers <joseph@codesourcery.com>
23714
23715 [BZ #14638]
23716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23717 0 + 0.
23718 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23719 mode for addition resulting in exact zero.
23720 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23722 exact 0 + 0.
23723 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23724 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23725 * math/libm-test.inc (fma_test): Add more tests.
23726 (fma_test_towardzero): New function.
23727 (fma_test_downward): Likewise.
23728 (fma_test_upward): Likewise.
23729 (main): Call the new functions.
23730
b1fa802e
DM
237312012-09-28 David S. Miller <davem@davemloft.net>
23732
23733 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23734
d3b9fd9e
RM
237352012-09-28 Roland McGrath <roland@hack.frob.com>
23736
ea4d37b3
RM
23737 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23738 instead of SIGALRM.
23739
ac51c949
RM
23740 * sysdeps/gnu/_G_config.h: Moved to ...
23741 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23742 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23743 * sysdeps/generic/_G_config.h: ... here.
23744
28c195f7
RM
23745 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23746
848917f9
RM
23747 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23748
6bacf05b
RM
23749 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23750 Conditionalize target on [libnss_test1.so-version].
23751
91363dbb
RM
23752 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23753
cc87f7d8
RM
23754 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23755 (elfobjdir): Move out of conditionals.
23756
b1c608fe
RM
23757 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23758 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23759 (__nss_lookup_function): Conditionalize label remove_from_tree on
23760 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23761
1d9a6d96
DM
237622012-09-28 David S. Miller <davem@davemloft.net>
23763
23764 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23765 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23766 file.
23767 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23768 sysdep_routines.
23769 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23771 when HWCAP_SPARC_CRYPTO is present.
23772
72581615
PT
237732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23774
23775 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23776
715a900c
JL
237772012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23778
23779 [BZ #6530]
23780 * stdio-common/vfprintf.c (process_string_arg): Revert
23781 2000-07-22 change.
23782
237832011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23784
23785 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23786 for testcase.
23787 * stdio-common/tst-sprintf.c: Include <locale.h>
23788 (main): Test sprintf's handling of incomplete multibyte
23789 characters.
23790
9bac1d86
L
237912012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23792
23793 * elf/dl-runtime.c (VERSYMIDX): Removed.
23794 * elf/dl-version.c (VERSYMIDX): Likewise.
23795 * elf/do-rel.h (VERSYMIDX): Likewise.
23796 (VALIDX): Likewise.
23797 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23798 * elf/rtld.c (VALIDX): Likewise.
23799 (ADDRIDX): Likewise.
9bac1d86
L
23800 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23801 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23802 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23803 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23804 (VALIDX): Likewise.
23805 (ADDRIDX): Likewise.
9bac1d86 23806
b31606c0
PT
238072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23808
23809 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23810
11541177
JL
238112012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23812
23813 [BZ #11438]
23814 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23815 to global scope.
23816 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23817 addresses are in the same scope as 192.0.2/24.
23818 * posix/gai.conf: Document new scope table defaults.
23819
adb26fae
SP
238202012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23821
23822 [BZ #5298]
23823 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23824 for ftell. Compute offsets from write pointers instead.
23825 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23826
4573c6b0
SP
238272012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23828
23829 [BZ #14543]
23830 * libio/Makefile (tests): New test case tst-fseek.
23831 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23832 combination works in wide mode.
23833 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23834 state when the external buffer state changes.
23835
aa9bbfe6
DM
238362012-09-27 David S. Miller <davem@davemloft.net>
23837
23838 [BZ #14376]
23839 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23840 pass reloc->r_addend in as the 'high' argument to
23841 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23842
784421e7
DM
23843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23844
c39bc8b8
PT
238452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23846
23847 * rt/tst-aio2.c: Include <pthread.h>.
23848 * rt/tst-aio3.c: Likewise.
23849
1ccc2399
SE
238502012-09-27 Steve Ellcey <sellcey@mips.com>
23851
23852 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23853
31ed4153
L
238542012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23855
25f5f885
L
23856 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23857 contents on [SHARED].
31ed4153 23858
b7bfe116
MP
238592012-09-26 Marek Polacek <polacek@redhat.com>
23860
23861 [BZ #14530]
23862 [BZ #13741]
23863 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23864 for C++ and GCC <4.3 as well as for non GCC compilers.
23865
43c4edba
MT
238662012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23867
23868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23869
6a1bf82f
RM
238702012-09-25 Roland McGrath <roland@hack.frob.com>
23871
23872 * Makefile.in (all, install): Declare with .PHONY.
23873 Reported by Michael Hope <michael.hope@linaro.org>.
23874
8ad11b9a
TMQMF
238752012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23876
23877 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23878 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23879 system header.
23880 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23881 Likewise.
23882 (sydep_routines): Add the new and the internal functions.
23883 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23884 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23886 (GLIBC_2.17): Add the new function.
23887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23888 (GLIBC_2.17): Likewise.
23889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23890 (GLIBC_2.17): Likewise.
23891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23892 (GLIBC_2.17): Likewise.
23893 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23894
7e2fca8d
AM
238952012-09-25 Alan Modra <amodra@gmail.com>
23896
23897 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23898 Add release barrier before setting once_control to say
23899 initialisation is done. Add hints on lwarx. Use macro in
23900 place of isync.
23901 (clear_once_control): Add release barrier.
23902
b87c4b24
JM
239032012-09-25 Joseph Myers <joseph@codesourcery.com>
23904
d032e0d2
JM
23905 [BZ #13629]
23906 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23907 specially.
23908 * math/s_clog10.c (__clog10): Likewise.
23909 * math/s_clog10f.c (__clog10f): Likewise.
23910 * math/s_clog10l.c (__clog10l): Likewise.
23911 * math/s_clogf.c (__clogf): Likewise.
23912 * math/s_clogl.c (__clogl): Likewise.
23913 * math/Makefile (libm-calls): Add x2y2m1.
23914 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23915 (__x2y2m1): Likewise.
23916 (__x2y2m1l): Likewise.
23917 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23918 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23919 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23920 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23921 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23922 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23923 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23924 * sysdeps/i386/fpu/libm-test-ulps: Update.
23925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23926
b87c4b24
JM
23927 [BZ #14621]
23928 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23929 int as type of variable DEPTH.
23930 (glob): Use size_t instead of int as type of variables NEWCOUNT
23931 and OLD_PATHC.
23932
6d3bf199
LD
239332012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23934
22bf5c17
LD
23935 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23936 Add s_sincosf-sse2.
23937 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23938 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23939 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23940 macros for using routine as __sincosf_ia32.
23941 Use macro for function declaration and weak_alias.
23942 * sysdeps/i386/fpu/libm-test-ulps: Update.
23943
23944 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23946
23947 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23948 subnormal argument.
23949 * math/s_cexpf.c (__cexpf): Likewise.
23950 * math/s_csinf.c (__csinf): Likewise.
23951 * math/s_csinhf.c (__csinhf): Likewise.
23952 * math/s_ctanf.c (__ctanf): Likewise.
23953 * math/s_ctanhf.c (__ctanhf): Likewise.
23954 * math/s_ccosh.c (__ccoshf): Likewise.
23955 * math/s_cexp.c (__cexpl): Likewise.
23956 * math/s_csin.c (__csin): Likewise.
23957 * math/s_csinh.c (__csinh): Likewise.
23958 * math/s_ctan.c (__ctan): Likewise.
23959 * math/s_ctanh.c (ctanh): Likewise.
23960 * math/s_ccoshl.c (__ccoshl): Likewise.
23961 * math/s_cexpl.c (__cexpl): Likewise.
23962 * math/s_csinl.c (__csinl): Likewise.
23963 * math/s_csinhl.c (__csinhl): Likewise.
23964 * math/s_ctanl.c (__ctanl): Likewise.
23965 * math/s_ctanhl.c (__ctanhl): Likewise.
23966
203e5603
JM
239672012-09-25 Joseph Myers <joseph@codesourcery.com>
23968
23969 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23970 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23971 (_IO_off_t): Define to __off_t, not _G_off_t.
23972 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23973 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23974 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23975 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23976 type of __dummy and __dummy2 fields.
23977 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23978 (_G_ssize_t): Likewise.
23979 (_G_off_t): Likewise.
23980 (_G_pid_t): Likewise.
23981 (_G_uid_t): Likewise.
23982 (_G_wchar_t): Likewise.
23983 (_G_wint_t): Likewise.
23984 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23985 (_G_ssize_t): Likewise.
23986 (_G_off_t): Likewise.
23987 (_G_pid_t): Likewise.
23988 (_G_uid_t): Likewise.
23989 (_G_wchar_t): Likewise.
23990 (_G_wint_t): Likewise.
23991 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23992 (_G_ssize_t): Likewise.
23993 (_G_off_t): Likewise.
23994 (_G_pid_t): Likewise.
23995 (_G_uid_t): Likewise.
23996 (_G_wchar_t): Likewise.
23997 (_G_wint_t): Likewise.
23998
9fab36eb
SP
239992012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24000
24001 * malloc/arena.c: Include malloc-sysdep.h.
24002 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24003 is sufficient to shrink the heap or an unmap is needed.
24004 * sysdeps/generic/malloc-sysdep.h: New file. Define
24005 new function check_may_shrink_heap.
24006 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24007 new function check_may_shrink_heap.
24008
2b4f00d1
SP
240092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24010
24011 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24012 comments.
24013
9a9028b1
DL
240142012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24015
57c69bef
DL
24016 * catgets/test-gencat.sh: Add "set -e".
24017 * elf/tst-pathopt.sh: Likewise.
24018 * grp/tst_fgetgrent.sh: Likewise.
24019 * iconvdata/run-iconv-test.sh: Likewise.
24020 * intl/tst-gettext.sh: Likewise.
24021 * intl/tst-gettext2.sh: Likewise.
24022 * intl/tst-gettext4.sh: Likewise.
24023 * intl/tst-gettext6.sh: Likewise.
24024 * intl/tst-translit.sh: Likewise.
24025 * io/ftwtest-sh: Likewise.
24026 * libio/test-freopen.sh: Likewise.
24027 * malloc/tst-mtrace.sh: Likewise.
24028 * posix/globtest.sh: Likewise.
24029 * posix/tst-getconf.sh: Likewise.
24030 * posix/wordexp-tst.sh: Likewise.
24031 * stdio-common/tst-printf.sh: Likewise.
24032 * stdio-common/tst-unbputc.sh: Likewise.
24033 * stdlib/tst-fmtmsg.sh: Likewise.
24034 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24035 * catgets/Makefile: Do not specify -e option when running
24036 testsuite shell scripts.
24037 * elf/Makefile: Likewise.
24038 * grp/Makefile: Likewise.
24039 * iconvdata/Makefile: Likewise.
24040 * intl/Makefile: Likewise.
24041 * io/Makefile: Likewise.
24042 * libio/Makefile: Likewise.
24043 * malloc/Makefile: Likewise.
24044 * posix/Makefile: Likewise.
24045 * stdio-common/Makefile: Likewise.
24046 * stdlib/Makefile: Likewise.
24047 * sysdeps/x86_64/Makefile: Likewise.
24048
9a9028b1
DL
24049 * io/ftwtest-sh: Add copyright header.
24050 * posix/globtest.sh: Likewise.
24051 * posix/tst-getconf.sh: Likewise.
24052 * posix/wordexp-tst.sh: Likewise.
24053 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24054
ced6f16e
L
240552012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24056
94b32c39
L
24057 [BZ #13679]
24058 * Makeconfig (+link): Defined as $(+link-static) if
24059 $(build-shared) isn't yes.
24060 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24061 isn't yes.
24062 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24063
189e935b
L
24064 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24065
ced6f16e
L
24066 [BZ #14562]
24067 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24068 new chunk size with MALLOC_ALIGN_MASK.
24069
a9f8e53a
JM
240702012-09-24 Joseph Myers <joseph@codesourcery.com>
24071
24072 [BZ #5044]
24073 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24074 <rounding-mode.h>.
24075 (__printf_fphex): Determine rounding using get_rounding_mode and
24076 round_away.
24077 * stdio-common/tst-printf-round.c (struct hex_test): New
24078 structure.
24079 (hex_tests): New variable.
24080 (test_hex_in_one_mode): New function.
24081 (do_test): Also run tests for hex float output.
24082
43153109
JM
240832012-09-21 Joseph Myers <joseph@codesourcery.com>
24084
24085 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24086 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24087 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24088 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24089 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24090 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24091 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24092 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24093
8a26625d
JM
240942012-09-20 Joseph Myers <joseph@codesourcery.com>
24095
24096 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24097 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24098 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24099 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24100
f3fd569c
DL
241012012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24102
24103 [BZ #14579]
24104 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24105 mode only.
24106 * elf/tst-rtld-load-self.sh: New test.
24107 * elf/Makefile: Run it.
24108
63bbedd4
JM
241092012-09-18 Joseph Myers <joseph@codesourcery.com>
24110
24111 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24112 (tst-writev-ENV): Remove.
24113 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24114
626f8b6a
CM
241152012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24116
24117 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24118
b7aaa4d6
JM
241192012-09-17 Joseph Myers <joseph@codesourcery.com>
24120
24121 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24122 unconditional.
24123 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24124 Likewise.
24125 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24126 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24127 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24128 Likewise.
24129
65513990
L
241302012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24131
24132 [BZ #14587]
24133 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24134 * config.make.in (have-cpp-asm-debuginfo): Removed.
24135 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24136 * configure: Regenerated.
24137
784761be
JM
241382012-09-14 Joseph Myers <joseph@codesourcery.com>
24139
24140 [BZ #5044]
24141 * stdio-common/printf_fp.c: Include <stdbool.h> and
24142 <rounding-mode.h>.
24143 (___printf_fp): Determine rounding using get_rounding_mode and
24144 round_away.
24145 * stdio-common/tst-printf-round.c: New file.
24146 * stdio-common/Makefile (tests): Add tst-printf-round.
24147 (link-libm): New variable.
24148 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24149
9503345f
L
241502012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24151
24152 [BZ #14576]
24153 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24154 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24155 Likewise.
24156 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24157 Likewise.
24158
ad35fc00
JM
241592012-09-13 Joseph Myers <joseph@codesourcery.com>
24160
24161 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24162 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24163 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24164 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24165
6c9b0f68
JM
241662012-09-12 Joseph Myers <joseph@codesourcery.com>
24167
24168 [BZ #14518]
24169 * include/rounding-mode.h: New file.
24170 * sysdeps/generic/get-rounding-mode.h: Likewise.
24171 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24172 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24173 (MAX_VALUE): New macro.
24174 (MIN_VALUE): Likewise.
24175 (overflow_value): New function.
24176 (underflow_value): Likewise.
24177 (round_and_return): Use overflow_value and underflow_value to
24178 determine return values in overflow and underflow cases. Use
24179 round_away to determine rounding depending on rounding mode.
24180 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24181 determine return values in overflow and underflow cases.
24182 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24183 (struct test_results): New structure.
24184 (struct test): Use struct test_results to store expected results
24185 for all rounding modes.
24186 (TEST): Include expected results for all rounding modes.
24187 (test_in_one_mode): New function.
24188 (do_test): Use test_in_one_mode to compute and check results.
24189 Check results for all rounding modes.
24190 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24191 $(link-libm).
24192
19fcedd5
AM
241932012-12-09 Allan McRae <allan@archlinux.org>
24194
1e9d84cd 24195 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24196
8bbfd2f1
JM
241972012-09-11 Joseph Myers <joseph@codesourcery.com>
24198
24199 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24200 (_G_int32_t): Likewise.
24201 (_G_uint16_t): Likewise.
24202 (_G_uint32_t): Likewise.
24203 (_G_HAVE_BOOL): Likewise.
24204 (_G_HAVE_ATEXIT): Likewise.
24205 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24206 (_G_HAVE_IO_FILE_OPEN): Likewise.
24207 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24208 (_G_int32_t): Likewise.
24209 (_G_uint16_t): Likewise.
24210 (_G_uint32_t): Likewise.
24211 (_G_HAVE_BOOL): Likewise.
24212 (_G_HAVE_ATEXIT): Likewise.
24213 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24214 (_G_HAVE_IO_FILE_OPEN): Likewise.
24215 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24216 (_G_int32_t): Likewise.
24217 (_G_uint16_t): Likewise.
24218 (_G_uint32_t): Likewise.
24219 (_G_HAVE_BOOL): Likewise.
24220 (_G_HAVE_ATEXIT): Likewise.
24221 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24222 (_G_HAVE_IO_FILE_OPEN): Likewise.
24223
b1dc5912
L
242242012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24225
24226 * csu/libc-tls.c: Update copyright years.
24227
0e886ef9
JM
242282012-09-10 Joseph Myers <joseph@codesourcery.com>
24229
28361c5e
JM
24230 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24231 [!_G_USING_THUNKS]: Remove conditional code.
24232 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24233 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24234
0e886ef9
JM
24235 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24236 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24237 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24238 (_G_VTABLE_LABEL_PREFIX): Likewise.
24239 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24240 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24241 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24242 (_G_VTABLE_LABEL_PREFIX): Likewise.
24243 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24244 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24245 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24246 (_G_VTABLE_LABEL_PREFIX): Likewise.
24247 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24248
bcba7aa2
L
242492012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24250
24251 * libio/Makefile: Include ../Makeconfig before tests.
24252 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24253 only if $(build-shared) is yes.
24254
06585ee8
L
24255 * iconv/gconv_db.c: Update copyright years.
24256
80ccd52c
LD
242572012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24258
24259 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24260 unwind info if defined PIC. Fix special cases description.
24261 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24262
24263 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24264 DP_HI_MASK entry.
24265 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24266
691bc9c1
L
242672012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24268
3d9b46b3
L
24269 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24270
de2139a9
L
24271 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24272 is NULL.
24273
5ca78dd0
L
24274 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24275 (LDLIBS-tst-chk4): This.
24276 (LDFLAGS-tst-chk5): Renamed to ...
24277 (LDLIBS-tst-chk5): This.
24278 (LDFLAGS-tst-chk6): Renamed to ...
24279 (LDLIBS-tst-chk6): This.
24280 (LDFLAGS-tst-lfschk4): Renamed to ...
24281 (LDLIBS-tst-lfschk4): This.
24282 (LDFLAGS-tst-lfschk5): Renamed to ...
24283 (LDLIBS-tst-lfschk5): This.
24284 (LDFLAGS-tst-lfschk6): Renamed to ...
24285 (LDLIBS-tst-lfschk6): This.
24286
691bc9c1
L
24287 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24288 on $(common-objpfx)soversions.mk.
24289
65cafb1c
JM
242902012-09-07 Joseph Myers <joseph@codesourcery.com>
24291
24292 [BZ #10014]
24293 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24294 example host name.
24295
c78ab094
SP
242962012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24297
24298 * malloc/arena.c (arena_get_retry): New function that gets
24299 another arena for the caller to try its request on.
24300 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24301 current arena cannot fulfill the request.
24302 (__libc_memalign): Likewise.
24303 (__libc_memalign): Likewise.
24304 (__libc_pvalloc): Likewise.
24305 (__libc_calloc): Likewise.
24306
01f49f59
JT
243072012-09-05 John Tobey <john.tobey@gmail.com>
24308
24309 [BZ #13542]
24310 * manual/arith.texi (Operations on Complex): Fix description
24311 of carg branch cut.
24312
4c23fed5
JM
243132012-09-06 Joseph Myers <joseph@codesourcery.com>
24314
1d3c8572
JM
24315 [BZ #10014]
24316 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24317 host name.
24318
4c23fed5
JM
24319 [BZ #10038]
24320 * manual/memory.texi (Memory): Make order of menu items match
24321 order of sections.
24322
04570aaa
L
243232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24324
24325 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24326 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24327 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24328
b80af2f4
L
243292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24330
24331 * csu/libc-tls.c (static_dtv): Renamed to ...
24332 (_dl_static_dtv): This. Make it global.
24333 (_dl_initial_dtv): Removed.
24334 (__libc_setup_tls): Updated.
24335 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24336 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24337 DL_INITIAL_DTV.
24338
2abe9f15
PM
243392012-09-06 Petr Machata <pmachata@redhat.com>
24340
24341 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24342 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24343 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24344 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24345
0948c3af
L
243462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24347
24348 [BZ #14545]
24349 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24350 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24351 freeing dtv[-1].
24352
a5055ad1
L
243532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24354
24355 [BZ #14544]
24356 * Makeconfig (link-static-before-libc): Replace $(+prector)
24357 with $(+prectorT).
24358 (link-static-after-libc): Replace $(+postctor) with
24359 $(+postctorT).
24360 (link-bounded): Replace $(+prector)/$(+postctor) with
24361 $(+prectorT)/$(+postctorT).
24362 (+prectorT): New macro.
24363 (+postctorT): Likewise.
24364
ed8c2ecd
JM
243652012-09-06 Joseph Myers <joseph@codesourcery.com>
24366
24367 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24368 (round_str): Handle values above the maximum for IBM long double
24369 as inexact.
24370 * stdlib/tst-strtod-round.c (tests): Regenerated.
24371
14c996c8
AK
243722012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24373
24374 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24375 assembler flag.
24376 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24377 zarch_nohighgprs around the zarch optimized routines.
24378 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24379 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24380 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24381 for zarch.
24382
430d6ce6
DM
243832012-09-05 David S. Miller <davem@davemloft.net>
24384
24385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24386
57f41c40
AS
24387 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24388 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
24389 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24390 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24391 entries.
24392
24d4e01b
AO
243932012-09-05 Alexandre Oliva <aoliva@redhat.com>
24394
24395 * malloc/arena.c: Fold copyright years.
24396 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24397
61d58174
AO
243982012-09-05 Alexandre Oliva <aoliva@redhat.com>
24399
24400 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24401
20196a5e
AO
244022012-09-05 Alexandre Oliva <aoliva@redhat.com>
24403
24404 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24405
5c447383
AO
244062012-09-05 Alexandre Oliva <aoliva@redhat.com>
24407
24408 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24409 change internal state upon failure.
24410
fad64255
AO
244112012-09-05 Alexandre Oliva <aoliva@redhat.com>
24412
24413 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24414 * malloc/memusage.c (mmap): Likewise.
24415 (mmap64, mremap): Likewise. Adjust name in comment.
24416
1ffb8c90
SP
244172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24418
24419 * libio/fileops.c: Fix typos in comments.
24420 * libio/oldfileops.c: Likewise.
24421 * libio/wfileops.c: Likewise.
24422
6ef9cc37
SP
244232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24424
24425 [BZ #1349]
24426 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24427 (tst-malloc-usable-ENV): Set environment for test case.
24428 * malloc/hooks.c (malloc_check_get_size): New function to get
24429 requested size.
24430 * malloc/malloc.c (musable): Use malloc_check_get_size.
24431 * malloc/tst-malloc-usable.c: New test case.
24432
4d038ae3
AS
244332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24434
24435 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24436
c4e85184
AM
244372012-09-05 Allan McRae <allan@archlinux.org>
24438
b9dafc56 24439 [BZ #13966]
c4e85184
AM
24440 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24441 determine header location.
24442 * configure: Regenerated.
24443
e1343020
AS
244442012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24445
24446 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24447 float format.
24448 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24449 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24450 format.
e1343020
AS
24451 (test): Regenerate.
24452
0a9f1987
DM
244532012-09-04 David S. Miller <davem@davemloft.net>
24454
24455 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24456 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24457 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24458
29237804
FW
244592012-09-04 Florian Weimer <fweimer@redhat.com>
24460
24461 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24462 failures.
24463
edb3cb88
FW
24464 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24465
60160d83
JM
244662012-09-04 Joseph Myers <joseph@codesourcery.com>
24467
24468 [BZ #9914]
24469 * libio/iogetdelim.c: Include <limits.h>.
24470 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24471 + len + 1 would overflow.
24472
bcd6c8dc
AJ
244732012-09-03 Andreas Jaeger <aj@suse.de>
24474
24475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24476 * sysdeps/i386/fpu/libm-test-ulps: Update.
24477
4ffffbd2
LD
244782012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24479
24480 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24481 Add s_sinf-sse2, s_conf-sse2.
24482
24483 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24484 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24485 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24486 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24487
24488 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24489 for using routine as __sinf_ia32.
24490 Use macro for function declaration and weak_alias.
24491 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24492 for using routine as __cosf_ia32.
24493 Use macro for function declaration and weak_alias.
24494
24495 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24496 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24497
24498 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24499 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24501
24502 * math/libm-test.inc (cos_test): Add more test cases.
24503 (sin_test): Likewise.
24504 (sincos_test): Likewise.
24505
511fa286
AK
245062012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24507
24508 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24509 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24510 hidden.
24511 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24512
5f30cfec
L
245132012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24514
24515 [BZ #14538]
24516 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24517 first element of the GOT.
24518 (elf_machine_load_address): Return the difference between
24519 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24520
0786794f
AM
245212012-09-01 Allan McRae <allan@archlinux.org>
24522
5f30cfec
L
24523 [BZ #13412]
24524 * configure.in (AWK): Require gawk version 3.0 or later.
24525 * configure: Regenerated.
0786794f 24526
26889eac
JM
245272012-09-01 Joseph Myers <joseph@codesourcery.com>
24528
24529 * sysdeps/unix/sysv/linux/kernel-features.h
24530 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24531 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24532 [__NR_clock_getres]: Make code unconditional.
24533 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24534 (clock_getcpuclockid): Remove code left unreachable by removal of
24535 conditionals.
24536 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24537 code unconditional.
24538 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24539 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24540 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24541 Make code unconditional.
24542 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24543 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24544 * sysdeps/unix/sysv/linux/clock_settime.c
24545 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24546 conditional code.
24547 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24548 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24549
d22e28b0
L
245502012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24551
24552 [BZ #14476]
24553 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24554 scripts/test-installation.pl.
24555
24556 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24557 and $ld_so_version if it is set.
24558
050af9c4
SP
245592012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24560
24561 [BZ #14516]
24562 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24563 failure if reading from procfs failed.
24564 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24565
ad845c0b
JM
245662012-08-27 Joseph Myers <joseph@codesourcery.com>
24567
24568 * sysdeps/unix/sysv/linux/kernel-features.h
24569 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24570 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24571 Remove conditional code.
24572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24573 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24574 Remove conditional code.
24575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24576 * sysdeps/unix/sysv/linux/i386/fxstat.c
24577 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24578 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24579 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24580 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24582 * sysdeps/unix/sysv/linux/i386/lxstat.c
24583 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24585 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24586 Remove conditional code.
24587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24588 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24589 Remove conditional code.
24590 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24591 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24592 <kernel-features.h>.
24593 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24594 Remove.
24595 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24596 Remove conditional code.
24597 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24598 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24599 Remove conditional.
24600
5dbf56af
MF
246012012-08-27 Mike Frysinger <vapier@gentoo.org>
24602
24603 [BZ #5400]
24604 * NEWS: Add fixed bug number.
24605
d6e70f43
JM
246062012-08-27 Joseph Myers <joseph@codesourcery.com>
24607
7efb4737
JM
24608 [BZ #14519]
24609 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24610 underflowing exponent in case of negative sign.
24611 * stdlib/tst-strtod-round-data: Add more tests.
24612 * stdlib/tst-strtod-round.c (tests): Regenerated.
24613
af92131a
JM
24614 [BZ #3479]
24615 * stdlib/strtod_l.c (NDIG): Remove.
24616 (HEXNDIG): Likewise.
24617 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24618 smallest representable value.
24619 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24620 lie within an exact representation of 1/2 ulp of the result.
24621 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24622 unconditionally.
24623 (TENS_P9_IDX): Define unconditionally.
24624 (TENS_P9_SIZE): Likewise.
24625 (TENS_P10_IDX): Likewise.
24626 (TENS_P10_SIZE): Likewise.
24627 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24628 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24629 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24630 entries for 10^2^13 and 10^2^14.
24631 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24632 (TENS_P13_IDX): Define.
24633 (TENS_P13_SIZE): Likewise.
24634 (TENS_P14_IDX): Likewise.
24635 (TENS_P14_SIZE): Likewise.
24636 (_fpioconst_pow10): Change array size to
24637 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24638 unconditional.
24639 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24640 1024]: Add entries for 10^2^13 and 10^2^14.
24641 [LAST_POW10 > _LAST_POW10]: Remove #error.
24642 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24643 (_fpioconst_pow10): Change array size to
24644 FPIOCONST_POW10_ARRAY_SIZE.
24645 * stdlib/gen-fpioconst.c: New file.
24646 * stdlib/gen-tst-strtod-round.c: Likewise.
24647 * stdlib/tst-strtod-round-data: Likewise.
24648 * stdlib/tst-strtod-round.c: Likewise.
24649 * stdlib/Makefile (tests): Add tst-strtod-round.
24650
d6e70f43
JM
24651 [BZ #14459]
24652 * stdlib/strtod_l.c: Include <stdint.h>.
24653 (NDEBUG): Do not define.
24654 (round_and_return): Change EXPONENT parameter to type intmax_t.
24655 Rearrange calculations to avoid internal overflow possibilities.
24656 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24657 Rearrange calculations to avoid internal overflow possibilities.
24658 Assert that number fits inside MPNSIZE limbs.
24659 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24660 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24661 calculations and add assertions to avoid internal overflow
24662 possibilities. Add casts to avoid signed/unsigned operations.
24663 * stdlib/tst-strtod-overflow.c: New file.
24664 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24665
1f529f7d
MP
246662012-08-25 Marek Polacek <polacek@redhat.com>
24667
24668 * time/time.h: Fix some typos in comments.
24669
59a629f1
RM
246702012-08-23 Roland McGrath <roland@hack.frob.com>
24671
24672 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24673 * posix/tst-rfc3484-2.c: Likewise.
24674 * posix/tst-rfc3484-3.c: Likewise.
24675
d3bafbc9
SM
246762012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24677
24678 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24679 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24680
4efcc022
JM
246812012-08-23 Joseph Myers <joseph@codesourcery.com>
24682
24683 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24684 #include of fxstatat64.c.
24685
3cc3ef96
RM
246862012-08-22 Roland McGrath <roland@hack.frob.com>
24687
f04e2132
RM
24688 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24689 * shadow/getspent_r.c: Likewise.
24690 * shadow/getspnam.c: Likewise.
24691 * shadow/getspnam_r.c: Likewise.
24692 * gshadow/getsgent.c: Likewise.
24693 * gshadow/getsgent_r.c: Likewise.
24694 * gshadow/getsgnam.c: Likewise.
24695 * gshadow/getsgnam_r.c: Likewise.
24696 * inet/getnetbyad.c: Likewise.
24697 * inet/getnetbyad_r.c: Likewise.
24698 * inet/getnetbynm.c: Likewise.
24699 * inet/getnetbynm_r.c: Likewise.
24700 * inet/getnetent.c: Likewise.
24701 * inet/getnetent_r.c: Likewise.
24702 * inet/getproto.c: Likewise.
24703 * inet/getproto_r.c: Likewise.
24704 * inet/getprtent.c: Likewise.
24705 * inet/getprtent_r.c: Likewise.
24706 * inet/getprtname.c: Likewise.
24707 * inet/getprtname_r.c: Likewise.
24708 * inet/getrpcbyname.c: Likewise.
24709 * inet/getrpcbyname_r.c: Likewise.
24710 * inet/getrpcbynumber.c: Likewise.
24711 * inet/getrpcbynumber_r.c: Likewise.
24712 * inet/getrpcent.c: Likewise.
24713 * inet/getrpcent_r.c: Likewise.
24714 * inet/getaliasent.c: Likewise.
24715 * inet/getaliasent_r.c: Likewise.
24716 * inet/getaliasname.c: Likewise.
24717 * inet/getaliasname_r.c: Likewise.
24718 * nscd/getgrgid_r.c: Likewise.
24719 * nscd/getgrnam_r.c: Likewise.
24720 * nscd/gethstbyad_r.c: Likewise.
24721 * nscd/gethstbynm3_r.c: Likewise.
24722 * nscd/getpwnam_r.c: Likewise.
24723 * nscd/getpwuid_r.c: Likewise.
24724 * nscd/getsrvbynm_r.c: Likewise.
24725 * nscd/getsrvbypt_r.c: Likewise.
24726 * nscd/gai.c: Likewise.
24727
c53d909c
RM
24728 * configure.in (build_nscd): New substituted variable, set
24729 by --disable-build-nscd and defaults to $use_nscd.
24730 * configure: Regenerated.
24731 * config.make.in (build-nscd): New substituted variable.
24732 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24733 Change conditional to require [$(build-nscd) = yes] as well.
24734 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24735
3cc3ef96
RM
24736 [BZ# 13696]
24737 * configure.in (use_nscd): New substituted variable, set by
24738 --disable-nscd. If enabled, define USE_NSCD.
24739 * configure: Regenerated.
24740 * config.h.in: Add USE_NSCD.
24741 * config.make.in (use-nscd): New substituted variable.
24742 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24743 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24744 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24745 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24746 (CFLAGS-getgrnam_r.c): Likewise.
24747 (CFLAGS-initgroups.c): Likewise.
24748 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24749 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24750 Variables removed.
24751 * inet/getnetgrent_r.c
24752 (nscd_setnetgrent): New function, broken out of ...
24753 (setnetgrent): ... here. Call it.
24754 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24755 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24756 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24757 * nscd/Makefile (routines, aux): Move definitions after include of
24758 Makeconfig. Conditionalize on [$(use-nscd) != no].
24759 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24760 Conditionalize on [USE_NSCD].
24761 (is_nscd, nscd_init_cb): Likewise.
24762 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24763 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24764 * nss/nss_db/db-init.c: Likewise.
24765 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24766 [USE_NSCD].
24767 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24768 (make_request): Use it.
24769 (cache_valid_p): New function.
24770 (__check_pf): Use it.
24771 * NEWS: Add item for --disable-nscd.
24772
07e51550
DL
247732012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24774
24775 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24776 to support sed >= 4.2.1-20-ga9bf076.
24777 * configure: Regenerated.
24778
35a5b08b
RM
247792012-08-22 Roland McGrath <roland@hack.frob.com>
24780
24781 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24782 Conditionalize whole body on [IREL].
24783
8479f23a
JL
247842012-08-22 Jeff Law <law@redhat.com>
24785
24786 [BZ #14505]
24787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24788 if the family is PF_UNSPEC.
24789
48da0b21
MF
247902012-08-22 Mike Frysinger <vapier@gentoo.org>
24791
24792 * Makerules (lib-version): Rename from V.
24793 (install-lib-nosubdir): Change V to lib-version.
24794
15d0da8c
WS
247952012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24796
24797 [BZ #14252]
24798 * powerpc32/power6/wcschr.c: New file.
24799 * powerpc32/power6/wcscpy.c: New file.
24800 * powerpc32/power6/wcsrchr.c: New file.
24801 * powerpc64/power6/wcschr.c: New file.
24802 * powerpc64/power6/wcscpy.c: New file.
24803 * powerpc64/power6/wcsrchr.c: New file.
24804
bcca0895
MK
248052012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24806
24807 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24808 (two_way_short_needle): Use it.
5a4aaa33
RM
24809 * string/strstr.c (AVAILABLE1_USES_J): Define.
24810 * string/strcasestr.c: Likewise.
99677e57
MK
24811
24812 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24813 array references.
24814 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24815
400726de
MK
24816 [BZ #11607]
24817 * NEWS: Add an entry.
24818 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24819 define their defaults.
24820 (two_way_short_needle): Detect end-of-string on-the-fly.
24821 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24822 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24823 * string/bug-strcasestr1.c: New test.
24824 * string/Makefile: Run it.
24825
20a71f2c
MK
248262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24827
24828 [BZ #11607]
24829 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24830 the first character.
24831
21ad0558
RM
248322012-08-21 Roland McGrath <roland@hack.frob.com>
24833
24834 * csu/elf-init.c (__libc_csu_irel): Function removed.
24835 * csu/libc-start.c (apply_irel): New function.
24836 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24837
0e1d9911
JM
248382012-08-21 Joseph Myers <joseph@codesourcery.com>
24839
24840 * sysdeps/unix/sysv/linux/kernel-features.h
24841 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24842 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24843 <kernel-features.h>.
24844 [__NR_fadvise64_64]: Make code unconditional.
24845 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24846 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24847 !__NR_fadvise64_64)]: Likewise.
24848 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24849 !__NR_fadvise64_64))]: Likewise.
24850 [__NR_fadvise64]: Make code unconditional.
24851 [!__NR_fadvise64]: Remove conditional code.
24852 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24853 <kernel-features.h>.
24854 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24855 unconditional.
24856 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24857 conditional code.
24858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24859 not include <kernel-features.h>.
24860 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24861 unconditional.
24862 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24863 conditional code.
24864 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24865 include <kernel-features.h>.
24866 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24867 unconditional.
24868 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24869 conditional code.
24870
14a50c9d
WS
248712012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24872
24873 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24874 slight instruction rearrangements per scrollpipe analysis.
24875 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24876
c0f4faf0
RM
248772012-08-20 Roland McGrath <roland@hack.frob.com>
24878
696da859
RM
24879 * manual/syslog.texi (syslog; vsyslog, closelog):
24880 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24881 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24882
c0f4faf0
RM
24883 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24884 DSOCAPS to match condition on defining it.
24885
348363b2
JM
248862012-08-20 Joseph Myers <joseph@codesourcery.com>
24887
a35cbf28
JM
24888 * sysdeps/unix/sysv/linux/kernel-features.h
24889 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24891 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24892 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24894 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24895 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24897 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24898 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24899
445f7ecd
JM
24900 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24901 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24902
348363b2
JM
24903 * sysdeps/unix/sysv/linux/kernel-features.h
24904 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24905 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24906 unconditional.
24907 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24908 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24909 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24910 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24911 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24912 Make code unconditional.
24913 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24914 (__mmap64) [!__NR_mmap2]: Likewise.
24915 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24916 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24917 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24918 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24919 [__NR_mmap2]: Make code unconditional.
24920 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24921 (__mmap64) [!__NR_mmap2]: Likewise.
24922
bc5bc0e5
AK
249232012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24924
24925 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24926
88d506de
AJ
249272012-08-18 Andreas Jaeger <aj@suse.de>
24928
24929 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24930
493387d2
MF
249312012-08-18 Mike Frysinger <vapier@gentoo.org>
24932
24933 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24934 * include/unistd.h (__have_sock_cloexec): Likewise.
24935 (__have_pipe2): Likewise.
24936 (__have_dup3): Likewise.
24937
a277af22
MF
249382012-08-18 Mike Frysinger <vapier@gentoo.org>
24939
24940 [BZ #9685]
24941 * include/unistd.h (__have_pipe2): Change define into an extern int.
24942 (__have_dup3): Likewise.
24943 * socket/have_sock_cloexec.c: Include fcntl.h.
24944 (__have_pipe2): New variable.
24945 (__have_dup3): Likewise.
24946
fdab8fd3
MF
249472012-08-17 Mike Frysinger <vapier@gentoo.org>
24948
24949 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24950
31035e80
MP
249512012-08-17 Marek Polacek <polacek@redhat.com>
24952
24953 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24954 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24955
3bd9e993
RM
249562012-08-17 Roland McGrath <roland@hack.frob.com>
24957
c91c505f
RM
24958 * configure.in: Add AC_SUBST for sysheaders.
24959 * configure: Regenerated.
24960 * config.make.in (sysheaders): New substituted variable.
24961
7c6f9d53
RM
24962 * sysdeps/unix/mkfifo.c: Moved ...
24963 * sysdeps/posix/mkfifo.c: ... here.
24964 * sysdeps/unix/mkfifoat.c: Moved ...
24965 * sysdeps/posix/mkfifoat.c: ... here.
24966
24967 * sysdeps/unix/utime.c: Moved ...
24968 * sysdeps/posix/utime.c: ... here.
24969
24970 * sysdeps/unix/time.c: Moved ...
24971 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24972 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24973 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24974
24975 * sysdeps/unix/nice.c: Moved ...
24976 * sysdeps/posix/nice.c: ... here.
24977
24978 * sysdeps/unix/alarm.c: Moved ...
24979 * sysdeps/posix/alarm.c: ... here.
24980
3bd9e993
RM
24981 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24982
d1f09384
JL
249832012-08-17 Jeff Law <law@redhat.com>
24984
24985 * intl/Makefile (codeset_mo): New variable.
24986 ($(codeset_mo)): New target.
24987 (tst-codeset.out): Depend on that. Remove explicit rule.
24988 (tst-gettext3.out, tst-gettext5.out): Likewise.
24989 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24990 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24991 * intl/tst-codeset.sh: Remove.
24992 * intl/tst-gettext3.sh: Likewise.
24993 * intl/tst-gettext5.sh: Likewise.
24994
2ae1ae5c
RM
249952012-08-17 Roland McGrath <roland@hack.frob.com>
24996
c31fdb83
RM
24997 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24998 * sysdeps/unix/syscalls.list: ... here.
24999
a0844057
RM
25000 * sysdeps/posix/getaddrinfo.c
25001 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25002 (gaiconf_init, gaiconf_reload): Use them.
25003 [!_STATBUF_ST_NSEC]
25004 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25005 Define using time_t rather than struct timespec.
25006
750c1f2a
RM
25007 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25008 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25009 Macros removed.
25010 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25011 [!NO_THREADS].
25012 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25013 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25014 Likewise.
25015
2ae1ae5c
RM
25016 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25017 __libc_cleanup_push argument.
25018
e66a42f5
RM
25019 * bits/param.h: New file.
25020 * misc/sys/param.h: New file.
25021 * include/sys/param.h: New file.
25022 * misc/Makefile (headers): Add bits/param.h.
25023 * sysdeps/generic/sys/param.h: File removed.
25024 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25025 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25026 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 25027 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 25028
b7c08a66
RM
25029 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25030 last change.
25031
b2e1c562
RM
25032 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25033 [_IO_MTSAFE_IO].
25034 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25035 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25036 New macros.
25037
c75ccd4c
RM
25038 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25039 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25040 rather than -D_IO_MTSAFE_IO conditionally.
25041 * stdio-common/Makefile (CPPFLAGS): Likewise.
25042 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25043 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25044 Use $(libio-mtsafe).
25045 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25046 of -D_IO_MTSAFE_IO.
25047 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25048 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25049 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25050 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25051 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25052 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25053 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25054 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25055 (CFLAGS-fread_u_chk.c): Likewise.
25056 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25057 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25058 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25059 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25060 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25061 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25062 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25063 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25064 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25065
25066 * libio/Makefile: Test [$(libc-reentrant) = yes]
25067 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25068
25069 * Makeconfig
25070 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25071 * sysdeps/pthread/configure: File removed.
25072 * sysdeps/pthread/Makeconfig: New file.
25073 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25074 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25075
d9195db8
GB
250762012-08-16 Gary Benson <gbenson@redhat.com>
25077
25078 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25079 unmapping the first object in a namespace.
25080
86466cd9
RM
250812012-08-16 Roland McGrath <roland@hack.frob.com>
25082
25083 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25084 (__internal_setnetgrent): ... this. Add internal_function to
25085 definition. Add libc_hidden_def.
25086 (setnetgrent): Update caller.
25087 (internal_endnetgrent): Renamed to ...
25088 (__internal_endnetgrent): ... this. Add internal_function to
25089 definition. Add libc_hidden_def.
25090 (endnetgrent): Update caller.
25091 (internal_getnetgrent_r): Renamed to ...
25092 (__internal_getnetgrent_r): ... this. Add internal_function to
25093 definition. Add libc_hidden_def.
25094 (__getnetgrent_r): Update caller.
25095 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25096
c3c8283c
JM
250972012-08-16 Joseph Myers <joseph@codesourcery.com>
25098
25099 * stdlib/longlong.h: Update from GCC.
25100
db1ee0a8
RM
251012012-08-16 Roland McGrath <roland@hack.frob.com>
25102
25103 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25104 on _QL, which is set by umul_ppmm but never used.
25105 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25106 variables, which are set by GMP macros but never used.
25107 * stdio-common/_itowa.c (_itowa): Likewise.
25108 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25109 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25110
30f69637
CD
251112012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25112
25113 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25114 struct La_sh_regs is not constant.
25115 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25116 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25117 and struct La_sparc64_regs are not constant.
25118
93a78ac4
JM
251192012-08-16 Joseph Myers <joseph@codesourcery.com>
25120
25121 * sysdeps/unix/sysv/linux/kernel-features.h
25122 (__ASSUME_POSIX_TIMERS): Remove.
25123 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25124 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25125 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25126 Make code unconditional.
25127 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25128 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25129 Make code unconditional.
25130 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25131 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25132 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25133 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25134 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25135 Make code unconditional.
25136 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25137 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25138 (__libc_missing_posix_timers): Remove.
25139
dd924cd7
RM
251402012-08-15 Roland McGrath <roland@hack.frob.com>
25141
4b4f2771
RM
25142 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25143 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25144
601c888b
RM
25145 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25146
176790a7
RM
25147 * elf/dl-sym.c: Include <stdlib.h>.
25148
329bc018
RM
25149 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25150 constants, which avoids warnings in 32-bit builds.
25151
e04e272d
RM
25152 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25153 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25154
952bf94a
RM
25155 * misc/lseek.c: File moved to ...
25156 * io/lseek.c: ... here.
25157
7c99b50a
RM
25158 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25159
dd924cd7
RM
25160 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25161 shifting LEN more than 31 bits at once.
25162
b3f479a8
LD
251632012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25164
25165 [BZ #14195]
8c4ae0d4
RM
25166 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25167 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25168 * string/test-strncasecmp.c (check1): Renamed to...
25169 (bz12205): ...this.
25170 (bz14195): Add new testcase for two empty input strings and N > 0.
25171 (test_main): Call new testcase, adapt for renamed function.
25172
9c55864e
AJ
251732012-08-15 Andreas Jaeger <aj@suse.de>
25174
25175 [BZ #14090]
25176 * crypt/md5test2.c: New test, based on test supplied by Serge
25177 Belyshev <belyshev@depni.sinp.msu.ru>.
25178 * crypt/Makefile (xtests): Add md5test-giant..
25179 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25180
02dcb6c5
PE
251812012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25182
25183 [BZ #14090]
25184 * crypt/md5.c (md5_process_block): Don't assume the buffer
25185 length is less than 2**32.
25186 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25187 length is less than 2**64.
25188
a3f95dcc
RM
251892012-08-15 Roland McGrath <roland@hack.frob.com>
25190
be75d758
RM
25191 * string/str-two-way.h: Include <sys/param.h>.
25192 (MAX): Macro removed.
25193
7312ca90
RM
25194 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25195 Move #define and #undef of memmove to just before and after
25196 including <string.h>.
25197
9a0a5486
RM
25198 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25199 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25200 and after including <string.h>. Move declarations of
25201 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25202 to before #include "string/memmove.c".
25203
67cc348d
RM
25204 * include/dirent.h: Declare __getdirentries.
25205
a3f95dcc
RM
25206 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25207 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25208
ca98e171
MF
252092012-08-14 Mike Frysinger <vapier@gentoo.org>
25210
25211 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25212 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25213 * sysdeps/i386/configure: Regenerated.
25214 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25215 STABS_CURRENT_FILE, and STABS_FUN.
25216 (END): Remove call to STABS_FUN_END.
25217 (STABS_CURRENT_FILE1): Delete.
25218 (STABS_CURRENT_FILE): Likewise.
25219 (STABS_FUN): Likewise.
25220 (STABS_FUN_END): Likewise.
25221 (STABS_FUN2): Likewise.
25222 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25223 * sysdeps/x86_64/configure: Regenerated.
25224
5908bf46
RM
252252012-08-14 Roland McGrath <roland@hack.frob.com>
25226
25227 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25228 * elf/dl-lookup.c: Likewise.
5908bf46 25229
f2c05b9e
JM
252302012-08-14 Joseph Myers <joseph@codesourcery.com>
25231
25232 * sysdeps/unix/sysv/linux/kernel-features.h
25233 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25234 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25235 unconditionally.
25236 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25237 unconditionally.
25238 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25239 condition on __ASSUME_CLONE_THREAD_FLAGS.
25240
e11f5155
AJ
252412012-08-14 Andreas Jaeger <aj@suse.de>
25242
25243 * sysdeps/i386/fpu/libm-test-ulps: Update.
25244
51a9ba86
MK
252452012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25246
2fdd4f78
AJ
25247 * include/atomic.h (atomic_exchange_and_add): Split into ...
25248 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25249 New atomic macros.
51a9ba86 25250
ba6cba9e
MT
252512012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25252
25253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25254
42443a47
JL
252552012-08-13 Jeff Law <law@redhat.com>
25256
25257 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25258 null byte in the output string.
25259
121dce05
JM
252602012-08-10 Joseph Myers <joseph@codesourcery.com>
25261
25262 * sysdeps/unix/sysv/linux/kernel-features.h
25263 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25264 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25265 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25266 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25267 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25268 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25269 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25270
bf51f568
JL
252712012-08-09 Jeff Law <law@redhat.com>
25272
25273 [BZ #13939]
25274 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25275 When avoid_arena is set, don't retry in the that arena. Pick the
25276 next one, whatever it might be.
25277 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25278 (arena_lock): Pass in new parameter to arena_get2.
25279 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25280 arena_get2.
25281 (__libc_malloc): Unify retrying after main arena failure with
25282 __libc_memalign version.
25283 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25284
f85fa270
L
252852012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25286
25287 [BZ #14166]
25288 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25289 to __redirect_strstr.
25290 (__strstr_sse42): Use typeof __redirect_strstr.
25291 (__strstr_ia32): Likewise.
25292 (__libc_strstr): New prototype.
25293 (strstr): Renamed to ...
25294 (__libc_strstr): This.
25295 (strstr): New strong alias of __libc_strstr.
25296 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25297 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25298 __redirect_time.
25299 Include <time.h>.
25300 (__libc_time): New prototype.
25301 (time_ifunc): Replace time with __libc_time.
25302 (time): New strong alias and hidden definition of __libc_time.
25303 (__GI_time): Remove strong alias.
25304 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25305 Include <stddef.h>.
25306 (memmove): Redefined to __redirect_memmove.
25307 (__memmove_sse2): Use typeof __redirect_memmove.
25308 (__memmove_ssse3): Likewise.
25309 (__memmove_ssse3_back): Likewise.
25310 (__libc_memmove): New prototype.
25311 (memmove): Renamed to ...
25312 (__libc_memmove): This.
25313 (memmove): New strong alias of __libc_memmove.
25314
33b4a91e
MS
253152012-08-08 Mark Salter <msalter@redhat.com>
25316
25317 * elf/elf.h
25318 (R_MN10300_TLS_GD): Define.
25319 (R_MN10300_TLS_LD): Likewise.
25320 (R_MN10300_TLS_LDO): Likewise.
25321 (R_MN10300_TLS_GOTIE): Likewise.
25322 (R_MN10300_TLS_IE): Likewise.
25323 (R_MN10300_TLS_LE): Likewise.
25324 (R_MN10300_TLS_DTPMOD): Likewise.
25325 (R_MN10300_TLS_DTPOFF): Likewise.
25326 (R_MN10300_TLS_TPOFF): Likewise.
25327 (R_MN10300_SYM_DIFF): Likewise.
25328 (R_MN10300_ALIGN): Likewise.
25329 (R_MN10300_NUM): Update.
25330
b36137f1
JM
253312012-08-08 Joseph Myers <joseph@codesourcery.com>
25332
25333 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25334 Remove.
25335
cdd915fd
RM
253362012-08-08 Roland McGrath <roland@hack.frob.com>
25337
a2433aac
RM
25338 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25339
cdd915fd
RM
25340 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25341 sysdeps/unix -> sysdeps/posix move.
25342 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25343
bf9b740a
AM
253442012-08-07 Allan McRae <allan@archlinux.org>
25345
25346 [BZ #14303]
25347 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25348 (SUNOS_CPP): Likewise.
25349 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25350 not found.
25351 (open_input): Call CPP using execvp.
25352
93df14ee
JM
253532012-08-07 Joseph Myers <joseph@codesourcery.com>
25354
25355 * sysdeps/unix/sysv/linux/kernel-features.h
25356 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25357 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25358 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25359 (__ASSUME_WAITID_SYSCALL): Likewise.
25360 * sysdeps/unix/sysv/linux/dl-execstack.c
25361 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25362 code unconditional.
25363 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25364 conditional code.
25365 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25366 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25367 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25368 code.
25369 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25370 unconditional.
25371 [__ASSUME_WAITID_SYSCALL]: Likewise.
25372 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25373
d34689de
RM
253742012-08-07 Roland McGrath <roland@hack.frob.com>
25375
a281decc
RM
25376 * sysdeps/unix/closedir.c: Renamed to ...
25377 * sysdeps/posix/closedir.c: ... here.
25378 * sysdeps/unix/dirfd.c: Renamed to ...
25379 * sysdeps/posix/dirfd.c: ... here.
25380 * sysdeps/unix/dirstream.h: Renamed to ...
25381 * sysdeps/posix/dirstream.h: ... here.
25382 * sysdeps/unix/fdopendir.c: Renamed to ...
25383 * sysdeps/posix/fdopendir.c: ... here.
25384 * sysdeps/unix/opendir.c: Renamed to ...
25385 * sysdeps/posix/opendir.c: ... here.
25386 * sysdeps/unix/readdir.c: Renamed to ...
25387 * sysdeps/posix/readdir.c: ... here.
25388 * sysdeps/unix/readdir_r.c: Renamed to ...
25389 * sysdeps/posix/readdir_r.c: ... here.
25390 * sysdeps/unix/rewinddir.c: Renamed to ...
25391 * sysdeps/posix/rewinddir.c: ... here.
25392 * sysdeps/unix/seekdir.c: Renamed to ...
25393 * sysdeps/posix/seekdir.c: ... here.
25394 * sysdeps/unix/telldir.c: Renamed to ...
25395 * sysdeps/posix/telldir.c: ... here.
25396 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25397 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25398 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25399 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25400
22895b47
RM
25401 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25402 * bits/fcntl.h: ... here.
25403
707a53b6
RM
25404 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25405 not 0.
25406 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25407 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25408 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25409 (struct flock): Move l_start, l_len to the beginning.
25410 Use __pid_t for l_pid.
25411 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25412 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25413 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25414 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25415 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25416 [__USE_LARGEFILE64] (struct flock64): New type.
25417 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25418
f0bd3e25
RM
25419 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25420 * bits/dirent.h: ... here.
25421
d34689de
RM
25422 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25423 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25424
6dad2c06
JM
254252012-08-07 Joseph Myers <joseph@codesourcery.com>
25426
25427 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25428 Change from 2.6.0 to 2.6.16.
25429 * sysdeps/unix/sysv/linux/configure: Regenerated.
25430 * sysdeps/unix/sysv/linux/kernel-features.h
25431 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25432 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25433 version.
25434 (__ASSUME_UTIMES): Likewise.
25435 (__ASSUME_CLONE_STOPPED): Remove.
25436 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25437 architectures, not kernel version.
25438 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25439 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25440 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25441 (__ASSUME_WAITID_SYSCALL): Likewise.
25442 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25443 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25444 * README: State 2.6.16 as minimum Linux kernel version. Do not
25445 refer to older versions.
25446
03af9520
RM
254472012-08-06 Roland McGrath <roland@hack.frob.com>
25448
8e49df1d
RM
25449 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25450 Define alphasort64 as an alias.
25451 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25452 Define versionsort64 as an alias.
25453 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25454 Define scandir64 as an alias.
25455 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25456 Define scandirat64 as an alias.
25457 * dirent/alphasort64.c (alphasort64):
25458 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25459 * dirent/versionsort64.c: Likewise.
25460 * dirent/scandir64.c: Likewise.
25461 * dirent/scandirat64.c: Likewise.
25462 * sysdeps/wordsize-64/alphasort.c: File removed.
25463 * sysdeps/wordsize-64/alphasort64.c: File removed.
25464 * sysdeps/wordsize-64/scandir.c: File removed.
25465 * sysdeps/wordsize-64/scandir64.c: File removed.
25466 * sysdeps/wordsize-64/scandirat.c: File removed.
25467 * sysdeps/wordsize-64/scandirat64.c: File removed.
25468 * sysdeps/wordsize-64/versionsort.c: File removed.
25469 * sysdeps/wordsize-64/versionsort64.c: File removed.
25470 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25471 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25472 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25473 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25474 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25475 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25476 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25477 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25478
25479 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25480 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25481 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25482 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25483 [defined __arch64__ || defined __sparcv9]
25484 (__INO_T_MATCHES_INO64_T): New macro.
25485 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25486 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25487 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25488 * sysdeps/unix/sysv/linux/bits/dirent.h
25489 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25490 (_DIRENT_MATCHES_DIRENT64): New macro.
25491
03af9520
RM
25492 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25493 Define lockf64 as an alias.
25494 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25495 Define fseeko64 as an alias.
25496 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25497 Define ftello64 as an alias.
25498 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25499 Define _IO_fgetpos64 and fgetpos64 as aliases.
25500 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25501 Define _IO_fsetpos64 and fsetpos64 as aliases.
25502 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25503 Conditionalize body on this.
25504 * libio/fseeko64.c: Likewise.
25505 * libio/ftello64.c: Likewise.
25506 * libio/iofgetpos64.c: Likewise.
25507 * libio/iofsetpos64.c: Likewise.
25508 * sysdeps/wordsize-64/lockf.c: File removed.
25509 * sysdeps/wordsize-64/lockf64.c: File removed.
25510 * sysdeps/wordsize-64/fseeko.c: File removed.
25511 * sysdeps/wordsize-64/fseeko64.c: File removed.
25512 * sysdeps/wordsize-64/ftello.c: File removed.
25513 * sysdeps/wordsize-64/ftello64.c: File removed.
25514 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25515 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25516 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25517 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25518 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25519 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25520 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25521 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25522 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25523 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25524 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25525 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25526 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25527 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25528
25529 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25531 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25532 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25533 [defined __arch64__ || defined __sparcv9]
25534 (__OFF_T_MATCHES_OFF64_T): New macro.
25535 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25536 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25537 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25538 (__OFF_T_MATCHES_OFF64_T): New macro.
25539
c5757acd
L
255402012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25541
25542 * stdlib/secure-getenv.c (__secure_getenv): Replace
25543 GLIBC_2_16 with GLIBC_2_17.
25544
3a31811e
L
255452012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25546
25547 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25548 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25549
faa2bccb
DM
255502012-08-03 David S. Miller <davem@davemloft.net>
25551
25552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25553
85fe1997
JM
255542012-08-03 Joseph Myers <joseph@codesourcery.com>
25555
25556 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25557 Remove.
25558 (__ASSUME_CORRECT_SI_PID): Likewise.
25559 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25560 (__ASSUME_TMPFS_NAME): Likewise.
25561 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25562 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25563 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25564 (HAVE_AUX_SECURE): Make definition unconditional.
25565 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25566 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25567
4f75b7a0
RM
255682012-08-03 Roland McGrath <roland@hack.frob.com>
25569
25570 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25571 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25572 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25573 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25574 __eloop_threshold instead of SYMLOOP_MAX.
25575
25576 * sysdeps/generic/eloop-threshold.h: New file.
25577 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25578 of MAXSYMLINKS.
25579 * elf/chroot_canon.c (chroot_canon): Likewise.
25580
7aab07e4
JM
255812012-08-03 Joseph Myers <joseph@codesourcery.com>
25582
25583 [BZ #13717]
25584 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25585 Change to 2.6.0 everywhere.
25586 * sysdeps/unix/sysv/linux/configure: Regenerated.
25587 * sysdeps/unix/sysv/linux/kernel-features.h
25588 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25589 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25590 kernel versions.
25591 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25592 (__ASSUME_FUTEX_REQUEUE): Remove.
25593 (__ASSUME_STATFS64): Define unconditionally.
25594 (__ASSUME_AT_SECURE): Likewise.
25595 (__ASSUME_CORRECT_SI_PID): Likewise.
25596 (__ASSUME_TGKILL): Define without depending on kernel version for
25597 i386.
25598 (__ASSUME_UTIMES): Likewise.
25599 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25600 kernel version.
25601 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25602 (__ASSUME_TMPFS_NAME): Likewise.
25603 * README: Update reference to Linux kernel versions.
25604
b67e9372
MP
256052012-08-02 Marek Polacek <polacek@redhat.com>
25606
1f529f7d 25607 [BZ# 14150]
b67e9372
MP
25608 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25609 libc_cv_asm_type_prefix with %.
25610 * configure: Regenerated.
d2441631
RM
25611 * include/libc-symbols.h: Remove comment about
25612 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25613 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25614 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25615 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25616 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25617 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25618 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25619 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25620 * elf/tst-unique2mod1.c: Likewise.
25621 * elf/tst-unique1mod2.c: Likewise.
25622 * elf/tst-unique1mod1.c: Likewise.
25623 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25624 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25625 Replace ASM_TYPE_DIRECTIVE with .type.
25626 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25627 * sysdeps/i386/sysdep.h: Likewise.
25628 * sysdeps/x86_64/sysdep.h: Likewise.
25629 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25631 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25632 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25633 * sysdeps/powerpc/powerpc32/sysdep.h:
25634 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25635 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25636 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25637 * sysdeps/i386/fpu/e_powf.S: Likewise.
25638 * sysdeps/i386/fpu/e_expl.S: Likewise.
25639 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25640 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25641 * sysdeps/i386/fpu/e_pow.S: Likewise.
25642 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25643 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25644 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25645 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25646 * sysdeps/i386/fpu/e_log2.S: Likewise.
25647 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25648 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25649 * sysdeps/i386/fpu/e_powl.S: Likewise.
25650 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25651 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25652 * sysdeps/i386/fpu/e_logl.S: Likewise.
25653 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25654 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25655 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25656 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25657 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25658 * sysdeps/i386/fpu/e_log.S: Likewise.
25659 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25660 * sysdeps/i386/fpu/e_logf.S: Likewise.
25661 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25662 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25663 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25664 * sysdeps/i386/fpu/e_log10.S: Likewise.
25665 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25666 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25667 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25668 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25669 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25670 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25671 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25672 * sysdeps/i386/i686/strtok.S: Likewise.
25673 * sysdeps/i386/i386-mcount.S: Likewise.
25674 * sysdeps/i386/strtok.S: Likewise.
25675 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25676 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25677 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25678 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25679 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25680 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25681 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25682 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25683 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25684 * sysdeps/x86_64/_mcount.S: Likewise.
25685 * sysdeps/x86_64/strtok.S: Likewise.
25686 * sysdeps/sh/_mcount.S: Likewise.
25687
2747bf9a
RM
256882012-08-01 Roland McGrath <roland@hack.frob.com>
25689
25690 * libio/iofopen.c: Include <fcntl.h>.
25691 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25692 (_IO_fopen64, fopen64): Define as aliases.
25693 * libio/iofopen64.c: Include <fcntl.h>.
25694 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25695 Conditionalize body on this.
25696 * sysdeps/wordsize-64/iofopen.c: File removed.
25697 * sysdeps/wordsize-64/iofopen64.c: File removed.
25698
3fb791b8
MP
256992012-08-01 Marek Polacek <polacek@redhat.com>
25700
25701 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25702 Use dlfcn directly instead of a variable.
25703 (binfmt-subdir): Do not define.
25704 (dlfcn): Likewise.
25705
a9f1039f
JM
257062012-08-01 Joseph Myers <joseph@codesourcery.com>
25707
23bddc06
JM
25708 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25709 Remove all definitions.
25710 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25711 <kernel-features.h>.
25712 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25713 (miss_F_GETOWN_EX): Remove all definitions.
25714 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25715 macro definition.
25716 [!__ASSUME_FCNTL64]: Remove conditional code.
25717 [__ASSUME_FCNTL64]: Make code unconditional.
25718 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25719 <kernel-features.h>.
25720 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25721 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25722 (lockf64) [__NR_fcntl64]: Make code unconditional.
25723 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25724
a9f1039f
JM
25725 * sysdeps/unix/sysv/linux/kernel-features.h
25726 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25727 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25728 Make code unconditional.
25729 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25730 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25732 [__NR_vfork]: Make code unconditional.
25733 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25734 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25736 [__NR_vfork]: Make code unconditional.
25737 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25738 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25739
09c0ee5f
RM
257402012-08-01 Roland McGrath <roland@hack.frob.com>
25741
48aec5b9
RM
25742 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25743 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25744
cd97c966
RM
25745 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25746 Define mkstemp64 as an alias.
3f55550c
RM
25747 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25748 Define mkstemps64 as an alias.
cd97c966
RM
25749 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25750 Define mkostemp64 as an alias.
b8625cfc
RM
25751 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25752 Define mkostemps64 as an alias.
cd97c966
RM
25753 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25754 Conditionalize body on this.
25755 * misc/mkostemp64.c: Likewise.
b8625cfc 25756 * misc/mkostemps64.c: Likewise.
3f55550c 25757 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25758 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25759 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25760 * sysdeps/wordsize-64/mkostemp.c: File removed.
25761 * sysdeps/wordsize-64/mkstemp.c: File removed.
25762 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25763 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25764 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25765 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25766
09c0ee5f
RM
25767 [BZ #14138]
25768 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25769 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25770 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25771 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25772
25773 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25774 compat_symbol macros from <shlib-compat.h> rather than the underlying
25775 default_symbol_version and symbol_version macros, so that DEFAULT
25776 lines in shlib-versions are respected.
25777 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25778
7e66ee51
FW
257792012-08-01 Florian Weimer <fweimer@redhat.com>
25780
25781 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25782 Declare with warn_unused_result.
25783 (setgid, setregid, setegid, setresgid): Likewise.
25784 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25785 Likewise.
25786 * WUR-REPORT: Remove set*id functions.
25787
d2a54255
PT
257882012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25789
25790 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25791
7ecdb005
RM
257922012-07-31 Roland McGrath <roland@hack.frob.com>
25793
b4180a5e 25794 [BZ #10191]
789bd351
RM
25795 * include/sys/socket.h (__libc_accept, __libc_accept4):
25796 Add attribute_hidden.
25797 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25798
40ce302d
RM
25799 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25800 use of PTR_MANGLE.
25801 * inet/getnetgrent_r.c (setup): Likewise.
25802
7ecdb005
RM
25803 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25804
e2eabb2c
DM
258052012-07-31 David S. Miller <davem@davemloft.net>
25806
25807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25808
d0419dbf
JM
258092012-07-31 Joseph Myers <joseph@codesourcery.com>
25810
25811 [BZ #13629]
25812 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25813 value between 1.0 and 2.0 and smaller part has absolute value less
25814 than 1.0.
25815 * math/s_clog10.c (__clog10): Likewise.
25816 * math/s_clog10f.c (__clog10f): Likewise.
25817 * math/s_clog10l.c (__clog10l): Likewise.
25818 * math/s_clogf.c (__clogf): Likewise.
25819 * math/s_clogl.c (__clogl): Likewise.
25820 * math/libm-test.inc (clog_test): Add more tests.
25821 (clog10_test): Likewise.
25822 * sysdeps/i386/fpu/libm-test-ulps: Update.
25823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25824
2bc13872
FW
258252012-07-31 Florian Weimer <fweimer@redhat.com>
25826
25827 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25828 Exit with zero in case no suitable GID is found, and write a
25829 message to standard error.
25830
bea9b193
RM
258312012-07-30 Roland McGrath <roland@hack.frob.com>
25832
25833 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25834 rather than to 1.
25835 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25836 (MAXPATHLEN): Removed.
25837 (NOGROUP, NODEV): New macros.
25838 (setbit, clrbit, isset, isclr): New macros.
25839 (howmany, roundup, powerof2): New macros.
25840 (DEV_BSIZE): New macro.
25841
25842 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25843 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25844
25845 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25846 definition on [!__NO_LONG_DOUBLE_MATH].
25847
25848 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25849 PTR_MANGLE and PTR_DEMANGLE.
25850
25851 * socket/accept4.c (accept4): Rename to __libc_accept4.
25852 Define accept4 as a weak alias.
25853
25854 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25855 on [_DIRENT_HAVE_D_TYPE].
25856 * io/ftw.c (ftw_dir): Likewise.
25857
25858 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25859
25860 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25861
25862 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25863 Use the BSD numbers rather than the arbitrary ones we had.
25864 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25865 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25866 (SIGXCPU, SIGXFSZ): New macros.
25867 (_NSIG): Now 32.
25868
25869 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25870 initializer on [_LIBC_REENTRANT].
25871
25872 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25873 definitions inside [_POSIX_MAPPED_FILES].
25874
25875 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25876
25877 * dirent/opendir.c: Include <fcntl.h>.
25878
25879 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25880 (__libc_getspecific): Likewise.
25881 (__libc_key_create): Likewise.
25882
25883 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25884 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25885 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25886 (tmpfile64): Define as alias.
25887 * sysdeps/wordsize-64/tmpfile.c: File removed.
25888 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25889 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25890 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25891
25892 * stdio-common/vfscanf.c: Include <stdbool.h>.
25893 * nss/makedb.c: Likewise.
25894 * stdio-common/_i18n_number.h: Likewise.
25895 * argp/argp-help.c: Likewise.
25896 * posix/wordexp.c: Likewise.
25897 * sysdeps/posix/spawni.c: Likewise.
25898 * nss/nss_files/files-initgroups.c: Likewise.
25899 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25900 * nss/nss_files/files-initgroups.c: Likewise.
25901 * nss/nss_db/db-netgrp.c: Likewise.
25902 * nss/nss_db/db-initgroups.c: Likewise.
25903 * io/fchmodat.c: Include <sys/stat.h>.
25904
25905 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25906 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25907
25908 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25909 [HAVE_MMAP].
25910
25911 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25912 Add multiple inclusion protection.
25913
e5abc686
DM
259142012-07-27 David S. Miller <davem@davemloft.net>
25915
25916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25917
815e6fa3
GB
259182012-07-27 Gary Benson <gbenson@redhat.com>
25919
25920 [BZ #14298]
25921 * elf/rtld.c: Include <stap-probe.h>.
25922 (dl_main): Added static probes "init_start" and "init_complete".
25923 * elf/dl-load.c: Include <stap-probe.h>.
25924 (lose): Take new parameter "nsid".
25925 Added static probe "map_failed".
25926 (_dl_map_object_from_fd): Pass namespace id to lose.
25927 Added static probe "map_start".
25928 (open_verify): Pass namespace id to lose.
25929 * elf/dl-open.c: Include <stap-probe.h>.
25930 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25931 and "reloc_complete".
25932 * elf/dl-close.c: Include <stap-probe.h>.
25933 (_dl_close_worker): Added static probes "unmap_start" and
25934 "unmap_complete".
25935 * elf/rtld-debugger-interface.txt: New file documenting the above.
25936
9f98c16c
RM
259372012-07-26 Roland McGrath <roland@hack.frob.com>
25938
25939 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25940 rather than a string variable.
25941 * sunrpc/rpc_main.c (h_output): Likewise.
25942 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25943
f3c22df3
PT
259442012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25945
25946 * inet/check_native.c: New file.
25947
3129cfc6
JM
259482012-07-26 Joseph Myers <joseph@codesourcery.com>
25949
da865e95
JM
25950 [BZ #13629]
25951 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25952 if larger part has absolute value 1.0.
25953 * math/s_clog10.c (__clog10): Likewise.
25954 * math/s_clog10f.c (__clog10f): Likewise.
25955 * math/s_clog10l.c (__clog10l): Likewise.
25956 * math/s_clogf.c (__clogf): Likewise.
25957 * math/s_clogl.c (__clogl): Likewise.
25958 * math/libm-test.inc (clog_test): Add more tests.
25959 (clog10_test): Likewise.
25960 * sysdeps/i386/fpu/libm-test-ulps: Update.
25961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25962
3129cfc6
JM
25963 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25964 (pltexit): Likewise.
25965 (La_regs): Likewise.
25966 (La_retval): Likewise.
25967 (int_retval): Likewise.
25968 Update #error for removed macros to refer only to definitions in
25969 tst-audit.h.
25970 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25971 macro.
25972 (pltexit): Likewise.
25973 (La_regs): Likewise.
25974 (La_retval): Likewise.
25975 (int_retval): Likewise.
25976 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25977 macro.
25978 (pltexit): Likewise.
25979 (La_regs): Likewise.
25980 (La_retval): Likewise.
25981 (int_retval): Likewise.
25982 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25983 macro.
25984 (pltexit): Likewise.
25985 (La_regs): Likewise.
25986 (La_retval): Likewise.
25987 (int_retval): Likewise.
25988 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25989 macro.
25990 (pltexit): Likewise.
25991 (La_regs): Likewise.
25992 (La_retval): Likewise.
25993 (int_retval): Likewise.
25994 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25995 macro.
25996 (pltexit): Likewise.
25997 (La_regs): Likewise.
25998 (La_retval): Likewise.
25999 (int_retval): Likewise.
26000 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26001 macro.
26002 (pltexit): Likewise.
26003 (La_regs): Likewise.
26004 (La_retval): Likewise.
26005 (int_retval): Likewise.
26006 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26007 macro definitions in tst-audit.h.
26008 * sysdeps/i386/tst-audit.h: New file.
26009 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26010 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26011 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26012 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26013 * sysdeps/sh/tst-audit.h: Likewise.
26014 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26015 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26016 * sysdeps/x86_64/tst-audit.h: Likewise.
26017
bfc07087
AJ
260182012-07-26 Andreas Jaeger <aj@suse.de>
26019
b1b2aaf8
AJ
26020 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26021 ptrace.
26022
26023 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26024 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26025 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26026 PTRACE_O_MASK.
26027 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26028 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26029 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26030
bfc07087
AJ
26031 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26032 value.
26033
26034 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26035 _sigsys.
26036 (si_call_addr, si_syscall, si_arch): Define new macro.
26037 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26038 _sigsys.
26039 (si_call_addr, si_syscall, si_arch): Define new marcro.
26040 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26041 _sigsys.
26042 (si_call_addr, si_syscall, si_arch): Define new macro.
26043 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26044 _sigsys.
26045 (si_call_addr, si_syscall, si_arch): Define new macro.
26046
89b4b02f
JM
260472012-07-25 Joseph Myers <joseph@codesourcery.com>
26048
26049 [BZ #13717]
26050 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26051 Change to 2.4.21 where previously 2.4.1.
26052 * sysdeps/unix/sysv/linux/configure: Regenerated.
26053 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26054 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26055 Linux kernel version.
26056 (__ASSUME_STD_AUXV): Remove.
26057 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26058 kernel version.
26059 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26060 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26061 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26062 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26063 (__ASSUME_NETLINK_SUPPORT): Likewise.
26064 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26065 (__no_netlink_support): Remove conditional definition.
26066 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26067 Remove.
26068 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26069 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26070 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26071 (if_nameindex_ioctl): Remove.
26072 (if_nameindex_netlink): Do not handle __no_netlink_support.
26073 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26074 code.
26075 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26076 Remove conditional code.
26077 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26078 code.
26079 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26080 unconditional.
26081 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26082 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26083 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26084 Remove.
26085 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26086 [!__ASSUME_STD_AUXV]: Remove conditional code.
26087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26088 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26089 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26091 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26092 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26093 code.
26094 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26096 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26097 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26098 conditional code.
26099 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26101 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26102 code.
26103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26104 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26105 conditional code.
26106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26107 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26108 code unconditional.
26109 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26110 conditional code.
26111 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26112 unconditional.
26113 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26114 conditional code.
26115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26116 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26117 unconditional.
26118 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26119 conditional code.
26120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26121 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26122 code unconditional.
26123 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26124 conditional code.
26125 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26126 unconditional.
26127 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26128 conditional code.
26129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26130 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26131 code unconditional.
26132 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26133 conditional code.
26134 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26135 unconditional.
26136 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26137 conditional code.
26138
842a39cd
AS
261392012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26140
26141 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26142 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26143 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26144 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26145 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26146 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26147 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26148 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26149 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26150 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26151 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26152 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26153 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26154 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26155 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26156 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26157 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26158 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26159 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26161 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26162 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26163 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26164
84b3fd84
FW
261652012-07-25 Florian Weimer <fweimer@redhat.com>
26166
26167 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26168 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26169 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26170 Introduce __libc_secure_getenv.
0c7936d5
FW
26171 * stdlib/Versions (2.17): Add secure_getenv
26172 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26173 * stdlib/secure-getenv.c: Rename __secure_getenv to
26174 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26175 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26176 * stdlib/tst-secure-getenv.c: New.
26177 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26178 * manual/startup.texi (Environment Access): Document
26179 secure_getenv.
84b3fd84
FW
26180 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26181 __libc_secure_getenv.
26182 * inet/ruserpass.c (ruserpass): Likewise.
26183 * malloc/mtrace.c (mtrace): Likewise.
26184 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26185 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26186 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26187 * sysdeps/posix/tempname.c: Likewise. Evaluate
26188 HAVE_SECURE_GETENV.
26189 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26190 __secure_getenv to __libc_secure_getenv.
84b3fd84 26191 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26193 Likewise.
26194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26195 Likewise.
26196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26198 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26203
56e49b71
JM
262042012-07-25 Joseph Myers <joseph@codesourcery.com>
26205
26206 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26207 (struct La_i86_retval): Likewise.
26208 (struct La_x86_64_regs): Likewise.
26209 (struct La_x86_64_retval): Likewise.
26210 (struct La_x32_regs): Likewise.
26211 (struct La_x32_retval): Likewise.
26212 (struct La_ppc32_regs): Likewise.
26213 (struct La_ppc32_retval): Likewise.
26214 (struct La_ppc64_regs): Likewise.
26215 (struct La_ppc64_retval): Likewise.
26216 (struct La_sh_regs): Likewise.
26217 (struct La_sh_retval): Likewise.
26218 (struct La_s390_32_regs): Likewise.
26219 (struct La_s390_32_retval): Likewise.
26220 (struct La_s390_64_regs): Likewise.
26221 (struct La_s390_64_retval): Likewise.
26222 (struct La_sparc32_regs): Likewise.
26223 (struct La_sparc32_retval): Likewise.
26224 (struct La_sparc64_regs): Likewise.
26225 (struct La_sparc64_retval): Likewise.
26226 (struct audit_ifaces): Remove architecture-specific pltenter and
26227 pltexit members.
26228 * sysdeps/i386/ldsodefs.h: New file.
26229 * sysdeps/powerpc/ldsodefs.h: Likewise.
26230 * sysdeps/s390/ldsodefs.h: Likewise.
26231 * sysdeps/sh/ldsodefs.h: Likewise.
26232 * sysdeps/sparc/ldsodefs.h: Likewise.
26233 * sysdeps/x86_64/ldsodefs.h: Likewise.
26234
354691b7
MP
262352012-07-25 Marek Polacek <polacek@redhat.com>
26236
26237 [BZ #6808]
26238 * math/libm-test.inc (yn_test): Add another test.
26239 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26240 to ERANGE when the result is +-Inf.
26241 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26242 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26243 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26244 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26245
bf9e2071
JM
262462012-07-24 Joseph Myers <joseph@codesourcery.com>
26247
26248 * conform/data/time.h-data (NULL): Use macro-constant. Require
26249 equal to 0.
26250 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26251 clock_t.
26252 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26253
57633811
TS
262542012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26255
26256 * configure.in <sysdeps resolving>: Correct printing
26257 Implies_before.
26258 * configure: Regenerate.
26259
c23c33b0
TS
262602012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26261
26262 * math/w_ilogb.c: Include <limits.h>.
26263 * math/w_ilogbl.c: Likewise.
26264
b5982523
JM
262652012-07-20 Joseph Myers <joseph@codesourcery.com>
26266
26267 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26268 va_copy. Document allowing for unavailable va_copy only as
26269 pre-C99 compatibility.
26270 * manual/string.texi (Copying and Concatenation): Use va_copy
26271 instead of __va_copy in concat example.
26272
ac4ea442
PT
262732012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26274
26275 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26276 (__sendto): Use create_address_port. Initialize APORT and deallocate
26277 it if not null.
26278
f98eafbd
PT
26279 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26280 with O_NOLINK passed to __file_name_lookup.
26281
898c7aab
PT
26282 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26283 with O_NOLINK passed to __file_name_lookup.
26284
0ced335a
PT
26285 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26286 negative N or less than NGIDS.
26287
b3404dbd
PT
26288 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26289 type to string_t. Set ERANGE as errno and return it if NAME is not big
26290 enough. Use memcpy instead of strncpy.
26291
0f48659e
JM
262922012-07-20 Joseph Myers <joseph@codesourcery.com>
26293
26294 * elf/Makefile (check-data): Remove.
26295 (localplt.data): New vpath directive.
26296 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26297 instead of $(check-data).
26298 * scripts/data/localplt-generic.data: Move to ...
26299 * sysdeps/generic/localplt.data: ... here.
26300 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26301 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26302 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26304 ... here.
26305 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26307 ... here.
26308 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26310 ... here.
26311 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26313 ... here.
26314 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26316 ... here.
26317 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26319 ... here.
26320
d37cbdaa
AZ
263212012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26322
26323 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26324 PPC32 and PPC64 files.
26325 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26326 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26327
46f85fc2
AK
263282012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26329
26330 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26331 __makecontext_ret to ...
26332 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26333 ... here and call exit if uc_link is NULL. New file.
26334 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26335 __makecontext_ret.S.
26336 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26337 __makecontext_ret to ...
26338 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26339 ... here and call exit if uc_link is NULL. New file.
26340 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26341 __makecontext_ret.S.
26342
08f43f9b
AK
263432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26344
26345 * elf/elf.h (R_390_IRELATIVE): New definition.
26346 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26347 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26348 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26349 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26350 (elf_machine_lazy_rel): Likewise.
26351 * sysdeps/s390/dl-irel.h: New file.
26352 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26353 * sysdeps/s390/s390-64/memset.S: New asm code.
26354 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26355 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26356 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26357 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26358 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26359 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26360 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26361 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26362 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26363 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26364 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26365 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26366 * sysdeps/s390/s390-32/memset.S: New asm code.
26367 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26368
3b05db33
MP
263692012-07-17 Marek Polacek <polacek@redhat.com>
26370
26371 [BZ #14349]
26372 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26373 * sysdeps/s390/s390-64/configure.in: Likewise.
26374 * sysdeps/sparc/configure.in: Likewise.
26375 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26376 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26377 * sysdeps/i386/configure.in: Likewise.
26378 * sysdeps/x86_64/configure.in: Likewise.
26379 * sysdeps/sh/configure.in: Likewise.
26380 * sysdeps/s390/s390-32/configure: Regenerated.
26381 * sysdeps/s390/s390-64/configure: Likewise.
26382 * sysdeps/x86_64/configure: Likewise.
26383 * sysdeps/sh/configure: Likewise.
26384 * sysdeps/powerpc/powerpc64/configure: Likewise.
26385 * sysdeps/powerpc/powerpc32/configure: Likewise.
26386 * sysdeps/sparc/configure: Likwise.
26387 * sysdeps/i386/configure: Likewise.
26388
a66877c6
MP
26389 * elf/dl-open.c: Comment fixes.
26390
cfc82fd8
JM
263912012-07-17 Joseph Myers <joseph@codesourcery.com>
26392
bd29910a
JM
26393 * Makefile [CXX] (check-data): Remove.
26394 [CXX] (c++-types.data): New vpath directive.
26395 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26396 vpath. Do not allow for C++ type data being missing.
26397 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26398 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26399 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26400 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26401 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26402 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26403 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26405 ... here.
26406 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26408 ... here.
26409 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26411 ... here.
26412 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26414 ... here.
26415 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26417 ... here.
26418 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26420 ... here.
26421 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26423 ... here.
26424 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26426
cfc82fd8
JM
26427 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26428 definitions to architecture-specific files.
26429 (TLS_IE): Likewise.
26430 (TLS_LD): Likewise.
26431 (TLS_GD): Likewise.
26432 * sysdeps/i386/tls-macros.h: New file.
26433 * sysdeps/powerpc/tls-macros.h: Likewise.
26434 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26435 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26436 * sysdeps/sh/tls-macros.h: Likewise.
26437 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26438 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26439 * sysdeps/x86_64/tls-macros.h: Likewise.
26440
f7db3170
TS
264412012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26442
07cbfc23
TS
26443 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26444 zero value for regular exit case.
26445
f7db3170
TS
26446 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26447 (__start_context): Preserve zero value for regular exit case.
26448
dc97c227
TS
264492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26450 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26451
26452 * manual/setjmp.texi (setcontext): Clarify normal process
26453 termination when uc_link is the null pointer.
26454 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26455 exit call.
26456
d0cd7d02
AS
264572012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26458
26459 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26460 preprocessor. Test for each exception mask separately.
26461
dd318934
AJ
264622012-07-16 Andreas Jaeger <aj@suse.de>
26463
26464 * po/ru.po: Update from translation team.
26465
8048311a
JM
264662012-07-15 Joseph Myers <joseph@codesourcery.com>
26467
26468 * conform/data/string.h-data (NULL): Use macro-constant. Require
26469 equal to 0.
26470 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26471 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26472 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26473 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26474 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26475
b637d46e
AJ
264762012-07-13 Andreas Jaeger <aj@suse.de>
26477
26478 * po/fr.po: Update from translation team.
26479
541428fe
MP
264802012-07-12 Marek Polacek <polacek@redhat.com>
26481
26482 [BZ #14173]
26483 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26484 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26485 loop condition.
26486
ec332e94
JM
264872012-07-12 Joseph Myers <joseph@codesourcery.com>
26488
26489 [BZ #13717]
26490 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26491 Change to 2.4.1 where previously 2.4.0.
26492 * sysdeps/unix/sysv/linux/configure: Regenerated.
26493 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26494 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26495 version.
26496 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26497 (__ASSUME_AT_CLKTCK): Remove.
26498 (__ASSUME_AT_PAGESIZE): Likewise.
26499 (__ASSUME_AT_XID): Likewise.
26500 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26501 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26502 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26503 unconditionally.
26504 (HAVE_AUX_PAGESIZE): Likewise.
26505 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26506 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26507 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26508
7b6e99be
JB
265092012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26510
26511 [BZ #14307]
26512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26513 the temporary buffer used to invoke __gethostbyname2_r,
26514 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26515 host_data / struct gaih_addrtuple.
26516 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26517 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26518 header file nss/nsswitch.h.
26519 * nss/nsswitch.h (global scope): Add definition of implementation
26520 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26521 resolv/nss_dns/dns-host.c).
26522
608404eb
AJ
265232012-07-11 Andreas Jaeger <aj@suse.de>
26524
26525 * po/fr.po: Update from translation team.
26526
71220aca
AJ
26527 * po/sv.po: Update from translation team
26528 * po/fr.po: Another update from translation team.
26529
28cfe843
AZ
265302012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26531
26532 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26533 for subnormals or multiply small sinh result by itself.
26534 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26536
6b90f981
DM
265372012-07-11 David S. Miller <davem@davemloft.net>
26538
26539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26540
c6825772
AS
265412012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26542
26543 [BZ #14347]
26544 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26545 (INTERNAL_MARK): Shift it here.
26546
7b8e0d49
MP
265472012-07-10 Marek Polacek <polacek@redhat.com>
26548
26549 [BZ #14151]
26550 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26551 libc_cv_asm_global_directive with .globl.
26552 * configure: Regenerated.
26553 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26554 with .globl.
26555 * sysdeps/i386/configure: Regenerated.
26556 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26557 with .globl.
26558 * sysdeps/x86_64/configure: Regenerated.
26559 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26560 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26561 * elf/tst-unique2mod2.c: Likewise.
26562 * elf/tst-unique2mod1.c: Likewise.
26563 * elf/tst-unique1mod2.c: Likewise.
26564 * elf/tst-unique1mod1.c: Likewise.
26565 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26566 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26567 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26568 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26569 * sysdeps/mach/sysdep.h: Likewise.
26570 * sysdeps/i386/sysdep.h: Likewise.
26571 * sysdeps/i386/i386-mcount.S: Likewise.
26572 * sysdeps/x86_64/_mcount.S: Likewise.
26573 * sysdeps/x86_64/sysdep.h: Likewise.
26574 * sysdeps/sh/_mcount.S: Likewise.
26575 * sysdeps/sh/sysdep.h: Likewise.
26576 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26577 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26578 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26579 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26580 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26581 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26582 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26583 * locale/localeinfo.h: Likewise.
26584 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26585 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26586
6c55cda3
RM
265872012-07-09 Roland McGrath <roland@hack.frob.com>
26588
26589 [BZ #14336]
26590 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26591 system".
26592 * manual/message.texi (The Uniforum approach): Likewise.
26593 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26594 (glibc iconv Implementation): Likewise.
26595
638a572e
JM
265962012-07-09 Joseph Myers <joseph@codesourcery.com>
26597
26598 [BZ #14337]
26599 * math/s_clog.c (__clog): Avoid scaling a value down where that
26600 could result in underflow.
26601 * math/s_clog10.c (__clog10): Likewise.
26602 * math/s_clog10f.c (__clog10f): Likewise.
26603 * math/s_clog10l.c (__clog10l): Likewise.
26604 * math/s_clogf.c (__clogf): Likewise.
26605 * math/s_clogl.c (__clogl): Likewise.
26606 * math/libm-test.inc (clog_test): Add more tests.
26607 (clog10_test): Likewise.
26608 * sysdeps/i386/fpu/libm-test-ulps: Update.
26609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26610
261f4859
AS
266112012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26612
0abaf3e4
AS
26613 [BZ #14283]
26614 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26615 by 7 not 8 to examine high bit of fractional part.
26616
261f4859
AS
26617 [BZ #14042]
26618 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26619 for call to __mcount_internal.
26620 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26621 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26622 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26623
f17ac40d
JM
266242012-07-06 Joseph Myers <joseph@codesourcery.com>
26625
9ad63c23
JM
26626 [BZ #14154]
26627 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26628 approximation for values within 0x1p-13f of an odd multiple of
26629 pi/4.
26630 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26631 exception. Add more tests.
26632 * sysdeps/i386/fpu/libm-test-ulps: Update.
26633
f17ac40d
JM
26634 [BZ #6778]
26635 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26636 inputs and return -1 for them. Do not check for +Inf in case not
26637 reachable for +Inf.
26638 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26639 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26640 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26641 and return -1 for them. Do not check for +Inf in case not
26642 reachable for +Inf.
26643 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26644 define.
26645 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26646 and return -1 for them. Do not check for +Inf in case not
26647 reachable for +Inf.
26648 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26649 spurious underflow.
26650 * sysdeps/i386/fpu/libm-test-ulps: Update.
26651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26652
fb21f89b
MF
266532012-07-06 Mike Frysinger <vapier@gentoo.org>
26654
26655 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26656
cdfe2c5e
JM
266572012-07-05 Joseph Myers <joseph@codesourcery.com>
26658
26659 [BZ #14157]
26660 [BZ #14331]
26661 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26662 could result in spurious underflow. Scale down values above
26663 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26664 * math/s_csqrtf.c (__csqrtf): Likewise.
26665 * math/s_csqrtl.c (__csqrtl): Likewise.
26666 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26667 spurious underflow.
26668 * sysdeps/i386/fpu/libm-test-ulps: Update.
26669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26670
70d35b67
AS
266712012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26672
704bc459
AS
26673 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26674 xopen-msg.sed.
26675 * catgets/xopen-msg.awk: New file.
26676 * catgets/xopen-msg.sed: Removed.
26677
70d35b67
AS
26678 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26679 po2text.sed.
26680 * intl/po2test.awk: New file.
26681 * intl/po2test.sed: Removed.
26682
ca61cf32
JM
266832012-07-04 Joseph Myers <joseph@codesourcery.com>
26684
26685 [BZ #14328]
26686 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26687 or multiply small sinh result by itself.
26688 * math/s_ctanf.c (__ctanf): Likewise.
26689 * math/s_ctanh.c (__ctanh): Likewise.
26690 * math/s_ctanhf.c (__ctanhf): Likewise.
26691 * math/s_ctanhl.c (__ctanhl): Likewise.
26692 * math/s_ctanl.c (__ctanl): Likewise.
26693 * math/libm-test.inc (ctan_test_tonearest): New function.
26694 (ctan_test_towardzero): Likewise.
26695 (ctan_test_downward): Likewise.
26696 (ctan_test_upward): Likewise.
26697 (ctanh_test_tonearest): Likewise.
26698 (ctanh_test_towardzero): Likewise.
26699 (ctanh_test_downward): Likewise.
26700 (ctanh_test_upward): Likewise.
26701 (main): Call these new functions.
26702 * sysdeps/i386/fpu/libm-test-ulps: Update.
26703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26704
ca48a46a
MF
267052012-07-03 Mike Frysinger <vapier@gentoo.org>
26706
26707 * .gitignore: Delete /ports entry.
26708
9d63d37d
AJ
267092012-07-03 Andreas Jaeger <aj@suse.de>
26710
26711 * po/bg.po: Update from translation team.
26712 * po/cs.po: Likewise.
26713 * po/de.po: Likewise.
26714 * po/hr.po: Likewise.
26715 * po/nl.pl: Likewise.
26716 * po/pl.po: Likewise.
26717 * po/vi.po: Likewise.
26718
370ca3d2
JM
267192012-07-03 Joseph Myers <joseph@codesourcery.com>
26720
95f5a9a8
JM
26721 * Makeconfig [!+link] (+link-before-libc): New variable.
26722 [!+link] (+link-after-libc): Likewise.
26723 [!+link] (+link-tests): Likewise.
26724 [!+link] (+link): Define in terms of $(+link-before-libc) and
26725 $(+link-after-libc).
26726 [!+link-static] (+link-static-before-libc): New variable.
26727 [!+link-static] (+link-static-after-libc): Likewise.
26728 [!+link-static] (+link-static-tests): Likewise.
26729 [!+link-static] (+link-static): Define in terms of
26730 $(+link-static-before-libc) and $(+link-static-after-libc).
26731 [build-shared] (link-libc-before-gnulib): New variable.
26732 [build-shared] (link-libc-tests): Likewise.
26733 [build-shared] (link-libc): Define in terms of
26734 $(link-libc-before-gnulib).
26735 [!build-shared] (link-libc-tests): New variable.
26736 (link-libc-static-tests): New variable.
26737 [!gnulib] (gnulib-arch): New variable.
26738 [!gnulib] (gnulib-tests): Likewise.
26739 [!gnulib] (static-gnulib-arch): Likewise.
26740 [!gnulib] (static-gnulib-tests): Likewise.
26741 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26742 Define with "=" instead of ":=".
26743 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26744 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26745 * Rules (binaries-all-notests): New variable.
26746 (binaries-all-tests): Likewise.
26747 (binaries-static-notests): Likewise.
26748 (binaries-static-tests): Likewise.
26749 (binaries-all): Define using $(binaries-all-notests) and
26750 $(binaries-all-tests).
26751 (binaries-static): Define using $(binaries-static-notests) and
26752 $(binaries-static-tests).
26753 (binaries-shared-tests): New variable.
26754 (binaries-shared-notests): Likewise.
26755 (binaries-shared): Remove variable.
26756 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26757 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26758 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26759 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26760 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26761 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26762 * elf/Makefile (sln-modules): New variable.
26763 (extra-objs): Add $(sln-modules:=.o).
26764 (ldconfig-modules): Add static-stubs.
26765 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26766 * elf/static-stubs.c: New file.
26767
7a845b2c
JM
26768 [BZ #14283]
26769 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26770 by 7 not 8 to examine high bit of fractional part. Use volatile
26771 variables when splitting into final array of floats if
26772 __FLT_EVAL_METHOD__ != 0.
26773 * math/libm-test.inc (cos_test): Add another test.
26774 (sin_test): Likewise.
26775 * sysdeps/i386/fpu/libm-test-ulps: Update.
26776
e2283f38
JM
26777 [BZ #14273]
26778 * math/libm-test.inc (cosh_test): Add more tests.
26779
370ca3d2
JM
26780 * version.h (RELEASE): Set to "development".
26781 (VERSION): Set to "2.16.90".
26782
ee9247c3
CD
267832012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26784
26785 * NEWS: Update copyright. Remove last-updated date.
26786 Mention math library bug fixes and timezone data changes.
26787 * README: Mention GNU/Hurd, x32, and HPPA support status.
26788
4648c381
TS
267892012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26790
26791 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26792
aac78a43
AJ
267932012-06-27 Andreas Jaeger <aj@suse.de>
26794
26795 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26796
ed3dbfad
AJ
267972012-06-25 Andreas Jaeger <aj@suse.de>
26798
26799 * sysdeps/s390/fpu/libm-test-ulps: Update.
26800
4d0ee855
AS
268012012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26802 Thomas Schwinge <thomas@codesourcery.com>
26803
26804 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26805 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26806 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26807 fanotify_mark.
26808
af1bce34
TS
268092012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26810
a9fa33ba
TS
26811 * sysdeps/mach/start.c: Remove file.
26812 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26813 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26814 * sysdeps/sh/init-first.c: Likewise.
26815
58f902b8
TS
26816 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26817 registers for frame unwinding purposes, add CFI directives.
26818 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26819 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26820 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26821 Likewise.
26822
1518f58b
TS
26823 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26824 __fortify_fail returning.
26825 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26826
db9b5059
TS
26827 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26828 sysdeps/sh/____longjmp_chk.S.
26829 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26830 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26831 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26832 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26833
967705fe
TS
26834 * sysdeps/sh/abort-instr.h: New file.
26835 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26836 process in case exit returns.
26837
a9def8c4
TS
26838 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26839 initialize the GOT register before use.
26840
2a649725
TS
26841 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26842 calculation of ARGC > 4.
26843
af1bce34
TS
26844 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26845 meaningful names to some local labels.
26846
d230f50a
KK
268472012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26848 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26849
26850 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26851 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26852 (__arch_compare_and_exchange_val_16_acq): Likewise.
26853 (__arch_compare_and_exchange_val_32_acq): Likewise.
26854 (atomic_exchange_and_add): Fix gUSA sequence.
26855 (atomic_add): Likewise.
26856 (atomic_add_negative): Likewise.
26857 (atomic_add_zero): Likewise.
26858 (atomic_bit_test_set): Likewise.
26859
0479b305
AS
268602012-06-22 Andreas Schwab <schwab@redhat.com>
26861
26862 [BZ #13579]
26863 * include/link.h (struct link_map): Add l_free_initfini.
26864 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26865 l_initfini.
26866 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26867 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26868 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26869 set.
26870
0e3933b9
CD
268712012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26872
26873 * configure.in: Use AC_LANG_SOURCE.
26874 * configure: Regenerate.
26875
4248b1b1
RM
268762012-06-22 Roland McGrath <roland@hack.frob.com>
26877
26878 * configure.in (libc_cv_localstatedir): New substituted variable.
26879 * configure: Regenerated.
26880 * config.make.in (localstatedir): New variable, substituted from
26881 libc_cv_localstatedir.
26882 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26883 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26884 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26885 * sysdeps/gnu/configure: Regenerated.
26886
006dd861
JL
268872012-06-21 Jeff Law <law@redhat.com>
26888
26889 [BZ #14277]
26890 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26891 free. Simplify list management for _LIBC case.
26892
79662d42
JM
268932012-06-21 Joseph Myers <joseph@codesourcery.com>
26894
b7abb4bf
JM
26895 [BZ #14273]
26896 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26897 Clear sign bit of 64-bit integer value before comparing against
26898 overflow value.
26899
79662d42
JM
26900 * sysdeps/mach/configure: Regenerated.
26901
1f150908
L
269022012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26903
26904 [BZ #14278]
26905 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26906
28363bbf
JL
269072012-06-21 Jeff Law <law@redhat.com>
26908
26909 [BZ #13882]
26910 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26911 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26912 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26913 * elf/dl-open.c (dl_open_worker): Likewise.
26914
09615db4
CD
269152012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26916
26917 * scripts/list-sources.sh: Scan PORTS for translations.
26918 * po/libc.pot: Regenerated.
26919
2174c6dd
AJ
269202012-06-21 Andreas Jaeger <aj@suse.de>
26921
26922 [BZ #12194]
26923 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26924 warning.
26925 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26926 * bits/byteswap-16.h (__bswap_16): Likewise.
26927 * bits/byteswap.h (__bswap_constant_16): Likewise.
26928
3ee947b1
L
269292012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26930
26931 [BZ #14117]
a2f34833
L
26932 * sysdeps/i386/fpu_control.h: Removed.
26933 * sysdeps/x86_64/fpu_control.h: Moved to ...
26934 * sysdeps/x86/fpu_control.h: Here.
26935
3ee947b1
L
26936 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26937 (_FPU_SETCW): Likewise.
26938
ed1825f8
L
269392012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26940
25f1282a
L
26941 [BZ #14117]
26942 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26943 * sysdeps/x86/fpu/bits/mathinline.h: This.
26944 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26945
ed1825f8
L
26946 [BZ #14050]
26947 [BZ #14117]
26948 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26949 functions if __x86_64__ is defined.
26950
36d54b74
CLT
269512012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26952
26953 * string/endian.h: Add !__ASSEMBLER__ condition for including
26954 conversion interfaces.
26955
10285c21
JM
269562012-06-15 Joseph Myers <joseph@codesourcery.com>
26957
26958 [BZ #14241]
26959 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26960 of ABS(x) in calculating zero to negative powers other than odd
26961 integers.
26962 * math/libm-test.inc (pow_test): Add more tests.
26963
06c5abbd
AJ
269642012-06-15 Andreas Jaeger <aj@suse.de>
26965
26966 * manual/contrib.texi (Contributors): Update entry of Liubov
26967 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26968 Machado Filho.
26969
a3aeac40
CH
269702012-06-15 Cyril Hrubis <metan@ucw.cz>
26971
26972 * string/string.h: Add __wur to GNU version of strerror_r.
26973
49bdf4c1
L
269742012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26975
26976 [BZ #14229]
26977 * string/Makefile (tests): Add tst-strtok_r.
26978 * string/tst-strtok_r.c: New file.
26979 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26980 RAX_LP/RDX_LP on SAVE_PTR.
26981
834f9b8d
RM
269822012-06-14 Roland McGrath <roland@hack.frob.com>
26983
26984 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26985
75fa1921
JM
269862012-06-14 Joseph Myers <joseph@codesourcery.com>
26987
26988 * libm_test.inc (csqrt_test): Allow more spurious underflow
26989 exceptions.
26990 (j0_test): Likewise.
26991 (j1_test): Likewise.
26992 (y0_test): Likewise.
26993 (y1_test): Likewise.
26994
771766df
CD
269952012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26996
26997 * po/Makefile (libc.pot): Use UTF-8 charset.
26998
ceb9e56b
PP
269992012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27000
27001 [BZ #14210]
27002 Suppress sign-conversion warning from FD_SET.
27003 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27004 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27005 not unsigned long int.
27006 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27007
ddb28975
L
270082012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27009
27010 [BZ #14050]
27011 [BZ #14117]
27012 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27013 __extern_always_inline instead of __extern_inline.
27014 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27015 (__signbit): Likewise.
27016 (__signbitl): Support C++ namespace.
27017 (lrintf): New inline function.
27018 (lrint): Likewise.
27019 (llrintf): Likewise.
27020 (llrint): Likewise.
27021 (fmaxf): Likewise.
27022 (fmax): Likewise.
27023 (fminf): Likewise.
27024 (fmin): Likewise.
27025 (rint): Likewise.
27026 (rintf): Likewise.
27027 (ceil): Likewise.
27028 (ceilf): Likewise.
27029 (floor): Likewise.
27030 (floorf): Likewise.
27031 (nearbyint): Likewise.
27032 (nearbyintf): Likewise.
27033
d7b4fb26
TS
270342012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27035
27036 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27037 non-default versions.
27038
eb55f5c2
RM
270392012-06-11 Roland McGrath <roland@hack.frob.com>
27040
27041 [BZ #14218]
27042 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27043
366af02c
TS
270442012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27045
99ff6e5c
TS
27046 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27047 (FE_UPWARD, FE_DOWNWARD): Don't define.
27048 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27049 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27050
366af02c
TS
27051 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27052 reading it.
27053 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27054 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27055
793ea851
KK
270562012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27057
27058 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27059 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27060 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27061 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27062
a728a38f
L
270632012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27064
27065 [BZ #14117]
c08010c7
L
27066 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27067 * sysdeps/i386/fpu/Implies: New file.
27068 * sysdeps/x86_64/fpu/Implies: Likewise.
27069 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27070 * sysdeps/x86/fpu/bits/fenv.h: This.
27071
a728a38f
L
27072 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27073 __SSE_MATH__.
27074
6e230d11
SP
270752012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27076
27077 [BZ #14134]
27078 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27079 character 0xffff that matches the last element of the
27080 conversion table.
27081
1b671feb
AZ
270822012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27083
27084 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27085 fmodl commit.
27086
6043738b
AZ
270872012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27088
27089 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27090 values higher than 25.6283.
27091
34ae0b32
AZ
270922012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27093
27094 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27095 subnormal exponent extraction and add some __builtin_expect.
27096 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27097 Fix for subnormal mantissa calculation.
27098
1214ec8f
MF
270992012-06-04 Mike Frysinger <vapier@gentoo.org>
27100
27101 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27102 cpu2 is -1 and errno is not ENOSYS.
27103
f3d1f93c
L
271042012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27105
27106 [BZ #14117]
0e4a3cd7
L
27107 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27108 * sysdeps/x86/bits/string.h: This.
27109 * sysdeps/x86_64/bits/string.h: Removed.
27110
6704c645
L
27111 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27112 if not compiling for x86-64, but compiling for >= i486.
27113
48495318
L
27114 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27115 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27116
14adcbfc
L
27117 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27118 New macro from Linux kernel 3.4.0.
27119 (FP_XSTATE_MAGIC2): Likewise.
27120 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27121 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27122 (struct _fpx_sw_bytes): New struct.
27123 (struct _xsave_hdr): Likewise.
27124 (struct _ymmh_state): Likewise.
27125 (struct _xstate): Likewise.
27126
68e408ab
L
27127 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27128 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27129 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27130 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27131 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27132 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27133
f3d1f93c
L
27134 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27135 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27136 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27137 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27138 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27139 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27140
d9dc34cd
TMQMF
271412012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27142
27143 [BZ #13743]
27144 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27145 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27146 (sysdep_headers): Include sys/platform/ppc.h.
27147 * sysdeps/powerpc/test-gettimebase.c: Test for
27148 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27149 * manual/Makefile (appendices): Include platform.texi.
27150 * manual/contrib.texi (Contributors): Update @node pointers.
27151 * manual/maint.texi (Maintenance): Likewise.
27152 (Platform): New node.
27153 * manual/platform.texi: New file. Document the new features.
27154
4af3879c
SP
271552012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27156 Jakub Jelinek <jakub@redhat.com>
27157
27158 [BZ #14188]
27159 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27160 where __builtin_expect is unavailable.
27161
2fd6ff13
DM
271622012-06-03 David S. Miller <davem@davemloft.net>
27163
27164 * stdlib/longlong.h: Updated from GCC.
27165
173f7220
AS
271662012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27167
27168 [BZ #14042]
27169 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27170 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27171 __mcount_internal.
27172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27173 (GLIBC_2.16): Likewise.
27174
f34a1c6f
L
271752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27176
27177 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27178
88a4576f
JM
271792012-06-01 Joseph Myers <joseph@codesourcery.com>
27180
ea32bcdd
JM
27181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27182 (default-abi): New variable.
27183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27184 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27185 variable.
27186 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27187 Likewise.
27188 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27189 Likewise.
27190 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27191 Likewise.
27192
88a4576f
JM
27193 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27194 definition. Document in comment.
27195
402fe938
DM
271962012-06-01 David S. Miller <davem@davemloft.net>
27197
27198 * stdlib/longlong.h: Updated from GCC.
27199
3553723f
L
272002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27201
27202 [BZ #14117]
3bd872c4
L
27203 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27204 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27205 sys/debugreg.h sys/io.h here.
27206 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27207 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27208 sys/io.h.
27209 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27210 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27211 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27212 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27213 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27214 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27215
3553723f
L
27216 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27217 Define only if __x86_64__ is defined.
27218
4842e4fe
JM
272192012-06-01 Joseph Myers <joseph@codesourcery.com>
27220
c5bfe3d5
JM
27221 [BZ #14048]
27222 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27223 Use int64_t for variable i.
27224 * math/libm-test.inc (fmod_test): Add more tests.
27225
4842e4fe
JM
27226 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27227 z computation is not scheduled after fetestexcept.
27228 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27229 Use math_force_eval instead of asm to ensure calculation scheduled
27230 before exception test.
27231 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27232 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27233
efb73488
AJ
272342012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27235
27236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27237 computation is not scheduled after fetestexcept.
27238
29bcce7c
L
272392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27240
27241 [BZ #14117]
27242 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27243 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27244
73a68f94
AZ
272452012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27246
27247 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27248 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27249
67b6df78
L
272502012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27251
edf2933a 27252 [BZ #14117]
ebc64a18
L
27253 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27254 <bits/wordsize.h>.
27255 (__WCHAR_MIN): Support __WORDSIZE == 64.
27256 (__WCHAR_MAX): Likewise.
27257
edf2933a
L
27258 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27259 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27260
57c6cf40
L
27261 [BZ #14183]
27262 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27263 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27264
67b6df78 27265 [BZ #14117]
8eb6281e
L
27266 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27267 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27268
aac639f4
L
27269 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27270 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27271
67b6df78
L
27272 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27273 Defined to 1 if __x86_64__ isn't defined.
27274 (_STAT_VER_LINUX_OLD): New.
27275 (st_atime): Remove duplicate.
27276 (st_mtime): Likewise.
27277 (st_ctime): Likewise.
27278
1c2cfe81
DM
272792012-05-31 David S. Miller <davem@davemloft.net>
27280
27281 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27282 entries.
27283
5be8418c
AS
272842012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27285
e7725326
AS
27286 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27287 gen-libm-test.pl.
27288
5be8418c
AS
27289 [BZ #14132]
27290 * elf/dl-reloc.c: Include <_itoa.h>.
27291 (_dl_reloc_bad_type): Remove use of INTUSE.
27292 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27293 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27294 * stdio-common/psiginfo.c (psiginfo): Likewise.
27295 * stdio-common/psignal.c (psignal): Likewise.
27296 * string/strsignal.c (strsignal): Likewise.
27297 * include/signal.h (_sys_siglist): Declare hidden proto.
27298 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27299 INTVARDEF with libc_hidden_data_def.
27300 * stdio-common/itoa-udigits.c: Likewise.
27301 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27302 (_itoa_lower_digits_internal): Remove declaration.
27303 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27304 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27305 (_sys_sigabbrev_internal): Remove aliases.
27306 (_sys_siglist): Define hidden alias.
27307
507352f1
MT
273082012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27309
27310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27311 bits/sysctl.h.
27312
42bbb1c3
L
273132012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27314
27315 [BZ #14117]
6bd784b6
L
27316 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27317 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27318
8bca20f0
L
27319 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27320 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27321 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27322 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27323 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27324 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27325
f9e890a9
L
27326 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27327 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27328 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27329
471101a1
L
27330 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27331 with __addr.
27332 (insw): Likewise.
27333 (insl): Likewise.
27334 (outsb): Likewise.
27335 (outsw): Likewise.
27336 (outsl): Likewise.
27337
6451c862
L
27338 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27339 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27340 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27341
a254b8c9
L
27342 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27343 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27344 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27345 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27346 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27347 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27348
b8dfdd92
L
27349 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27350 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27351
578cd270
L
27352 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27353 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27354
de662f5f
L
27355 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27356 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27357 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27358
25653439
L
27359 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27360 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27361 to ...
27362 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27363
6bad24a0
L
27364 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27365 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27366 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27367
42bbb1c3
L
27368 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27369 for x86-64.
27370 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27371
2d10d547
JM
273722012-05-31 Joseph Myers <joseph@codesourcery.com>
27373
27374 * math/math.h (M_El): Use two more decimal places.
27375 (M_LOG2El): Likewise.
27376 (M_LOG10El): Likewise.
27377 (M_LN2l): Likewise.
27378 (M_LN10l): Likewise.
27379 (M_PIl): Likewise.
27380 (M_PI_2l): Likewise.
27381 (M_PI_4l): Likewise.
27382 (M_1_PIl): Likewise.
27383 (M_2_PIl): Likewise.
27384 (M_2_SQRTPIl): Likewise.
27385 (M_SQRT2l): Likewise.
27386 (M_SQRT1_2l): Likewise.
27387
f230c29b
DM
273882012-05-31 David S. Miller <davem@davemloft.net>
27389
27390 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27391 values between float registers.
27392 * sysdeps/sparc/sparc64/memset.S: Likewise.
27393 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27394
fed806c3
MF
273952012-05-31 Mike Frysinger <vapier@gentoo.org>
27396
27397 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27398 -D_FORTIFY_SOURCE=1.
27399 (CPPFLAGS-tst-longjmp_chk.c): Define.
27400 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27401 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27402 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27403 CFLAGS-tst-wchar-h.c.
27404
30917259
MP
274052012-05-31 Marek Polacek <polacek@redhat.com>
27406
27407 [BZ #14132]
27408 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27409 __endmntent_internal): Remove declaration.
27410 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27411 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27412 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27413
1c58d5dc
DM
274142012-05-30 David S. Miller <davem@davemloft.net>
27415
27416 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27417 (___Q_simulate_exceptions): Use real FP ops rather than writing
27418 into the %fsr.
27419 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27420 Likewise.
27421
7dc00e0d
L
274222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27423
27424 [BZ #14117]
0bd53985
L
27425 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27426 * sysdeps/x86/bits/xtitypes.h: This.
27427
3a257e66
L
27428 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27429 * sysdeps/x86/bits/wordsize.h: This.
27430
62f62904
L
27431 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27432 * sysdeps/x86/bits/huge_vall.h: This.
27433
404fe9d9
L
27434 * sysdeps/i386/bits/select.h: Removed.
27435 * sysdeps/x86_64/bits/select.h: Renamed to ...
27436 * sysdeps/x86/bits/select.h: This.
27437
d48d0446
L
27438 * sysdeps/i386/bits/setjmp.h: Removed.
27439 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27440 * sysdeps/x86/bits/setjmp.h: This.
27441
7dc00e0d
L
27442 * sysdeps/i386/bits/mathdef.h: Removed.
27443 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27444 * sysdeps/x86/bits/mathdef.h: This.
27445
03277f8f
AS
274462012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27447
27448 [BZ #14132]
27449 * include/sys/socket.h (__connect_internal)
27450 (__libc_sa_len_internal): Remove declaration.
27451 (__connect, __libc_sa_len): Declare hidden_proto.
27452 (SA_LEN): Remove use of INTUSE.
27453 * socket/connect.c: Add libc_hidden_def.
27454 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27455 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27456 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27457 alias.
27458 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27459 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27460 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27461 of adding _internal alias.
27462
13764867
L
274632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27464
27465 [BZ #14117]
6bd97696
L
27466 * sysdeps/i386/bits/link.h: Removed.
27467 * sysdeps/i386/bits/linkmap.h: Likewise.
27468 * sysdeps/x86_64/bits/link.h: Renamed to ...
27469 * sysdeps/x86/bits/link.h: This.
27470 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27471 * sysdeps/x86/bits/linkmap.h: This.
27472
f726f0bb
L
27473 * sysdeps/i386/bits/endian.h: Removed.
27474 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27475 * sysdeps/x86/bits/endian.h: This.
27476
13764867
L
27477 * sysdeps/i386/bits/byteswap.h: Removed.
27478 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27479 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27480 * sysdeps/x86/bits/byteswap.h: This.
27481 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27482 * sysdeps/x86/bits/byteswap-16.h: This.
27483 * sysdeps/i386/Implies: Add x86.
27484 * sysdeps/x86_64/Implies: Likewise.
27485
ae251b0b
DM
274862012-05-30 David S. Miller <davem@davemloft.net>
27487
27488 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27489 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27490 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27491 (FP_TRAPPING_EXCEPTIONS): Define.
27492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27493 (FP_TRAPPING_EXCEPTIONS): Define.
27494 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27495 subnormals only when inexact has been signalled or underflow
27496 exceptions are enabled.
27497 (_FP_PACK_CANONICAL): Likewise.
27498
d5c90867
L
274992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27500
27501 [BZ #14183]
27502 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27503 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27504
63f1549e
RH
275052012-05-30 Richard Henderson <rth@twiddle.net>
27506
8d8f2279
RH
27507 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27508 with #ifndef NOT_IN_libc.
27509
63f1549e
RH
27510 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27511 marked to avoid plt entry.
27512
0ab0291b
L
275132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27514
27515 [BZ #14112]
27516 * Makeconfig (default-abi): New macro.
27517 (abi-includes): Likewise.
27518 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27519 $(abi-$(default-abi)-lib-soname) for soname if defined.
27520 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27521 abi-variants.
27522 * Makefile (installed-stubs): Likewise.
27523 * include/stubs-biarch.h: Removed.
27524 * scripts/lib-names.awk: Only handle one library at a time.
27525 * scripts/soversions.awk: Remove WORDSIZE support.
27526 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27527 entries.
27528 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27529 Removed.
27530 (syscall-list-default-condition): Likewise.
27531 (syscall-list-default-condition): Likewise.
27532 (syscall-list-includes): Likewise.
27533 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27534 syscall-list-* with abi-*. Handle undefined abi-variants.
27535 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27536 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27537 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27538 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27539 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27540 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27541 Removed.
27542 (syscall-list-32-options): Likewise.
27543 (syscall-list-32-condition): Likewise.
27544 (syscall-list-64-options): Likewise.
27545 (syscall-list-64-condition): Likewise.
27546 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27547 macro.
27548 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27549 Renamed to ...
27550 (abi-*): This.
27551 (abi-64-ld-soname): New macro.
27552 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27553 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27554 Renamed to ...
27555 (abi-*): This.
27556 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27557 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27558
4da0431d
JM
275592012-05-30 Joseph Myers <joseph@codesourcery.com>
27560
3a85279c
JM
27561 * sysdeps/unix/sysv/linux/kernel-features.h
27562 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27563 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27564 include <kernel-features.h>.
27565 [!__NR_ftruncate64]: Remove conditional code.
27566 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27567 [__NR_ftruncate64]: Make code unconditional.
27568 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27569 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27570 include <kernel-features.h>.
27571 [!__NR_ftruncate64]: Remove conditional code.
27572 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27573 [__NR_ftruncate64]: Make code unconditional.
27574 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27576 include <kernel-features.h>.
27577 [!__NR_ftruncate64]: Remove conditional code.
27578 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27579 [__NR_ftruncate64]: Make code unconditional.
27580 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27582 include <kernel-features.h>.
27583 [!__NR_ftruncate64]: Remove conditional code.
27584 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27585 [__NR_ftruncate64]: Make code unconditional.
27586 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27587
4da0431d
JM
27588 * configure.in (libc_cv_fpie): Weaken to a compile test using
27589 LIBC_TRY_CC_OPTION.
27590 * configure: Regenerated.
27591
11ef492c
AK
275922012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27593
27594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27598 Refreshed.
27599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27605 Refreshed.
27606
d66ef399
DM
276072012-05-27 David S. Miller <davem@davemloft.net>
27608
27609 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27610 (___Q_zero): New.
27611 (__Q_simulate_exceptions): Return void. Change to simulate
27612 exceptions by writing into the %fsr.
27613 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27614 (__Qp_handle_exceptions): Likewise.
27615 (numbers): Delete.
27616 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27617 __Qp_handle_exceptions.
27618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27619 __Qp_handle_exceptions.
27620 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27621 as unused and give dummy FP_RND_NEAREST initializer.
27622 (FP_INHIBIT_RESULTS): Define.
27623 (___Q_simulate_exceptions): Update declaration.
27624 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27625 formatting.
27626 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27627 as unused and give dummy FP_RND_NEAREST initializer.
27628 (__Qp_handle_exceptions): Update declaration.
27629 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27630 formatting.
27631
04fb54b5
TS
276322012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27633
27634 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27635 the temporary FPU control word.
27636 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27637 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27638 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27639 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27640 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27641 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27642 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27643 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27644 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27645 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27646 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27647
3f99608f
KK
276482012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27649
27650 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27651 fields.
27652
65a4de4e
CLT
276532012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27654
27655 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27656 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27657 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27658 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27659 Likewise.
27660 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27661 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27662 Likewise.
27663
15749d40
UD
276642012-05-27 Ulrich Drepper <drepper@gmail.com>
27665
27666 * po/h.po: Update from translation team.
27667
25dbcb27
AS
276682012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27669
3d3f8e55
AS
27670 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27671
25dbcb27
AS
27672 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27673 handling of denormals.
27674 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27675 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27676 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27677 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27678 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27679 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27680 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27681 Likewise.
27682
7ad47a80 276832012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27684
27685 [BZ #14152]
27686 * math/libm-test.inc (fma_test): Don't always expect underflow
27687 exception.
27688
9c6ea9fa
SP
276892012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27690
27691 [BZ #12416]
27692 * elf/tst-execstack.c: Include stackinfo.h.
27693 (do_test): Adjust test case to ensure that pthread_getattr_np
27694 behaviour remains the same after marking stack executable.
27695
a8239222
JM
276962012-05-25 Joseph Myers <joseph@codesourcery.com>
27697
27698 * sysdeps/unix/sysv/linux/kernel-features.h
27699 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27700 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27701 kernel-features.h.
27702 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27703 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27704 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27705 kernel-features.h.
27706 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27707 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27708
918b5606
L
277092012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27710
27711 * configure.in: Define the default includes to being none.
27712 * configure: Regenerated.
27713
3a097cc7
RM
277142012-05-25 Roland McGrath <roland@hack.frob.com>
27715
8422c9a5
RM
27716 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27717 * sysdeps/x86_64/setjmp.S: Likewise.
27718 * sysdeps/i386/bsd-setjmp.S: Likewise.
27719 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27720 * sysdeps/i386/setjmp.S: Likewise.
27721 * sysdeps/i386/__longjmp.S: Likewise.
27722 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27723 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27724
3a097cc7
RM
27725 * include/stap-probe.h: New file.
27726 * configure.in: Handle --enable-systemtap.
27727 * configure: Regenerated.
27728 * config.h.in (USE_STAP_PROBE): New #undef.
27729 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27730 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27731 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27732
21708942
JM
277332012-05-25 Joseph Myers <joseph@codesourcery.com>
27734
27735 [BZ #13717]
27736 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27737 to 2.4.0 where earlier.
27738 * sysdeps/unix/sysv/linux/configure: Regenerated.
27739 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27740 <kernel-features.h>.
27741 [__ASSUME_32BITUIDS]: Make code unconditional.
27742 [!__ASSUME_32BITUIDS]: Remove conditional code.
27743 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27744 <kernel-features.h>.
27745 [__ASSUME_32BITUIDS]: Make code unconditional.
27746 [!__ASSUME_32BITUIDS]: Remove conditional code.
27747 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27748 [__ASSUME_32BITUIDS]: Make code unconditional.
27749 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27750 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27751 <kernel-features.h>.
27752 [__ASSUME_32BITUIDS]: Make code unconditional.
27753 [!__ASSUME_32BITUIDS]: Remove conditional code.
27754 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27755 <kernel-features.h>.
27756 [__ASSUME_32BITUIDS]: Make code unconditional.
27757 [!__ASSUME_32BITUIDS]: Remove conditional code.
27758 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27759 <kernel-features.h>.
27760 [__ASSUME_32BITUIDS]: Make code unconditional.
27761 [!__ASSUME_32BITUIDS]: Remove conditional code.
27762 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27763 <kernel-features.h>.
27764 [__ASSUME_32BITUIDS]: Make code unconditional.
27765 [!__ASSUME_32BITUIDS]: Remove conditional code.
27766 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27767 <kernel-features.h>.
27768 [__ASSUME_32BITUIDS]: Make code unconditional.
27769 [!__ASSUME_32BITUIDS]: Remove conditional code.
27770 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27771 <kernel-features.h>.
27772 [__ASSUME_32BITUIDS]: Make code unconditional.
27773 [!__ASSUME_32BITUIDS]: Remove conditional code.
27774 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27775 <kernel-features.h>.
27776 [__ASSUME_32BITUIDS]: Make code unconditional.
27777 [!__ASSUME_32BITUIDS]: Remove conditional code.
27778 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27779 <kernel-features.h>.
27780 [__ASSUME_32BITUIDS]: Make code unconditional.
27781 [!__ASSUME_32BITUIDS]: Remove conditional code.
27782 * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
27791 <kernel-features.h>.
27792 [__NR_setresgid] (__setresgid): Do not declare.
27793 [__ASSUME_32BITUIDS]: Make code unconditional.
27794 [!__ASSUME_32BITUIDS]: Remove conditional code.
27795 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27796 <kernel-features.h>.
27797 [__NR_setresuid] (__setresuid): Do not declare.
27798 [__ASSUME_32BITUIDS]: Make code unconditional.
27799 [!__ASSUME_32BITUIDS]: Remove conditional code.
27800 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27801 <kernel-features.h>.
27802 [__ASSUME_32BITUIDS]: Make code unconditional.
27803 [!__ASSUME_32BITUIDS]: Remove conditional code.
27804 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27805 <kernel-features.h>.
27806 [__ASSUME_32BITUIDS]: Make code unconditional.
27807 [!__ASSUME_32BITUIDS]: Remove conditional code.
27808 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27809 <kernel-features.h>.
27810 [__ASSUME_32BITUIDS]: Make code unconditional.
27811 [!__ASSUME_32BITUIDS]: Remove conditional code.
27812 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27813 <kernel-features.h>.
27814 [__ASSUME_32BITUIDS]: Make code unconditional.
27815 [!__ASSUME_32BITUIDS]: Remove conditional code.
27816 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27817 <kernel-features.h>.
27818 [__ASSUME_32BITUIDS]: Make code unconditional.
27819 [!__ASSUME_32BITUIDS]: Remove conditional code.
27820 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27821 <kernel-features.h>.
27822 [__ASSUME_32BITUIDS]: Make code unconditional.
27823 [!__ASSUME_32BITUIDS]: Remove conditional code.
27824 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27825 <kernel-features.h>.
27826 [__ASSUME_32BITUIDS]: Make code unconditional.
27827 [!__ASSUME_32BITUIDS]: Remove conditional code.
27828 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27829 <kernel-features.h>.
27830 [__ASSUME_32BITUIDS]: Make code unconditional.
27831 [!__ASSUME_32BITUIDS]: Remove conditional code.
27832 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27833 <kernel-features.h>.
27834 [__ASSUME_32BITUIDS]: Make code unconditional.
27835 [!__ASSUME_32BITUIDS]: Remove conditional code.
27836 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27837 <kernel-features.h>.
27838 [__ASSUME_32BITUIDS]: Make code unconditional.
27839 [!__ASSUME_32BITUIDS]: Remove conditional code.
27840 * sysdeps/unix/sysv/linux/kernel-features.h
27841 (__ASSUME_SETRESUID_SYSCALL): Remove.
27842 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27843 (__ASSUME_32BITUIDS): Likewise.
27844 (__ASSUME_LDT_WORKS): Likewise.
27845 (__ASSUME_O_DIRECTORY): Likewise.
27846 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27847 architecture but not kernel version.
27848 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27849 (__ASSUME_MMAP2_SYSCALL): Likewise.
27850 (__ASSUME_STAT64_SYSCALL): Likewise.
27851 (__ASSUME_IPC64): Likewise.
27852 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27853 <kernel-features.h>.
27854 [__ASSUME_32BITUIDS]: Make code unconditional.
27855 [!__ASSUME_32BITUIDS]: Remove conditional code.
27856 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27857 <kernel-features.h>.
27858 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27859 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27860 132096]: Remove conditional code.
27861 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27862 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27863 <kernel-features.h>.
27864 [__ASSUME_32BITUIDS]: Make code unconditional.
27865 [!__ASSUME_32BITUIDS]: Remove conditional code.
27866 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27867 <kernel-features.h>.
27868 [__ASSUME_32BITUIDS]: Make code unconditional.
27869 [!__ASSUME_32BITUIDS]: Remove conditional code.
27870 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27871 <kernel-features.h>.
27872 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27873 unconditional.
27874 (__setresgid): Do not declare.
27875 [__ASSUME_32BITUIDS]: Make code unconditional.
27876 [!__ASSUME_32BITUIDS]: Remove conditional code.
27877 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27878 <kernel-features.h>.
27879 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27880 unconditional.
27881 (__setresuid): Do not declare.
27882 [__ASSUME_32BITUIDS]: Make code unconditional.
27883 [!__ASSUME_32BITUIDS]: Remove conditional code.
27884 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27885 <kernel-features.h>.
27886 [__ASSUME_32BITUIDS]: Make code unconditional.
27887 [!__ASSUME_32BITUIDS]: Remove conditional code.
27888 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27889 <kernel-features.h>.
27890 [__ASSUME_32BITUIDS]: Make code unconditional.
27891 [!__ASSUME_32BITUIDS]: Remove conditional code.
27892
a386f1cc
RH
278932012-05-25 Richard Henderson <rth@twiddle.net>
27894
27895 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27896 dl_hwcap to ifunc resolver.
27897 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27898 elf_ifunc_invoke.
27899 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27900 dl_hwcap to ifunc resolver.
27901 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27902
b6550497
JM
279032012-05-24 Joseph Myers <joseph@codesourcery.com>
27904
27905 [BZ #14153]
27906 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27907 for |x| <= 2**-26, not 2**-57.
27908 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27909 exception.
27910
b0bc23a1
JL
279112012-05-24 Jeff Law <law@redhat.com>
27912
27913 * stdio-common/Makefile (tests): Add bug25.
27914 * stdio-common/bug25.c: New test.
27915
347c92e9
L
279162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27917
27918 [BZ #13576]
27919 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27920 multiple of MALLOC_ALIGNMENT in size.
27921 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27922
6bcc8b3f
JM
279232012-05-24 Joseph Myers <joseph@codesourcery.com>
27924
27925 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27926 Require >= 256.
27927 (FILENAME_MAX): Use macro-int-constant.
27928 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27929 (_IOFBF): Use macro-int-constant.
27930 (_IOLBF): Likewise.
27931 (_IONBF): Likewise.
27932 (SEEK_CUR): Likewise.
27933 (SEEK_END): Likewise.
27934 (SEEK_SET): Likewise.
27935 (TMP_MAX): Likewise.
27936 (EOF): Use macro-int-constant. Require < 0.
27937 (NULL): Use macro-constant. Require == 0.
27938 (stdin): Require type to be FILE *.
27939 (stdout): Likewise.
27940 (stderr): Likewise.
27941 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27942 macro-int-constant.
27943 (EXIT_SUCCESS): Likewise.
27944 (NULL): Use macro-constant. Require == 0.
27945 (RAND_MAX): Use macro-int-constant.
27946 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27947 [C99-based standards] (strtof): Require function.
27948 [C99-based standards] (strtold): Likewise.
27949 [C99-based standards] (strtoll): Likewise.
27950 [C99-based standards] (strtoull): Likewise.
27951 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27952 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27953 [ISO || ISO99 || ISO11] (math.h): Likewise.
27954 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27955 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27956 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27957
d18ea0c5
AS
279582012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27959
27960 [BZ #14132]
56d25bb8
AS
27961 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27962 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27963 * intl/dgettext.c (DCGETTEXT): Likewise.
27964 * intl/gettext.c (DCGETTEXT): Likewise.
27965 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27966 * posix/regex_internal.h (gettext): Likewise.
27967 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27968 Remove declaration.
27969 * include/argz.h (__argz_count_internal)
27970 (__argz_stringify_internal): Remove declaration.
27971 (__argz_count, __argz_stringify): Declare hidden proto.
27972 * intl/dcgettext.c: Remove use of INTDEF.
27973 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27974 * string/argz-stringify.c: Likewise.
27975 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27976 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27977 Declare hidden proto.
d18ea0c5
AS
27978 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27979 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27980 Declare hidden proto.
27981 * include/stdio.h (__asprintf_internal): Don't declare.
27982 (__asprintf): Don't define as macro. Declare hidden proto.
27983 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27984 (__fsetlocking): Declare hidden proto.
27985 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27986 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27987 hidden proto.
27988 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27989 (_IO_setlinebuf): Remove use of INTUSE.
27990 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27991 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27992 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27993 Remove declaration.
27994 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27995 (_IO_do_flush): Remove use of INTUSE.
27996 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27997 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27998 (_IO_adjust_column, _IO_least_wmarker)
27999 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28000 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28001 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28002 (_IO_default_doallocate, _IO_wdefault_doallocate)
28003 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28004 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28005 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28006 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28007 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28008 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28009 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28010 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28011 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28012 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28013 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28014 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28015 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28016 proto.
28017 (_IO_flush_all_internal, _IO_adjust_column_internal)
28018 (_IO_default_uflow_internal, _IO_default_finish_internal)
28019 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28020 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28021 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28022 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28023 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28024 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28025 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28026 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28027 (_IO_file_close_internal, _IO_file_close_it_internal)
28028 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28029 (_IO_file_init_internal, _IO_file_attach_internal)
28030 (_IO_file_fopen_internal, _IO_file_read_internal)
28031 (_IO_file_sync_internal, _IO_file_seek_internal)
28032 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28033 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28034 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28035 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28036 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28037 (_IO_list_all_internal, _IO_link_in_internal)
28038 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28039 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28040 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28041 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28042 (_IO_do_write_internal, _IO_padn_internal)
28043 (_IO_getline_info_internal, _IO_getline_internal)
28044 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28045 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28046 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28047 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28048 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28049 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28050 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28051 with libc_hidden_ver, remove use of INTUSE.
28052 * libio/genops.c: Likewise.
28053 * libio/freopen.c: Likewise.
28054 * libio/freopen64.c: Likewise.
28055 * libio/iofclose.c: Likewise.
28056 * libio/iofdopen.c: Likewise.
28057 * libio/iofflush.c: Likewise.
28058 * libio/iofflush_u.c: Likewise.
28059 * libio/iofgets.c: Likewise.
28060 * libio/iofgets_u.c: Likewise.
28061 * libio/iofopen.c: Likewise.
28062 * libio/iofopncook.c: Likewise.
28063 * libio/iofread.c: Likewise.
28064 * libio/iofread_u.c: Likewise.
28065 * libio/ioftell.c: Likewise.
28066 * libio/iofwrite.c: Likewise.
28067 * libio/iogetline.c: Likewise.
28068 * libio/iogets.c: Likewise.
28069 * libio/iogetwline.c: Likewise.
28070 * libio/iopadn.c: Likewise.
28071 * libio/iopopen.c: Likewise.
28072 * libio/ioseekoff.c: Likewise.
28073 * libio/ioseekpos.c: Likewise.
28074 * libio/iosetbuffer.c: Likewise.
28075 * libio/iosetvbuf.c: Likewise.
28076 * libio/ioungetc.c: Likewise.
28077 * libio/ioungetwc.c: Likewise.
28078 * libio/iovdprintf.c: Likewise.
28079 * libio/iovsprintf.c: Likewise.
28080 * libio/iovsscanf.c: Likewise.
28081 * libio/memstream.c: Likewise.
28082 * libio/obprintf.c: Likewise.
28083 * libio/oldfileops.c: Likewise.
28084 * libio/oldiofclose.c: Likewise.
28085 * libio/oldiofdopen.c: Likewise.
28086 * libio/oldiofopen.c: Likewise.
28087 * libio/oldiopopen.c: Likewise.
28088 * libio/oldstdfiles.c: Likewise.
28089 * libio/putc.c: Likewise.
28090 * libio/setbuf.c: Likewise.
28091 * libio/setlinebuf.c: Likewise.
28092 * libio/stdfiles.c: Likewise.
28093 * libio/strops.c: Likewise.
28094 * libio/vasprintf.c: Likewise.
28095 * libio/vscanf.c: Likewise.
28096 * libio/vsnprintf.c: Likewise.
28097 * libio/vswprintf.c: Likewise.
28098 * libio/wfiledoalloc.c: Likewise.
28099 * libio/wfileops.c: Likewise.
28100 * libio/wgenops.c: Likewise.
28101 * libio/wmemstream.c: Likewise.
28102 * libio/wstrops.c: Likewise.
28103 * libio/__fpurge.c: Likewise.
28104 * libio/__fsetlocking.c: Likewise.
28105 * assert/assert.c: Likewise.
28106 * debug/fgets_chk.c: Likewise.
28107 * debug/fgets_u_chk.c: Likewise.
28108 * debug/fread_chk.c: Likewise.
28109 * debug/fread_u_chk.c: Likewise.
28110 * debug/gets_chk.c: Likewise.
28111 * debug/obprintf_chk.c: Likewise.
28112 * debug/vasprintf_chk.c: Likewise.
28113 * debug/vdprintf_chk.c: Likewise.
28114 * debug/vsnprintf_chk.c: Likewise.
28115 * debug/vsprintf_chk.c: Likewise.
28116 * malloc/mtrace.c: Likewise.
28117 * misc/error.c: Likewise.
28118 * misc/syslog.c: Likewise.
28119 * stdio-common/asprintf.c: Likewise.
28120 * stdio-common/fxprintf.c: Likewise.
28121 * stdio-common/getw.c: Likewise.
28122 * stdio-common/isoc99_fscanf.c: Likewise.
28123 * stdio-common/isoc99_scanf.c: Likewise.
28124 * stdio-common/isoc99_vfscanf.c: Likewise.
28125 * stdio-common/isoc99_vscanf.c: Likewise.
28126 * stdio-common/isoc99_vsscanf.c: Likewise.
28127 * stdio-common/printf-prs.c: Likewise.
28128 * stdio-common/printf_fp.c: Likewise.
28129 * stdio-common/printf_fphex.c: Likewise.
28130 * stdio-common/printf_size.c: Likewise.
28131 * stdio-common/putw.c: Likewise.
28132 * stdio-common/scanf.c: Likewise.
28133 * stdio-common/sprintf.c: Likewise.
28134 * stdio-common/tmpfile.c: Likewise.
28135 * stdio-common/vfprintf.c: Likewise.
28136 * stdio-common/vfscanf.c: Likewise.
28137 * stdlib/strfmon_l.c: Likewise.
28138 * sunrpc/openchild.c: Likewise.
28139 * sunrpc/xdr_stdio.c: Likewise.
28140 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28141 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28142
d6c33fda
RM
281432012-05-24 Roland McGrath <roland@hack.frob.com>
28144
c1487492
RM
28145 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28146
28147 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28148 in the third column, to generate for the shared library an IFUNC
28149 that uses _dl_vdso_vsym.
28150 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28151 * Makeconfig (object-suffixes-noshared): New variable.
28152
28153 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28154 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28155 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28156 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28157
d6c33fda
RM
28158 [BZ #14132]
28159 * include/sys/time.h (__gettimeofday): Remove macro.
28160 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28161 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28162 Remove INTDEF.
28163 (__gettimeofday): Add libc_hidden_def.
28164 (gettimeofday): Add libc_hidden_weak.
28165 * sysdeps/mach/gettimeofday.c: Likewise.
28166 * sysdeps/posix/gettimeofday.c: Likewise.
28167 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28168 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28169 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28170 (__gettimeofday_internal): Remove strong_alias.
28171 (__gettimeofday): Add libc_hidden_def.
28172 (gettimeofday): Add libc_hidden_weak.
28173 * sysdeps/unix/syscalls.list (gettimeofday):
28174 Remove __gettimeofday_internal alias.
28175
b5a2bbe6
L
281762012-05-24 Daniel Jacobowitz <drow@false.org>
28177 H.J. Lu <hongjiu.lu@intel.com>
28178
28179 [BZ #12495]
28180 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28181 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28182 (largebin_index_32_big): New.
28183 (largebin_index): Use it for 16-byte alignment.
28184 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28185 correction with front_misalign.
28186
cfba4fda
L
281872012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28188
7f907421
L
28189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28191 Likewise.
28192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28193 Likewise.
28194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28195 Likewise.
28196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28197 Likewise.
28198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28199 Likewise.
28200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28201 Likewise.
28202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28203 Likewise.
28204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28205 Likewise.
28206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28207 Likewise.
28208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28209 Likewise.
28210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28211 Likewise.
28212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28213 Likewise.
28214
cfba4fda
L
28215 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28216 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28217
80bad0cc
JM
282182012-05-24 Joseph Myers <joseph@codesourcery.com>
28219
7a25eb06
JM
28220 [BZ #10846]
28221 [BZ #14036]
28222 * math/libm-test.inc (exp_test): Add test from bug 14036.
28223 (pow_test): Add test from bug 10846.
28224
795405f9
JM
28225 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28226 and other flags.
28227 (special_function): Do not include flags in test name.
28228 (parse_args): Likewise.
28229 * sysdeps/i386/fpu/libm-test-ulps: Update.
28230 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28231 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28232 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28234
80bad0cc
JM
28235 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28236 exceptions.
28237 * math/libm-test.inc ("Philosophy"): Update comment about
28238 exception testing.
28239 (UNDERFLOW_EXCEPTION): New macro.
28240 (UNDERFLOW_EXCEPTION_OK): Likewise.
28241 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28242 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28243 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28244 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28245 (INVALID_EXCEPTION_OK): Update value.
28246 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28247 (OVERFLOW_EXCEPTION_OK): Likewise.
28248 (IGNORE_ZERO_INF_SIGN): Likewise.
28249 (test_exceptions): Handle underflow exceptions.
28250 (acos_test): Update for underflow exception expectations.
28251 (cexp_test): Likewise.
28252 (clog_test): Likewise.
28253 (clog10_test): Likewise.
28254 (csqrt_test): Likewise.
28255 (ctan_test): Likewise.
28256 (ctanh_test): Likewise.
28257 (exp_test): Likewise.
28258 (exp10_test): Likewise.
28259 (exp2_test): Likewise.
28260 (expm1_test): Likewise.
28261 (fma_test): Likewise.
28262 (j0_test): Likewise.
28263 (jn_test): Likewise.
28264 (nexttoward_test): Likewise.
28265 (pow_test): Likewise.
28266 (scalbn_test): Likewise.
28267 (scalbln_test): Likewise.
28268 (tan_test): Likewise.
28269 (y1_test): Likewise.
28270 * sysdeps/i386/fpu/libm-test-ulps: Update.
28271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28272
9e0e3d0b
DM
282732012-05-23 David S. Miller <davem@davemloft.net>
28274
28275 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28276 (__libc_sigaction): Remove unused local variables.
28277
ccd0a08f
L
282782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28279
28280 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28281
62bdf9a6
PE
282822012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28283
f8591f80
PE
28284 mktime: avoid signed integer overflow
28285 * time/mktime.c (__mktime_internal): Do not mishandle the case
28286 where diff == INT_MIN.
28287
94c7d826
PE
28288 mktime: simplify computation of average
28289 * time/mktime.c (ranged_convert): Use new time_t_avg function
28290 instead of rolling our own (probably-slower) code.
28291
ce73d683
PE
28292 mktime: do not assume signed right shift propagates sign bit
28293 * time/mktime.c (isdst_differ): New static function.
28294 (__mktime_internal): No need to normalize tm_isdst now.
28295 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28296 tm_isdst values.
28297
72a22e59
PE
28298 mktime: merge another wrapv change from gnulib
28299 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28300 from some compilers.
28301
68605433
PE
28302 mktime: remove incorrect attempt at unusual arithmetics
28303 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28304 The code didn't really work on such machines anyway.
28305 (TYPE_MINIMUM): Assume two's complement.
28306 (twos_complement_arithmetic): Verify that long_int and time_t
28307 are two's complement (or unsigned, in the latter case).
28308
03cf7fe3
PE
28309 mktime: check signed shifts on long_int and time_t, too
28310 * time/mktime.c (SHR): Check that shifts work as desired
28311 on the types long_int and time_t too, as SHR is used on
28312 such types.
28313
f04dfbc2
PE
28314 mktime: do not assume 'long' is wide enough
28315 * time/mktime.c (verify): Move decl up.
28316 (long_int): New type.
28317 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28318 to remove assumption in the code that 'long' is wide enough to
28319 store year values. This assumption is not true on x32 and on
28320 some non-glibc platforms.
28321
62bdf9a6
PE
28322 mktime: merge wrapv change from gnulib
28323 * time/mktime.c (WRAPV): New macro.
28324 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28325 (guess_time_tm, __mktime_internal): Do not assume that signed
28326 integer overflow wraps around; modern compilers generate code
28327 where this assumption is no longer valid.
28328
5e292e4f
L
283292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28330
28331 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28332 Replace "jmp L(pseudo_end)" with "ret".
28333 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28334 Likewise.
28335
8caf8c87
AJ
283362012-05-23 Andreas Jaeger <aj@suse.de>
28337
28338 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28339 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28340
1a09dc56
AJ
283412012-05-23 Andreas Jaeger <aj@suse.de>
28342 Maximilian Attems <max@stro.at>
28343
28344 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28345 New macros.
28346
1c87aba0
L
283472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28348
28349 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28350 code so that pseudo_end is just ret and the stack pointer is
28351 correct also for static library in error case.
28352
40e45bd5
JM
283532012-05-23 Joseph Myers <joseph@codesourcery.com>
28354
c2670533
JM
28355 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28356 move to syscalls.list.
28357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28361
40e45bd5
JM
28362 * manual/install.texi (Running make install): Do not mention Linux
28363 kernel version for which pt_chown is not needed.
28364 (Linux): Do not mention problems with nscd with 2.0 kernels.
28365 * INSTALL: Regenerated.
28366
be08eda5
AJ
283672012-05-23 Andreas Jaeger <aj@suse.de>
28368
28369 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28370 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28371 macro.
28372 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28373 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28374 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28375 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28376 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28377 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28378 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28379 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28380 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28381 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28382 * sysdeps/unix/sysv/linux/bits/in.h
28383 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28384
a6a056bb
RM
283852012-05-22 Roland McGrath <roland@hack.frob.com>
28386
28387 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28388 (PREPARE_VERSION): Just use assert instead, it will be elided
28389 under [NDEBUG] anyway.
28390
c9009328
L
283912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28392
28393 * sysdeps/unix/sysv/linux/Makefile: Include
28394 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28395 (sysdep_routines): Remove sysctl.
c9009328
L
28396 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28397 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28398 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28399 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28400 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28401
73338355
AJ
284022012-05-22 Andreas Jaeger <aj@suse.de>
28403
28404 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28405 that pseudo_end is just ret and the stack pointer is correct also
28406 for static library in error case.
28407
d44638b0
PP
284082012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28409
28410 [BZ #14122]
28411 * nss/nsswitch.c (defconfig_entries): New variable.
28412 (__nss_database_lookup): Don't leak defconfig entries.
28413 (nss_parse_service_list): Don't leak on error paths.
28414 (free_database_entries): New function.
28415 (free_defconfig): New function.
28416 (free_mem): Move common code to free_database_entries.
28417
31a39bd8
L
284182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28419
da0331a8
L
28420 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28421 Add arch_prctl.
28422 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28423
31a39bd8
L
28424 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28425 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28427 New macro.
28428 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28429 (INTERNAL_SYSCALL_TYPES): Likewise.
28430 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28431 (LOAD_REGS_TYPES_[1-6]): Likewise.
28432 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28433 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28434
45470df3
AZ
284352012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28436
28437 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28438 copysignl for GLIBC_2_0.
28439 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28440 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28442 logbl for GLIBC_2_0.
28443 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28444 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28445
98a61bcb
L
284462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28447
a4f6e481
L
28448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28449 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28450
f63d5db6
L
28451 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28452 Use "neg %eax".
28453
98a61bcb
L
28454 * time/mktime.c: Update copyright years.
28455
95770f14
PE
284562012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28457
6226efbd
PE
28458 mktime: merge comment-quoting-style change from gnulib
28459 * time/mktime.c: Quote 'like this' in comments.
28460 The GNU coding standards suggest that we no longer quote `like this',
28461 as "`" and "'" are typically rendered asymmetrically nowadays.
28462 The typical gnulib style is to quote 'like this' when quoting
28463 code, and "like this" when quoting English.
28464
b99e4f78
PE
28465 * time/mktime.c (compile-command): Add "-I.".
28466
643e01e6
PE
28467 mktime: merge mktime-internal.h change from gnulib
28468 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28469
2554247d
PE
28470 mktime: merge time_r change from gnulib
28471 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28472
826dd0ab
PE
28473 mktime: merge DEBUG change from gnulib
28474 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28475 case system <time.h> has a #define.
28476
bd83aabe
PE
28477 mktime: merge <sys/types.h> change from gnulib
28478 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28479 since <time.t> is now guaranteed to define time_t.
28480
95770f14
PE
28481 mktime: merge HAVE_CONFIG_H change from gnulib
28482 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28483
5e1a27a9
L
284842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28485
0e44a77e
L
28486 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28487 Use "neg %eax".
28488
5e1a27a9
L
28489 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28490 __rlim_t cast.
28491 (struct rusage): Use anonymous union to pad each field to
28492 __syscall_slong_t.
28493
46259bec
DM
284942012-05-21 David S. Miller <davem@davemloft.net>
28495
28496 * Makefules (o-iterator): Remove .s cases.
28497 (compile-command.s): Delete.
28498 (COMPILE.s): Delete.
28499 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28500
59f0c22e
JM
285012012-05-21 Joseph Myers <joseph@codesourcery.com>
28502
28503 * configure.in (libc_cv_predef_stack_protector): Only consider
28504 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28505 * configure: Regenerated.
28506
20c07380
L
285072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28508
bbb3154b
L
28509 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28510 New macro. Use R*LP on int and pointer.
28511 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28512 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28513 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28514 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28515
20c07380
L
28516 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28517 [__WORDSIZE_TIME64_COMPAT32] instead of
28518 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28519 (struct utmp): Likewise.
28520 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28521 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28522 Renamed to ...
28523 (__WORDSIZE_TIME64_COMPAT32): This.
28524 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28525 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28526 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28527 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28528 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28529 (__WORDSIZE_TIME64_COMPAT32): New macro.
28530
d8d1017e
AJ
285312012-05-21 Andreas Jaeger <aj@suse.de>
28532
28533 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28534 only if [SHARED]. Add prototype for __wcschr_ia32.
28535
6c7fb145
RM
285362012-05-21 Roland McGrath <roland@hack.frob.com>
28537
28538 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28539 of %rbp unmolested in the jmp_buf while mangling the low bits.
28540 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28541 unmolested high bits of %rbp while demangling the low bits.
28542 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28543
66274218
AJ
285442012-05-21 Andreas Jaeger <aj@suse.de>
28545
07c58f8f
AJ
28546 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28547 * sunrpc/svc_simple.c: Use it for registerrpc.
28548 * sunrpc/xcrypt.c: Use it for passwd2des.
28549
66274218
AJ
28550 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28551
61f65140
L
285522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28553
28554 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28555 Don't define if [__SYSCALL_WORDSIZE != 32].
28556 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28557 New macro.
28558
5fefb436
AJ
285592012-05-21 Bruno Haible <bruno@clisp.org>
28560 Andreas Jaeger <aj@suse.de>
28561
28562 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28563 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28564 inptr and inend for must_buffer_ch.
28565 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28566 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28567 * stdio-common/Makefile (tests): Remove bug15.
28568 (bug15-ENV): Remove macro.
28569 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28570 anymore.
28571
d8e272ab
AJ
285722012-05-19 Andreas Jaeger <aj@suse.de>
28573 Roland McGrath <roland@hack.frob.com>
28574
28575 * manual/contrib.texi: Completely rewritten. It contains now an
28576 alphabetical list of contributors and their contributions.
28577
4a56a162
RH
285782012-05-21 Richard Henderson <rth@twiddle.net>
28579
28580 * misc/getauxval.c (__getauxval): Use unsigned long int.
28581 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28582 (getauxval): Use unsigned long int.
28583
d024d23c
L
285842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28585
28586 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28587
cbc00a03
RM
285882012-05-21 Roland McGrath <roland@hack.frob.com>
28589
28590 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28591 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28592 __alignof__ (long double).
28593
478143fa
AZ
285942012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28595
28596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28597
c7683a6d
RH
285982012-05-20 Richard Henderson <rth@twiddle.net>
28599
28600 * misc/getauxval.c: New file.
28601 * misc/sys/auxv.h: New file.
28602 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28603 (routines): Add getauxval.
28604 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28605 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28606 * elf/dl-sysdep.c (_dl_auxv): Remove.
28607 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28608 * elf/dl-support.c (_dl_auxv): New variable.
28609 (_dl_aux_init): Initialize it.
28610 * manual/startup.texi (Auxiliary Vector): New node.
28611 * sysdeps/generic/bits/hwcap.h: New file.
28612 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28613 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28614 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28615 * sysdeps/sparc/sysdep.h: ... here. Include it.
28616 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28617 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28619 Update.
c7683a6d
RH
28620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28623 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28628
a6f1845d
AZ
286292012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28630
28631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28632
cbcbe830
DM
286332012-05-19 David S. Miller <davem@davemloft.net>
28634
28635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28636
e0b16cc2
JM
286372012-05-19 Joseph Myers <joseph@codesourcery.com>
28638
28639 [BZ #14123]
28640 * math/s_ccosh.c: Include <float.h>
28641 (__ccosh): Avoid internal overflow calculating sinh and cosh
28642 values before multiplying by sin and cos values.
28643 * math/s_ccoshf.c: Likewise.
28644 * math/s_ccoshl.c: Likewise.
28645 * math/s_csin.c: Likewise.
28646 * math/s_csinf.c: Likewise.
28647 * math/s_csinl.c: Likewise.
28648 * math/s_csinh.c: Likewise.
28649 * math/s_csinhf.c: Likewise.
28650 * math/s_csinhl.c: Likewise.
28651 * math/libm-test.inc (ccos_test): Add more tests.
28652 (ccosh_test): Likewise.
28653 (csin_test): Likewise.
28654 (csinh_test): Likewise.
28655 * sysdeps/i386/fpu/libm-test-ulps: Update.
28656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28657
6ad13e08
L
286582012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28659
f66f0ce8
L
28660 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28661 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28662
6ad13e08
L
28663 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28664
b1d072a7
JM
286652012-05-19 Joseph Myers <joseph@codesourcery.com>
28666
28667 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28668 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28669 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28670 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28671 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28672 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28673 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28674 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28675 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28676 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28677 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28678 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28679 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28680 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28681 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28682 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28683 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28684 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28685 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28686 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28687 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28688 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28689 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28690 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28691 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28692 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28693 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28694 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28695 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28696 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28697 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28698
9eae47cb
AJ
286992012-05-18 Andreas Jaeger <aj@suse.de>
28700
28701 * csu/.gitignore: Delete.
28702
bb07f69f
L
287032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28704
28705 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28706 (timex): Use __syscall_slong_t.
28707
e6bdb741
AJ
287082012-05-18 Andreas Jaeger <aj@suse.de>
28709 Carlos O'Donell <carlos_odonell@mentor.com>
28710
28711 * manual/install.texi (Configuring and compiling): Update
28712 description about files modified in the source directory.
d6c33fda 28713 * INSTALL: Regenerated.
e6bdb741 28714
1b74487e
L
287152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28716
28717 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28718 value. Use "or" to set return value to -1.
28719 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28720 negate return value.
28721
a88b64b9
TMQMF
287222012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28723
57f41c40
AS
28724 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28725 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
28726 failure if the compiler has Graphite support disabled.
28727 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28728 Likewise.
57f41c40
AS
28729 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28730 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
28731 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28732 Likewise.
28733
3707636e
L
287342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28735
610b8622
L
28736 * sysdeps/x86_64/x32/_itoa.h: New file.
28737
7cd195df
L
28738 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28739 getdents system call only if kernel and user dirents have the
28740 same d_ino and d_off.
28741
94b07d20
L
28742 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28743 LLONG_MAX != LONG_MAX.
28744 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28745 (_fitoa_word): Likewise.
28746
18298070
L
28747 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28748 years.
28749 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28750 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28751 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28752
553c7ea4
L
28753 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28754 include <bits/wordsize.h>. Check __x86_64__ instead of
28755 __WORDSIZE.
28756 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28757 if __x86_64__ is defined. Use anonymous union on fpstate.
28758
3707636e
L
28759 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28760 anonymous union.
28761
b53ef01a
AS
287622012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28763
37fb1dc0
AS
28764 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28765 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28766 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28767 Refer to _rtld_local_ro instead of _rtld_global_ro.
28768 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28769 Likewise.
28770 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28771 Likewise.
28772 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28773 Likewise.
28774 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28775 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28776 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28777
b53ef01a
AS
28778 * sysdeps/powerpc/powerpc32/dl-machine.c
28779 (__elf_machine_runtime_setup) [PROF]: Don't reference
28780 _dl_prof_resolve.
28781
7a185db2
AJ
287822012-05-18 Andreas Jaeger <aj@suse.de>
28783
28784 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28785 function only available for GCCs before 3.4 since GCC 3.4
28786 introduced a builtin.
28787 (lrint): Likewise.
28788 (llrintf): Likewise.
28789 (llrint): Likewise.
28790 (fmaxf): Likewise.
28791 (fmax): Likewise.
28792 (fminf): Likewise.
28793 (fmin): Likewise.
28794 (rint): Likewise.
28795 (rintf): Likewise.
28796 (nearbyint): Likewise.
28797 (nearbyintf): Likewise.
28798 (ceil): Likewise.
28799 (ceilf): Likewise.
28800 (floor): Likewise.
28801 (floorf): Likewise.
28802
3e5aef87
L
288032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28804
428bd707
L
28805 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28806 on both fields and cast pointer to __syscall_ulong_t.
28807
3e5aef87
L
28808 * bits/types.h (__fsword_t): New type.
28809 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28810 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28812 (__FSWORD_T_TYPE): Likewise.
28813 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28814 (__FSWORD_T_TYPE): Likewise.
28815 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28816 (__FSWORD_T_TYPE): Likewise.
28817 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28818 (__FSWORD_T_TYPE): Likewise.
28819 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28820 __SWORD_TYPE with __fsword_t.
28821 (statfs64): Likewise.
28822
1ba7c3dc
DM
288232012-05-17 David S. Miller <davem@davemloft.net>
28824
28825 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28826
59910343
AJ
288272012-05-17 Andreas Jaeger <aj@suse.de>
28828
28829 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28830 warning.
28831
2e4c1e9e
L
288322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28833
28834 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28835
de7f5ce7
AJ
288362012-05-17 Andreas Jaeger <aj@suse.de>
28837
28838 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28839 when it is used.
28840
286abc3d
CM
288412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28842
28843 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28844
477cc68e
L
288452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28846
28847 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28848 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28849
1a0994f5
CD
288502012-05-17 Andreas Jaeger <aj@suse.de>
28851 Carlos O'Donell <carlos_odonell@mentor.com>
28852
28853 [BZ #14059]
28854 * sysdeps/x86_64/multiarch/init-arch.h
28855 (bit_YMM_Usable): Rename to...
28856 (bit_AVX_Usable): ... this.
28857 (bit_FMA4_Usable): New macro.
28858 (bit_XMM_state): New macro.
28859 (bit_YMM_state): New macro.
28860 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28861 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28862 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28863 (CPUID_OSXSAVE): New macro.
28864 (CPUID_AVX): New macro.
28865 (CPUID_FMA4): New macro.
28866 (index_YMM_Usable): Rename to...
28867 (index_AVX_Usable): ... this.
28868 (HAS_AVX): Use HAS_ARCH_FEATURE.
28869 (HAS_FMA4): Likewise.
28870 (HAS_YMM_USABLE): Remove.
28871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28872 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28873 are present.
28874 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28875 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28876 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28877 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28878 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28879
0af797de
CM
288802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28881
28882 * math/libm-test.c: Support platforms without multiple rounding modes.
28883 * math/bug-nextafter.c: Support platforms without FP exceptions.
28884 * math/bug-nexttoward.c: Likewise.
28885 * math/test-fenv.c: Likewise.
28886 * math/test-misc.c: Likewise.
28887 * stdlib/bug-getcontext.c: Likewise.
28888
e39745ff
AJ
288892012-05-17 Andreas Jaeger <aj@suse.de>
28890
28891 * manual/examples/search.c (critter_cmp): Change signature to
28892 avoid warnings.
28893 * manual/string.texi (Collation Functions): Likewise.
28894
48970aba
L
288952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28896
28897 * bits/types.h: Fold copyright years.
28898 * bits/typesizes.h: Likewise.
28899 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28900 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28901 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28902 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28903 * time/time.h: Likewise.
28904
bedee953
PP
289052012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28906
28907 [BZ #208]
28908 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28909 in instead of returning them. Return void.
28910 (__libc_mallinfo): Accumulate over all arenas.
28911 (__malloc_stats): Adjust for change in int_mallinfo interface.
28912
61653dfb
RM
289132012-05-16 Roland McGrath <roland@hack.frob.com>
28914
30b99d79
RM
28915 [BZ #10375]
28916 * configure.in (NM): Add AC_CHECK_TOOL for it.
28917 (libc_extra_cflags): New substituted variable.
28918 Check for -fstack-protector being used implicitly.
28919 * configure: Regenerated.
28920 * config.make.in (config-extra-cflags): New variable,
28921 gets @libc_extra_cflags@.
28922 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28923
61653dfb
RM
28924 [BZ #10375]
28925 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28926 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28927 * configure: Regenerated.
28928 * config.make.in (CPPUNDEFS): New substituted variable.
28929 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28930 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28931 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28932
661768bb
L
289332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28934
28935 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28936 (mq_attr): Use __syscall_slong_t.
28937
d4261567
L
289382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28939
28940 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28941 Check __x86_64__ instead of __WORDSIZE.
28942 (_STAT_VER_LINUX): Likewise.
28943 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28944 __syscall_ulong_t and __syscall_slong_t.
28945 (stat64): Likewise.
28946
cf3ff365
L
289472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28948
28949 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28950
76cf3e4d
L
289512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28952
28953 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28954
a637753a
L
289552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28956
28957 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28958 __syscall_ulong_t.
28959
d5e05119
L
28960 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28961 include <bits/wordsize.h>. Check __x86_64__ instead of
28962 __WORDSIZE.
28963 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28964 defined.
28965 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28966
f62ee380
L
28967 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28968 include <bits/wordsize.h>. Check __x86_64__ instead of
28969 __WORDSIZE.
28970 (user_regs_struct): Use "__extension__ unsigned long long"
28971 instead of "unsigned long" if __x86_64__ is defined.
28972 (user): Likewise. Pad after pointer field if __ILP32__ is
28973 defined.
28974
4e124ced
JM
289752012-05-16 Joseph Myers <joseph@codesourcery.com>
28976
6a3951a0
JM
28977 * configure.in (makeinfo): Require version 4.5 or later. Allow
28978 versions 5 to 9.
28979 * configure: Regenerated.
28980 * manual/install.texi (texinfo): Increase version requirement to
28981 4.5 or later.
28982 * INSTALL: Regenerated.
28983
4e124ced
JM
28984 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28985
953ca31a
L
289862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28987
28988 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28989
617aca05
L
28990 * sysdeps/x86_64/x32/ffs.c: New file.
28991
5762f7ae
L
28992 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28993 __syscall_ulong_t.
28994 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28995 defined. Use __syscall_ulong_t.
28996 (shminfo): Use __syscall_ulong_t.
28997 (shm_info): Likewise.
28998
a26b6856
L
28999 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29000 __syscall_ulong_t.
29001
cb2b9ef7
L
29002 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29003 <bits/wordsize.h>.
29004 (msgqnum_t): Use __syscall_ulong_t.
29005 (msglen_t): Likewise.
29006 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29007 __syscall_ulong_t.
29008
34683bb0
L
29009 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29010 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29011
84a68786
L
29012 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29013
48baa5f1
L
29014 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29015 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29016
180be88b
L
29017 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29018 __syscall_slong_t.
29019
5e90c8ad
L
29020 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29021 include <bits/wordsize.h>. Check __x86_64__ instead of
29022 __WORDSIZE.
29023
23dfb58b
L
29024 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29025 "unsigned long long int" if __x86_64__ is defined.
29026 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29027
ce5d54b0
L
29028 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29029 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29030 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29031
13dc9eac
L
29032 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29033 <stdint.h>.
29034 (GET_PC): Cast to uintptr_t first.
29035 (GET_FRAME): Likewise.
29036 (GET_STACK): Likewise.
29037
a7895d15
L
29038 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29039 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29040 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29041 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29042 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29043 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29044 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29045 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29046 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29047 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29048 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29049 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29050 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29051 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29052 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29053 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29054 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29055 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29056 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29057 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29058 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29059 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29060 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29061 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29062 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29063 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29064 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29065 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29066 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29067
656416c9
AS
290682012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29069
5bd66283
AS
29070 * Makerules (+depfiles): Also collect depfiles from .oS in
29071 $(extra-objs).
29072 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29073 .oS, $(libnldbl-routines)).
29074
656416c9
AS
29075 * Makerules (native-compile-mkdep-flags): Define.
29076 * sunrpc/Makefile (extra-objs): Add $(addprefix
29077 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29078 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29079 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29080 calling $(make-target-directory).
29081
a46f2169
L
290822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29083
29084 * bits/types.h (__snseconds_t): Removed.
29085 * time/time.h (struct timespec): Replace __snseconds_t with
29086 __syscall_slong_t.
29087 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29088 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29089 Likewise.
29090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29091 (__SNSECONDS_T_TYPE): Likewise.
29092 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29093 (__SNSECONDS_T_TYPE): Likewise.
29094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29095 (__SNSECONDS_T_TYPE): Likewise.
29096
6af6528b
L
290972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29098
29099 * sysdeps/mach/hurd/bits/typesizes.h
29100 (__SYSCALL_SLONG_TYPE): New macro.
29101 (__SYSCALL_ULONG_TYPE): Likewise.
29102
de986b56
L
291032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29104
29105 * bits/types.h (__syscall_slong_t): New type.
29106 (__syscall_ulong_t): Likewise.
29107
29108 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29109 (__SYSCALL_ULONG_TYPE): Likewise.
29110 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29111 (__SYSCALL_SLONG_TYPE): Likewise.
29112 (__SYSCALL_ULONG_TYPE): Likewise.
29113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29114 (__SYSCALL_SLONG_TYPE): Likewise.
29115 (__SYSCALL_ULONG_TYPE): Likewise.
29116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29117 (__SYSCALL_SLONG_TYPE): Likewise.
29118 (__SYSCALL_ULONG_TYPE): Likewise.
29119
85736dc7
L
291202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29121
29122 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29123 Add sigaltstack-offsets.sym.
29124 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29125 <sigaltstack-offsets.h>.
29126 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29127 longjmp_msg pointer.
29128 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29129 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29130 signal stack.
29131 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29132
cc03b296
JM
291332012-05-15 Joseph Myers <joseph@codesourcery.com>
29134
a9538892
JM
29135 * elf/stackguard-macros.h: Remove file.
29136 * sysdeps/generic/stackguard-macros.h: New file.
29137 * sysdeps/i386/stackguard-macros.h: Likewise.
29138 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29139 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29140 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29141 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29142 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29143 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29144 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29145 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29146 <elf/stackguard-macros.h>.
29147
cc03b296
JM
29148 [BZ #14109]
29149 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29150 __aligned__ in attribute.
29151 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29152 (gregset_t): Likewise.
29153
93171016
L
291542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29155
29156 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29157 * sysdeps/x86_64/64/Implies-after: Here. New file.
29158 * sysdeps/x86_64/x32/Implies-after: New file.
29159
d86813a0
L
291602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29161
29162 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29163 and access return value for _dl_profile_fixup. Use R10_LP to
29164 load frame size.
29165
2953ec75
L
291662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29167
29168 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29169
3b550e9e
L
291702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29171
29172 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29173 * sysdeps/x86_64/x32/sysdep.h: New file.
29174
eda41706
L
291752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29176
29177 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29178 * sysdeps/x86_64/setjmp.S: Likewise.
29179
9ea01d93
AZ
291802012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29181
29182 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29183 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29184 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29185 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29186 remove unused global constant.
29187
02a91938
CM
291882012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29189
29190 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29191 include of <not-cancel.h>.
29192
6540185f
RM
291932012-05-15 Roland McGrath <roland@hack.frob.com>
29194
29195 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29196
509072a0
AJ
291972012-05-15 Jeff Law <law@redhat.com>
29198 Andreas Jaeger <aj@suse.de>
29199
29200 [BZ #13594]
29201 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29202 out from...
29203 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29204 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29205 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29206 code changing __hst_map_handle.map.
29207
ba75122d
RM
292082012-05-15 Roland McGrath <roland@hack.frob.com>
29209
29210 * configure.in (sysnames): Look for Implies-before and Implies-after
29211 files.
29212 * configure: Regenerated.
29213
890d8bd8
L
292142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29215
29216 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29217 8-byte data alignment with LP_SIZE alignment.
29218
f6ee6623
L
292192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29220
29221 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29222 into R10_LP.
29223
ea2626f6
L
292242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29225
29226 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29227
085f715e
L
292282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29229
29230 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29231 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29232 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29233 Likewise.
29234 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29235
be8498fc
L
292362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29237
29238 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29239 (stackinfo_sub_sp): Likewise.
29240
70bc83b9
L
292412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29242
29243 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29244 RAX_LP.
29245
9bc0b730
L
292462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29247
29248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29249 into R*_LP.
29250
6d2850e7
L
292512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29252
29253 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29254 sizes into R*_LP.
29255
3cb84561
L
292562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29257
29258 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29259
54e2ed81
L
292602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29261
29262 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29263 into R11_LP and load __x86_64_shared_cache_size_half into
29264 R8_LP.
29265
8a17f349
L
292662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29267
29268 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29269 R8_LP.
29270
777b1eea
AZ
292712012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29272
29273 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29274 logb for POWER7.
29275 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29276 logbf for POWER7.
29277 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29278 logbl for POWER7.
29279 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29280 powerpc32/power7/fpu/s_logb.c via #include.
29281 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29282 powerpc32/power7/fpu/s_logbf.c via #include.
29283 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29284 powerpc32/power7/fpu/s_logbl.c via #include.
29285
d20d4ac2
JM
292862012-05-15 Joseph Myers <joseph@codesourcery.com>
29287
29288 * README.libm: Remove file.
29289
6cdef1ab
L
292902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29291
29292 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29293 count for x32. Use R*_LP and omit operand-size suffix.
29294
0b254d8f
L
292952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29296
29297 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29298 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29299 * sysdeps/x86_64/x32/shlib-versions: New file.
29300
ceb809dc
RM
293012012-05-14 Roland McGrath <roland@hack.frob.com>
29302
29303 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29304 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29305 Use _dl_fatal_printf instead.
29306
37f1abd4
JM
293072012-05-14 Joseph Myers <joseph@codesourcery.com>
29308
29309 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29310 set if not set by the user. Do not allow for being unset.
29311 * sysdeps/unix/sysv/linux/configure: Regenerated.
29312
11de3a33
L
293132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29314
29315 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29316 the `q' suffix from lea and replace .quad with ASM_ADDR.
29317
e02f153a
L
293182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29319
29320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29321 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29322 instead of $17.
29323 (PTR_DEMANGLE): Likewise.
29324
520ae0fd
L
293252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29326
29327 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29328 (LP_OP): Likewise.
29329 (ASM_ADDR): Likewise.
29330 (RAX_LP): Likewise.
29331 (RBP_LP): Likewise.
29332 (RBX_LP): Likewise.
29333 (RCX_LP): Likewise.
29334 (RDI_LP): Likewise.
29335 (RSI_LP): Likewise.
29336 (RSP_LP): Likewise.
29337 (R8_LP): Likewise.
29338 (R9_LP): Likewise.
29339 (R10_LP): Likewise.
29340 (R10_LP): Likewise.
29341 (R11_LP): Likewise.
29342 (R12_LP): Likewise.
29343 (R13_LP): Likewise.
29344 (R14_LP): Likewise.
29345 (R15_LP): Likewise.
29346
b985be81
L
293472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29348
29349 * sysdeps/x86_64/x32/dl-machine.h: New file.
29350
6a4888ff
AJ
293512012-05-14 Andreas Jaeger <aj@suse.de>
29352
29353 * manual/Makefile (subdir): Remove export of subdir.
29354 (all): Remove target.
29355 (.PHONY): Remove all from list.
29356 (mkinstalldirs): Remove.
29357 (.PHONY): Remove installdirs from list.
29358 ($(inst_infodir)/libc.info): Use make-target-directory.
29359 (installdirs): Remove.
29360 (subdir_%): Remove.
29361 (glibc-targets): Remove.
29362 (lib): Remove.
29363 (stubs): Remove.
29364 ($(objpfx)stubs ../po/manual.pot): Remove.
29365 ($(objpfx)stamp%): Remove.
29366 (make-target-directory): Remove.
29367 (subdir_install): Remove.
29368 (routines): Remove.
29369 (aux): Remove.
29370 (sources): Remove.
29371 (objects): Remove.
29372 (headers): Remove.
29373
29374 [BZ #13750]
29375 * manual/.gitignore: Remove, it's not needed anymore.
29376 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29377 all files in it.
29378 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29379 directory.
29380 (texis): Renamed to $(objpfx)texis.
29381 (texis-path): New, contains path to generated files.
29382 (chapters.%): Use texis-path for complete path, add extra argument
29383 libc-texinfo.sh.
29384 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29385 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29386 (summary,texi, stamp-summary): Use complete path of
29387 files. Generate files in build dir.
29388 (dir-add.texi): Build in build dir.
29389 (libm-err.texi,stamp-libm-err): Likewise.
29390 (version.texi, stamp-version): Likewise.
29391 (.%c.texi): Likewise.
29392 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29393 (mostlyclean): Remove target.
29394 (realclean): Remove target.
29395 (generated): Add new variable with contents from mostlyclean and
29396 realclean, remove entries duplicated in common-mostlyclean, add
29397 stamp-libm-err and stamp-version.
29398 (generated-dirs): Add libc directory.
29399 ($(inst_infodir)/libc.info): Install files from build dir.
29400
29401 * manual/install.texi (Configuring and compiling): Adjust since
29402 the info files are not part of the tar ball anymore.
29403
7ac77294
AJ
294042012-05-14 Andreas Jaeger <aj@suse.de>
29405
29406 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29407 variable.
29408
ffb7875d
JM
294092012-05-14 Joseph Myers <joseph@codesourcery.com>
29410
29411 [BZ #13717]
29412 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29413 to 2.2.0 where earlier.
29414 * sysdeps/unix/sysv/linux/configure: Regenerated.
29415 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29416 Remove conditional code.
29417 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29418 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29419 Remove conditional code.
29420 [!__NR_lchown]: Likewise.
29421 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29422 [__NR_lchown]: Likewise.
29423 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29424 comment referencing __ASSUME_LCHOWN_SYSCALL.
29425 * sysdeps/unix/sysv/linux/i386/sigaction.c
29426 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29427 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29428 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29429 Remove conditional code.
29430 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29431 (__protocol_available): Remove #if 0 code.
29432 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29433 conditional code.
29434 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29435 * sysdeps/unix/sysv/linux/kernel-features.h
29436 (__ASSUME_GETCWD_SYSCALL): Don't define.
29437 (__ASSUME_REALTIME_SIGNALS): Likewise.
29438 (__ASSUME_PREAD_SYSCALL): Likewise.
29439 (__ASSUME_PWRITE_SYSCALL): Likewise.
29440 (__ASSUME_POLL_SYSCALL): Likewise.
29441 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29442 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29443 non-SPARC.
29444 (__ASSUME_SIOCGIFNAME): Don't define.
29445 (__ASSUME_MSG_NOSIGNAL): Likewise.
29446 (__ASSUME_SENDFILE): Define unconditionally.
29447 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29448 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29449 conditional code.
29450 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29451 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29452 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29453 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29454 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29455 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29456 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29458 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29461 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29462 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29464 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29467 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29468 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29470 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29473 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29476 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29479 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29481 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29482 Remove conditional code.
29483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29484 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29485 Remove conditional code.
29486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29487 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29488 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29489 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29490 Remove conditional code.
29491 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29492 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29493 Remove conditional code.
29494 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29495 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29496 Remove conditional code.
29497 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29498 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29499 Remove conditional code.
29500 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29501 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29502 Remove conditional code.
29503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29504 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29505 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29507 * sysdeps/unix/sysv/linux/sigaction.c
29508 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29509 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29510 * sysdeps/unix/sysv/linux/sigpending.c
29511 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29512 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29513 * sysdeps/unix/sysv/linux/sigprocmask.c
29514 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29515 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29516 * sysdeps/unix/sysv/linux/sigsuspend.c
29517 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29518 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29519 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29520 (__libc_missing_rt_sigs): Remove.
29521 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29522 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29523 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29524 Remove conditional code.
29525 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29526 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29527 return 1.
29528 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29529 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29530 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29531 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29532
1bfb7291
AJ
295332012-05-14 Andreas Jaeger <aj@suse.de>
29534
caae5a81
AJ
29535 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29536 it's not used in glibc.
29537 (__coshm1): Likewise.
29538 (__acosh1p): Likewise.
29539 (__sgn): Likewise.
29540
1bfb7291
AJ
29541 * manual/string.texi (Copying and Concatenation): Add missing
29542 variable in concat example.
29543 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29544
c044d724
L
295452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29546
144c5467 29547 [BZ #14103]
c044d724
L
29548 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29549 __builtin_clzl with __builtin_clzll.
29550
2523c62b
L
295512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29552
29553 [BZ #14104]
29554 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29555 libc_freeres_ptr.
29556
d7bb4c42
LD
295572012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29558
29559 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29560 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29561 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29562 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29563
9dc4e1fb
MF
295642012-05-14 Mike Frysinger <vapier@gentoo.org>
29565
29566 * NEWS: Update ia64 info.
29567
c7df0112
AS
295682012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29569
29570 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29571 used as bcopy.
29572
dc70356c
TS
295732012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29574
29575 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29576 * sysdeps/unix/syscalls.list (dup3): Likewise.
29577 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29578 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29579
9fb1a21f
L
295802012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29581
29582 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29583 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29584
4822a2a5
L
295852012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29586
29587 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29588 thread pointer.
29589 (TLS_IE): Use mov/add instead of movq/addq to load thread
29590 pointer.
29591 (TLS_GD_PREFIX): New.
29592 (TLS_GD): Use it.
29593
842b81d6
DM
295942012-05-11 David S. Miller <davem@davemloft.net>
29595
29596 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29597 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29598 (_FPU_SETCW): Likewise.
29599
1cf463cd
L
296002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29601
29602 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29603 is 32-byte aligned.
29604
60cc4a18
AS
296052012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29606
29607 [BZ #11837]
29608 * iconvdata/gb18030.c: Update tables.
29609 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29610 characters specially.
29611 (BODY for TO_LOOP): Add encoding of missing ranges.
29612
febb44a4
TS
296132012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29614
29615 [BZ #13673]
29616 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29617 * sysdeps/mach/hurd/dup3.c: Likewise.
29618 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29619 * sysdeps/powerpc/memmove.c:: Likewise.
29620
0a10fb9e
L
296212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29622
29623 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29624 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29625
df8a552f
L
296262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29627
29628 * elf/elf.h (R_X86_64_RELATIVE64): New.
29629 (R_X86_64_NUM): Updated.
29630 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29631 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29632 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29633 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29634 tst-quad1pie tst-quad2pie
29635 (modules-names): Add tst-quadmod1 tst-quadmod2.
29636 ($(objpfx)tst-quad1): New dependency.
29637 ($(objpfx)tst-quad2): Likewise.
29638 ($(objpfx)tst-quad1pie): Likewise.
29639 ($(objpfx)tst-quad2pie): Likewise.
29640 * sysdeps/x86_64/tst-quad1.c: New file.
29641 * sysdeps/x86_64/tst-quad1pie.c: New file.
29642 * sysdeps/x86_64/tst-quad2.c: Likewise.
29643 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29644 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29645 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29646 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29647 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29648
f34d6f84
ST
296492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29650
f42d41d1
ST
29651 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29652 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29653 * streams/stropts.h (t_scalar_t): Define type.
29654
3c3571fc
ST
29655 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29656 (_PATH_PRESERVE): Set to "/var/lib".
29657 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29658
61f06bd3
ST
29659 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29660 instead of int.
29661
918d4d71
ST
29662 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29663 if __dir_mkfile succeeded.
29664
f34d6f84
ST
29665 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29666 checking for _hurd_dtablesize. Unlock it right after having
29667 finished _hurd_dtable allocation.
29668
10589b4a
TS
296692012-05-10 Thomas Schwinge <thomas@schwinge.name>
29670
674cdbc7
TS
29671 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29672 * sysdeps/mach/hurd/configure: Regenerated.
29673 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29674 special-casing to...
29675 * sysdeps/gnu/configure.in: ... this new file.
29676 * sysdeps/unix/sysv/linux/configure: Regenerated.
29677 * sysdeps/gnu/configure: New generated file.
29678
8e41b99f
TS
29679 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29680 for Linux: use nsec instead of usec, as well as:
29681 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29682 members of type struct timespec.
29683 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29684 New macros.
29685 (struct stat64): Likewise.
29686 (_STATBUF_ST_NSEC): New macro.
29687 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29688
10589b4a
TS
29689 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29690 __strtoul_internal rather than strtoul.
29691
63643c85
PT
296922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29693
29694 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29695 and reject them.
29696
3faebe6a
ST
296972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29698
29699 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29700 which preserves existing values.
29701 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29702
c6474b07
PT
297032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29704
29705 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29706 TIMEOUT values. Return EINVAL for NFDS values either negative or
29707 greater than FD_SETSIZE.
29708
1043890b
ST
297092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29710
29711 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29712 allocated, call __vm_protect to finish enabling the existing space, and
29713 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29714 allocate the remainder.
29715
37ed8b9b
PT
297162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29717
29718 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29719 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29720
db653660
ST
297212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29722
37ed8b9b
PT
29723 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29724 sysdeps/mach/hurd/readlink.c.
b29d4053 29725
db653660
ST
29726 * posix/tst-sysconf.c (posix_options): Only use
29727 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29728 _POSIX_SYNCHRONIZED_IO when they are defined
29729 * sysdeps/mach/hurd/bits/posix_opt.h:
29730 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29731 (_XOPEN_REALTIME): Undefine macro.
29732 (_XOPEN_REALTIME_THREADS): Undefine macro.
29733 (_XOPEN_SHM): Undefine macro.
29734 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29735 macro to -1.
29736 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29737 macro to -1.
29738 (_POSIX_ASYNC_IO): Undefine macro.
29739 (_POSIX_PRIORITIZED_IO): Undefine macro.
29740 (_POSIX_SPIN_LOCKS): Define macro to -1.
29741
ee16e894
ST
29742 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29743 SA_NODEFER, SA_RESETHAND.
29744 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29745 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29746 F_DUPFD_CLOEXEC.
29747
6103ae3b
TS
297482012-05-10 Thomas Schwinge <thomas@schwinge.name>
29749
29750 * elf/Makefile (pldd-modules): Define unconditionally.
29751
80b4e5f3
TS
297522012-05-10 Thomas Schwinge <thomas@schwinge.name>
29753
29754 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29755
edadcbd6
ST
297562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29757
29758 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29759 Return ENOENT when name is empty.
29760 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29761
80694780
TS
297622012-05-10 Thomas Schwinge <thomas@schwinge.name>
29763
1792c087
TS
29764 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29765
80694780
TS
29766 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29767
6b645f0d
ST
297682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29769
80694780
TS
29770 Fix mlock in all cases except non-readable pages.
29771 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29772 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29773
6b645f0d
ST
29774 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29775 (__mkdir): When path is `/', just fail with EEXIST.
29776 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29777
e468f8a3
TS
297782012-05-10 Thomas Schwinge <thomas@schwinge.name>
29779
29780 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29781 <sys/uio.h> (for writev).
29782 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29783 and <sys/param.h> (for MIN).
29784
a4186cff
PT
297852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29786
29787 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29788 REQUESTED_TIME. Properly set the remaining time and return EINTR
29789 if interrupted.
29790
510bbf14
TS
297912012-05-10 Thomas Schwinge <thomas@schwinge.name>
29792
29793 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29794 Depend on against $(link-rpcuserlibs).
29795
5d5722e8
ST
297962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29797
a4186cff
PT
29798 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29799 (__libc_stack_end): Do not use attribute_relro.
29800 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29801 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29802 to libthread-provided value.
a4186cff
PT
29803 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29804 attribute_relro.
5d5722e8 29805
37233df9
TS
298062012-05-10 Thomas Schwinge <thomas@schwinge.name>
29807
be971a2b
TS
29808 [BZ #3748]
29809 * bits/libc-lock.h (__libc_once_get): New macro.
29810 * sysdeps/mach/bits/libc-lock.h: Likewise.
29811 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29812 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29813 instead of using implementation details.
29814
37233df9
TS
29815 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29816 * libio/freopen.c: Likewise.
29817 * libio/freopen64.c: Likewise.
29818 * misc/syslog.c: Likewise.
29819 * nscd/connections.c: Likewise.
29820 * nscd/netgroupcache.c: Likewise.
29821 * sysdeps/posix/getcwd.c: Likewise.
29822
38de94a5
RM
298232012-05-10 Roland McGrath <roland@hack.frob.com>
29824
29825 * math/w_ilogbf.c: Add #include <limits.h>.
29826
67530489
ST
298272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29828
a4186cff 29829 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29830 path instead of returning without unlocking.
29831
67530489
ST
29832 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29833 immediate-write ioctls.
29834 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29835
5aa3a74a
TS
298362012-05-10 Thomas Schwinge <thomas@schwinge.name>
29837
18bad2ae
TS
29838 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29839 __builtin_frame_address instead of making assumptions about the
29840 location of the return address relative to DATA. Force early load of
29841 the return address.
29842 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29843 __builtin_frame_address.
29844
5aa3a74a
TS
29845 dup3 for GNU Hurd.
29846 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29847 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29848 implement dup3 and do some further code clean-ups.
29849 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29850 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29851
ecd0de9a
ST
298522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29853
cd9fa985
ST
29854 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29855
a4186cff
PT
29856 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29857 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29858 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29859 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29860 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29861 d->port.lock.
802ca5a5 29862
a4186cff
PT
29863 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29864 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29865 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29866
bcf55240
TS
298672012-05-10 Thomas Schwinge <thomas@schwinge.name>
29868
6960eb42
TS
29869 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29870 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29871 definitions.
29872
eb43375f
TS
29873 accept4 for GNU Hurd.
29874 * include/sys/socket.h (__libc_accept4): New prototype.
29875 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29876 to implement __libc_accept4.
29877 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29878 __libc_accept4.
29879 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29880
bcf55240
TS
29881 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29882 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29883 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29884 signal-defines.sym.
29885
6178c55b
ST
298862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29887
a4186cff 29888 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29889
6f080c2f
TS
298902012-05-10 Thomas Schwinge <thomas@schwinge.name>
29891
29892 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29893 assertion on O_CLOEXEC flag.
29894 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29895 * hurd/intern-fd.c: Likewise.
29896 * hurd/port2fd.c: Likewise.
29897
bcfe3a54
ST
298982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29899
29900 [BZ #3906]
29901 * bits/in.h (IPV6_PKTINFO): Define new macro.
29902 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29903
89c9aa49
AZ
299042012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29905
29906 [BZ #13954]
29907 [BZ #13955]
29908 [BZ #13956]
29909 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29910 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29911 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29912 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29913 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29914 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29915 * math/libm-test.inc (logb_test) : Additional logb tests.
29916
021db4be
AJ
299172012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29918 Andreas Jaeger <aj@suse.de>
29919
29920 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29921 * configure: Regenerated.
29922 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29923 * config.make.in (link-obsolete-rpc): New substituted variable.
29924 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29925 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29926 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29927 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29928 so that libc.a contains the symbols.
29929 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29930 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29931 * sunrpc/auth_none.c: Likewise.
29932 * sunrpc/auth_unix.c: Likewise.
29933 * sunrpc/authdes_prot.c: Likewise.
29934 * sunrpc/authuxprot.c: Likewise.
29935 * sunrpc/clnt_gen.c: Likewise.
29936 * sunrpc/clnt_perr.c: Likewise.
29937 * sunrpc/clnt_raw.c: Likewise.
29938 * sunrpc/clnt_simp.c: Likewise.
29939 * sunrpc/clnt_tcp.c: Likewise.
29940 * sunrpc/clnt_udp.c: Likewise.
29941 * sunrpc/clnt_unix.c: Likewise.
29942 * sunrpc/des_crypt.c: Likewise.
29943 * sunrpc/des_soft.c: Likewise.
29944 * sunrpc/get_myaddr.c: Likewise.
29945 * sunrpc/key_call.c: Likewise.
29946 * sunrpc/key_prot.c: Likewise.
29947 * sunrpc/netname.c: Likewise.
29948 * sunrpc/pm_getmaps.c: Likewise.
29949 * sunrpc/pm_getport.c: Likewise.
29950 * sunrpc/pmap_clnt.c: Likewise.
29951 * sunrpc/pmap_prot.c: Likewise.
29952 * sunrpc/pmap_prot2.c: Likewise.
29953 * sunrpc/pmap_rmt.c: Likewise.
29954 * sunrpc/publickey.c: Likewise.
29955 * sunrpc/rpc_cmsg.c: Likewise.
29956 * sunrpc/rpc_common.c: Likewise.
29957 * sunrpc/rpc_dtable.c: Likewise.
29958 * sunrpc/rpc_prot.c: Likewise.
29959 * sunrpc/rpc_thread.c: Likewise.
29960 * sunrpc/rtime.c: Likewise.
29961 * sunrpc/svc.c: Likewise.
29962 * sunrpc/svc_auth.c: Likewise.
29963 * sunrpc/svc_raw.c: Likewise.
29964 * sunrpc/svc_run.c: Likewise.
29965 * sunrpc/svc_tcp.c: Likewise.
29966 * sunrpc/svc_udp.c: Likewise.
29967 * sunrpc/svc_unix.c: Likewise.
29968 * sunrpc/svcauth_des.c: Likewise.
29969 * sunrpc/xcrypt.c: Likewise.
29970 * sunrpc/xdr.c: Likewise.
29971 * sunrpc/xdr_array.c: Likewise.
29972 * sunrpc/xdr_float.c: Likewise.
29973 * sunrpc/xdr_intXX_t.c: Likewise.
29974 * sunrpc/xdr_mem.c: Likewise.
29975 * sunrpc/xdr_rec.c: Likewise.
29976 * sunrpc/xdr_ref.c: Likewise.
29977 * sunrpc/xdr_sizeof.c: Likewise.
29978 * sunrpc/xdr_stdio.c: Likewise.
29979
b5c086a2
RM
299802012-05-10 Roland McGrath <roland@hack.frob.com>
29981
29982 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29983 change. Update copyright years.
29984
6d74dd09
JM
299852012-05-10 Joseph Myers <joseph@codesourcery.com>
29986
29987 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29988
28e72501
MK
299892012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29990 Joseph Myers <joseph@codesourcery.com>
29991 Paul Pluzhnikov <ppluzhnikov@google.com>
29992
29993 [BZ #14012]
29994 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29995 requiring rpcgen.
29996 [cross-compiling] (extra-libs): Likewise.
29997 [cross-compiling] (extra-libs-others): Likewise.
29998 [cross-compiling] (librpcsvc-routines): Likewise.
29999 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30000 [cross-compiling] (omit-deps): Likewise.
30001 (sunrpc-CPPFLAGS): New variable.
30002 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30003 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30004 (cross-rpcgen-objs): New variable.
30005 (extra-objs): Append $(cross-rpcgen-objs).
30006 ($(cross-rpcgen-objs)): New rule.
30007 ($(objpfx)cross-rpcgen): Likewise.
30008 (rpcgen-cmd): Define to use $(built-program-file). Expand
30009 comment.
30010 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30011 ($(objpfx)x%.stmp): Likewise.
30012 * sunrpc/proto.h [IS_IN_build] (_): Define.
30013 [IS_IN_build] (_libc_intl_domainname): Likewise.
30014
c8c59454
L
300152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30016
30017 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30018 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30019 and R_X86_64_TPOFF64.
30020
6f27cd16
JM
300212012-05-10 Joseph Myers <joseph@codesourcery.com>
30022
30023 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30024 sysdeps/unix/sysv/syscalls.list.
30025 (stime): Likewise.
30026 (utime): Likewise.
30027 * sysdeps/unix/sysv/syscalls.list: Remove file.
30028
02467e1c
PE
300292012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30030
30031 [BZ #3440]
30032 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30033 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30034 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30035 (__LC_IDENTIFICATION): Make these macros useful in #if
30036 expressions, as required by C99.
30037
da392631
AS
300382012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30039
30040 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30041 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30042 after this.
30043
8115f29b
L
300442012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30045
30046 * stdlib/longlong.h: Updated from GCC.
30047
bdd74070
AJ
300482012-05-09 Andreas Jaeger <aj@suse.de>
30049
edfe0dbe
AJ
30050 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30051 default is first entry.
30052 (run_mode): Set type.
30053 (main): Remove informal message about syslog.
30054 (options): Fix typo.
30055
bcfe3a54
ST
30056 [BZ #14053]
30057 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 30058 to asm.
bcfe3a54
ST
30059 (lrint): Likewise.
30060 (llrintf): Likewise.
30061 (llrint): Likewise.
30062 (rint): Likewise.
30063 (rintf): Likewise.
30064 (nearbyint): Likewise.
30065 (nearbyintf): Likewise.
bdd74070 30066
91d8d69e
AJ
300672012-05-09 Andreas Jaeger <aj@suse.de>
30068 Pedro Alves <palves@redhat.com>
30069
30070 * nscd/nscd.c (run_mode): Use enum.
30071 (main): Cleanup coding style issue.
30072
bb90b80b
AJ
300732012-05-09 Alexandre Oliva <aoliva@redhat.com>
30074 Andreas Jaeger <aj@suse.de>
30075
bcfe3a54
ST
30076 * nscd/nscd.c (go_background): Replaced with...
30077 (run_mode): ... this.
bb90b80b 30078 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
30079 (options): Add -F --foreground.
30080 (main): Implement it.
30081 (parse_opt): Parse it.
bb90b80b 30082
1a4b75a1
AJ
300832012-05-09 Andreas Jaeger <aj@suse.de>
30084
30085 [BZ #14083]
30086 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30087 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30088 -Wconversion warning.
30089 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30090 Likewise.
30091
b1cc2472
JM
300922012-05-09 Joseph Myers <joseph@codesourcery.com>
30093
30094 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30095 == 0.
30096 (LC_ALL): Use macro-int-constant.
30097 (LC_COLLATE): Likewise.
30098 (LC_CTYPE): Likewise.
30099 (LC_MESSAGES): Likewise.
30100 (LC_MONETARY): Likewise.
30101 (LC_NUMERIC): Likewise.
30102 (LC_TIME): Likewise.
30103 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30104 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30105 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30106 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30107 Specify type.
30108 [C99-based standards] (float_t): Expect type.
30109 [C99-based standards] (double_t): Expect type.
30110 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30111 type.
30112 [C99-based standards] (HUGE_VALL): Likewise.
30113 [C99-based standards] (INFINITY): Likewise.
30114 [C99-based standards] (NAN): Likewise.
30115 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30116 [C99-based standards] (FP_NAN): Likewise.
30117 [C99-based standards] (FP_NORMAL): Likewise.
30118 [C99-based standards] (FP_SUBNORMAL): Likewise.
30119 [C99-based standards] (FP_ZERO): Likewise.
30120 [C99-based standards] (FP_FAST_FMA): Use
30121 optional-macro-int-constant. Specify type. Require == 1.
30122 [C99-based standards] (FP_FAST_FMAF): Likewise.
30123 [C99-based standards] (FP_FAST_FMAL): Likewise.
30124 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30125 [C99-based standards] (FP_ILOGBNAN): Likewise.
30126 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30127 Specify type.
30128 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30129 [C99-based standards] (math_errhandling): Specify type.
30130 [ISO99 || ISO11] (signgam): Do not allow.
30131 [non-C99-based standards] (copysignf): Do not allow.
30132 [non-C99-based standards] (exp2f): Likewise.
30133 [non-C99-based standards] (log2f): Likewise.
30134 [non-C99-based standards] (modff): Allow.
30135 [non-C99-based standards] (erff): Do not allow.
30136 [non-C99-based standards] (erfcf): Likewise.
30137 [non-C99-based standards] (gammaf): Likewise.
30138 [non-C99-based standards] (hypotf): Likewise.
30139 [non-C99-based standards] (j0f): Likewise.
30140 [non-C99-based standards] (j1f): Likewise.
30141 [non-C99-based standards] (jnf): Likewise.
30142 [non-C99-based standards] (lgammaf): Likewise.
30143 [non-C99-based standards] (tgammaf): Likewise.
30144 [non-C99-based standards] (y0f): Likewise.
30145 [non-C99-based standards] (y1f): Likewise.
30146 [non-C99-based standards] (ynf): Likewise.
30147 [non-C99-based standards] (isnanf): Likewise.
30148 [non-C99-based standards] (acoshf): Likewise.
30149 [non-C99-based standards] (asinhf): Likewise.
30150 [non-C99-based standards] (atanhf): Likewise.
30151 [non-C99-based standards] (cbrtf): Likewise.
30152 [non-C99-based standards] (expm1f): Likewise.
30153 [non-C99-based standards] (ilogbf): Likewise.
30154 [non-C99-based standards] (log1pf): Likewise.
30155 [non-C99-based standards] (logbf): Likewise.
30156 [non-C99-based standards] (nextafterf): Likewise.
30157 [non-C99-based standards] (remainderf): Likewise.
30158 [non-C99-based standards] (rintf): Likewise.
30159 [non-C99-based standards] (scalbf): Likewise.
30160 [non-C99-based standards] (copysignl): Likewise.
30161 [non-C99-based standards] (exp2l): Likewise.
30162 [non-C99-based standards] (log2l): Likewise.
30163 [non-C99-based standards] (modfl): Allow.
30164 [non-C99-based standards] (erfl): Do not allow.
30165 [non-C99-based standards] (erfcl): Likewise.
30166 [non-C99-based standards] (gammal): Likewise.
30167 [non-C99-based standards] (hypotl): Likewise.
30168 [non-C99-based standards] (j0l): Likewise.
30169 [non-C99-based standards] (j1l): Likewise.
30170 [non-C99-based standards] (jnl): Likewise.
30171 [non-C99-based standards] (lgammal): Likewise.
30172 [non-C99-based standards] (tgammal): Likewise.
30173 [non-C99-based standards] (y0l): Likewise.
30174 [non-C99-based standards] (y1l): Likewise.
30175 [non-C99-based standards] (ynl): Likewise.
30176 [non-C99-based standards] (isnanl): Likewise.
30177 [non-C99-based standards] (acoshl): Likewise.
30178 [non-C99-based standards] (asinhl): Likewise.
30179 [non-C99-based standards] (atanhl): Likewise.
30180 [non-C99-based standards] (cbrtl): Likewise.
30181 [non-C99-based standards] (expm1l): Likewise.
30182 [non-C99-based standards] (ilogbl): Likewise.
30183 [non-C99-based standards] (log1pl): Likewise.
30184 [non-C99-based standards] (logbl): Likewise.
30185 [non-C99-based standards] (nextafterl): Likewise.
30186 [non-C99-based standards] (remainderl): Likewise.
30187 [non-C99-based standards] (rintl): Likewise.
30188 [non-C99-based standards] (scalbl): Likewise.
30189 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30190 [non-C99-based standards] (FP_*): Do not allow.
30191 [C99-based standards] (FP_*): Change to
30192 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30193 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30194 allow.
30195 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30196 (SIG_ERR): Likewise.
30197 [X/Open-based standards] (SIG_HOLD): Likewise.
30198 (SIG_IGN): Likewise.
30199 (SIGABRT): Use macro-int-constant. Specify type. Require
30200 positive value.
30201 (SIGFPE): Likewise.
30202 (SIGILL): Likewise.
30203 (SIGINT): Likewise.
30204 (SIGSEGV): Likewise.
30205 (SIGTER): Likewise.
30206 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30207 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30208 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30209 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30210 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30211 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30212 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30213 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30214 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30215 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30216 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30217 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30218 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30219 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30220 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30221 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30222 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30223 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30224 [X/Open-based standards] (SIGTRAP): Likewise.
30225 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30226 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30227 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30228 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30229 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30230 allow.
30231
b9f1922d
IW
302322012-05-08 Ian Wienand <ianw@vmware.com>
30233
30234 [BZ #14080]
30235 * time/tzset.c (__tzset_parse_tz): Update default rules for
30236 daylight time changes in the Energy Policy Act of 2005.
30237
1db86e88
AJ
302382012-05-09 Andreas Jaeger <aj@suse.de>
30239
30240 [BZ #13983]
30241 * elf/ldconfig.c (parse_conf): Change string to make clear that
30242 ldconfig only issued a warning if ld.so.conf does not exist.
30243
dee4a4e3
DM
302442012-05-08 David S. Miller <davem@davemloft.net>
30245
ee0db190
DM
30246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30247 movxtod instead of popping the value on the stack.
30248
dee4a4e3
DM
30249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30250
6a43ec98
CD
302512012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30252
30253 * config.h.in: Add HAVE_ARM_PCS_VFP.
30254
05c2c961
RMG
302552012-05-08 Roland Mc Grath <roland@hack.frob.com>
30256
bcfe3a54
ST
30257 [BZ #13979]
30258 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30259 checking but the checks are disabled for any reason.
05c2c961 30260
4b30f61a
L
302612012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30262
30263 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30264 and ELF64_R_TYPE with ELFW(R_TYPE).
30265
eee2bc67
JM
302662012-05-08 Joseph Myers <joseph@codesourcery.com>
30267
7ea5391a
JM
30268 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30269 (ulimit): Likewise.
30270
eee2bc67
JM
30271 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30272 (settimeofday): Likewise.
30273
abb66a67
MF
302742012-05-08 Mike Frysinger <vapier@gentoo.org>
30275
30276 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30277 a struct th_u2 inside the union, and move tu_block/tu_code into
30278 a new th_u3 union of tu_block/tu_code inside of that. Move
30279 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30280 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30281 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30282 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30283 (th_stuff): Change to th_u1.tu_stuff.
30284 (th_data): Define.
30285 (th_msg): Change to th_u1.th_u2.tu_data.
30286
7f18b530
DM
302872012-05-07 David S. Miller <davem@davemloft.net>
30288
05760585
DM
30289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30290
7f18b530
DM
30291 [BZ #14074]
30292 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30293 (SETUP_PIC_REG): Use it.
30294 (SETUP_PIC_REG_LEAF): Use it.
30295
495fd99f
JM
302962012-05-07 Joseph Myers <joseph@codesourcery.com>
30297
30298 [BZ #13885]
30299 [BZ #13923]
30300 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30301 USE_AS_EXPM1L.
30302 (EXPL_FINITE): Likewise.
30303 (FLDLOG): Likewise.
30304 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30305 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30306 e_expl.S.
30307 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30308 USE_AS_EXPM1L.
30309 (EXPL_FINITE): Likewise.
30310 (FLDLOG): Likewise.
30311 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30312 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30313 e_expl.S.
30314 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30315 test of -max_value argument for long double.
30316 * sysdeps/i386/fpu/libm-test-ulps: Update.
30317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30318
6693d694
DM
303192012-05-06 David S. Miller <davem@davemloft.net>
30320
30321 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30322 quad soft-float symbols whose references which are compiler
30323 generated.
30324 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30325
6c23e11c
JM
303262012-05-06 Joseph Myers <joseph@codesourcery.com>
30327
d8b82cad
JM
30328 [BZ #13884]
30329 [BZ #13914]
30330 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30331 USE_AS_EXP10L.
30332 (EXPL_FINITE): Likewise.
30333 (FLDLOG): Likewise.
30334 (c0): Likewise.
30335 (c1): Likewise.
30336 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30337 Adjust comments for base varying.
30338 (__expl_finite): Change alias to EXPL_FINITE.
30339 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30340 e_expl.S.
30341 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30342 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30343 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30344 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30345 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30346 USE_AS_EXP10L.
30347 (EXPL_FINITE): Likewise.
30348 (FLDLOG): Likewise.
30349 (c0): Likewise.
30350 (c1): Likewise.
30351 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30352 Adjust comments for base varying.
30353 (__expl_finite): Change alias to EXPL_FINITE.
30354 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30355 tests for bugs.
30356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30357
6c23e11c
JM
30358 [BZ #14064]
30359 * math/libm-test.inc (check_float_internal): Correct ulp
30360 calculation for subnormal expected results.
30361
29ba805c
AJ
303622012-05-06 Andreas Jaeger <aj@suse.de>
30363
30364 * Makeconfig (+math-flags): New, set to -frounding-math.
30365 (+cflags): Add +math-flags so that all of glibc gets compiled with
30366 it.
30367
30368 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30369
7b17aeda
JM
303702012-05-05 Joseph Myers <joseph@codesourcery.com>
30371
5779f134
JM
30372 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30373 Disable one test.
30374
41498f4d
JM
30375 [BZ #13787]
30376 [BZ #13922]
30377 [BZ #14036]
30378 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30379 (__ieee754_expl): Allow for and saturate large arguments.
30380 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30381 (u_threshold): Likewise.
30382 (__exp): Call __ieee754_exp before checking for overflow and
30383 underflow.
30384 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30385 (u_threshold): Likewise.
30386 (__expf): Call __ieee754_expf before checking for overflow and
30387 underflow.
30388 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30389 (u_threshold): Likewise.
30390 (__expl): Call __ieee754_expl before checking for overflow and
30391 underflow.
30392 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30393 (__ieee754_expl): Allow for and saturate large arguments.
30394 * math/libm-test.inc (exp_test): Add another test. Do not allow
30395 missing overflow exception on overflow.
30396 (expm1_test): Do not allow missing overflow exception on overflow.
30397
6698b8bf
JM
30398 * sysdeps/i386/fpu/e_expl.c: Move to ...
30399 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30400 rather than using inline asm.
30401 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30402 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30403 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30404
7b17aeda
JM
30405 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30406 (nice): Likewise.
30407 (poll): Likewise.
30408 (signal): Likewise.
30409 (time): Likewise.
30410 (times): Likewise.
30411
f7c85819
JM
304122012-05-04 Joseph Myers <joseph@codesourcery.com>
30413
30414 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30415 sysdeps/unix/common/syscalls.list.
30416 (fchmod): Likewise.
30417 (fchown): Likewise.
30418 (ftruncate): Likewise.
30419 (getrusage): Likewise.
30420 (gettimeofday): Likewise.
30421 (setpgid): Likewise.
30422 (setregid): Likewise.
30423 (setreuid): Likewise.
30424 (sigaction): Likewise.
30425 (truncate): Likewise.
30426 (vhangup): Likewise.
30427 * sysdeps/unix/common/syscalls.list: Remove file.
30428 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30429 * sysdeps/unix/sysv/linux/Implies: Likewise.
30430
336270d0
L
304312012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30432
30433 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30435 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30436 Moved to ...
30437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30438 Here.
30439 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30440 to ...
30441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30442 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30443 to ...
30444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30445 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30446 to ...
30447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30448 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30449 to ...
30450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30451 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30452 to ...
30453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30454 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30455 to ...
30456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30457 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30458 to ...
30459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30460 Here.
30461 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30462 to ...
30463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30464 Here.
30465 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30466 to ...
30467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30468 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30469 Moved to ...
30470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30471 Here.
30472 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30473 to ...
30474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30475
d128e450
JM
304762012-05-04 Joseph Myers <joseph@codesourcery.com>
30477
fa8ee516
JM
30478 * sysdeps/unix/common/bits/dirent.h: Remove file.
30479 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30480
d128e450
JM
30481 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30482 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30483 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30484 * sysdeps/unix/bsd/isatty.c: Likewise.
30485 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30486 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30487 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30488
ff8faaf0 304892012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30490
62881be4 30491 [BZ #13563]
31dc8730
AZ
30492 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30493 long double comparison inaccuracies.
30494 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30496
6fef930c
AS
304972012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30498
30499 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30500 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30501
8f203e6c
JM
305022012-05-04 Joseph Myers <joseph@codesourcery.com>
30503
30504 [BZ #14049]
30505 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30506 nonzero digits before rounding a hex value.
30507 * stdlib/tst-strtod.c (tests): Add another test.
30508
5197d9c2
AK
305092012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30510
30511 * sysdeps/s390/fpu/libm-test-ulps: Update.
30512
f0c1dedf
AJ
305132012-05-03 Andreas Jaeger <aj@suse.de>
30514
30515 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30516 does not get optimized out.
30517 (malloc_opt_barrier): New.
30518
a65ef2ae 305192012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30520 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30521
2b942cb7 30522 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30523 intermediate file deletion.
2b942cb7 30524 (generated): Add .symlist files.
a65ef2ae 30525
54b71e02
JM
305262012-05-03 Joseph Myers <joseph@codesourcery.com>
30527
30528 [BZ #13775]
30529 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30530 Redirect under this condition.
30531 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30532 [__USE_GNU] (__dprintf_chk): Not under this condition.
30533 [__USE_GNU] (__vdprintf_chk): Likewise.
30534 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30535 under this condition.
30536 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30537 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30538 [__USE_XOPEN2K8] (vdprintf): Likewise.
30539 [__USE_GNU] (__dprintf_chk): Not under this condition.
30540 [__USE_GNU] (__vdprintf_chk): Likewise.
30541 [__USE_GNU] (dprintf): Likewise.
30542 [__USE_GNU] (vdprintf): Likewise.
30543
d3dfcc41
RM
305442012-05-03 Roland McGrath <roland@hack.frob.com>
30545
30546 * elf/Makefile (common-generated): Set this instead of generated for
30547 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30548 $(all-built-dso)-derived lists.
30549
7ac30cc5
AJ
305502012-05-03 Andreas Jaeger <aj@suse.de>
30551
0c51e550
AJ
30552 * sysdeps/i386/fpu/libm-test-ulps: Update.
30553
7ac30cc5
AJ
30554 * FAQ: Removed.
30555 * FAQ.in: Likewise.
30556 * scripts/gen-FAQ.pl: Likewise.
30557 * manual/install.texi (Installation): Point to online location of
30558 FAQ.
30559 * Makefile (files-for-dist): Remove FAQ.
30560 (FAQ): Remove.
30561
d4c2917f
AM
305622012-05-02 Allan McRae <allan@archlinux.org>
30563
30564 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30565 (LDFLAGS-reldepmod5.so): Likewise.
30566 (LDFLAGS-reldep6mod1.so): Likewise.
30567 (LDFLAGS-reldep6mod4.so): Likewise.
30568 (LDFLAGS-reldep8mod3.so): Likewise.
30569 (LDFLAGS-unload4mod1.so): Likewise.
30570 (LDFLAGS-unload4mod2.so): Likewise.
30571 (LDFLAGS-tst-initorder): Likewise.
30572 (LDFLAGS-tst-initordera2.so): Likewise.
30573 (LDFLAGS-tst-initordera3.so): Likewise.
30574 (LDFLAGS-tst-initordera4.so): Likewise.
30575 (LDFLAGS-tst-initorderb2.so): Likewise.
30576 (LDFLAGS-noload): Likewise.
30577 (LDFLAGS-next): Likewise.
30578 (LDFLAGS-order2mod1.so): Likewise.
30579 (LDFLAGS-order2mod2.so): Likewise.
30580 (LDFLAGS-tst-initorder2): Likewise.
30581 (LDFLAGS-tst-initorder2a.so): Likewise.
30582 (LDFLAGS-tst-initorder2b.so): Likewise.
30583 (LDFLAGS-tst-initorder2c.so): Likewise.
30584 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30585
d77f993f
DM
305862012-05-02 David S. Miller <davem@davemloft.net>
30587
30588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30589
171a70b4
PP
305902012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30591
30592 [BZ #14055]
30593 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30594
0be196ad
AJ
305952012-05-02 Andreas Jaeger <aj@suse.de>
30596
30597 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30598 since we manipulate rounding mode.
30599 (CPPFLAGS-test-idouble.c): Likewise.
30600 (CPPFLAGS-test-ifloat.c): Likewise.
30601 (CFLAGS-test-ldouble.c): Likewise.
30602 (CFLAGS-test-double.c): Likewise.
30603 (CFLAGS-test-float.c): Likewise.
30604 (CFLAGS-test-misc.c): Likewise.
30605 (CFLAGS-test-test-fenv.c): Likewise.
30606
4f9d04aa
AZ
306072012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30608
2b942cb7
RM
30609 [BZ #2550]
30610 [BZ #2570]
30611 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30612 comparisons to determine direction to adjust input.
4f9d04aa 30613
82a79e7d
RM
306142012-05-01 Roland McGrath <roland@hack.frob.com>
30615
f5a01ca9
RM
30616 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30617 output to the target.
30618
90fe4186
RM
30619 * scripts/localplt.awk: New file.
30620 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30621 (check-localplt-CFLAGS): Variable removed.
30622 ($(all-built-dso:=.jmprel)): New static pattern rule.
30623 (generated): Add those targets.
30624 (localplt-built-dso): New variable.
30625 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30626
30627 * elf/check-localplt.c: File removed.
30628
82397ed6
RM
30629 * scripts/check-execstack.awk: New file.
30630 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30631 (check-execstack-CFLAGS): Variable removed.
30632 ($(objpfx)check-execstack.h): Target removed.
30633 ($(objpfx)execstack-default): New target.
30634 (generated): Add that instead of check-execstack.h.
30635 ($(all-built-dso:=.phdr)): New static pattern rule.
30636 (generated): Add those targets.
30637 * elf/check-execstack.c: File removed.
30638
82a79e7d
RM
30639 * scripts/check-textrel.awk: New file.
30640 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30641 (check-textrel-CFLAGS): Variable removed.
30642 (all-built-dso): Use := to define.o
30643 ($(all-built-dso:=.dyn)): New static pattern rule.
30644 (generated): Add those targets.
30645 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30646 * config.make.in (READELF): New substituted variable.
30647 * elf/check-textrel.c: File removed.
30648
62fde54f 306492012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30650
615605c9
JM
30651 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30652 allow.
30653 * conform/data/ctype.h-data [C99-based standards] (isblank):
30654 Expect function.
30655 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30656 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30657 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30658 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30659 Specify type. Require positive value.
30660 (EILSEQ): Likewise.
30661 (ERANGE): Likewise.
30662 [ISO || POSIX] (EILSEQ): Do not expect.
30663 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30664 Specify type. Require positive value.
30665 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30666 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30667 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30668 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30669 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30670 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30671 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30672 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30673 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30674 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30675 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30676 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30677 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30678 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30679 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30680 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30681 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30682 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30683 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30684 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30685 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30686 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30687 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30688 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30689 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30690 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30691 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30692 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30693 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30694 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30695 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30696 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30697 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30698 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30699 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30700 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30701 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30702 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30703 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30704 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30705 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30706 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30707 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30708 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30709 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30710 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30711 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30712 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30713 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30714 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30715 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30716 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30717 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30718 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30719 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30720 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30721 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30722 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30723 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30724 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30725 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30726 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30727 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30728 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30729 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30730 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30731 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30732 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30733 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30734 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30735 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30736 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30737 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30738 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30739 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30740 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30741 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30742 Require >= 2.
30743 (FLT_ROUNDS): Expect as macro, not constant.
30744 (FLT_MANT_DIG): Use macro-int-constant.
30745 (DBL_MANT_DIG): Likewise.
30746 (LDBL_MANT_DIG): Likewise.
30747 (FLT_DIG): Likewise.
30748 (DBL_DIG): Likewise.
30749 (LDBL_DIG): Likewise.
30750 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30751 (DBL_MIN_EXP): Likewise.
30752 (LDBL_MIN_EXP): Likewise.
30753 (FLT_MAX_EXP): Use macro-int-constant.
30754 (DBL_MAX_EXP): Likewise.
30755 (LDBL_MAX_EXP): Likewise.
30756 (FLT_MAX_10_EXP): Likewise.
30757 (DBL_MAX_10_EXP): Likewise.
30758 (LDBL_MAX_10_EXP): Likewise.
30759 (FLT_MAX): Use macro-constant.
30760 (DBL_MAX): Likewise.
30761 (LDBL_MAX): Likewise.
30762 (FLT_EPSILON): Use macro-constant. Give upper bound.
30763 (DBL_EPSILON): Likewise.
30764 (LDBL_EPSILON): Likewise.
30765 (FLT_MIN): Likewise.
30766 (DBL_MIN): Likewise.
30767 (LDBL_MIN): Likewise.
30768 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30769 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30770 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30771 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30772 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30773 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30774 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30775 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30776 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30777 [ISO11] (FLT_TRUE_MIN): Likewise.
30778 [ISO11] (LDBL_TRUE_MIN): Likewise.
30779 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30780 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30781 (SCHAR_MIN): Use macro-int-constant. Specify type.
30782 (SCHAR_MAX): Likewise.
30783 (UCHAR_MAX): Likewise.
30784 (CHAR_MIN): Likewise.
30785 (CHAR_MAX): Likewise.
30786 (MB_LEN_MAX): Use macro-int-constant.
30787 (SHRT_MIN): Use macro-int-constant. Specify type.
30788 (SHRT_MAX): Likewise.
30789 (USHRT_MAX): Likewise.
30790 (INT_MAX): Likewise.
30791 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30792 bound negative.
30793 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30794 bound with "U".
30795 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30796 bound with "L".
30797 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30798 bound negative. Suffix upper bound with "L".
30799 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30800 bound with "UL".
30801 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30802 Specify type.
30803 [C99-based standards] (LLONG_MAX): Likewise.
30804 [C99-based standards] (ULLONG_MAX): Likewise.
30805 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30806 == 0.
30807 [ISO11] (max_align_t): Require type.
30808 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30809
c9140a62
JM
30810 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30811 from $CFLAGS, without defining away __attribute__ calls.
30812 (checknamespace): Use $CFLAGS_namespace.
30813
9af0bf29
JM
30814 * conform/conformtest.pl (@keywords): Only include C99 keywords
30815 for standards based on C99 or C11.
30816
343222a2
JM
30817 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30818 Disable tests.
30819 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30820 UNIX98]: Likewise.
30821
661f8cf0
JM
30822 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30823 usability of symbols in #if.
30824
ee74b9cb
JM
30825 * conform/conformtest.pl: If macro or constant types start
30826 "promoted:", expect the symbol to be of the following type
30827 promoted by the integer promotions.
62fde54f 30828
aafc49b3
JM
30829 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30830 in one place. Also handle "macro-constant".
30831
fefdf574
JM
30832 * conform/conformtest.pl: Only accept expected macro values with
30833 "==". Parse all "macro" lines in one place.
30834 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30835
f2d922fe
JM
30836 * conform/conformtest.pl: Handle braced types on "constant" lines
30837 instead of handling "typed-constant".
30838 * conform/data/signal.h-data: Use "constant" instead of
30839 "typed-constant".
30840
d22956c9
JM
30841 * conform/conformtest.pl: Handle "optional-" at start of lines in
30842 one place rather than duplicating several cases. Handle each
30843 format of "macro" line with initial "optional-".
30844
028e2e38
JM
30845 * conform/conformtest.pl: Only accept expected constant or
30846 optional-constant values with "==". Parse all "constant" lines in
30847 one place. Parse all "optional-constant" lines in one place.
30848 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30849 * conform/data/fmtmsg.h-data: Likewise.
30850 * conform/data/netinet/in.h-data: Likewise.
30851 * conform/data/tar.h-data: Likewise.
30852 * conform/data/limits.h-data: Use "==" form on "constant" and
30853 "optional-constant" lines.
30854
1b8f2850
JM
30855 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30856 Use -std=c99 for XOPEN2K.
30857 (@knownproblems): Remove.
30858 (newtoken): Don't check %isknown.
30859
a05a144b
JM
30860 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30861 Do not expect macro.
30862 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30863 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30864 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30865 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30866 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30867 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30868 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30869 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30874 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30875 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30881 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30882 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30892 [XPG3] (acosh): Likewise.
30893 [XPG3] (asinh): Likewise.
30894 [XPG3] (atanh): Likewise.
30895 [XPG3] (cbrt): Likewise.
30896 [XPG3] (expm1): Likewise.
30897 [XPG3] (ilogb): Likewise.
30898 [XPG3] (log1p): Likewise.
30899 [XPG3] (logb): Likewise.
30900 [XPG3] (nextafter): Likewise.
30901 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30902 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30903 [XPG3] (remainder): Likewise.
30904 [XPG3] (rint): Likewise.
30905 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30906 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30907 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30910 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30911 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30912 [UNIX98 || XOPEN2K] (scalb): Expect.
30913 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30914 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30919 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30920 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30921 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30942 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30943 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30947 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30948 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30955 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30956 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30957 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30958 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30959 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30960 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30961 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30962 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30963 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30964 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30965 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30966 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30967 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30968 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30969 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30970 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30971 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30972 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30973 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30976 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30977 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30978 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30979 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30980 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30981 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30982 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30983 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30984 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30985 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30986 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30987 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30988 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30989 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30990 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30991 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30992 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30993 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30994 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30995 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30996 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30997 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30998 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30999 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31000 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31001 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31002 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31003 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31004 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31005 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31006 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31007 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31008 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31009 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31010 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31011 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31012 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31013 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31014 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31016 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31017 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31020 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31021 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31022 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31034 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31035 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31036 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31037 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31038 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31039 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31040 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31041 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31042 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31044 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31045 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31046 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31047 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31049 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31050
73c5ebe3
JM
31051 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31052 _XOPEN_SOURCE_EXTENDED for XPG4.
31053
39c33b6c
JM
31054 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31055
62fde54f
JM
31056 * Makeconfig (localtime): Remove variable.
31057 (inst_localtime-file): Likewise.
31058
0741d64c
AS
310592012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31060
31061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31062 Update.
31063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31064 Update.
31065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31066 Update.
31067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31068 Update.
31069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31070 Update.
31071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31072 Update.
31073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31074 Update.
31075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31076 Update.
31077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31078 Update.
31079
7cb029ee
JM
310802012-05-01 Joseph Myers <joseph@codesourcery.com>
31081
31082 [BZ #2550]
31083 [BZ #2570]
31084 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31085 comparisons to determine direction to adjust input.
31086 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31087 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31088 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31089 Likewise.
31090 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31091 Likewise.
31092 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31093 Likewise.
31094 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31095 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31096 Likewise.
31097 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31098 Likewise.
31099 * math/libm-test.inc (nexttoward_test): Add more tests.
31100
412bd966
AS
311012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31102
31103 [BZ #14040]
31104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31105 in version GLIBC_2.1, not GLIBC_2.0.
31106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31107 Likewise.
31108
9568c0c2
JM
311092012-04-30 Joseph Myers <joseph@codesourcery.com>
31110
adfbc8ac
JM
31111 [BZ #13942]
31112 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31113 (1 - x) * (1 + x).
31114 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31115 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31116 * math/libm-test.inc (acos_test): Add more tests.
31117 (asin_test): Likewise.
31118 * sysdeps/i386/fpu/libm-test-ulps: Update.
31119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31120
5ba3cc69
JM
31121 [BZ #14034]
31122 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31123 of square root.
31124 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31125 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31126 * math/libm-test.inc (acos_test_tonearest): New function.
31127 (acos_test_towardzero): Likewise.
31128 (acos_test_downward): Likewise.
31129 (acos_test_upward): Likewise.
31130 (asin_test_tonearest): Likewise.
31131 (asin_test_towardzero): Likewise.
31132 (asin_test_downward): Likewise.
31133 (asin_test_upward): Likewise.
31134 (main): Call the new functions.
31135 * sysdeps/i386/fpu/libm-test-ulps: Update.
31136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31137
9568c0c2
JM
31138 [BZ #13884]
31139 [BZ #13924]
31140 * math/e_exp10.c: Include <float.h>.
31141 (__ieee754_exp10): Handle underflow here rather than multiplying
31142 large negative argument by M_LN10.
31143 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31144 of __ieee754_expf.
31145 * math/e_exp10l.c: Include <float.h>.
31146 (__ieee754_exp10l): Handle underflow here rather than multiplying
31147 large negative argument by M_LN10l.
31148 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31149 spurious overflow exception on underflow.
31150
5ac3ea17
MP
311512012-04-29 Marek Polacek <polacek@redhat.com>
31152
31153 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31154 (__fortify_function): New macro.
31155 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31156 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31157 __extern_always_inline.
31158 * libio/bits/stdio2.h: Likewise.
31159 * libio/bits/stdio.h: Likewise.
31160 * string/string.h: Likewise.
31161 * string/bits/string3.h: Likewise.
31162 * include/stdio.h: Likewise.
31163 * stdlib/bits/stdlib.h: Likewise.
31164 * stdlib/stdlib.h: Likewise.
31165 * rt/bits/mqueue2.h: Likewise.
31166 * rt/mqueue.h: Likewise.
31167 * posix/bits/unistd.h: Likewise.
31168 * posix/unistd.h: Likewise.
31169 * io/bits/poll2.h: Likewise.
31170 * io/bits/fcntl2.h: Likewise.
31171 * io/fcntl.h: Likewise.
31172 * io/sys/poll.h: Likewise.
31173 * misc/bits/syslog.h: Likewise.
31174 * misc/bits/syslog-ldbl.h: Likewise.
31175 * misc/sys/syslog.h: Likewise.
31176 * socket/bits/socket2.h: Likewise.
31177 * socket/sys/socket.h: Likewise.
31178 * debug/tst-chk1.c: Likewise.
31179 * wcsmbs/bits/wchar2.h: Likewise.
31180 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31181 * wcsmbs/wchar.h: Likewise.
31182
ecf0ebfb
AJ
311832012-04-29 Andreas Jaeger <aj@suse.de>
31184
31185 * Makerules (tests): Remove enable-check-abi protection.
31186 (check-abi-warn): Remove.
31187 (check-abi-%): Remove check-abi-warn usage.
31188
31189 * configure.in: Remove check-abi configure option.
31190 * configure: Regenerated.
31191 * config.make.in (enable-check-abi): Remove.
31192
6d5c57fa
AS
311932012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31194
24c5d07e 31195 [BZ #14033]
ded5180a
AS
31196 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31197 double functions to double *_finite functions.
31198
7e0d315d
AS
31199 [BZ #13941]
31200 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31201 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31202 LDBL_MIN_EXP.
31203 * stdio-common/Makefile (tests): Add tst-sprintf3.
31204 * stdio-common/tst-sprintf3.c: New file.
31205
6d5c57fa
AS
31206 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31207 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31208
0749ff8b
JM
312092012-04-28 Joseph Myers <joseph@codesourcery.com>
31210
31211 * conform/conformtest.pl: Remove duplicate typed-constant
31212 handling.
31213
8dbd5d7b
DM
312142012-04-28 David S. Miller <davem@davemloft.net>
31215
31216 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31217 (check-abi-%): Remove AWK script prerequisite and explicit
31218 abilist directory.
31219 (check-abi): Rewrite to just diff the symlist with the abilist.
31220 (config-tls, config-abi-config): Delete, no longer used.
31221 (update-abi-%): Remove AWK script and explicit abilist directory.
31222 (update-abi): Rewrite to simply compare and conditionally copy the
31223 symlist and the sysdep abilist file. Remove update-abi-config
31224 checks.
31225 * abilist/ld.abilist: Remove.
31226 * abilist/libBrokenLocale.abilist: Remove.
31227 * abilist/libanl.abilist: Remove.
31228 * abilist/libcrypt.abilist: Remove.
31229 * abilist/libdl.abilist: Remove.
31230 * abilist/librt.abilist: Remove.
31231 * abilist/libthread_db.abilist: Remove.
31232 * abilist/libutil.abilist: Remove.
31233 * scripts/extract-abilist.awk: Remove.
31234 * scripts/merge-abilist.awk: Remove.
31235 * sysdeps/generic/libcidn.abilist: New file.
31236 * sysdeps/generic/libnss_compat.abilist: New file.
31237 * sysdeps/generic/libnss_db.abilist: New file.
31238 * sysdeps/generic/libnss_dns.abilist: New file.
31239 * sysdeps/generic/libnss_files.abilist: New file.
31240 * sysdeps/generic/libnss_hesiod.abilist: New file.
31241 * sysdeps/generic/libnss_nis.abilist: New file.
31242 * sysdeps/generic/libnss_nisplus.abilist: New file.
31243 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31244 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31245 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31246 file.
31247 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31248 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31249 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31250 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31251 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31252 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31253 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31254 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31255 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31256 file.
31257 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31258 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31259 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31260 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31261 file.
31262 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31263 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31264 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31265 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31266 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31267 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31268 file.
31269 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31270 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31271 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31272 file.
31273 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31275 New file.
31276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31277 New file.
31278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31279 New file.
31280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31281 New file.
31282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31283 New file.
31284 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31285 New file.
31286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31287 New file.
31288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31289 New file.
31290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31291 New file.
31292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31293 New file.
31294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31295 New file.
31296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31297 New file.
31298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31299 New file.
31300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31301 file.
31302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31303 New file.
31304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31305 New file.
31306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31307 file.
31308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31309 New file.
31310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31311 New file.
31312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31313 file.
31314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31315 New file.
31316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31317 New file.
31318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31319 New file.
31320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31321 New file.
31322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31323 New file.
31324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31325 New file.
31326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31328 file.
31329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31330 New file.
31331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31332 file.
31333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31334 file.
31335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31336 file.
31337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31338 file.
31339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31340 file.
31341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31342 New file.
31343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31344 file.
31345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31346 file.
31347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31348 New file.
31349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31350 file.
31351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31353 file.
31354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31355 New file.
31356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31357 file.
31358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31359 file.
31360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31361 file.
31362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31363 file.
31364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31365 file.
31366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31367 New file.
31368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31369 file.
31370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31371 file.
31372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31373 New file.
31374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31375 file.
31376 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31377 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31378 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31379 file.
31380 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31381 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31382 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31383 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31384 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31385 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31386 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31387 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31388 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31389 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31392 file.
31393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31394 New file.
31395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31396 file.
31397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31398 file.
31399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31400 file.
31401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31402 file.
31403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31404 file.
31405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31406 New file.
31407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31408 New file.
31409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31410 file.
31411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31412 New file.
31413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31414 file.
31415 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31417 file.
31418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31419 New file.
31420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31421 file.
31422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31423 file.
31424 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31425 file.
31426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31427 file.
31428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31429 file.
31430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31431 New file.
31432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31433 New file.
31434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31435 file.
31436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31437 New file.
31438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31439 file.
31440
41d73a1b
JM
314412012-04-28 Joseph Myers <joseph@codesourcery.com>
31442
31443 * conform/conformtest.pl: Fix typo in handling typed-constant from
31444 allow-header.
31445
28aeeda4
JM
314462012-04-27 Joseph Myers <joseph@codesourcery.com>
31447
adae8f5e
JM
31448 * README: Cut down references to pre-2.6 Linux kernels and
31449 Linuxthreads. Update lists of configurations in libc and ports
31450 and sort alphabetically. Say "or newer" with Linux kernel version
31451 requirements.
31452
28aeeda4
JM
31453 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31454
a462cb63
RA
314552012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31456
31457 [BZ #887]
31458 * math/libm-test.inc (logb_test_downward): New test to expose
31459 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31460 rounding mode.
31461
6ad3493e
JM
314622012-04-27 Joseph Myers <joseph@codesourcery.com>
31463
31464 [BZ #14027]
31465 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31466 to be done.
31467 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31468 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31469
2ce4f015
JM
314702012-04-26 Joseph Myers <joseph@codesourcery.com>
31471
5aeb141a
JM
31472 * sysdeps/unix/i386/brk.S: Remove file.
31473 * sysdeps/unix/i386/dl-brk.S: Likewise.
31474 * sysdeps/unix/i386/pipe.S: Likewise.
31475 * sysdeps/unix/i386/sigreturn.S: Likewise.
31476 * sysdeps/unix/i386/syscall.S: Likewise.
31477 * sysdeps/unix/i386/vfork.S: Likewise.
31478 * sysdeps/unix/i386/wait.S: Likewise.
31479
7143acae
JM
31480 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31481 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31482
2ce4f015
JM
31483 * configure.in (arm*-none*): Do not allow without
31484 --enable-hacker-mode.
31485 (netbsd*): Remove case setting base_os.
31486 (386bsd*): Likewise.
31487 (freebsd*): Likewise.
31488 (bsdi*): Likewise.
31489 (osf*): Likewise.
31490 (sunos*): Likewise.
31491 (ultrix*): Likewise.
31492 (newsos*): Likewise.
31493 (dynix*): Likewise.
31494 (*bsd*): Likewise.
31495 (sysv*): Likewise.
31496 (isc*): Likewise.
31497 (esix*): Likewise.
31498 (sco*): Likewise.
31499 (minix*): Likewise.
31500 (irix4*): Likewise.
31501 (irix6*): Likewise.
31502 (solaris[2-9]*): Likewise.
31503 (none): Likewise.
31504 * configure: Regenerated.
31505
0ac229c8
AZ
315062012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31507
31508 [BZ #11521]
31509 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31510 overflow or cancellation in calculating denominator.
31511 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31512 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31513 down expression to avoid unexpected rounding in newer GCCs.
31514 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31515
33f244f4
DM
315162012-04-26 David S. Miller <davem@davemloft.net>
31517
31518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31519 long-double compat symbols.
31520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31533
cfa1f3e8
DM
315342012-04-25 David S. Miller <davem@davemloft.net>
31535
31536 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31537 HWCAP_* values only after the memory barriers have been defined.
31538 (atomic_full_barrier): Define.
31539 (atomic_read_barrier): Define.
31540 (atomic_write_barrier): Define.
31541
6e236b92
SP
315422012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31543
31544 * shlib-versions: Add libgcc_s version information.
31545 * sysdeps/generic/libgcc_s.h: Remove.
31546 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31547 libgcc_s.h.
31548 * sysdeps/gnu/unwind-resume.c: Likewise.
31549 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31550
aab39a09
DM
315512012-04-25 David S. Miller <davem@davemloft.net>
31552
31553 * sysdeps/unix/sparc/brk.S: Delete.
31554 * sysdeps/unix/sparc/dl-brk.S: Delete.
31555 * sysdeps/unix/sparc/pipe.S: Delete.
31556 * sysdeps/unix/sparc/sysdep.S: Delete.
31557 * sysdeps/unix/sparc/sysdep.h: Delete.
31558 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
31559 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31560 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31561 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31562 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
31563 (JUMPTARGET): Remove.
31564 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31565 sysdeps/unix/sparc/sysdep.h
31566 (ENTRY, END): Remove.
31567 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31568
a3cc4f48
JM
315692012-04-25 Joseph Myers <joseph@codesourcery.com>
31570
2ed8cda2
JM
31571 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31572 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31573 -DIS_IN_build.
31574
35d76d59
JM
31575 * timezone/README: Update upstream location and email address for
31576 tzcode and tzdata.
31577 * timezone/zdump.c: Update from tzcode 2012b.
31578 * timezone/zic.c: Likewise.
31579
a3cc4f48
JM
31580 * configure.in (libc_cv_as_needed): Remove test.
31581 * configure: Regenerated.
31582 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31583 conditional definition.
31584 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31585 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31586 * config.make.in (have-as-needed): Remove variable.
31587
ceab42c3
SP
315882012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31589 Paul Pluzhnikov <ppluzhnikov@google.com>
31590
31591 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31592 strings correctly.
31593
3ce2865f
CLT
315942012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31595
31596 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31597 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31598 * sysdeps/sh/strlen.S: Likewise.
31599
f37e0d68
JM
316002012-04-24 Joseph Myers <joseph@codesourcery.com>
31601
ae186e9a
JM
31602 * sysdeps/unix/fork.S: Remove file.
31603 * sysdeps/unix/i386/fork.S: Likewise.
31604 * sysdeps/unix/sparc/fork.S: Likewise.
31605
b96914af
JM
31606 * sysdeps/unix/system.c: Remove file.
31607 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31608
f37e0d68
JM
31609 * sysdeps/unix/getegid.S: Remove file.
31610 * sysdeps/unix/geteuid.S: Likewise.
31611
87ef29ca
RM
316122012-04-24 Roland McGrath <roland@hack.frob.com>
31613
83bcd236
RM
31614 * scripts/check-localplt.awk: New file.
31615 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31616 of diff.
31617 * scripts/data/localplt-generic.data: Add a comment.
31618
87ef29ca
RM
31619 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31620 NODE when __dir_mkfile failed.
31621 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31622 Reported by Ludovic Courtès <ludo@gnu.org>.
31623
e5a6e567
AJ
316242012-04-24 Andreas Jaeger <aj@suse.de>
31625
31626 * Makerules (common-clean): Also remove gen-as-const-headers
31627 files.
31628
c1820385
JM
316292012-04-24 Joseph Myers <joseph@codesourcery.com>
31630
31631 * Makerules (native-compile): Do not change working directory for
31632 build. Use $(OUTPUT_OPTION) in command.
31633 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31634
94e02fc4
AZ
316352012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31636
31637 [BZ #13886]
31638 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31639 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31640 * math/libm-test.inc (floor_test): Add more tests.
31641 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31642
3a533ca3
JM
316432012-04-24 Joseph Myers <joseph@codesourcery.com>
31644
940ab4b3
JM
31645 * sysdeps/unix/getdents.c: Remove file.
31646 * sysdeps/unix/sysv/getdents.c: Likewise.
31647 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31648
90e037bd
JM
31649 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31650 sysdeps/unix/mman/syscalls.list.
31651 (mmap): Likewise.
31652 (mprotect): Likewise.
31653 (msync): Likewise.
31654 (munmap): Likewise.
31655 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31656 * sysdeps/unix/mman/syscalls.list: Remove.
31657 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31658
3a533ca3
JM
31659 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31660 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31661 * configure: Regenerated.
31662 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31663 $(libgcc_s_suffix).
31664 * config.make.in (libgcc_s_suffix): Remove variable.
31665
1ad743de
JM
316662012-04-23 Joseph Myers <joseph@codesourcery.com>
31667
4ad451e2
JM
31668 * sysdeps/unix/sysv/gethostname.c: Move to ...
31669 * sysdeps/posix/gethostname.c: ... here.
31670
5e37ce39
JM
31671 * sysdeps/unix/execve.S: Remove file.
31672
1ad743de
JM
31673 * sysdeps/unix/_exit.S: Remove file.
31674
4e681b5b
AJ
316752012-04-23 Andreas Jaeger <aj@suse.de>
31676
31677 [BZ #13739]
31678 * manual/Makefile: Remove make dist support, there's no
31679 need for a stand-alone documentation tar ball.
31680 (TEXI2DVI): Define always, it's not in Makeconfig.
31681 (dist): Removed.
31682 (tar-it): Removed.
31683 (edition): Removed.
31684 (glibc-doc-$(edition).tar): Removed
31685 (%.Z): Removed.
31686 (%.gz): Removed.
31687 (%.uu): Removed.
31688 (ETAGS): Remove, it's in Makeconfig.
31689 (move-if-change): Remove, it's in Makeconfig.
31690
38686a03 316912012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31692
31693 [BZ #13970]
31694 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31695 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31696 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31697 (strtod_l, strtof_l, strtold_l): Remove __wur.
31698 It is not necessarily an error to ignore strtol's return value.
31699 One can reliably look at the stored endptr to decide whether
31700 the number had valid syntax.
31701
7c0616fa
AJ
317022012-04-21 Andreas Jaeger <aj@suse.de>
31703
803cb6b7 31704 [BZ #13739]
7c0616fa
AJ
31705 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31706
b0fe253f
JM
317072012-04-21 Joseph Myers <joseph@codesourcery.com>
31708
31709 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31710 * sysdeps/unix/sysv/Versions: Remove file.
31711
8280f22d
MT
317122012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31713
31714 [BZ #13927]
31715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31716
75ce411f 317172012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31718
31719 [BZ #7064]
31720 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31721 version from __vm86.
31722
097d59fa
JM
317232012-04-20 Joseph Myers <joseph@codesourcery.com>
31724
a90f3bcb
JM
31725 * sysdeps/unix/common/lxstat.c: Remove file.
31726 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31727
edc7ea78
JM
31728 * sysdeps/unix/sysv/Makefile: Remove file.
31729
cb78c221
JM
31730 * sysdeps/unix/sysv/direct.h: Remove file.
31731
efa6a45f
JM
31732 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31733 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31734 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31735 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31736 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31737 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31738 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31739
9c9f2d0c
JM
31740 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31741
4541c83b
JM
31742 * sysdeps/unix/xmknod.c: Remove file.
31743 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31744
f5d153a0
JM
31745 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31746
aa746595
JM
31747 * sysdeps/unix/sysv/i386/time.S: Remove file.
31748
cce5905e
JM
31749 * sysdeps/unix/fxstat.c: Remove file.
31750 * sysdeps/unix/xstat.c: Likewise.
31751 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31752
37fa3841
JM
31753 * sysdeps/unix/sysv/sigaction.c: Remove file.
31754
ff1962a3
JM
31755 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31756 (sysdep_headers): Remove variable.
31757 [termio.h not in sysdep_headers] (generated): Likewise.
31758 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31759 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31760 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31761 * sysdeps/unix/sysv/tcflow.c: Likewise.
31762 * sysdeps/unix/sysv/tcflush.c: Likewise.
31763 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31764 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31765 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31766 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31767 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31768
e7740d31
JM
31769 * sysdeps/unix/siglist.c: Remove file.
31770
ee06f18b
JM
31771 * sysdeps/unix/getppid.S: Remove file.
31772
097d59fa
JM
31773 * sysdeps/unix/mkdir.c: Remove file.
31774 * sysdeps/unix/rmdir.c: Likewise.
31775
ff3d51ec
AS
317762012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31777
31778 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31779 ERR_MAX value.
31780 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31781 errlist-compat value.
31782
50f81fd7
DM
317832012-04-18 David S. Miller <davem@davemloft.net>
31784
31785 * sysdeps/generic/memcopy.h (reg_char): Delete.
31786 * debug/strcat_chk.c: Use char, not reg_char.
31787 * debug/strcpy_chk.c: Likewise.
31788 * debug/strncat_chk.c: Likewise.
31789 * debug/strncpy_chk.c: Likewise.
31790 * string/memchr.c: Likewise.
31791 * string/memrchr.c: Likewise.
31792 * string/rawmemchr.c: Likewise.
31793 * string/strcat.c: Likewise.
31794 * string/strchr.c: Likewise.
31795 * string/strchrnul.c: Likewise.
31796 * string/strcmp.c: Likewise.
31797 * string/strcpy.c: Likewise.
31798 * string/strncat.c: Likewise.
31799 * string/strncmp.c: Likewise.
31800 * string/strncpy.c: Likewise.
31801
8ff41c46
WS
318022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31803
31804 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31805 __builtin_memcopy is called when src and dest ranges are known to not
31806 overlap.
31807
6b652f46
WS
318082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31809
31810 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31811 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31812 fwd_align_merge macro call.
31813 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31814 bwd_align_merge macro call.
31815 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31816
b282631e
WS
318172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31818
31819 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31820 bwd_align_merge macros.
31821 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31822 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31823 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31824
95aa737c
DM
318252012-04-18 David S. Miller <davem@davemloft.net>
31826
31827 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31828
7a99a614
AJ
318292012-04-18 Andreas Jaeger <aj@suse.de>
31830
31831 [BZ# 6794]
31832 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31833 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31834 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31835
31836 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31837 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31838 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31839
31840 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31841 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31842 Adjust for changed ldbl-128 files.
31843
31844 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31845 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31846 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31847
e5270c23
DM
318482012-04-17 David S. Miller <davem@davemloft.net>
31849
31850 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31851
fb5e92c9
AS
318522012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31853
31854 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31855 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31856 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31857 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31858 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31859 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31860
76da7265
AZ
318612012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31862
31863 [BZ #6794]
31864 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31865 * math/libm-test.inc: Add ilogb errno and exception tests.
31866 * math/w_ilogb.c: New file: ilogb wrapper.
31867 * math/w_ilogbf.c: New file: ilogbf wrapper.
31868 * math/w_ilogbl.c: New file: ilogbl wrapper.
31869 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31870 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31871 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31872 exception being thrown with 0.0 as argument.
31873 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31874 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31875 exception being thrown with 0.0 as argument.
31876 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31877 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31878 exception being thrown with 0.0 as argument.
31879 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31880 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31881 exception being thrown with 0.0 as argument.
31882 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31883 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31884 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31885 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31886 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31887 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31888 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31889 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31890 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31891
0396e69d
PB
318922012-04-17 Petr Baudis <pasky@ucw.cz>
31893
31894 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31895 with altivec.
31896
750b5926
MP
318972012-04-16 Marek Polacek <polacek@redhat.com>
31898
31899 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31900
751728a1
MP
319012012-04-16 Marek Polacek <polacek@redhat.com>
31902
31903 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31904 operands of fdivp instruction.
31905
34a27407
L
319062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31907
31908 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31909 * elf/tst-auditmod3b.c: Likewise.
31910 * elf/tst-auditmod4b.c: Likewise.
31911 * elf/tst-auditmod5b.c: Likewise.
31912 * elf/tst-auditmod6b.c: Likewise.
31913 * elf/tst-auditmod6c.c: Likewise.
31914 * elf/tst-auditmod7b.c: Likewise.
31915 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31916 * sysdeps/x86_64/preconfigure.in: Likewise.
31917 * sysdeps/x86_64/preconfigure: Regenerated.
31918
7e73e17d
L
319192012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31920
31921 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31922 __ILP32__.
31923
c7a6ab72
AB
319242012-04-13 Antoine Balestrat <merkil33@gmail.com>
31925
31926 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31927 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31928
a9e8e0e0
CL
319292012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31930
31931 [BZ #13973]
31932 * locale/iso-639.def: Fix gl language name. Spotted by
31933 Yaron Shahrabani.
31934
ec98af7d
RM
319352012-04-12 Roland McGrath <roland@hack.frob.com>
31936
31937 [BZ #2074]
31938 * libio/libio.h (__io_write_fn): Update comment.
31939
247c3ede
PB
319402012-04-12 Petr Baudis <pasky@ucw.cz>
31941
31942 [BZ #2074]
31943 * stdio.texi (Hook Functions): The user provided writer function
31944 is not allowed to return -1.
31945
55939d6d
DM
319462012-04-11 David S. Miller <davem@davemloft.net>
31947
31948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31949
90020f5a
MF
319502012-04-11 Mike Frysinger <vapier@gentoo.org>
31951
31952 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31953 Add a leading slash to rtkaio.
31954
288f9098
JM
319552012-04-11 Jim Meyering <meyering@redhat.com>
31956
90020f5a
MF
31957 [BZ #11959]
31958 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31959 It is not necessarily an error to ignore fwrite's return
31960 value. One can reliably use ferror to test for errors after
31961 the fact.
288f9098 31962
4be2b570
L
319632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31964
31965 * bits/types.h (__snseconds_t): New type.
31966 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31967
31968 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31969 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31970 (__SNSECONDS_T_TYPE): Likewise.
31971 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31972 (__SNSECONDS_T_TYPE): Likewise.
31973 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31974 (__SNSECONDS_T_TYPE): Likewise.
31975
288f9098 319762012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31977
31978 [BZ #2636]
31979 * manual/time.texi (Processor Time): Return type of times is
31980 elapsed real time since an arbitrary point in the past.
31981 (CPU Time): Move CLK_TCK from here...
31982 (Processor Time): ...to here. Correct description.
31983 * manual/conf.texi (Constants for Sysconf): Correct description of
31984 _SC_CLK_TCK.
31985
d7dd4413
DM
319862012-04-10 David S. Miller <davem@davemloft.net>
31987
31988 [BZ #13967]
31989 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31990 where the is a gap between DT_REL(A) and DT_JMPREL.
31991
b46068fc
L
319922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31993
31994 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31995 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31996 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31997
73d65cc3
SP
319982012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31999
32000 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32001 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32002 (dl_main): Handle --inhibit-cache.
32003 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32004 _dl_inhibit_cache.
32005 * elf/dl-load.c (_dl_map_object): Use it.
32006 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32007
bcc8d661
JM
320082012-04-09 Joseph Myers <joseph@codesourcery.com>
32009
8f9a2fae
JM
32010 [BZ #13872]
32011 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32012 (__ieee754_powl): Saturate large exponents rather than testing for
32013 overflow of y*log2(x).
32014 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32015 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32016 exceptions.
32017
bcc8d661
JM
32018 [BZ #11521]
32019 * math/s_ctan.c: Include <float.h>.
32020 (__ctan): Avoid internal overflow or cancellation in calculating
32021 denominator.
32022 * math/s_ctanf.c: Likewise.
32023 * math/s_ctanl.c: Likewise.
32024 * math/s_ctanh.c: Likewise.
32025 * math/s_ctanhf.c: Likewise.
32026 * math/s_ctanhl.c: Likewise.
32027 * math/libm-test.inc (ctan_test): Add more tests.
32028 (ctanh_test): Likewise.
32029 * sysdeps/i386/fpu/libm-test-ulps: Update.
32030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32031
823fbbb4
AJ
320322012-04-09 Andreas Jaeger <aj@suse.de>
32033
03879793
AJ
32034 [BZ #6894]
32035 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32036 is an optional BSD extension.
32037
823fbbb4
AJ
32038 [BZ #10254]
32039 * manual/stdio.texi (Opening Streams): Document additional fopen
32040 parameters.
32041
8de131cb
RM
320422012-04-09 Roland McGrath <roland@hack.frob.com>
32043
32044 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32045 %eax without telling the compiler.
32046
c0ed9d7d
CD
320472012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32048
32049 [BZ # 13963]
32050 * manual/install.texi: Use sourceware.org.
32051
c483f6b4
JM
320522012-04-09 Joseph Myers <joseph@codesourcery.com>
32053
d7dd9453
JM
32054 [BZ #13873]
32055 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32056 (__ieee754_pow): Generate overflow and underflow using huge*huge
32057 and tiny*tiny rather than just returning constant infinity or zero
32058 for large exponents.
32059 * math/libm-test.inc (pow_test): Require overflow exceptions for
32060 applicable cases of large exponents.
32061
c483f6b4
JM
32062 [BZ #706]
32063 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32064 (__ieee754_pow): Use iterative multiplication algorithm only for
32065 integer exponents with absolute value below 1024. Check for odd
32066 integer exponents when using algorithm for real exponents.
32067 * math/libm-test.inc (pow_test): Add more tests.
32068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32069
d2de7579
JM
320702012-04-08 Joseph Myers <joseph@codesourcery.com>
32071
32072 [BZ #13705]
32073 * math/libm-test.inc (exp_test): Do not allow overflow exception
32074 on underflow test.
32075
f77f1232
AJ
320762012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32077
32078 [BZ #13705]
32079 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32080 instead of __kernel_standard_f.
32081
3884932b
MF
320822012-04-08 Mike Frysinger <vapier@gentoo.org>
32083
32084 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32085 * sysdeps/x86_64/memset_chk.S: Likewise.
32086
54472e9c
AJ
320872012-04-08 Andreas Jaeger <aj@suse.de>
32088
6ab0fbfc
AJ
32089 [BZ #10153]
32090 * manual/startup.texi (Environment Access): Describe return value
32091 for putenv and setenv.
32092
61efba8c
AJ
32093 [BZ #6895]
32094 * manual/filesys.texi (Directory Entries): Add description for
32095 DT_LNK.
32096
95c3f29a
AJ
32097 [BZ #6890]
32098 * manual/filesys.texi (Directory Entries): Clarify that it's file
32099 system not operating system in the description of DT_UNKNOWN.
32100
54472e9c
AJ
32101 [BZ #6578]
32102 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32103
624254b1
SC
321042012-04-08 Stephen Compall <s11@member.fsf.org>
32105
32106 [BZ #6649]
32107 * manual/llio.texi (Opening and Closing Files): Add cross
32108 reference to explain mode argument.
32109
1e4920e0
MF
321102012-04-07 Mike Frysinger <vapier@gentoo.org>
32111
32112 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32113 * sysdeps/x86_64/memset_chk.S: Likewise.
32114
5ed848f3
DM
321152012-04-07 David S. Miller <davem@davemloft.net>
32116
32117 * elf/elf.h (R_SPARC_WDISP10): Define.
32118 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32119 R_SPARC_SIZE32.
32120 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32121 R_SPARC_SIZE64 and R_SPARC_H34.
32122
96154cd8
CD
321232012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32124
32125 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32126 conditions and remove no longer applicable assertion.
32127
9904dc47
L
321282012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32129
32130 * bits/byteswap.h: Include <features.h>.
32131 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32132 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32133
f8887d0a
L
321342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32135
32136 * bits/byteswap.h (__bswap_16): Removed.
32137 Include <bits/byteswap-16.h> to get __bswap_16.
32138 * sysdeps/i386/bits/byteswap.h: Likewise.
32139 * sysdeps/s390/bits/byteswap.h: Likewise.
32140 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32141 * bits/byteswap-16.h: New file.
32142 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32143 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32144 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32145 * string/Makefile (headers): Add bits/byteswap-16.h.
32146
62470f60
PP
321472012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32148
32149 [BZ #13895]
32150 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32151 extra indirection.
32152 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32153 * nss/tst-nss-static.c: New.
32154
4dad7bab
RM
321552012-04-06 Robert Millan <rmh@gnu.org>
32156
32157 [BZ #6486]
32158 * manual/llio.texi (File Position Primitive): lseek
32159 refers to WHENCE when it really means OFFSET.
32160
e9142a17
AJ
321612012-04-06 Andreas Jaeger <aj@suse.de>
32162
2c040eff
AJ
32163 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32164 strncmp declarations.
32165
e9142a17
AJ
32166 * abilist/libc.abilist: Add __poll and __ppoll.
32167
ff9f1c5f
DM
321682012-04-05 David S. Miller <davem@davemloft.net>
32169
dcd2ae90
DM
32170 * scripts/check-local-headers.sh: Accept a host triplet in the
32171 path matched by the exclude regexp.
32172
993eb054
DM
32173 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32174 definition.
32175 * sysdeps/powerpc/powerpc32/dl-machine.h
32176 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32177 * sysdeps/s390/s390-32/dl-machine.h
32178 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32179 * sysdeps/sparc/sparc32/dl-machine.h
32180 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32181 * sysdeps/sparc/sparc64/dl-machine.h
32182 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32183
ff9f1c5f
DM
32184 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32185 lazy binding.
48e2e132 32186 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32187 undefined symbol errors.
32188
48e2e132 32189 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32190 DT_NEEDED entries.
32191
e80d6f94
MM
321922012-04-05 Michael Matz <matz@suse.de>
32193
32194 [BZ #13592]
32195 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32196
349fa79f
AJ
321972012-04-05 Andreas Jaeger <aj@suse.de>
32198
32199 [BZ #13908]
32200 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32201 comment.
32202
f402708f
KK
322032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32204
32205 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32206 which ROUND is no valid rounding mode.
32207
2ecccfc9
KK
322082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32209
32210 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32211 read again.
32212 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32213
8a53f50f
KK
322142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32215
32216 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32217 an exception using FPU order intentionally.
32218
322192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32220
32221 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32222 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32223 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32224 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32225
d653abb7
SJ
322262012-04-05 Simon Josefsson <simon@josefsson.org>
32227
32228 [BZ #12340]
32229 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32230 EINVAL when BUFLEN is too smal.
32231
c3b1bf7d
TS
322322012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32233
32234 [BZ #13553]
32235 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32236 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32237
b1aa60f3
AJ
322382012-04-03 Andreas Jaeger <aj@suse.de>
32239
c3b1bf7d 32240 [BZ #13938]
67f60a26
AJ
32241 * manual/setjmp.texi (System V contexts): Fix sentence.
32242
b1aa60f3
AJ
32243 [BZ #13926]
32244 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32245 New macro for this case.
32246 [!__GNUC__] (__bswap_64): New inline function for this case.
32247 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32248 * bits/byteswap.h: Likewise.
32249 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32250 ull, guard with __GLIBC_HAVE_LONG_LONG.
32251
32252 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32253 __GLIBC_HAVE_LONG_LONG.
32254
32255 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32256 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32257
39c59c35
TMQMF
322582012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32259
32260 [BZ #13691]
32261 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32262 inptr and inend, rather than using last_ch.
32263
135ffda8
DM
322642012-04-02 David S. Miller <davem@davemloft.net>
32265
32266 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32267 * stdio-common/printf-parse.h (read_int): Change return type to
32268 'int', return -1 on INT_MAX overflow.
32269 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32270 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32271 overflows INT_MAX. Check for overflow of in-format-string precision
32272 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32273 SIZE_MAX not INT_MAX for integer overflow test.
32274 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32275 skip the construct in the format string but do not record anything.
32276 * stdio-common/bug22.c: Adjust to test both width/prevision
32277 INT_MAX overflow as well as total length INT_MAX overflow. Check
32278 explicitly for proper errno values.
32279
228c019e
TS
322802012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32281
302cadd3
TS
32282 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32283 CHAR_MAX.
32284 * string/test-strcmp.c [! WIDE]: Likewise.
32285 * time/tst-mktime2.c: Likewise for INT_MAX.
32286 * string/test-string.h: #include <sys/param.h> for MIN.
32287
228c019e
TS
32288 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32289 * sysdeps/i386/init-first.c (init): Likewise.
32290 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32291 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32292 * sysdeps/sh/init-first.c (init): Likewise.
32293
cfa633f5
UD
322942012-04-01 Ulrich Drepper <drepper@gmail.com>
32295
32296 * po/ru.po: Update from translation team.
d1635ef8 32297 * po/vi.po: Likewise.
cfa633f5 32298
6cd0a5ea
SP
322992012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32300
32301 * resolv/nss_dns/dns-host.c: Merge copyright years.
32302
4b43400f
LD
323032012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32304
32305 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32306 Optimize memcpy with prefetch if
32307 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32308 src, dst pointers have unequal 16 byte alignments.
32309
48c41d04
SP
323102012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32311
32312 [BZ #13928]
32313 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32314 from a CNAME entry and return the minimum ttl for the query.
32315 (gaih_getanswer_slice): Likewise.
32316
b8dc394d
JL
323172012-03-30 Jeff Law <law@redhat.com>
32318
32319 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32320 due to long keys.
32321 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32322 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32323
2f5a5ed0
JL
32324 * resolv/nss_dns/dns-host.c: Update copyright year.
32325
1d39e359
UD
323262012-03-30 Ulrich Drepper <drepper@gmail.com>
32327
c030f70c 32328 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32329 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32330
1d39e359
UD
32331 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32332 comments for sendmmsg.
32333
323342012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32335
32336 [BZ #13691]
32337 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32338 with only 1 character between 0x0041 and 0x01b0.
32339 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32340 * wcsmbs/tst-mbsnrtowcs.c: New file.
32341
20fde227
DM
323422012-03-29 David S. Miller <davem@davemloft.net>
32343
32344 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32345 small copies by hand.
32346
984a4237
JL
323472012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32348
32349 [BZ #13761]
57f41c40
AS
32350 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32351 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32352 group memberships.
984a4237 32353
18c9d62b
DM
323542012-03-28 David S. Miller <davem@davemloft.net>
32355
88d85d4f
DM
32356 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32357 that branches into memcpy.
32358 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32359 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32360 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32361 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32362 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32363 bits.
32364 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32365 implementation too.
32366 * sysdeps/sparc/mempcpy.S: New file.
32367
e5aa83e1
DM
32368 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32369 the IFUNC routine in the libc case.
32370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32371
88570753
DM
32372 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32373 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32374 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32375 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32376 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32377 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32378 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32379 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32380
249d7567
DM
32381 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32382 loop to 256 bytes instead of 64 bytes and fix test signedness.
32383
18c9d62b
DM
32384 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32385 * sysdeps/sparc/sparc32/Makefile: rather than here...
32386 * sysdeps/sparc/sparc64/Makefile: and here.
32387
05f3d1f6
UD
323882012-03-28 Ulrich Drepper <drepper@gmail.com>
32389
32390 * malloc/mallocbug.c: Avoid warnings about unused variables.
32391
86ae07a8
JL
323922012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32393
32394 [BZ #13760]
32395 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32396 in the right place. Discard and retry query if response is
32397 larger than input buffer size.
32398
41bf21a1
JM
323992012-03-28 Joseph Myers <joseph@codesourcery.com>
32400
d6270972
JM
32401 [BZ #369]
32402 [BZ #2678]
32403 [BZ #3866]
32404 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32405 x for large integer exponent.
32406 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32407 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32408 sign of result as needed afterwards.
32409 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32410 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32411 result for underflowing pow the same as for overflow.
32412 (__kernel_standard_l): Handle powl overflow and underflow here
32413 rather than calling __kernel_standard.
32414 * math/libm-test.inc (pow_test): Add more tests.
32415
414fca03 32416 [BZ #3868]
41bf21a1
JM
32417 [BZ #13879]
32418 [BZ #13910]
32419 [BZ #13911]
32420 [BZ #13912]
32421 [BZ #13913]
32422 [BZ #13915]
32423 [BZ #13916]
32424 [BZ #13917]
32425 [BZ #13918]
32426 [BZ #13919]
32427 [BZ #13920]
32428 [BZ #13921]
32429 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32430 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32431 (__kernel_standard_l): New function.
32432 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32433 __kernel_standard.
32434 * math/w_acosl.c (__acosl): Likewise.
32435 * math/w_asinl.c (__asinl): Likewise.
32436 * math/w_atan2l.c (__atan2l): Likewise.
32437 * math/w_atanhl.c (__atanhl): Likewise.
32438 * math/w_coshl.c (__coshl): Likewise.
32439 * math/w_exp10l.c (__exp10l): Likewise.
32440 * math/w_exp2l.c (__exp2l): Likewise.
32441 * math/w_fmodl.c (__fmodl): Likewise.
32442 * math/w_hypotl.c (__hypotl): Likewise.
32443 * math/w_j0l.c (__j0l, __y0l): Likewise.
32444 * math/w_j1l.c (__j1l, __y1l): Likewise.
32445 * math/w_jnl.c (__jnl, __ynl): Likewise.
32446 * math/w_lgammal.c (__lgammal): Likewise.
32447 * math/w_log10l.c (__log10l): Likewise.
32448 * math/w_log2l.c (__log2l): Likewise.
32449 * math/w_logl.c (__logl): Likewise.
32450 * math/w_powl.c (__powl): Likewise.
32451 * math/w_remainderl.c (__remainderl): Likewise.
32452 * math/w_scalbl.c (sysv_scalbl): Likewise.
32453 * math/w_sinhl.c (__sinhl): Likewise.
32454 * math/w_sqrtl.c (__sqrtl): Likewise.
32455 * math/w_tgammal.c (__tgammal): Likewise.
32456 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32457 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32458 * math/libm-test.inc (acos_test): Add more tests.
32459 (acosh_test): Likewise.
32460 (asin_test): Likewise.
32461 (atanh_test): Likewise.
32462 (exp_test): Likewise.
32463 (exp10_test): Likewise.
32464 (exp2_test): Likewise.
32465 (expm1_test): Likewise.
32466 (lgamma_test): Likewise.
32467 (log_test): Likewise.
32468 (log10_test): Likewise.
32469 (log1p_test): Likewise.
32470 (log2_test): Likewise.
32471 (pow_test): Do not allow some spurious overflow exceptions.
32472 (sqrt_test): Add more tests.
32473 (tgamma_test): Likewise.
32474 (y0_test): Likewise.
32475 (y1_test): Likewise.
32476 (yn_test): Likewise.
32477
dd62fda6
AB
324782012-03-27 Anton Blanchard <anton@samba.org>
32479
32480 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32481 MAP_HUGETLB.
32482 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32483 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32484 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32485
1e3cdfda
AJ
324862012-03-27 David S. Miller <davem@davemloft.net>
32487
b855ab85
DM
32488 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32489
1e3cdfda
AJ
32490 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32491 have-as-vis3 check.
32492
324932012-03-27 Andreas Jaeger <aj@suse.de>
32494
32495 * sysdeps/x86_64/elf/configure.in: Moved to ...
32496 * sysdeps/x86_64/configure.in: ... here.
32497 * sysdeps/x86_64/elf/start.S: Moved to ...
32498 * sysdeps/x86_64/start.S: ... here.
32499 * sysdeps/x86_64/elf/configure: Delete.
32500
32501 * sysdeps/x86_64/configure.in: Merge contents from
32502 sysdeps/i386/configure.in (without i686 check).
32503
32504 * sysdeps/i386/elf/Versions: Merge into ...
32505 * sysdeps/i386/Versions: ... this.
32506 * sysdeps/i386/elf/Versions: Delete file.
32507 * sysdeps/i386/elf/start.S: Moved to ...
32508 * sysdeps/i386/start.S: ...here.
32509 * sysdeps/i386/elf/configure.in: Merge into...
32510 * sysdeps/i386/configure.in: ...here.
32511 * sysdeps/i386/elf/configure.in: Delete file.
32512 * sysdeps/i386/elf/configure: Delete file.
32513
32514 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32515 * debug/backtracesyms.c: ... here.
32516 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32517 * debug/backtracesymsfd.c: ... here.
32518 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32519 * sysdeps/generic/ifunc-sel.h: ... here.
32520
32521 * sysdeps/unix/i386/start.c: Delete file.
32522 * sysdeps/unix/sparc/start.c: Delete file.
32523 * sysdeps/unix/start.c: Delete file.
32524
32525 * sysdeps/sh/elf/configure.in: Moved to ...
32526 * sysdeps/sh/configure.in: ... here.
32527 * sysdeps/sh/elf/start.S: Moved to ...
32528 * sysdeps/sh/start.S: ... here.
32529 * sysdeps/sh/elf/configure: Delete file.
32530
32531 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32532 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32533 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32534 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32535 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32536 * sysdeps/powerpc/powerpc64/start.S: here.
32537 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32538 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32539 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32540 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32541 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32542
32543 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32544 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32545 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32546 * sysdeps/powerpc/powerpc32/start.S: ... here.
32547 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32548 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32549 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32550
32551 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32552 * sysdeps/powerpc/ifunc-sel.h: ... here.
32553 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32554 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32555
32556 * sysdeps/sparc/elf/configure.in: Moved to ...
32557 * sysdeps/sparc/configure.in: ... here.
32558 * sysdeps/sparc/elf/configure: Delete file.
32559 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32560 * sysdeps/sparc/sparc32/start.S: ... here.
32561 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32562 * sysdeps/sparc/sparc64/start.S: ... here.
32563 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32564 * sysdeps/sparc/sparc32/Makefile: ... this.
32565 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32566 * sysdeps/sparc/sparc64/Makefile: ... this.
32567
32568 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32569 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32570 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32571 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32572 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32573 * sysdeps/s390/s390-32/setjmp.S: ... here.
32574 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32575 * sysdeps/s390/s390-32/configure.in: ... here.
32576 * sysdeps/s390/s390-32/elf/configure: Delete file.
32577 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32578 * sysdeps/s390/s390-32/start.S: ... here.
32579
32580 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32581 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32582 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32583 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32584 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32585 * sysdeps/s390/s390-64/setjmp.S: ... here.
32586 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32587 * sysdeps/s390/s390-64/configure.in: ... here
32588 * sysdeps/s390/s390-64/elf/configure: Delete file.
32589 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32590 * sysdeps/s390/s390-64/start.S: ... here.
32591 * sysdeps/s390/s390-64/elf/configure: Delete.
32592
32593 * configure.in: Remove support for elf directories in sysdeps.
32594
32595 * configure: Regenerated.
32596 * sysdeps/i386/configure: Regenerated.
32597 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32598 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32599 * sysdeps/s390/s390-32/configure: Regenerated.
32600 * sysdeps/s390/s390-64/configure: Regenerated.
32601 * sysdeps/sh/configure: Regenerated.
32602 * sysdeps/sparc/configure: Regenerated.
32603 * sysdeps/x86_64/configure: Regenerated.
32604
a3f61311
AS
326052012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32606
c876e002
AS
32607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32608
a3f61311
AS
32609 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32610 denormal result into account.
32611
ac4c54f0
RM
326122012-03-25 Roland McGrath <roland@hack.frob.com>
32613
32614 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32615 Reported by Allan McRae <allan@archlinux.org>.
32616
6a9b9c02
JL
326172012-03-23 Jeff Law <law@redhat.com>
32618
32619 * nss/getnssent.c (__nss_getent): Fix typo.
32620
4c42a0c1
DM
326212012-03-23 David S. Miller <davem@davemloft.net>
32622
32623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32624
1532c7ac
L
326252012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32626
32627 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32628 to pad to uint64_t for each field.
32629 (dl_tls_index): Replace unsigned long with uint64_t.
32630
3ff42526
PP
326312012-03-23 Daniel Jacobowitz <dmj@google.com>
32632 Paul Pluzhnikov <ppluzhnikov@google.com>
32633
32634 [BZ #6528]
32635 * grp/Makefile (otherlibs): Don't set it.
32636 * inet/Makefile (otherlibs): Likewise.
32637 * login/Makefile (otherlibs): Likewise.
32638 * nscd/Makefile (otherlibs): Likewise.
32639 * posix/Makefile (otherlibs): Likewise.
32640 * pwd/Makefile (otherlibs): Likewise.
32641 * rt/Makefile (otherlibs): Likewise.
32642 * sunrpc/Makefile (otherlibs): Likewise.
32643 * nss/Makefile (otherlibs): Likewise.
32644 Add libnss_files to routines and static-only-routines.
32645 ($(objpfx)getent): Remove rule.
32646 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32647 static-only-routines.
32648
7c69cd14
JM
326492012-03-22 Joseph Myers <joseph@codesourcery.com>
32650
32651 [BZ #13892]
32652 * math/s_cexp.c: Include <float.h>.
32653 (__cexp): Handle exp result overflowing not necessarily
32654 overflowing both real and imaginary parts of result.
32655 * math/s_cexpf.c: Likewise.
32656 * math/s_cexpl.c: Likewise.
32657 * math/libm-test.inc (cexp_test): Add more tests.
32658 * sysdeps/i386/fpu/libm-test-ulps: Update.
32659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32660
81b035fe
L
326612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32662
32663 * include/link.h (ELFW): New macro.
32664 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32665 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32666
1da7940c
L
326672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32668
32669 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32670 with uint64_t.
32671
b749dbb9
L
326722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32673
32674 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32675 declaration.
32676 (struct La_x32_retval): Likewise.
32677
2ff87f3f
L
326782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32679
32680 * sysdeps/x86_64/preconfigure.in: New file.
32681 * sysdeps/x86_64/preconfigure: New generated file.
32682
c0df8e69
JM
326832012-03-22 Joseph Myers <joseph@codesourcery.com>
32684
48e44791
JM
32685 [BZ #13824]
32686 * math/e_exp2l.c: Include <float.h>.
32687 (__ieee754_exp2l): Handle overflow and underflow cases
32688 separately. Only pass fractional part of argument to
32689 __ieee754_expl.
32690 * math/libm-test.inc (exp2_test): Add more tests.
32691
c0df8e69
JM
32692 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32693 negating x to take absolute value.
32694 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32695 Likewise.
32696 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32697 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32698 Likewise.
32699 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32700 computing low part if x was negated.
32701 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32702
c8e43ba7
L
327032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32704
32705 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32706 la_x32_gnu_pltexit.
32707 (pltexit): Cast int_retval to ptrdiff_t.
32708 * elf/tst-auditmod3b.c: Likewise.
32709 * elf/tst-auditmod4b.c: Likewise.
32710 * elf/tst-auditmod5b.c: Likewise.
32711 * elf/tst-auditmod6b.c: Likewise.
32712 * elf/tst-auditmod6c.c: Likewise.
32713 * elf/tst-auditmod7b.c: Likewise.
32714
32715 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32716 and x32_gnu_pltexit.
32717
32718 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32719 __ELF_NATIVE_CLASS.
32720 (La_x32_regs): New macro.
32721 (La_x32_retval): Likewise.
32722 (la_x32_gnu_pltenter): New function prototype.
32723 (la_x32_gnu_pltexit): Likewise.
32724
7998fa78
AS
327252012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32726
dcb33988
AS
32727 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32728 exponent.
32729
233fc563
AS
32730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32731
7998fa78
AS
32732 * configure.in (libc_cv_cc_nofma): Check for option to disable
32733 generation of FMA instructions.
32734 * configure: Regenerate.
32735 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32736 * sysdeps/ieee754/dbl-64/Makefile: New file.
32737 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32738 Remove brandred-fma4.
32739 (CFLAGS-brandred-fma4.c): Remove.
32740 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32741 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32742 define.
32743 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32744 define.
32745
8e95c99a
L
327462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32747
32748 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32749 LLONG_MAX != LONG_MAX.
32750 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32751 (_fitoa_word): Likewise.
32752 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32753 LLONG_MAX != LONG_MAX.
32754 * stdio-common/_itowa.h: Include <_itoa.h>.
32755 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32756 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32757 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32758 only if not defined.
32759 (_ITOA_WORD_TYPE): Likewise.
32760 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32761 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32762
6f4db457
DM
327632012-03-21 David S. Miller <davem@davemloft.net>
32764
32765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32766
7785fe5a
L
327672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32768
32769 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32770 of x86_64 when setting libc_cv_slibdir, libdir and
32771 libc_cv_localedir.
32772 * sysdeps/unix/sysv/linux/configure: Regenerated.
32773
4535cd55
JM
327742012-03-21 Joseph Myers <joseph@codesourcery.com>
32775
32776 * manual/lang.texi (Old Varargs): Remove section.
32777 (How Variadic): Update menu.
32778 (va_start): Do not mention varargs.h.
32779
17228132
TS
327802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32781 Joseph Myers <joseph@codesourcery.com>
32782
32783 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32784 link test.
32785 * configure: Regenerated.
32786
8149f976
TS
327872012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32788
05f3d1f6
UD
32789 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32790 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32791 conformtest.pl
8149f976 32792
1a4ac776
JM
327932012-03-21 Joseph Myers <joseph@codesourcery.com>
32794
be22ce65
JM
32795 * NOTES: Remove.
32796 * Makefile (files-for-dist): Remove NOTES.
32797 (NOTES): Remove rule.
32798 * README: Don't refer to NOTES.
32799 * manual/creature.texi: Don't include macros.texi.
32800 * manual/intro.texi (creature.texi): Remove comment referring to
32801 NOTES.
32802
40b601fb
JM
32803 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32804 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32805 * configure: Regenerated.
32806 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32807 LIBC_TRY_CC_OPTION.
32808 (libc_cv_as_i686): Likewise.
32809 (libc_cv_cc_avx): Likewise.
32810 (libc_cv_cc_sse2avx): Likewise.
32811 (libc_cv_cc_fma4): Likewise.
32812 (libc_cv_cc_novzeroupper): Likewise.
32813 * sysdeps/i386/configure: Regenerated.
32814
1a4ac776
JM
32815 [BZ #13883]
32816 * sysdeps/i386/fpu/s_cexp.S: Remove.
32817 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32818 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32819 * math/libm-test.inc (cexp_test): Add more tests.
32820 * sysdeps/i386/fpu/libm-test-ulps: Update.
32821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32822
a458e7fe
AM
328232012-03-21 Allan McRae <allan@archlinux.org>
32824
32825 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32826
0cb7efc5
JM
328272012-03-21 Joseph Myers <joseph@codesourcery.com>
32828
32829 [BZ #13871]
32830 * math/w_exp2.c: Do not include <float.h>.
32831 (o_threshold, u_threshold): Remove.
32832 (__exp2): Calculate result before checking finiteness and calling
32833 __kernel_standard.
32834 * math/w_exp2f.c: Likewise.
32835 * math/w_exp2l.c: Likewise.
32836 * math/libm-test.inc (exp2_test): Require overflow exception for
32837 1e6 input.
2460d3aa
JM
32838
32839 [BZ #3866]
32840 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32841 range of signed 64-bit integers before using fistpll. Remove
32842 checks for whether integers fit in mantissa bits.
32843 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32844 the range of signed 32-bit integers before using fistpl. Remove
32845 checks for whether integers fit in mantissa bits.
32846 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32847 (__ieee754_powl): Test for y outside the range of signed 64-bit
32848 integers before using fistpll. Reduce 64-bit values to 63-bit
32849 ones as needed.
32850 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32851 divide-by-zero is raised for zero to large negative powers.
32852 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32853 (__ieee754_powl): Test for y outside the range of signed 64-bit
32854 integers before using fistpll. Reduce 64-bit values to 63-bit
32855 ones as needed.
32856 * math/libm-test.inc (pow_test): Add more tests.
32857
eb96ffb0
L
328582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32859
32860 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32861 <stdio-common/_itoa.h>.
32862 * debug/segfault.c: Likewise.
32863 * elf/dl-cache.c: Likewise.
32864 * elf/dl-minimal.c: Likewise.
32865 * elf/dl-misc.c: Likewise.
32866 * elf/dl-sysdep.c: Likewise.
32867 * elf/dl-version.c: Likewise.
32868 * elf/rtld.c: Likewise.
32869 * hurd/hurdsock.c: Likewise.
32870 * hurd/lookup-retry.c: Likewise.
32871 * malloc/malloc.c: Likewise.
32872 * malloc/mtrace.c: Likewise.
32873 * nscd/nscd_getgr_r.c: Likewise.
32874 * nscd/nscd_getpw_r.c: Likewise.
32875 * nscd/nscd_getserv_r.c: Likewise.
32876 * posix/getopt_init.c: Likewise.
32877 * posix/wordexp.c: Likewise.
32878 * stdio-common/_itoa.c: Likewise.
32879 * stdio-common/printf_fphex.c: Likewise.
32880 * stdio-common/vfprintf.c: Likewise.
32881 * string/_strerror.c: Likewise.
32882 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32883 * sysdeps/i386/i686/hp-timing.h: Likewise.
32884 * sysdeps/mach/_strerror.c: Likewise.
32885 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32886 * sysdeps/mach/hurd/sethostid.c: Likewise.
32887 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32888 * sysdeps/mach/xpg-strerror.c: Likewise.
32889 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32890 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32891 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32892 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32893 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32894 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32895 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32896 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32897 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32898 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32899 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32900 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32901 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32902 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32903 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32904 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32905 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32906 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32907 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32908 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32909 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32910
32911 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32912
32913 * stdio-common/_itoa.h: Moved to ...
32914 * sysdeps/generic/_itoa.h: Here.
32915
32916 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32917
32918 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32919 instead of "_itoa.h" and "_itowa.h".
32920 * stdio-common/vfprintf.: Likewise.
32921
d1af992d
L
329222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32923
32924 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32925 <bits/wordsize.h>.
32926 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32927 (__signbit): Likwise.
32928 (llrintf): Likwise.
32929 (llrint): Likwise.
32930
114883e0
L
329312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32932
32933 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32934 __WORDSIZE != 64.
32935
c135cc1b
JM
329362012-03-20 Joseph Myers <joseph@codesourcery.com>
32937
32938 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32939 OVERFLOW_EXCEPTION_OK.
32940 * math/libm-test.inc ("Philosophy"): Update comment about
32941 exception testing.
32942 (OVERFLOW_EXCEPTION): Define.
32943 (OVERFLOW_EXCEPTION_OK): Likewise.
32944 (INVALID_EXCEPTION_OK): Renumber.
32945 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32946 (IGNORE_ZERO_INF_SIGN): Likewise.
32947 (test_exceptions): Handle FE_OVERFLOW.
32948 (exp10_test): Expect overflow exceptions.
32949 (exp2_test): Likewise.
32950 (expm1_test): Likewise.
32951 (nextafter_test): Likewise.
32952 (pow_test): Likewise.
32953 (scalbn_test): Likewise.
32954 (scalbln_test): Likewise.
32955
95443d88
L
329562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32957
32958 * sysdeps/x86_64/bits/atomic.h
32959 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32960 64bit integer.
32961 (atomic_exchange_acq): Likewise.
32962 (__arch_exchange_and_add_body): Likewise.
32963 (__arch_add_body): Likewise.
32964 (atomic_add_negative): Likewise.
32965 (atomic_add_zero): Likewise.
32966
490df6c4
L
329672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32968
c2722551 32969 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32970 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32971
5e52b189
L
329722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32973
32974 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32975 Check __x86_64__ instead of __WORDSIZE.
32976
a9879d4c
L
329772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32978
32979 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32980
5df98260
DM
329812012-03-19 David S. Miller <davem@davemloft.net>
32982
e1497744
DM
32983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32984
5df98260
DM
32985 * sysdeps/sparc/fpu/fenv_private.h: New file.
32986 * sysdeps/sparc/fpu/math_private.h: Use it.
32987 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32988 Remove.
57f41c40 32989 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
32990 (libc_feholdexcept_setroundl): Remove.
32991 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32992 Remove.
32993 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32994 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32995
b4c35121
L
329962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32997
32998 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32999 int64_t instead of long int.
33000 (INSERT_WORDS64): Likwise.
33001
56965fd7
L
330022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33003
33004 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33005 _Unwind_GetCFA return to _Unwind_Ptr first.
33006
83d1aec8
JM
330072012-03-19 Joseph Myers <joseph@codesourcery.com>
33008
1897ad44
JM
33009 [BZ #13629]
33010 * math/s_clog.c: Include <float.h>.
33011 (__clog): Scale large or subnormal inputs.
33012 * math/s_clogf.c: Likewise.
33013 * math/s_clogl.c: Likewise.
33014 * math/s_clog10.c: Include <float.h>.
33015 (M_LOG10_2): Define.
33016 (__clog10): Scale large or subnormal inputs.
33017 * math/s_clog10f.c: Likewise.
33018 * math/s_clog10l.c: Likewise.
33019 * math/libm-test.inc (clog_test): Add more tests.
33020 (clog10_test): Likewise.
33021 * sysdeps/i386/fpu/libm-test-ulps: Update.
33022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33023
7726d6a9
JM
33024 [BZ #11451]
33025 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33026 x and y.
33027 * math/libm-test.inc (atan2_test): Add another test.
33028
83d1aec8
JM
33029 * Makerules (common-objdir-compile): Remove.
33030 * sysdeps/unix/Makefile (config-generated): Do not add
33031 $(unix-generated) to variable.
33032 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33033 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33034 Remove rule.
33035 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33036 Likewise.
33037 [generic bits/local_lim.h] (before-compile): Do not append to
33038 variable.
33039 [generic bits/local_lim.h] (common-generated): Likewise.
33040 [generic sys/param.h] (before-compile): Do not append to variable.
33041 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33042 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33043 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33044 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33045 include.
33046 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33047 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33048 [generic sys/param.h] ($(addprefix
33049 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33050 [generic sys/param.h] (common-generated): Do not append to
33051 variable.
33052 [generic sys/param.h] (sysdep_headers): Likewise.
33053 [generic bits/errno.h] (before-compile): Do not append to
33054 variable.
33055 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33056 rule.
33057 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33058 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33059 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33060 [generic bits/errno.h] (common-generated): Do not append to
33061 variable.
33062 [generic bits/ioctls.h] (before-compile): Do not append to
33063 variable.
33064 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33065 rule.
33066 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33067 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33068 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33069 rule.
33070 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33071 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33072 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33073 [generic bits/ioctls.h] (common-generated): Do not append to
33074 variable.
33075 [generic sys/syscall.h] (syscall.h): Remove variable.
33076 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33077 rule.
33078 [generic sys/syscall.h] (before-compile): Do not append to
33079 variable.
33080 [generic sys/syscall.h] (common-generated): Likewise.
33081 * sysdeps/unix/errnos-tmpl.c: Remove file.
33082 * sysdeps/unix/errnos.awk: Likewise.
33083 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33084 * sysdeps/unix/ioctls.awk: Likewise.
33085 * sysdeps/unix/mk-local_lim.c: Likewise.
33086 * sysdeps/unix/snarf-ioctls: Likewise.
33087
4851a949
RH
330882012-03-19 Richard Henderson <rth@twiddle.net>
33089
bd37f2ee
RH
33090 * sysdeps/i386/fpu/fenv_private.h: New file.
33091 * sysdeps/i386/fpu/math_private.h: Use it.
33092 (math_opt_barrier, math_force_eval): Remove.
33093 (libc_feholdexcept_setround_53bit): Remove.
33094 (libc_feupdateenv_53bit): Remove.
33095 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33096 (math_opt_barrier, math_force_eval): Remove.
33097 (libc_feholdexcept): Remove.
33098 (libc_feholdexcept_setround): Remove.
33099 (libc_fetestexcept, libc_fesetenv): Remove.
33100 (libc_feupdateenv_test): Remove.
33101 (libc_feupdateenv, libc_feholdsetround): Remove.
33102 (libc_feresetround): Remove.
33103
d0adc922
RH
33104 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33105 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33106
0fe0f1f8
RH
33107 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33108 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33109 (libc_feupdateenv_testl): New.
33110 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33111 (libc_feupdateenv_testf): New.
33112 (libc_feupdateenv): Use libc_feupdateenv_test.
33113 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33114 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33115
eb92c487
RH
33116 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33117 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33118 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33119 (libc_feresetround_noex): New.
33120 (libc_feresetround_noexf): New.
33121 (libc_feresetround_noexl): New.
33122 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33123 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33124 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33125 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33126 SET_RESTORE_ROUND.
33127 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33128 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33129 (__cos): Likewise.
33130 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33131 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33132 SET_RESTORE_ROUND_NOEX.
33133 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33134 SET_RESTORE_ROUND_NOEXF.
33135 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33136 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33137 (libc_feholdsetroundf): New.
33138 (libc_feresetround, libc_feresetroundf): New.
33139
7d2e8012
RH
33140 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33141 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33142 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33143
b4dabbb4
RH
33144 * sysdeps/generic/math_private.h: Include <fenv.h>.
33145 (default_libc_feholdexcept): New.
33146 (default_libc_feholdexcept_setround): New.
33147 (default_libc_fesetenv, default_libc_feupdateenv): New.
33148 (libc_feholdexcept): Only define if undefined.
33149 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33150 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33151 (libc_feholdexcept_setroundl): Likewise.
33152 (libc_feholdexcept_setround_53bit): Likewise.
33153 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33154 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33155 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33156 (libc_feupdateenv_53bit): Likewise.
33157 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33158 (libc_feholdexcept): Convert from macro to inline function.
33159 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33160 (libc_fesetenv, libc_feupdateenv): Likewise.
33161
4851a949
RH
33162 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33163 not previously defined.
33164 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33165 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33166 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33167 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33168 * sysdeps/ieee754/flt-32/math_private.h: New file.
33169 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33170 math_private.h below SET_FLOAT_WORD.
33171 (__isnan, __isinf_ns, __finite): Remove.
33172 (__isnanf, __isinf_nsf, __finitef): Remove.
33173
e79d442e
AS
331742012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33175
33176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33177
90b80344
DM
331782012-03-17 David S. Miller <davem@davemloft.net>
33179
33180 [BZ #6471]
33181 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33182 for 2.16.
33183
edc21804
DM
331842012-03-16 David S. Miller <davem@davemloft.net>
33185
77e927af
DM
33186 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33187 warnings.
33188
374976dd
DM
33189 [BZ #6471]
33190 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33191 properly.
33192 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33193 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33194 sysdep_routines when subdir is sysvipc.
33195 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33196 __getshmlba helper.
33197
edc21804
DM
33198 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33199
473c3ef3
L
332002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33201
33202 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33203 [__LP64__].
33204
eb0f39b6
L
332052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33206
33207 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33208 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33209 (__lround): Renamed to ...
33210 (__llround): This. Replace long int with long long int.
33211 Define lround functions as aliases of llround functions.
33212 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33213
6b6cd74b
L
332142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33215
33216 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33217 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33218 adresses to uintptr_t. Replace "long int" and "unsigned long
33219 int" with "greg_t" on va_arg.
33220
f1a77b01
L
332212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33222
33223 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33224 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33225
33226 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33227 Move e_machine check before EI_CLASS check. Handle x32
33228 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33229 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33230 SKIP_EM_IA_64 and include
33231 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33232
33233 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33234 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33235 (add_system_dir): New macro.
33236
33237 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33238 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33239
11b90b9f
JM
332402012-03-16 Joseph Myers <joseph@codesourcery.com>
33241
c36e1d23
JM
33242 [BZ #2551]
33243 [BZ #2552]
33244 [BZ #2553]
33245 [BZ #2554]
33246 [BZ #2562]
33247 [BZ #2563]
33248 [BZ #2565]
33249 [BZ #2566]
33250 [BZ #2576]
33251 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33252 (y0): Likewise.
33253 * math/w_j0f.c (j0f): Likewise.
33254 (y0f): Likewise.
33255 * math/w_j0l.c (__j0l): Likewise.
33256 (__y0l): Likewise.
33257 * math/w_j1.c (j1): Likewise.
33258 (y1): Likewise.
33259 * math/w_j1f.c (j1f): Likewise.
33260 (y1f): Likewise.
33261 * math/w_j1l.c (__j1l): Likewise.
33262 (__y1l): Likewise.
33263 * math/w_jn.c (jn): Likewise.
33264 (yn): Likewise.
33265 * math/w_jnf.c (jnf): Likewise.
33266 (ynf): Likewise.
33267 * math/w_jnl.c (__jnl): Likewise.
33268 (__ynl): Likewise.
33269 * math/libm-test.inc (j0_test): Add more tests.
33270 (j1_test): Likewise.
33271 (jn_test): Likewise. Add trailing semicolon to existing test.
33272 (y0_test): Likewise.
33273 (y1_test): Likewise.
33274 * sysdeps/i386/fpu/libm-test-ulps: Update.
33275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33276
11b90b9f
JM
33277 [BZ #13851]
33278 [BZ #13854]
33279 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33280 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33281 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33282 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33283 (__tanl): Set errno for infinite argument.
33284 * sysdeps/i386/fpu/mptan.c: Remove.
33285 * sysdeps/i386/fpu/s_tan.S: Likewise.
33286 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33287 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33288 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33289 * math/libm-test.inc (tan_test): Add more tests and enable more
33290 tests for double and long double.
33291 * sysdeps/i386/fpu/libm-test-ulps: Update.
33292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33293
6a1bd2a1
JK
332942012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33295
33296 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33297 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33298
10a803e0
RM
332992012-03-16 Roland McGrath <roland@hack.frob.com>
33300
33301 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33302 * configure.in: Use it for both main tree and add-ons.
33303 * configure: Regenerated.
33304
f196c7f7
L
333052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33306
33307 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33308
8848d99d
JM
333092012-03-16 Joseph Myers <joseph@codesourcery.com>
33310
96cbe7f4
JM
33311 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33312 in comment.
33313
8848d99d
JM
33314 [BZ #13851]
33315 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33316 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33317 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33318 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33319 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33320 infinite argument.
33321 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33322 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33323 != 0 for prec == 2.
33324 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33325 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33326 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33327 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33328 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33329 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33330 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33331 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33332 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33333 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33334 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33335 * math/libm-test.inc (cos_test): Add more tests and enable more
33336 tests for long double.
33337 (sin_test): Likewise.
33338 (sincos_test): Likewise.
33339 * sysdeps/i386/fpu/libm-test-ulps: Update.
33340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33341
dd7f4703
DM
333422012-03-16 David S. Miller <davem@davemloft.net>
33343
33344 * sysdeps/sparc/fpu/math_private.h: New file.
33345
006f1daa
DM
333462012-03-15 David S. Miller <davem@davemloft.net>
33347
c0c83bc8
DM
33348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33349 file.
e6a62e18 33350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33352 file.
e6a62e18
DM
33353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33354 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33359 sysdep routines.
33360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33361
88cb87d9
DM
33362 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33363 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33364
006f1daa 33365 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33367 sparc-ifunc.h
006f1daa 33368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33370 Likewise.
33371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33372 Likewise.
006f1daa
DM
33373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33377 Likewise.
006f1daa
DM
33378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33383 Likewise.
33384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33385 Likewise.
006f1daa
DM
33386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33392 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33393 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33406 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33407 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33408 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33409 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33410
11e0098e
AS
334112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33412
33413 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33414 scaling.
33415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33416
e85b09d0
AJ
334172012-03-15 Andreas Jaeger <aj@suse.de>
33418
33419 [BZ #13852]
33420 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33421 ieee754/flt-32 implementation for sin, cos and sincos.
33422 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33423 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33424 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33425 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33426 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33427 ieee754/flt-32 implementation for tan.
33428
33429 * math/libm-test.inc (cos_test): Enable some large input tests for
33430 float as well
33431 (sin_test): Likewise.
33432 (sincos_test): Likewise.
33433 (tan_test): Add tests for large input.
33434
33435 * sysdeps/i386/fpu/libm-test-ulps: Update.
33436
81c64153
AJ
334372012-03-15 Andreas Jaeger <aj@suse.de>
33438
33439 [BZ #13658]
33440 * math/libm-test.inc (cos_test): Add more test cases.
33441 (sin_test): Likewise.
33442 (sincos_test): Likewise.
33443
7bbfa5c6
AJ
334442012-03-15 Andreas Jaeger <aj@suse.de>
33445
33446 [BZ #13837]
33447 * math/libm-test.inc (cos_test): Add a test case for large input
33448 value.
33449 (sin_test): Likewise.
33450 (sincos_test): Likewise.
33451
57f41c40
AS
334522012-03-15 Andreas Jaeger <aj@suse.de>
33453 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
33454
33455 [BZ #13658]
0671f479 33456 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33457 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33458 * sysdeps/i386/fpu/branred.c: Likewise.
33459 * sysdeps/i386/fpu/dosincos.c: Likewise.
33460 * sysdeps/i386/fpu/mpa.c: Likewise.
33461 * sysdeps/i386/fpu/s_cos.S: Likewise.
33462 * sysdeps/i386/fpu/s_sin.S: Likewise.
33463 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33464 * sysdeps/i386/fpu/sincos32.c: Likewise.
33465
33466 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33467 Define.
33468 (libc_feupdateenv_53bit): Define.
33469 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33470 Define.
33471 (libc_feupdateenv_53bit): Define.
33472
33473 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33474 53 bit (without extend i386 double precision).
33475
33476 * math/libm-test.inc (sincos_test): Add tests for large input.
33477 (sin): Likewise.
33478 (cos): Likewise.
33479
33480 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33481
9cad04ea
AS
334822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33483
33484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33485
f7062b9a
DM
334862012-03-15 David S. Miller <davem@davemloft.net>
33487
33488 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33489 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33490 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33491 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33496 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33504 file.
f7062b9a 33505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33507 file.
f7062b9a 33508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33510 file.
f7062b9a 33511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33513 file.
f7062b9a
DM
33514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33515 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33516 fmin/fmax sysdep routines.
33517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33518
7bd951ff
DM
335192012-03-14 David S. Miller <davem@davemloft.net>
33520
559398ab
DM
33521 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33525 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33526 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33541 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33542 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33545 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33549 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33550 routines.
33551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33552 file.
559398ab 33553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33555 file.
559398ab 33556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33558 file.
559398ab 33559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33561 file.
559398ab 33562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33564 file.
559398ab 33565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33567 file.
33568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33569 file.
33570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33571 file.
33572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33573 file.
33574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33575 New file.
33576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33577 file.
33578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33579 file.
559398ab 33580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33582 file.
559398ab 33583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33585 file.
559398ab 33586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33588 file.
559398ab 33589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33591 VIS3 routines.
559398ab
DM
33592
33593 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33594 New file.
33595
5a1c1e32
DM
33596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33597
eae47a36
DM
33598 * sysdeps/sparc/configure.in: New file.
33599 * sysdeps/sparc/configure: Generate.
33600 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33601 * configure: Regenerate.
33602 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33603 * config.make.in (have-as-vis3): New.
33604 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33605 available use -Av9d instead of -Av9a.
33606 * sysdeps/sparc/sparc64/Makefile: Likewise.
33607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33609 New file.
33610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33611 file.
33612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33613 New file.
33614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33615 file.
eae47a36
DM
33616 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33617 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33618 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33619 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33621
c0c83bc8
DM
33622 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33623 fzeros/fnegs to load 0x80000000 into a float register instead of
33624 using the stack.
7bd951ff
DM
33625 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33626
bd951ccb
JM
336272012-03-14 Joseph Myers <joseph@codesourcery.com>
33628
33629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33630 bits/syscall.h.
33631 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33632 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33633 ($(inst_includedir)/bits/syscall.h): Remove rule.
33634 ($(objpfx)bits/syscall.d): Include instead of
33635 $(objpfx)syscall-list.d.
33636 (generated): Change syscall-list.h and syscall-list.d to
33637 bits/syscall.h and bits/syscall.d.
33638
bb4e6db2
RM
336392012-03-14 Roland McGrath <roland@hack.frob.com>
33640
33641 [BZ #13846]
33642 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33643
aa4a2ae1
JM
336442012-03-14 Joseph Myers <joseph@codesourcery.com>
33645
e456826d
JM
33646 [BZ #13841]
33647 * math/s_csqrt.c: Include <float.h>.
33648 (__csqrt): Scale large or subnormal inputs.
33649 * math/s_csqrtf.c: Likewise.
33650 * math/s_csqrtl.c: Likewise.
33651 * math/libm-test.inc (csqrt_test): Add more tests.
33652 * sysdeps/i386/fpu/libm-test-ulps: Update.
33653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33654
aa4a2ae1
JM
33655 [BZ #13840]
33656 * math/libm-test.inc (hypot_test): Add more tests.
33657
7c10fd35
DM
336582012-03-13 David S. Miller <davem@davemloft.net>
33659
33660 [BZ #13840]
33661 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33662 double-precision for the calculation instead of scaling.
33663
f453b98b
JM
336642012-03-13 Joseph Myers <joseph@codesourcery.com>
33665
33666 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33667 manipulate bits before adding and subtracting TWO52[sx].
33668 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33669 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33670 Likewise.
33671 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33672
09a3453f
DM
336732012-03-13 David S. Miller <davem@davemloft.net>
33674
8e59da90
DM
33675 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33676 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33677 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33678 rtld-global-offsets.h
33679 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33680
2a8ab7f2
DM
33681 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33682 large parameters.
33683
10f62770
DM
33684 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33685
5f0bdb18
DM
33686 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33687 'err' in the ifdef scope in which it is actually used.
33688
09a3453f
DM
33689 * nss/nss_db/db-init.c: Include string.h
33690
b4b2eb5e
DM
336912012-03-12 David S. Miller <davem@davemloft.net>
33692
98bb2f1c
DM
33693 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33694 masking out of the most significant byte of random value used.
33695 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33696 Fix coding style in previous change.
33697
b4b2eb5e
DM
33698 * sysdeps/unix/sysv/linux/kernel-features.h
33699 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33700 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33701 expression.
33702 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33703 later.
33704
6e226b09
DM
337052012-03-11 David S. Miller <davem@davemloft.net>
33706
a1bcbd40
DM
33707 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33708 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33709 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33710 for 'resultvar' otherwise things get truncated on 64-bit.
33711
cb9d6174
DM
33712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33713 Fix masking out of the most significant byte of random value used.
33714
6e226b09
DM
33715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33716
058c132d
AS
337172012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33718
33719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33720
2d2cd515
DM
337212012-03-09 David S. Miller <davem@davemloft.net>
33722
33723 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33724 variables with appropriate CPP guards.
57f41c40
AS
33725 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33726 from the frame pointer, not the stack pointer. Correct layout
33727 comments. Fix test on resulting framesize and the management of
33728 the outregs buffer for pltexit. Preserve floating point return
33729 values across _dl_call_pltexit call.
2d2cd515
DM
33730 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33731 framesize and the management of the outregs buffer for pltexit.
33732 Preserve floating point return values across _dl_call_pltexit
33733 call.
57f41c40
AS
33734 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33735 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33736 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
33737 (print_exit): Fix format string for return register value.
33738
9a07f9d0
JM
337392012-03-10 Joseph Myers <joseph@codesourcery.com>
33740
33741 * sunrpc/Makefile (others): Add rpcgen.
33742 ($(objpfx)rpcgen): Remove special build rule and dependency on
33743 libc.
33744 * sunrpc/rpcgen.c: New file.
33745
547b5e30
PE
337462012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33747
c524201a
PE
33748 [BZ #13673]
33749 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33750 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33751 * sysdeps/i386/crti.S: Likewise.
33752 * sysdeps/i386/crtn.S: Likewise.
33753 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33754 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33755 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33756 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33757 * sysdeps/sh/crti.S: Likewise.
33758 * sysdeps/sh/crtn.S: Likewise.
33759 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33760
7b6235f2
PE
33761 [BZ #13673]
33762 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33763 with URL.
33764 * locale/programs/locfile-kw.gperf: Likewise.
33765 * locale/programs/charmap-kw.h: Regenerated.
33766 * locale/programs/locfile-kw.h: Likewise.
33767
547b5e30
PE
33768 [BZ #13673]
33769 * intl/plural.y: Replace FSF snail mail address with URL.
33770 * intl/plural.c: Regenerated.
33771
5f0a5dae
RH
337722012-03-09 Richard Henderson <rth@twiddle.net>
33773
33774 * include/math_private.h: Remove file.
33775 * math/math_private.h: Move file ...
33776 * sysdeps/generic/math_private.h: ... here.
33777
b8c03620
RH
33778 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33779 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33780 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33781
4e234f5d 33782 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33783 and <math_private.h>.
33784 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33785 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33786 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33787 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33788 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33789 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33790 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33792 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33793 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33794 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33795 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33798 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33799 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33800 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33801 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33802 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33803 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33805 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33806 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33808 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33809 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33810 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33811 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33812 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33813 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33814 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33815 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33816 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33817 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33818 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33819 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33820 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33821 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33822 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33823 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33824 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33825 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33826 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33827 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33828 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33829 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33830 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33831 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33832 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33833 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33834 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33835 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33836 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33837 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33838 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33839 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33840 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33841 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33842 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33843 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33844 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33845 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33846 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33847 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33848 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33849 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33850 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33851 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33852 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33853 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33854 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33855 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33856 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33857 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33858 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33859 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33862 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33863 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33864 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33865 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33866 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33867 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33868 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33869 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33871 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33872 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33873 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33874 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33875 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33876 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33877 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33878 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33879 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33880 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33881 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33882 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33883 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33884 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33885 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33886 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33887 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33888 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33889 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33890 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33891 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33892 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33893 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33894 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33895 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33896 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33897 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33898 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33899 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33900 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33901 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33902 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33903 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33904 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33905 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33906 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33907 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33908 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33909 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33910 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33911 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33912 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33913 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33914 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33915 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33916 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33917 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33918 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33919 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33920 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33921 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33922 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33923 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33924 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33925 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33926 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33927 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33928 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33929 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33930 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33931 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33932 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33933 * sysdeps/ieee754/k_standard.c: Likewise.
33934 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33935 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33936 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33937 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33938 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33939 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33940 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33941 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33943 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33944 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33946 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33947 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33948 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33949 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33950 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33951 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33953 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33954 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33955 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33958 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33961 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33965 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33966 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33967 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33968 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33969 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33970 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33972 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33974 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33975 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33977 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33979 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33980 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33981 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33982 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33983 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33984 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33985 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33986 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33987 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33988 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33989 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33990 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33991 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33992 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33993 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33994 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33995 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33996 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33997 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33998 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33999 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34000 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34001 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34002 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34003 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34004 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34005 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34006 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34007 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34008 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34010 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34011 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34012 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34013 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34014 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34015 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34016 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34017 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34018 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34019 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34020 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34021 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34022 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34023 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34024 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34025 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34026 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34027 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34030 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34031 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34032 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34033 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34036 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34037 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34038 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34039 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34040 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34041 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34042 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34043 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34044 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34045 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34046 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34047 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34048 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34049 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34050 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34051 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34052 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34053 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34054 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34055 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34056 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34057 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34058 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34059 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34060 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34061 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34062 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34063 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34064 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34065 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34066 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34067 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34068 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34069 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34070 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34071 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34072 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34073 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34074 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34075 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34076 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34077 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34078 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34079 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34080 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34081 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34082 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34083 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34084 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34085 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34086 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34087 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34088 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34089 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34090 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34091 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34092 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34093 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34094 * sysdeps/ieee754/s_lib_version.c: Likewise.
34095 * sysdeps/ieee754/s_matherr.c: Likewise.
34096 * sysdeps/ieee754/s_signgam.c: Likewise.
34097 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34098 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34099 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34100 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34101 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34102 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34103 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34104 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34105 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34106 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34107 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34108 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34109 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34110 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34111 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34112 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34113 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34114 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34115 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34118
1991fa03
JM
341192012-03-09 Joseph Myers <joseph@codesourcery.com>
34120
34121 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34122 * sunrpc/rpc_main.c: Likewise.
34123 * sunrpc/rpc_svcout.c: Likewise.
34124
60d6f5a6
DM
341252012-03-09 David S. Miller <davem@davemloft.net>
34126
34127 * include/math_private.h: New file.
34128
4962050e
JM
341292012-03-09 Joseph Myers <joseph@codesourcery.com>
34130
02a6f887
JM
34131 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34132 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34133 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34134 from <bits/socket_type.h>.
34135 (enum __socket_type): Don't define here.
34136 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34138 bits/socket_type.h.
34139
c6e013c1
JM
34140 [BZ #13566]
34141 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34142 checking __USE_GNU.
34143
4962050e
JM
34144 * Makerules ($(inst_includedir)/%.h): New rule.
34145 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34146 (install-others): Remove variable setting.
34147 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34148
38842f45
RH
341492012-03-08 Richard Henderson <rth@twiddle.net>
34150
67bb6da6
RH
34151 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34152 from macro to inline function; merge with the
34153 !__LIBC_INTERNAL_MATH_INLINES version.
34154 (__ieee754_sqrtf): Likewise.
34155
15194b4b
RH
34156 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34157 to inline function.
34158 (__rintf, __floor, __floorf): Likewise.
34159
64e21ede
RH
34160 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34161 macro to inline function.
34162 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34163
38842f45
RH
34164 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34165 not <math/math_private.h>.
34166
c64bf5fe
DM
341672012-03-08 David S. Miller <davem@davemloft.net>
34168
34169 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34170 copyright year.
34171 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34172
82d86f28
TS
341732012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34174
34175 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34176 normalization.
34177 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34178 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34179
aea5d727
UD
341802012-03-08 Ulrich Drepper <drepper@gmail.com>
34181
34182 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34183 be defined individually, they must be defined as a block. Define
34184 S for printing a string instead of hidint the different by using a
34185 macro for adding the 'l'.
34186 * stdio-common/tst-fphex-wide.c: Adjust.
34187
70bca0a3
MP
341882012-03-07 Marek Polacek <polacek@redhat.com>
34189
34190 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34191
65b81130
MP
341922012-03-08 Marek Polacek <polacek@redhat.com>
34193
34194 [BZ #13806]
34195 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34196 * stdio-common/tst-fphex.c: Define a few macros to make the
34197 test reusable. Use them.
34198 * stdio-common/tst-fphex-wide.c: New file.
34199
07037eeb
JM
342002012-03-08 Joseph Myers <joseph@codesourcery.com>
34201
a7a93d50
JM
34202 [BZ #6911]
34203 * manual/macros.texi (gnusystems): New macro.
34204 (nongnusystems): Likewise.
34205 (gnulinuxhurdsystems): Likewise.
34206 (gnuhurdsystems): Likewise..
34207 (gnulinuxsystems): Likewise.
34208 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34209 variants of the GNU system, not "GNU system".
34210 * manual/conf.texi: Likewise.
34211 * manual/errno.texi: Likewise. Update example of errno macro
34212 expansion.
34213 * manual/filesys.texi: Likewise.
34214 (getumask): Document as specific to GNU/Hurd.
34215 * manual/install.texi: Likewise. Reword some references to
34216 GNU/Linux.
34217 * manual/intro.texi: Likewise.
34218 * manual/io.texi: Likewise.
34219 (File Name Portability): Detail which constraints are inapplicable
34220 to all GNU systems and which are only inapplicable to GNU/Hurd.
34221 * manual/job.texi: Likewise.
34222 * manual/llio.texi: Likewise.
34223 (O_NOCTTY): Document as present on GNU/Linux.
34224 * manual/maint.texi: Likewise.
34225 * manual/memory.texi: Likewise.
34226 * manual/pattern.texi: Likewise.
34227 * manual/pipe.texi: Likewise.
34228 * manual/process.texi: Likewise.
34229 * manual/resource.texi: Likewise.
34230 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34231 child on GNU/Hurd.
34232 * manual/setjmp.texi: Likewise.
34233 * manual/signal.texi: Likewise.
34234 * manual/startup.texi: Likewise.
34235 * manual/stdio.texi: Likewise.
34236 * manual/terminal.texi: Likewise.
34237 (ONLCR): Document as POSIX.
34238 (OXTABS): Document availability on GNU/Linux as XTABS.
34239 (ONOEOT): Document availability separately from other bits.
34240 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34241 * manual/time.texi: Likewise.
34242 * manual/users.texi: Likewise.
34243 * INSTALL: Regenerated.
34244 * sysdeps/gnu/errlist.c: Regenerated.
34245
07037eeb
JM
34246 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34247 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34248 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34249 puts.
34250 * configure: Regenerated.
34251
d1d3431a
JM
342522012-03-07 Joseph Myers <joseph@codesourcery.com>
34253
af6a1e37
JM
34254 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34255 default includes instead of AC_HEADER_CHECK.
34256 * sysdeps/i386/configure: Regenerated.
34257
d1d3431a
JM
34258 [BZ #10716]
34259 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34260 * math/s_cacoshf.c (__cacoshf): Likewise.
34261 * math/s_cacoshl.c (__cacoshl): Likewise.
34262 * math/s_casinh.c (__casinh): Set signs of result from argument.
34263 * math/s_casinhf.c (__casinhf): Likewise.
34264 * math/s_casinhl.c (__casinhl): Likewise.
34265 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34266 (casinh_test): Add more tests.
34267 * sysdeps/i386/fpu/libm-test-ulps: Update.
34268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34269
482ff4da
UD
342702012-03-07 Ulrich Drepper <drepper@gmail.com>
34271
872fda05
UD
34272 * po/zh_TW.po: Update from translation team.
34273
a4300c7a
UD
34274 * login/Makefile (distribute): Remove variable.
34275 * catgets/Makefile: Likewise.
34276 * mach/Makefile: Likewise.
34277 * malloc/Makefile: Likewise.
34278 * misc/Makefile: Likewise.
34279 * iconv/Makefile: Likewise.
34280 * nscd/Makefile: Likewise.
34281 * hurd/Makefile: Likewise.
34282 * manual/Makefile: Likewise.
34283 * locale/Makefile: Likewise.
34284 * intl/Makefile: Likewise.
34285 * conform/Makefile: Likewise.
34286 * nss/Makefile: Likewise.
34287 * time/Makefile: Likewise.
34288 * soft-fp/Makefile: Likewise.
34289 * dirent/Makefile: Likewise.
34290 * gmon/Makefile: Likewise.
34291 * po/Makefile: Likewise.
34292 * rt/Makefile: Likewise.
34293 * socket/Makefile: Likewise.
34294 * math/Makefile: Likewise.
34295 * signal/Makefile: Likewise.
34296 * debug/Makefile: Likewise.
34297 * elf/Makefile: Likewise.
34298 * timezone/Makefile: Likewise.
34299 * stdlib/Makefile: Likewise.
34300 * iconvdata/Makefile: Likewise.
34301 * sunrpc/Makefile: Likewise.
34302 * io/Makefile: Likewise.
34303 * argp/Makefile: Likewise.
34304 * inet/Makefile: Likewise.
34305 * hesiod/Makefile: Likewise.
34306 * grp/Makefile: Likewise.
34307 * csu/Makefile: Likewise.
34308 * wctype/Makefile: Likewise.
34309 * crypt/Makefile: Likewise.
34310 * libio/Makefile: Likewise.
34311 * string/Makefile: Likewise.
34312 * nis/Makefile: Likewise.
34313 * resolv/Makefile: Likewise.
34314 * stdio-common/Makefile: Likewise.
34315 * wcsmbs/Makefile: Likewise.
34316 * dlfcn/Makefile: Likewise.
34317 * posix/Makefile: Likewise.
34318
3b7c4e74 34319 [BZ #6959]
482ff4da
UD
34320 * timezone/Makefile: Don't install timezone files, just the programs
34321 and scripts.
34322
f72ed77d
UD
343232012-03-06 Ulrich Drepper <drepper@gmail.com>
34324
a000466f
UD
34325 * nss/databases.def: Add missing gshadow entry.
34326
f72ed77d
UD
34327 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34328
a53b7a4e
MP
343292012-03-06 Marek Polacek <polacek@redhat.com>
34330
34331 [BZ #13726]
34332 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34333 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34334 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34335 * stdio-common/tst-long-dbl-fphex.c: New file.
34336
e9258400
DM
343372012-03-06 David S. Miller <davem@davemloft.net>
34338
34339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34340 (set_obp_int): New function.
34341 (get_obp_int): New function.
34342 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34344 Avoid unused variable warnings on 'val' and use builtin_expect.
34345 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34346 __builtin_expect.
e9258400
DM
34347 (INLINE_CLONE_SYSCALL): Likewise.
34348
3bd2c723
DM
343492012-03-05 David S. Miller <davem@davemloft.net>
34350
34351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34352
bbb78d03
AS
343532012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34354
884c5db4
AS
34355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34356
bbb78d03
AS
34357 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34358 only for |x| >= 40.
34359 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34360
1c9f702a 343612012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34362
34363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34364 Replace gettimeofday with __vdso_gettimeofday.
34365
7be16f82
RM
34366 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34367 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34368 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34369
34370 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34371 time with __vdso_time.
34372
ed58a00f
JM
343732012-03-05 Joseph Myers <joseph@codesourcery.com>
34374
34375 * manual/lang.texi (size_t): Note types to which size_t may be
34376 equivalent with the GNU C Library, but do not describe when
34377 differences between them are significant.
34378
30ee4ced
AJ
343792012-03-05 Andreas Jaeger <aj@suse.de>
34380
34381 * sysdeps/i386/fpu/libm-test-ulps: Update.
34382
b7cd39e8
JM
343832012-03-05 Joseph Myers <joseph@codesourcery.com>
34384
34385 [BZ #3976]
34386 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34387 (__ieee754_pow): Save and restore rounding mode and use
34388 round-to-nearest for main computations.
34389 * math/libm-test.inc (pow_test_tonearest): New function.
34390 (pow_test_towardzero): Likewise.
34391 (pow_test_downward): Likewise.
34392 (pow_test_upward): Likewise.
34393 (main): Call the new functions.
34394 * sysdeps/i386/fpu/libm-test-ulps: Update.
34395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34396
34397 [BZ #3976]
34398 * math/libm-test.inc (cosh_test_tonearest): New function.
34399 (cosh_test_towardzero): Likewise.
34400 (cosh_test_downward): Likewise.
34401 (cosh_test_upward): Likewise.
34402 (sinh_test_tonearest): Likewise.
34403 (sinh_test_towardzero): Likewise.
34404 (sinh_test_downward): Likewise.
34405 (sinh_test_upward): Likewise.
34406 (main): Call the new functions.
34407 * sysdeps/i386/fpu/libm-test-ulps: Update.
34408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34409
6c6a98c9
TV
344102012-03-05 Tom de Vries <tom@codesourcery.com>
34411
34412 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34413 default stack guard is set in last bytes.
34414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34415
21bb2d2e 344162012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34417
21bb2d2e 34418 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34419
21bb2d2e
AJ
34420 [BZ #13656]
34421 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34422 possibly allocate from heap instead of stack.
34423 * stdio-common/bug-vfprintf-nargs.c: New file.
34424 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34425
c6922934
AS
344262012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34427
34428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34429
bc957d53
MP
344302012-03-03 Marek Polacek <polacek@redhat.com>
34431
34432 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34433 * math/math_private.h: Likewise.
34434 * stdlib/tst-strtod.c: Likewise.
34435 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34436 * sysdeps/x86_64/bits/atomic.h: Likewise.
34437
6358490d
DM
344382012-03-02 David S. Miller <davem@davemloft.net>
34439
34440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34444 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34445 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34446 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34447 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34448
01ae168d
RM
344492012-03-02 Roland McGrath <roland@hack.frob.com>
34450
d9a17c07
RM
34451 [BZ #13792]
34452 * manual/examples/README: New file, says the example source files
34453 can be used under GPL>=2.
34454 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34455 line containing just "*/".
34456 * manual/examples/add.c: Add copyright header (GPL>=2).
34457 * manual/examples/argp-ex1.c: Likewise.
34458 * manual/examples/argp-ex2.c: Likewise.
34459 * manual/examples/argp-ex3.c: Likewise.
34460 * manual/examples/argp-ex4.c: Likewise.
34461 * manual/examples/atexit.c: Likewise.
34462 * manual/examples/db.c: Likewise.
34463 * manual/examples/dir.c: Likewise.
34464 * manual/examples/dir2.c: Likewise.
34465 * manual/examples/execinfo.c: Likewise.
34466 * manual/examples/filecli.c: Likewise.
34467 * manual/examples/filesrv.c: Likewise.
34468 * manual/examples/fmtmsgexpl.c: Likewise.
34469 * manual/examples/genpass.c: Likewise.
34470 * manual/examples/inetcli.c: Likewise.
34471 * manual/examples/inetsrv.c: Likewise.
34472 * manual/examples/isockad.c: Likewise.
34473 * manual/examples/longopt.c: Likewise.
34474 * manual/examples/memopen.c: Likewise.
34475 * manual/examples/memstrm.c: Likewise.
34476 * manual/examples/mkfsock.c: Likewise.
34477 * manual/examples/mkisock.c: Likewise.
34478 * manual/examples/mygetpass.c: Likewise.
34479 * manual/examples/pipe.c: Likewise.
34480 * manual/examples/popen.c: Likewise.
34481 * manual/examples/rprintf.c: Likewise.
34482 * manual/examples/search.c: Likewise.
34483 * manual/examples/select.c: Likewise.
34484 * manual/examples/setjmp.c: Likewise.
34485 * manual/examples/sigh1.c: Likewise.
34486 * manual/examples/sigusr.c: Likewise.
34487 * manual/examples/stpcpy.c: Likewise.
34488 * manual/examples/strdupa.c: Likewise.
34489 * manual/examples/strftim.c: Likewise.
34490 * manual/examples/strncat.c: Likewise.
34491 * manual/examples/subopt.c: Likewise.
34492 * manual/examples/swapcontext.c: Likewise.
34493 * manual/examples/termios.c: Likewise.
34494 * manual/examples/testopt.c: Likewise.
34495 * manual/examples/testpass.c: Likewise.
34496 * manual/examples/timeval_subtract.c: Likewise.
34497
01ae168d
RM
34498 [BZ #13792]
34499 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34500 function to ...
34501 * manual/timeval_subtract.c.texi: ... here, new file.
34502
49efa33d
DM
345032012-03-02 David S. Miller <davem@davemloft.net>
34504
34505 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34506
28afd92d
JM
345072012-03-02 Joseph Myers <joseph@codesourcery.com>
34508
804360ed
JM
34509 [BZ #3976]
34510 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34511 (__sin): Save and restore rounding mode and use round-to-nearest
34512 for all computations.
34513 (__cos): Save and restore rounding mode and use round-to-nearest
34514 for all computations.
34515 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34516 <fenv.h>.
34517 (tan): Save and restore rounding mode and use round-to-nearest for
34518 all computations.
34519 * math/libm-test.inc (cos_test_tonearest): New function.
34520 (cos_test_towardzero): Likewise.
34521 (cos_test_downward): Likewise.
34522 (cos_test_upward): Likewise.
34523 (sin_test_tonearest): Likewise.
34524 (sin_test_towardzero): Likewise.
34525 (sin_test_downward): Likewise.
34526 (sin_test_upward): Likewise.
34527 (tan_test_tonearest): Likewise.
34528 (tan_test_towardzero): Likewise.
34529 (tan_test_downward): Likewise.
34530 (tan_test_upward): Likewise.
34531 (main): Call the new functions.
34532 * sysdeps/i386/fpu/libm-test-ulps: Update.
34533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34534
a6d06d7b
JM
34535 [BZ #10135]
34536 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34537 small n, then large n, before computing and testing k+n.
34538 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34540 Likewise.
34541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34542 Likewise.
34543 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34544 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34545 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34546 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34548 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34549 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34550 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34551 * math/libm-test.inc (scalbn_test): Add more tests.
34552 (scalbln_test): Likewise.
34553
07e12bb3
JM
34554 * manual/filesys.texi (mode_t): Describe constraints on size and
34555 signedness, not exact equivalence to a particular type.
34556 (ino_t): Likewise.
34557 (ino64_t): Likewise.
34558 (dev_t): Likewise.
34559 (nlink_t): Likewise.
34560 (blkcnt_t): Likewise.
34561 (blkcnt64_t): Likewise.
34562 * manual/llio.texi (off_t): Likewise.
34563
28afd92d
JM
34564 [BZ #3976]
34565 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34566 (__ieee754_exp): Save and restore rounding mode and use
34567 round-to-nearest for all computations.
34568 * math/libm-test.inc (exp_test_tonearest): New function.
34569 (exp_test_towardzero): Likewise.
34570 (exp_test_downward): Likewise.
34571 (exp_test_upward): Likewise.
34572 (main): Call the new functions.
34573 * sysdeps/i386/fpu/libm-test-ulps: Update.
34574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34575
b1eeb65d
CD
345762012-03-01 Chris Demetriou <cgd@google.com>
34577
34578 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34579 have predictable order.
34580
53362a4b
DM
345812012-03-01 David S. Miller <davem@davemloft.net>
34582
3c969083
DM
34583 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34584
759707de
DM
34585 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34586 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34587 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34588 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34589
dfdb8ff2
DM
34590 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34591 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34592 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34594 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34595 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34596 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34597 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34598 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34599
ead89f96
DM
34600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34601
7f66bd07
DM
34602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34603 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34604 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34605
53362a4b
DM
34606 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34608 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34609 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34610 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34613 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34614 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34615 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34616 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34620 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34622 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34623 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34624 * sysdeps/sparc/elf/configure: Regenerated.
34625
7b1902cb
JM
346262012-03-01 Joseph Myers <joseph@codesourcery.com>
34627
bec039bc
JM
34628 * configure.in (AS, LD): Require binutils 2.20 or later.
34629 * configure: Regenerated.
34630 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34631 as required minimum version.
34632 * INSTALL: Regenerated.
34633
7b1902cb
JM
34634 [BZ #2541]
34635 [BZ #4108]
34636 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34637 before squaring exponent.
34638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34639 bottom long double and 27 bits of top long double before squaring
34640 exponent.
34641 * math/libm-test.inc (erfc_test): Add more tests.
34642 * sysdeps/i386/fpu/libm-test-ulps: Update.
34643 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34645
f775c276
KT
346462012-03-01 Kai Tietz <ktietz@redhat.com>
34647
34648 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34649 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34650 containing bit-fields.
34651 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34652 * soft-fp/single.h (_FP_UNION_S): Likewise.
34653 * soft-fp/double.h (_FP_UNION_D): Likewise.
34654
5b8a4d4a
JM
346552012-02-29 Joseph Myers <joseph@codesourcery.com>
34656
0bab47b6
JM
34657 [BZ #13786]
34658 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34659 not include ../strcmp.S.
34660 [USE_AS_STRNCASECMP_L]: Likewise.
34661 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34662 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34663 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34664 (__strncasecmp_l_ia32): Define as alias to
34665 __strncasecmp_l_nonascii.
34666
0fcad3e2
JM
34667 [BZ #5794]
34668 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34669 * sysdeps/i386/fpu/libm-test-ulps: Update.
34670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34671
5b8a4d4a
JM
34672 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34674
8fdceb2e
JL
346752012-02-29 Jeff Law <law@redhat.com>
34676
34677 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34678 out of bounds read.
34679
1f393a11
MP
346802012-02-29 Marek Polacek <polacek@redhat.com>
34681
34682 [BZ #13706]
34683 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34684 * elf/Makefile: Add rules to run tst-unused-dep.out.
34685
8847f037
DM
346862012-02-28 David S. Miller <davem@davemloft.net>
34687
34688 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34689 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34690 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34691 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34692 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34693 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34694
169d7f11
JM
346952012-02-29 Joseph Myers <joseph@codesourcery.com>
34696
34697 * math/libm-test.inc (llround_test): Move one test from
34698 lround_test. Use TEST_f_L in moved test.
34699 (lround_test): Move misplaced test to llround_test. Add testcase
34700 from bug 2561.
34701
39adf059
UD
347022012-02-28 Ulrich Drepper <drepper@gmail.com>
34703
34704 * sysdeps/x86_64/fpu/e_expf.S: New file.
34705 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34706
71b5d1c5
SB
347072012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34708
34709 [BZ #13637]
34710 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34711 of remain_len that may cause incomplete multi-byte character and
34712 false match.
34713 * posix/bug-regex33.c: New file.
34714 * posix/Makefile (tests): Add bug-regex33.
34715
1f77f049
JM
347162012-02-28 Joseph Myers <joseph@codesourcery.com>
34717
34718 * manual/macros.texi: New file.
34719 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34720 * manual/libc.texinfo: Include macros.texi.
34721 * manual/creatute.texi: Likewise.
34722 * manual/install.texi: Likewise.
34723 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34724 @glibcadj{} in references to the GNU C Library.
34725 * manual/charset.texi: Likewise.
34726 * manual/conf.texi: Likewise.
34727 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34728 when not using those macros.
34729 * manual/creature.texi: Likewise.
34730 * manual/crypt.texi: Likewise.
34731 * manual/errno.texi: Likewise.
34732 * manual/filesys.texi: Likewise.
34733 * manual/header.texi: Likewise.
34734 * manual/install.texi: Likewise.
34735 * manual/intro.texi: Likewise.
34736 * manual/io.texi: Likewise.
34737 * manual/job.texi: Likewise.
34738 * manual/lang.texi: Likewise.
34739 * manual/libc.texiinfo: Likewise.
34740 * manual/llio.texi: Likewise.
34741 * manual/locale.texi: Likewise.
34742 * manual/maint.texi: Likewise.
34743 * manual/math.texi: Likewise.
34744 * manual/memory.texi: Likewise.
34745 * manual/message.texi: Likewise.
34746 * manual/nss.texi: Likewise.
34747 * manual/pattern.texi: Likewise.
34748 * manual/process.texi: Likewise.
34749 * manual/resource.texi: Likewise.
34750 * manual/search.texi: Likewise.
34751 * manual/setjmp.texi: Likewise.
34752 * manual/signal.texi: Likewise.
34753 * manual/socket.texi: Likewise.
34754 * manual/startup.texi: Likewise.
34755 * manual/stdio.texi: Likewise.
34756 * manual/string.texi: Likewise.
34757 * manual/sysinfo.texi: Likewise.
34758 * manual/syslog.texi: Likewise.
34759 * manual/terminal.texi: Likewise.
34760 * manual/time.texi: Likewise.
34761 * manual/users.texi: Likewise.
34762 * INSTALL: Regenerated.
34763 * NOTES: Regenerated.
d40c5d54 34764 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34765
450bf206
AS
347662012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34767
34768 * include/dirent.h: Include <dirstream.h> before
34769 <dirent/dirent.h>.
34770
741a235b
DM
347712012-02-28 David S. Miller <davem@davemloft.net>
34772
34773 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34774 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34775 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34776 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34777
d6b5aa58
DM
347782012-02-27 David S. Miller <davem@davemloft.net>
34779
1aff59a3
DM
34780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34782 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34783 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34784
d6b5aa58
DM
34785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34786 frame pointer instead of stack pointer relative arg slot.
34787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34788 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34789 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34790
433f48bf
CD
347912012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34792
34793 [BZ #3992]
34794 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34795
d674b76d
DM
347962012-02-27 David S. Miller <davem@davemloft.net>
34797
34798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34802 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34803 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34804 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34805 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34806
0e7727f7
JM
348072012-02-27 Joseph Myers <joseph@codesourcery.com>
34808
34809 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34810 later. Allow versions 5-9.
43be4ca2 34811 * configure: Regenerated.
0e7727f7
JM
34812 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34813 required minimum version and 4.6 as recommended version. Do not
34814 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34815 * INSTALL: Regenerated.
0e7727f7 34816
a78bc654
DM
348172012-02-27 David S. Miller <davem@davemloft.net>
34818
428d5830
DM
34819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34823 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34824 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34825 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34826 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34827
a78bc654
DM
34828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34829 manipulate bits before adding and subtracting TWO112[sx].
34830 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34831
4579f81c
RM
348322012-02-27 Roland McGrath <roland@hack.frob.com>
34833
36c8acb4
RM
34834 [BZ #13775]
34835 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34836 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34837 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34838 being in POSIX, because they are in 1003.1-2008.
34839
84ad622b
RM
34840 * rt/tst-aio.c: Include <fcntl.h>.
34841 * rt/tst-aio7.c: Likewise.
34842 * rt/tst-aio64.c: Likewise.
34843
4579f81c
RM
34844 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34845
abd923db
JM
348462012-02-27 Joseph Myers <joseph@codesourcery.com>
34847
34848 * manual/install.texi (--with-headers): Describe headers as
34849 interface headers, not private headers.
34850 (Specific advice for GNU/Linux systems): Describe use of headers
34851 from "make headers_install", not private headers from older
34852 kernels.
43be4ca2 34853 * INSTALL: Regenerated.
abd923db
JM
34854 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34855 Change to 2.6.19.
34856 * sysdeps/unix/sysv/linux/configure: Regenerated.
34857
6664049b
JM
34858 * manual/llio.texi (fclean): Remove documentation.
34859
bb8b6697
JM
34860 * manual/Makefile (libc-texi-generated): New variable. Include
34861 version.texi.
34862 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34863 $(libc-texi-generated), not duplicated list of files.
34864 (version.texi, stamp-version): New rules.
34865 (realclean): Remove $(libc-texi-generated), not individual files
34866 from that list. Do not remove dir-add.texinfo.
34867 * manual/libc.texinfo: Comment out uses of edition numbers and
34868 references to printed manual. Remove last-updated dates.
34869 (EDITION): Comment out.
34870 (ISBN): Likewise.
34871 (VERSION, UPDATED): Remove.
34872 (version.texi): Include.
34873
12e5c3b9
AS
348742012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34875
34876 * sysdeps/posix/spawni.c: Include <signal.h>.
34877 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34878 * sysdeps/pthread/aio_fsync.c: Likewise.
34879
4efeffc1 348802012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34881
ba63ba08
UD
34882 * conform/Makefile (tests): Run only when not cross-compiling and
34883 when fast-check is not defined.
34884
d94a4670
UD
34885 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34886 * conform/data/limits.h-data: Fixes for POSIX2008.
34887 * conform/run-conformtest.sh: Run all tests.
34888 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34889 headers.
34890 * include/bits/dlfcn.h: Likewise.
34891 * include/langinfo.h: Likewise.
34892 * include/monetary.h: Likewise.
34893 * include/sys/poll.h: Likewise.
34894
34895 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34896 for __USE_GNU.
34897 * posix/spawn.h: Define __need_sigset_t.
34898 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34899 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34900 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34901 to get sigevent_t only.
34902 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34903 only for __USE_GNU.
34904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34905 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34906 process_vm_writev only for __USE_GNU.
34907 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34908
34909 * conform/Makefile: For now ignore errors from run-conformtest.
34910 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34911 POSIX to avoid namespace pollution. Don't prepend headers.
34912 * conform/data/aio.h-data: Fixes for POSIX testing.
34913 * conform/data/fcntl.h-data: Likewise.
34914 * conform/data/glob.h-data: Likewise.
34915 * conform/data/grp.h-data: Likewise.
34916 * conform/data/pthread.h-data: Likewise.
34917 * conform/data/pwd.h-data: Likewise.
34918 * conform/data/signal.h-data: Likewise.
34919 * conform/data/spawn.h-data: Likewise.
34920 * conform/data/stdio.h-data: Likewise.
34921 * conform/data/stdlib.h-data: Likewise.
34922 * conform/data/stropts.h-data: Likewise.
34923 * conform/data/sys/mman.h-data: Likewise.
34924 * conform/data/sys/stat.h-data: Likewise.
34925 * conform/data/sys/types.h-data: Likewise.
34926 * conform/data/sys/wait.h-data: Likewise.
34927 * conform/data/time.h-data: Likewise.
34928 * conform/data/unistd.h-data: Likewise.
34929 * conform/data/utime.h-data: Likewise.
34930
34931 * io/sys/stat.h: fchmod was always in POSIX.
34932 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34933 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34934 * rt/aio.h: Define __need_timespec before including <time.h>.
34935 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34936 struct. Add forward declaration of pthread_attr_t and use it in
34937 sigevent.
34938 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34939 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34940 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34941 always remove CLK_TCK definition.
34942
c20105c3
AS
349432012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34944
34945 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34946
7a270350
UD
349472012-02-25 Ulrich Drepper <drepper@gmail.com>
34948
31341567
UD
34949 * conform/run-conformtest.sh: New file.
34950 * conform/Makefile: Run run-conformtest for tests.
34951 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34952 support.
34953
34954 * conform/data/uchar.h-data: New file.
34955 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34956 * conform/data/arpa/inet.h-data: Likewise.
34957 * conform/data/assert.h-data: Likewise.
34958 * conform/data/complex.h-data: Likewise.
34959 * conform/data/cpio.h-data: Likewise.
34960 * conform/data/ctype.h-data: Likewise.
34961 * conform/data/dirent.h-data: Likewise.
34962 * conform/data/dlfcn.h-data: Likewise.
34963 * conform/data/errno.h-data: Likewise.
34964 * conform/data/fcntl.h-data: Likewise.
34965 * conform/data/float.h-data: Likewise.
34966 * conform/data/fmtmsg.h-data: Likewise.
34967 * conform/data/fnmatch.h-data: Likewise.
34968 * conform/data/ftw.h-data: Likewise.
34969 * conform/data/glob.h-data: Likewise.
34970 * conform/data/grp.h-data: Likewise.
34971 * conform/data/iconv.h-data: Likewise.
34972 * conform/data/inttypes.h-data: Likewise.
34973 * conform/data/langinfo.h-data: Likewise.
34974 * conform/data/libgen.h-data: Likewise.
34975 * conform/data/limits.h-data: Likewise.
34976 * conform/data/locale.h-data: Likewise.
34977 * conform/data/math.h-data: Likewise.
34978 * conform/data/monetary.h-data: Likewise.
34979 * conform/data/mqueue.h-data: Likewise.
34980 * conform/data/ndbm.h-data: Likewise.
34981 * conform/data/net/if.h-data: Likewise.
34982 * conform/data/netdb.h-data: Likewise.
34983 * conform/data/netinet/in.h-data: Likewise.
34984 * conform/data/nl_types.h-data: Likewise.
34985 * conform/data/poll.h-data: Likewise.
34986 * conform/data/pthread.h-data: Likewise.
34987 * conform/data/pwd.h-data: Likewise.
34988 * conform/data/regex.h-data: Likewise.
34989 * conform/data/sched.h-data: Likewise.
34990 * conform/data/search.h-data: Likewise.
34991 * conform/data/semaphore.h-data: Likewise.
34992 * conform/data/setjmp.h-data: Likewise.
34993 * conform/data/signal.h-data: Likewise.
34994 * conform/data/spawn.h-data: Likewise.
34995 * conform/data/stdarg.h-data: Likewise.
34996 * conform/data/stdio.h-data: Likewise.
34997 * conform/data/stdlib.h-data: Likewise.
34998 * conform/data/string.h-data: Likewise.
34999 * conform/data/strings.h-data: Likewise.
35000 * conform/data/stropts.h-data: Likewise.
35001 * conform/data/sys/ipc.h-data: Likewise.
35002 * conform/data/sys/mman.h-data: Likewise.
35003 * conform/data/sys/msg.h-data: Likewise.
35004 * conform/data/sys/resource.h-data: Likewise.
35005 * conform/data/sys/select.h-data: Likewise.
35006 * conform/data/sys/sem.h-data: Likewise.
35007 * conform/data/sys/shm.h-data: Likewise.
35008 * conform/data/sys/socket.h-data: Likewise.
35009 * conform/data/sys/stat.h-data: Likewise.
35010 * conform/data/sys/statvfs.h-data: Likewise.
35011 * conform/data/sys/time.h-data: Likewise.
35012 * conform/data/sys/timeb.h-data: Likewise.
35013 * conform/data/sys/times.h-data: Likewise.
35014 * conform/data/sys/types.h-data: Likewise.
35015 * conform/data/sys/uio.h-data: Likewise.
35016 * conform/data/sys/un.h-data: Likewise.
35017 * conform/data/sys/utsname.h-data: Likewise.
35018 * conform/data/sys/wait.h-data: Likewise.
35019 * conform/data/syslog.h-data: Likewise.
35020 * conform/data/tar.h-data: Likewise.
35021 * conform/data/termios.h-data: Likewise.
35022 * conform/data/utime.h-data: Likewise.
35023 * conform/data/utmpx.h-data: Likewise.
35024 * conform/data/varargs.h-data: Likewise.
35025 * conform/data/wchar.h-data: Likewise.
35026 * conform/data/wctype.h-data: Likewise.
35027 * conform/data/wordexp.h-data: Likewise.
35028
35029 * include/stropts.h: New file.
35030 * include/uchar.h: New file.
35031 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35032 * include/assert.h: Likewise.
35033 * include/ctype.h: Likewise.
35034 * include/dirent.h: Likewise.
35035 * include/dlfcn.h: Likewise.
35036 * include/fcntl.h: Likewise.
35037 * include/fnmatch.h: Likewise.
35038 * include/glob.h: Likewise.
35039 * include/grp.h: Likewise.
35040 * include/libio.h: Likewise.
35041 * include/locale.h: Likewise.
35042 * include/math.h: Likewise.
35043 * include/net/if.h: Likewise.
35044 * include/netdb.h: Likewise.
35045 * include/netinet/in.h: Likewise.
35046 * include/pthread.h: Likewise.
35047 * include/pwd.h: Likewise.
35048 * include/regex.h: Likewise.
35049 * include/sched.h: Likewise.
35050 * include/search.h: Likewise.
35051 * include/setjmp.h: Likewise.
35052 * include/signal.h: Likewise.
35053 * include/stdio.h: Likewise.
35054 * include/stdlib.h: Likewise.
35055 * include/string.h: Likewise.
35056 * include/sys/cdefs.h: Likewise.
35057 * include/sys/mman.h: Likewise.
35058 * include/sys/msg.h: Likewise.
35059 * include/sys/resource.h: Likewise.
35060 * include/sys/select.h: Likewise.
35061 * include/sys/socket.h: Likewise.
35062 * include/sys/stat.h: Likewise.
35063 * include/sys/statvfs.h: Likewise.
35064 * include/sys/time.h: Likewise.
35065 * include/sys/times.h: Likewise.
35066 * include/sys/uio.h: Likewise.
35067 * include/sys/utsname.h: Likewise.
35068 * include/sys/wait.h: Likewise.
35069 * include/termios.h: Likewise.
35070 * include/time.h: Likewise.
35071 * include/ulimit.h: Likewise.
35072 * include/unistd.h: Likewise.
35073 * include/utime.h: Likewise.
35074 * include/wchar.h: Likewise.
35075 * include/wctype.h: Likewise.
35076 * include/wordexp.h: Likewise.
35077
35078 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35079
7a270350
UD
35080 * time/time.h: TIME_UTC must be a macro.
35081 Make timespec_get available for ISO C11 only as well.
35082
7724defc
UD
350832012-02-24 Ulrich Drepper <drepper@gmail.com>
35084
35085 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35086 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35087
6b1d1d46
JM
350882012-02-24 Joseph Myers <joseph@codesourcery.com>
35089
35090 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 35091
0f8bbd69
JM
350922012-02-24 Joseph Myers <joseph@codesourcery.com>
35093
35094 * manual/texinfo.tex: Update to version 2012-01-19.16.
35095
66ab80bc
JM
350962012-02-24 Joseph Myers <joseph@codesourcery.com>
35097
35098 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35099
74981cc5
RM
351002012-02-24 Roland McGrath <roland@hack.frob.com>
35101
ee968201
RM
35102 [BZ #13738]
35103 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35104 * manual/fdl-1.3.texi: New file.
35105 * manual/fdl-1.1.texi: File removed.
35106
74981cc5
RM
35107 [BZ #13738]
35108 * manual/libc.texinfo (FDL_VERSION): New @set.
35109 Use it for mention of FDL in cover text.
35110 (Documentation License): Use it in @include file name.
35111
7bb764bc
JM
351122012-02-22 Joseph Myers <joseph@codesourcery.com>
35113 Roland McGrath <roland@hack.frob.com>
35114
35115 [BZ #5461]
57f41c40
AS
35116 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35117 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35118 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35119 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35120 name.
35121 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35122
6cbeae47
JM
351232012-02-22 Joseph Myers <joseph@codesourcery.com>
35124
35125 [BZ #2547]
35126 [BZ #11365]
35127 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35128 manipulate bits before adding and subtracting TWO23[sx].
35129 * math/libm-test.inc (nearbyint_test): Add more tests.
35130
fe45ce09
JM
351312012-02-22 Joseph Myers <joseph@codesourcery.com>
35132
35133 [BZ #2548]
35134 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35135 bits before adding and subtracting TWO23[sx].
35136 * math/libm-test.inc (rint_test): Add more tests.
35137 (rint_test_tonearest): Likewise.
35138 (rint_test_towardzero): Likewise.
35139 (rint_test_downward): Likewise.
35140 (rint_test_upward: Likewise.
35141
ff3b3d82
JM
351422012-02-22 Joseph Myers <joseph@codesourcery.com>
35143
35144 [BZ #10110]
35145 * include/stdc-predef.h: New file. Extracted from features.h.
35146 * include/features.h: Include stdc-predef.h.
35147 * Makefile (headers): Add stdc-predef.h.
35148 * CONFORMANCE (Compiler limitations): Update.
35149
ef0aab35
JM
351502012-02-22 Joseph Myers <joseph@codesourcery.com>
35151
35152 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35153
58639409
DM
351542012-02-21 David S. Miller <davem@davemloft.net>
35155
35156 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35157 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35158
c0e70b25
DM
351592012-02-20 David S. Miller <davem@davemloft.net>
35160
35161 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35162 using a normal save/restore sequence, rather than allocating a
35163 dummy stack frame just to store a frame pointer and restore.
35164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35165
fb06851d
JM
351662012-02-21 Joseph Myers <joseph@codesourcery.com>
35167
35168 * manual/install.texi: Fix stray word in line-wrapped comment.
35169
7a8b71c3
DM
351702012-02-20 David S. Miller <davem@davemloft.net>
35171
d510c123
DM
35172 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35173 both binutils and gcc support GOTDATA.
35174
0722d7c2
DM
35175 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35176 "rd %pc" in the PIC register setup sequences.
35177
3d2b3019
DM
35178 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35179 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35180 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35181 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35182 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35187 (SYSCALL_ERROR_HANDLER): Likewise.
35188 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35189 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35191 (SYSCALL_ERROR_HANDLER): Likewise.
35192
c80098a9
DM
35193 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35194 (HAVE_GCC_GOTDATA): New.
35195 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35196 relocation support in both binutils and gcc.
35197 * sysdeps/sparc/elf/configure: Regenerate.
35198
3a2545a0
DM
35199 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35200 * sysdeps/sparc/sparc32/elf/configure: Delete.
35201 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35202 * sysdeps/sparc/sparc64/elf/configure: Delete.
35203 * sysdeps/sparc/elf/configure.in: New file.
35204 * sysdeps/sparc/elf/configure: Generate.
35205
7a8b71c3
DM
35206 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35207 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35209 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35210 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35211
f1e86fca
JM
352122012-02-21 Joseph Myers <joseph@codesourcery.com>
35213
35214 * manual/install.texi: Do not mention specific glibc version
35215 numbers.
35216 * manual/libc.texinfo (VERSION, UPDATED): Update.
35217 (@copying): Use @copyright{} and range of years.
35218
0e7dfaef
JM
352192012-02-21 Joseph Myers <joseph@codesourcery.com>
35220
35221 [BZ #13695]
35222 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35223 [crti.S not in sysdirs] (generated): Do not append.
35224 [crti.S not in sysdirs] (omit-deps): Likewise.
35225 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35226 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35227 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35228 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35229 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35230 Likewise.
35231 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35232 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35233 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35234 * csu/defs.awk: Remove file.
35235 * sysdeps/generic/initfini.c: Likewise.
35236 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35237 variable.
35238 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35239 Likewise.
35240
599af3ca
JM
352412012-02-20 Joseph Myers <joseph@codesourcery.com>
35242
35243 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35244 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35245 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35247 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35248 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35249 <bits/epoll.h>.
35250 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35251 (__EPOLL_PACKED): Define to empty if not defined by
35252 <bits/epoll.h>.
35253 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35255 bits/epoll.h.
35256
0e499750
JM
352572012-02-20 Joseph Myers <joseph@codesourcery.com>
35258
35259 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35260 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35261 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35262 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35263 <bits/timerfd.h>.
35264 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35266 bits/timerfd.h.
35267
5ad91f6e
JM
352682012-02-20 Joseph Myers <joseph@codesourcery.com>
35269
35270 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35271 in C locale.
35272 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35273 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35274 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35276
06b99b02
AJ
352772012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35278
35279 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35280 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35281
7638c0fd
AS
352822012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35283
35284 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35285 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35286 defined.
35287 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35288 Likewise.
35289 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35290 entry for 2.16.
35291
92221550
AJ
352922012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35293
35294 * math/w_acos.c: Use non-signaling floating-point comparisons.
35295 * math/w_acosf.c: Likewise.
35296 * math/w_acosh.c: Likewise.
35297 * math/w_acoshf.c: Likewise.
35298 * math/w_acoshl.c: Likewise.
35299 * math/w_acosl.c: Likewise.
35300 * math/w_asin.c: Likewise.
35301 * math/w_asinf.c: Likewise.
35302 * math/w_asinl.c: Likewise.
35303 * math/w_atanh.c: Likewise.
35304 * math/w_atanhf.c: Likewise.
35305 * math/w_atanhl.c: Likewise.
35306 * math/w_exp2.c: Likewise.
35307 * math/w_exp2f.c: Likewise.
35308 * math/w_exp2l.c: Likewise.
35309 * math/w_j0.c: Likewise.
35310 * math/w_j0f.c: Likewise.
35311 * math/w_j0l.c: Likewise.
35312 * math/w_j1.c: Likewise.
35313 * math/w_j1f.c: Likewise.
35314 * math/w_j1l.c: Likewise.
35315 * math/w_jn.c: Likewise.
35316 * math/w_jnf.c: Likewise.
35317 * math/w_log.c: Likewise.
35318 * math/w_log10.c: Likewise.
35319 * math/w_log10f.c: Likewise.
35320 * math/w_log10l.c: Likewise.
35321 * math/w_log2.c: Likewise.
35322 * math/w_log2f.c: Likewise.
35323 * math/w_log2l.c: Likewise.
35324 * math/w_logf.c: Likewise.
35325 * math/w_logl.c: Likewise.
35326 * math/w_sqrt.c: Likewise.
35327 * math/w_sqrtf.c: Likewise.
35328 * math/w_sqrtl.c: Likewise.
35329 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35330 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35332 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35333 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35334
ebaf36eb
JM
353352012-02-19 Joseph Myers <joseph@codesourcery.com>
35336
35337 [BZ #9739]
35338 * manual/string.texi (strnlen): Use correct parameter name in
35339 equivalent expression.
35340
71c254a6
JM
353412012-02-19 Joseph Myers <joseph@codesourcery.com>
35342
35343 [BZ #11174]
35344 * manual/users.texi (seteuid): Consistently use neweuid for
35345 argument name.
35346
16d2c631
JM
353472012-02-19 Joseph Myers <joseph@codesourcery.com>
35348
35349 [BZ #13704]
35350 * manual/nss.texi (Services in the NSS configuration): Correct
35351 list of services in example configuration file.
35352
cd837b09
NB
353532012-02-19 Nick Bowler <nbowler@draconx.ca>
35354
35355 [BZ #11322]
35356 * manual/arith.texi: Remove statements about negative zero
35357 behaving identically to zero.
35358
02c4bbad
JM
353592012-02-18 Joseph Myers <joseph@codesourcery.com>
35360
35361 [BZ #5993]
35362 * manual/install.texi: Do not document upgrading from libc5.
35363
366842e7
JM
353642012-02-18 Joseph Myers <joseph@codesourcery.com>
35365
35366 [BZ #4596]
35367 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35368
dd54084d
DM
353692012-02-18 David S. Miller <davem@davemloft.net>
35370
35371 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35372 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35373 %o7 across the call.
35374 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35375 instead.
35376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35377 SETUP_PIC_REG_LEAF.
35378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35379 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35380 * sysdeps/sparc/crtn.S: Likewise.
35381
2bcc53a3
UD
353822012-02-17 Ulrich Drepper <drepper@gmail.com>
35383
35384 * aout/Makefile: Remove.
35385
09c093b5
RK
353862012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35387
35388 [BZ #13058]
35389 * manual/examples/argp-ex1.c (main): Format definition in GNU
35390 style.
35391 * manual/examples/argp-ex2.c (main): Likewise.
35392 * manual/examples/argp-ex3.c (main): Likewise.
35393 * manual/examples/argp-ex4.c (main): Likewise.
35394 * manual/examples/longopt.c (main): Use new-style prototype
35395 definition.
35396 * manual/examples/strncat.c (main): Specify return type and use
35397 (void) for arguments.
35398 * manual/examples/subopt.c (main): Use char **argv argument.
35399
2ee633a2
JM
354002012-02-17 Joseph Myers <joseph@codesourcery.com>
35401
35402 [BZ #5077]
35403 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35404 rounding modes.
35405
0520adde
FB
354062012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35407
35408 [BZ #6907]
35409 * manual/string.texi (strchr): Change when strchrnul is
35410 recommended.
35411
3f4081cd
DGM
354122012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35413
35414 [BZ #174]
35415 * manual/locale.texi (setlocale): Document LOCPATH.
35416
d1b10e78
JM
354172012-02-17 Joseph Myers <joseph@codesourcery.com>
35418
35419 [BZ #10210]
35420 * manual/process.texi (execle): Move @dots{} before last argument.
35421
79c6869c
PB
354222012-02-17 Paul Bolle <pebolle@tiscali.nl>
35423
35424 [BZ #12047]
35425 * manual/charset.texi (Generic Charset Conversion): Fix typo
35426 (LC_TYPE -> LC_CTYPE).
35427
cc6e48bc
NB
354282012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35429
35430 [BZ #5805]
35431 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35432 (scalbnf): Likewise.
35433 (scalbnl): Likewise.
35434 (scalbln): Likewise.
35435 (scalblnf): Likewise.
35436 (scalblnl): Likewise.
35437 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35438 (vwarnx): Likewise.
35439 (verr): Likewise.
35440 (verrx): Likewise.
35441 * manual/filesys.texi (telldir): Use braces around return type.
35442 * manual/llio.texi (mmap): Add space after comma.
35443 (mmap64): Likewise.
35444 * manual/math.texi (jn): Use @var{} on parameter names.
35445 (jnf): Likewise.
35446 (jnl): Likewise.
35447 (yn): Likewise.
35448 (ynf): Likewise.
35449 (ynl): Likewise.
35450 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35451 line.
35452 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35453 "...".
35454 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35455 (sched_get_priority_max): Likewise.
35456 * manual/signal.texi (sigvec): Add space after comma.
35457 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35458 names.
35459 (if_indextoname): Likewise.
35460 (if_freenameindex): Likewise.
35461 (sendto): Use ',' instead of '.' in prototype.
35462 * manual/startup.texi (syscall): Use @dots{} instead of literal
35463 "...".
35464 * manual/stdio.texi (__fpending): Separate initial words of
35465 paragraph from @deftypefun line.
35466 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35467 "...".
35468 (vsyslog): Use @var{} on parameter names.
35469 * manual/terminal.texi (stty): Use @var{} on parameter names.
35470 * manual/users.texi (getutmp): Use @var{} on parameter names.
35471 (getutmpx): Likewise.
35472
5b23062f
JM
354732012-02-17 Joseph Myers <joseph@codesourcery.com>
35474
35475 [BZ #6884]
35476 * manual/stdio.texi (fopen): Fix typos in description of
35477 ",ccs=STRING".
35478
8dee4833
AJ
354792012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35480
35481 [BZ #4026]
35482 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35483 get clock_id definition.
35484
9078ce93
TS
354852012-02-17 Thomas Schwinge <thomas@schwinge.name>
35486
35487 [BZ #4822]
35488 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35489 (madvise): Cast every argument to void on its own.
35490
3835c55f
JM
354912012-02-17 Joseph Myers <joseph@codesourcery.com>
35492
35493 [BZ #9902]
35494 * manual/startup.texi (Exit Status): Fix typo.
35495
35c47e37
JM
354962012-02-17 Joseph Myers <joseph@codesourcery.com>
35497
35498 [BZ #10140]
35499 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35500 * manual/examples/argp-ex2.c: Likewise.
35501 * manual/examples/argp-ex3.c: Likewise.
35502
e3b69ca7
RH
355032012-02-16 Richard Henderson <rth@redhat.com>
35504
35505 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35506 * sysdeps/s390/s390-32/initfini.c: Remove.
35507 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35508 * sysdeps/s390/s390-64/initfini.c: Remove.
35509
df83af67
KK
355102012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35511
35512 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35513 compiler output for sysdeps/generic/initfini.c.
35514 * sysdeps/sh/elf/initfini.c: Remove file.
35515
f63f3380
DM
355162012-02-16 David S. Miller <davem@davemloft.net>
35517
fb59b3a4
DM
35518 [BZ #11494]
35519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35520
f63f3380
DM
35521 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35522 * sysdeps/sparc/crti.S: New file.
35523 * sysdeps/sparc/crtn.S: New file.
35524 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35525 * sysdeps/sparc/sparc64/Makefile: Likewise.
35526
df6a4a4a
MF
355272012-02-15 Mike Frysinger <vapier@gentoo.org>
35528
6dd8f3dc 35529 [BZ #3335]
df6a4a4a
MF
35530 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35531
1cac7236
RM
355322012-02-15 Roland McGrath <roland@hack.frob.com>
35533
d2c736f8
RM
35534 [BZ #4822]
35535 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35536
1cac7236
RM
35537 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35538 (write, read, close): Likewise.
35539 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35540
8e475601
JM
355412012-02-15 Joseph Myers <joseph@codesourcery.com>
35542
35543 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35544 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35545 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35546 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35547 <bits/signalfd.h>.
35548 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35550 bits/signalfd.h.
35551
ed656b40
MP
355522012-02-14 Marek Polacek <polacek@redhat.com>
35553
35554 * sysdeps/x86_64/crti.S: New file.
35555 * sysdeps/x86_64/crtn.S: New file.
35556 * sysdeps/x86_64/elf/initfini.c: Remove file.
35557
2a979d3a
JM
355582012-02-13 Joseph Myers <joseph@codesourcery.com>
35559
35560 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35561 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35562 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35563 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35564 <bits/inotify.h>.
35565 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35567 bits/inotify.h.
35568
2a418ac3
JM
355692012-02-13 Joseph Myers <joseph@codesourcery.com>
35570
35571 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35572 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35573 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35574 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35575 <bits/eventfd.h>.
35576 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35578 bits/eventfd.h.
35579
fb779be7
TS
355802012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35581
e19e83c5
RM
35582 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35583 __feraiseexcept instead of feraiseexcept.
7c35ffed 35584
fb779be7
TS
35585 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35586 nanosleep invocations.
35587 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35588 strings, and add error checking for a nanosleep invocations.
35589
59ba27a6
PE
355902012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35591
35592 Replace FSF snail mail address with URLs, as per GNU coding standards.
35593 Most of the snail mail addresses were wrong anyway, and omitting
35594 them makes the source code easier to maintain. Almost all of the
35595 changes are to license notices and to locale LC_IDENTIFICATION
35596 addresses, except for this one:
35597 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35598 not its snail mail address.
35599
57b957eb
RH
356002012-02-09 Richard Henderson <rth@twiddle.net>
35601
af850b1c
RH
35602 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35603 of kernel-features.h.
35604
57b957eb
RH
35605 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35606
6b73181a
MP
356072012-02-08 Marek Polacek <polacek@redhat.com>
35608
35609 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35610 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35611 * sysdeps/gnu/_G_config.h: Likewise.
35612 * sysdeps/generic/_G_config.h: Likewise.
35613
26ecc33a
AS
356142012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35615
6c6dbc63
AS
35616 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35617 tests.
35618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35619
e216c012
AS
35620 * sysdeps/powerpc/powerpc32/crti.S: New file.
35621 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35622 * sysdeps/powerpc/powerpc64/crti.S: New file.
35623 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35624
26ecc33a
AS
35625 * Makeconfig (have-initfini): Don't set.
35626 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35627 * configure.in (nopic_initfini): Don't substitute.
35628 * config.h.in (HAVE_INITFINI): Don't #undef.
35629 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35630 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35631
3add8e13
JM
356322012-02-08 Joseph Myers <joseph@codesourcery.com>
35633
35634 Support crti.S and crtn.S provided directly by architectures.
35635 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35636 [crti.S in sysdirs] (omit-deps): Likewise.
35637 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35638 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35639 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35640 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35641 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35642 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35643 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35644 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35645 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35646 compiler output for sysdeps/generic/initfini.c.
35647 * sysdeps/i386/elf/Makefile: Remove file.
35648 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35649
a22f12b4
MP
356502012-02-07 Marek Polacek <polacek@redhat.com>
35651
35652 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35653 * sysdeps/gnu/_G_config.h: Likewise.
35654 * sysdeps/mach/hurd/_G_config.h: Likewise.
35655
148cf100
MP
356562012-02-07 Marek Polacek <polacek@redhat.com>
35657
35658 * math/Makefile (tests): Add tst-CMPLX2.
35659 * math/tst-CMPLX2.c: New file.
35660
cfdc0dd7
AS
356612012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35662
84ba42c4
AS
35663 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35664
cfdc0dd7
AS
35665 * math/libm-test.inc (jn_test): Add missing L suffix.
35666
622c86f4
MP
356672012-02-06 Marek Polacek <polacek@redhat.com>
35668
35669 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35670 * sysdeps/i386/fpu/e_powf.S: Likewise.
35671 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35672 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35673 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35674 * sysdeps/i386/fpu/e_pow.S: Likewise.
35675 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35676 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35677 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35678 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35679 * sysdeps/i386/fpu/e_log2.S: Likewise.
35680 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35681 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35682 * sysdeps/i386/fpu/e_powl.S: Likewise.
35683 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35685 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35686 * sysdeps/i386/fpu/e_logl.S: Likewise.
35687 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35688 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35689 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35690 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35692 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35693 * sysdeps/i386/fpu/e_log.S: Likewise.
35694 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35695 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35696 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35697 * sysdeps/i386/fpu/e_logf.S: Likewise.
35698 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35699 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35700 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35701 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35702 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35703 * sysdeps/i386/fpu/e_log10.S: Likewise.
35704 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35705 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35706 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35707 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35709 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35710 * sysdeps/i386/asm-syntax.h: Likewise.
35711 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35712 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35713 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35714 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35715 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35716 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35717 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35718 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35719 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35720 * sysdeps/powerpc/sysdep.h: Likewise.
35721 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35722 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35723
d4a54ac6
JM
357242012-02-06 Joseph Myers <joseph@codesourcery.com>
35725
35726 [BZ #411]
35727 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35728
314054ea
JM
357292012-02-06 Joseph Myers <joseph@codesourcery.com>
35730
35731 * sysdeps/i386/sysdep.h: Include <features.h>.
35732 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35733 version.
35734
d8e0ca50
JM
357352012-02-05 Joseph Myers <joseph@codesourcery.com>
35736
35737 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35738 Define.
35739 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35740 LOAD_PIC_REG_STR.
35741
b1da7dd9
JM
357422012-02-03 Joseph Myers <joseph@codesourcery.com>
35743
35744 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35745 (SETUP_PIC_REG): Use GET_PC_THUNK.
35746 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35747 macro.
35748
9a1d9254
JM
357492012-02-03 Joseph Myers <joseph@codesourcery.com>
35750
35751 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35752 for non-PIC compilation.
35753 (SETUP_PIC_REG): Add .p2align directive.
35754 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35755 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35756 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35757 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35758 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35759 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35760 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35761 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35762 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35763 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35764 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35765 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35766 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35767 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35768 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35769 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35770 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35771 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35772 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35773 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35774 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35776 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35777 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35782 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35783 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35784 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35785 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35786 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35787 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35788 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35789 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35790 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35791 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35792 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35793 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35794 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35795
65dc3b75
JM
357962012-02-03 Joseph Myers <joseph@codesourcery.com>
35797
35798 * math/tst-CMPLX.c: Include <stdio.h>.
35799
d55bf177
JM
358002012-01-31 Joseph Myers <joseph@codesourcery.com>
35801
35802 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35803 float.
35804 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35805 * sysdeps/sparc/bits/mathdef.h: Likewise.
35806
69db4f8f
MP
358072012-01-31 Marek Polacek <polacek@redhat.com>
35808
35809 * libio/libio.h: Don't define _PARAMS.
35810 * locale/programs/config.h: Don't define PARAMS.
35811 * stdlib/strtol_l.c: Likewise.
35812 (__strtol_l): Remove PARAMS from the prototype.
35813
41b81892
UD
358142012-01-31 Ulrich Drepper <drepper@gmail.com>
35815
3b49edc0
UD
35816 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35817 names. Just use the correct names. Remove unnecessary wrapper
35818 functions.
35819 * malloc/arena.c: Likewise.
35820 * malloc/hooks.c: Likewise.
35821
41b81892
UD
35822 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35823 ARENA_TEST says not to. Simplify test for creation of a new arena.
35824 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35825
27a25b6e
UD
358262012-01-30 Ulrich Drepper <drepper@gmail.com>
35827
35828 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35829 into tail calls.
35830 (update_get_addr): New function.
35831 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35832 GET_ADDR_MODULE parameter.
35833
c8a89e7d
JM
358342012-01-30 Joseph Myers <joseph@codesourcery.com>
35835
35836 * crypt/cert.c: Remove __STDC__ conditionals.
35837 * crypt/crypt-entry.c: Likewise.
35838 * crypt/crypt_util.c: Likewise.
35839 * libio/filedoalloc.c: Likewise.
35840 * libio/fileops.c: Likewise.
35841 * libio/genops.c: Likewise.
35842 * libio/iofclose.c: Likewise.
35843 * libio/iofdopen.c: Likewise.
35844 * libio/iofopen.c: Likewise.
35845 * libio/iofopen64.c: Likewise.
35846 * libio/iogetdelim.c: Likewise.
35847 * libio/iopopen.c: Likewise.
35848 * libio/obprintf.c: Likewise.
35849 * libio/oldfileops.c: Likewise.
35850 * libio/oldiofclose.c: Likewise.
35851 * libio/oldiofdopen.c: Likewise.
35852 * libio/oldiofopen.c: Likewise.
35853 * libio/oldiopopen.c: Likewise.
35854 * libio/wfiledoalloc.c: Likewise.
35855 * libio/wgenops.c: Likewise.
35856 * locale/programs/xmalloc.c: Likewise.
35857 * misc/syslog.c: Likewise.
35858 * stdio-common/xbug.c: Likewise.
35859 * string/memchr.c: Likewise.
35860 * string/memcmp.c: Likewise.
35861 * string/memrchr.c: Likewise.
35862 * string/rawmemchr.c: Likewise.
35863 * sysdeps/posix/getcwd.c: Likewise.
35864 * time/strftime_l.c: Likewise.
35865
3b100462
JM
358662012-01-30 Joseph Myers <joseph@codesourcery.com>
35867
35868 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35869 * config.make.in (config-cflags-sse2avx): Define.
35870 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35871 Fix typo.
35872
607998af
CM
358732012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35874
35875 * scripts/config.guess: Update from upstream config git repository.
35876 * scripts/config.sub: Likewise.
35877
3601428f
CM
358782012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35879
3ac8b282
CM
35880 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35881 (EM_NUM): Update.
35882 (R_TILEPRO_*, R_TILEGX_*): New macros.
35883
e034841e
CM
35884 * scripts/firstversions.awk: Fix bug in version range handling.
35885
540d7568
CM
35886 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35887
3601428f
CM
35888 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35889
463de862
CM
35890 * include/sys/epoll.h: New file.
35891 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35892 libc_hidden_def.
35893
73139a76
UD
358942012-01-28 Ulrich Drepper <drepper@gmail.com>
35895
96bc5b45
UD
35896 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35897 Avoid unnecessary __WORDSIZE == 64 test.
35898 (fmaxf): Use VEX format if possible.
35899 (fmax): Likewise.
35900 (fminf): Likewise.
35901 (fmin): Likewise.
35902
56f6f6a2
UD
35903 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35904 * math/math_private.h: Remove libc_fegetround* and
35905 libc_fesetround*.
35906 * sysdeps/i386/configure.in: Check for -msse2avx.
35907 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35908 also if SSE2AVX is defined.
35909 Remove libc_fegetround* and libc_fesetround*.
35910 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35911 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35912 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35913 of HAS_YMM_USABLE.
35914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35919
73139a76
UD
35920 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35921
d73f93a4
AZ
359222012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35923
35924 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35925 size is not set.
35926 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35927
6ee65ed6
UD
359282012-01-27 Ulrich Drepper <drepper@gmail.com>
35929
35930 [BZ #13618]
35931 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35932 relocation.
35933 * Makeconfig (libm): Define.
35934 * elf/Makefile: Add rules to build and run tst-relsort1.
35935 * elf/tst-relsort1.c: New file.
35936 * elf/tst-relsort1mod1.c: New file.
35937 * elf/tst-relsort1mod2.c: New file.
35938
8db21882
JM
359392012-01-27 Joseph Myers <joseph@codesourcery.com>
35940
35941 * math/s_ldexp.c: Remove __STDC__ conditionals.
35942 * math/s_ldexpf.c: Likewise.
35943 * math/s_ldexpl.c: Likewise.
35944 * math/s_nextafter.c: Likewise.
35945 * math/s_nexttowardf.c: Likewise.
35946 * math/s_significand.c: Likewise.
35947 * math/s_significandf.c: Likewise.
35948 * math/s_significandl.c: Likewise.
35949 * math/w_jnl.c: Likewise.
35950 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35951 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35952 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35953 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35954 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35955 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35956 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35957 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35958 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35962 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35963 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35964 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35965 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35966 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35967 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35969 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35970 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35971 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35972 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35974 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35975 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35976 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35978 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35979 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35980 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35981 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35982 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35983 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35984 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35985 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35986 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35987 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35988 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35989 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35990 * sysdeps/ieee754/k_standard.c: Likewise.
35991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35992 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35993 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35994 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35995 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35996 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35997 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35998 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35999 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36000 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36001 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36002 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36003 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36004 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36005 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36006 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36007 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36010 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36011 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36012 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36013 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36014 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36015 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36016 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36017 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36018 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36022 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36025 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36026 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36027 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36030 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36031 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36032 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36033 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36034 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36036 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36038 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36039 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36040 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36041 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36042 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36043 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36044 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36045 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36046 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36047 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36048 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36049 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36051 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36052 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36053 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36054 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36055 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36056 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36057 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36058 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36059 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36060 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36061 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36062 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36063 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36064 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36065 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36066 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36067 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36068 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36069 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36070 * sysdeps/ieee754/s_matherr.c: Likewise.
36071 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36072 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36075
965a54a4
JM
360762012-01-26 Joseph Myers <joseph@codesourcery.com>
36077
36078 * crypt/md5.h: Remove __STDC__ conditionals.
36079 * libio/libioP.h: Likewise.
36080 * locale/programs/config.h: Likewise.
36081 * sysdeps/generic/sysdep.h: Likewise.
36082 * sysdeps/i386/asm-syntax.h: Likewise.
36083 * sysdeps/s390/asm-syntax.h: Likewise.
36084 * sysdeps/unix/sysdep.h: Likewise.
36085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36087
7071ad79
JM
360882012-01-26 Joseph Myers <joseph@codesourcery.com>
36089
36090 * libio/libio.h: Remove __STDC__ conditionals.
36091 * malloc/obstack.h: Likewise.
36092 * math/complex.h: Likewise.
36093 * math/math.h: Likewise.
36094 * sysdeps/generic/_G_config.h: Likewise.
36095 * sysdeps/gnu/_G_config.h: Likewise.
36096 * sysdeps/mach/hurd/_G_config.h: Likewise.
36097 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36098 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36099 * sysdeps/sparc/bits/mathdef.h: Likewise.
36100
afc5ed09
UD
361012012-01-26 Ulrich Drepper <drepper@gmail.com>
36102
36103 [BZ #13583]
36104 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36105 Clean up HAS_* macros.
afc5ed09 36106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36107 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36108 possible.
36109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36110 HAS_AVX.
36111 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36112 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36113 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36114 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36115 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36116
bdb6de1d
JM
361172012-01-25 Joseph Myers <joseph@codesourcery.com>
36118
36119 * elf/tst-unique3.cc (gets): Remove declaration.
36120 * elf/tst-unique3lib.cc (gets): Likewise.
36121 * elf/tst-unique3lib2.cc (gets): Likewise.
36122 * elf/tst-unique4.cc (gets): Likewise.
36123
b15549e6
UD
361242012-01-24 Ulrich Drepper <drepper@gmail.com>
36125
36126 * include/stdio.h: Add C++ protection. Add gets declarations and
36127 definitions.
36128 * debug/tst-chk1.c: Don't declare gets here.
36129 * stdio-common/tst-gets.c: Likewise.
36130
a037381f
JM
361312012-01-24 Joseph Myers <joseph@codesourcery.com>
36132
36133 * posix/glob: Remove directory.
36134
f1d4aa75
JM
361352012-01-24 Joseph Myers <joseph@codesourcery.com>
36136
36137 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36138
81c0c964
PT
361392012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36140
36141 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36142 of the non-standard EPFNOSUPPORT.
36143
0ea698ae
ST
361442011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36145
36146 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36147 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36148 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36149
d220b117
UD
361502012-01-21 Ulrich Drepper <drepper@gmail.com>
36151
36152 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36153
3e1aa84e
UD
361542012-01-20 Ulrich Drepper <drepper@gmail.com>
36155
36156 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36157 transient errors.
36158 * nscd/grpcache.c (cache_addgr): Likewise.
36159 * nscd/hstcache.c (cache_addhst): Likewise.
36160 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36161 * nscd/pwdcache.c (cache_addpw): Likewise.
36162 * nscd/servicescache.c (cache_addserv): Likewise.
36163
400aa020
UD
361642012-01-16 Ulrich Drepper <drepper@gmail.com>
36165
d77e7869
UD
36166 * malloc/malloc.c: Various cleanups.
36167 * malloc/hooks.c: Likewise.
36168
400aa020
UD
36169 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36170 * stdlib/bug-fmtmsg1.c: New file.
36171
36172 * stdlib/fmtmsg.c (init): Add missing unlock.
36173 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36174
e0a309cf
MP
361752012-01-12 Marek Polacek <polacek@redhat.com>
36176
36177 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36178 and _GNU_SOURCE.
36179
929d11c7
WS
361802012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36181
36182 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36183 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36184 macro to ensure uniqueness of label name.
36185 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36186 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36187
41d0e869
UD
361882012-01-11 Ulrich Drepper <drepper@gmail.com>
36189
0cc5ed3b
UD
36190 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36191
41d0e869
UD
36192 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36193 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36194 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36196
a47a831a
UD
361972012-01-10 Ulrich Drepper <drepper@gmail.com>
36198
daa891c0
UD
36199 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36200
36201 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36202 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36203 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36204
e58ef0f2
UD
36205 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36206
a47a831a 36207 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36208 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36209 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36211
36212 * math/bits/math-finite.h: Add ldexp support.
36213
a0bfc9c7
MP
362142012-01-10 Marek Polacek <polacek@redhat.com>
36215
36216 * locale/programs/localedef.h (show_archive_content): Add noreturn
36217 attribute.
36218
d6e97a1d
UD
362192012-01-09 Ulrich Drepper <drepper@gmail.com>
36220
36221 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36222
d5835c26
UD
362232012-01-08 Ulrich Drepper <drepper@gmail.com>
36224
e5f484c6
UD
36225 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36226
d5835c26
UD
36227 * io/Makefile (headers): Add bits/poll2.h.
36228
d1f741e9
WS
362292011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36230
36231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36232 typo #include statement.
36233
ec09c1c4
UD
362342012-01-08 Ulrich Drepper <drepper@gmail.com>
36235
36236 * include/sys/cdefs.h: Define __attribute_alloc_size.
36237 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36238 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36239 * elf/pldd.c: Likewise.
36240 * iconv/iconv_charmap.c: Likewise.
36241 * iconv/iconvconfig.c: Likewise.
36242 * iconv/strtab.c: Likewise.
36243 * locale/programs/locale.c: Likewise.
36244 * locale/programs/localedef.h: Likewise.
36245 * locale/programs/simple-hash.c: Likewise.
36246 * nscd/nscd.h: Likewise.
36247 * nss/makedb.c: Likewise.
36248 * sysdeps/generic/ldconfig.h: Likewise.
36249 * locale/programs/localedef.c: Remove xmalloc prototype.
36250 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36251
20b38e03
PP
362522012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36253
36254 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36255 appropriate.
36256
a0da5fe1
UD
362572012-01-08 Ulrich Drepper <drepper@gmail.com>
36258
1d5a644a 36259 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36260 * math/tst-CMPLX.c: New file.
1d5a644a 36261
8784a6db
UD
36262 * math/complex.h (CMPLXL): Fix typo.
36263
d9a216c0
UD
36264 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36265 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36266 GLIBC_2.16.
36267 * debug/tst-chk1.c: Add poll and ppoll tests.
36268 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36269 * include/sys/poll.h: Add hidden proto for ppoll.
36270 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36271 * sysdeps/mach/hurd/ppoll.c: Likewise.
36272 * io/ppoll.c: Likewise.
36273 * debug/poll_chk.c: New file.
36274 * debug/ppoll_chk.c: New file.
36275 * include/bits/poll2.h: New file.
36276 * io/bits/poll2.h: New file.
36277
ac097f5c
UD
36278 [BZ #1350]
36279 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36280
2119dcfa
UD
36281 * configure.in: static is always set to yes. Remove.
36282 * config.make.in: Don't set build-static.
36283 * Makeconfig: Remove use of build-static.
36284 * dlfcn/Makefile: Likewise.
36285 * elf/Makefile: Likewise.
36286 * math/Makefile: Likewise.
36287 * misc/Makefile: Likewise.
36288 * nptl/Makefile: Likewise.
36289 * sysdeps/mach/hurd/Makefile: Likewise.
36290
121766a9
UD
36291 * configure.in: PWD_P is not used anymore.
36292 * config.make.in: Remove PWD_P entry.
36293
51a1d39c 36294 * configure.in: Remove last remnants of RANLIB.
8720d066 36295 No need to check for signed size_t anymore.
215f4bdc
UD
36296 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36297 and IA-64.
3857022a 36298 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36299 * aclocal.m4: Likewise.
36300
d3ed7225
UD
36301 * wcsmbs/mbrtoc16.c: Implement using towc function.
36302 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36303 * wcsmbs/wcsmbsload.c: Likewise.
36304 * iconv/gconv_simple.c: Likewise.
36305 * iconv/gconv_int.h: Likewise.
36306 * iconv/gconv_builtin.h: Likewise.
36307 * iconv/iconv_prog.c: Remove CHAR16 handling.
36308
36309 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36310
36311 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36312
a0da5fe1
UD
36313 * configure.in: Remove --with-elf and --enable-bounded options.
36314 Dont set base_machine for ia64. More non-ELF conditions removed.
36315 Remove testing and setting of leading underscore information.
36316 * config.make.in (build-bounded): Set to no.
36317 * config.h.in: Remove NO_UNDERSCORES entry.
36318 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36319 them.
36320 * csu/start.c: Remove !NO_UNDERSCORE code.
36321 * locale/localeinfo.h: Likewise.
36322 * sysdeps/generic/machine-gmon.h: Likewise.
36323 * sysdeps/generic/sysdep.h: Likewise.
36324 * sysdeps/i386/sysdep.h: Likewise.
36325 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36326 * sysdeps/mach/sysdep.h: Likewise.
36327 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36329 * sysdeps/sh/sysdep.h: Likewise.
36330 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36331 * sysdeps/unix/i386/sysdep.S: Likewise.
36332 * sysdeps/unix/sparc/start.c: Likewise.
36333 * sysdeps/unix/sparc/sysdep.S: Likewise.
36334 * sysdeps/unix/sparc/sysdep.h: Likewise.
36335 * sysdeps/unix/start.c: Likewise.
36336 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36337 * sysdeps/x86_64/sysdep.h: Likewise.
36338
df78418a
UD
363392012-01-07 Ulrich Drepper <drepper@gmail.com>
36340
a784e502
UD
36341 [BZ #13553]
36342 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36343 for non-gcc.
36344 * argp/argp-fmtstream.h: Use const instead __const.
36345 * argp/argp.h: Likewise.
36346 * assert/assert.h: Likewise.
36347 * bits/fenv.h: Likewise.
36348 * bits/sched.h: Likewise.
36349 * bits/sigset.h: Likewise.
36350 * bits/sigthread.h: Likewise.
36351 * catgets/nl_types.h: Likewise.
36352 * conform/data/pthread.h-data: Likewise.
36353 * crypt/crypt-private.h: Likewise.
36354 * crypt/crypt.h: Likewise.
36355 * crypt/crypt_util.c: Likewise.
36356 * ctype/ctype.h: Likewise.
36357 * debug/execinfo.h: Likewise.
36358 * debug/mbsnrtowcs_chk.c: Likewise.
36359 * debug/mbsrtowcs_chk.c: Likewise.
36360 * debug/wcsnrtombs_chk.c: Likewise.
36361 * debug/wcsrtombs_chk.c: Likewise.
36362 * debug/wcstombs_chk.c: Likewise.
36363 * dirent/dirent.h: Likewise.
36364 * dlfcn/dlfcn.h: Likewise.
36365 * elf/neededtest4.c: Likewise.
36366 * grp/grp.h: Likewise.
36367 * gshadow/gshadow.h: Likewise.
36368 * iconv/gconv.h: Likewise.
36369 * iconv/gconv_int.h: Likewise.
36370 * iconv/gconv_simple.c: Likewise.
36371 * iconv/iconv.h: Likewise.
36372 * iconv/loop.c: Likewise.
36373 * iconv/skeleton.c: Likewise.
36374 * include/aio.h: Likewise.
36375 * include/aliases.h: Likewise.
36376 * include/argz.h: Likewise.
36377 * include/arpa/inet.h: Likewise.
36378 * include/assert.h: Likewise.
36379 * include/dirent.h: Likewise.
36380 * include/dlfcn.h: Likewise.
36381 * include/execinfo.h: Likewise.
36382 * include/fcntl.h: Likewise.
36383 * include/fenv.h: Likewise.
36384 * include/glob.h: Likewise.
36385 * include/grp.h: Likewise.
36386 * include/libintl.h: Likewise.
36387 * include/mntent.h: Likewise.
36388 * include/netdb.h: Likewise.
36389 * include/pwd.h: Likewise.
36390 * include/rpc/netdb.h: Likewise.
36391 * include/sched.h: Likewise.
36392 * include/search.h: Likewise.
36393 * include/shadow.h: Likewise.
36394 * include/signal.h: Likewise.
36395 * include/stdio.h: Likewise.
36396 * include/stdlib.h: Likewise.
36397 * include/string.h: Likewise.
36398 * include/sys/socket.h: Likewise.
36399 * include/sys/stat.h: Likewise.
36400 * include/sys/statfs.h: Likewise.
36401 * include/sys/statvfs.h: Likewise.
36402 * include/sys/syslog.h: Likewise.
36403 * include/sys/time.h: Likewise.
36404 * include/sys/uio.h: Likewise.
36405 * include/time.h: Likewise.
36406 * include/unistd.h: Likewise.
36407 * include/utmp.h: Likewise.
36408 * include/wchar.h: Likewise.
36409 * include/wctype.h: Likewise.
36410 * inet/aliases.h: Likewise.
36411 * inet/arpa/inet.h: Likewise.
36412 * inet/netinet/ether.h: Likewise.
36413 * inet/netinet/in.h: Likewise.
36414 * intl/libintl.h: Likewise.
36415 * io/bits/fcntl2.h: Likewise.
36416 * io/fcntl.h: Likewise.
36417 * io/ftw.h: Likewise.
36418 * io/sys/poll.h: Likewise.
36419 * io/sys/stat.h: Likewise.
36420 * io/sys/statfs.h: Likewise.
36421 * io/sys/statvfs.h: Likewise.
36422 * io/utime.h: Likewise.
36423 * libio/bits/stdio.h: Likewise.
36424 * libio/bits/stdio2.h: Likewise.
36425 * libio/libio.h: Likewise.
36426 * libio/libioP.h: Likewise.
36427 * libio/stdio.h: Likewise.
36428 * locale/lc-ctype.c: Likewise.
36429 * locale/locale.h: Likewise.
36430 * login/utmp.h: Likewise.
36431 * malloc/arena.c: Likewise.
36432 * malloc/malloc.c: Likewise.
36433 * malloc/malloc.h: Likewise.
36434 * malloc/mcheck.c: Likewise.
36435 * malloc/mtrace.c: Likewise.
36436 * math/bits/mathcalls.h: Likewise.
36437 * math/fenv.h: Likewise.
36438 * math/math_private.h: Likewise.
36439 * misc/bits/error.h: Likewise.
36440 * misc/bits/syslog.h: Likewise.
36441 * misc/err.h: Likewise.
36442 * misc/error.h: Likewise.
36443 * misc/fstab.h: Likewise.
36444 * misc/mntent.h: Likewise.
36445 * misc/regexp.h: Likewise.
36446 * misc/search.h: Likewise.
36447 * misc/sgtty.h: Likewise.
36448 * misc/sys/mman.h: Likewise.
36449 * misc/sys/syslog.h: Likewise.
36450 * misc/sys/uio.h: Likewise.
36451 * misc/sys/xattr.h: Likewise.
36452 * misc/ttyent.h: Likewise.
36453 * nis/rpcsvc/ypclnt.h: Likewise.
36454 * nss/nss.h: Likewise.
36455 * posix/bits/unistd.h: Likewise.
36456 * posix/fnmatch.h: Likewise.
36457 * posix/glob.h: Likewise.
36458 * posix/sched.h: Likewise.
36459 * posix/spawn.h: Likewise.
36460 * posix/sys/wait.h: Likewise.
36461 * posix/unistd.h: Likewise.
36462 * posix/wordexp.h: Likewise.
36463 * pwd/pwd.h: Likewise.
36464 * resolv/netdb.h: Likewise.
36465 * resource/sys/resource.h: Likewise.
36466 * rt/aio.h: Likewise.
36467 * rt/bits/mqueue2.h: Likewise.
36468 * rt/mqueue.h: Likewise.
36469 * shadow/shadow.h: Likewise.
36470 * signal/signal.h: Likewise.
36471 * socket/send.c: Likewise.
36472 * socket/sendto.c: Likewise.
36473 * socket/sys/socket.h: Likewise.
36474 * stdio-common/printf.h: Likewise.
36475 * stdlib/bits/stdlib.h: Likewise.
36476 * stdlib/fmtmsg.h: Likewise.
36477 * stdlib/monetary.h: Likewise.
36478 * stdlib/stdlib.h: Likewise.
36479 * stdlib/ucontext.h: Likewise.
36480 * streams/stropts.h: Likewise.
36481 * string/argz.h: Likewise.
36482 * string/bits/string2.h: Likewise.
36483 * string/string.h: Likewise.
36484 * string/strings.h: Likewise.
36485 * sunrpc/rpc/auth.h: Likewise.
36486 * sunrpc/rpc/auth_des.h: Likewise.
36487 * sunrpc/rpc/clnt.h: Likewise.
36488 * sunrpc/rpc/netdb.h: Likewise.
36489 * sunrpc/rpc/pmap_clnt.h: Likewise.
36490 * sunrpc/rpc/xdr.h: Likewise.
36491 * sysdeps/generic/inttypes.h: Likewise.
36492 * sysdeps/generic/net/if.h: Likewise.
36493 * sysdeps/generic/sys/swap.h: Likewise.
36494 * sysdeps/gnu/net/if.h: Likewise.
36495 * sysdeps/gnu/utmpx.h: Likewise.
36496 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36497 * sysdeps/i386/i486/bits/string.h: Likewise.
36498 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36499 * sysdeps/s390/bits/string.h: Likewise.
36500 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36501 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36502 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36503 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36504 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36505 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36506 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36507 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36508 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36509 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36510 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36511 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36512 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36513 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36514 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36515 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36516 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36518 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36519 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36521 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36522 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36523 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36524 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36525 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36526 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36527 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36528 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36529 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36530 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36531 * sysvipc/sys/ipc.h: Likewise.
36532 * sysvipc/sys/msg.h: Likewise.
36533 * sysvipc/sys/sem.h: Likewise.
36534 * sysvipc/sys/shm.h: Likewise.
36535 * termios/termios.h: Likewise.
36536 * time/sys/time.h: Likewise.
36537 * time/time.h: Likewise.
36538 * wcsmbs/bits/wchar2.h: Likewise.
36539 * wcsmbs/uchar.h: Likewise.
36540 * wcsmbs/wchar.h: Likewise.
36541 * wctype/wctype.h: Likewise.
36542
0269750c
UD
36543 [BZ #13551]
36544 * Makeconfig: Remove all but ELF support including AIX support.
36545 * Makerules: Likewise.
36546 * config.h.in: Likewise.
36547 * config.make.in: Likewise.
36548 * configure: Likewise.
36549 * configure.in: Likewise.
36550 * csu/Makefile: Likewise.
36551 * csu/version.c: Likewise.
36552 * debug/Makefile: Likewise.
36553 * dlfcn/Makefile: Likewise.
36554 * elf/Makefile: Likewise.
36555 * extra-lib.mk: Likewise.
36556 * iconv/Makefile: Likewise.
36557 * include/libc-symbols.h: Likewise.
36558 * include/shlib-compat.h: Likewise.
36559 * resolv/Makefile: Likewise.
36560 * resolv/res_libc.c: Likewise.
36561 * rt/Makefile: Likewise.
36562 * sysdeps/i386/asm-syntax.h: Likewise.
36563 * sysdeps/i386/sysdep.h: Likewise.
36564 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36565 * sysdeps/mach/sysdep.h: Likewise.
36566 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36567 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36568 * sysdeps/s390/asm-syntax.h: Likewise.
36569 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36570 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36571 * sysdeps/sh/sysdep.h: Likewise.
36572 * sysdeps/unix/sparc/sysdep.h: Likewise.
36573 * sysdeps/wordsize-32/divdi3.c: Likewise.
36574 * sysdeps/x86_64/sysdep.h: Likewise.
36575
00bbd29b
UD
36576 * argp/Versions: Remove _argp_unlock_xxx.
36577
36578 [BZ #13559]
36579 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36580 * abilist/libBrokenLocale.abilist: Likewise.
36581 * abilist/libanl.abilist: Likewise.
36582 * abilist/libc.abilist: Likewise.
36583 * abilist/libcrypt.abilist: Likewise.
36584 * abilist/libdl.abilist: Likewise.
36585 * abilist/libm.abilist: Likewise.
36586 * abilist/libnsl.abilist: Likewise.
36587 * abilist/libpthread.abilist: Likewise.
36588 * abilist/libresolv.abilist: Likewise.
36589 * abilist/librt.abilist: Likewise.
36590 * abilist/libthread_db.abilist: Likewise.
36591 * abilist/libutil.abilist: Likewise.
36592 * abilist/libnss_db.abilist: New file.
36593
36594 * scripts/abilist.awk: Add support for indirect functions.
36595
a2693a0e
UD
36596 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36597
3f05895f
UD
36598 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36599
ecb6fb48
UD
36600 * shlib-versions: Remove entries for ports architectures.
36601
664f8cb9
UD
36602 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36603 files in ports.
36604 * elf/stackguard-macros.h: Remove support for IA-64.
36605 * elf/tst-auditmod1.c: Likewise.
36606 * sysdeps/generic/ldsodefs.h: Likewise.
36607
7ae81d88
UD
36608 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36609 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36610 configure files.
36611
bdeba135
UD
36612 [BZ #13552]
36613 * configure.in: Remove --enable-omitfp support.
36614 * FAQ.in: Adjust.
36615 * config.make.in: Likewise.
36616 * Makeconfig: Likewise.
36617 * manual/install.texi: Likewise.
36618
d75a0a62
UD
36619 In case anyone cares, the IA-64 architecture could move to ports.
36620 * sysdeps/ia64/*: Removed.
36621 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36622 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36623
dcc9756b
UD
36624 [BZ #13555]
36625 * configure.in: Remove entries for unsupported architectures.
36626
d3761ebc 36627 [BZ #13533]
9954432e
UD
36628 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36629 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36630 routines.
36631 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36632 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36633 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36634 fall back to using wcrtomb.
36635 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36636 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36637 renaming.
36638 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36639 * wcsmbs/tst-c16c32-1.c: New file.
36640
36641 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36642 local variable.
36643
c3a87236
UD
36644 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36645
28926a1b
UD
36646 * elf/tst-unique3.cc: Add explicit declaration of gets.
36647 * elf/tst-unique3lib.cc: Likewise.
36648 * elf/tst-unique3lib2.cc: Likewise.
36649 * elf/tst-unique4.cc: Likewise.
36650
df78418a
UD
36651 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36652
8ecd6b2a
JM
366532012-01-06 Joseph Myers <joseph@codesourcery.com>
36654
36655 [BZ #13566]
36656 * assert/assert.h (static_assert): Don't define for C++.
36657 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36658 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36659
9f115170
UD
366602012-01-03 Ulrich Drepper <drepper@gmail.com>
36661
5e0d0300
UD
36662 * iconv/loop.c (single loop): Fix assertion in storing of
36663 remaining bytes.
36664
9f115170
UD
36665 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36666
81fb02b0
UD
366672012-01-01 Ulrich Drepper <drepper@gmail.com>
36668
36669 * posix/getconf.c: Update copyright year.
36670 * nss/getent.c: Likewise.
a316c1f6 36671 * nss/makedb.c: Likewise.
81fb02b0
UD
36672 * iconv/iconvconfig.c: Likewise.
36673 * iconv/iconv_prog.c: Likewise.
36674 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36675 * elf/pldd.c: Likewise.
36676 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36677 * catgets/gencat.c: Likewise.
36678 * csu/version.c: Likewise.
36679 * elf/ldd.bash.in: Likewise.
36680 * elf/sprof.c (print_version): Likewise.
36681 * locale/programs/locale.c: Likewise.
36682 * locale/programs/localedef.c: Likewise.
a316c1f6 36683 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36684 * nscd/nscd.c (print_version): Likewise.
36685 * debug/xtrace.sh: Likewise.
36686 * malloc/memusage.sh: Likewise.
36687 * malloc/mtrace.pl: Likewise.
36688 * debug/catchsegv.sh: Likewise.
36689
2ba92745
JJ
366902011-12-30 Jakub Jelinek <jakub@redhat.com>
36691
36692 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36693 pure attribute.
36694
dadebdae
UD
366952011-12-24 Ulrich Drepper <drepper@gmail.com>
36696
d3761ebc 36697 [BZ #13533]
db6af3eb
UD
36698 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36699 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36700 transformations.
36701 * iconv/gconv_int.h: Likewise.
36702 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36703 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36704 from libc for GLIBC_2.16.
36705 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36706 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36707 * wcsmbs/uchar.h: Really define mbstate_t.
36708 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36709 * wcsmbs/c16rtomb.c: New file.
36710 * wcsmbs/mbrtoc16.c: New file.
36711 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36712 for C/POSIX locale.
36713 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36714 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36715
dadebdae
UD
36716 * wcsmbs/wchar.h: Add missing __restrict.
36717
67371b56
UD
367182011-12-23 Ulrich Drepper <drepper@gmail.com>
36719
74033a25
UD
36720 [BZ #13532]
36721 * time/Makefile (routines): Add timespec_get.
36722 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36723 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36724 timespec for ISO C11.
36725 * time/timespec_get.c: New file.
36726 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36727 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36728
380d7e87
UD
36729 [BZ #13531]
36730 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36731 * stdlib/stdlib.h: Declare aligned_alloc.
36732 * Versions.def: Add GLIBC_2.16 for libc.
36733 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36734
4e9e7a35
UD
36735 [BZ 13527]
36736 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36737 ISO C11.
36738
380d7e87 36739 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36740 code.
36741
03a71829
UD
36742 [BZ #13528]
36743 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36744
839e283e
UD
36745 [BZ #13529]
36746 * assert/assert.h (static_assert): Define.
36747
ce5294e2 36748 * version.h: Update for 2.16 development version.
90fa7312 36749
8d44e150 36750 [BZ #13526]
d7809905
UD
36751 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36752 _ISOC11_SOURCE.
36753
c0da14cd
UD
36754 * version.h (RELEASE): Bump for 2.15 release.
36755 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36756
530a3249
MP
36757 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36758 Patch by Marek Polacek <mpolacek@redhat.com>.
36759
67371b56
UD
36760 * bits/byteswap.h: Protect long long constants with __extension__.
36761 * sysdeps/i386/bits/byteswap.h: Likewise.
36762 * sysdeps/ia64/bits/byteswap.h: Likewise.
36763 * sysdeps/s390/bits/byteswap.h: Likewise.
36764 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36765
15db4de1
LD
367662011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36767
36768 [BZ #13540]
bbe315ea
LD
36769 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36770 destination buffer.
15db4de1
LD
36771 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36772
2b2596b1
MP
367732011-12-23 Marek Polacek <polacek@redhat.com>
36774
36775 * elf/dl-addr.c (determine_info): Add inline keyword.
36776 * elf/tst-auditmod4b.c (check_avx): Likewise.
36777 * elf/tst-auditmod6b.c (check_avx): Likewise.
36778 * elf/tst-auditmod6c.c (check_avx): Likewise.
36779 * elf/tst-auditmod7b.c (check_avx): Likewise.
36780
70c6c246
UD
367812011-12-23 Ulrich Drepper <drepper@gmail.com>
36782
36783 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36784 !__SSE_MATH__.
36785
c044cf14
LD
367862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36787
15db4de1 36788 [BZ #13540]
c044cf14
LD
36789 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36790 processing for last bytes.
36791
6b13d9d9
BH
367922011-08-06 Bruno Haible <bruno@clisp.org>
36793
d455f537
BH
36794 [BZ #13061]
36795 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36796 U+0385, not to U+1FEE.
36797
6b13d9d9
BH
36798 [BZ #13062]
36799 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36800 entry for U+00A5 U+0301.
36801
db910efd
UD
368022011-12-22 Ulrich Drepper <drepper@gmail.com>
36803
27deeafc
UD
36804 [BZ #13166]
36805 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36806 buffer for the output is too small.
36807
aed9d171
UD
36808 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36809 optimization.
36810
db910efd
UD
36811 [BZ #13185]
36812 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36813 SSE flags if possible.
36814
2bd779ae
LD
368152011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36816
e7f9dac3 36817 [BZ #13540]
2bd779ae
LD
36818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36819 processing for last bytes.
36820
154bfc16
JM
368212011-12-22 Joseph Myers <joseph@codesourcery.com>
36822
36823 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36824 (syscall-list-default-options, syscall-list-default-condition)
36825 (syscall-list-includes): Define.
36826 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36827 list of ABIs and options and #if conditions for each ABI. Do not
36828 handle common syscalls between ABIs specially.
36829 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36830 Remove.
36831 (syscall-list-variants, syscall-list-32bit-options)
36832 (syscall-list-32bit-condition, syscall-list-64bit-options)
36833 (syscall-list-64bit-condition): Define.
36834 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36835 (syscall-list-variants, syscall-list-32bit-options)
36836 (syscall-list-32bit-condition, syscall-list-64bit-options)
36837 (syscall-list-64bit-condition): Define.
36838 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36839 Remove.
36840 (syscall-list-variants, syscall-list-32bit-options)
36841 (syscall-list-32bit-condition, syscall-list-64bit-options)
36842 (syscall-list-64bit-condition): Define.
36843 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36844 Remove.
36845 (syscall-list-variants, syscall-list-32bit-options)
36846 (syscall-list-32bit-condition, syscall-list-64bit-options)
36847 (syscall-list-64bit-condition): Define.
36848
21eaf3a5
UD
368492011-12-22 Ulrich Drepper <drepper@gmail.com>
36850
16c6f992
UD
36851 * locale/iso-639.def: Add brx entry.
36852
41043168
UD
36853 [BZ #13328]
36854 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36855 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36856
21eaf3a5
UD
36857 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36858 __feraiseexcept_renamed.
36859
e3a851a2
UD
368602011-12-21 Ulrich Drepper <drepper@gmail.com>
36861
4920765e
UD
36862 [BZ #13538]
36863 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36864 EPOLLET with unsigned values.
36865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36866 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36867
e3a851a2
UD
36868 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36869 to large cancellation.
36870 * math/s_cacoshf.c: Likewise.
36871 * math/s_cacoshl.c: Likewise.
36872
b27e24b8
RK
368732011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36874
36875 [BZ #13305]
aebefeee 36876 [BZ #12786]
b27e24b8
RK
36877 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36878 * math/s_cacoshf.c: Likewise.
36879 * math/s_cacoshl.c: Likewise.
36880
ee190f67
UD
368812011-12-21 Ulrich Drepper <drepper@gmail.com>
36882
36883 [BZ #13439]
36884 * iconv/gconv.h: Define __GCONV_SWAP.
36885 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36886 * iconvdata/utf-16.c: Likewise.
36887 * iconvdata/utf-32.c: Likewise.
36888
707f25df
AS
368892011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36890
36891 [BZ #13524]
36892 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36893 numerator after shifting it by one limb.
36894
d2daaa1e
RÁE
368952011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36896
36897 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36898 under [__USE_EXTERN_INLINES].
36899
a4647e72
UD
369002011-12-17 Ulrich Drepper <drepper@gmail.com>
36901
36902 [BZ #13446]
36903 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36904
f0b264f1
AZ
369052011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36906
36907 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36908 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36909 optimized code.
36910 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36911 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36912 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36913 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36914 for strncasecmp/strncasecmp_l compilation.
36915 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36916 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36917
8ef4f244
MP
369182011-12-08 Marek Polacek <mpolacek@redhat.com>
36919
36920 [BZ #13484]
36921 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36922 of __asm__.
36923
97ac2654
UD
369242011-12-17 Ulrich Drepper <drepper@gmail.com>
36925
36926 [BZ #13506]
36927 * time/tzfile.c (__tzfile_read): Check values from file header.
36928
91d2a845
WS
369292011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36930
36931 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36932 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36933 * powerpc/powerpc32/dl-start.S: Likewise.
36934 * powerpc/powerpc32/elf/start.S: Likewise.
36935 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36936 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36937 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36938 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36939 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36940 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36941 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36942 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36943 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36944 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36945 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36946 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36947 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36948 * powerpc/powerpc32/memset.S: Likewise.
36949 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36950 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36951 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36952 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36953 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36954 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36955 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36956 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36957 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36958 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36959 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36960 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36961 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36962
a1267ba1
AZ
369632011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36964
36965 * math/libm-test.inc: Added more nearbyint tests.
36966 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36967 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36969 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36970
ad8ac1bd
RL
369712011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36972
36973 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36974 FD_CLOEXEC.
36975
1d3e4b61
UD
369762011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36977
36978 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36979 Add wcscpy-ssse3 wcscpy-c.
36980 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36981 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36982 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36983 * sysdeps/x86_64/wcschr.S: New file.
36984 * sysdeps/x86_64/wcsrchr.S: New file.
36985 * string/test-strcmp.c: Remove checking of wcscmp function for
36986 wrong alignments.
36987 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36988 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36989 wcsrchr-sse2 wcsrchr-c.
36990 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36991 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36992 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36993 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36994 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36995 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36996 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36997 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36998 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36999 * wcsmbc/wcschr.c (WCSCHR): New macro.
37000
5b330a2d
UD
370012011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37002
37003 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37004 * wcsmbs/test-wcsrchr.c: New file.
37005 * string/test-strrchr.c: Add wcsrchr support.
37006 (WIDE): New macro.
37007 * wcsmbs/test-wcscpy.c: New file.
37008 * string/test-strcpy.c: Add wcscpy support.
37009 (WIDE): New macro.
26428b7c 37010
f039c043
UD
370112011-12-10 Ulrich Drepper <drepper@gmail.com>
37012
37013 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37014 the inner loop.
37015
850fb039
AS
370162011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37017
37018 [BZ #13472]
37019 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37020
4efbd5cb
UD
370212011-12-04 Ulrich Drepper <drepper@gmail.com>
37022
52ff5dd0 37023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 37024 Minor optimizations.
52ff5dd0 37025
4efbd5cb
UD
37026 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37027 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37028 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37029
8a426e12
UD
370302011-12-03 Ulrich Drepper <drepper@gmail.com>
37031
aff2453d
UD
37032 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37033 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37034 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37035 for gcc to avoid warnings.
37036 * inet/Makefile (tests): Add tst-checks.
37037 * inet/tst-checks.c: New file.
37038
37039 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37040 warning.
37041
37042 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37043 __wmemcmp_sse2.
37044
37045 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37046 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37047
8a426e12
UD
37048 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37049
9bea3473
UD
370502011-12-02 Ulrich Drepper <drepper@gmail.com>
37051
3a965496
UD
37052 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37053 problem.
37054
9bea3473
UD
37055 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37056
f101631b
UD
370572011-11-29 Joseph Myers <joseph@codesourcery.com>
37058
37059 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37060 conditional on GCC version.
37061 (__arch_compare_and_exchange_val_8_acq)
37062 (__arch_compare_and_exchange_val_16_acq)
37063 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37064 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37065 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37066
a98275aa
UD
370672011-12-02 Joseph Myers <joseph@codesourcery.com>
37068
37069 * sysdeps/sh/backtrace.c: New file.
37070
d4cc29a2
AS
370712011-12-02 Andreas Schwab <schwab@redhat.com>
37072
37073 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37074 parenthesis.
37075
6257af2d
AS
370762011-12-01 Andreas Schwab <schwab@redhat.com>
37077
37078 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37079 falling back to utime.
37080
b5f44c1a
AS
370812011-11-30 Andreas Schwab <schwab@redhat.com>
37082
37083 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37084 expectations for float.
37085
f3a6cc0a
AS
370862011-11-29 Andreas Schwab <schwab@redhat.com>
37087
37088 * locale/weight.h (findidx): Add parameter len.
37089 * locale/weightwc.h (findidx): Likewise.
37090 * posix/fnmatch_loop.c (FCT): Adjust caller.
37091 * posix/regcomp.c (build_equiv_class): Likewise.
37092 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37093 * posix/regexec.c (check_node_accept_bytes): Likewise.
37094 * string/strcoll_l.c (STRCOLL): Likewise.
37095 * string/strxfrm_l.c (STRXFRM): Likewise.
37096
9d65ea3a
UD
370972011-11-17 Ulrich Drepper <drepper@gmail.com>
37098
37099 * Makefile.in: Remove CVSOPT handling.
37100 * configure.in: Remove use of AC_REVISION.
37101 * iconvdata/Makefile (distribute): No need to filter out CVS.
37102 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37103 handling.
37104
5583a086
AS
371052011-11-16 Andreas Schwab <schwab@redhat.com>
37106
37107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37108 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37109 [USE_AS_STRNCASECMP_L]: Likewise.
37110 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37111 NO_TLS_DIRECT_SEG_REFS.
37112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37113 Fix argument offsets for non-PIC.
37114 [USE_AS_STRNCASECMP_L]: Likewise.
37115 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37116 NO_TLS_DIRECT_SEG_REFS.
37117
d62a8200
UD
371182011-11-15 Ulrich Drepper <drepper@gmail.com>
37119
9d65ea3a 37120 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37121 O_CLOEXEC.
37122 * locale/loadlocale.c (_nl_load_locale): Likewise.
37123
09f93bd3
AS
371242011-11-15 Andreas Schwab <schwab@redhat.com>
37125
446514f9
AS
37126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37127 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37128 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37129 (SYSCALL_GETTIME): Set errno on error.
37130
09f93bd3
AS
37131 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37132 count references to noai6ai_cached.
37133
312be3f9
UD
371342011-11-15 Ulrich Drepper <drepper@gmail.com>
37135
37136 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37137
37138 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37139 FD_CLOEXEC for /proc/self/maps.
37140
37141 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37142 FD_CLOEXEC for /proc/meminfo.
37143
37144 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37145 gai.conf.
37146
37147 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37148 FD_CLOEXEC for given file.
37149
37150 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37151
37152 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37153 FD_CLOEXEC for /etc/hosts.
37154 (_gethtent): Likewise.
37155
37156 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37157
37158 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37159 cancellation and set FD_CLOEXEC for /etc/netgroup.
37160
37161 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37162 reading /etc/publickey.
37163
37164 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37165 allow cancellation when reading /etc/group.
37166
37167 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37168 cancellation.
37169 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37170
37171 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37172 when using data file.
37173
37174 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37175
37176 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37177 (write_nis_obj): Use "c" and "e" in fopen.
37178
37179 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37180
37181 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37182
37183 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37184
37185 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37186
37187 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37188 locale.alias.
37189
37190 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37191
37192 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37193
37194 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37195
37196 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37197 file parsing and set FD_CLOEXEC.
37198
82af0fa8
UD
371992011-11-14 Ulrich Drepper <drepper@gmail.com>
37200
37201 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37202
a5fb313c
AS
372032011-11-14 Andreas Schwab <schwab@redhat.com>
37204
37205 * malloc/arena.c (arena_get2): Don't call reused_arena when
37206 _int_new_arena failed.
37207
6abf3465
UD
372082011-11-14 Ulrich Drepper <drepper@gmail.com>
37209
37210 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37211 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37212 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37213 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37214 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37216 to compile strcasecmp and strncasecmp.
37217 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37218 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37219
37220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37221
76e3966e
UD
372222011-11-13 Ulrich Drepper <drepper@gmail.com>
37223
37224 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37225 locale-defines.sym to gen-as-const-headers.
37226 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37227 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37229 to compile strcasecmp and strncasecmp.
37230 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37231 strcasecmp_l and strncasecmp_l.
37232 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37233 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37234 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37235 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37236 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37237 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37238 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37239 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37240 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37241 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37242 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37243
ab26144e
UD
372442011-11-12 Ulrich Drepper <drepper@gmail.com>
37245
7edb22ef
UD
37246 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37247 result of SYSDEP_GETTIME_CPU to retval.
37248 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37249 parameter list to macro. Remove trailing semicolon. Adjust users.
37250
9694fc44
UD
37251 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37252 variable.
37253
8ad89ef8
UD
37254 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37255 mantissa words.
37256 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37257
0c822ef9
UD
37258 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37259 from unused variable.
37260
874e0564
UD
37261 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37262 DWARF definitions.
37263 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37264 for assembling.
37265
3a2edc79
UD
37266 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37267 over namespaces.
37268
f3c2577f
UD
37269 * sunrpc/rpc_prot.c (rejected): Fix case value.
37270
294ce126
UD
37271 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37272 unsigned long long int to avoid warnings in shift.
37273
5e2b63c6
UD
37274 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37275 of use of trans.
37276 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37277 variable tmp.
37278
e7f4b08e
UD
37279 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37280 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37281 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37282
ab26144e
UD
37283 * nis/nis_table.c (nis_list): Use variable of correct type for
37284 result of __follow_path call.
37285
8a6d5255
AZ
372862011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37287
37288 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37289 of math functions ceil, trunc, floor, round, and sqrt, when
37290 avaliable on the platform.
37291 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37292 name clash.
37293 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37294 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37295 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37296
aaddc98c
MP
372972011-10-30 Marek Polacek <mpolacek@redhat.com>
37298
37299 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37300 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37301
95b7042b
RM
373022011-11-11 Roland McGrath <roland@hack.frob.com>
37303
37304 * include/unistd.h: Fix __readlink return type.
37305 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37306
57769839
UD
373072011-11-11 Ulrich Drepper <drepper@gmail.com>
37308
37309 * stdlib/ucontext.h: Undo last change for makecontext.
37310
edc5984d
AS
373112011-11-11 Andreas Schwab <schwab@redhat.com>
37312
98591e58
AS
37313 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37314
edc5984d
AS
37315 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37316 * setjmp/setjmp.h: Mark functions as non-leaf.
37317 * setjmp/bits/setjmp2.h: Likewise.
37318 * stdlib/ucontext.h: Likewise.
37319
77cdc054
AS
373202011-11-10 Andreas Schwab <schwab@redhat.com>
37321
37322 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37323 (reused_arena): Don't check arena limit.
37324 (arena_get2): Atomically check arena limit.
37325
fe72eebd
UD
373262011-11-08 Ulrich Drepper <drepper@gmail.com>
37327
5f078c32
UD
37328 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37329 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37330
fe72eebd
UD
37331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37332 instructions.
37333
ae1bc2fa
AS
373342011-11-07 Andreas Schwab <schwab@redhat.com>
37335
7583a88d
AS
37336 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37337 handler when locking.
37338
ae1bc2fa
AS
37339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37340 Fix size of allocated buffer.
37341
10fb0bfa
AS
373422011-11-04 Andreas Schwab <schwab@redhat.com>
37343
998832a4
AS
37344 [BZ #10103]
37345 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37346 declarations for long double functions.
37347 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37348
10fb0bfa
AS
37349 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37350
3d7ba52b
AS
373512011-11-03 Andreas Schwab <schwab@redhat.com>
37352
a9ae54a1
AS
37353 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37354 installed.
37355
3d7ba52b
AS
37356 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37357 is disabled.
37358
bc8db248
ST
373592011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37360
37361 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37362
45b96dd6
AS
373632011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37364
647776f6
AS
37365 * include/alloca.h (stackinfo_alloca_round): Define.
37366 (extend_alloca): Use it.
37367 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37368 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37369 here.
37370
d91a8b93
AS
37371 * scripts/check-local-headers.sh: Ignore libaudit.h.
37372
45b96dd6
AS
37373 * nscd/Makefile (extra-objs): Make recursively expanded.
37374
432d41ce
UD
373752011-11-01 Ulrich Drepper <drepper@gmail.com>
37376
34372fc6
UD
37377 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37378 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37379
fadb59f8
UD
37380 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37381 * posix/tst-rfc3484-2.c: Likewise.
37382 * posix/tst-rfc3484-3.c: Likewise.
37383
78239589
UD
37384 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37385 process_vm_writev.
37386 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37387 process_vm_writev.
37388 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37389 process_vm_writev from libc using GLIBC_2.15 version.
37390
432d41ce
UD
37391 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37392
02f9c6cf
PP
373932011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37394
37395 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37396 stack usage.
37397
3a2c0242
UD
373982011-10-31 Ulrich Drepper <drepper@gmail.com>
37399
f4ec4833
UD
37400 [BZ #13367]
37401 * nss/getent.c (initgroups_keys): Show error message in case no group
37402 names are given.
37403
3a2c0242
UD
37404 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37405 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37406 __bump_nl_timestamp.
37407 * nscd/connections (nscd_init): When host database is served open
37408 netlink socket and request notification about configuration changes.
37409 (main_loop_poll): Track netlink file descriptor and bump timestamp
37410 in case data becomes available.
37411 (main_loop_epoll): Likewise.
37412 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37413 (database_pers_head): Add extra_data fileds.
37414 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37415 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37416 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37417 Adjust caller.
37418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37419 in6ai data, call __free_in6ai.
37420 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37421 Add -DHAVE_NETLINK.
37422 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37423 interface information. Reuse previous data if netlink timestamp
37424 is not changed.
37425 (__bump_nl_timestamp): New function.
37426 (__free_in6ai): New function.
37427
636064eb
UD
374282011-10-30 Ulrich Drepper <drepper@gmail.com>
37429
37430 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37431 close_not_cancel_no_status here.
37432 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37433
9beb2334
UD
374342011-10-29 Ulrich Drepper <drepper@gmail.com>
37435
6ef76f3b
UD
37436 [BZ #13276]
37437 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37438 return value.
37439
0ffc4f3e 37440 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37441 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37442 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37443
cb95113e
UD
374442011-07-03 Andreas Jaeger <aj@suse.de>
37445
37446 [BZ #10709]
37447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37448 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37449 * math/libm-test.inc (sin_test): Add test case.
37450
a1b560ff
UD
374512011-10-29 Ulrich Drepper <drepper@gmail.com>
37452
c9aaface
UD
37453 [BZ #13337]
37454 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37455 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37456
d272e7f1
UD
37457 * elf/chroot_canon.c (chroot_canon): Cleanups.
37458
1bc33071
UD
37459 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37460
1760874d
TJ
37461 [BZ #13335]
37462 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37463 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37464
51d91b18
UD
37465 * string/test-strchr.c: Make usable for strchrnul testing.
37466 * string/test-strchrnul.c: New file.
37467 * string/Makefile (strop-tests): Add strchrnul.
37468
a1b560ff 37469 * po/it.po: Update from translation team.
b611fb81 37470 * po/es.po: Likewise.
a1b560ff 37471
a5b81e1f
UD
374722011-10-28 Ulrich Drepper <drepper@gmail.com>
37473
fd52bc6d
UD
37474 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37475 the three constants needed as parameters. Drop the others.
37476 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37477 __m128i_strloadu_tolower.
52e4b9eb
UD
37478 Create and initialize variable zero and use it in all the places
37479 where _mm_setzero_si128 was used.
fd52bc6d 37480
a5b81e1f
UD
37481 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37482 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37483 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37484 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37485 anymore.
37486 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37487 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37488 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37489 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37490 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37491 __mpranred, __mptan.
37492 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37493 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37494 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37495 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37496 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37497 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37498 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37499 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37500 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37501
b4343346
AS
375022011-10-28 Andreas Schwab <schwab@redhat.com>
37503
0c92d8a8
AS
37504 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37505 redefine if SHARED.
37506 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37507
b4343346
AS
37508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37509 wide char related routines to wcsmbs subdir.
37510
3871f58f
AS
375112011-10-27 Andreas Schwab <schwab@redhat.com>
37512
37513 [BZ #13344]
37514 * misc/sys/cdefs.h (__THROWNL): Define.
37515 * posix/unistd.h: Use __THREADNL instead of __THREAD
37516 for memory synchronization functions.
37517
94d44d9f
RM
375182011-10-26 Roland McGrath <roland@hack.frob.com>
37519
21b64b15 37520 [BZ #13349]
94d44d9f
RM
37521 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37522 doesn't exist.
37523 * manual/stdio.texi (Obstack Streams): Node removed.
37524
f6ce9294
AS
375252011-10-26 Andreas Schwab <schwab@redhat.com>
37526
80479147
AS
37527 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37528 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37529 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37530
f6ce9294
AS
37531 * math/math_private.h (math_force_eval): Allow non-addressable
37532 arguments.
37533 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37534
618280a1
UD
375352011-10-25 Ulrich Drepper <drepper@gmail.com>
37536
e0016b11
UD
37537 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37538 file is not needed.
37539
37540 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37547 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37548 Add AVX variants.
37549 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37550 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37551 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37552 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37553 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37554 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37555 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37556 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37557 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37558 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37559 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37560 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37561 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37562 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37563 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37564 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37565 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37566 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37567 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37568
37569 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37570 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37571
618280a1
UD
37572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37573 place. Use VEX encoding when compiling for AVX.
37574
37822576
AS
375752011-10-25 Andreas Schwab <schwab@redhat.com>
37576
1f1e1947
AS
37577 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37578 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37579
37822576
AS
37580 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37581
31ea014d
UD
375822011-10-25 Ulrich Drepper <drepper@gmail.com>
37583
d7826aa1 37584 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37585 useless if() expression.
d7826aa1
UD
37586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37587 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37588 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37589 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37590 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37591 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37592 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37595 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37597 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37598 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37599 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37600 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37601 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37603 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37604 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37605
31ea014d
UD
37606 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37607
16437fec
AS
376082011-10-25 Andreas Schwab <schwab@redhat.com>
37609
37610 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37611 condition.
37612 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37613
31d3cc00
UD
376142011-10-25 Ulrich Drepper <drepper@gmail.com>
37615
37616 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37617 .text section. Avoid duplicate constants.
37618 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37625 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37626 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37627 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37628 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37629 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37630 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37631 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37632 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37635 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37641 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37642 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37643 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37644 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37645 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37646 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37647 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37648 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37649 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37650 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37651 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37652 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37653 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37654 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37655 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37656 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37657 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37658 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37659 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37660 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37661 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37662 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37663
58985aa9
UD
376642011-10-24 Ulrich Drepper <drepper@gmail.com>
37665
202c9deb
UD
37666 * sysdeps/x86_64/dla.h: Move to ...
37667 * sysdeps/x86_64/fpu/dla.h: ...here.
37668 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37669 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37670
af968f62
UD
37671 * config.make.in: Add have-mfma4 entry.
37672 * configure.in: Substitute libc_cv_cc_fma4.
37673 * math/Makefile (dbl-only-routines): Add sincostab.
37674 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37675 Use __sincostab not sincos.
37676 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37677 name is a macro.
37678 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37682 using __copysign.
37683 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37684 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37685 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37686 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37687 and __inv.
37688 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37689 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37690 __copysign.
37691 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37692 define aliases when function name is a macro.
37693 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37694 sysdeps/ieee754/dbl-64/sincos.tbl.
37695 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37696 fma4-enabled routines.
37697 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37698 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37699 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37700 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37701 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37702 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37703 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37704 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37706 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37707 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37708 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37709 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37710 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37711 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37712 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37713 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37714 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37715 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37716 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37717 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37718 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37719 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37720 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37721 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37722 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37723 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37724 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37725 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37726 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37727
58985aa9
UD
37728 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37729 rename.
37730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37738
a201fbcf
AS
377392011-10-24 Andreas Schwab <schwab@redhat.com>
37740
37741 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37742
fc2ee42a
LD
377432011-10-23 Ulrich Drepper <drepper@gmail.com>
37744
bb3129bd
UD
37745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37746
0275fff8
UD
37747 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37748 prediction.
37749 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37750
2fa2ae85
UD
37751 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37752 Remove unused variable magic_bits.
37753 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37754
fc2ee42a
LD
37755 * string/strnlen.c: Define and use STRNLEN macro.
37756 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37757 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37759 * wcsmbs/wcslen.c: Define and use WCSLEN.
37760 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37761 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37762 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37763 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37764 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37765 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37766 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37767
ce7dd29f
LD
377682011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37769
37770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37771 strnlen-sse2-no-bsf.
37772 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37774 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37775 Add strnlen support.
37776 (USE_AS_STRNLEN): New macro.
37777 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37778 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37779 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37780 * sysdeps/x86_64/wcslen.S: New file.
37781
979c70a3
MZ
377822011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37783
37784 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37785 XMM-moves are used for copying on small sizes.
37786
2d09f82f
LD
377872011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37788
37789 * wcsmbs/Makefile (strop-tests): Add wcschr.
37790 * wcsmbs/test-wcschr.c: New file.
37791 * string/test-strchr.c: Update.
37792 Add wcschr support.
37793 (WIDE): New macro.
37794
619fccca
LD
377952011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37796
2d09f82f 37797 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37798 * wcsmbs/test-wcslen.c: New file.
37799 * string/test-strlen.c: Update.
37800 Add wcslen support.
37801 (WIDE): New macro.
37802
09f699ea
UD
378032011-10-23 Ulrich Drepper <drepper@gmail.com>
37804
37805 * po/it.po: Update from translation team.
37806
95584d3b
LD
378072011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37808
37809 * sysdeps/x86_64/wcscmp.S: Update.
37810 Fix wrong comparison semantics.
37811 wcscmp shall use signed comparison not unsigned.
37812 Don't use substraction to avoid overflow bug.
37813 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37814 * wcsmbc/wcscmp.c: Likewise.
37815 * string/test-strcmp.c: Likewise.
37816 Add new tests to check cases with negative values.
37817
c8b3296b
UD
378182011-10-23 Ulrich Drepper <drepper@gmail.com>
37819
37820 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37821 * sysdeps/x86_64/dla.h: ...here. New file.
37822 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37827 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37828 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37831
246ad57a
AS
378322011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37833
37834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37835 __ynl_finite aliases.
37836
a1a87169
UD
378372011-10-22 Ulrich Drepper <drepper@gmail.com>
37838
0d355eb7
UD
37839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37840
a1a87169
UD
37841 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37842 define DLA_FMA.
37843 [DLA_FMA] (EMULV): Use DLA_FMA.
37844 [DLA_FMA] (MUL12): Use EMULV.
37845 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37846 that are not needed.
37847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37854
ee2aafe0
AS
378552011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37856
37857 * math/s_nan.c: Undef __nan.
37858 * math/s_nanf.c: Undef __nanf.
37859 * math/s_nanl.c: Undef __nanl.
37860 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37861 "math_private.h".
37862
bc62c2fb
UD
378632011-10-22 Ulrich Drepper <drepper@gmail.com>
37864
77425c63
UD
37865 * math/s_catan.c: Add branch predictions.
37866 * math/s_catanf.c: Likewise.
37867 * math/s_catanh.c: Likewise.
37868 * math/s_catanhf.c: Likewise.
37869 * math/s_catanhl.c: Likewise.
37870 * math/s_catanl.c: Likewise.
37871 * math/s_cexp.c: Likewise.
37872 * math/s_cexpf.c: Likewise.
37873 * math/s_cexpl.c: Likewise.
37874 * math/s_clog.c: Likewise.
37875 * math/s_clog10.c: Likewise.
37876 * math/s_clog10f.c: Likewise.
37877 * math/s_clog10l.c: Likewise.
37878 * math/s_clogf.c: Likewise.
37879 * math/s_clogl.c: Likewise.
37880 * math/s_csqrt.c: Likewise.
37881 * math/s_csqrtf.c: Likewise.
37882 * math/s_csqrtl.c: Likewise.
37883 * math/s_ctanf.c: Likewise.
37884 * math/s_ctanh.c: Likewise.
37885 * math/s_ctanhf.c: Likewise.
37886 * math/s_ctanhl.c: Likewise.
37887 * math/s_ctanl.c: Likewise.
37888
bc62c2fb
UD
37889 * math/math_private.h: Define __nan, __nanf, __nanl.
37890 * math/s_cacosh.c: Include <math_private.h>.
37891 * math/s_cacoshl.c: Likewise.
37892 * math/s_casinh.c: Likewise.
37893 * math/s_casinhf.c: Likewise.
37894 * math/s_casinhl.c: Likewise.
37895 * math/s_ccos.c: Rely entire on ccosh.
37896 * math/s_ccosf.c: Rely entire on ccoshf.
37897 * math/s_ccosl.c: Rely entirely on ccoshl.
37898 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37899 Remove tests for FE_INVALID.
37900 * math/s_ccoshf.c: Likewise.
37901 * math/s_ccoshl.c: Likewise.
37902 * math/s_csin.c: Likewise.
37903 * math/s_csinf.c: Likewise.
37904 * math/s_csinh.c Likewise.
37905 * math/s_csinhf.c: Likewise.
37906 * math/s_csinhl.c: Likewise.
37907 * math/s_csinl.c: Likewise.
37908 * math/s_ctan.c: Likewise.
37909 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37910 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37911 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37912
8ec250a4
UD
379132011-10-21 Ulrich Drepper <drepper@gmail.com>
37914
c196fed8
UD
37915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37916 compilation problems.
37917
8ec250a4
UD
37918 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37919 __builtin_expect.
37920
8d4f46c6
UD
379212011-10-20 Ulrich Drepper <drepper@gmail.com>
37922
ed72b654
UD
37923 * sysdeps/i386/configure.in: Test for -mfma4 option.
37924 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37925 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37926 COMMON_CPUID_INDEX_80000001.
37927 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37928 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37929 use it if FMA3 is not supported.
37930 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37931
8d4f46c6
UD
37932 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37933 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37934
d45c60c2
AS
379352011-10-20 Andreas Schwab <schwab@redhat.com>
37936
37937 [BZ #12892]
37938 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37939 it would create a cycle with a link time dependency.
37940
d9a4d2ab
UD
379412011-10-19 Ulrich Drepper <drepper@gmail.com>
37942
855d1560
UD
37943 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37944 instruction.
37945 * string/Makefile (strop-tests): Add rawmemchr.
37946 * string/test-rawmemchr.c: New file.
37947
d9a4d2ab
UD
37948 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37950 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37951 when compiling str{,n}casecmp and when AVX is available. Hook up
37952 new optimized code in initializers.
37953
8f3b1ffe
AS
379542011-10-19 Andreas Schwab <schwab@redhat.com>
37955
37956 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37957 __feraiseexcept instead of feraiseexcept.
37958
d38f1dba
UD
379592011-10-18 Ulrich Drepper <drepper@gmail.com>
37960
d9a8d0ab
UD
37961 * math/math_private.h: Define defaults for libc_fetestexcept and
37962 libc_feupdateenv.
37963 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37964 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37965 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37966 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37967 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37968 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37969 libc_fetestexcept and libc_feupdateenv.
37970
4855e3dd
UD
37971 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37972 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37973 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37974 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37975 libc_feholdexcept_setround.
37976
581d30e3
UD
37977 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37978 Add s_nearbyint-c and s_nearbyintf-c.
37979 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37980 nearbyintf inlines.
37981 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37982 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37983 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37984 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37985
d38f1dba
UD
37986 * math/math_private.h: Define defaults for libc_fegetround,
37987 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37988 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37989 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37991 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37992 standard functions.
37993 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37994 Remove comments and hacks for old compiler versions.
37995 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37996 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37997 libc_feholdexceptl.
37998
caa6c9d8
AS
379992011-10-18 Andreas Schwab <schwab@redhat.com>
38000
38001 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
38002 (__feraiseexcept_renamed): Add __NTH.
38003 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
38004 namespace violations.
38005
97c066e6
UD
380062011-10-17 Ulrich Drepper <drepper@gmail.com>
38007
99ce7b04
UD
38008 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38009
1004d182
UD
38010 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38011
228a984d
UD
38012 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38013 recently added interfaces.
38014 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38015
c8553a6a
UD
38016 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38017 about macro parameter expansion.
38018
ed22dcf6
UD
38019 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38020 __NO_MATH_INLINES is defined. Cleanups.
38021
38022 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38023 and __floorf is target has SSE4.1.
38024 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38025 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38026 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38027 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38028
b171c137
UD
38029 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38030 name.
38031 (floorf): Likewise.
38032
97c066e6
UD
38033 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38034
629f62ef
AS
380352011-10-17 Andreas Schwab <schwab@redhat.com>
38036
49a43d80
AS
38037 * misc/sys/cdefs.h: Fix last change.
38038
629f62ef
AS
38039 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38040 database lookup.
38041
e453f6cd
UD
380422011-10-16 Ulrich Drepper <drepper@gmail.com>
38043
aa78043a
UD
38044 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38045
ad0f5cad
UD
38046 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38048 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38049 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38050 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38051 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38052 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38053 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38054 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38055 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38056 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38057 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38058 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38059 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38060 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38061 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38062 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38063 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38064 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38065 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38066 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38067 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38068
38069 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38070 ceil, ceilf, floor, floorf.
38071
38072 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38073 Perform IRELATIVE relocations last.
38074
e453f6cd
UD
38075 * elf/do-rel.h: Add another parameter nrelative, replacing the
38076 local variable with the same name. Change name of the function
38077 to end in Rel or Rela (uppercase).
38078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38079 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38080 elf_dynamic_do_##reloc function.
38081
fd5bdc09
UD
380822011-10-15 Ulrich Drepper <drepper@gmail.com>
38083
79b195b5
UD
38084 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38085 is sufficient, at least on modern CPUs.
38086
d4a28569
UD
38087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38088
b61099b5
UD
38089 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38090 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38091
bcf01e6d
UD
38092 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38093 __expl_finite.
38094 * math/bits/math-finite.h: Add entries for exp.
38095 * math/e_expl.c: Add __*_finite alias.
38096 * sysdeps/i386/fpu/e_exp.S: Likewise.
38097 * sysdeps/i386/fpu/e_expf.S: Likewise.
38098 * sysdeps/i386/fpu/e_expl.c: Likewise.
38099 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38100 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38101 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38103 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38104 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38105 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38106
ba1a0d59
UD
38107 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38108 is sufficient, at least on modern CPUs.
38109
fd5bdc09
UD
38110 * ctype/ctype-info.c (__ctype_init): Define.
38111 * include/ctype.h (__ctype_init): Declare.
38112 (__ctype_b_loc): The variable is always initialized.
38113 (__ctype_toupper_loc): Likewise.
38114 (__ctype_tolower_loc): Likewise.
38115 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38116 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38117
7872cfb0
AS
381182011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38119
b468825a
AS
38120 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38121
7872cfb0
AS
38122 * configure.in: Also look in $cxxmachine/include for C++ system
38123 headers.
38124
be13f7bf
LD
381252011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38126
38127 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38128 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38129 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38130 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38131 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38132 (USE_AS_WMEMCMP): New macro.
38133 Fixing indents.
38134 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38135 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38136 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38137 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38139 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38140 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38141 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38142 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38143 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38144 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38145 (USE_AS_WMEMCMP): New macro.
38146 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38147 * sysdeps/string/test-memcmp.c: Update.
38148 Fix simple_wmemcmp.
38149 Add new tests.
38150 * wcsmbs/wmemcmp.c: Update.
38151 (WMEMCMP): New macro.
38152 Fix overflow bug.
38153
556a2007
AJ
381542011-10-12 Andreas Jaeger <aj@suse.de>
38155
38156 [BZ #13268]
38157 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38158
538faaa7
UD
381592011-10-15 Ulrich Drepper <drepper@gmail.com>
38160
ab6737ff
UD
38161 * libio/iofwide.c (do_length): Avoid warning.
38162
538faaa7
UD
38163 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38164
396a21b1
UD
381652011-10-14 Ulrich Drepper <drepper@gmail.com>
38166
cdf2901f
UD
38167 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38168
38ad40ce
UD
38169 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38170 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38171 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38172 * sysdeps/i386/i686/fpu/e_log.S: New file.
38173 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38174 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38175
396a21b1
UD
38176 * ctype/ctype.h: Add support for inlined isXXX functions when
38177 compiling C++ code.
38178
6b1f68c9
AS
381792011-10-14 Andreas Schwab <schwab@redhat.com>
38180
349290c0
AS
38181 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38182
6b1f68c9
AS
38183 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38184
f2282d42
RM
381852011-10-13 Roland McGrath <roland@hack.frob.com>
38186
38187 [BZ #13291]
38188 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38189
5298ffa8
AS
381902011-10-13 Andreas Schwab <schwab@redhat.com>
38191
714fad23
AS
38192 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38193 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38194 feraiseexcept.
38195
81dcc7fb
AS
38196 * sysdeps/x86_64/memrchr.S: Check for zero size.
38197
5298ffa8
AS
38198 * string/stratcliff.c: Add memrchr tests.
38199
951fbcec
LD
382002011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38201
38202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38203 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38204 rawmemchr-sse2 rawmemchr-sse2-bsf.
38205 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38206 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38207 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38208 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38209 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38210 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38211 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38212 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38213 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38214 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38215 * string/memrchr.c (MEMRCHR): New macro.
38216
0ac5ae23
UD
382172011-10-12 Ulrich Drepper <drepper@gmail.com>
38218
38219 Add integration with gcc's -ffinite-math-only and optimize wrapper
38220 functions in libm.
38221 * Versions.def: Define GLIBC_2.15 version for libm.
38222 * math/Makefile (headers): Add bits/math-finite.h.
38223 * math/bits/math-finite.h: New file.
38224 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38225 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38226 * math/e_acoshl.c: Add __*_finite alias.
38227 * math/e_acosl.c: Likewise.
38228 * math/e_asinl.c: Likewise.
38229 * math/e_atan2l.c: Likewise.
38230 * math/e_atanhl.c: Likewise.
38231 * math/e_coshl.c: Likewise.
38232 * math/e_exp10.c: Likewise.
38233 * math/e_exp10f.c: Likewise.
38234 * math/e_exp10l.c: Likewise.
38235 * math/e_exp2l.c: Likewise.
38236 * math/e_fmodl.c: Likewise.
38237 * math/e_gammal_r.c: Likewise.
38238 * math/e_hypotl.c: Likewise.
38239 * math/e_j0l.c: Likewise.
38240 * math/e_j1l.c: Likewise.
38241 * math/e_jnl.c: Likewise.
38242 * math/e_lgammal_r.c: Likewise.
38243 * math/e_log10l.c: Likewise.
38244 * math/e_log2l.c: Likewise.
38245 * math/e_logl.c: Likewise.
38246 * math/e_powl.c: Likewise.
38247 * math/e_sinhl.c: Likewise.
38248 * math/e_sqrtl.c: Likewise.
38249 * math/e_scalb.c: Completely rewritten and optimized.
38250 * math/e_scalbf.c: Likewise.
38251 * math/e_scalbl.c: Likewise.
38252 * math/w_acos.c: Likewise.
38253 * math/w_acosf.c: Likewise.
38254 * math/w_acosl.c: Likewise.
38255 * math/w_acosh.c: Likewise.
38256 * math/w_acoshf.c: Likewise.
38257 * math/w_acoshl.c: Likewise.
38258 * math/w_asin.c: Likewise.
38259 * math/w_asinf.c: Likewise.
38260 * math/w_asinl.c: Likewise.
38261 * math/w_atan2.c: Likewise.
38262 * math/w_atan2f.c: Likewise.
38263 * math/w_atan2l.c: Likewise.
38264 * math/w_atanh.c: Likewise.
38265 * math/w_atanhf.c: Likewise.
38266 * math/w_atanhl.c: Likewise.
38267 * math/w_exp10.c: Likewise.
38268 * math/w_exp10f.c: Likewise.
38269 * math/w_exp10l.c: Likewise.
38270 * math/w_fmod.c: Likewise.
38271 * math/w_fmodf.c: Likewise.
38272 * math/w_fmodl.c: Likewise.
38273 * math/w_j0.c: Likewise.
38274 * math/w_j0f.c: Likewise.
38275 * math/w_j0l.c: Likewise.
38276 * math/w_j1.c: Likewise.
38277 * math/w_j1f.c: Likewise.
38278 * math/w_j1l.c: Likewise.
38279 * math/w_jn.c: Likewise.
38280 * math/w_jnf.c: Likewise.
38281 * math/w_log.c: Likewise.
38282 * math/w_logf.c: Likewise.
38283 * math/w_logl.c: Likewise.
38284 * math/w_log10.c: Likewise.
38285 * math/w_log10f.c: Likewise.
38286 * math/w_log10l.c: Likewise.
38287 * math/w_log2.c: Likewise.
38288 * math/w_log2f.c: Likewise.
38289 * math/w_log2l.c: Likewise.
38290 * math/w_pow.c: Likewise.
38291 * math/w_powf.c: Likewise.
38292 * math/w_powl.c: Likewise.
38293 * math/w_remainder.c: Likewise.
38294 * math/w_remainderf.c: Likewise.
38295 * math/w_remainderl.c: Likewise.
38296 * math/w_scalb.c: Likewise.
38297 * math/w_scalbf.c: Likewise.
38298 * math/w_scalbl.c: Likewise.
38299 * math/w_sqrt.c: Likewise.
38300 * math/w_sqrtf.c: Likewise.
38301 * math/w_sqrtl.c: Likewise.
38302 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38303 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38304 used.
38305 * math/math_private.h: Declare __kernel_standard_f.
38306 * math/w_cosh.c: Remove cruft and optimize a bit.
38307 * math/w_coshf.c: Likewise.
38308 * math/w_coshl.c: Likewise.
38309 * math/w_exp2.c: Likewise.
38310 * math/w_exp2f.c: Likewise.
38311 * math/w_exp2l.c: Likewise.
38312 * math/w_hypot.c: Likewise.
38313 * math/w_hypotf.c: Likewise.
38314 * math/w_hypotl.c: Likewise.
38315 * math/w_lgamma.c: Likewise.
38316 * math/w_lgamma_r.c: Likewise.
38317 * math/w_lgammaf.c: Likewise.
38318 * math/w_lgammaf_r.c: Likewise.
38319 * math/w_lgammal.c: Likewise.
38320 * math/w_lgammal_r.c: Likewise.
38321 * math/w_sinh.c: Likewise.
38322 * math/w_sinhf.c: Likewise.
38323 * math/w_sinhl.c: Likewise.
38324 * math/w_tgamma.c: Likewise.
38325 * math/w_tgammaf.c: Likewise.
38326 * math/w_tgammal.c: Likewise.
38327 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38328 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38329 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38330 Minor optimizations. Pretty printing. Remove cruft.
38331 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38332 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38333 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38334 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38335 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38336 * sysdeps/i386/fpu/e_asin.S: Likewise.
38337 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38338 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38339 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38340 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38341 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38342 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38343 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38344 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38345 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38346 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38347 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38348 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38349 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38350 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38351 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38352 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38353 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38354 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38355 * sysdeps/i386/fpu/e_log.S: Likewise.
38356 * sysdeps/i386/fpu/e_log10.S: Likewise.
38357 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38358 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38359 * sysdeps/i386/fpu/e_log2.S: Likewise.
38360 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38362 * sysdeps/i386/fpu/e_logf.S: Likewise.
38363 * sysdeps/i386/fpu/e_logl.S: Likewise.
38364 * sysdeps/i386/fpu/e_pow.S: Likewise.
38365 * sysdeps/i386/fpu/e_powf.S: Likewise.
38366 * sysdeps/i386/fpu/e_powl.S: Likewise.
38367 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38368 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38369 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38370 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38372 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38373 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38374 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38375 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38376 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38379 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38380 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38381 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38382 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38383 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38385 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38386 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38387 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38389 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38390 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38392 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38393 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38396 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38397 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38398 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38399 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38400 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38401 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38402 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38403 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38404 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38405 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38406 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38407 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38410 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38411 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38412 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38413 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38414 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38415 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38416 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38417 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38418 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38419 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38420 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38421 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38422 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38423 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38424 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38426 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38427 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38428 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38429 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38431 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38432 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38433 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38434 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38435 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38436 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38437 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38438 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38440 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38441 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38442 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38444 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38445 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38446 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38447 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38450 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38452 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38453 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38454 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38455 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38456 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38457 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38458 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38459 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38460 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38461 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38462 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38463 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38464 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38465 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38466 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38467 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38468 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38469 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38470 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38471 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38472 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38473 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38474 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38475 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38476 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38477 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38478 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38479 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38480 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38481 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38483 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38484 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38485 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38486 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38487 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38488 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38489 (__isnanf): Likewise.
38490 (__isinf_ns): Likewise.
38491 (__isinf_nsf): Likewise.
38492 (__finite): Likewise.
38493 (__finitef): Likewise.
38494 (__ieee754_sqrt): Define as macro.
38495 (__ieee754_sqrtf): Define as macro.
38496 (__ieee754_sqrtl): Define as macro.
38497 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38498 inlined copy.
38499 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38500 __FINITE_MATH_ONLY__ consistent.
38501 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38502
12cc2fcd
AS
385032011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38504
a843a204
AS
38505 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38506 of rawmemchr.
38507
12cc2fcd
AS
38508 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38509
c853acd5
UD
385102011-10-09 Ulrich Drepper <drepper@gmail.com>
38511
38512 * po/ja.po: Update from translation team.
38513
c658d255
RM
385142011-10-08 Roland McGrath <roland@hack.frob.com>
38515
110946e4
RM
38516 * locale/programs/locarchive.c (prepare_address_space): New function.
38517 (create_archive, enlarge_archive, open_archive): Use it.
38518
50604220
RM
38519 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38520 inside [SHARED], where it is used.
38521
c658d255
RM
38522 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38523
38524 * nss/getent.c (netgroup_keys): Remove unused variable.
38525 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38526
6a621eb7
UD
385272011-10-08 Ulrich Drepper <drepper@gmail.com>
38528
7edb55ce
UD
38529 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38530 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38532 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38533 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38534 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38535 * math/Makefile (libm-calls): Add s_isinf_ns.
38536 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38537 * math/multc3.c: Likewise.
38538 * math/s_casin.c: Likewise.
38539 * math/s_casinf.c: Likewise.
38540 * math/s_casinl.c: Likewise.
38541 * math/s_ccos.c: Likewise.
38542 * math/s_ccosf.c: Likewise.
38543 * math/s_ccosl.c: Likewise.
38544 * math/s_ctan.c: Likewise.
38545 * math/s_ctanf.c: Likewise.
38546 * math/s_ctanh.c: Likewise.
38547 * math/s_ctanhf.c: Likewise.
38548 * math/s_ctanhl.c: Likewise.
38549 * math/s_ctanl.c: Likewise.
38550 * math/w_fmod.c: Likewise.
38551 * math/w_fmodf.c: Likewise.
38552 * math/w_fmodl.c: Likewise.
38553 * math/w_remainder.c: Likewise.
38554 * math/w_remainderf.c: Likewise.
38555 * math/w_remainderl.c: Likewise.
38556 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38557 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38558 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38560 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38561 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38562 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38563 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38564
187da0ae
UD
38565 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38566 of the number.
38567 * stdio-common/printf_fphex.c: Likewise.
38568 * stdio-common/printf_size.c: Likewise.
38569
9277c064
UD
38570 * math/e_exp10.c: Include math_private.h using <...> not "...".
38571 * math/e_exp10f.c: Likewise.
38572 * math/e_exp10l.c: Likewise.
38573 * math/e_exp2l.c: Likewise.
38574 * math/e_j0l.c: Likewise.
38575 * math/e_j1l.c: Likewise.
38576 * math/e_jnl.c: Likewise.
38577 * math/e_lgammal_r.c: Likewise.
38578 * math/e_rem_pio2l.c: Likewise.
38579 * math/e_scalb.c: Likewise.
38580 * math/e_scalbf.c: Likewise.
38581 * math/e_scalbl.c: Likewise.
38582 * math/k_cosl.c: Likewise.
38583 * math/k_sinl.c: Likewise.
38584 * math/k_tanl.c: Likewise.
38585 * math/s_cacoshf.c: Likewise.
38586 * math/s_catan.c: Likewise.
38587 * math/s_catanf.c: Likewise.
38588 * math/s_catanh.c: Likewise.
38589 * math/s_catanhf.c: Likewise.
38590 * math/s_catanhl.c: Likewise.
38591 * math/s_catanl.c: Likewise.
38592 * math/s_ccosh.c: Likewise.
38593 * math/s_ccoshf.c: Likewise.
38594 * math/s_ccoshl.c: Likewise.
38595 * math/s_cexp.c: Likewise.
38596 * math/s_cexpf.c: Likewise.
38597 * math/s_cexpl.c: Likewise.
38598 * math/s_clog.c: Likewise.
38599 * math/s_clog10.c: Likewise.
38600 * math/s_clog10f.c: Likewise.
38601 * math/s_clog10l.c: Likewise.
38602 * math/s_clogf.c: Likewise.
38603 * math/s_clogl.c: Likewise.
38604 * math/s_csin.c: Likewise.
38605 * math/s_csinf.c: Likewise.
38606 * math/s_csinh.c: Likewise.
38607 * math/s_csinhf.c: Likewise.
38608 * math/s_csinhl.c: Likewise.
38609 * math/s_csinl.c: Likewise.
38610 * math/s_csqrt.c: Likewise.
38611 * math/s_csqrtf.c: Likewise.
38612 * math/s_csqrtl.c: Likewise.
38613 * math/s_ctan.c: Likewise.
38614 * math/s_ctanf.c: Likewise.
38615 * math/s_ctanh.c: Likewise.
38616 * math/s_ctanhf.c: Likewise.
38617 * math/s_ctanhl.c: Likewise.
38618 * math/s_ctanl.c: Likewise.
38619 * math/s_ldexp.c: Likewise.
38620 * math/s_ldexpf.c: Likewise.
38621 * math/s_ldexpl.c: Likewise.
38622 * math/s_significand.c: Likewise.
38623 * math/s_significandf.c: Likewise.
38624 * math/s_significandl.c: Likewise.
38625 * math/w_acos.c: Likewise.
38626 * math/w_acosf.c: Likewise.
38627 * math/w_acosh.c: Likewise.
38628 * math/w_acoshf.c: Likewise.
38629 * math/w_acoshl.c: Likewise.
38630 * math/w_acosl.c: Likewise.
38631 * math/w_asin.c: Likewise.
38632 * math/w_asinf.c: Likewise.
38633 * math/w_asinl.c: Likewise.
38634 * math/w_atan2.c: Likewise.
38635 * math/w_atan2f.c: Likewise.
38636 * math/w_atan2l.c: Likewise.
38637 * math/w_atanh.c: Likewise.
38638 * math/w_atanhf.c: Likewise.
38639 * math/w_atanhl.c: Likewise.
38640 * math/w_cosh.c: Likewise.
38641 * math/w_coshf.c: Likewise.
38642 * math/w_coshl.c: Likewise.
38643 * math/w_dremf.c: Likewise.
38644 * math/w_exp10.c: Likewise.
38645 * math/w_exp10f.c: Likewise.
38646 * math/w_exp10l.c: Likewise.
38647 * math/w_exp2.c: Likewise.
38648 * math/w_exp2f.c: Likewise.
38649 * math/w_fmod.c: Likewise.
38650 * math/w_fmodf.c: Likewise.
38651 * math/w_fmodl.c: Likewise.
38652 * math/w_hypot.c: Likewise.
38653 * math/w_hypotf.c: Likewise.
38654 * math/w_hypotl.c: Likewise.
38655 * math/w_j0.c: Likewise.
38656 * math/w_j0f.c: Likewise.
38657 * math/w_j0l.c: Likewise.
38658 * math/w_j1.c: Likewise.
38659 * math/w_j1f.c: Likewise.
38660 * math/w_j1l.c: Likewise.
38661 * math/w_jn.c: Likewise.
38662 * math/w_jnf.c: Likewise.
38663 * math/w_jnl.c: Likewise.
38664 * math/w_lgamma.c: Likewise.
38665 * math/w_lgamma_r.c: Likewise.
38666 * math/w_lgammaf.c: Likewise.
38667 * math/w_lgammaf_r.c: Likewise.
38668 * math/w_lgammal.c: Likewise.
38669 * math/w_lgammal_r.c: Likewise.
38670 * math/w_log.c: Likewise.
38671 * math/w_log10.c: Likewise.
38672 * math/w_log10f.c: Likewise.
38673 * math/w_log10l.c: Likewise.
38674 * math/w_log2.c: Likewise.
38675 * math/w_log2f.c: Likewise.
38676 * math/w_log2l.c: Likewise.
38677 * math/w_logf.c: Likewise.
38678 * math/w_logl.c: Likewise.
38679 * math/w_pow.c: Likewise.
38680 * math/w_powf.c: Likewise.
38681 * math/w_powl.c: Likewise.
38682 * math/w_remainder.c: Likewise.
38683 * math/w_remainderf.c: Likewise.
38684 * math/w_remainderl.c: Likewise.
38685 * math/w_scalb.c: Likewise.
38686 * math/w_scalbf.c: Likewise.
38687 * math/w_scalbl.c: Likewise.
38688 * math/w_sinh.c: Likewise.
38689 * math/w_sinhf.c: Likewise.
38690 * math/w_sinhl.c: Likewise.
38691 * math/w_sqrt.c: Likewise.
38692 * math/w_sqrtf.c: Likewise.
38693 * math/w_sqrtl.c: Likewise.
38694 * math/w_tgamma.c: Likewise.
38695 * math/w_tgammaf.c: Likewise.
38696 * math/w_tgammal.c: Likewise.
38697
6a621eb7
UD
38698 * po/ja.po: Update from translation team.
38699
bf582445
AJ
387002011-09-29 Andreas Jaeger <aj@suse.de>
38701
f9efbf3a
AJ
38702 [BZ #13179]
38703 * sunrpc/netname.c (netname2host): Fix logic.
38704
bf582445
AJ
38705 [BZ #6779]
38706 [BZ #6783]
38707 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38708 correctly.
38709 * math/w_remainder.c (__remainder): Likewise.
38710 * math/w_remainderf.c (__remainderf): Likewise.
38711 * math/libm-test.inc (remainder_test): Add test cases.
38712
48693bea
AK
387132011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38714
38715 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38716 sdiv_qrnnd.
38717
42622229
LD
387182011-10-07 Ulrich Drepper <drepper@gmail.com>
38719
38720 * string/test-memcmp.c: Avoid unncessary #defines.
38721 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38722
093ecf92
LD
387232011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38724
38725 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38726 Use new sse2 version for core i3 - i7 as it's faster
38727 than sse42 version.
38728 (bit_Prefer_PMINUB_for_stringop): New.
38729 * sysdeps/x86_64/rawmemchr.S: Update.
38730 Replace with faster SSE2 version.
38731 * sysdeps/x86_64/memrchr.S: New file.
38732 * sysdeps/x86_64/memchr.S: Update.
38733 Replace with faster SSE2 version.
38734
fde56e5c
MP
387352011-09-12 Marek Polacek <mpolacek@redhat.com>
38736
38737 * elf/dl-load.c (lose): Add cast to avoid warning.
38738
21fd49a9
UD
387392011-10-07 Ulrich Drepper <drepper@gmail.com>
38740
5a06e643
UD
38741 * po/ca.po: Update from translation team.
38742
684ae515
UD
38743 * inet/getnetgrent_r.c: Hook up nscd.
38744 * nscd/Makefile (routines): Add nscd_netgroup.
38745 (nscd-modules): Add netgroupcache.
38746 (CFLAGS-netgroupcache.c): Define.
38747 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38748 (cache_search): Add const to second parameter.
38749 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38750 INNETGR.
38751 (dbs): Add netgrdb entry.
38752 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38753 (verify_persistent_db): Handle netgrdb.
38754 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38755 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38756 GETFDNETGR.
38757 (netgroup_response_header): Define.
38758 (innetgroup_response_header): Define.
38759 (datahead): Add netgroup_response_header and innetgroup_response_header
38760 elements.
38761 * nscd/nscd.conf: Add entries for netgroup cache.
38762 * nscd/nscd.h (dbtype): Add netgrdb.
38763 (_PATH_NSCD_NETGROUP_DB): Define.
38764 (netgroup_iov_disabled): Declare.
38765 (xmalloc, xcalloc, xrealloc): Move declarations here.
38766 (cache_search): Adjust prototype.
38767 Add netgroup-related prototypes.
38768 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38769 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38770 (__nscd_innetgr): Declare.
38771 * nscd/selinux.c (perms): Use access_vector_t as element type and
38772 add netgroup-related initializers.
38773 * nscd/netgroupcache.c: New file.
38774 * nscd/nscd_netgroup.c: New file.
38775 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38776 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38777 For four parameters use innetgr.
38778 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38779 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38780 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38781 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38782
21fd49a9
UD
38783 * nscd/connections.c (register_traced_file): Don't register file
38784 for disabled databases.
38785
054c0457
UD
387862011-10-06 Ulrich Drepper <drepper@gmail.com>
38787
32b63198
UD
38788 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38789
054c0457
UD
38790 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38791 from tree and freeing node.
38792
64031225
JO
387932011-09-25 Jiri Olsa <jolsa@redhat.com>
38794
38795 * nss/nsswitch.c (__nss_database_lookup): Handle
38796 nss_parse_service_list out of memory case.
38797
0490345c
JO
387982011-09-15 Jiri Olsa <jolsa@redhat.com>
38799
38800 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38801 out of memory case.
38802
3a62d00d
AS
388032011-10-04 Andreas Schwab <schwab@redhat.com>
38804
38805 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38806 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38807 pass it down.
38808 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38809 elf_machine_rela, elf_machine_lazy_rel.
38810 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38811 (ELF_DYNAMIC_DO_REL): Likewise.
38812 (ELF_DYNAMIC_DO_RELA): Likewise.
38813 (ELF_DYNAMIC_RELOCATE): Likewise.
38814 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38815 to ELF_DYNAMIC_DO_REL.
38816 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38817 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38818 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38819 elf_machine_rela.
38820 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38821 skip_ifunc, don't call ifunc function if non-zero.
38822 (elf_machine_rela): Likewise.
38823 (elf_machine_lazy_rel): Likewise.
38824 (elf_machine_lazy_rela): Likewise.
38825 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38826 (elf_machine_lazy_rel): Likewise.
38827 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38828 Likewise.
38829 (elf_machine_lazy_rel): Likewise.
38830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38831 Likewise.
38832 (elf_machine_lazy_rel): Likewise.
38833 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38834 (elf_machine_lazy_rel): Likewise.
38835 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38836 (elf_machine_lazy_rel): Likewise.
38837 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38838 (elf_machine_lazy_rel): Likewise.
38839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38840 (elf_machine_lazy_rel): Likewise.
38841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38842 (elf_machine_lazy_rel): Likewise.
38843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38844 (elf_machine_lazy_rel): Likewise.
38845
68577918
UD
388462011-09-28 Ulrich Drepper <drepper@gmail.com>
38847
38848 * nss/nss_files/files-init.c (_nss_files_init): Use static
38849 initialization for all the *_traced_file variables.
38850
68822d74
AS
388512011-09-28 Andreas Schwab <schwab@redhat.com>
38852
38853 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38854
2056100b
RM
388552011-09-27 Roland McGrath <roland@hack.frob.com>
38856
38857 [BZ #13226]
38858 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38859
32c76b63
AS
388602011-09-27 Andreas Schwab <schwab@redhat.com>
38861
38862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38863 Reread the line before reparsing it.
38864
bf972c9d
AS
388652011-09-26 Andreas Schwab <schwab@redhat.com>
38866
38867 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38868
e057a1b5
JM
388692011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38870 Maxim Kuvyrkov <maxim@codesourcery.com>
38871 Joseph Myers <joseph@codesourcery.com>
38872
38873 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38874 if needed for __stack_chk_guard.
38875
bc7e1c36
RM
388762011-09-19 Roland McGrath <roland@hack.frob.com>
38877
ecb1482f
RM
38878 * sysdeps/posix/spawni.c (script_execute): Always define it.
38879 It will be optimized away if unused.
38880 (maybe_script_execute): New function.
38881 (__spawni): Call it.
38882
bc7e1c36
RM
38883 * Makerules: Don't include tls.make.
38884 (config-tls): Always set to thread.
38885 * tls.make.c: File removed.
38886
1c3b002b
MF
388872011-09-19 Mike Frysinger <vapier@gentoo.org>
38888
38889 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38890 * config.make.in (CPPFLAGS-config): New substituted variable.
38891
2840865d
UD
388922011-09-15 Ulrich Drepper <drepper@gmail.com>
38893
88738eb6
UD
38894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38895
cbf645a6 38896 [BZ #13192]
2840865d
UD
38897 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38898 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38899
b402e91a
RM
389002011-09-15 Roland McGrath <roland@hack.frob.com>
38901
38902 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38903 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38905 (CALL_FAIL): Likewise.
38906 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38907 (CALL_FAIL): Macro removed.
38908 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38909
4c1a1f71
UD
389102011-09-15 Ulrich Drepper <drepper@gmail.com>
38911
38912 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38913 for __FINITE_MATH_ONLY__ == 1.
38914
edc121be
AS
389152011-09-15 Andreas Schwab <schwab@redhat.com>
38916
38917 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38918 __ieee754_sqrt instead of sqrt.
38919 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38920 __ieee754_sqrtf instead of sqrtf.
38921 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38922 __floorf instead of floorf.
38923 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38924 __floorf, __truncf instead of floorf, truncf.
38925
cd205654
UD
389262011-09-14 Ulrich Drepper <drepper@gmail.com>
38927
ee4d0315
UD
38928 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38929
cd205654
UD
38930 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38931 __extern_always_inline.
38932 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38933 32-bit.
38934
48b67d71
AS
389352011-09-14 Andreas Schwab <schwab@redhat.com>
38936
38937 * elf/rtld.c (dl_main): Also relocate in dependency order when
38938 doing symbol dependency testing.
38939
1ae12c75
AS
389402011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38941
38942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38943 Always define `refsym'.
38944
995a80df
AS
389452011-09-13 Andreas Schwab <schwab@redhat.com>
38946
e529793b
AS
38947 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38948 (__FD_ELT): Renamed from __FDELT.
38949 * misc/bits/select2.h (__FD_ELT): Likewise.
38950 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38951 __FD_MASK instead of __FDELT, __FDMASK.
38952 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38953 Likewise.
38954 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38955 Likewise.
38956
52d4fef8
AS
38957 * elf/Makefile (gen-ldd): Fix pattern.
38958
995a80df
AS
38959 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38960 (init_tls): Likewise.
38961
8682f8b0
UD
389622011-09-12 Ulrich Drepper <drepper@gmail.com>
38963
38964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38965
de82006d
AS
389662011-09-12 Andreas Schwab <schwab@redhat.com>
38967
a7c8e6a1
AS
38968 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38969 `struct cmsghdr *' instead of `void *'.
38970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38971 Likewise.
38972
0f31fe77
AS
389732011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38974
38975 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38976 if non-absolute.
38977 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38978 ldd_rewrite_script.
0f31fe77 38979
32b4c839
UD
389802011-09-11 Ulrich Drepper <drepper@gmail.com>
38981
83cd1420
UD
38982 * configure.in: Remove --with-tls option.
38983 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38984 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38985 out in case it is missing.
38986 * sysdeps/ia64/elf/configure.in: Likewise.
38987 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38988 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38989 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38990 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38991 * sysdeps/sh/elf/configure.in: Likewise.
38992 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38993 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38994 * sysdeps/x86_64/elf/configure.in: Likewise.
38995 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38996 * sysdeps/mach/hurd/tls.h: Likewise.
38997
633f745d
UD
38998 [BZ #13067]
38999 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39000
f318beb8
UD
39001 [BZ #13090]
39002 * configure.in: Fix use of AC_INIT.
39003
32b4c839
UD
39004 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39005
3ce1f295
UD
390062011-09-10 Ulrich Drepper <drepper@gmail.com>
39007
bb016596
UD
39008 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39009 __set_errno.
8e58439c
UD
39010 * malloc/hooks.c: Likewise.
39011
aebae053 39012 [BZ #11929]
02d46fc4
UD
39013 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39014 variables statically.
39015 (narenas): Initialize.
39016 (list_lock): Initialize.
bb016596
UD
39017 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39018 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
39019 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39020 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39021 Add initializers to main_arena and mp_.
39022 (malloc_state): Remove pagesize member. Change all users to use
39023 GLRO(dl_pagesize).
39024
39025 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39026 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39027 is always initialized.
39028
22a89187
UD
39029 * malloc/malloc.c: Removed unused configurations and dead code.
39030 * malloc/arena.c: Likewise.
39031 * malloc/hooks.c: Likewise.
02d46fc4 39032 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 39033
d063d164
UD
39034 * include/tls.h: Removed. USE___THREAD must always be defined.
39035 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39036 * elf/dl-libc.c: Likewise.
39037 * elf/dl-tsd.c: Likewise.
39038 * include/errno.h: Likewise.
39039 * include/netdb.h: Likewise.
39040 * include/resolv.h: Likewise.
39041 * inet/herrno-loc.c: Likewise.
39042 * inet/herrno.c: Likewise.
39043 * malloc/arena.c: Likewise.
39044 * malloc/hooks.c: Likewise.
39045 * malloc/malloc.c: Likewise.
39046 * resolv/res-state.c: Likewise.
39047 * resolv/res_libc.c: Likewise.
39048 * sysdeps/i386/dl-machine.h: Likewise.
39049 * sysdeps/ia64/dl-machine.h: Likewise.
39050 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39051 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39052 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39053 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39054 * sysdeps/sh/dl-machine.h: Likewise.
39055 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39056 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39057 * sysdeps/unix/i386/sysdep.S: Likewise.
39058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39059 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39061 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39064 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39068 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39069 * sysdeps/x86_64/dl-machine.h: Likewise.
39070 * tls.make.c: Likewise.
39071
3ce1f295
UD
39072 * configure.in: Remove --with-__thread option. Make tests for
39073 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39074 tls_model attribute fail if no support is available. Remove
39075 USE_IN_LIBIO.
39076 * Makeconfig: Adjust for dropped configure option. All features are
39077 now mandatory.
39078 * Makerules: Likewise.
39079 * Versions.def: Likewise.
39080 * argp/argp-fmtstream.c: Likewise.
39081 * argp/argp-fmtstream.h: Likewise.
39082 * argp/argp-help.c: Likewise.
39083 * assert/assert.c: Likewise.
39084 * config.h.in: Likewise.
39085 * config.make.in: Likewise.
39086 * configure: Likewise.
39087 * configure.in: Likewise.
39088 * csu/Versions: Likewise.
39089 * csu/init.c: Likewise.
39090 * elf/tst-audit2.c: Likewise.
39091 * elf/tst-tls10.c: Likewise.
39092 * elf/tst-tls10.h: Likewise.
39093 * elf/tst-tls11.c: Likewise.
39094 * elf/tst-tls12.c: Likewise.
39095 * elf/tst-tls14.c: Likewise.
39096 * elf/tst-tlsmod11.c: Likewise.
39097 * elf/tst-tlsmod12.c: Likewise.
39098 * elf/tst-tlsmod13.c: Likewise.
39099 * elf/tst-tlsmod13a.c: Likewise.
39100 * elf/tst-tlsmod14a.c: Likewise.
39101 * elf/tst-tlsmod15b.c: Likewise.
39102 * elf/tst-tlsmod16a.c: Likewise.
39103 * elf/tst-tlsmod16b.c: Likewise.
39104 * elf/tst-tlsmod7.c: Likewise.
39105 * elf/tst-tlsmod8.c: Likewise.
39106 * elf/tst-tlsmod9.c: Likewise.
39107 * gmon/gmon.c: Likewise.
39108 * grp/fgetgrent_r.c: Likewise.
39109 * grp/putgrent.c: Likewise.
39110 * hurd/fopenport.c: Likewise.
39111 * include/libc-symbols.h: Likewise.
39112 * include/tls.h: Likewise.
39113 * intl/gettextP.h: Likewise.
39114 * intl/loadinfo.h: Likewise.
39115 * locale/global-locale.c: Likewise.
39116 * locale/localeinfo.h: Likewise.
39117 * mach/devstream.c: Likewise.
39118 * malloc/arena.c: Likewise.
39119 * malloc/set-freeres.c: Likewise.
39120 * misc/err.c: Likewise.
39121 * misc/getttyent.c: Likewise.
39122 * misc/mntent_r.c: Likewise.
39123 * posix/getopt.c: Likewise.
39124 * posix/wordexp.c: Likewise.
39125 * pwd/fgetpwent_r.c: Likewise.
39126 * resolv/Versions: Likewise.
39127 * resolv/res_hconf.c: Likewise.
39128 * shadow/fgetspent_r.c: Likewise.
39129 * shadow/putspent.c: Likewise.
39130 * stdio-common/printf_fphex.c: Likewise.
39131 * stdio-common/tmpfile.c: Likewise.
39132 * stdlib/abort.c: Likewise.
39133 * stdlib/fmtmsg.c: Likewise.
39134 * sunrpc/auth_unix.c: Likewise.
39135 * sunrpc/clnt_perr.c: Likewise.
39136 * sunrpc/clnt_tcp.c: Likewise.
39137 * sunrpc/clnt_udp.c: Likewise.
39138 * sunrpc/clnt_unix.c: Likewise.
39139 * sunrpc/openchild.c: Likewise.
39140 * sunrpc/svc_simple.c: Likewise.
39141 * sunrpc/svc_tcp.c: Likewise.
39142 * sunrpc/svc_udp.c: Likewise.
39143 * sunrpc/svc_unix.c: Likewise.
39144 * sunrpc/xdr.c: Likewise.
39145 * sunrpc/xdr_array.c: Likewise.
39146 * sunrpc/xdr_rec.c: Likewise.
39147 * sunrpc/xdr_ref.c: Likewise.
39148 * sunrpc/xdr_stdio.c: Likewise.
39149
1248c1c4
PB
391502011-09-09 Ulrich Drepper <drepper@gmail.com>
39151
39152 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39153
391542011-07-03 Andreas Jaeger <aj@suse.de>
39155
39156 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39157 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39158 regenerate with gen-libm-tests.pl.
39159
391602010-05-12 Petr Baudis <pasky@suse.cz>
39161
39162 [BZ #11589]
39163 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39164 around j0() zero points by switching to j1().
39165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39166 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39168 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39169
f22e1074
UD
391702011-09-09 Ulrich Drepper <drepper@gmail.com>
39171
f19009c1
UD
39172 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39173 instead of 0.
39174 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39175 instead of 0.
f19009c1
UD
39176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39177 Patch in part by Pavel Roskin <proski@gnu.org>.
39178
3f8cc204
UD
39179 [BZ #13138]
39180 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39181 realloc.
39182 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39183 Free memory block if necessary.
39184
f22e1074
UD
39185 [BZ #12847]
39186 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39187 be NULL. Don't lock in this case.
39188
0a2349f9
RM
391892011-09-09 Roland McGrath <roland@hack.frob.com>
39190
39191 * elf/elf.h (ELFOSABI_GNU): New macro.
39192 (ELFOSABI_LINUX): Define to that.
39193
f3cdd467
DZ
391942011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39195
39196 * string/strncat.c (strncat): Undef the symbol in case it has been
39197 defined in bits/string.h.
39198
74718d13
UD
391992011-09-09 Ulrich Drepper <drepper@gmail.com>
39200
633e9e0f
UD
39201 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39202
0a2349f9 39203 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39204 link map.
39205
f9924780
AJ
392062011-08-17 Andreas Jaeger <aj@suse.de>
39207
39208 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39209
7f5517aa
PP
392102011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39211 Ian Lance Taylor <iant@google.com>
39212
39213 * math/libm-test.inc (lround_test): New testcase.
39214 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39215
762011fe
UD
392162011-09-08 Ulrich Drepper <drepper@gmail.com>
39217
92963737
UD
39218 * Makefile: Remove support for automatic cvs check-ins.
39219 * Makerules: Likewise.
39220 * config.make.in: Likewise.
39221 * configure.in: Likewise.
39222 * intl/Makefile: Likewise.
39223 * locale/Makefile: Likewise.
39224 * po/Makefile: Likewise.
39225 * posix/Makefile: Likewise.
39226 * sysdeps/gnu/Makefile: Likewise.
39227 * sysdeps/mach/hurd/Makefile: Likewise.
39228 * sysdeps/sparc/sparc32/Makefile: Likewise.
39229
b0727fd8
JS
39230 [BZ #13118]
39231 * posix/Makefile (bug-regex32-ENV): Define.
39232 Patch by John Stanley <jpsinthemix@verizon.net>.
39233
a0f33f99
UD
39234 * misc/Makefile (headers): Add bits/select2.h.
39235 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39236 * misc/bits/select2.h: New file.
39237 * include/bits/select2.h: New file.
39238 * debug/Makefile (routines): Add fdelt_chk.
39239 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39240 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39241 FD_ISSET.
39242 * debug/fdelt_chk.c: New file.
39243
762011fe
UD
39244 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39245 * wcsmbs/test-wmemcmp.c: Likewise.
39246 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39247 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39248
392492011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39250
39251 * string/Makefile (strop-tests): Add memcmp.
39252 * string/test-wmemcmp.c: New file.
39253 * string/test-memcmp.c: Add wmemcmp support.
39254
7f513ec8
RM
392552011-09-08 Roland McGrath <roland@hack.frob.com>
39256
0442afb4
RM
39257 [BZ #13153]
39258 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39259 2011-07-19 change.
39260
7f513ec8
RM
39261 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39262 garbage value in a __mach_port_mod_refs call in the cases of the
39263 task-self and thread-self ports.
39264
a12b2239
ST
392652011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39266
39267 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39268
610f9ab4
AS
392692011-09-08 Andreas Schwab <schwab@redhat.com>
39270
7f513ec8 39271 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39272
48882a1a
LD
392732011-09-07 Ulrich Drepper <drepper@gmail.com>
39274
b49865be
UD
39275 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39276
fdc86bc9
UD
39277 * elf/dl-libc.c (dlerror_run): Pass back error code from
39278 dl_catch_error.
39279
c966526a
UD
39280 [BZ #13123]
39281 * elf/dl-load.c (lose): Free l_origin if it is valid.
39282
48882a1a
LD
39283 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39284 names.
39285 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39286 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39288 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39289 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39290 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39291
77a2a8b4
AZ
392922011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39293
39294 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39295 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39296 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39297 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39298 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39299 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39300 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39301 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39302 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39303 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39304
24f579d8
AM
393052011-08-15 Alan Modra <amodra@gmail.com>
39306
39307 [BZ #13092]
39308 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39309 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39310 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39311 ppc_mcount to static-only-routines.
39312 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39313 __mcount_internal.
39314 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39315 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39316
3d4837df
UD
393172011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39318
39319 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39320 for finite and infinity parameters.
39321
22700377
WS
393222011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39323
39324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39325 and add nop instructions for throughput optimization.
39326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39327
5025581e
WS
393282011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39329
39330 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39331 aligned copy for power7 with vector-scalar instructions.
39332 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39333
08a300c9
L
393342011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39335
39336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39337 AVX check.
39338
59178ef9
AS
393392011-09-07 Andreas Schwab <schwab@redhat.com>
39340
39341 [BZ #13144]
39342 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39343 last change.
39344
e38ba7ab
UD
393452011-09-07 Ulrich Drepper <drepper@gmail.com>
39346
39347 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39348 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39349 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39350 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39351 clock_gettime.
39352
d53a73ac
UD
393532011-09-06 Ulrich Drepper <drepper@gmail.com>
39354
fc8bffcc
UD
39355 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39356 Forgot to demangle the pointer.
39357
ceaa0c5d
UD
39358 * sysdeps/i386/sysdep.h: Define atom_text_section.
39359 * sysdeps/x86_64/sysdep.h: Likewise.
39360 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39361 section with atom_text_section.
39362 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39363 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39364 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39366 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39367
a77d3c17
UD
39368 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39370 already be defined. Change to take two parameters and don't assign
39371 result to variable. Adjust all users.
39372 Define INTERNAL_GETTIME if not already defined.
39373 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39374 call.
39375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39376 HAVE_CLOCK_GETTIME_VSYSCALL.
39377 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39378
d53a73ac
UD
39379 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39380 gettimeofday vsyscall, just use time.
39381
a8f84144
AS
393822011-09-06 Andreas Schwab <schwab@redhat.com>
39383
39384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39385 <errno.h>.
39386
ef606249
UD
393872011-09-06 Ulrich Drepper <drepper@gmail.com>
39388
39389 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39390 syscall on x86-64.
39391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39392 syscall.
39393 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39394 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39395 syscall if possible.
39396
6585cb60
UD
393972011-09-05 Ulrich Drepper <drepper@gmail.com>
39398
39399 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39400 e_ident. Don't pass to find_mapsXX.
39401 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39402
a5f524e4
LD
394032011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39404
39405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39406 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39407 * sysdeps/x86_64/multiarch/strchr.S: Update.
39408 Check bit_slow_BSF bit.
39409 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39410 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39411 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39412
554881ef
UD
394132011-09-05 Ulrich Drepper <drepper@gmail.com>
39414
d96de963
UD
39415 [BZ #13134]
39416 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39417 before glibc 2.15.
39418 (tryshell): Define.
39419 (__spawni): Change last parameter to be flag. Test
39420 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39421 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39422 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39423 * posix/spawni.c: Likewise.
39424 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39425 * posix/spawnp.c: Likewise. Change normal version to use
39426 SPAWN_XFLAGS_USE_PATH.
39427 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39428 SPAWN_XFLAGS_TRY_SHELL.
39429
d48e5868
UD
39430 [BZ #13150]
39431 * posix/glob.h: Remove gcc 1.x support.
39432
554881ef
UD
39433 [BZ #13068]
39434 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39435
693fb948
LD
394362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39437
39438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39439 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39440 strrchr-sse2-bsf
39441 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39442 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39443 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39444 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39446 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39447
1b48c537
UD
394482011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39449
49d42c37
UD
39450 * sysdeps/x86_64/wcscmp.S: New file.
39451
1b48c537
UD
39452 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39453 wcscmp-c wcscmp-sse2
39454 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39455 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39456 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39457 * wcsmbs/wcscmp.c: Allow renaming.
39458
15c95c5d
DM
394592011-09-05 David S. Miller <davem@davemloft.net>
39460
39461 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39462 stack slot, rather than the struct return pointer slot.
39463 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39464 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39466 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39467
2f0ad8f3
UD
394682011-09-05 Ulrich Drepper <drepper@gmail.com>
39469
d88ae418
UD
39470 * po/ja.po: Update from translation team.
39471
2f0ad8f3
UD
39472 [BZ #13144]
39473 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39474 kernel in 64-bit binaries.
39475
5f4318d1
DM
394762011-09-01 David S. Miller <davem@davemloft.net>
39477
39478 * elf/elf.h (HWCAP_SPARC_*): Move to..
39479 * sysdeps/sparc/sysdep.h: this new file and add new values.
39480 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39481 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39482 _DL_HWCAP_COUNT to 24.
39483 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39484 entries.
39485 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39486 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39487 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39489 instead of magic constants.
39490 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39491
3ba57516
DM
394922011-08-31 David S. Miller <davem@davemloft.net>
39493
39494 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39495 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39496 Reimplement to do errno handling inline.
39497 (SYSCALL_ERROR_HANDLER): New macro.
39498 (__SYSCALL_STRING): Do not do errno handling in asm.
39499 (__CLONE_SYSCALL_STRING): Delete.
39500 (__INTERNAL_SYSCALL_STRING): Delete.
39501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39502 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39503 (PSEUDO): Reimplement to do errno handling inline.
39504 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39505 (SYSCALL_ERROR_HANDLER): New macro.
39506 (__SYSCALL_STRING): Do not do errno handling in asm.
39507 (__CLONE_SYSCALL_STRING): Delete.
39508 (__INTERNAL_SYSCALL_STRING): Delete.
39509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39510 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39511 i386.
39512 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39513 (inline_syscall*): Add 'err' argument.
39514 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39515 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39516 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39517 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39518
39519 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39520 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39521
2bc17433
AS
395222011-08-30 Andreas Schwab <schwab@redhat.com>
39523
39524 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39525
fbeb5f4d
JO
395262011-08-29 Jiri Olsa <jolsa@redhat.com>
39527
39528 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39529 directive.
39530
ad69cc26
DM
395312011-08-24 David S. Miller <davem@davemloft.net>
39532
39533 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39534
39dd69df
AS
395352011-08-24 Andreas Schwab <schwab@redhat.com>
39536
39537 * elf/Makefile: Add rules to build and run unload8 test.
39538 * elf/unload8.c: New file.
39539 * elf/unload8mod1.c: New file.
39540 * elf/unload8mod1x.c: New file.
39541 * elf/unload8mod2.c: New file.
39542 * elf/unload8mod3.c: New file.
39543
39544 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39545 it wasn't used.
39546
2c0b250a
DM
395472011-08-23 David S. Miller <davem@davemloft.net>
39548
39549 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39550 subtract stack bias.
39551 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39552 %sp not %fp in calculations.
39553 (_JMPBUF_UNWINDS_ADJ): Likewise.
39554
22044b48
DM
39555 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39556 (aio_suspend): Call it to force an exception region around the
39557 AIO_MISC_WAIT() invocation.
39558
2cae4995
AS
395592011-08-23 Andreas Schwab <schwab@redhat.com>
39560
39561 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39562 backslash.
39563
873a772e
AJ
395642011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39565
39566 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39567 protection macro.
39568 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39569 and <dl-machine.h>.
39570 (Elf64_FuncDesc): Remove.
39571
25ad0df1
DM
395722011-08-22 David S. Miller <davem@davemloft.net>
39573
39574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39575 sigaltstack check, add missing cfi directives.
39576 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39577 missing cfi directives, and sigaltstack handling.
39578
e888bcbe
AS
395792011-08-16 Andreas Schwab <schwab@redhat.com>
39580
39581 [BZ #11724]
39582 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39583 object is seen twice.
39584 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39585
39586 * elf/Makefile (distribute): Add tst-initorder2.c.
39587 (tests): Add tst-initorder2.
39588 (modules-names): Add tst-initorder2a tst-initorder2b
39589 tst-initorder2c tst-initorder2d. Add rules to build them.
39590 ($(objpfx)tst-initorder2.out): New rule.
39591 * elf/tst-initorder2.c: New file.
39592 * elf/tst-initorder2.exp: New file.
39593
87162f46
AS
395942011-08-22 Andreas Schwab <schwab@redhat.com>
39595
70538b7f
AS
39596 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39597
f55ffe58
AS
39598 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39599 dependencies back to end of function.
39600
87162f46
AS
39601 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39602 $(elfobjdir)/ld.so.
39603
91b392a4
UD
396042011-08-21 Ulrich Drepper <drepper@gmail.com>
39605
39606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39607 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39609 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39610 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39611 of __vdso_gettimeofday.
39612 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39613 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39614 attribute_hidden.
39615 (_libc_vdso_platform_setup): Remove initialization of
39616 __vdso_gettimeofday and __vdso_time.
39617
5c43483f
UD
396182011-08-20 Ulrich Drepper <drepper@gmail.com>
39619
775a77e7
UD
39620 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39621 and fgetc_unlocked.
39622 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39623 getc_unlocked.
89f447ed 39624
49c74ba9
UD
39625 * elf/dl-open.c (add_to_global): Report additions to the global scope
39626 for LD_DEBUG=scopes.
39627 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39628 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39629
5c43483f
UD
39630 [BZ #13114]
39631 * stdio-common/Makefile (tests): Add bug24.
39632 * stdio-common/bug24.c: New file.
39633
a101b025
AJ
396342011-08-19 Andreas Jaeger <aj@suse.de>
39635
39636 [BZ #13114]
39637 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39638 non-existant file when using close-on-exec mode.
39639
c88f1766
UD
396402011-08-20 Ulrich Drepper <drepper@gmail.com>
39641
0276a718
UD
39642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39643 the very first instruction.
39644
c88f1766
UD
39645 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39646 the CFI state in the end.
39647 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39648 inclusion of dl-trampoline.h.
39649 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39650
51ccffa0
AS
396512011-08-19 Andreas Schwab <schwab@redhat.com>
39652
94d7165f
AS
39653 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39654 expectations for long double.
39655
51ccffa0
AS
39656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39657 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39658
fd708658 396592011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39660
39661 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39662 artificual limit depends upon the system page size.
39663
44f0a71e
UD
396642011-08-17 Ulrich Drepper <drepper@gmail.com>
39665
39666 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39667 * resolv/Makefile: Define CFLAGS-libresolv.
39668
8de79a24
AS
396692011-08-17 Andreas Schwab <schwab@redhat.com>
39670
39671 * nss/makedb.c (compute_tables): Make variables used in nested
39672 function static.
39673
27724598
UD
396742011-08-17 Ulrich Drepper <drepper@gmail.com>
39675
c5305d88
UD
39676 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39677 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39678 if buffer was too small.
39679
27724598
UD
39680 * elf/pldd.c (main): Attach to all threads in the process.
39681 Rewrite /proc handling to use *at functions.
39682
076fe015
UD
396832011-08-16 Ulrich Drepper <drepper@gmail.com>
39684
174baab3
UD
39685 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39686 specifies first scope to show.
39687 (dl_open_worker): Update callers. Move printing scope of new
39688 object to before the relocation.
44f0a71e 39689 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39690 * sysdeps/generic/ldsodefs.h: Update declaration.
39691
076fe015
UD
39692 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39693 string for the scope number.
39694
a60df2c3
UD
396952011-08-14 Ulrich Drepper <drepper@gmail.com>
39696
39697 * nscd/servicescache.c (cache_addserv): Make sure written is always
39698 initialized.
39699
5e4287d1
RM
397002011-08-14 Roland McGrath <roland@hack.frob.com>
39701
85ae0589
RM
39702 * sysdeps/i386/i486/bits/atomic.h
39703 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39704 statement expression, so as to suppress "set but not used" warning.
39705 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39706
69f63097
RM
39707 * string/strncat.c (STRNCAT): Use prototype definition.
39708
675456ef
RM
39709 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39710 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39711 -Iprograms here.
39712 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39713 (localedef-modules): Add localedef.
39714 (locale-modules): Add locale.
39715
5e4287d1
RM
39716 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39717 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39718 to avoid a warning.
39719
9c96ff23
DM
397202011-08-14 David S. Miller <davem@davemloft.net>
39721
39722 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39723 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39724
f9ddf089
UD
397252011-08-13 Ulrich Drepper <drepper@gmail.com>
39726
44f0a71e 39727 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39728 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39729 * elf/rtld.c (dl_main): Set l_name of vDSO.
39730 Call _dl_show_scope when DL_DEBUG_SCOPES.
39731 (process_dl_debug): Recognize scopes flag and also set it for all.
39732 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39733 Declare _dl_show_scope.
39734
1dc27704
UD
39735 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39736 (do_dlopen): Pass caller_dlopen to dl_open.
39737 (__libc_dlopen_mode): Initialize caller_dlopen.
39738
f9ddf089
UD
39739 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39740 of libc. Make tolower call locale-independent. Optimize a bit by
39741 using isdigit instead of isalnum.
39742 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39743
9ac533d3
UD
397442011-08-12 Ulrich Drepper <drepper@gmail.com>
39745
39746 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39747 was a dependency or dynamically loaded.
39748
89edf2e9
UD
397492011-08-11 Ulrich Drepper <drepper@gmail.com>
39750
8e999d29
UD
39751 * intl/l10nflist.c: Allow architecture-specific pop function.
39752 * sysdeps/x86_64/l10nflist.c: New file.
39753
89edf2e9
UD
39754 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39755 classification.
39756
14d96785
AS
397572011-08-10 Andreas Schwab <schwab@redhat.com>
39758
39759 * include/dirent.h: Add libc_hidden_proto for scandirat and
39760 scandirat64. Don't declare __scandirat64.
39761 * dirent/scandirat.c: Add libc_hidden_def.
39762 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39763 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39764
6761ac04
DM
397652011-08-10 David S. Miller <davem@davemloft.net>
39766
39767 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39768 enum.
39769 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39771 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39772
c55fbd1e
UD
397732011-08-09 Ulrich Drepper <drepper@gmail.com>
39774
39775 * Versions.def [libc]: Add GLIBC_2.15.
39776 * dirent/Makefile (routines): Add scandirat and scandirat64.
39777 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39778 GLIBC_2.15.
39779 * dirent/dirent.h: Declare scandirat and scandirat64.
39780 * dirent/scandirat.c: New file.
39781 * dirent/scandirat64.c: New file.
39782 * sysdeps/wordsize-64/scandirat.c: New file.
39783 * sysdeps/wordsize-64/scandirat64.c: New file.
39784 * dirent/opendir.c: Define opendirat.
39785 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39786 using scandirat.
39787 * dirent/scandir64.c: Adjust for scandir.c change.
39788 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39789 __scandirat64, and __scandir_cancel_handler.
39790 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39791 additional parameter and use openat instead of open (outside of ld.so).
39792 Add new __opendir as wrapper around __opendirat.
39793 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39794 here without requiring old scandirat implementation.
39795
879165f2
UD
397962011-08-08 Ulrich Drepper <drepper@gmail.com>
39797
39798 * dirent/scandir.c (cancel_handler): Renamed to
39799 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39800 defined. Adjust users.
39801 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39803
cb7e923b
UD
398042011-08-04 Ulrich Drepper <drepper@gmail.com>
39805
16292edd
UD
39806 * string/test-string.h (IMPL): Use __STRING to expand name and then
39807 stringify it.
39808
cb7e923b
UD
39809 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39810 of cleanups.
39811
cff82933
LD
398122011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39813
39814 * string/Makefile: Update.
39815 (strop-tests): Append strncat.
39816 * string/test-wcscmp.c: New file.
39817 New comprehensive test for wcscmp.
39818 * string/test-strcmp.c: Update.
39819 (WIDE): New define.
39820
9be9bfcc
AS
398212011-07-22 Andreas Schwab <schwab@redhat.com>
39822
39823 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39824 line.
39825
2e96f1c7
AS
398262011-07-26 Andreas Schwab <schwab@redhat.com>
39827
39828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39829 encoding to ACE if AI_IDN.
39830
85188888
JJ
398312011-08-01 Jakub Jelinek <jakub@redhat.com>
39832
39833 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39834 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39835
5fa16e9b
LD
398362011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39837
39838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39839 Fix overflow bug in strncat.
39840 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39841
39842 * string/test-strncat.c: Update.
39843 Add new tests for checking overflow bugs.
39844
398452011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39846
39847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39848 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39849 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39850 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39851 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39852 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39853 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39854 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39855 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39856
39857 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39858 (USE_AS_STRCAT): Define.
39859 Add strcat and strncat support.
39860 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39861
8c1a459f
AS
398622011-07-25 Andreas Schwab <schwab@redhat.com>
39863
39864 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39865 __n bigger than INT_MAX+1.
39866 (__strncmp_g): Likewise.
39867
bba33c28
UD
398682011-07-23 Ulrich Drepper <drepper@gmail.com>
39869
798be72d
UD
39870 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39871 * libio/stido.h: Likewise.
39872
8accd4dc
UD
39873 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39874 (AF_NFC): Define.
39875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39876 (AF_NFC): Define.
39877
cbff0d96
UD
39878 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39879 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39880 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39881 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39882 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39883
9191c04a
UD
39884 [BZ #13021]
39885 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39886 installed.
39887
bba33c28
UD
39888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39889 typo.
39890 (_dl_x86_64_save_sse): Likewise.
39891
90f139dd
UD
398922011-07-22 Ulrich Drepper <drepper@gmail.com>
39893
1aae088a
UD
39894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39895 OSXSAVE.
39896 (_dl_x86_64_save_sse): Likewise.
39897
8e2045f5
UD
39898 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39899
90f139dd
UD
39900 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39901
1d002f25
AS
399022011-07-21 Andreas Schwab <schwab@redhat.com>
39903
39904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39905 change.
39906 (_dl_x86_64_save_sse): Use correct AVX check.
39907
21137f89
UD
399082011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39909
39910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39911 bug in strncpy/strncat.
39912 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39913
a65c0b7a
UD
399142011-07-21 Ulrich Drepper <drepper@gmail.com>
39915
39916 * string/tester.c (test_strcat): Add tests for different alignments
39917 of source and destination.
39918 (test_strncat): Likewise.
39919
6986b98a
UD
399202011-07-20 Ulrich Drepper <drepper@gmail.com>
39921
90bb2039
UD
39922 [BZ #12852]
39923 * posix/glob.c (glob): Check passed in values before using them in
39924 expressions to avoid some overflows.
39925 (glob_in_dir): Likewise.
39926
5644ef54
UD
39927 [BZ #13007]
39928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39929 check for AVX enablement so that we don't crash with old kernels and
39930 new hardware.
39931 * elf/tst-audit4.c: Add same checks here.
39932 * elf/tst-audit6.c: Likewise.
39933
39934 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39935
bfc9dc9b
AS
399362011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39937
39938 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39939
702e64bb
UD
399402011-07-20 Ulrich Drepper <drepper@gmail.com>
39941
39942 * po/cs.po: Update from translation team.
39943 * po/bg.po: Likewise.
39944
295e904f
MP
399452011-07-12 Marek Polacek <mpolacek@redhat.com>
39946
39947 * misc/sys/cdefs.h: Add support for const attribute.
39948 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39949 to gnu_dev_{major,minor,makedev} functions.
39950
3ff94596
MP
399512011-07-20 Marek Polacek <mpolacek@redhat.com>
39952
39953 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39954
28b59fca
AS
399552011-07-20 Andreas Schwab <schwab@redhat.com>
39956
39957 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39958 strlen results.
39959
19df733e
AK
399602011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39961
39962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39963 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39964 register in order to avoid conflicts with the soft frame pointer
39965 being held in r11 when necessary.
39966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39967 (INTERNAL_VSYSCALL_NCS): Likewise.
39968
c8835729
MP
399692011-07-14 Marek Polacek <mpolacek@redhat.com>
39970
39971 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39972 * elf/dl-fini.c (_dl_fini): Adjust caller.
39973 * elf/dl-close.c (_dl_close_worker): Likewise.
39974 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39975
b902330c
MP
399762011-07-15 Marek Polacek <mpolacek@redhat.com>
39977
8991e135
MP
39978 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39979 "aux_cache->nlibs < 0".
39980
b902330c
MP
39981 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39982 in the reload-count case.
39983
99710781
LD
399842011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39985
39986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39987 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39988 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39989 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39990 * sysdeps/x86_64/multiarch/strcat.S: New file.
39991 * sysdeps/x86_64/multiarch/strncat.S: New file.
39992 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39994 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39995 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39997 (USE_AS_STRCAT): Define.
39998 Add strcat and strncat support.
39999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40001 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40002 * string/strncat.c: Update.
40003 (USE_AS_STRNCAT): Define.
40004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40005 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40006 and i7.
40007 * sysdeps/x86_64/multiarch/init-arch.h
40008 (bit_Prefer_PMINUB_for_stringop): New.
40009 (index_Prefer_PMINUB_for_stringop): Likewise.
40010 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40011 bit_Prefer_PMINUB_for_stringop.
40012
7dc6bd90
UD
400132011-07-19 Ulrich Drepper <drepper@gmail.com>
40014
40015 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40016 buffer64.
40017 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40018 of casting of buffer.
40019 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40020 buffer32 and buffer64.
40021 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40022 writes instead of casting of buffer.
40023 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40024 buffer32.
40025 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40026 casting of buffer.
40027
e0e72284
AS
400282011-07-19 Andreas Schwab <schwab@redhat.com>
40029
40030 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40031
feb1eb0b
UD
400322011-07-19 Ulrich Drepper <drepper@gmail.com>
40033
40034 * nscd/nscd.c (termination_handler): Don't do anything for a database
40035 if it has not yet been initialized.
40036
298711ff
UD
400372011-07-18 Ulrich Drepper <drepper@gmail.com>
40038
40039 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40040
400412011-07-15 Marek Polacek <mpolacek@redhat.com>
40042
40043 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40044
f9d68389
UD
400452011-07-18 Ulrich Drepper <drepper@gmail.com>
40046
40047 * po/nl.po: Update from translation team.
40048 * po/sv.po: Likewise.
40049
db290cf5
RM
400502011-07-16 Roland McGrath <roland@hack.frob.com>
40051
40052 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40053 now disallowed by GCC.
5c550700 40054
fd5e21c7
RM
40055 * configure.in (use-default-link): Default to yes if a test -shared
40056 link meets our qualifications.
40057 * configure: Regenerated.
40058
5c550700
RM
40059 * config.make.in (output-format): New variable.
40060 * configure.in: Check for ld --print-output-format support.
40061 * configure: Regenerated.
40062 * Makerules ($(common-objpfx)format.lds)
40063 [$(output-format) != unknown]: Just use $(output-format),
40064 instead of the linker-script munging.
40065
9fa2c032
RM
400662011-07-14 Roland McGrath <roland@hack.frob.com>
40067
a6928d51
RM
40068 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40069 of $(common-objpfx)shlib.lds.
40070 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40071
661607b3
RM
40072 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40073 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40074
9fa2c032
RM
40075 * configure.in (-z relro check): Adjust test code to add a large
40076 writable data section after it.
40077 * configure: Regenerated.
40078
defe9061
RM
400792011-07-11 Roland McGrath <roland@hack.frob.com>
40080
40081 * configure.in (-z relro check): Fix test code to make the variable
40082 truly const.
40083 * configure: Regenerated.
40084
319b9ad4
UD
400852011-07-11 Ulrich Drepper <drepper@gmail.com>
40086
40087 * nscd/nscd.h (struct traced_file): Define.
40088 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40089 elements. Add traced_files.
40090 (inotify_fd): Declare.
40091 (register_traced_file): Declare.
40092 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40093 (inotify_fd): Export.
40094 (resolv_conf_descr): Remove.
40095 (nscd_init): Move inotify descriptor creation to main.
40096 Don't register files for notification here.
40097 (register_traced_file): New function.
40098 (invalidate_cache): Don't use reset_res to determine whether to call
40099 res_init, go through the list of registered files.
40100 (main_loop_poll): The inotify descriptors are now stored in the
40101 structures for the traced files.
40102 (main_loop_epoll): Likewise
40103 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40104 to __nss_disable_nscd.
40105 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40106 for a database anymore. Check the records for all the registered
40107 files instead.
40108 * nss/Makefile (libnss_files-routines): Add files-init.
40109 (libnss_db-routines): Add db-init.
40110 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40111 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40112 * nss/nss_db/db-init.c: New file.
40113 * nss/nss_files/files-init.c: New file.
40114 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40115 __nss_lookup_function.
40116 (__nss_lookup_function): Call nss_load_library.
40117 (nss_load_all_libraries): New function.
40118 (__nss_disable_nscd): Take parameter with callback function for files
40119 to register. Set is_nscd. Load all the DSOs for the NSS modules
40120 used for the cached services.
40121 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40122 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40123 options for features to all the files in nscd.
40124
40125 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40126
23bee3e8
RM
401272011-07-10 Roland McGrath <roland@hack.frob.com>
40128
40129 * csu/elf-init.c (__libc_csu_init): Comment typo.
40130
46a5b7f0
UD
401312011-07-09 Ulrich Drepper <drepper@gmail.com>
40132
40133 * po/pl.po: Update from translation team.
40134 * po/ja.po: Likewise.
40135 * po/ru.po: Likewise.
40136 * po/ko.po: Likewise.
40137 * po/fr.po: Likewise.
40138
d30cf5bb
RM
401392011-07-09 Roland McGrath <roland@hack.frob.com>
40140
113ddea4
RM
40141 * configure.in (.ctors/.dtors header and trailer check):
40142 Use an empirical test on a built program.
40143 * configure: Regenerated.
40144
574920b4
RM
40145 * configure.in (-z relro check): Use an empirical test on a built DSO.
40146 Detect, but do not require, on ia64.
40147 * configure: Regenerated.
40148
d30cf5bb
RM
40149 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40150 Update tests that use readelf to use $READELF instead.
40151 * configure: Regenerated.
40152
8538fdb3
UD
401532011-07-08 Ulrich Drepper <drepper@gmail.com>
40154
40155 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40156 if the result is not used.
40157
04d08991
AJ
401582011-07-05 Andreas Jaeger <aj@suse.de>
40159
40160 [BZ#9696]
40161 * stdlib/tst-strtod.c: Add testcase.
40162
de283087
AD
401632011-07-07 Ulrich Drepper <drepper@gmail.com>
40164
4e5f31c8 40165 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40166 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40167 The latter has a higher limit. Take additional parameter to pass to
40168 the new function.
40169 (__pathconf): Pass file to __statfs_link_max.
40170 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40171 __statfs_link_max.
40172 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40173 __statfs_link_max.
40174
de283087
AD
40175 [BZ #12868]
40176 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40177 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40178 Handle Lustre.
40179 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40180 (__statfs_filesize_max): Likewise.
40181 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40182
c75fa153
AJ
401832011-07-05 Andreas Jaeger <aj@suse.de>
40184
40185 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40186
1a544854
UD
401872011-07-06 Marek Polacek <mpolacek@redhat.com>
40188
40189 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40190 `status' variable.
40191 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40192 Likewise.
40193
6f0eec67
UD
401942011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40195
40196 * Makefile (strop-tests): Add strncat.
40197 * string/test-strncat.c: New file.
40198
aae30307
UD
401992011-06-30 Marek Polacek <mpolacek@redhat.com>
40200
40201 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40202
c0cfb5eb
UD
402032011-06-21 Andreas Jaeger <aj@suse.de>
40204
40205 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40206 Copy rule from iconvdata/Makefile.
40207
01636b21
UD
402082011-07-06 Ulrich Drepper <drepper@gmail.com>
40209
40210 [BZ #12922]
40211 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40212 but no long options are defined, just return 'W'.
40213
9895c8bc
UD
402142011-06-22 Marek Polacek <mpolacek@redhat.com>
40215
40216 [BZ #9696]
40217 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40218
5d4cf042
UD
402192011-07-06 Ulrich Drepper <drepper@gmail.com>
40220
40221 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40222 netgroups to read.
960e5535 40223 (innetgr): Likewise.
5d4cf042 40224
751eb97e
RM
402252011-07-05 Roland McGrath <roland@hack.frob.com>
40226
40227 * config.make.in (install_root): Default to $(DESTDIR).
40228
f15f1e45
UD
402292011-07-05 Ulrich Drepper <drepper@gmail.com>
40230
40231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40232
4e34ac6a
RM
402332011-07-02 Roland McGrath <roland@hack.frob.com>
40234
5e9b6af4
RM
40235 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40236
84f9ea0f
RM
40237 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40238 containing directory rather than embedding absolute directory names.
40239
ea5ee9f7
RM
40240 * scripts/check-local-headers.sh: Rewritten using awk.
40241 Match by word, not by line. Print error messages for matches.
40242 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40243
1b74661a
RM
40244 * Makerules [shlib-lds-flags empty]:
40245 ($(common-objpfx)libc_pic.opts): New target.
40246 ($(common-objpfx)libc_pic.os.clean): New target.
40247 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40248
40249 * config.make.in (OBJCOPY): New variable.
40250 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40251 * configure: Regenerated.
40252
f781ef40
RM
40253 * config.make.in (use-default-link): New variable.
40254 * configure.in (use_default_link): Grok --with-default-link to set it.
40255 * configure: Regenerated.
40256 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40257 (shlib-lds, shlib-lds-flags): Define to empty.
40258
2d4fa81e
RM
40259 * Makerules (shlib-lds): New variable.
40260 (shlib-lds-flags): New variable.
40261 (build-shlib, build-moduile, build-module-asneeded): Use it.
40262 ($(common-objpfx)libc.so): Use $(shlib-lds).
40263 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40264 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40265
31fffa6b
RM
40266 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40267 DT_FLAGS/DT_FLAGS_1 with zero flags.
40268
4e34ac6a
RM
40269 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40270 linker script munging.
40271
fcfc776b
UD
402722011-07-02 Ulrich Drepper <drepper@gmail.com>
40273
40274 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40275 as 128-bit value.
40276 * crypt/sha512.c (sha512_process_block): Perform total addition using
40277 128-bit if possible.
40278 (__sha512_finish_ctx): Likewise.
40279 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40280 as 64-bit value.
40281 * crypt/sha256.c (SWAP64): Define.
40282 (sha256_process_block): Perform total addition using 64-bit if
40283 possible.
40284 (__sha256_finish_ctx): Likewise.
40285
99231d9a
UD
402862011-07-01 Ulrich Drepper <drepper@gmail.com>
40287
40288 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40289 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40290 * nscd/hstcache.c (cache_addhst): Likewise.
40291 * nscd/grpcache.c (cache_addgr): Likewise.
40292 * nscd/aicache.c (addhstaiX): Likewise
40293 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40294
445b4a53
TK
402952011-07-01 Thorsten Kukuk <kukuk@suse.de>
40296
40297 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40299 * nscd/hstcache.c (cache_addhst): Likewise.
40300 * nscd/grpcache.c (cache_addgr): Likewise.
40301 * nscd/aicache.c (addhstaiX): Likewise
40302
6d4d8e8e
AS
403032011-07-01 Andreas Schwab <schwab@redhat.com>
40304
40305 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40306 domain only when needed.
40307
89f654c5
AS
403082011-06-30 Andreas Schwab <schwab@redhat.com>
40309
40310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40311 is always restored.
40312
cf3b23ff
UD
403132011-06-29 Ulrich Drepper <drepper@gmail.com>
40314
40315 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40316 are re-adding the entry.
40317 * nscd/servicescache.c (cache_addserv): Likewise.
40318
751626f9
AJ
403192011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40320
40321 * sysdeps/generic/dl-irel.h: fix protection against multiple
40322 inclusions.
40323 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40324
9113ea1f
UD
403252011-06-28 Ulrich Drepper <drepper@gmail.com>
40326
5c0b8d90
UD
40327 [BZ #12935]
40328 * malloc/memusage.sh: Fix quoting in message.
40329 * debug/xtrace.sh: Likewise.
40330
9113ea1f
UD
40331 * configure.in: Remove support for --experimental-malloc option, make
40332 it the default.
40333 * config.make.in: Likewise.
40334 * malloc/Makefile: Likewise.
40335
a4172181
AS
403362011-06-27 Andreas Schwab <schwab@redhat.com>
40337
40338 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40339 two-byte characters.
40340
78a7eee7
RM
403412011-06-27 Roland McGrath <roland@hack.frob.com>
40342
62bede13
RM
40343 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40344 AC_CACHE_CHECK invocation.
40345 * configure: Regenerated.
40346
78a7eee7
RM
40347 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40348
5ce33a62
UD
403492011-06-27 Ulrich Drepper <drepper@gmail.com>
40350
034807a9
UD
40351 [BZ #12350]
40352 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40353 bit from old_res_options.
40354
4902da17
UD
40355 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40356
5ce33a62
UD
40357 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40358 value type for setfct.
40359
c2344f56
L
403602011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40361
40362 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40363 __gettimeofday instead of gettimeofday.
40364
68468076
UD
403652011-06-26 Ulrich Drepper <drepper@gmail.com>
40366
40367 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40368
acb0d739
L
403692011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40370
40371 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40372
40373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40374 info.
40375
8912479f
L
403762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40377
40378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40379 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40380 strcpy-sse2-unaligned strncpy-sse2-unaligned
40381 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40382 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40383 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40384 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40385 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40386 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40387 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40388 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40389 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40390 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40391 (STRCPY): Support SSE2 and SSSE3 versions.
40392
d5495a11
UD
403932011-06-24 Ulrich Drepper <drepper@gmail.com>
40394
40395 [BZ #12874]
40396 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40397 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40398 kernels which artificially limit size of requests.
40399
0b1cbaae
L
404002011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40401
40402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40403 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40404 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40405 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40406 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40407 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40408 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40409 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40412 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40413 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40414 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40415 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40416 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40418 Enable unaligned load optimization for Intel Core i3, i5 and i7
40419 processors.
40420 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40421 Define.
40422 (index_Fast_Unaligned_Load): Define.
40423 (HAS_FAST_UNALIGNED_LOAD): Define.
40424
07f494a0
MP
404252011-06-23 Marek Polacek <mpolacek@redhat.com>
40426
40427 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40428
fa3fc0fe
UD
404292011-06-22 Ulrich Drepper <drepper@gmail.com>
40430
40431 [BZ #12907]
40432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40433 until it is clear that the information is realy needed.
40434 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40435
e12df166
AS
404362011-06-22 Andreas Schwab <schwab@redhat.com>
40437
40438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40439
852eb34d
UD
404402011-06-22 Ulrich Drepper <drepper@gmail.com>
40441
84e2a551
UD
40442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40443 /sys/devices/system/cpu/online if it is usable.
40444
852eb34d
UD
40445 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40446 reading the information from the /proc filesystem to once a second.
40447
6e502e19
UD
404482011-06-21 Andreas Jaeger <aj@suse.de>
40449
40450 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40451 NULL after inclusion of kernel headers.
40452
75d39ff2
UD
404532011-06-21 Ulrich Drepper <drepper@gmail.com>
40454
51f9aa6a
UD
40455 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40456 calls to internal_setent.
40457
c0244a9d
UD
40458 [BZ #12885]
40459 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40460 addresses using gethostbyname4_r ignore IPv4 addresses.
40461
c5e3c2ae
UD
40462 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40463 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40464
75d39ff2
UD
40465 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40466
42675c6f
DM
404672011-06-20 David S. Miller <davem@davemloft.net>
40468
40469 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40470 inclusions.
40471 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40472
40473 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40474 (elf_irel): Use it.
40475 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40476 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40477 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40478 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40479 * sysdeps/x86_64/dl-irel.h: Likewise.
40480
40481 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40482 * elf/dl-sym.c: Likewise.
40483
57912a71
UD
404842011-06-15 Ulrich Drepper <drepper@gmail.com>
40485
40486 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40487 need to dereference resplen2.
40488
ee22793d
AS
404892011-06-14 Andreas Schwab <schwab@redhat.com>
40490
40491 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40492
a9e836b0
UD
404932011-06-15 Ulrich Drepper <drepper@gmail.com>
40494
77fb9117
UD
40495 * Makeconfig: Define vardbdir and inst_vardbdir.
40496 * nss/Makefile: Add rules to install db-Makefile.
40497
40c1b22c
UD
40498 * nss/nss_db/db-XXX.c: Cleanup.
40499
9f2da732
UD
40500 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40501 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40502 GLIBC_PRIVATE.
40503 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40504 * nss/makedb.c: Implement -g option to specify that value strings
40505 are generated and should not be added to table iterated over for
40506 get*ent calls.
40507 * nss/nss_db/db-initgroups.c: New file.
40508
82e9a1f7
UD
40509 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40510 interface.
40511
c41af17e
UD
40512 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40513 (internal_getgrouplist): Adjust to name change.
40514 Update use_initgroups_entry if this is not the first call.
40515 * nss/databases.def: Add initgroups entry.
40516
a9e836b0
UD
40517 * nss/makedb.c (compute_tables): Check result of multiple hash table
40518 sizes to minimize maximum chain length.
40519
2666d441
UD
405202011-06-14 Ulrich Drepper <drepper@gmail.com>
40521
40522 * Versions.def: Add entry for libnss_db.
40523 * shlib-versions: Likewise.
40524 * nss/Makefile: Add rules to build libnss_db.
40525 * nss/Versions: Add libnss_db information. Organize libnss_files
40526 entries better.
40527 * nss/db-Makefile: Add gshadow support. Change rules for the new
40528 makedb progra. Some minor improvements to generate smaller files.
40529 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40530 here from...
40531 * nss/makedb.c: ...here.
40532 Improve database format to be smaller and require less memory at
40533 runtime.
40534 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40535 db anymore.
40536 * nss/nss_db/db-netgrp.c: Likewise.
40537 * nss/nss_db/db-open.c: Likewise.
40538 * nss/nss_files/flies-XXX.x: Adjust comments.
40539 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40540 * nss/nss_files/files-grp.c: Likewise.
40541 * nss/nss_files/files-hosts.c: Likewise.
40542 * nss/nss_files/files-network.c: Likewise.
40543 * nss/nss_files/files-proto.c: Likewise.
40544 * nss/nss_files/files-pwd.c: Likewise.
40545 * nss/nss_files/files-rpc.c: Likewise.
40546 * nss/nss_files/files-service.c: Likewise.
40547 * nss/nss_files/files-sgrp.c: Likewise.
40548 * nss/nss_files/files-spwd.c: Likewise.
40549 * nss/nss_db/db-alias.c: Removed.
40550 * nss/nss_db/dummy-db.h: Removed.
40551
9ee76b5a
UD
405522011-06-02 Ulrich Drepper <drepper@gmail.com>
40553
40554 * nss/makedb.c: Rewritten to not use database library.
40555 * nss/Makefile: Update to build new makedb program.
40556
c71ca1f8
AJ
405572011-06-14 Andreas Jaeger <aj@suse.de>
40558
40559 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40560 memset declaration.
40561
3154bfb8
UD
405622011-06-10 Andreas Schwab <schwab@redhat.com>
40563
40564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40565 tmpbuf.
40566
b350afab
RM
405672011-06-10 Roland McGrath <roland@hack.frob.com>
40568
decd4e50
RM
40569 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40570 * elf/Makefile ($(objpfx)ld.so): Likewise.
40571
5615eaf2
RM
40572 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40573 Don't list ld.so twice in dependencies.
40574
40575 * posix/bug-regex31.c: Include <stdlib.h>.
40576
40577 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40578
40579 * nis/nss_compat/compat-spwd.c
40580 (getspent_next_nss_netgr): Remove unused variable.
40581 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40582
40583 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40584 nonmembers" output to use the right array.
40585
40586 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40587
40588 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40589
40590 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40591 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40592 * catgets/gencat.c (read_input_file): Likewise.
40593 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40594
40595 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40596 variable definition inside #if's controlling its use.
40597
40598 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40599
40600 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40601
40602 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40603
40604 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40605 unreachable code.
40606
40607 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40608
b68e08db
RM
40609 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40610 * configure: Regenerated.
40611
b350afab
RM
40612 * Makerules: Revert last change.
40613 * elf/Makefile: Likewise.
40614
28368601
RM
406152011-06-09 Roland McGrath <roland@hack.frob.com>
40616
40617 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40618 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40619 (reloc-link): Likewise.
40620
11988f8f
UD
406212011-06-09 Ulrich Drepper <drepper@gmail.com>
40622
40623 * elf/Makefile: Add rules to build pldd.
40624 * elf/pldd.c: New file.
40625 * elf/pldd-xx.c: New file.
40626
e80fab37
UD
406272011-06-07 Ulrich Drepper <drepper@gmail.com>
40628
40629 * version.h: Update for 2.15 development version.
40630
9b849836
DM
406312011-06-07 David S. Miller <davem@davemloft.net>
40632
40633 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40634 ifuncs.
40635 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40636 elf_machine_lazy_rel): Likewise.
40637 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40638 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40639 elf_machine_lazy_rel): Likewise.
40640 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40641 dl_hwcap via passed in argument.
40642 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40643 Likewise.
40644
5a31b283
AK
406452011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40646
40647 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40648
069e52f8
RM
406492011-06-06 Roland McGrath <roland@hack.frob.com>
40650
40651 [BZ #12849]
40652 * manual/fdl-1.1.texi: New file, verbatim from:
40653 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40654 * manual/lgpl-2.1.texi: New file, verbatim from:
40655 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40656 * manual/Makefile (licenses): New variable, list those new file names.
40657 (texis): Use it.
40658 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40659
40660 * manual/fdl.texi: File removed.
40661 * manual/lesser.texi: File removed.
40662 * manual/libc.texinfo (Copying, Documentation License):
40663 Use new @include file names, put @appendix directive before @include.
40664
f16846a5
JJ
406652011-06-04 Jakub Jelinek <jakub@redhat.com>
40666
40667 [BZ #12841]
40668 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40669 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40670 (mq_open): Add __NTH.
40671
3d29045b
L
406722011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40673
40674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40675 Assume Intel Core i3/i5/i7 processor if AVX is available.
40676
8c297311
UD
406772011-05-31 Ulrich Drepper <drepper@gmail.com>
40678
40679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40680 typo.
40681
c8fc0c91
UD
406822011-05-31 Andreas Schwab <schwab@redhat.com>
40683
40684 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40685 memory. Use alloca_account. Fix memory leak when retrying.
40686
5b27a807
UD
406872011-05-31 Ulrich Drepper <drepper@gmail.com>
40688
356f8bc6
UD
40689 * version.h (RELEASE): Bump for 2.14 release.
40690 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40691
5b27a807
UD
40692 * config.make.in (RANLIB): Remove entry.
40693
01f16ab0
UD
406942011-05-30 Ulrich Drepper <drepper@gmail.com>
40695
41fce8bd
UD
40696 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40697 (libc.pot): Work around missing support for .ksh extension in xgettext.
40698
4769ae77
UD
40699 [BZ #12684]
40700 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40701 if both request failed.
40702 (send_dg): In case of server errors clear resplen or *resplen2.
40703
6b1e7d19
UD
40704 [BZ #12454]
40705 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40706 when there are multiple maps.
40707 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40708 (_dl_fini): Remove test here.
40709
01f16ab0
UD
40710 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40711
b1ebd700
UD
407122011-05-29 Ulrich Drepper <drepper@gmail.com>
40713
7ae22829
UD
40714 [BZ #12350]
40715 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40716 bit from old_res_options.
40717 (gaih_inet): Likewise.
40718
553149f6 40719 [BZ #11099]
18a84741 40720 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40721 as signed.
40722
652ffab1
UD
40723 * resolv/res_init.c (res_setoptions): Make the code more compact.
40724
16985fd0
UD
40725 [BZ #11558]
40726 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40727 set RES_USEVC.
40728
0464f746
UD
40729 [BZ #11634]
40730 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40731
7d17596c
UD
40732 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40733
cf6bbbd7
UD
40734 [BZ #11781]
40735 * malloc/malloc.h: Declare malloc hook variables as volatile.
40736
13f1ab36
UD
40737 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40738 in last patch.
40739
b1ebd700
UD
40740 [BZ #11799]
40741 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40742 raise in the comment.
80e2212d
UD
40743 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40744 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40745 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40746
ce67228d
UD
407472011-05-28 Ulrich Drepper <drepper@gmail.com>
40748
8887a920
UD
40749 [BZ #12811]
40750 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40751 grow the buffers more if it already has to be sufficient.
40752 (build_wcs_upper_buffer): Likewise.
40753 * posix/regexec.c (check_matching): Likewise.
40754 (clean_state_log_if_needed): Likewise.
40755 (extend_buffers): Don't enlarge buffers beyond size of the input
40756 buffer.
40757 Patches mostly by Emil Wojak <emil@wojak.eu>.
40758 * posix/bug-regex32.c: New file.
40759 * posix/Makefile (tests): Add bug-regex32.
40760
4f031072
UD
40761 * locale/findlocale.c (_nl_find_locale): Return right away if
40762 _nl_explode_name failed.
40763 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40764
d0478f0c
UD
40765 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40766
de81b246
UD
40767 * debug/xtrace.sh: Unify messages.
40768 * malloc/memusage.sh: Likewise.
40769
c738465a
UD
40770 [BZ #12813]
40771 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40772 time symbol from vDSO. Substitute with vsyscall if not available.
40773 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40774 __vdso_time.
40775
f1f929d7
UD
40776 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40777 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40778 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40779 Add sendmmsg and internal_sendmmsg.
40780 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40781 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40783
ce67228d
UD
40784 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40785 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40786 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40787
e57420c6
UD
407882011-05-27 Ulrich Drepper <drepper@gmail.com>
40789
a8509ca5
UD
40790 [BZ #12813]
40791 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40792 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40793 available.
40794 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40795 __vdso_getcpu.
40796
e57420c6
UD
40797 [BZ #12814]
40798 * iconvdata/Makefile (tests): Add bug-iconv9.
40799 * iconvdata/bug-iconv9.c: New file.
40800
4d07db15
AS
408012011-05-27 Andreas Schwab <schwab@redhat.com>
40802
40803 [BZ #12814]
40804 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40805
ea486f69
JJ
408062011-05-25 Jakub Jelinek <jakub@redhat.com>
40807
40808 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40809 (struct user_regs_struct): Change intcs field back to cs.
40810
6f038433
UD
408112011-05-25 Ulrich Drepper <drepper@gmail.com>
40812
40813 * po/ja.po: Update from translation team.
40814
67f86a25
UD
408152011-05-23 Ulrich Drepper <drepper@gmail.com>
40816
40817 [BZ #12795]
40818 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40819 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40820
def7fbd6
AS
408212011-05-20 Andreas Schwab <schwab@redhat.com>
40822
40823 * stdlib/longlong.h: Update from GCC.
40824
f50ef8f1
AS
408252011-05-23 Andreas Schwab <schwab@redhat.com>
40826
40827 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40828 parameter name.
40829 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40830 Add parameter name.
40831 (__sysconf): Pass it down.
40832
de7ce8f1
UD
408332011-05-22 Ulrich Drepper <drepper@gmail.com>
40834
f2962a71
UD
40835 [BZ #12671]
40836 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40837 some situations.
40838 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40839 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40840 add in in __libc_use_alloca calls. Adjust callers.
40841 (glob): Use malloc in some situations.
40842
de7ce8f1
UD
40843 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40844 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40845 pltexit.
40846
aec84f53
UD
408472011-05-21 Ulrich Drepper <drepper@gmail.com>
40848
05bb4a68
UD
40849 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40850 and CLOCK_BOOTTIME_ALARM.
40851
7ea72f99
UD
40852 [BZ #12782]
40853 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40854 is returned.
40855
7e4afad5
UD
40856 * string/_strerror.c (__strerror_r): Print negative errors as signed
40857 numbers.
40858
8e211fec
UD
40859 [BZ #12777]
40860 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40861 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40862 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40863
f7d82dc9
UD
40864 * configure.in: Fix typo in redirection and correct removal of test
40865 files in two cases.
40866
cc9e536d
UD
40867 [BZ #12788]
40868 * locale/setlocale.c (new_composite_name): Fix test to check for
40869 identical name of all categories.
40870
aec84f53
UD
40871 [BZ #12792]
40872 * libio/filedoalloc.c (local_isatty): New function.
40873 (_IO_file_doallocate): Use local_isatty.
40874 * stdio-common/perror.c (perror): In case a new stream is used
40875 forward the stream error.
40876 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40877 error flag.
40878
78e64fdc
RT
408792011-05-20 Ulrich Drepper <drepper@gmail.com>
40880
34a9094f
UD
40881 [BZ #11869]
40882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40883 alloca.
40884 * include/alloca.h (extend_alloca_account): Define.
40885
78e64fdc
RT
40886 [BZ #11857]
40887 * posix/regex.h: Fix comments with documentation of user-accessible
40888 fields after compilation and describe correct free'ing of pattern
40889 after re_compile_pattern.
40890 Patch by Reuben Thomas <rrt@sc3d.org>.
40891
457bddfc
RA
408922011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40893
40894 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40895 and -mno-altivec to prevent the compiler from using Altivec and/or
40896 VSX instructions when the corresponding registers are not available.
40897
a4527b51
AS
408982011-05-19 Andreas Schwab <schwab@redhat.com>
40899
40900 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40901
ed690b2f
UD
409022011-05-19 Ulrich Drepper <drepper@gmail.com>
40903
40904 * libio/freopen.c (freopen): Use __dup2, not dup2.
40905 * libio/freopen64.c (freopen64): Likewise.
40906
8db73634
L
409072011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40908
40909 [BZ #12775]
40910 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40911 * math/Makefile (tests): Add test-powl.
40912 (CFLAGS-test-powl.c): Define.
40913 * math/test-powl.c: New file.
40914
0a197a9d
L
409152011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40916
40917 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40918
ee30c380
UD
409192011-05-17 Ulrich Drepper <drepper@gmail.com>
40920
40921 [BZ #11837]
40922 * iconvdata/gb18030.c: Update to GB18020-2005.
40923
6ce75379
UD
409242011-05-16 Ulrich Drepper <drepper@gmail.com>
40925
a4b89fd8
AR
40926 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40927 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40928 Patch by Aharon Robbins <arnold@skeeve.com>.
40929
ea389b12
UD
40930 [BZ #11892]
40931 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40932 on the stack.
40933
68a3f91f
UD
40934 [BZ #11895]
40935 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40936 through underflows.
40937
15cc7dd1
UD
40938 [BZ #12766]
40939 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40940 point to strings before performing equality test for error_one_per_line
40941 mode.
40942
f3799213
UD
40943 [BZ #11697]
40944 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40945
d79a9c94
UD
40946 [BZ #11820]
40947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40948 (struct user_fpregs_struct): Avoid __uint*_t types.
40949
56e5eb46
UD
40950 [BZ #6420]
40951 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40952 symbol info. Use it instead of calling _dl_addr locally.
40953 (lock_and_info): New function.
40954 (tr_freehook): Call lock_and_info and pass symbol info as additional
40955 parameter to tr_where.
40956 (tr_mallochook): Likewise.
40957 (tr_reallochook): Likewise.
40958 (tr_memalignhook): Likewise.
40959
6ce75379
UD
40960 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40961 used and couldn't be at all thread-safe.
40962
f8a3b5bf
UD
409632011-05-15 Ulrich Drepper <drepper@gmail.com>
40964
94b7cc37
UD
40965 * libio/freopen.c (freopen): Don't close old file descriptor
40966 before the new one is opened. Instead dup the new file descriptor
40967 to the old one after the new stream is created.
40968 * libio/freopen64.c (freopen64): Likewise.
40969 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40970 * libio/fileops.c (_IO_new_file_close_it): Handle new
40971 _IO_FLAGS2_NOCLOSE flag.
40972 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40973 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40974 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40975 _IO_FLAGS2_NOCLOSE flag.
40976 * include/unistd.h: Add hidden_proto for dup3.
40977 Define __have_dup3.
40978 * io/dup3.c: Define hidden symbol.
40979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40980
bd25564e
UD
40981 [BZ #7101]
40982 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40983 when an incomplete long option is used.
40984 * posix/tst-getopt_long1.c: New file.
40985 * posix/Makefile (tests): Add tst-getopt_long1.
40986
c84cfef4
UD
40987 [BZ #10138]
40988 * scripts/config.guess: Update from autoconf-2.68.
40989 * scripts/config.sub: Likewise.
40990
3b85df27
UD
40991 [BZ #10157]
40992 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40993 tests into ...
40994 (has_cpuclock): ...this. New function.
40995 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40996 macro here based on has_cpuclock code.
40997
15a856b1
UD
40998 [BZ #10149]
40999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41000 First byte (not low byte) is now always NUL.
41001 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41002
05f399e6
UD
41003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41004 Use non-cancelable interfaces.
41005
10a52685 41006 [BZ #9809]
94ecc67d
UD
41007 * locale/iso-639.def: Add entry for Sorani.
41008
f8a3b5bf
UD
41009 [BZ #11901]
41010 * include/stdlib.h: Move include protection to the right place.
41011 Define abort_msg_s. Declare __abort_msg with it.
41012 * stdlib/abort.c (__abort_msg): Adjust type.
41013 * assert/assert.c (__assert_fail_base): New function. Majority
41014 of code from __assert_fail. Allocate memory for __abort_msg with
41015 mmap.
41016 (__assert_fail): Now call __assert_fail_base.
41017 * assert/assert-perr.c: Remove bulk of implementation. Use
41018 __assert_fail_base.
41019 * include/assert.hL Declare __assert_fail_base.
41020 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41021 mmap.
41022 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41023
1af4e298
UD
410242011-05-14 Ulrich Drepper <drepper@gmail.com>
41025
f8a3b5bf 41026 [BZ #11952]
d26dfc60
MG
41027 [BZ #12453]
41028 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41029 until all modules are registered in the DTV.
41030 * elf/Makefile: Add rules to build and run tst-tls19.
41031 * elf/tst-tls19.c: New file.
41032 * elf/tst-tls19mod1.c: New file.
41033 * elf/tst-tls19mod2.c: New file.
41034 * elf/tst-tls19mod3.c: New file.
41035 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41036
2fc54d6f
UD
41037 [BZ #12083]
41038 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41039 correctly.
41040
98d76b46
UD
41041 [BZ #12601]
41042 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41043 two-byte sequence errors.
41044 * iconvdata/Makefile (tests): Add bug-iconv8.
41045 * iconvdata/bug-iconv8.c: New file.
41046
da3c19ef
UD
41047 [BZ #12626]
41048 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41049 buf2 definition.
41050
ca408c15
UD
41051 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41052
d6f67f7d
UD
41053 [BZ #12432]
41054 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41055 (dummy_getcfa): New function.
41056 (init): Get _Unwind_GetCFA address, use dummy if not found.
41057 (backtrace_helper): In recursion check, also check whether CFA changes.
41058 (__backtrace): Completely initialize arg.
41059
1af4e298 41060 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
41061 storing incomplete byte sequence in state object. Avoid testing for
41062 guaranteed too small input if we know there is enough data available.
1af4e298 41063
da62f81b
AS
410642011-05-11 Andreas Schwab <schwab@redhat.com>
41065
41066 * Makeconfig (+link-pie): Indent.
41067 * Rules (binaries-pie): Define if $(have-fpie) and
41068 $(build-shared).
41069 (binaries-shared): Also filter out $(binaries-pie).
41070 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41071 * nscd/Makefile (others-pie): Add nscd.
41072 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41073 ($(objpfx)nscd): Remove command override.
41074 * login/Makefile (others-pie): Add pt_chown.
41075 ($(objpfx)pt_chown): Remove command override.
41076 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41077 remove command overrides.
41078
fcabc0f8
UD
410792011-05-13 Ulrich Drepper <drepper@gmail.com>
41080
20030ae6
UD
41081 * libio/tst_putwc.c: Fix error messages.
41082
fcabc0f8
UD
41083 [BZ #12724]
41084 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41085 currently writing and seek to current position when not.
41086 * libio/Makefile (tests): Add bug-fclose1.
41087 * libio/bug-fclose1.c: New file.
41088
320a5dc0
PB
410892011-05-12 Ulrich Drepper <drepper@gmail.com>
41090
41091 [BZ #12511]
41092 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41093 don't set DF_1_NODELETE here.
41094 (do_lookup_x): When entering new entry test for copy relocation
41095 and if necessary set DF_1_NODELETE flag.
41096 * elf/tst-unique4.cc: New file.
41097 * elf/tst-unique4.h: New file.
41098 * elf/tst-unique4lib.cc: New file.
41099 * elf/Makefile: Add rules to build and run tst-unique4.
41100 Patch by Piotr Bury <pbury@goahead.com>.
41101
22836f52
UD
411022011-05-11 Ulrich Drepper <drepper@gmail.com>
41103
f574184a
UD
41104 [BZ #12052]
41105 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41106
e1fb097f
UD
41107 [BZ #12625]
41108 * misc/mntent_r.c (addmntent): Flush the stream after the output
41109
22836f52
UD
41110 [BZ #12393]
41111 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41112 (is_trusted_path_normalize): Skip initial colon. Append slash
41113 to empty buffer. Duplicate is_trusted_path code but allow
41114 constructed patch to be prefix.
41115 (is_dst): Allow $ORIGIN followed by /.
41116 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41117 Correct testing of result of is_trusted_path_normalize
41118 (decompose_rpath): Fix warning.
41119
7b3b0b2a
UD
411202011-05-10 Ulrich Drepper <drepper@gmail.com>
41121
41122 [BZ #11257]
41123 * grp/initgroups.c (internal_getgrouplist): When we found the service
41124 list through the initgroups entry in nsswitch.conf do not always
41125 continue on a successful lookup. Don't always use the
eac80ce2 41126 __nss_group_database value if it is set.
7b3b0b2a
UD
41127 * nss/nsswitch.conf (initgroups): Change action for successful db
41128 lookup to continue for compatibility.
41129
2a81eaa5
UD
411302011-05-09 Ulrich Drepper <drepper@gmail.com>
41131
be97a69e
UD
41132 [BZ #11532]
41133 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41134 and CP774 modules.
41135 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41136 and CP774 modules.
41137 * iconvdata/tst-tables.sh: Likewise.
41138 * iconvdata/cp770.c: New file.
41139 * iconvdata/cp771.c: New file.
41140 * iconvdata/cp772.c: New file.
41141 * iconvdata/cp773.c: New file.
41142 * iconvdata/cp774.c: New file.
41143 * iconvdata/testdata/CP770: New file.
41144 * iconvdata/testdata/CP770..UTF8: New file.
41145 * iconvdata/testdata/CP771: New file.
41146 * iconvdata/testdata/CP771..UTF8: New file.
41147 * iconvdata/testdata/CP772: New file.
41148 * iconvdata/testdata/CP772..UTF8: New file.
41149 * iconvdata/testdata/CP773: New file.
41150 * iconvdata/testdata/CP773..UTF8: New file.
41151 * iconvdata/testdata/CP774: New file.
41152 * iconvdata/testdata/CP774..UTF8: New file.
41153
41154 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41155 END CHARMAP line.
41156 * iconvdata/gen-8bit-gap.sh: Likewise.
41157 * iconvdata/gen-8bit.sh: Likewise.
41158
c1e9e399
UD
41159 * locale/iso-639.def: Add ary entry.
41160
24c55fb3 41161 [BZ #11258]
96b4b1b0
UD
41162 * locale/C-translit.h.in: Add U20A1 transliteration.
41163
bdc2f971
KB
41164 [BZ #12178]
41165 * locale/iso-639.def: Add wae entry.
41166 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41167
2952b117
UD
41168 [BZ #12545]
41169 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41170 for n.
41171
2a81eaa5
UD
41172 [BZ #12711]
41173 * locale/C-translit.h.in: Add entry for U20B9.
41174 Patch by pravin.d.s@gmail.com.
41175
28377d1b
UD
411762011-05-08 Ulrich Drepper <drepper@gmail.com>
41177
7fb90fb8
UD
41178 [BZ #12713]
41179 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41180 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41181 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41182 in rtld. Use *stat64.
7fb90fb8 41183 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41184 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41185 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41186 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41187 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41188 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41189 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41190 __fstatat64 macros.
7fb90fb8
UD
41191 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41192 * dirent/rewinddir.c: Add libc_hidden_def.
41193 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41194 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41195
28377d1b
UD
41196 * include/dirent.h (__alloc_dir): Add flags parameter.
41197 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41198 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41199 __alloc_dir.
41200 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41201 from fdopendir if O_CLOEXEC is already set.
41202
66bdbaa4
AM
412032011-03-15 Alan Modra <amodra@gmail.com>
41204
41205 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41206 l_tls_firstbyte_offset non-zero. Save padding offset in
41207 l_tls_firstbyte_offset for later use.
41208 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41209 freeing static tls block.
41210
95721191
JN
412112011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41212
41213 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41214 where #ifdef was intended. The intent is to prevent ARG_MAX from
41215 being defined by the kernel headers.
41216
f87dfb1f
UD
412172011-05-07 Ulrich Drepper <drepper@gmail.com>
41218
41219 [BZ #12734]
41220 * resolv/resolv.h: Define RES_NOTLDQUERY.
41221 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41222 no-tld-query and set RES_NOTLDQUERY.
41223 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41224 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41225 modern BIND to search name as TLD unless forbidden.
41226
47c3cd7a
UD
412272011-05-07 Petr Baudis <pasky@suse.cz>
41228 Ulrich Drepper <drepper@gmail.com>
41229
41230 [BZ #12393]
41231 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41232 (is_trusted_path): ...to here.
c1e9ea35 41233 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41234 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41235 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41236
8a35c912
PP
412372011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41238
41239 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41240 __BEGIN/__END_DECLS.
41241
acd41f47
UD
412422011-05-06 Ulrich Drepper <drepper@gmail.com>
41243
41244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41245 NSS_STATUS_NOTFOUND if no record was found.
41246
597df647
AS
412472011-05-05 Andreas Schwab <schwab@redhat.com>
41248
41249 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41250 (headers-not-in-tirpc): Remove rpc/netdb.h
41251 * resolv/netdb.h: Revert last change.
41252
b9af1301
PP
412532011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41254
41255 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41256 circular dependency between libgcc.a and libc.a.
41257
4e34d5f5
AS
412582011-05-05 Andreas Schwab <schwab@redhat.com>
41259
41260 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41261 * nis/Makefile: Don't install rpcsvc/*.
41262 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41263 instead of <rpc/types.h>.
41264 (MAXHOSTNAMELEN): Define.
41265
00ee369c
AS
412662011-05-03 Andreas Schwab <schwab@redhat.com>
41267
41268 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41269
0b592a30
MB
412702011-04-28 Maciej Babinski <mbabinski@google.com>
41271
41272 [BZ #12714]
41273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41274 gethostbyname4_r when IPv6 results are possible.
41275
6e04cbbe
UD
412762011-05-02 Ulrich Drepper <drepper@gmail.com>
41277
41278 [BZ #12723]
41279 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41280 _PC_PIPE_BUF handling.
41281
e4ecafe0
BH
412822011-04-30 Bruno Haible <bruno@clisp.org>
41283
41284 [BZ #12717]
41285 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41286 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41287 to 'int'.
41288 * inet/getnameinfo.c (getnameinfo): Likewise.
41289
125ee683
UD
412902011-04-29 Ulrich Drepper <drepper@gmail.com>
41291
41292 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41293 to groups setting in database lookup.
41294 * nss/nsswitch.conf: Add initgroups entry.
41295
b722481a
EB
412962011-04-22 Ulrich Drepper <drepper@gmail.com>
41297
41298 [BZ #12685]
41299 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41300 mode string.
41301 Patch by Eric Blake <eblake@redhat.com>.
41302
4df46dbd
L
413032011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41304
41305 * sunrpc/Makefile (need-export-routines): Add svc_run.
41306 (routines): Remove svc_run.
41307 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41308 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41309 * sunrpc/svc_run.c (svc_run): Likewise.
41310 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41311
e84142d2
UD
413122011-04-21 Ulrich Drepper <drepper@gmail.com>
41313
41314 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41315 problem in reallocation in last patch.
41316
877175d8
UD
413172011-04-20 Ulrich Drepper <drepper@gmail.com>
41318
41319 * sunrpc/Makefile: Move inclusion of Rules.
41320
ab8eed78
UD
413212011-04-19 Ulrich Drepper <drepper@gmail.com>
41322
41323 * nss/nss_files/files-initgroups.c: New file.
41324 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41325 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41326 _nss_files_initgroups_dyn.
41327
e3d8f584
RS
413282011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41329
41330 * elf/elf.h (R_ARM_IRELATIVE): Define.
41331
af190f45
UD
413322011-04-19 Ulrich Drepper <drepper@gmail.com>
41333
41334 * po/ru.po: Update from translation team.
41335
53cf59ef
UD
413362011-04-17 Ulrich Drepper <drepper@gmail.com>
41337
41338 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41339 dependencies.
41340
4c559bcd
MF
413412011-02-06 Mike Frysinger <vapier@gentoo.org>
41342
41343 [BZ #12653]
41344 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41345 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41349
4420675c
AS
413502011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41351
41352 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41353 differing bytes.
41354 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41355 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41356 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41357
75ea32ab
UD
413582011-04-17 Ulrich Drepper <drepper@gmail.com>
41359
41360 [BZ #12420]
41361 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41362 storing it.
41363 * stdlib/bug-getcontext.c: New file.
41364 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41365
27390476
AK
413662011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41367
41368 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41369 instructions into .machine "z9-109".
41370 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41371 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41372
10442705
AK
413732011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41374
41375 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41376 between environment variables and auxiliary vector.
41377
7b57bfe5
UD
413782011-04-16 Ulrich Drepper <drepper@gmail.com>
41379
41380 * Makefile: Add rules to build linkobj/libc.so.
41381 * include/libc-symbols.h: Define libc_hidden_nolink.
41382 * include/rpc/auth.h: Mark functions which are to be hidden.
41383 * include/rpc/auth_des.h: Likewise.
41384 * include/rpc/auth_unix.h: Likewise.
41385 * include/rpc/clnt.h: Likewise.
41386 * include/rpc/des_crypt.h: Likewise.
41387 * include/rpc/key_prot.h: Likewise.
41388 * include/rpc/pmap_clnt.h: Likewise.
41389 * include/rpc/pmap_prot.h: Likewise.
41390 * include/rpc/pmap_rmt.h: Likewise.
41391 * include/rpc/rpc_msg.h: Likewise.
41392 * include/rpc/svc.h: Likewise.
41393 * include/rpc/svc_auth.h: Likewise.
41394 * include/rpc/xdr.h: Likewise.
41395 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41396 * nss/Makefile: Likewise.
41397 * sunrpc/Makefile: Don't install headers. Build library with normal
41398 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41399 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41400 for the compat linking library. Remove use of INTDEF/INTUSE.
41401 * sunrpc/auth_none.c: Likewise.
41402 * sunrpc/auth_unix.c: Likewise.
41403 * sunrpc/authdes_prot.c: Likewise.
41404 * sunrpc/authuxprot.c: Likewise.
41405 * sunrpc/clnt_gen.c: Likewise.
41406 * sunrpc/clnt_perr.c: Likewise.
41407 * sunrpc/clnt_raw.c: Likewise.
41408 * sunrpc/clnt_simp.c: Likewise.
41409 * sunrpc/clnt_tcp.c: Likewise.
41410 * sunrpc/clnt_udp.c: Likewise.
41411 * sunrpc/clnt_unix.c: Likewise.
41412 * sunrpc/des_crypt.c: Likewise.
41413 * sunrpc/des_soft.c: Likewise.
41414 * sunrpc/get_myaddr.c: Likewise.
41415 * sunrpc/key_call.c: Likewise.
41416 * sunrpc/key_prot.c: Likewise.
41417 * sunrpc/netname.c: Likewise.
41418 * sunrpc/pm_getmaps.c: Likewise.
41419 * sunrpc/pm_getport.c: Likewise.
41420 * sunrpc/pmap_clnt.c: Likewise.
41421 * sunrpc/pmap_prot.c: Likewise.
41422 * sunrpc/pmap_prot2.c: Likewise.
41423 * sunrpc/pmap_rmt.c: Likewise.
41424 * sunrpc/publickey.c: Likewise.
41425 * sunrpc/rpc_cmsg.c: Likewise.
41426 * sunrpc/rpc_common.c: Likewise.
41427 * sunrpc/rpc_dtable.c: Likewise.
41428 * sunrpc/rpc_prot.c: Likewise.
41429 * sunrpc/rpc_thread.c: Likewise.
41430 * sunrpc/rtime.c: Likewise.
41431 * sunrpc/svc.c: Likewise.
41432 * sunrpc/svc_auth.c: Likewise.
41433 * sunrpc/svc_authux.c: Likewise.
41434 * sunrpc/svc_raw.c: Likewise.
41435 * sunrpc/svc_run.c: Likewise.
41436 * sunrpc/svc_simple.c: Likewise.
41437 * sunrpc/svc_tcp.c: Likewise.
41438 * sunrpc/svc_udp.c: Likewise.
41439 * sunrpc/svc_unix.c: Likewise.
41440 * sunrpc/svcauth_des.c: Likewise.
41441 * sunrpc/xcrypt.c: Likewise.
41442 * sunrpc/xdr.c: Likewise.
41443 * sunrpc/xdr_array.c: Likewise.
41444 * sunrpc/xdr_float.c: Likewise.
41445 * sunrpc/xdr_intXX_t.c: Likewise.
41446 * sunrpc/xdr_mem.c: Likewise.
41447 * sunrpc/xdr_rec.c: Likewise.
41448 * sunrpc/xdr_ref.c: Likewise.
41449 * sunrpc/xdr_sizeof.c: Likewise.
41450 * sunrpc/xdr_stdio.c: Likewise.
41451
e6c61494
UD
414522011-04-10 Ulrich Drepper <drepper@gmail.com>
41453
41454 [BZ #12650]
41455 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41456 * sysdeps/ia64/dl-tls.h: Likewise.
41457 * sysdeps/powerpc/dl-tls.h: Likewise.
41458 * sysdeps/s390/dl-tls.h: Likewise.
41459 * sysdeps/sh/dl-tls.h: Likewise.
41460 * sysdeps/sparc/dl-tls.h: Likewise.
41461 * sysdeps/x86_64/dl-tls.h: Likewise.
41462 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41463
34fe483e
AS
414642011-03-14 Andreas Schwab <schwab@redhat.com>
41465
41466 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41467 rpath element also skip the following colon.
41468 (expand_dynamic_string_token): Add is_path parameter and pass
41469 down to DL_DST_REQUIRED and _dl_dst_substitute.
41470 (decompose_rpath): Call expand_dynamic_string_token with
41471 non-zero is_path. Ignore empty rpaths.
41472 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41473 with zero is_path.
41474
f12a32e6
AS
414752011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41476
41477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41478 Make cancelable.
41479
38a7d692
UD
414802011-04-09 Ulrich Drepper <drepper@gmail.com>
41481
41482 [BZ #12655]
41483 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41484 Patch by Filipe David Manana <fdmanana@apache.org>.
41485
e451d22b
AS
414862011-04-07 Andreas Schwab <schwab@redhat.com>
41487
41488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41489 Maintain aligned stack.
41490 (CHECK_RSP): Remove unused macro.
41491
dedc7c7b
UD
414922011-04-03 Ulrich Drepper <drepper@gmail.com>
41493
41494 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41495 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41496
94521213
UD
414972011-04-02 Ulrich Drepper <drepper@gmail.com>
41498
41499 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41500
8cb700c0 41501 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41502
0354e355
L
415032011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41504
41505 [BZ #12518]
41506 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41507 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41508 * sysdeps/x86_64/memmove.c: New file.
41509 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41510 (memcpy): Renamed to ...
41511 (__new_memcpy): This.
41512 (memcpy): Provide GLIBC_2_14 memcpy.
41513 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41514 (memcpy): Provide GLIBC_2_2_5 memcpy.
41515
8593482f
UD
415162011-04-01 Ulrich Drepper <drepper@gmail.com>
41517
41518 [BZ #12631]
41519 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41520
81a5726b
AS
415212011-03-30 Andreas Schwab <schwab@redhat.com>
41522
41523 * misc/syncfs.c: New file.
41524 * misc/Makefile (routines): Add syncfs.
41525 * posix/unistd.h: Declare syncfs.
41526 * sysdeps/unix/syscalls.list: Add syncfs.
41527
00e5419f
AS
415282011-04-01 Andreas Schwab <schwab@redhat.com>
41529
41530 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41531 open_by_handle_at.
41532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41535 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41537 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41539
748876bf
UD
415402011-04-01 Ulrich Drepper <drepper@gmail.com>
41541
658e451d
UD
41542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41543 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41545 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41546 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41549
748876bf
UD
41550 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41551 sync_file_range.c with -fexceptions.
41552 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41553 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41554 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41555 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41556 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41557 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41559 sync_file_range as cancellation point
41560 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41561 now a wrapper around __call_sync_file_range with cancellation handling.
41562 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41563 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41564 function name to __call_sync_file_range.
41565 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41566 Add call_sync_file_range.
748876bf 41567
6e63d5e1
AS
415682011-04-01 Andreas Schwab <schwab@redhat.com>
41569
41570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41571 bits/timex.h.
6e63d5e1 41572
46998f74
UD
415732011-04-01 Ulrich Drepper <drepper@gmail.com>
41574
4c1423ed
UD
41575 * iconv/iconv.h: Fix typo in comment.
41576 * io/fcntl.h: Likewise.
41577 * libio/stdio.h: Likewise.
41578 * posix/spawn.h: Likewise.
41579 * posix/unistd.h: Likewise.
41580 * stdlib/stdlib.h: Likewise.
41581 * time/time.h: Likewise.
41582 * wcsmbs/wchar.h: Likewise.
41583
158648c0
UD
41584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41585 open_by_handle): Add.
41586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41587 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41588 Augment a few comments.
41589 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41590 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41591 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41594 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41595 open_by_handle.
41596
46998f74
UD
41597 * io/fcntl.h (AT_EMPTY_PATH): Define.
41598
83fe108b
UD
415992011-03-30 Ulrich Drepper <drepper@gmail.com>
41600
41601 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41602 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41603 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41604 to...
41605 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41606 * Versions.def: Add GLIBC_2.14.
41607 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41608 Export.
83fe108b 41609
bb242059
UD
416102011-03-22 Ulrich Drepper <drepper@gmail.com>
41611
41612 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41613 round counter.
41614 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41615
c97a1282
L
416162011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41617
41618 [BZ #12597]
41619 * string/test-strncmp.c (do_page_test): New function.
41620 (check2): Likewise.
41621 (test_main): Call check2.
41622 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41623
2a115601
UD
416242011-03-20 Ulrich Drepper <drepper@gmail.com>
41625
41626 [BZ #12587]
41627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41628 Handle cache information in CPU leaf 4.
41629 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41630
8126d904
UD
416312011-03-18 Ulrich Drepper <drepper@gmail.com>
41632
042c49c6 41633 [BZ #12583]
8126d904
UD
41634 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41635 character representation.
41636 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41637
ccfe366e
RA
416382011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41639
41640 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41641 END(__isnan) to END(__isnanf) to match function entry point/label
41642 EALIGN(__isnanf,...).
41643
c6e13027
JJ
416442011-03-10 Jakub Jelinek <jakub@redhat.com>
41645
41646 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41647
33f85a3f
UD
416482011-03-10 Ulrich Drepper <drepper@gmail.com>
41649
028478fa
UD
41650 [BZ #12510]
41651 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41652 copy from the symbol referenced in the relocation to initialize the
41653 used variable.
41654 Patch by Piotr Bury <pbury@goahead.com>.
41655 * elf/Makefile: Add rules to build and tst-unique3.
41656 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41657 * elf/tst-unique3.cc: New file.
41658 * elf/tst-unique3.h: New file.
41659 * elf/tst-unique3lib.cc: New file.
41660 * elf/tst-unique3lib2.cc: New file.
41661
33f85a3f
UD
41662 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41663
03592fc7
MF
416642011-03-10 Mike Frysinger <vapier@gentoo.org>
41665
41666 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41667 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41668 to _start.
03592fc7 41669
6a5ee102
UD
416702011-03-06 Ulrich Drepper <drepper@gmail.com>
41671
41672 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41673 to-be-loaded object along a path to loader is ld.so.
41674
7e4ba49c
HJ
416752011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41676 Ulrich Drepper <drepper@gmail.com>
41677
41678 * sysdeps/x86_64/memset.S: After aligning destination, code
41679 branches to different locations depending on the value of
41680 misalignment, when multiarch is enabled. Fix this.
41681
416822011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41683
41684 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41685 Set _x86_64_preferred_memory_instruction for AMD processsors.
41686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41687 Set bit_Prefer_SSE_for_memop for AMD processors.
41688
13a804de
UD
416892011-03-04 Ulrich Drepper <drepper@gmail.com>
41690
41691 * libio/fmemopen.c (fmemopen): Optimize a bit.
41692
9d25c392
AS
416932011-03-03 Andreas Schwab <schwab@redhat.com>
41694
41695 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41696
a5543c6a
RM
416972011-03-03 Roland McGrath <roland@redhat.com>
41698
41699 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41700
012d35f7
DM
417012011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41702
7e4ba49c 41703 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41704 __bzero_ultra1 instead of __memset_ultra1.
41705
4bff6e01
AS
417062011-02-23 Andreas Schwab <schwab@redhat.com>
41707 Ulrich Drepper <drepper@gmail.com>
41708
41709 [BZ #12509]
41710 * include/link.h (struct link_map): Add l_orig_initfini.
41711 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41712 returning unsuccessfully.
41713 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41714 close of a file loaded at startup, restore the original l_initfini
41715 list.
41716 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41717 list, store the pointer.
41718 * elf/Makefile ($(objpfx)noload-mem): New rule.
41719 (noload-ENV): Define.
41720 (tests): Add $(objpfx)noload-mem.
41721 * elf/noload.c: Include <memcheck.h>.
41722 (main): Call mtrace. Close all opened handles.
41723
f2092faf
AS
417242011-02-17 Andreas Schwab <schwab@redhat.com>
41725
41726 [BZ #12454]
41727 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41728 dependencies are missing.
41729
6c8a2e88
ST
417302011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41731
f2092faf 41732 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41733 Hurd needs munmap.
41734 * sysdeps/mach/hurd/ifreq.h: New file.
41735
84a42118
PB
417362011-01-27 Petr Baudis <pasky@suse.cz>
41737 Ulrich Drepper <drepper@gmail.com>
41738
071f805e 41739 [BZ 12445]#
84a42118
PB
41740 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41741 to extend_alloca().
41742 * stdio-common/bug23.c: New file.
41743 * stdio-common/Makefile (tests): Add bug23.
41744
e23fe25b
AS
417452010-09-28 Andreas Schwab <schwab@redhat.com>
41746 Ulrich Drepper <drepper@gmail.com>
41747
41748 [BZ #12489]
41749 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41750 before performing relro protection. At old place add assertion
41751 to make sure nothing changed.
41752
d3f02e10
NS
417532011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41754 Glauber de Oliveira Costa <glommer@gmail.com>
41755
41756 * elf/elf.h: Add new ARM TLS relocs.
41757
d55fd7a5
RA
417582011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41759
41760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41761 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41762 cast from r3.
41763 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41764 'tests' variable.
41765 * sysdeps/wordsize-64/tst-writev.c: New file.
41766
2206397e
RA
417672011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41768
41769 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41770 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41771 insns in _dl_start to prevent a TOC reference before relocs are
41772 resolved.
41773
e9433893
UD
417742011-02-15 Ulrich Drepper <drepper@gmail.com>
41775
41776 [BZ #12469]
41777 * Makeconfig: Remove RANLIB definition.
41778 * Makerules: Don't use RANLIB.
41779 * aclocal.m4: Remove ranlib test.
41780 * configure.in: No need to check for ranlib.
41781 * elf/rtld-Rules: Don't use RANLIB.
41782
f75286c6
ST
417832011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41784
8e31c82d
ST
41785 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41786 protection macro.
41787 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41788 inclusion protection macro.
41789
f75286c6
ST
41790 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41791 SIGRTMIN and SIGRTMAX and print information in that case only when
41792 SIGRTMIN is defined.
41793
c1d0e639
JJ
417942011-02-11 Jakub Jelinek <jakub@redhat.com>
41795
41796 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41797 arginfo fn returning -1.
41798
41799 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41800 and thousands string is zero terminated.
41801
edf9294e
AS
418022011-02-03 Andreas Schwab <schwab@redhat.com>
41803
41804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41805 sysdeps/unix/sysv/linux/bits/socket.h.
41806
2b7e92df
ST
418072011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41808
edf9294e
AS
41809 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41810 (__CPU_COUNT): Remove old macros.
41811 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41812 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41813 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41814 (__sched_cpualloc, __sched_cpufree): Add declarations.
41815
a4c7ea7b
UD
418162011-02-05 Ulrich Drepper <drepper@gmail.com>
41817
41818 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41819 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41820 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41821 (readdhstai): Return value of addhstaiX call.
41822 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41823 (addgrbyX): Return value returned by cache_addgr.
41824 (readdgrbyname): Return value returned by addgrbyX.
41825 (readdgrbygid): Likewise.
41826 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41827 (addpwbyX): Return value returned by cache_addpw.
41828 (readdpwbyname): Return value returned by addhstbyX.
41829 (readdpwbyuid): Likewise.
41830 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41831 (addservbyX): Return value returned by cache_addserv.
41832 (readdservbyname): Return value returned by addservbyX:
41833 (readdservbyport): Likewise.
41834 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41835 (addhstbyX): Return value returned by cache_addhst.
41836 (readdhstbyname): Return value returned by addhstbyX.
41837 (readdhstbyaddr): Likewise.
41838 (readdhstbynamev6): Likewise.
41839 (readdhstbyaddrv6): Likewise.
41840 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41841 (readdinitgroups): Return value returned by addinitgroupsX.
41842 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41843 (prune_cache): Keep track of timeout value of re-added entries.
41844 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41845 * nscd/nscd.h: Adjust prototypes of readd* functions.
41846
a0bf67cc
RM
418472011-02-04 Roland McGrath <roland@redhat.com>
41848
41849 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41850 (nis_stats): Likewise.
41851 * nis/nis_modify.c (nis_modify): Likewise.
41852 * nis/nis_remove.c (nis_remove): Likewise.
41853 * nis/nis_add.c (nis_add): Likewise.
41854
41855 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41856
41857 * posix/fnmatch_loop.c: Add some consts.
41858
41859 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41860
435b95eb
L
418612011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41862
41863 [BZ #12460]
41864 * config.make.in (config-cflags-novzeroupper): Define.
41865 * configure.in: Substitute libc_cv_cc_novzeroupper.
41866 * elf/Makefile (AVX-CFLAGS): Define.
41867 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41868 (CFLAGS-tst-auditmod4a.c): Likewise.
41869 (CFLAGS-tst-auditmod4b.c): Likewise.
41870 (CFLAGS-tst-auditmod6b.c): Likewise.
41871 (CFLAGS-tst-auditmod6c.c): Likewise.
41872 (CFLAGS-tst-auditmod7b.c): Likewise.
41873 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41874
8517b15e
UD
418752011-02-02 Ulrich Drepper <drepper@gmail.com>
41876
41877 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41878 function to the callback.
41879 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41880
10a656fe
AS
418812011-02-02 Andreas Schwab <schwab@redhat.com>
41882
41883 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41884 of errno.
41885
968dad0a
UD
418862011-01-19 Ulrich Drepper <drepper@gmail.com>
41887
9f94d2ea 41888 [BZ #11724]
968dad0a
UD
41889 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41890 of constructors.
41891 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41892 of destructors.
41893 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41894
41895 [BZ #11724]
41896 * elf/Makefile: Add rules to build and run new test.
41897 * elf/tst-initorder.c: New file.
41898 * elf/tst-initorder.exp: New file.
41899 * elf/tst-initordera1.c: New file.
41900 * elf/tst-initordera2.c: New file.
41901 * elf/tst-initordera3.c: New file.
41902 * elf/tst-initordera4.c: New file.
41903 * elf/tst-initorderb1.c: New file.
41904 * elf/tst-initorderb2.c: New file.
41905 * elf/tst-order-a1.c: New file.
41906 * elf/tst-order-a2.c: New file.
41907 * elf/tst-order-a3.c: New file.
41908 * elf/tst-order-a4.c: New file.
41909 * elf/tst-order-b1.c: New file.
41910 * elf/tst-order-b2.c: New file.
41911 * elf/tst-order-main.c: New file.
41912 New test case by George Gensure <werkt0@gmail.com>.
41913
86e92359
UD
419142010-10-01 Andreas Schwab <schwab@redhat.com>
41915
41916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41917 decoding ACE if AI_CANONIDN.
41918
5d5732b0
UD
419192011-01-18 Ulrich Drepper <drepper@gmail.com>
41920
41921 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41922
a77e8cbc
UD
419232011-01-17 Ulrich Drepper <drepper@gmail.com>
41924
6392473f
UD
41925 * version.h (RELEASE): Bump for 2.13 release.
41926 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41927
620a0529
UD
41928 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41929
18ba70a5
UD
41930 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41931 MADV_NOHUGEPAGE.
32465c3e
UD
41932 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41933 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41934 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41935 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41936 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41937 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41938
c0dafcf1
UD
41939 * posix/getconf.c: Update copyright year.
41940 * catgets/gencat.c: Likewise.
41941 * csu/version.c: Likewise.
41942 * debug/catchsegv.sh: Likewise.
41943 * debug/xtrace.sh: Likewise.
41944 * elf/ldconfig.c: Likewise.
41945 * elf/ldd.bash.in: Likewise.
41946 * elf/sprof.c (print_version): Likewise.
41947 * iconv/iconv_prog.c: Likewise.
41948 * iconv/iconvconfig.c: Likewise.
41949 * locale/programs/locale.c: Likewise.
41950 * locale/programs/localedef.c: Likewise.
41951 * malloc/memusage.sh: Likewise.
41952 * malloc/mtrace.pl: Likewise.
41953 * nscd/nscd.c (print_version): Likewise.
41954 * nss/getent.c: Likewise.
41955
a77e8cbc
UD
41956 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41957 PF_CAIF, and PF_ALG.
41958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41959
77e8bddf
AS
419602011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41961
1f20b93a
AS
41962 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41963 (modules-names): Use them.
41964 (ifunc-test-modules, ifunc-pie-tests): Define.
41965 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41966 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41967 (test-extras): Likewise.
41968 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41969 $(compile-command.c).
41970 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41971 (all-built-dso): Define.
41972 (check-textrel.out, check-execstack.out): Depend on it.
41973
77e8bddf
AS
41974 * configure.in: Don't override --enable-multi-arch.
41975
bc425b33
UD
419762011-01-15 Ulrich Drepper <drepper@gmail.com>
41977
41978 [BZ #6812]
41979 * nscd/hstcache.c (tryagain): Define.
41980 (cache_addhst): Return tryagain not notfound for temporary errors.
41981 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41982 failed.
41983
794c3ad3
UD
419842011-01-14 Ulrich Drepper <drepper@gmail.com>
41985
70181fdd
UD
41986 [BZ #10563]
41987 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41988 to make the syscall.
41989 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41990
794c3ad3
UD
41991 [BZ #12378]
41992 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41993 and fall back to matching as normal character if the string ends before
41994 the matching ']' is found. This is what POSIX requires.
41995 * posix/testfnm.c: Adjust test result.
41996 * posix/globtest.sh: Adjust test result. Add new test.
41997 * posix/tst-fnmatch.input: Likewise.
41998 * posix/tst-fnmatch2.c: Add new test.
41999
68dc9497
AS
420002010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42001
42002 * elf/Makefile (check-execstack): Revert last change. Depend on
42003 check-execstack.h.
42004 (check-execstack.h): New target.
42005 (generated): Add check-execstack.h.
42006 * elf/check-execstack.c: Include "check-execstack.h".
42007 (main): Revert last change.
42008 (handle_file): Return zero if GNU_STACK is absent and
42009 DEFAULT_STACK_PERMS doesn't include PF_X.
42010
451f001b
UD
420112011-01-13 Ulrich Drepper <drepper@gmail.com>
42012
cfa28e56
UD
42013 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42014 in child fails because the descriptor is already closed.
8cf8ce17
UD
42015 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42016 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42017 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 42018
1086d70d
UD
42019 [BZ #12397]
42020 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42021 syscall.
42022
451f001b
UD
42023 [BZ #10484]
42024 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42025 temporary buffer used to handle multi lookups locally.
a85b5cb4 42026 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 42027
08769175
UD
420282011-01-12 Ulrich Drepper <drepper@gmail.com>
42029
42030 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42031 loader is ld.so.
42032
5e49c52e
UD
420332011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42034
42035 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42036 alignment for SSE2.
42037
60522a5f
UD
420382011-01-12 Ulrich Drepper <drepper@gmail.com>
42039
42040 [BZ #12394]
42041 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42042 characters. When rounding increased number of integer digits recompute
42043 number of groups.
42044 * stdio-common/tst-grouping.c: New file.
42045 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42046
f257bbd7
UD
420472011-01-09 Ulrich Drepper <drepper@gmail.com>
42048
42049 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42050 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42051
42052 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42053 void.
42054 * bits/select.h: Likewise.
42055
fa9c15cb
UD
420562011-01-08 Ulrich Drepper <drepper@gmail.com>
42057
42058 * po/ja.po: Update from translation team.
42059
16c2895f
DM
420602011-01-04 David S. Miller <davem@sunset.davemloft.net>
42061
42062 [BZ #11155]
42063 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42064 implementation just like for lxstat, fxstatat, et al.
42065
2543fef2
JM
420662010-12-27 Jim Meyering <meyering@redhat.com>
42067
42068 [BZ #12348]
42069 * posix/regexec.c (build_trtable): Return failure indication upon
42070 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42071
98727dbe
UD
420722010-12-25 Ulrich Drepper <drepper@gmail.com>
42073
5bd6dc5c
UD
42074 [BZ #12201]
42075 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42076 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42077 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42078 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42079
97983464
UD
42080 [BZ #12207]
42081 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42082
98727dbe
UD
42083 [BZ #12204]
42084 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42085 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42086
4a531bb0
L
420872010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42088
42089 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42090 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42091 script has SORT_BY_INIT_PRIORITY.
42092 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42093 NO_CTORS_DTORS_SECTIONS is defined.
42094 * elf/soinit.c: Likewise.
42095 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42096 NO_CTORS_DTORS_SECTIONS is defined.
42097 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42098 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42099 * sysdeps/sh/init-first.c: Likewise.
42100 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42101
07eb4b71
UD
421022010-12-24 Ulrich Drepper <drepper@gmail.com>
42103
42104 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42105 always use the slow path.
42106
30950a5f
RA
421072010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42108
42109 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42110 similar rule which adds the sysdep directories to the header search in
42111 order to pick up the correct platform stackinfo.h.
42112 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42113 perform test if it is, otherwise return successfully without testing.
42114 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42115 DEFAULT_STACK_PERMS define in stackinfo.h.
42116 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42117 defined in stackinfo.h.
42118 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42119 DEFAULT_STACK_PERMS defined in stackinfo.h.
42120 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42121 * sysdeps/ia64/stackinfo.h: Likewise.
42122 * sysdeps/s390/stackinfo.h: Likewise.
42123 * sysdeps/sh/stackinfo.h: Likewise.
42124 * sysdeps/sparc/stackinfo.h: Likewise.
42125 * sysdeps/x86_64/stackinfo.h: Likewise.
42126 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42127 PF_X for powerpc64. Retain PF_X for powerpc32.
42128
db753e2c
UD
421292010-12-19 Ulrich Drepper <drepper@gmail.com>
42130
14b697f7
UD
42131 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42132 accurately.
db753e2c
UD
42133 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42134 GETDENTS_64BIT_ALIGNED.
42135
28300719
UD
421362010-12-14 Ulrich Drepper <dreper@gmail.com>
42137
14b697f7 42138 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42139
4f197237
AS
421402010-12-10 Andreas Schwab <schwab@redhat.com>
42141
dbb0472f
AS
42142 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42143 _GNU_SOURCE.
42144
4f197237
AS
42145 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42146 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42147 Remove __restrict.
42148 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42149 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42150
fb88ac72
UD
421512010-12-09 Ulrich Drepper <drepper@gmail.com>
42152
42153 [BZ #11655]
42154 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42155 are initialized.
42156
42acbb92
JJ
421572010-12-09 Jakub Jelinek <jakub@redhat.com>
42158
42159 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42160
c038d98d
UD
421612010-12-03 Ulrich Drepper <drepper@gmail.com>
42162
42163 * po/it.po: Update from translation team.
42164
3a4a2499
L
421652010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42166
42167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42168 unused codes.
42169
1e24cf6e
UD
421702010-11-30 Ulrich Drepper <drepper@gmail.com>
42171
42172 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42173
a7690819
AS
421742010-11-24 Andreas Schwab <schwab@redhat.com>
42175
42176 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42177 specially.
42178 (gaih_getanswer_slice): Likewise.
42179
3bf8d1b1
JJ
421802010-10-20 Jakub Jelinek <jakub@redhat.com>
42181
42182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42183
6db52fbb
PB
421842010-05-31 Petr Baudis <pasky@suse.cz>
42185
42186 [BZ #11149]
42187 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42188 silently even in the chroot mode.
42189
eaca7569
UD
421902010-11-22 Ulrich Drepper <drepper@gmail.com>
42191
42192 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42193 last patch a bit. Pretty printing
42194
3056dcdb
UD
421952010-05-31 Petr Baudis <pasky@suse.cz>
42196
42197 [BZ #10085]
42198 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42199 initialization of skip_initgroups_dyn.
42200
cf7c9078
UD
422012010-11-19 Ulrich Drepper <drepper@gmail.com>
42202
42203 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42204 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42205
a1fb5e3e
UD
422062010-11-16 Ulrich Drepper <drepper@gmail.com>
42207
42208 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42209
3540d66b
AS
422102010-11-11 Andreas Schwab <schwab@redhat.com>
42211
42212 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42213 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42214 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42215 ($(objpfx)tst-fnmatch-mem): New rule.
42216 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42217 * posix/tst-fnmatch.c (main): Call mtrace.
42218
13b69574
L
422192010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42220
42221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42222 Support Intel processor model 6 and model 0x2c.
42223
da93d214
LM
422242010-11-10 Luis Machado <luisgpm@br.ibm.com>
42225
42226 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42227 signed comparison.
42228
8ca52c6e
L
422292010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42230
42231 [BZ #12205]
42232 * string/test-strncasecmp.c (check_result): New function.
42233 (do_one_test): Use it.
42234 (check1): New function.
42235 (test_main): Use it.
42236 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42237 Support strcasecmp and strncasecmp.
42238
69da074d
UD
422392010-11-08 Ulrich Drepper <drepper@gmail.com>
42240
42241 [BZ #12194]
42242 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42244
ff02d528
L
422452010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42246
42247 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42248 IFUNC support.
42249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42250 memset-x86-64.
42251 * sysdeps/x86_64/multiarch/bzero.S: New file.
42252 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42253 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42254 * sysdeps/x86_64/multiarch/memset.S: New file.
42255 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42257 Set bit_Prefer_SSE_for_memop for Intel processors.
42258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42259 Define.
42260 (index_Prefer_SSE_for_memop): Define.
42261 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42262
344d0b54
LM
422632010-11-04 Luis Machado <luisgpm@br.ibm.com>
42264
42265 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42266 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42267
c0dde15b
UD
422682010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42269
42270 [BZ #12191]
42271 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42272 (__x86_64_raw_data_cache_size_half): Likewise.
42273 (__x86_64_raw_shared_cache_size): Likewise.
42274 (__x86_64_raw_shared_cache_size_half): Likewise.
42275
42276 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42277 (__x86_64_raw_data_cache_size_half): Likewise.
42278 (__x86_64_raw_shared_cache_size): Likewise.
42279 (__x86_64_raw_shared_cache_size_half): Likewise.
42280 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42281 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42282 and __x86_64_raw_shared_cache_size_half. Round
42283 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42284 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42285 to multiple of 256 bytes.
42286
0e516e0e
MS
422872010-11-03 Ulrich Drepper <drepper@gmail.com>
42288
42289 [BZ #12167]
42290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42291 of inacessible symlinks. Verify result of symlink before returning it.
42292 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42293 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42294
0e012e87
ER
422952010-10-28 Erich Ritz <erichritz@gmail.com>
42296
42297 * math/math.h (isinf): Fix typo in comment.
42298
de0ff7bc
UD
422992010-11-01 Ulrich Drepper <drepper@gmail.com>
42300
42301 * po/da.po: Update from translation team.
42302
fa41c84d
UD
423032010-10-26 Ulrich Drepper <drepper@gmail.com>
42304
42305 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42306 is added to the list.
42307
f0967738
AK
423082010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42309 Ulrich Drepper <drepper@gmail.com>
42310
42311 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42312 the global list here. Move code to...
42313 (_dl_add_to_namespace_list): ...here. New function.
42314 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42315 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42316 * elf/dl-load.c (lose): Don't remove the element from the list.
42317 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42318 (_dl_map_object): Likewise.
42319
423202010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42321
42322 [BZ #12159]
42323 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42324 into all bytes of SSE register.
42325 Patch by Richard Li <richardpku@gmail.com>.
42326
f0967738 423272010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42328
42329 [BZ #12140]
42330 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42331 perturbing.
42332
d0b9e94f
MB
423332010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42334
42335 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42336 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42337 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42338 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42340 submachine.
42341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42342
8e9f92e9
AS
423432010-10-22 Andreas Schwab <schwab@redhat.com>
42344
42345 * include/dlfcn.h (__RTLD_SECURE): Define.
42346 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42347 mode & __RTLD_SECURE instead.
42348 (open_path): Rename preloaded parameter to secure.
42349 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42350 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42351 * elf/dl-deps.c (openaux): Likewise.
42352 * elf/rtld.c (struct map_args): Remove is_preloaded.
42353 (map_doit): Don't use it.
42354 (dl_main): Likewise.
42355 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42356 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42357
bc96fbda
AS
423582010-09-09 Andreas Schwab <schwab@redhat.com>
42359
42360 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42361 (sysd-rules-targets): Remove duplicates.
42362 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42363 rtld-%.$o dependency.
42364
22cd1c9b
AS
423652010-10-18 Andreas Schwab <schwab@redhat.com>
42366
42367 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42368 _dl_map_object do it.
42369
18edac48
UD
423702010-10-19 Ulrich Drepper <drepper@gmail.com>
42371
42372 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42373 fast fma builtins, define the macros in the C99 standard.
42374 (FP_FAST_FMAF): Likewise.
42375 (FP_FAST_FMAL): Likewise.
42376 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42377
42378 * bits/mathdef.h: Update copyright year.
42379 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42380
d2050124
MM
423812010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42382
42383 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42384 builtins, define the macros in the C99 standard.
42385 (FP_FAST_FMAF): Likewise.
42386 (FP_FAST_FMAL): Likewise.
42387 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42388 multiply/add.
42389 (FP_FAST_FMAF): Likewise.
42390
475facd1
JJ
423912010-10-15 Jakub Jelinek <jakub@redhat.com>
42392
42393 [BZ #3268]
42394 * math/libm-test.inc (fma_test): Some new testcases.
42395 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42396 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42397 y and infinite z. Do multiplication by C already in long double.
42398 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42400 y and infinite z. Do bitwise or of inexact bit into u.d.
42401 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42402 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42403 * sysdeps/i386/fpu/s_fma.S: Removed.
42404 * sysdeps/i386/fpu/s_fmal.S: Removed.
42405
7c08a05c
JJ
424062010-10-16 Jakub Jelinek <jakub@redhat.com>
42407
42408 [BZ #3268]
42409 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42411 computation is not scheduled after fetestexcept. Fix value
42412 of minimum denormal long double.
42413
f3f7372d
JJ
424142010-10-14 Jakub Jelinek <jakub@redhat.com>
42415
42416 [BZ #3268]
42417 * math/libm-test.inc (fma_test): Add some more tests.
42418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42419 correctly.
42420
14d43591
AS
424212010-10-15 Andreas Schwab <schwab@redhat.com>
42422
42423 * scripts/data/localplt-s390-linux-gnu.data: New file.
42424 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42425
5e908464
JJ
424262010-10-13 Jakub Jelinek <jakub@redhat.com>
42427
42428 [BZ #3268]
42429 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42430 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42431 instead of dbl-64.
42432 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42433 inlines.
42434 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42436 if one of x and y is very large and the other is subnormal.
42437 * sysdeps/s390/fpu/s_fmaf.c: New file.
42438 * sysdeps/s390/fpu/s_fma.c: New file.
42439 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42440 * sysdeps/powerpc/fpu/s_fma.S: New file.
42441 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42442 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42443 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42444
424452010-10-12 Jakub Jelinek <jakub@redhat.com>
42446
42447 [BZ #3268]
42448 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42449 fma tests.
42450 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42451 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42452 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42453 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42454 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42455 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42456 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42457
b833d51f
UD
424582010-10-12 Ulrich Drepper <drepper@redhat.com>
42459
42460 [BZ #12078]
42461 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42462 * posix/bug-regex31.input: Add test case.
42463
1751705d
UD
424642010-10-11 Ulrich Drepper <drepper@gmail.com>
42465
e9b9cbf5
UD
42466 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42467 * posix/bug-regex31.input: New file.
42468
42469 [BZ #12078]
42470 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42471 (parse_sub_exp): Fix last change, use postorder.
42472
ef06edbe
UD
42473 * posix/bug-regex31.c: New file.
42474 * posix/Makefile: Add rules to build and run bug-regex31.
42475
a129c80d
UD
42476 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42477
42478 [BZ #12078]
42479 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42480
b76b818e
UD
42481 [BZ #12108]
42482 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42483 to have entries in sys_siglist.
42484
1751705d
UD
42485 [BZ #12093]
42486 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42487 be NULL.
42488
9ff8d36f
JJ
424892010-10-07 Jakub Jelinek <jakub@redhat.com>
42490
42491 [BZ #3268]
42492 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42493 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42494 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42495 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42496 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42497 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42498 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42499 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42500 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42501 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42502 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42503 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42504 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42505 * math/ftestexcept.c (fetestexcept): Likewise.
42506 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42507 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42508 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42509 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42510 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42511 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42513
af325969
UD
425142010-10-11 Ulrich Drepper <drepper@gmail.com>
42515
c579b202 42516 [BZ #12107]
af325969
UD
42517 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42518 newline.
42519
67a67b95
UD
425202010-10-06 Ulrich Drepper <drepper@gmail.com>
42521
42522 * string/bug-strstr1.c: New file.
42523 * string/Makefile: Add rules to build and run bug-strstr1.
42524
5fb308bc
EB
425252010-10-05 Eric Blake <eblake@redhat.com>
42526
42527 [BZ #12092]
42528 * string/str-two-way.h (two_way_long_needle): Always clear memory
42529 when skipping input due to the shift table.
42530
45db99c7
UD
425312010-10-03 Ulrich Drepper <drepper@gmail.com>
42532
3b111893
UD
42533 [BZ #12005]
42534 * malloc/mcheck.c: Handle large requests.
42535
45db99c7
UD
42536 [BZ #12077]
42537 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42538 for strncmp and strncasecmp.
42539 * string/stratcliff.c: Add tests for strcmp and strncmp.
42540 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42541
cf7a1eb8
NI
425422010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42543
42544 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42545 __set_fpscr.
42546
6484ba5e
AJ
425472010-09-30 Andreas Jaeger <aj@suse.de>
42548
42549 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42550 (CGROUP_SUPER_MAGIC): Define.
42551 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42552 Handle btrfs and cgroup file systems.
42553 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42554 Likewise.
42555
91c42559
LM
425562010-09-27 Luis Machado <luisgpm@br.ibm.com>
42557
42558 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42559 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42560
87a97932
AK
425612010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42562
42563 [BZ #12067]
42564 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42565 trying to locate the ELF header.
42566
c21cc9bc
AS
425672010-09-27 Andreas Schwab <schwab@redhat.com>
42568
42569 [BZ #11611]
42570 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42571 Mask out sign-bit copies when constructing f_fsid.
42572
315970f6
PB
425732010-09-24 Petr Baudis <pasky@suse.cz>
42574
42575 * debug/stack_chk_fail_local.c: Add missing licence exception.
42576 * debug/warning-nop.c: Likewise.
42577
1ac7a2c7
JM
425782010-09-15 Joseph Myers <joseph@codesourcery.com>
42579
42580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42581 implementing getdents64 using getdents syscall, set d_type if
42582 __ASSUME_GETDENTS32_D_TYPE.
42583
56801c50
AS
425842010-09-16 Andreas Schwab <schwab@redhat.com>
42585
42586 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42587 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42588
dda51327
UD
425892010-09-21 Ulrich Drepper <drepper@redhat.com>
42590
42591 [BZ #12037]
42592 * posix/unistd.h: Undo change of feature selection for ftruncate from
42593 2010-01-11.
42594
8ffcee4a
UD
425952010-09-20 Ulrich Drepper <drepper@redhat.com>
42596
a545ecd9 42597 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42598 detection.
42599
e24f0a8b
AS
426002010-09-20 Andreas Schwab <schwab@redhat.com>
42601
42602 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42603 fanotify_mark.
42604 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42605
7291c56f
AS
426062010-09-14 Andreas Schwab <schwab@redhat.com>
42607
42608 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42609 variables after CHECK_SP call.
42610 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42611
bc5fb037
AS
426122010-09-13 Andreas Schwab <schwab@redhat.com>
42613 Ulrich Drepper <drepper@redhat.com>
42614
42615 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42616 re-relocationg ld.so.
42617 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42618 _dl_init_paths call.
42619 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42620 here anymore.
42621
e66e7419
UD
426222010-09-14 Ulrich Drepper <drepper@redhat.com>
42623
42624 * resolv/res_init.c (__res_vinit): Count the default server we added.
42625
c044aa75
CLT
426262010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42627 Ulrich Drepper <drepper@redhat.com>
42628
42629 [BZ #11968]
42630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42631 (____longjmp_chk): Use %ebx for saving value across system call.
42632 Add unwind info.
42633
32cf4069
AS
426342010-09-06 Andreas Schwab <schwab@redhat.com>
42635
42636 * manual/Makefile: Don't mix pattern rules with normal rules.
42637
817328ee
AS
426382010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42639
42640 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42641 operation.
42642 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42643 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42644 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42645 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42647 Likewise.
42648
29fddf61
UD
426492010-09-04 Ulrich Drepper <drepper@redhat.com>
42650
42651 [BZ #11979]
42652 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42653 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42654
0959ffc9
UD
426552010-09-02 Ulrich Drepper <drepper@redhat.com>
42656
42657 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42658 * sysdeps/x86_64/addmul_1.S: Likewise.
42659 * sysdeps/x86_64/lshift.S: Likewise.
42660 * sysdeps/x86_64/mul_1.S: Likewise.
42661 * sysdeps/x86_64/rshift.S: Likewise.
42662 * sysdeps/x86_64/sub_n.S: Likewise.
42663 * sysdeps/x86_64/submul_1.S: Likewise.
42664
ece29840
ST
426652010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42666
0959ffc9
UD
42667 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42668 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42669 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42670 * bits/sched.h [__need_schedparam]
ece29840 42671 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42672 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42673 (__defined_schedparam): Define to 1.
ece29840
ST
42674 (__sched_param): New structure, identical to sched_param.
42675 (__need_schedparam): Undefine.
42676
e53a31fe
MF
426772010-08-31 Mike Frysinger <vapier@gentoo.org>
42678
fdc0c10d
MF
42679 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42680 (epoll_create1): Declare.
42681
e53a31fe
MF
42682 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42683
a726d796
AS
426842010-08-31 Andreas Schwab <schwab@redhat.com>
42685
42686 [BZ #7066]
42687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42688 shifting retval into place.
42689
2f3e3dc7
UD
426902010-09-01 Ulrich Drepper <drepper@redhat.com>
42691
f2933da9
UD
42692 * nis/rpcsvc/nis.h: Update copyright notice.
42693 * nis/rpcsvc/nis.x: Likewise.
42694 * nis/rpcsvc/nis_callback.h: Likewise.
42695 * nis/rpcsvc/nis_callback.x: Likewise.
42696 * nis/rpcsvc/nis_object.x: Likewise.
42697 * nis/rpcsvc/nis_tags.h: Likewise.
42698 * nis/rpcsvc/yp.h: Likewise.
42699 * nis/rpcsvc/yp.x: Likewise.
42700 * nis/rpcsvc/ypupd.h: Likewise.
42701 * nis/yp_xdr.c: Likewise.
42702 * nis/ypupdate_xdr.c: Likewise.
42703
2f3e3dc7
UD
42704 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42705 mainly the body of pmap_getport. Add parameters to specify timeouts.
42706 (pmap_getport): Use __libc_rpc_getport.
42707 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42708 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42709 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42710
f3dcc2f9
AS
427112010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42712
42713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42714 fanotify_mark.
42715
6d34eb5b
RM
427162010-08-27 Roland McGrath <roland@redhat.com>
42717
42718 * sysdeps/i386/i686/multiarch/Makefile
42719 (CFLAGS-varshift.c): New variable.
42720
9ea3de11
UD
427212010-08-27 Ulrich Drepper <drepper@redhat.com>
42722
c96d23fc
UD
42723 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42724 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42725
9ea3de11
UD
42726 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42727
42728 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42729
623aac7f
L
427302010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42731
42732 * sysdeps/x86_64/strlen.S: Unroll the loop.
42733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42734 strlen-sse2 strlen-sse2-bsf.
42735 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42736 __strlen_no_bsf if bit_Slow_BSF is set.
42737 (__strlen_sse42): Removed.
42738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42739 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42740
8b2b7715
RM
427412010-08-25 Roland McGrath <roland@redhat.com>
42742
42743 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42744 * sysdeps/x86_64/multiarch/varshift.c: New file.
42745 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42746 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42747 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42748 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42749
e73015f2
L
427502010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42751
42752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42753 strlen-sse2 strlen-sse2-bsf.
42754 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42755 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42756 (__strlen_sse2): Removed.
42757 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42760 bit_Slow_BSF for Atom.
42761 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42762 (index_Slow_BSF): Define.
42763 (HAS_SLOW_BSF): Define.
42764
df24a73e
UD
427652010-08-25 Ulrich Drepper <drepper@redhat.com>
42766
42767 [BZ #10851]
42768 * resolv/res_init.c (__res_vinit): When no server address at all
42769 is given default to loopback.
42770
f2ac4868
RM
427712010-08-24 Roland McGrath <roland@redhat.com>
42772
09055553
RM
42773 * configure.in: Remove config-name.h generation.
42774 * configure: Regenerated.
42775 * config-name.in: File removed.
42776 * scripts/config-uname.sh: New file.
42777 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42778 ($(objdir)config-name.h): New target.
42779
f2ac4868
RM
42780 * sunrpc/rpc_parse.h: Avoid nested comment.
42781
73f27d5e
RH
427822010-08-24 Richard Henderson <rth@redhat.com>
42783 Ulrich Drepper <drepper@redhat.com>
42784 H.J. Lu <hongjiu.lu@intel.com>
42785
42786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42788 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42789 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42790 _mm_alignr_epi8 with _mm_loadu_si128.
42791 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42792 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42793 (__m128i_shift_right): Removed.
42794 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42795 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42796 * sysdeps/x86_64/multiarch/varshift.h: New file.
42797 * sysdeps/x86_64/multiarch/varshift.S: New file.
42798
84b9230c
MF
427992010-08-21 Mike Frysinger <vapier@gentoo.org>
42800
42801 * configure.in: Move assembler checks to before sysdep dir checking.
42802
9bbd0ddc
PB
428032010-08-20 Petr Baudis <pasky@suse.cz>
42804
42805 * LICENSES: Sync the sunrpc license.
42806
9da4bb31
UD
428072010-08-19 Ulrich Drepper <drepper@redhat.com>
42808
a7ab6ec8
UD
42809 * sunrpc/auth_des.c: Update copyright notice once again.
42810 * sunrpc/auth_none.c: Likewise.
42811 * sunrpc/auth_unix.c: Likewise.
42812 * sunrpc/authdes_prot.c: Likewise.
42813 * sunrpc/authuxprot.c: Likewise.
42814 * sunrpc/bindrsvprt.c: Likewise.
42815 * sunrpc/clnt_gen.c: Likewise.
42816 * sunrpc/clnt_perr.c: Likewise.
42817 * sunrpc/clnt_raw.c: Likewise.
42818 * sunrpc/clnt_simp.c: Likewise.
42819 * sunrpc/clnt_tcp.c: Likewise.
42820 * sunrpc/clnt_udp.c: Likewise.
42821 * sunrpc/clnt_unix.c: Likewise.
42822 * sunrpc/des_crypt.c: Likewise.
42823 * sunrpc/des_soft.c: Likewise.
42824 * sunrpc/get_myaddr.c: Likewise.
42825 * sunrpc/getrpcport.c: Likewise.
42826 * sunrpc/key_call.c: Likewise.
42827 * sunrpc/key_prot.c: Likewise.
42828 * sunrpc/openchild.c: Likewise.
42829 * sunrpc/pm_getmaps.c: Likewise.
42830 * sunrpc/pm_getport.c: Likewise.
42831 * sunrpc/pmap_clnt.c: Likewise.
42832 * sunrpc/pmap_prot.c: Likewise.
42833 * sunrpc/pmap_prot2.c: Likewise.
42834 * sunrpc/pmap_rmt.c: Likewise.
42835 * sunrpc/rpc/auth.h: Likewise.
42836 * sunrpc/rpc/auth_unix.h: Likewise.
42837 * sunrpc/rpc/clnt.h: Likewise.
42838 * sunrpc/rpc/des_crypt.h: Likewise.
42839 * sunrpc/rpc/key_prot.h: Likewise.
42840 * sunrpc/rpc/netdb.h: Likewise.
42841 * sunrpc/rpc/pmap_clnt.h: Likewise.
42842 * sunrpc/rpc/pmap_prot.h: Likewise.
42843 * sunrpc/rpc/pmap_rmt.h: Likewise.
42844 * sunrpc/rpc/rpc.h: Likewise.
42845 * sunrpc/rpc/rpc_des.h: Likewise.
42846 * sunrpc/rpc/rpc_msg.h: Likewise.
42847 * sunrpc/rpc/svc.h: Likewise.
42848 * sunrpc/rpc/svc_auth.h: Likewise.
42849 * sunrpc/rpc/types.h: Likewise.
42850 * sunrpc/rpc/xdr.h: Likewise.
42851 * sunrpc/rpc_clntout.c: Likewise.
42852 * sunrpc/rpc_cmsg.c: Likewise.
42853 * sunrpc/rpc_common.c: Likewise.
42854 * sunrpc/rpc_cout.c: Likewise.
42855 * sunrpc/rpc_dtable.c: Likewise.
42856 * sunrpc/rpc_hout.c: Likewise.
42857 * sunrpc/rpc_main.c: Likewise.
42858 * sunrpc/rpc_parse.c: Likewise.
42859 * sunrpc/rpc_parse.h: Likewise.
42860 * sunrpc/rpc_prot.c: Likewise.
42861 * sunrpc/rpc_sample.c: Likewise.
42862 * sunrpc/rpc_scan.c: Likewise.
42863 * sunrpc/rpc_scan.h: Likewise.
42864 * sunrpc/rpc_svcout.c: Likewise.
42865 * sunrpc/rpc_tblout.c: Likewise.
42866 * sunrpc/rpc_util.c: Likewise.
42867 * sunrpc/rpc_util.h: Likewise.
42868 * sunrpc/rpcinfo.c: Likewise.
42869 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42870 * sunrpc/rpcsvc/key_prot.x: Likewise.
42871 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42872 * sunrpc/rpcsvc/mount.x: Likewise.
42873 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42874 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42875 * sunrpc/rpcsvc/rex.x: Likewise.
42876 * sunrpc/rpcsvc/rstat.x: Likewise.
42877 * sunrpc/rpcsvc/rusers.x: Likewise.
42878 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42879 * sunrpc/rpcsvc/spray.x: Likewise.
42880 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42881 * sunrpc/rtime.c: Likewise.
42882 * sunrpc/svc.c: Likewise.
42883 * sunrpc/svc_auth.c: Likewise.
42884 * sunrpc/svc_authux.c: Likewise.
42885 * sunrpc/svc_raw.c: Likewise.
42886 * sunrpc/svc_run.c: Likewise.
42887 * sunrpc/svc_simple.c: Likewise.
42888 * sunrpc/svc_tcp.c: Likewise.
42889 * sunrpc/svc_udp.c: Likewise.
42890 * sunrpc/svc_unix.c: Likewise.
42891 * sunrpc/svcauth_des.c: Likewise.
42892 * sunrpc/xcrypt.c: Likewise.
42893 * sunrpc/xdr.c: Likewise.
42894 * sunrpc/xdr_array.c: Likewise.
42895 * sunrpc/xdr_float.c: Likewise.
42896 * sunrpc/xdr_mem.c: Likewise.
42897 * sunrpc/xdr_rec.c: Likewise.
42898 * sunrpc/xdr_ref.c: Likewise.
42899 * sunrpc/xdr_sizeof.c: Likewise.
42900 * sunrpc/xdr_stdio.c: Likewise.
42901
9da4bb31
UD
42902 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42903 handling.
42904
bdaa77bc
AS
429052010-08-19 Andreas Schwab <schwab@redhat.com>
42906
42907 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42908
fe2f79db
LM
429092010-08-19 Luis Machado <luisgpm@br.ibm.com>
42910
42911 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42912 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42913 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42914 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42915 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42916 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42917 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42918 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42920 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42921 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42922 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42923 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42924 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42925
b9b42ee0
AB
429262010-07-26 Anton Blanchard <anton@samba.org>
42927
42928 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42929 * malloc/arena.c (heap_trim): Likewise.
42930
1c06ba31
UD
429312010-08-16 Ulrich Drepper <drepper@redhat.com>
42932
42933 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42934 here. Not...
42935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42936 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42937
f8392f40
L
429382010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42939
42940 * sysdeps/i386/elf/Makefile: New file.
42941
3162f12e
AS
429422010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42943
42944 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42945 from fanotify_init.
42946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42948
28c90b2c
UD
429492010-08-15 Ulrich Drepper <drepper@redhat.com>
42950
42951 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42952 of strncasecmp_l.
1feccb6c 42953 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42954
ca6bb004
UD
429552010-08-14 Ulrich Drepper <drepper@redhat.com>
42956
e9f82e0d
UD
42957 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42958 strncase_l-nonascii.
42959 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42960 Add strncase_l-ssse3.
42961 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42962 * sysdeps/x86_64/strcmp.S: Likewise.
42963 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42964 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42965 * sysdeps/x86_64/strncase.S: New file.
42966 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42967 * sysdeps/x86_64/strncase_l.S: New file.
42968 * string/Makefile (strop-tests): Add strncasecmp.
42969 * string/test-strncasecmp.c: New file.
42970
42971 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42972 warning.
42973
ca6bb004
UD
42974 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42975 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42976
052fa7b3
AS
429772010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42978
42979 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42980
962dba78
UD
429812010-08-12 Ulrich Drepper <drepper@redhat.com>
42982
42983 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42984 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42985 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42986
bebff237
AM
429872010-05-01 Alan Modra <amodra@gmail.com>
42988
42989 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42990 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42991 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42992 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42993 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42994 tidying. Don't tail-call __sigjmp_save for static lib.
42995 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42996 save location.
42997 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42998 (CALL_MCOUNT): Add eh info, and nop after bl.
42999 (TAIL_CALL_SYSCALL_ERROR): New macro.
43000 (PSEUDO_RET): Use it.
43001 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43002 Correct save location of integer regs and cr.
43003 (_dl_profile_resolve): Correct cr save location. Delete nops
43004 after bl when SHARED. Reduce cfi size a little by better
43005 placement of cfi directives.
43006 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43007 make a stack frame. Instead use parm save area as a temp.
43008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43009 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43011 Don't make a stack frame for parent, use parm save area.
43012 Increase child stack frame to 112 bytes. Don't save unused reg,
43013 and adjust reg usage. Set up cfi on error recovery and
43014 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43016 (__makecontext): Add dummy nop after jump to exit.
43017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43018 Use correct parm save area and cr save, reduce stack frame.
43019 Correct cfi for possible PSEUDO_RET frame setup.
43020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43021 Branch to local label emitted by PSEUDO_RET rather than
43022 __syscall_error.
43023
02637374
AS
430242010-08-12 Andreas Schwab <schwab@redhat.com>
43025
43026 [BZ #11904]
43027 * locale/programs/locale.c (print_assignment): New function.
43028 (show_locale_vars): Use it.
43029
c3e2f19b
UD
430302010-08-11 Ulrich Drepper <drepper@redhat.com>
43031
3cdaa6ad
UD
43032 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43033 field.
43034 (struct statfs64): Likewise.
43035 (_STATFS_F_FLAGS): Define.
43036 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43038 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43039 (ST_VALID): Define locally.
43040 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43041 __statvfs_getflags, use the provided value.
43042 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43043 __ASSUME_STATFS_F_FLAGS.
43044
754f7da3
UD
43045 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43046
10b3bedc
UD
43047 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43048 Add sys/fanotify.h.
43049 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43050 fanotify_mask for GLIBC_2.13.
43051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43052 fanotify_init and fanotify_mark.
43053 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43054 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43055
c08fb0d7
UD
43056 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43057 Add prlimit.
43058 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43059 prlimit64 for GLIBC_2.13.
43060 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43061 prlimit64.
43062 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43063 syscall.
43064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43065 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43066 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43067 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43069 add prlimit alias.
43070 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43071
15bac72b
UD
43072 [BZ #11903]
43073 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43074 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43075
c3e2f19b
UD
43076 * nss/Makefile: Add rules to build and run tst-nss-test1.
43077 * shlib-versions: Add entry for libnss_test1.
43078 * nss/nss_test1.c: New file.
43079 * nss/tst-nss-test1.c: New file.
43080
43081 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43082 (__nss_configure_lookup): Set appropriate entry in
43083 __nss_configure_lookup to true.
43084 * nss/nsswitch.h: Define enum with indeces of databases in
43085 databases and __nss_database_custom arrays. Declare
43086 __nss_database_custom.
43087 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43088 to avoid using nscd when custom rules are installed.
43089 * nss/getXXbyYY_r.c: Likewise.
43090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43091
43092 * nss/nss_files/files-parse.c: Whitespace fixes.
43093
f15ce4d8
UD
430942010-08-09 Ulrich Drepper <drepper@redhat.com>
43095
43096 [BZ #11883]
43097 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43098 * posix/fnmatch_loop.c: Likewise.
43099
d22e4cc9
AK
431002010-07-17 Andi Kleen <ak@linux.intel.com>
43101
43102 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43103 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43104 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43105 * Versions.def [GLIBC_2.13]: Add.
43106
805bc17d
UD
431072010-08-06 Ulrich Drepper <drepper@redhat.com>
43108
43109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43110 Also fail if tpwd after pwuid call is NULL.
43111
5a42321d
ST
431122010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43113
43114 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43115 when converting to ms.
43116
fd3ebeda
ST
431172010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43118
43119 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43120 EOPNOTSUPP errors with ENOTTY.
43121 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43122 EOPNOTSUPP errors with ENOTTY.
43123
73507d3a
UD
431242010-07-31 Ulrich Drepper <drepper@redhat.com>
43125
43126 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43127 Add strcasecmp_l-ssse3.
43128 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43129 strcasecmp.
43130 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43131 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43132 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43133
fe36dd02
UD
431342010-07-30 Ulrich Drepper <drepper@redhat.com>
43135
66f6765a
UD
43136 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43137
42e08a54
UD
43138 * string/Makefile (strop-tests): Add strcasecmp.
43139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43140 strcasecmp_l-nonascii.
43141 (gen-as-const-headers): Add locale-defines.sym.
43142 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43143 * sysdeps/x86_64/strcasecmp.S: New file.
43144 * sysdeps/x86_64/strcasecmp_l.S: New file.
43145 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43146 * sysdeps/x86_64/locale-defines.sym: New file.
43147 * string/test-strcasecmp.c: New file.
43148
fe36dd02
UD
43149 * string/test-strcasestr.c: Test both ends of the range of characters.
43150 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43151
48cbc0d6
RM
431522010-07-29 Roland McGrath <roland@redhat.com>
43153
76e6d6bc 43154 [BZ #11856]
48cbc0d6
RM
43155 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43156
880113d9
UD
431572010-07-27 Ulrich Drepper <drepper@redhat.com>
43158
43159 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43160 for ld.so.
43161
deb9cabb
AS
431622010-07-27 Andreas Schwab <schwab@redhat.com>
43163
43164 * manual/memory.texi (Malloc Tunable Parameters): Document
43165 M_PERTURB.
43166
1c7570ff
RM
431672010-07-26 Roland McGrath <roland@redhat.com>
43168
43169 [BZ #11840]
43170 * configure.in (-fgnu89-inline check): Set and substitute
43171 gnu89_inline, not libc_cv_gnu89_inline.
43172 * configure: Regenerated.
43173 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43174
24fb0f88
UD
431752010-07-26 Ulrich Drepper <drepper@redhat.com>
43176
43177 * string/test-strnlen.c: New file.
43178 * string/Makefile (strop-tests): Add strnlen.
43179 * string/tester.c (test_strnlen): Add a few more test cases.
43180 * string/tst-strlen.c: Better error reporting.
43181
43182 * sysdeps/x86_64/strnlen.S: New file.
43183
8e96b93a
UD
431842010-07-24 Ulrich Drepper <drepper@redhat.com>
43185
43186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43187 lower-latency instructions.
43188
dbc676d4
UD
431892010-07-23 Ulrich Drepper <drepper@redhat.com>
43190
43191 * string/test-strcasestr.c: New file.
43192 * string/test-strstr.c: New file.
43193 * string/Makefile (strop-tests): Add strstr and strcasestr.
43194 * string/str-two-way.h: Don't undefine MAX.
43195 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43196
f6a31e0e
AS
431972010-07-21 Andreas Schwab <schwab@redhat.com>
43198
43199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43200 strcasestr-nonascii.
43201 (CFLAGS-strcasestr-nonascii.c): Define.
43202 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43204 Remove unused attribute.
43205
5dbc3b6c
RM
432062010-07-20 Roland McGrath <roland@redhat.com>
43207
43208 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43209 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43210 ld.so.cache was broken. With it, there is no way to disable dsocaps
43211 like LD_HWCAP_MASK can disable hwcaps.
43212
23d101d8
EPM
432132010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43214
43215 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43216
cc9f2e47
UD
432172010-07-16 Ulrich Drepper <drepper@redhat.com>
43218
43219 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43220 call in strcasestr.
43221 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43222 __strcasestr_sse42_nonascii.
43223 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43224 strcasestr-nonascii.c.
43225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43226
77c1b069
LM
432272010-06-15 Luis Machado <luisgpm@br.ibm.com>
43228
43229 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43230 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43231 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43232 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43233
440566c3
UD
432342010-07-09 Ulrich Drepper <drepper@redhat.com>
43235
43236 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43237 fcntl.
43238
5be9d05d
AS
432392010-07-06 Andreas Schwab <schwab@redhat.com>
43240
c30b7ee2 43241 [BZ #11577]
5be9d05d
AS
43242 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43243 dl_signal_cerror.
43244
8a492a67
UD
432452010-07-06 Ulrich Drepper <drepper@redhat.com>
43246
43247 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43248 _PC_PIPE_BUF using F_GETPIPE_SZ.
43249
713df3d5
RM
432502010-07-05 Roland McGrath <roland@redhat.com>
43251
43252 * manual/arith.texi (Rounding Functions): Fix rint description
43253 implicit in round description.
43254
702e8f14
UD
432552010-07-02 Ulrich Drepper <drepper@redhat.com>
43256
43257 * elf/Makefile: Fix linking for a few tests to make recent linker
43258 happy.
43259
52ed8be9
AS
432602010-06-30 Andreas Schwab <schwab@redhat.com>
43261
43262 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43263 $(common-objpfx)libc_nonshared.a.
43264
f47c9a11
LM
432652010-06-21 Luis Machado <luisgpm@br.ibm.com>
43266
43267 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43268 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43269 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43270 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43271 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43272 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43273 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43274 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43289 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43290 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43291 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43292 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43293 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43294 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43295 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43296 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43297 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43298 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43299 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43300 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43315
6fb8cbcb
L
433162010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43317
43318 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43319 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43320 * string/memmove.c (memmove): Renamed to ...
43321 (MEMMOVE): ...this. Default to memmove.
43322 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43323 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43324 (END_CHK): Define.
43325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43326 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43327 mempcpy-ssse3-back memmove-ssse3-back.
43328 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43329 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43330 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43331 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43332 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43333 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43334 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43335 * sysdeps/x86_64/multiarch/memmove.c: New file.
43336 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43337 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43338 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43339 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43340 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43341 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43342 Define.
43343 (index_Fast_Copy_Backward): Define.
43344 (HAS_ARCH_FEATURE): Define.
43345 (HAS_FAST_REP_STRING): Define.
43346 (HAS_FAST_COPY_BACKWARD): Define.
43347
4e733bac 433482010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43349
43350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43351 Restore proper fallback handling.
43352
63c4ed22
UD
433532010-06-19 Ulrich Drepper <drepper@redhat.com>
43354
ac2b484c
UD
43355 [BZ #11701]
43356 * posix/group_member.c (__group_member): Correct checking loop.
43357
63c4ed22
UD
43358 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43359 OOM in getpwuid_r correctly. Return error number when the caller
43360 should return, otherwise -1.
43361 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43362 call returning > 0 value.
43363 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43364
765ade4b
AS
433652010-06-07 Andreas Schwab <schwab@redhat.com>
43366
43367 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43368 libc_nonshared.a from targets in modules-names.
43369
80da2e09
KS
433702010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43371
43372 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43373 requires it.
43374
158db122
LM
433752010-06-10 Luis Machado <luisgpm@br.ibm.com>
43376
43377 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43378 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43380 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43381
caa78cf8
AS
433822010-06-02 Andreas Schwab <schwab@redhat.com>
43383
43384 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43385
b2ef2c01
UD
433862010-06-14 Ulrich Drepper <drepper@redhat.com>
43387
43388 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43389 and F_GETPIPE_SZ.
43390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43395 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43396
fbd643b6
RM
433972010-06-14 Roland McGrath <roland@redhat.com>
43398
43399 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43400
f32f2869
JJ
434012010-06-07 Jakub Jelinek <jakub@redhat.com>
43402
43403 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43404 __REDIRECT followed by __THROW.
43405 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43406 * posix/getopt.h (getopt): Likewise.
43407
2a50c078
EPM
434082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43409
43410 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43411 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43412 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43413 in AT_FLAGS.
43414 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43415 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43416
eb5ad2eb
LM
434172010-05-28 Luis Machado <luisgpm@br.ibm.com>
43418
43419 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43420
3c88fe1e
L
434212010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43422
43423 [BZ #11640]
43424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43425 Properly check family and model.
43426
d2f73151
TY
434272010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43428
43429 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43430
ebd2e13d
LM
434312010-05-24 Luis Machado <luisgpm@br.ibm.com>
43432
43433 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43434
b32b8b45
UD
434352010-05-21 Ulrich Drepper <drepper@redhat.com>
43436
43437 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43438 symbol reference.
43439
9acbe24d
AS
434402010-05-19 Andreas Schwab <schwab@redhat.com>
43441
43442 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43443 symbol reference.
43444
f0ccf6ea
AS
434452010-05-21 Andreas Schwab <schwab@redhat.com>
43446
3d04ff3a
AS
43447 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43448 and internal_recvmmsg.
43449 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43450 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43451 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43452 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43453
f0ccf6ea
AS
43454 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43455 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43456 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43457
5b08ac57
AS
434582010-05-20 Andreas Schwab <schwab@redhat.com>
43459
43460 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43461
4828935d
LM
434622010-05-17 Luis Machado <luisgpm@br.ibm.com>
43463
43464 POWER7 optimizations.
43465 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43466 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43467
373d545e
UD
434682010-05-19 Ulrich Drepper <drepper@redhat.com>
43469
43470 * version.h: Update for 2.13 development version.
43471
21a2b1ae
AS
434722010-05-12 Andrew Stubbs <ams@codesourcery.com>
43473
43474 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43475 exceptions. Return 0.
43476
3f7dcb2b
RM
434772010-05-07 Roland McGrath <roland@redhat.com>
43478
43479 * elf/ldconfig.c (main): Add a const.
43480
5f24d53a 434812010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43482
a160f8d8
UD
43483 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43484 (args_options): Add no-idn option.
43485 (ahosts_keys_int): Add idn_flags to ai_flags.
43486 (parse_option): Handle 'i' option to clear idn_flags.
43487
5f24d53a
UD
43488 * malloc/malloc.c (_int_free): Possible race in the most recently
43489 added check. Only act on the data if no current modification
43490 happened.
265bb1ce
UD
43491
43492See ChangeLog.17 for earlier changes.