]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix unbound stack use in NIS NSS module
[thirdparty/glibc.git] / ChangeLog
CommitLineData
315eb1d8
AS
12014-05-12 Andreas Schwab <schwab@suse.de>
2
3 [BZ #16932]
4 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
5 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6 than maximum RPC packet size.
7 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10 (_nss_nis_getservbyport_r): Likewise.
11
91df99f7
WN
122014-05-12 Will Newton <will.newton@linaro.org>
13
14 * malloc/Makefile (tests): Add tst-mallopt.
15 * malloc/tst-mallopt.c: New file.
16
0a982a29
RM
172014-05-09 Roland McGrath <roland@hack.frob.com>
18
19 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21
0ded08a5
AZ
222014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23
24 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
25 (tst-tlsmod6.so): Likewise.
26
55d4d550
RM
272014-05-09 Roland McGrath <roland@hack.frob.com>
28
29 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
30
77d08aca
JM
312014-05-09 Joseph Myers <joseph@codesourcery.com>
32
33 [BZ #16064]
34 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35 and <dl-procinfo.h>.
36 (__fegetenv): Save SSE state in envp->__eip if supported.
37 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
38 envp->__eip if supported.
39 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
40 and <dl-procinfo.h>.
41 (__fesetenv): Always set __eip, __cs_selector, __opcode,
42 __data_offset and __data_selector in environment to 0. Set SSE
43 state if supported.
44 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
45 test-fenv-sse.
46 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
47 -mfpmath=sse.
48 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
49
28162f4d
WN
502014-05-09 Will Newton <will.newton@linaro.org>
51
52 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
53 and libc_relro_required for ARM.
54 * sysdeps/arm/preconfigure: Regenerate.
55
5a414ff7
DV
562014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
57 Stefan Liebler <stli@linux.vnet.ibm.com>
58
59 * config.make.in (enable-lock-elision): New Makefile variable.
60 * configure.ac: Likewise.
61 * configure: Regenerate.
62 * sysdeps/s390/configure.ac:
63 Add check for gcc transactions support.
64 * sysdeps/s390/configure: Regenerate.
65 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
66 Build elision files if enabled.
67 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
68 Add lock elision support for s390.
69 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
70 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
71 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
72 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
73 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
74 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
75 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
76 Likewise.
77 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
78 Likewise.
79 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
80 Likewise.
81 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
82 Likewise.
83 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
84 (__lll_timedlock_elision, __lll_lock_elision)
85 (__lll_unlock_elision, __lll_trylock_elision)
86 (lll_timedlock_elision, lll_lock_elision)
87 (lll_unlock_elision, lll_trylock_elision): Add.
88 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
89 (pthread_mutex_t): Add lock elision support for s390.
90
f63c86fe
WN
912014-05-09 Will Newton <will.newton@linaro.org>
92
93 * sysdeps/arm/armv7/strcmp.S: New file.
94 * NEWS: Mention addition of ARMv7 optimized strcmp.
95
7a1a51b5
RM
962014-05-08 Roland McGrath <roland@hack.frob.com>
97
95afbbe5
RM
98 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
99 look for %.ac rather than %.in.
100
101 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
102 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
103 * sysdeps/mach/hurd/configure: Regenerated.
104 * sysdeps/unix/sysv/linux/configure: Regenerated.
105
7a1a51b5
RM
106 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
107
5057ad3b
SE
1082014-05-07 Steve Ellcey <sellcey@mips.com>
109
110 [BZ# 16922]
111 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
112 (LONG_SUB): Ditto.
113 (PTR_SUB): Ditto.
114
8dc97517
AS
1152014-05-07 Andreas Schwab <schwab@suse.de>
116
117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
118 when skipping over non-matching result from nscd.
119
ce0c5b8f
OB
1202014-05-07 Ondřej Bílka <neleai@seznam.cz>
121
122 [BZ #16876]
123 * nptl/sockperf.c (client): Check socket return value.
8dc97517 124
a1189263
OB
125 [BZ #16877]
126 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
127 nscd security class.
ce0c5b8f 128
0f58d252
RM
1292014-05-06 Roland McGrath <roland@hack.frob.com>
130
131 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
132 * sysdeps/arm/unwind.h: ... here.
133
83df9ad0
AJ
1342014-05-06 Aurelien Jarno <aurelien@aurel32.net>
135
ce0c5b8f
OB
136 [BZ# 16916]
137 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
138 Define.
83df9ad0 139
f360f94a
VR
1402014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
141
142 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
143 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
144 multiarch strncpy for PPC64.
145 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
146 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
148 multiarch optimizations.
149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
150 (__libc_ifunc_impl_list): Likewise.
151 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
152 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
153 multiarch stpncpy for PPC64.
154 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
155 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
156
978a41c3
AS
1572014-05-06 Andreas Schwab <schwab@suse.de>
158
159 [BZ #16912]
160 * gmon/mcount.c (_MCOUNT_DECL): Use
161 atomic_compare_and_exchange_bool_acq instead of
162 catomic_compare_and_exchange_bool_acq.
163
eb1ed03d
RM
1642014-05-05 Roland McGrath <roland@hack.frob.com>
165
fe658845
RM
166 * elf/Makefile (others, install-bin): Remove pldd.
167 (pldd-modules): Variable removed.
168 ($(objpfx)pldd): Target removed.
169 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
170 (others, install-bin): Append pldd here.
171 ($(objpfx)pldd): New target.
172
eb1ed03d
RM
173 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
174 to 0, so the first #if test emitted later doesn't see it undefined.
175 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
176 * sysdeps/gnu/errlist.c: Regenerated.
177
19c4bec0
AZ
1782014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
179
180 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
181 [libc_hidden_builtin_def]: Define to empty value.
182 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
183 [libc_hidden_builtin_def]: Likewise.
184 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
185 [libc_hidden_builtin_def]: Likewise.
186 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
187 [libc_hidden_builtin_def]: Likewise.
188 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
189 __redirect_memcpy and define ifunc as default hidden symbol.
190 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
191 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
192
7776e669
AC
1932014-05-04 Adam Conrad <adconrad@0c3.net>
194
195 * locale/iso-4217.def: Reintroduce XDR currency.
196
d69aeb12
AM
1972014-05-04 Allan McRae <allan@archlinux.org>
198
199 * po/eo.po: Update Esperanto translation from translation project.
200
8f1df5cf
CD
2012014-05-02 Carlos O'Donell <carlos@redhat.com>
202
203 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
204 and FEATURE_INDEX_MAX to 1.
205 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
206
13e402e7
SE
2072014-05-01 Steve Ellcey <sellcey@mips.com>
208
209 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
210 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
211 * iconvdata/big5.c (ONE_DIRECTION): Define.
212 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
213 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
214 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
215 * iconvdata/cp932.c (ONE_DIRECTION): Define.
216 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
217 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
218 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
219 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
220 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
221 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
222 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
223 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
224 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
225 * iconvdata/gbk.c (ONE_DIRECTION): Define.
226 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
227 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
228 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
229 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
230 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
231 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
232 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
233 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
234 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
235 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
236 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
237 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
238 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
239 * iconvdata/iso646.c (ONE_DIRECTION): Define.
240 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
241 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
242 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
243 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
244 * iconvdata/johab.c (ONE_DIRECTION): Define.
245 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
246 * iconvdata/sjis.c (ONE_DIRECTION): Define.
247 * iconvdata/t.61.c (ONE_DIRECTION): Define.
248 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
249 * iconvdata/tscii.c (ONE_DIRECTION): Define.
250 * iconvdata/uhc.c (ONE_DIRECTION): Define.
251 * iconvdata/unicode.c (ONE_DIRECTION): Define.
252 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
253 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
254 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
255
c727f032
RM
2562014-05-01 Roland McGrath <roland@hack.frob.com>
257
8f2f08d0
RM
258 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
259 (_IO_JUMPS_OFFSET): Define to 0.
260
c727f032
RM
261 * nptl/sysdeps/pthread/bits/libc-lock.h
262 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
263 (__libc_lock_define_initialized_recursive): Always define using
264 initializer. Modern compilers treat uninitialized (implicit zero) and
265 explicit zero initializers the same (i.e. put the datum in bss).
266
a849e800
AS
2672014-05-01 Andreas Schwab <schwab@linux-m68k.org>
268
269 * nscd/nscd-client.h: Include <string.h>.
270
5331255b
DM
2712014-05-01 David S. Miller <davem@davemloft.net>
272
273 [BZ #16885]
274 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
275 multiple zero bytes exist at the end of a string.
276 Reported by Aurelien Jarno <aurelien@aurel32.net>
277
278 * string/test-strcmp.c (check): Add explicit test for situations where
279 there are multiple zero bytes after the first.
280
4fdfe821
AS
2812014-05-01 Andreas Schwab <schwab@linux-m68k.org>
282
283 [BZ #16890]
284 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
285 when compiling wprintf.
286 * stdio-common/tstdiomisc.c (t3): New function.
287 (main): Call it.
288
0cdddc25
SE
2892014-05-01 Steve Ellcey <sellcey@mips.com>
290
291 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
292 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
293 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
294 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
295
6426d77e
SE
2962014-05-01 Steve Ellcey <sellcey@mips.com>
297
298 * stdlib/longlong.h: Updated from GCC.
299
6d96f5e4
WN
3002014-05-01 Will Newton <will.newton@linaro.org>
301 Bernard Ogden <bernie.ogden@linaro.org>
302
7470db0c
WN
303 * NEWS: Update fixed bug list.
304
6d96f5e4
WN
305 [BZ #15119]
306 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
307
211d653c
DM
3082014-04-30 David S. Miller <davem@davemloft.net>
309
4fa262fa
DM
310 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
311 (libc_feholdexcept_setround_sparc_ctx): New function.
312 (libc_fesetenv_sparc_ctx): Likewise.
313 (libc_feupdateenv_sparc_ctx): Likewise.
314 (libc_feholdsetround_sparc_ctx): Likewise.
315 (libc_feholdexcept_setround_ctx): Define.
316 (libc_feholdexcept_setroundf_ctx): Likewise.
317 (libc_feholdexcept_setroundl_ctx): Likewise.
318 (libc_fesetenv_ctx): Likewise.
319 (libc_fesetenvf_ctx): Likewise.
320 (libc_fesetenvl_ctx): Likewise.
321 (libc_feupdateenv_ctx): Likewise.
322 (libc_feupdateenvf_ctx): Likewise.
323 (libc_feupdateenvl_ctx): Likewise.
324 (libc_feresetround_ctx): Likewise.
325 (libc_feresetroundf_ctx): Likewise.
326 (libc_feresetroundl_ctx): Likewise.
327 (libc_feholdsetround_ctx): Likewise.
328 (libc_feholdsetroundf_ctx): Likewise.
329 (libc_feholdsetroundl_ctx): Likewise.
330
1d3d93ef
DM
331 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
332 with __USE_GNU instead of XOPEN cpp guards.
333
8aa583c3
DM
334 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
335 0.
336
211d653c
DM
337 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
338 with XOPEN cpp guards.
339
60c8f1f6
JB
3402014-04-30 Julian Brown <julian@codesourcery.com>
341
342 [BZ #16888]
343 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
344 handling.
345
9a461d46
JM
3462014-04-30 Joseph Myers <joseph@codesourcery.com>
347
d0f5b3f8
JM
348 [BZ #9894]
349 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
350 Change to 2.6.32.
351 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
352 * sysdeps/unix/sysv/linux/configure: Regenerated.
353 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
354 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
355 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
356 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
357 * README: Update reference to required Linux kernel version.
358 * manual/install.texi (Linux): Update reference to required Linux
359 kernel headers version.
360 * INSTALL: Regenerated.
361
9a461d46
JM
362 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
363 header inclusion.
364 [POSIX] (limits.h): Likewise.
365 [POSIX] (math.h): Likewise.
366 [POSIX] (sys/wait.h): Likewise.
367 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
368 function.
369 [POSIX] (stddef.h): Do not allow header inclusion.
370
1775babf
AZ
3712014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
372
57f41c40 373 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 374
8f630cca
YY
3752014-04-30 Yang Yingliang <yangyingliang@huawei.com>
376
377 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
378 Return immediately after lll_futex_wake.
379
1cdeb237
SP
3802014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
381
bc8f194c
SP
382 [BZ #16791]
383 * nscd/nscd-client.h (datahead_init_common): Initialize entire
384 structure.
385 (datahead_init_pos): Call datahead_init_common early.
386 (datahead_init_neg): Likewise.
387
1cdeb237
SP
388 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
389 datahead_init_neg): New functions.
390 * nscd/aicache.c (addhstaiX): Use them.
391 * nscd/grpcache.c (cache_addgr): Likewise.
392 * nscd/hstcache.c (cache_addhst): Likewise.
393 * nscd/initgrcache.c (addinitgroupsX): Likewise.
394 * nscd/netgroupcache.c (do_notfound): Likewise.
395 (addgetnetgrentX): Likewise.
396 (addinnetgrX): Likewise.
397 * nscd/pwdcache.c (cache_addpw): Likewise.
398 * nscd/servicescache.c (cache_addserv): Likewise.
399
16b293a7
SP
4002014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
401 Atsushi Onoe <atsushi@onoe.org>
402
403 [BZ #14308]
404 [BZ #12994]
405 [BZ #13651]
406 * resolv/res_query.c (__libc_res_nsearch): Return if at least
407 one response is valid.
408 * resolv/res_send.c (send_dg): Check for validity of other
409 response if the current response is a referral.
410
a28a9b94
SE
4112014-04-29 Steve Ellcey <sellcey@mips.com>
412
413 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
414
2ca180e9
SL
4152014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
416
417 [BZ #16823]
418 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
419 Always divide by positive zero when computing -Inf result.
420 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
421 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
422
18f2945a
AZ
4232014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
424
425 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
426 FPSCR if value do not change.
427 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
428 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
429 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
430 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
431 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
432 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
433 function.
434
5abebba4
CD
4352014-05-29 Carlos O'Donell <carlos@systemhalted.org>
436
437 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
438 * sysdeps/unix/sysv/linux/hppa: Move directory from
439 ports/systeps/unix/sysv/linux/hppa.
440 * README: Update listing for hppa-*-linux-gnu.
441
f7ed60c2
OB
4422014-04-28 Ondřej Bílka <neleai@seznam.cz>
443
fff763a5
OB
444 [BZ #16754]
445 * manual/stdio.texi (Hook functions): Fix types of stream hook
446 functions.
f7ed60c2
OB
447 [BZ #16854]
448 * socket/sys/socket.h: Fix typo in comment.
449
df639d73
WD
4502014-04-28 Wilco <wdijkstr@arm.com>
451
f7ed60c2 452 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
453 * sysdeps/arm/math_private.h: New file.
454 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
455
48332d82
L
4562014-04-25 H.J. Lu <hongjiu.lu@intel.com>
457
458 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
459 with __int128_t.
460 (La_x86_64_retval): Likewise.
461
e5e0d9a4
IB
4622014-04-24 Ian Bolton <ian.bolton@arm.com>
463
464 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
465 fpsr if value didn't change.
466 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
467 to fpcr if value didn't change.
468 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
469 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
470 fpsr or fpcr if value didn't change.
471 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
472 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
473 fpcr if value didn't change.
474 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
475 to fpsr if value didn't change.
476
bacc75f7
SP
4772014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
478
479 * nptl/tst-sem3.c: Use test-skeleton.c
480 (main): Rename to do_test. Use return instead of
481 exit.
482 * nptl/tst-sem4.c: Use test-skeleton.c
483 (main): Rename to do_test.
484
a059d359
DM
4852014-04-22 David S. Miller <davem@davemloft.net>
486
487 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
488 (struct sigaction): New struct member __glibc_reserved0, change
489 type of sa_flags to int.
490
ea6c92f3
YZ
4912014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
492
493 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
494 (COUNT_LEADING_ZEROS_0): Define for AArch64.
495
766c4a36
SP
4962014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
497
498 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
499 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
500
140cc7ab
VK
5012014-04-22 Will Newton <will.newton@linaro.org>
502 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
503
504 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
505 (__longjmp): Add longjmp and longjmp_target SystemTap
506 probes.
507 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
508 (__sigsetjmp): Add setjmp SystemTap probe.
509
c54e5cf7
CD
5102014-04-17 Carlos O'Donell <carlos@redhat.com>
511
512 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
513 match manual order.
514
75ffb047
AZ
5152014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
516
517 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
518
2cd925f7
AZ
519 * sysdeps/powerpc/fpu/fenv_private.h
520 (libc_feholdexcept_setroundl_ctx): Define to
521 libc_feholdexcept_setround_ppc_ctx.
522 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
523 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
524 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
525 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
526
39e6cd8d
IB
5272014-04-17 Ian Bolton <ian.bolton@arm.com>
528
529 * sysdeps/aarch64/math-tests.h: New file.
530
f9281df9
SY
5312014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
532
533 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
534 New.
535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
536 Check and set bit_AVX2_Usable.
537 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
538 macro.
539 (bit_AVX2): Likewise.
540 (index_AVX2_Usable): Likewise.
541 (CPUID_AVX2): Likewise.
542 (HAS_AVX2): Likewise.
543
37d35007
WN
5442014-04-17 Will Newton <will.newton@linaro.org>
545
7c677662
WN
546 * manual/setjmp.texi (System V contexts): Add note that
547 calling setcontext on a context created by a call to a
548 signal handler is undefined. Update text to note that
549 setcontext from a signal handler is possible but not
550 recommended.
551
37d35007 552 [BZ #16629]
e04a4e9d
WN
553 * stdlib/tst-setcontext.c: Include signal.h.
554 (main): Check that the signal stack before and
555 after swapcontext is the same.
556
37d35007
WN
557 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
558 Re-implement to restore registers in user code and avoid
559 rt_sigreturn system call.
560
423a7160
W
5612014-04-17 Wilco <wdijkstr@arm.com>
562
563 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
564 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
565 * math/test-fenv.c: Skip exception trap tests on targets which only
566 support non-stop mode.
567
bc93ab29
IB
5682014-04-17 Ian Bolton <ian.bolton@arm.com>
569 Wilco Dijkstra <wilco.dijkstra@arm.com>
570
571 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
572 (libc_feholdsetround_aarch64_ctx)
573 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
574 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
575 (libc_feresetround_ctx, libc_feresetroundf_ctx)
576 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
577 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
578 (libc_feresetround_noexl_ctx): Define.
579
95fc5fa3
RH
5802014-04-16 Richard Henderson <rth@redhat.com>
581
ddb04724
RH
582 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
583
d77c0899
RH
584 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
585 unwind tables.
586
a3df56fc
RH
587 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
588 const from the non-libc, non-ldso copy.
589
95fc5fa3
RH
590 * sysdeps/alpha/libm-test-ulps: Regenerate.
591
7e0b6763
IB
5922014-04-16 Ian Bolton <ian.bolton@arm.com>
593 Wilco Dijkstra <wilco.dijkstra@arm.com>
594
595 * sysdeps/aarch64/fpu/math_private.h: New file.
596
a9ea2e0c
MS
5972014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
598
599 * sysdeps/aarch64/libm-test-ulps: Regenerate.
600
ea8ba7cd
IZ
6012014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
602
603 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
604 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
605 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
606 Intel MPX bound registers before _dl_profile_fixup.
607 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
608 registers after _dl_profile_fixup. Save and restore bound
609 registers bnd0/bnd1 when calling _dl_call_pltexit.
610 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
611 (LR_BND_OFFSET): Likewise.
612 (LRV_BND0_OFFSET): Likewise.
613 (LRV_BND1_OFFSET): Likewise.
614
9f2a4fbc
ST
6152014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
616
617 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
618 to...
619 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
620 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
621 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
622 fields.
9f2a4fbc 623
fd15a59b
ST
6242014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
625
626 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
627
f19dfa0a
SL
6282014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
629
630 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
631
4fa8bc3b
SL
6322014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
633
634 [BZ #14770]
635 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
636 * sysdeps/s390/configure: Regenerate.
637
8ea587db
SL
638 [BZ #16824]
639 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
640 Set round-to-nearest internally to reduce error accumulation.
641
aa5f0ff1
AM
6422014-04-16 Alan Modra <amodra@gmail.com>
643
644 [BZ #16740]
645 [BZ #16619]
646 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
647 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 648 * NEWS: Update fixed bug list.
aa5f0ff1 649
bb9c256f
SP
6502014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
651
652 * benchtests/Makefile: Depend on libraries in build directory.
653 (bench-math): Separate out math tests.
654 (bench-pthread): Separate out pthread tests.
655 (bench): Include math and pthread tests.
656
f737dfd0
CD
6572014-04-14 Carlos O'Donell <carlos@redhat.com>
658
659 [BZ #16831]
660 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
661 _dl_debug_initialize.
662
0699f766
CD
663 * configure.ac: Remove SELinux header check.
664 * configure: Regenerate.
665 * nscd/selinux.c (perms): Array of const char* to permission names.
666 (nscd_request_avc_has_perm): Call security_deny_unknown to find
667 default policy. Call string_to_security_class and string_to_av_perm to
668 translate strings. Enforce default policy and call avs_has_perm with
669 results of translated strings.
670
809bd45f
DM
6712014-04-13 David S. Miller <davem@davemloft.net>
672
673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
674
89e691f2
AM
6752014-04-12 Allan McRae <allan@archlinux.org>
676
677 [BZ #16838]
678 * manual/string.texi (Collation Functions): Fix qsort argument
679 order in example.
680 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
681
9c9daaeb
CM
6822014-04-11 Chris Metcalf <cmetcalf@tilera.com>
683
684 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
685 Make the test a no-op if there are no exceptions defined.
686
95561fb9
PP
6872014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
688
fe8d072c 689 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
690 enable-hardcoded-path-in-tests
691
970c602a
WN
6922014-04-11 Will Newton <will.newton@linaro.org>
693
694 * benchtests/Makefile (extra-objs): Add json-lib.o.
695 (bench-func): Tidy up JSON output.
696 * benchtests/bench-skeleton.c: Include json-lib.h.
697 (main): Use JSON library functions to do output of
698 benchmark results.
699 * benchtests/bench-timing-type.c (main): Output the
700 timing type simply, leaving formatting to the user.
701 * benchtests/json-lib.c: New file.
702 * benchtests/json-lib.h: Likewise.
703
36875b06
TR
7042014-04-11 Torvald Riegel <triegel@redhat.com>
705
706 [BZ #15215]
707 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
708 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
709 memory barriers. Add comments.
710 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
711 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
712 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
713 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
714 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
715 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
716
579db35a
SL
7172014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
718
719 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
720 * sysdeps/s390/s390-64/configure.ac: ... this ...
721 * sysdeps/s390/configure.ac: ... to here.
722 * sysdeps/s390/s390-32/configure: Delete file.
723 * sysdeps/s390/s390-64/configure: Delete file.
724 * sysdeps/s390/configure: Regenerate.
725
c12e9f37
JAPH
7262014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
727
728 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
729
439bda32
WN
7302014-04-11 Will Newton <will.newton@linaro.org>
731
732 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
733 to zero if it is not defined elsewhere. (mtrim): Test
734 the value of MALLOC_DEBUG with #if rather than #ifdef.
735
6a5d6ea1
TR
7362014-04-10 Torvald Riegel <triegel@redhat.com>
737
738 * benchtests/pthread_once-inputs: New file.
739 * benchtests/pthread_once-source.c: New file.
740 * benchtests/README: Update documentation.
741
a4c75cfd
IZ
7422014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
743 H.J. Lu <hongjiu.lu@intel.com>
744
745 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
746 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
747 * sysdeps/x86_64/configure: Regenerated.
748 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
749 macro.
750 (REGISTER_SAVE_RAX): Likewise.
751 (REGISTER_SAVE_RCX): Likewise.
752 (REGISTER_SAVE_RDX): Likewise.
753 (REGISTER_SAVE_RSI): Likewise.
754 (REGISTER_SAVE_RDI): Likewise.
755 (REGISTER_SAVE_R8): Likewise.
756 (REGISTER_SAVE_R9): Likewise.
757 (REGISTER_SAVE_BND0): Likewise.
758 (REGISTER_SAVE_BND1): Likewise.
759 (REGISTER_SAVE_BND2): Likewise.
760 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
761 bound registers when calling _dl_fixup.
762
27822ce6
AZ
7632014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
764
765 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
766 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
767 of its definition.
27822ce6
AZ
768 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
769 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
770 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
771 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
772 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
773 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
774 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
775
a88ddc90
PTB
7762014-04-09 Peter Brett <peter@peter-b.co.uk>
777
778 [BZ #15514]
779 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
780 pathconf(_PC_NAME_MAX).
781
01f8eac2
AZ
7822014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
783
784 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
785 Remove macro usage.
786 (__PTHREAD_SPINS): Move definition to ...
787 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
788 (__PTHREAD_SPINS): ... here.
789 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
790 (__PTHREAD_SPIN): Likewise.
791 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
792 (__PTHREAD_SPIN): Likewise.
793 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
794 (__PTHREAD_SPIN): Likewise.
795 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
796 (__PTHREAD_SPIN): Likewise.
797 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
798 (__PTHREAD_SPIN): Likewise.
799 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
800 (__PTHREAD_SPIN): Likewise.
801 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
802 (__PTHREAD_SPIN): Likewise.
803 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
804 (__PTHREAD_SPIN): Likewise.
805 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
806 (__PTHREAD_SPIN): Likewise.
807 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
808 (__PTHREAD_SPIN): Likewise.
809 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
810 (__PTHREAD_SPIN): Likewise.
811 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
812 (__PTHREAD_SPIN): Likewise.
813
de21c33c
AZ
814 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
815 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
816 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
817 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
818 imply folder.
819 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
820 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
821 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
822 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
823 correct imply path.
824 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
825 strlen symbol for non multi-arch builds.
826 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
827 missing hidden_def and weak_alias.
828
862c472e
CD
8292014-04-08 Carlos O'Donell <carlos@redhat.com>
830
831 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
832
8667f90e
WN
8332014-04-07 Will Newton <will.newton@linaro.org>
834
835 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
836 and contents. [!_LIBC] Remove #ifndef and contents.
837 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
838 * string/memccpy.c (__memccpy): Use ANSI prototype.
839 * string/memfrob.c (memfrob): Likewise.
840 * string/strcoll.c (STRCOLL): Likewise.
841 * string/strlen.c (strlen): Likewise.
842 * string/strtok.c (STRTOK): Likewise.
843 * string/strcat.c: Remove unused #include of memcopy.h.
844 (strcat): Use ANSI prototype.
845 * string/strchr.c: Remove unused #include of memcopy.h.
846 (strchr): Use ANSI prototype.
847 * string/strcmp.c: Remove unused #include of memcopy.h.
848 (strcmp): Use ANSI prototype.
849 * string/strcpy.c: Remove unused #include of memcopy.h.
850 (strcpy): Use ANSI prototype.
851
7ffa9423
AZ
8522014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
853
854 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
855 * config.make.in (config-extra-cppflags): Set it from
856 libc_extra_cppflags.
857 * configure.ac (libc_extra_cflags): Make it accumulate over
858 configure fragments.
859 (libc_extra_cppflags): New flag.
860 * configure. Regenerate.
861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
862 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
863 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
865
8bd70862
AZ
866 [BZ #16815]
867 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
868 result for FE_DOWNWARD rounding mode.
869 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
870 Likewise.
871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
872
d42f3448
CM
8732014-04-04 Chris Metcalf <cmetcalf@tilera.com>
874
875 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
876 in function argument name.
877
1c21d115
DS
8782014-04-03 David Svoboda <svoboda@cert.org>
879
880 [BZ #5666]
881 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
882 explicitly.
883
fcccd512
RM
8842014-04-03 Roland McGrath <roland@hack.frob.com>
885
886 * elf/dl-unmap-segments.h: New file.
887 * sysdeps/generic/ldsodefs.h
888 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
889 * elf/dl-close.c: Include <dl-unmap-segments.h>.
890 * elf/dl-fptr.c: Likewise.
891 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
892 * sysdeps/aarch64/tlsdesc.c: Likewise.
893 * sysdeps/arm/tlsdesc.c: Likewise.
894 * sysdeps/i386/tlsdesc.c: Likewise.
895 * sysdeps/tile/dl-runtime.c: Likewise.
896 * sysdeps/x86_64/tlsdesc.c: Likewise.
897 * elf/dl-load.h: New file.
898 * elf/dl-load.c: Include it.
899 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
900 Macros moved to dl-load.h.
901 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
902 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
903 Use _dl_unmap_segments in place of __munmap.
904 Break out segment-mapping loop into ...
905 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
906
f6488e2b
WN
9072014-04-03 Will Newton <will.newton@linaro.org>
908
909 * elf/dl-lookup.c (do_lookup_x): Remove comment
910 referring to nested function and move variable
911 declarations down to before first use.
912
6f05bafe
JM
9132014-04-02 Joseph Myers <joseph@codesourcery.com>
914
a84e78c8
JM
915 [BZ #16799]
916 [BZ #16800]
917 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
918 with 0 numerator.
919 * math/s_catanf.c (__catanf): Likewise.
920 * math/s_catanh.c (__catanh): Likewise.
921 * math/s_catanhf.c (__catanhf): Likewise.
922 * math/s_catanhl.c (__catanhl): Likewise.
923 * math/s_catanl.c (__catanl): Likewise.
924 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
925 by positive zero when computing -Inf result.
926 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
927 (catanh_test): Likewise.
928 * sysdeps/i386/fpu/libm-test-ulps: Update.
929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
930
6f05bafe
JM
931 [BZ #16789]
932 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
933 instead of using underflowing value in computing result.
934 * math/s_clog10.c (__clog10): Likewise.
935 * math/s_clog10f.c (__clog10f): Likewise.
936 * math/s_clog10l.c (__clog10l): Likewise.
937 * math/s_clogf.c (__clogf): Likewise.
938 * math/s_clogl.c (__clogl): Likewise.
939 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
940 (clog10_test): Likewise.
941 * sysdeps/i386/fpu/libm-test-ulps: Update.
942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
943
b0abbc21
AM
9442014-04-02 Alan Modra <amodra@gmail.com>
945
946 [BZ #16739]
947 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
948 output when value is near a power of two. Use int64_t for lx and
949 remove casts. Use decimal rather than hex exponent constants.
950 Don't use long double multiplication when double will suffice.
951 * math/libm-test.inc (nextafter_test_data): Add tests.
952 * NEWS: Add 16739 and 16786 to bug list.
953
af6b1797
AM
954 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
955
483818d7
AM
956 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
957
f6c55796
WN
9582014-04-01 Will Newton <will.newton@linaro.org>
959
960 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
961 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
962
13f7fe35
FW
9632014-04-01 Florian Weimer <fweimer@redhat.com>
964
965 [BZ #13347]
966 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
967 * nptl/tst-setuid2.c: New file.
968 * nptl/Makefile (xtests): Add tst-setuid2.
969
c859b32e
AM
9702014-04-01 Alan Modra <amodra@gmail.com>
971
972 [BZ #16786]
973 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
974
54fa2475
JM
9752014-03-31 Joseph Myers <joseph@codesourcery.com>
976
8795b4a4
JM
977 [BZ #6803]
978 [BZ #6804]
979 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
980 set errno as appropriate.
981 * math/w_scalbf.c (__scalbf): Likewise.
982 * math/w_scalbl.c (__scalbl): Likewise.
983 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
984 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
985 * math/libm-test.inc (scalb_test_data): Add errno expectations.
986 Add more NaN tests.
987
54fa2475
JM
988 [BZ #16349]
989 * math/w_atan2.c: Include <errno.h>.
990 (__atan2): Set errno for result underflowing to zero.
991 * math/w_atan2f.c: Include <errno.h>.
992 (__atan2f): Set errno for result underflowing to zero.
993 * math/w_atan2l.c: Include <errno.h>.
994 (__atan2l): Set errno for result underflowing to zero.
995 * math/auto-libm-test-in: Don't allow missing errno for some atan2
996 tests.
997 * math/auto-libm-test-out: Regenerated.
998
757d9dd5
AZ
9992014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1000
1001 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1002 Encode instruction correctly in little endian.
1003 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1004 Likewise.
1005 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1006 Likewise.
1007 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1008 Likewise.
1009 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1010 Likewise.
1011
d7a68734
JM
10122014-03-31 Joseph Myers <joseph@codesourcery.com>
1013
47c5adeb
JM
1014 [BZ #9894]
1015 * sysdeps/unix/sysv/linux/kernel-features.h
1016 [__sparc__ && !__arch64__ && !__sparc_v9__]
1017 (__ASSUME_SET_ROBUST_LIST): Do not define.
1018 [__sparc__ && !__arch64__ && !__sparc_v9__]
1019 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1020 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1021 Likewise.
1022 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1023 (__ASSUME_FUTEX_LOCK_PI): Undefine.
1024 (__ASSUME_REQUEUE_PI): Likewise.
1025 (__ASSUME_SET_ROBUST_LIST): Likewise.
1026 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1027 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1028 Undefine.
1029 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1030 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1031 Likewise.
1032 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1033 Likewise.
1034 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1035 Likewise.
1036 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1037 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1038 Undefine.
1039 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1040 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1041 Likewise.
1042
d7a68734
JM
1043 [BZ #16648]
1044 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1045 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1046 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1047
c760f5c2
WN
10482014-03-31 Will Newton <will.newton@linaro.org>
1049
1050 * benchtests/Makefile (bench): Add ffs and ffsll to list
1051 of tests.
1052 * benchtests/ffs-inputs: New file.
1053 * benchtests/ffsll-inputs: Likewise.
1054
ea6029b1
JM
10552014-03-29 Joseph Myers <joseph@codesourcery.com>
1056
1057 [BZ #16770]
1058 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
1059 too large before casting to int.
1060 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
1061 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
1062 * math/libm-test.inc (scalb_test_data): Add more tests.
1063
cf806aff
SP
10642014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1065
56737508
SP
1066 * benchtests/Makefile (DETAILED_OPT): New make option.
1067 (bench-func): Run benchmark program with -d if DETAILED_OPT is
1068 set.
1069 * benchtests/bench-skeleton.c: Include stdbool.h.
1070 (main): Store and print timings per input.
1071 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
1072 member to each argument value.
1073 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
1074 (_print_arg_data): Initialize per-input timing to 0.
1075
cb5e4aad
SP
1076 * benchtests/Makefile (timing-type): New binary.
1077 (bench-clean): Also remove bench-timing-type.
1078 (bench): New target for timing-type.
1079 (bench-func): Print output in JSON format.
1080 * benchtests/bench-skeleton.c (main): Print output in JSON
1081 format.
1082 * benchtests/bench-timing-type.c: New file.
1083 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
1084 (TIMING_PRINT_STATS): Remove.
1085 * benchtests/scripts/bench.py (_print_arg_data): Store variant
1086 name separately.
1087
cf806aff
SP
1088 * benchtests/bench-modf.c: Remove.
1089 * benchtests/modf-inputs: New inputs file.
1090
289e0779
JM
10912014-03-28 Joseph Myers <joseph@codesourcery.com>
1092
1093 [BZ #16362]
1094 * math/s_clog10.c (M_PI_LOG10E): New macro.
1095 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
1096 imaginary parts are 0.
1097 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
1098 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
1099 imaginary parts are 0.
1100 * math/s_clog10l.c (M_PI_LOG10El): New macro.
1101 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
1102 imaginary parts are 0.
1103 * math/libm-test.inc (clog10_test_data): Update expected results
1104 for when real and imaginary parts are 0.
1105
277ae3f1
PP
11062014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
1107
1108 * elf/dl-load.c: Finish conversion of __builtin_expect into
1109 __glibc_{un}likely.
1110
03a7091f
JM
11112014-03-27 Joseph Myers <joseph@codesourcery.com>
1112
1113 [BZ #16348]
1114 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
1115 1+x for argument with exponent below -67.
1116 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
1117 Likewise.
1118 * math/auto-libm-test-in: Add more tests of exp.
1119 * math/auto-libm-test-out: Regenerated.
1120
ea7d8b95
SP
11212014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1122
dd3022d7
SP
1123 [BZ #16759]
1124 * inet/getnetgrent_r.c (get_nonempty_val): New function.
1125 (nscd_getnetgrent): Use it.
1126
ea7d8b95
SP
1127 [BZ #16760]
1128 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
1129 of stpcpy.
1130
df5b85da
AK
11312014-03-27 Andi Kleen <ak@linux.intel.com>
1132
57f41c40
AS
1133 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
1134 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1135 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1136 (lll_robust_unlock): Remove out of line section. Use cfi
1137 intrinsics.
df5b85da 1138 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
1139 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
1140 (lll_robust_lock, lll_cond_lock, lll_timedlock)
1141 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
1142 (lll_robust_unlock): Remove out of line section. Use cfi
1143 intrinsics.
df5b85da
AK
1144 (LLL_STUB_UNWIND_INFO*): Remove.
1145
fbd6b5a4
SP
11462014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1147
1148 [BZ #16758]
1149 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
1150 blank values.
1151
1b26b855
PP
11522014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1153
1154 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
1155
9be36fb8
JM
11562014-03-26 Joseph Myers <joseph@codesourcery.com>
1157
1158 [BZ #16198]
1159 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1160 fnstenv.
1161 * math/test-fenv-preserve.c: New file.
1162 * math/Makefile (tests): Add test-fenv-preserve.
1163
60a2f3c1
WN
11642014-03-26 Will Newton <will.newton@linaro.org>
1165
1166 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1167
a5e5f1e2
RM
11682014-03-25 Roland McGrath <roland@hack.frob.com>
1169
1170 * scripts/versionlist.awk: Partition the version sets and emit all
1171 GLIBC_* (sorted) before all others (sorted).
1172
00f4012a
JM
11732014-03-25 Joseph Myers <joseph@codesourcery.com>
1174
1175 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1176 GLIBC_2.2.5 version.
1177
7bc5a741
AZ
11782014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1179
1180 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1181 calls.
1182
7578473b
AZ
1183 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1184 previous change.
1185
f3f1dab3
AZ
1186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1187
6da36183
AS
11882014-03-25 Andreas Schwab <schwab@suse.de>
1189
1190 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1191 label to be used after in6ailist is initialized.
1192
f3f1dab3 11932014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 1194
7578473b 1195 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
1196 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1197
046651c1
JM
11982014-03-25 Joseph Myers <joseph@codesourcery.com>
1199
1200 [BZ #16357]
1201 [BZ #16599]
1202 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1203 min_plus_half.
1204 (fp_formats): Update initializers.
1205 (init_fp_formats): Initialize new field.
1206 (output_for_one_input_case): Allow underflow for results up to
1207 min_plus_half.
1208 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1209 * math/auto-libm-test-in: Don't mark some underflows from asin and
1210 atanh as spurious.
1211 * math/auto-libm-test-out: Regenerated.
1212 * sysdeps/i386/fpu/libm-test-ulps: Update.
1213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1214
003e49ed
AS
12152014-03-25 Andreas Schwab <schwab@suse.de>
1216
1217 * libio/Makefile (tst-ftell-partial-wide-ENV)
1218 (tst-ftell-active-handler-ENV): Define.
1219
de031874
SL
12202014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1221
1222 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1223
55a81e3b
PP
12242014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1225
1226 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1227
f3426898
JM
12282014-03-24 Joseph Myers <joseph@codesourcery.com>
1229
1230 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1231 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1232 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1233
a42faf59
PP
12342014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1235
1236 [BZ #16634]
a42faf59 1237 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
1238 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1239 (open_path): Change from boolean 'secure' to complete flag 'mode'
1240 (_dl_map_object): Adjust.
a42faf59
PP
1241 * elf/Makefile (tests): Add tst-dlopen-aout.
1242 * elf/tst-dlopen-aout.c: New test.
1243
50936127
SL
12442014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1245
1246 [BZ #16714]
1247 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1248 (struct stat): Rename member pad0 to __glibc_reserved0.
1249
26011b5c
SL
1250 [BZ #16712]
1251 * sysdeps/s390/s390-32/bits/wordsize.h
1252 (__WORDSIZE32_SIZE_ULONG): New define.
1253 * sysdeps/s390/s390-64/bits/wordsize.h
1254 (__WORDSIZE32_SIZE_ULONG): Likewise.
1255 * sysdeps/generic/stdint.h (SIZE_MAX):
1256 Define as UL if __WORDSIZE32_SIZE_ULONG.
1257
a2d86bf1
SL
1258 [BZ #16713]
1259 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1260 (__glibc_reserved0): New variable.
1261 (sa_flags): Change type to int.
1262
78b6eebc
SL
1263 * posix/Makefile (before-compile): Use += before-compile instead
1264 of a :=.
1265
f1399b5a
SL
1266 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1267 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1268
a071766e
AS
12692014-03-20 Andreas Schwab <schwab@suse.de>
1270
1271 [BZ #16743]
1272 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1273 non-matching result from nscd.
1274
27c673b8
SP
12752014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1276
1277 * scripts/bench.py: Moved to ...
1278 * benchtests/scripts/bench.py: ... here.
1279 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1280
44152e4b
AS
12812014-03-24 Andreas Schwab <schwab@suse.de>
1282
1283 [BZ #16002]
1284 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1285 alloca_account and account alloca use for struct in6ailist.
1286
b376a11a
JM
12872014-03-24 Joseph Myers <joseph@codesourcery.com>
1288
1289 [BZ #16284]
1290 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1291 rounding mode to recompute results that overflow to infinity or
1292 underflow to zero.
1293 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1294 bug 16284.
1295 * math/auto-libm-test-out: Regenerated.
1296 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1297 (ccosh_test): Likewise.
1298 (csin_test_data): Use plus_oflow.
1299 (csin_test): Use ALL_RM_TEST.
1300 (csinh_test_data): Use plus_oflow.
1301 (csinh_test): Use ALL_RM_TEST.
1302 * sysdeps/i386/fpu/libm-test-ulps: Update.
1303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1304
f7be7376
JM
13052014-03-21 Joseph Myers <joseph@codesourcery.com>
1306
1ca2d03e
JM
1307 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1308 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1309 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1310
f7be7376
JM
1311 [BZ #16731]
1312 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1313 when x - 1 is zero.
1314 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1315 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1316 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1317 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1318 argument is 1.
1319 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1320 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1321 zero.
1322 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1323 * sysdeps/i386/fpu/libm-test-ulps: Update.
1324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1325
fdf4534d
SP
13262014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1327
df26ea53
SP
1328 * scripts/bench.pl: Remove file.
1329 * scripts/bench.py: New benchmark script.
1330 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1331 * benchtests/README: Mention python dependency.
1332 * scripts/pylintrc: New file.
1333 * scripts/pylint: New file.
1334
fdf4534d
SP
1335 * bits/mathdef.h: Use #ifdef instead of #if.
1336 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1337 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1338 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1339 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1340 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1341 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1342
6f23d093
AZ
13432014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1344 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1345
1346 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1348 and strpbrk-ppc64 objects.
1349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1350 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1351 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1352 multiarch strpbrk for POWER7.
1353 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1354 multiarch strpbrk for PPC64.
1355 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1356 ifunc selector.
1357 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1358 strpbrk for POWER7.
1359
8c92dfff
JM
13602014-03-20 Joseph Myers <joseph@codesourcery.com>
1361
1362 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1363 (atan_test): Likewise.
1364 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1365 (atanh_test): Use ALL_RM_TEST.
1366 (atan2_test_data): Likewise.
1367 (cabs_test): Likewise.
1368 (cacosh_test): Likewise.
1369 (carg_test): Likewise.
1370 (casin_test): Likewise.
1371 (casinh_test): Likewise.
1372 (cbrt_test): Likewise.
1373 (csqrt_test): Likewise.
1374 (erf_test): Likewise.
1375 (erfc_test): Likewise.
1376 (pow10_test): Likewise.
1377 (exp2_test): Likewise.
1378 (hypot_test): Likewise.
1379 (j0_test): Likewise.
1380 (j1_test): Likewise.
1381 (lgamma_test): Likewise.
1382 (gamma_test): Likewise.
1383 (sincos_test): Likewise.
1384 (tanh_test): Likewise.
1385 (y0_test): Likewise.
1386 (y1_test): Likewise.
1387 * sysdeps/i386/fpu/libm-test-ulps: Update.
1388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1389
6eaf95cb
AZ
13902014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1391
a387428c
SP
1392 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
1394 and strcspn-ppc64 objects.
1395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1396 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1397 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1398 multiarch strcspn for POWER7.
1399 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1400 multiarch strcspn for PPC64.
1401 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1402 ifunc selector.
1403 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1404 strcspn for POWER7.
1405
ae3a5dff
JM
14062014-03-20 Joseph Myers <joseph@codesourcery.com>
1407
1408 * math/gen-libm-test.pl (generate_testfile): Expect only function
1409 name as argument to AUTO_TESTS_* and pass results for all rounding
1410 modes to parse_args.
1411 (parse_auto_input): Separate inputs of automatic tests from
1412 outputs before storing in %auto_tests.
1413 * math/libm-test.inc (acos_test_data): Update call to
1414 AUTO_TESTS_f_f.
1415 (acos_test): Use ALL_RM_TEST.
1416 (acos_tonearest_test_data): Remove.
1417 (acos_test_tonearest): Likewise.
1418 (acos_towardzero_test_data): Likewise.
1419 (acos_test_towardzero): Likewise.
1420 (acos_downward_test_data): Likewise.
1421 (acos_test_downward): Likewise.
1422 (acos_upward_test_data): Likewise.
1423 (acos_test_upward): Likewise.
1424 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1425 (asin_test_data): Likewise.
1426 (asin_test): Use ALL_RM_TEST.
1427 (asin_tonearest_test_data): Remove.
1428 (asin_test_tonearest): Likewise.
1429 (asin_towardzero_test_data): Likewise.
1430 (asin_test_towardzero): Likewise.
1431 (asin_downward_test_data): Likewise.
1432 (asin_test_downward): Likewise.
1433 (asin_upward_test_data): Likewise.
1434 (asin_test_upward): Likewise.
1435 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1436 (atan_test_data): Likewise.
1437 (atanh_test_data): Likewise.
1438 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1439 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1440 (carg_test_data): Likewise.
1441 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1442 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1443 (ccosh_test_data): Likewise.
1444 (cexp_test_data): Likewise.
1445 (clog_test_data): Likewise.
1446 (clog10_test_data): Likewise.
1447 (cos_test_data): Update call to AUTO_TESTS_f_f.
1448 (cos_test): Use ALL_RM_TEST.
1449 (cos_tonearest_test_data): Remove.
1450 (cos_test_tonearest): Likewise.
1451 (cos_towardzero_test_data): Likewise.
1452 (cos_test_towardzero): Likewise.
1453 (cos_downward_test_data): Likewise.
1454 (cos_test_downward): Likewise.
1455 (cos_upward_test_data): Likewise.
1456 (cos_test_upward): Likewise.
1457 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1458 (cosh_test): Use ALL_RM_TEST.
1459 (cosh_tonearest_test_data): Remove.
1460 (cosh_test_tonearest): Likewise.
1461 (cosh_towardzero_test_data): Likewise.
1462 (cosh_test_towardzero): Likewise.
1463 (cosh_downward_test_data): Likewise.
1464 (cosh_test_downward): Likewise.
1465 (cosh_upward_test_data): Likewise.
1466 (cosh_test_upward): Likewise.
1467 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1468 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1469 (ctan_test_data): Likewise.
1470 (ctan_test): Use ALL_RM_TEST.
1471 (ctan_tonearest_test_data): Remove.
1472 (ctan_test_tonearest): Likewise.
1473 (ctan_towardzero_test_data): Likewise.
1474 (ctan_test_towardzero): Likewise.
1475 (ctan_downward_test_data): Likewise.
1476 (ctan_test_downward): Likewise.
1477 (ctan_upward_test_data): Likewise.
1478 (ctan_test_upward): Likewise.
1479 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1480 (ctanh_test): Use ALL_RM_TEST.
1481 (ctanh_tonearest_test_data): Remove.
1482 (ctanh_test_tonearest): Likewise.
1483 (ctanh_towardzero_test_data): Likewise.
1484 (ctanh_test_towardzero): Likewise.
1485 (ctanh_downward_test_data): Likewise.
1486 (ctanh_test_downward): Likewise.
1487 (ctanh_upward_test_data): Likewise.
1488 (ctanh_test_upward): Likewise.
1489 (erf_test_data): Update call to AUTO_TESTS_f_f.
1490 (erfc_test_data): Likewise.
1491 (exp_test_data): Likewise.
1492 (exp_test): Use ALL_RM_TEST.
1493 (exp_tonearest_test_data): Remove.
1494 (exp_test_tonearest): Likewise.
1495 (exp_towardzero_test_data): Likewise.
1496 (exp_test_towardzero): Likewise.
1497 (exp_downward_test_data): Likewise.
1498 (exp_test_downward): Likewise.
1499 (exp_upward_test_data): Likewise.
1500 (exp_test_upward): Likewise.
1501 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1502 (exp10_test): Use ALL_RM_TEST.
1503 (exp10_tonearest_test_data): Remove.
1504 (exp10_test_tonearest): Likewise.
1505 (exp10_towardzero_test_data): Likewise.
1506 (exp10_test_towardzero): Likewise.
1507 (exp10_downward_test_data): Likewise.
1508 (exp10_test_downward): Likewise.
1509 (exp10_upward_test_data): Likewise.
1510 (exp10_test_upward): Likewise.
1511 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1512 (expm1_test_data): Likewise.
1513 (expm1_test): Use ALL_RM_TEST.
1514 (expm1_tonearest_test_data): Remove.
1515 (expm1_test_tonearest): Likewise.
1516 (expm1_towardzero_test_data): Likewise.
1517 (expm1_test_towardzero): Likewise.
1518 (expm1_downward_test_data): Likewise.
1519 (expm1_test_downward): Likewise.
1520 (expm1_upward_test_data): Likewise.
1521 (expm1_test_upward): Likewise.
1522 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1523 (fma_test): Use ALL_RM_TEST.
1524 (fma_towardzero_test_data): Remove.
1525 (fma_test_towardzero): Likewise.
1526 (fma_downward_test_data): Likewise.
1527 (fma_test_downward): Likewise.
1528 (fma_upward_test_data): Likewise.
1529 (fma_test_upward): Likewise.
1530 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1531 (j0_test_data): Update call to AUTO_TESTS_f_f.
1532 (j1_test_data): Likewise.
1533 (jn_test_data): Update call to AUTO_TESTS_if_f.
1534 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1535 (log_test_data): Update call to AUTO_TESTS_f_f.
1536 (log10_test_data): Likewise.
1537 (log1p_test_data): Likewise.
1538 (log2_test_data): Likewise.
1539 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1540 (pow_tonearest_test_data): Likewise.
1541 (sin_test_data): Update call to AUTO_TESTS_f_f.
1542 (sin_test): Use ALL_RM_TEST.
1543 (sin_tonearest_test_data): Remove.
1544 (sin_test_tonearest): Likewise.
1545 (sin_towardzero_test_data): Likewise.
1546 (sin_test_towardzero): Likewise.
1547 (sin_downward_test_data): Likewise.
1548 (sin_test_downward): Likewise.
1549 (sin_upward_test_data): Likewise.
1550 (sin_test_upward): Likewise.
1551 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1552 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1553 (sinh_test): Use ALL_RM_TEST.
1554 (sinh_tonearest_test_data): Remove.
1555 (sinh_test_tonearest): Likewise.
1556 (sinh_towardzero_test_data): Likewise.
1557 (sinh_test_towardzero): Likewise.
1558 (sinh_downward_test_data): Likewise.
1559 (sinh_test_downward): Likewise.
1560 (sinh_upward_test_data): Likewise.
1561 (sinh_test_upward): Likewise.
1562 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1563 (sqrt_test): Use ALL_RM_TEST.
1564 (sqrt_tonearest_test_data): Remove.
1565 (sqrt_test_tonearest): Likewise.
1566 (sqrt_towardzero_test_data): Likewise.
1567 (sqrt_test_towardzero): Likewise.
1568 (sqrt_downward_test_data): Likewise.
1569 (sqrt_test_downward): Likewise.
1570 (sqrt_upward_test_data): Likewise.
1571 (sqrt_test_upward): Likewise.
1572 (tan_test_data): Update call to AUTO_TESTS_f_f.
1573 (tan_test): Use ALL_RM_TEST.
1574 (tan_tonearest_test_data): Remove.
1575 (tan_test_tonearest): Likewise.
1576 (tan_towardzero_test_data): Likewise.
1577 (tan_test_towardzero): Likewise.
1578 (tan_downward_test_data): Likewise.
1579 (tan_test_downward): Likewise.
1580 (tan_upward_test_data): Likewise.
1581 (tan_test_upward): Likewise.
1582 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1583 (tgamma_test_data): Likewise.
1584 (y0_test_data): Likewise.
1585 (y1_test_data): Likewise.
1586 (yn_test_data): Update call to AUTO_TESTS_if_f.
1587 (main): Do not call removed functions.
1588
d71aeee8
JM
15892014-03-19 Joseph Myers <joseph@codesourcery.com>
1590
1591 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1592 (ldexp_test_data): Remove.
1593 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1594 scalbn_test_data.
1595 (scalb_test): Use ALL_RM_TEST.
1596
baaf1ded
AS
15972014-03-19 Andreas Schwab <schwab@suse.de>
1598
1599 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1600
b1115e91
JM
16012014-03-19 Joseph Myers <joseph@codesourcery.com>
1602
1603 [BZ #16649]
1604 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1605 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1606 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1607 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1608 (__ASSUME_PREADV): Undefine.
1609 (__ASSUME_PWRITEV): Likewise.
1610
0283ecca
RM
16112014-03-18 Roland McGrath <roland@hack.frob.com>
1612
7d375303
RM
1613 * bits/mman-linux.h: Add comment about non-Linux use.
1614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1615 bits/mman-linux.h resting place.
1616
0283ecca
RM
1617 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1618 * bits/mman-linux.h: ... here.
1619
aebe1003
AZ
16202014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1621
1622 * conform/conformtest.pl: Add standard definition when calling C
1623 preprocessor on data files.
1624 (checknamespace): Remove unused variable.
1625
b29b6bb8
JM
16262014-03-18 Joseph Myers <joseph@codesourcery.com>
1627
1628 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1629 minus_oflow, plus_uflow and minus_uflow in expected results.
1630 * math/libm-test.inc (scalbn_test_data): Add more tests of
1631 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1632 minus_uflow.
1633 (scalbn_test): Use ALL_RM_TEST.
1634 (scalbln_test_data): Add more tests of negative arguments. Use
1635 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1636 (scalbln_test): Use ALL_RM_TEST.
1637
c8f8fa15
RM
16382014-03-18 Roland McGrath <roland@hack.frob.com>
1639
1640 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1641
fede7a5f
WN
16422014-03-18 Will Newton <will.newton@linaro.org>
1643
1644 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1645 inaccurate comment.
1646
80cf0a58
JM
16472014-03-18 Joseph Myers <joseph@codesourcery.com>
1648
1649 * Makerules [!subdir] (check-abi): Exit with error status if a
1650 test failed.
1651
b3620862
JM
16522014-03-17 Joseph Myers <joseph@codesourcery.com>
1653
1654 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1655 for rint. Include results for all rounding modes.
1656 (nearbyint_test): Use ALL_RM_TEST.
1657 (rint_test_data): Include all tests used for nearbyint.
1658
788bba36
WN
16592014-03-17 Will Newton <will.newton@linaro.org>
1660
04ec140a
WN
1661 * nptl/sysdeps/pthread/pthread.h: Revert previous
1662 change.
1663
7579d8d5
WN
1664 * sysdeps/generic/ldsodefs.h: Revert previous
1665 change.
1666
c15cf13a
WN
1667 * libio/genops.c: Revert previous change.
1668 * libio/libioP.h: Likewise.
1669 * stdio-common/vfprintf.c: Likewise.
1670
d0ac1324
WN
1671 * sysdeps/generic/math_private.h: Revert previous
1672 change.
1673
9290130a
WN
1674 * sysdeps/generic/math_private.h: Check whether
1675 HAVE_RM_CTX is defined with #ifdef rather
1676 than #if.
1677
afb466fc
WN
1678 * argp/argp-fmtstream.h: Check whether
1679 __STRICT_ANSI__ is defined with #ifdef rather
1680 than #if.
1681 * argp/argp.h: Likewise.
1682
f7efd7c3
WN
1683 * libio/genops.c: Check whether
1684 _IO_JUMPS_OFFSET is defined with #ifdef rather
1685 than #if.
1686 * libio/libioP.h: Likewise.
1687 * stdio-common/vfprintf.c: Likewise.
1688
53f1bed3
WN
1689 * sysdeps/generic/ldsodefs.h: Check whether
1690 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1691 than #if.
1692
788bba36
WN
1693 * nptl/sysdeps/pthread/pthread.h: Check
1694 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1695 its value.
1696
fcd89ebe
SP
16972014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1698
ae42bbc5
SP
1699 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1700 setting O_APPEND.
1701 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1702 test case.
1703
ea33158c
SP
1704 [BZ #16680]
1705 * libio/fileops.c (_IO_file_open): Seek to end of file but
1706 don't cache the offset.
1707 (get_file_offset): Remove function.
1708 (do_ftell): Use cached offset when available.
1709 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1710 don't cache the offset.
1711 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1712 case.
1713 (do_one_test): Call it.
1714 (do_ftell_test): Fix up expected old offset for a+ mode.
1715 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1716 available.
1717
b1dbb426
SP
1718 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1719 up test status with function return status.
1720 (do_write_test): Likewise.
1721 (do_append_test): Likewise.
1722
fcd89ebe
SP
1723 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1724 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1725 Remove.
1726
9962a2d3
JM
17272014-03-17 Joseph Myers <joseph@codesourcery.com>
1728
1729 * math/gen-libm-test.pl (parse_args): Handle results specified for
1730 each rounding mode separately.
1731 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1732 tests and results from lrint_tonearest_test_data,
1733 lrint_towardzero_test_data, lrint_downward_test_data and
1734 lrint_upward_test_data.
1735 (lrint_test): Use ALL_RM_TEST.
1736 (lrint_tonearest_test_data): Remove.
1737 (lrint_test_tonearest): Likewise.
1738 (lrint_towardzero_test_data): Likewise.
1739 (lrint_test_towardzero): Likewise.
1740 (lrint_downward_test_data): Likewise.
1741 (lrint_test_downward): Likewise.
1742 (lrint_upward_test_data): Likewise.
1743 (lrint_test_upward): Likewise.
1744 (llrint_test_data): Merge in per-rounding-mode tests and results
1745 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1746 llrint_downward_test_data and llrint_upward_test_data.
1747 (llrint_test): Use ALL_RM_TEST.
1748 (llrint_tonearest_test_data): Remove.
1749 (llrint_test_tonearest): Likewise.
1750 (llrint_towardzero_test_data): Likewise.
1751 (llrint_test_towardzero): Likewise.
1752 (llrint_downward_test_data): Likewise.
1753 (llrint_test_downward): Likewise.
1754 (llrint_upward_test_data): Likewise.
1755 (llrint_test_upward): Likewise.
1756 (rint_test_data): Merge in per-rounding-mode tests and results
1757 from rint_tonearest_test_data, rint_towardzero_test_data,
1758 rint_downward_test_data and rint_upward_test_data. Add
1759 per-rounding-mode results for tests not in those arrays.
1760 (rint_test): Use ALL_RM_TEST.
1761 (rint_tonearest_test_data): Remove.
1762 (rint_test_tonearest): Likewise.
1763 (rint_towardzero_test_data): Likewise.
1764 (rint_test_towardzero): Likewise.
1765 (rint_downward_test_data): Likewise.
1766 (rint_test_downward): Likewise.
1767 (rint_upward_test_data): Likewise.
1768 (rint_test_upward): Likewise.
1769 (main): Don't call removed functions.
1770
5006148e
RM
17712014-03-14 Roland McGrath <roland@hack.frob.com>
1772
1773 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1774 "Compiled on ..." crapola. It is anti-useful.
1775
d6fe5e58
JM
17762014-03-14 Joseph Myers <joseph@codesourcery.com>
1777
1778 * scripts/evaluate-test.sh: Handle fourth argument to determine
1779 whether test run should stop on failure.
1780 * Makeconfig (stop-on-test-failure): New variable.
1781 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1782 $(stop-on-test-failure).
1783 * Makefile (tests): Give a summary of results from testing and
1784 exit with failure status if they include an ERROR or FAIL.
1785 (xtests): Likewise.
1786 * manual/install.texi (Configuring and compiling): Mention
1787 stop-on-test-failure=y.
1788 * INSTALL: Regenerated.
1789
498a2233
RM
17902014-03-14 Roland McGrath <roland@hack.frob.com>
1791
22dbc19d
RM
1792 * scripts/versionlist.awk: New file.
1793 * Makerules [$(build-shared) = yes]
1794 (postclean-generated): Add Versions.def, not Versions.def.v and
1795 Versions.def.v.i.
1796 ($(common-objpfx)Versions.def.v.i): Target removed.
1797 ($(common-objpfx)Versions.def): New target.
1798 ($(common-objpfx)Versions.all): Depend on that rather that
1799 $(common-objpfx)Versions.def.v.
1800 * Versions.def: File removed.
1801
498a2233
RM
1802 * Makeconfig (+gccwarn): Add -Wundef.
1803 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1804 a dl-sysdep.h breaking its contract.
1805 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1806 * include/stackinfo.h: New file.
1807 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1808 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1809 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1810 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1811 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1812 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1813 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1814 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1815 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1816 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1817 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1818 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1819 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1820 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1821 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1822
c7de5025
AZ
18232014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1824
1825 [BZ #16707]
1826 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1827 implementation.
1828 * math/libm-test.inc (round_test_data): Add more tests.
1829
98fb27a3
AZ
1830 [BZ #16706]
1831 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1832 implementation.
1833 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1834
374f7f61
AZ
1835 [BZ #16701]
1836 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1837 implementation.
1838 * math/libm-test.inc (ceil_test_data): Add more tests.
1839
4655c291
AZ
1840 * math/libm-test.inc (trunc_test_data): Add more tests related to
1841 BZ#16414.
1842
d7329d4b
RM
18432014-03-14 Roland McGrath <roland@hack.frob.com>
1844
1845 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1846 with #if rather than #ifdef.
1847 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1848
aa4de9ce
L
18492014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1850
1851 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1852 first. Disable AVX-512 GCC support if assembler doesn't support
1853 it.
1854 * sysdeps/x86_64/configure: Regenerated.
1855
2e03fae7
CD
18562014-03-13 Carlos O'Donell <carlos@redhat.com>
1857
1858 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1859 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1860 (__old_pthread_attr_setstack): Likewise.
1861 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1862 [!_STACK_GROWS_DOWN]: Likewise.
1863
43ca83ec
MF
18642014-03-13 Mike Frysinger <vapier@gentoo.org>
1865
1866 * config.make.in (have-bash2): Delete.
1867 * configure.ac (libc_cv_have_bash2): Delete.
1868 * configure: Regenerate.
1869 * elf/Makefile (common-ldd-rewrite): Rename to ...
1870 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1871 (sh-ldd-rewrite): Delete.
1872 (bash-ldd-rewrite): Delete.
1873 (have-bash2): Delete checks.
57f41c40
AS
1874 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1875 ldd-rewrite.
c66e48b4
MF
1876
1877 * config.make.in (have-ksh): Delete.
1878 (KSH): Delete.
1879 * configure.ac (libc_cv_have_ksh): Delete.
1880 * configure: Regenerate.
1881
b93834ef
MF
1882 * elf/Makefile: Delete $(have-ksh) check.
1883 ($(objpfx)sotruss): Change KSH to BASH.
1884 * elf/sotruss.ksh: Rename to ...
1885 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1886 function style to match POSIX. Drop ksh vim mode setting.
1887
f3a4632a
MF
1888 * manual/time.texi (Specifying the Time Zone with TZ): Change
1889 Tuesday to Thursday.
1890
5896c8bd
MF
1891 * debug/tst-longjmp_chk2.c: Update header comment.
1892 (stackoverflow_handler): Add comment. Call assert on pass value.
1893
2d63a517
IZ
18942014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1895
1896 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1897 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1898 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1899 (La_x86_64_vector): Add zmm.
1900 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1901 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1902 ($(objpfx)tst-audit10): New target.
1903 ($(objpfx)tst-audit10.out): Likewise.
1904 (tst-audit10-ENV): New.
1905 (AVX512-CFLAGS): Likewise.
1906 (CFLAGS-tst-audit10.c): Likewise.
1907 (CFLAGS-tst-auditmod10a.c): Likewise.
1908 (CFLAGS-tst-auditmod10b.c): Likewise.
1909 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1910 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1911 * sysdeps/x86_64/configure: Regenerated.
1912 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1913 AVX-512 zmm register support.
1914 (_dl_x86_64_save_sse): Likewise.
1915 (_dl_x86_64_restore_sse): Likewise.
1916 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1917 size vector registers.
1918 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1919 (ZMM_SIZE): Likewise.
1920 * sysdeps/x86_64/tst-audit10.c: New file.
1921 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1922 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1923
44c4e5d5
RM
19242014-03-13 Roland McGrath <roland@hack.frob.com>
1925
1926 * configure.ac (HAVE_EHDR_START): New check.
1927 * configure: Regenerated.
1928 * config.h.in (HAVE_EHDR_START): New #undef.
1929 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1930 assuming the lowest-addressed segment maps the start of the file.
1931
acd6e389
JM
19322014-03-13 Joseph Myers <joseph@codesourcery.com>
1933
1934 * INSTALL: Regenerated.
1935
6f918f36
WN
19362014-03-13 Will Newton <will.newton@linaro.org>
1937
1938 * manual/setjmp.texi (System V contexts): Improve
1939 clarity and grammar of documentation.
1940
798212a0
PP
19412014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1942
1943 [BZ #16381]
798212a0 1944 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1945 (tests-pie): Add tst-pie2.
798212a0
PP
1946 * elf/tst-pie2.c: New file.
1947 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1948 for ET_EXEC.
1949 * elf/rtld.c (map_doit): Load executable as lt_executable.
1950 (dl_main): Likewise.
1951
abe6d90c
JM
19522014-03-12 Joseph Myers <joseph@codesourcery.com>
1953
1954 [BZ #16642]
1955 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1956 (__ASSUME_PSELECT): Undefine.
1957
dd3946c6
AZ
19582014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1959
1960 [BZ #16689]
1961 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1962 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1963 static build.
1964 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1965 selector for static builds.
1966
c44496df
SP
19672014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1968
1969 [BZ #16695]
1970 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1971 key in the buffer.
1972
27c7220a
AZ
19732014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1974
57f41c40
AS
1975 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1976 IFUNC selector for static builds.
27c7220a 1977
600fa361
JM
19782014-03-11 Joseph Myers <joseph@codesourcery.com>
1979
76c96cf7
JM
1980 * sysdeps/mips/math_private.h [__mips_hard_float]
1981 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1982 libc_feresetround_mips_ctx.
1983 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1984 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1985 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1986
600fa361
JM
1987 [BZ #16677]
1988 * math/s_nextafter.c (__nextafter): Do not return value from
1989 overflowing computation.
1990 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1991 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1992 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1993 Likewise.
1994 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1995 Likewise.
1996 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1997 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1998
d7706c32
RM
19992014-03-11 Roland McGrath <roland@hack.frob.com>
2000
2001 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2002 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2003 Move sfi_sp use from the load-multiple (that no longer sets sp) to
2004 the new mov targetting sp.
2005
4facea47
AZ
20062014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2007
2008 [BZ #16683]
2009 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2010 Define it for static builds as well.
2011 (NO_BZERO_IMPL): Likewise.
2012
e65caf1f
VR
20132014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2014
2015 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2016 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2017 multiarch strspn for PPC64.
2018 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2019 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2020 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2021 (__libc_ifunc_impl_list): Likewise.
2022 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2023 multiarch optimizations
2024 * string/strspn.c (strspn): Using macro to redefine symbol name.
2025
ba9cc071
AZ
20262014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2027 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2028
2029 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2030 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2031 multiarch strncat for PPC64.
2032 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2033 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2035 (__libc_ifunc_impl_list): Likewise.
2036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2037 multiarch optimizations
2038
8b4ff974
SP
20392014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2040
2041 [BZ #16639]
2042 * nscd/nscd.service: Make service type forking.
2043
54b46a4b
AZ
20442014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2045
2046 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2047 sign in non default rounding modes.
2048 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2049
e9996ef7
JM
20502014-03-08 Joseph Myers <joseph@codesourcery.com>
2051
2052 * math/libm-test.inc (ALL_RM_TEST): New macro.
2053 (ceil_test): Use ALL_RM_TEST.
2054 (cimag_test): Likewise.
2055 (conj_test): Likewise.
2056 (copysign_test): Likewise.
2057 (cproj_test): Likewise.
2058 (creal_test): Likewise.
2059 (fabs_test): Likewise.
2060 (floor_test): Likewise.
2061 (fmax_test): Likewise.
2062 (fmin_test): Likewise.
2063 (fmod_test): Likewise.
2064 (fpclassify_test): Likewise.
2065 (frexp_test): Likewise.
2066 (ilogb_test): Likewise.
2067 (isfinite_test): Likewise.
2068 (finite_test): Likewise.
2069 (isgreater_test): Likewise.
2070 (isgreaterequal_test): Likewise.
2071 (isinf_test): Likewise.
2072 (isless_test): Likewise.
2073 (islessequal_test): Likewise.
2074 (islessgreater_test): Likewise.
2075 (isnan_test): Likewise.
2076 (isnormal_test): Likewise.
2077 (issignaling_test): Likewise.
2078 (isunordered_test): Likewise.
2079 (logb_test): Likewise.
2080 (logb_downward_test_data): Remove.
2081 (logb_test_downward): Likewise.
2082 (lround_test): Use ALL_RM_TEST.
2083 (llround_test): Likewise.
2084 (modf_test): Likewise.
2085 (nexttoward_test): Likewise.
2086 (remainder_test): Likewise.
2087 (drem_test): Likewise.
2088 (remainder_tonearest_test_data): Likewise.
2089 (remainder_test_tonearest): Likewise.
2090 (drem_test_tonearest): Likewise.
2091 (remainder_towardzero_test_data): Likewise.
2092 (remainder_test_towardzero): Likewise.
2093 (drem_test_towardzero): Likewise.
2094 (remainder_downward_test_data): Likewise.
2095 (remainder_test_downward): Likewise.
2096 (drem_test_downward): Likewise.
2097 (remainder_upward_test_data): Likewise.
2098 (remainder_test_upward): Likewise.
2099 (drem_test_upward): Likewise.
2100 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
2101 (round_test): Use ALL_RM_TEST.
2102 (signbit_test): Likewise.
2103 (trunc_test): Likewise.
2104 (significand_test): Likewise.
2105 (main): Don't call removed functions.
2106
bc61d27c
JM
21072014-03-07 Joseph Myers <joseph@codesourcery.com>
2108
5c780849
JM
2109 [BZ #16674]
2110 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
2111 || __USE_XOPEN2K8].
2112 (ILL_ILLOPN): Likewise.
2113 (ILL_ILLADR): Likewise.
2114 (ILL_ILLTRP): Likewise.
2115 (ILL_PRVOPC): Likewise.
2116 (ILL_PRVREG): Likewise.
2117 (ILL_COPROC): Likewise.
2118 (ILL_BADSTK): Likewise.
2119 (FPE_INTDIV): Likewise.
2120 (FPE_INTOVF): Likewise.
2121 (FPE_FLTDIV): Likewise.
2122 (FPE_FLTOVF): Likewise.
2123 (FPE_FLTUND): Likewise.
2124 (FPE_FLTRES): Likewise.
2125 (FPE_FLTINV): Likewise.
2126 (FPE_FLTSUB): Likewise.
2127 (SEGV_MAPERR): Likewise.
2128 (SEGV_ACCERR): Likewise.
2129 (BUS_ADRALN): Likewise.
2130 (BUS_ADRERR): Likewise.
2131 (BUS_OBJERR): Likewise.
2132 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2133 (TRAP_TRACE): Likewise.
2134 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2135 __USE_XOPEN2K8].
2136 (CLD_KILLED): Likewise.
2137 (CLD_DUMPED): Likewise.
2138 (CLD_TRAPPED): Likewise.
2139 (CLD_STOPPED): Likewise.
2140 (CLD_CONTINUED): Likewise.
2141 (POLL_IN): Likewise.
2142 (POLL_OUT): Likewise.
2143 (POLL_MSG): Likewise.
2144 (POLL_ERR): Likewise.
2145 (POLL_PRI): Likewise.
2146 (POLL_HUP): Likewise.
2147 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
2148 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/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/ia64/bits/siginfo.h (ILL_ILLOPC):
2225 Likewise.
2226 (ILL_ILLOPN): Likewise.
2227 (ILL_ILLADR): Likewise.
2228 (ILL_ILLTRP): Likewise.
2229 (ILL_PRVOPC): Likewise.
2230 (ILL_PRVREG): Likewise.
2231 (ILL_COPROC): Likewise.
2232 (ILL_BADSTK): Likewise.
2233 (ILL_BADIADDR): Likewise.
2234 (ILL_BREAK): Likewise.
2235 (FPE_INTDIV): Likewise.
2236 (FPE_INTOVF): Likewise.
2237 (FPE_FLTDIV): Likewise.
2238 (FPE_FLTOVF): Likewise.
2239 (FPE_FLTUND): Likewise.
2240 (FPE_FLTRES): Likewise.
2241 (FPE_FLTINV): Likewise.
2242 (FPE_FLTSUB): Likewise.
2243 (FPE_DECOVF): Likewise.
2244 (FPE_DECDIV): Likewise.
2245 (FPE_DECERR): Likewise.
2246 (FPE_INVASC): Likewise.
2247 (FPE_INVDEC): Likewise.
2248 (SEGV_MAPERR): Likewise.
2249 (SEGV_ACCERR): Likewise.
2250 (SEGV_PSTKOVF): Likewise.
2251 (BUS_ADRALN): Likewise.
2252 (BUS_ADRERR): Likewise.
2253 (BUS_OBJERR): Likewise.
2254 (BUS_MCEERR_AR): Likewise.
2255 (BUS_MCEERR_AO): Likewise.
2256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2257 (TRAP_TRACE): Likewise.
2258 (TRAP_BRANCH): Likewise.
2259 (TRAP_HWBKPT): Likewise.
2260 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2261 __USE_XOPEN2K8].
2262 (CLD_KILLED): Likewise.
2263 (CLD_DUMPED): Likewise.
2264 (CLD_TRAPPED): Likewise.
2265 (CLD_STOPPED): Likewise.
2266 (CLD_CONTINUED): Likewise.
2267 (POLL_IN): Likewise.
2268 (POLL_OUT): Likewise.
2269 (POLL_MSG): Likewise.
2270 (POLL_ERR): Likewise.
2271 (POLL_PRI): Likewise.
2272 (POLL_HUP): Likewise.
2273 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2274 (ILL_ILLOPN): Likewise.
2275 (ILL_ILLADR): Likewise.
2276 (ILL_ILLTRP): Likewise.
2277 (ILL_PRVOPC): Likewise.
2278 (ILL_PRVREG): Likewise.
2279 (ILL_COPROC): Likewise.
2280 (ILL_BADSTK): Likewise.
2281 (FPE_INTDIV): Likewise.
2282 (FPE_INTOVF): Likewise.
2283 (FPE_FLTDIV): Likewise.
2284 (FPE_FLTOVF): Likewise.
2285 (FPE_FLTUND): Likewise.
2286 (FPE_FLTRES): Likewise.
2287 (FPE_FLTINV): Likewise.
2288 (FPE_FLTSUB): Likewise.
2289 (SEGV_MAPERR): Likewise.
2290 (SEGV_ACCERR): Likewise.
2291 (BUS_ADRALN): Likewise.
2292 (BUS_ADRERR): Likewise.
2293 (BUS_OBJERR): Likewise.
2294 (BUS_MCEERR_AR): Likewise.
2295 (BUS_MCEERR_AO): Likewise.
2296 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2297 (TRAP_TRACE): Likewise.
2298 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2299 __USE_XOPEN2K8].
2300 (CLD_KILLED): Likewise.
2301 (CLD_DUMPED): Likewise.
2302 (CLD_TRAPPED): Likewise.
2303 (CLD_STOPPED): Likewise.
2304 (CLD_CONTINUED): Likewise.
2305 (POLL_IN): Likewise.
2306 (POLL_OUT): Likewise.
2307 (POLL_MSG): Likewise.
2308 (POLL_ERR): Likewise.
2309 (POLL_PRI): Likewise.
2310 (POLL_HUP): Likewise.
2311 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2312 (ILL_ILLOPN): Likewise.
2313 (ILL_ILLADR): Likewise.
2314 (ILL_ILLTRP): Likewise.
2315 (ILL_PRVOPC): Likewise.
2316 (ILL_PRVREG): Likewise.
2317 (ILL_COPROC): Likewise.
2318 (ILL_BADSTK): Likewise.
2319 (FPE_INTDIV): Likewise.
2320 (FPE_INTOVF): Likewise.
2321 (FPE_FLTDIV): Likewise.
2322 (FPE_FLTOVF): Likewise.
2323 (FPE_FLTUND): Likewise.
2324 (FPE_FLTRES): Likewise.
2325 (FPE_FLTINV): Likewise.
2326 (FPE_FLTSUB): Likewise.
2327 (SEGV_MAPERR): Likewise.
2328 (SEGV_ACCERR): Likewise.
2329 (BUS_ADRALN): Likewise.
2330 (BUS_ADRERR): Likewise.
2331 (BUS_OBJERR): Likewise.
2332 (BUS_MCEERR_AR): Likewise.
2333 (BUS_MCEERR_AO): Likewise.
2334 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2335 (TRAP_TRACE): Likewise.
2336 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2337 __USE_XOPEN2K8].
2338 (CLD_KILLED): Likewise.
2339 (CLD_DUMPED): Likewise.
2340 (CLD_TRAPPED): Likewise.
2341 (CLD_STOPPED): Likewise.
2342 (CLD_CONTINUED): Likewise.
2343 (POLL_IN): Likewise.
2344 (POLL_OUT): Likewise.
2345 (POLL_MSG): Likewise.
2346 (POLL_ERR): Likewise.
2347 (POLL_PRI): Likewise.
2348 (POLL_HUP): Likewise.
2349 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2350 (ILL_ILLOPN): Likewise.
2351 (ILL_ILLADR): Likewise.
2352 (ILL_ILLTRP): Likewise.
2353 (ILL_PRVOPC): Likewise.
2354 (ILL_PRVREG): Likewise.
2355 (ILL_COPROC): Likewise.
2356 (ILL_BADSTK): Likewise.
2357 (FPE_INTDIV): Likewise.
2358 (FPE_INTOVF): Likewise.
2359 (FPE_FLTDIV): Likewise.
2360 (FPE_FLTOVF): Likewise.
2361 (FPE_FLTUND): Likewise.
2362 (FPE_FLTRES): Likewise.
2363 (FPE_FLTINV): Likewise.
2364 (FPE_FLTSUB): Likewise.
2365 (SEGV_MAPERR): Likewise.
2366 (SEGV_ACCERR): Likewise.
2367 (BUS_ADRALN): Likewise.
2368 (BUS_ADRERR): Likewise.
2369 (BUS_OBJERR): Likewise.
2370 (BUS_MCEERR_AR): Likewise.
2371 (BUS_MCEERR_AO): Likewise.
2372 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2373 (TRAP_TRACE): Likewise.
2374 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2375 __USE_XOPEN2K8].
2376 (CLD_KILLED): Likewise.
2377 (CLD_DUMPED): Likewise.
2378 (CLD_TRAPPED): Likewise.
2379 (CLD_STOPPED): Likewise.
2380 (CLD_CONTINUED): Likewise.
2381 (POLL_IN): Likewise.
2382 (POLL_OUT): Likewise.
2383 (POLL_MSG): Likewise.
2384 (POLL_ERR): Likewise.
2385 (POLL_PRI): Likewise.
2386 (POLL_HUP): Likewise.
2387 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2388 (ILL_ILLOPN): Likewise.
2389 (ILL_ILLADR): Likewise.
2390 (ILL_ILLTRP): Likewise.
2391 (ILL_PRVOPC): Likewise.
2392 (ILL_PRVREG): Likewise.
2393 (ILL_COPROC): Likewise.
2394 (ILL_BADSTK): Likewise.
2395 (ILL_DBLFLT): Likewise.
2396 (ILL_HARDWALL): Likewise.
2397 (FPE_INTDIV): Likewise.
2398 (FPE_INTOVF): Likewise.
2399 (FPE_FLTDIV): Likewise.
2400 (FPE_FLTOVF): Likewise.
2401 (FPE_FLTUND): Likewise.
2402 (FPE_FLTRES): Likewise.
2403 (FPE_FLTINV): Likewise.
2404 (FPE_FLTSUB): Likewise.
2405 (SEGV_MAPERR): Likewise.
2406 (SEGV_ACCERR): Likewise.
2407 (BUS_ADRALN): Likewise.
2408 (BUS_ADRERR): Likewise.
2409 (BUS_OBJERR): Likewise.
2410 (BUS_MCEERR_AR): Likewise.
2411 (BUS_MCEERR_AO): Likewise.
2412 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2413 (TRAP_TRACE): Likewise.
2414 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2415 __USE_XOPEN2K8].
2416 (CLD_KILLED): Likewise.
2417 (CLD_DUMPED): Likewise.
2418 (CLD_TRAPPED): Likewise.
2419 (CLD_STOPPED): Likewise.
2420 (CLD_CONTINUED): Likewise.
2421 (POLL_IN): Likewise.
2422 (POLL_OUT): Likewise.
2423 (POLL_MSG): Likewise.
2424 (POLL_ERR): Likewise.
2425 (POLL_PRI): Likewise.
2426 (POLL_HUP): Likewise.
2427 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2428 (ILL_ILLOPN): Likewise.
2429 (ILL_ILLADR): Likewise.
2430 (ILL_ILLTRP): Likewise.
2431 (ILL_PRVOPC): Likewise.
2432 (ILL_PRVREG): Likewise.
2433 (ILL_COPROC): Likewise.
2434 (ILL_BADSTK): Likewise.
2435 (FPE_INTDIV): Likewise.
2436 (FPE_INTOVF): Likewise.
2437 (FPE_FLTDIV): Likewise.
2438 (FPE_FLTOVF): Likewise.
2439 (FPE_FLTUND): Likewise.
2440 (FPE_FLTRES): Likewise.
2441 (FPE_FLTINV): Likewise.
2442 (FPE_FLTSUB): Likewise.
2443 (SEGV_MAPERR): Likewise.
2444 (SEGV_ACCERR): Likewise.
2445 (BUS_ADRALN): Likewise.
2446 (BUS_ADRERR): Likewise.
2447 (BUS_OBJERR): Likewise.
2448 (BUS_MCEERR_AR): Likewise.
2449 (BUS_MCEERR_AO): Likewise.
2450 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2451 (TRAP_TRACE): Likewise.
2452 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2453 __USE_XOPEN2K8].
2454 (CLD_KILLED): Likewise.
2455 (CLD_DUMPED): Likewise.
2456 (CLD_TRAPPED): Likewise.
2457 (CLD_STOPPED): Likewise.
2458 (CLD_CONTINUED): Likewise.
2459 (POLL_IN): Likewise.
2460 (POLL_OUT): Likewise.
2461 (POLL_MSG): Likewise.
2462 (POLL_ERR): Likewise.
2463 (POLL_PRI): Likewise.
2464 (POLL_HUP): Likewise.
2465 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2466 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2467
bc61d27c
JM
2468 [BZ #16670]
2469 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2470 before #include of <time.h>.
2471 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2472 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2473 (test-xfail-UNIX98/sched.h/conform): Likewise.
2474
302949e2
MS
24752014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2476
2477 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2478 error absence of trapping exception support.
2479 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2480
a00f522a
JM
24812014-03-07 Joseph Myers <joseph@codesourcery.com>
2482
6f99f280
JM
2483 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2484 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2485 * timezone/Makefile (testdata): Move definition above include of
2486 Rules.
2487 (test-zones): New variable.
2488 (tests-special): Add zone files.
2489 (build-testdata): Use $(evaluate-test).
2490
0b20a9e8
JM
2491 * elf/Makefile (tests-special): Rename tests to end with .out.
2492 ($(objpfx)noload-mem): Likewise.
2493 ($(objpfx)tst-leaks1-mem): Likewise.
2494 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2495 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2496 $(objpfx)test-iconvconfig.out.
2497 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2498 set -e inside subshell and redirect output to file.
2499 * iconvdata/Makefile (generated): Rename tests to end with .out.
2500 Correct type.
2501 (tests-special): Rename tests to end with .out.
2502 ($(objpfx)mtrace-tst-loading): Likewise.
2503 * intl/Makefile (generated): Likewise.
2504 (tests-special): Likewise.
2505 ($(objpfx)mtrace-tst-gettext): Likewise.
2506 * misc/Makefile (generated): Likewise.
2507 (tests-special): Likewise.
2508 ($(objpfx)tst-error1-mem): Likewise.
2509 * nptl/Makefile (tests-special): Likewise.
2510 ($(objpfx)tst-stack3-mem): Likewise.
2511 (generated): Likewise.
2512 * posix/Makefile (generated): Likewise.
2513 (tests-special): Likewise.
2514 (xtests-special): Likewise.
2515 ($(objpfx)tst-fnmatch-mem): Likewise.
2516 ($(objpfx)bug-regex2-mem): Likewise.
2517 ($(objpfx)bug-regex14-mem): Likewise.
2518 ($(objpfx)bug-regex21-mem): Likewise.
2519 ($(objpfx)bug-regex31-mem): Likewise.
2520 ($(objpfx)tst-vfork3-mem): Likewise.
2521 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2522 ($(objpfx)tst-pcre-mem): Likewise.
2523 ($(objpfx)tst-boost-mem): Likewise.
2524 ($(objpfx)bug-ga2-mem): Likewise.
2525 ($(objpfx)bug-glob2-mem): Likewise.
2526 * resolv/Makefile (generate): Likewise.
2527 (tests-special): Likewise.
2528 (xtests-special): Likewise.
2529 (generated): Likewise.
2530 ($(objpfx)mtrace-tst-leaks): Likewise.
2531 ($(objpfx)mtrace-tst-leaks2): Likewise.
2532
265d52ab
JM
2533 * scripts/merge-test-results.sh: New file.
2534 * Makefile (tests-special-notdir): New variable.
2535 (tests): Run merge-test-results.sh.
2536 (xtests): Likewise.
2537 * Rules (tests-special-notdir): New variable.
2538 (xtests-special-notdir): Likewise.
2539 (tests): Run merge-test-results.sh
2540 (xtests): Likewise.
2541
54ee292d
JM
2542 * Makeconfig (test-xfail-name): New variable.
2543 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2544 compute variable name for expected failures.
2545 * conform/Makefile (conformtest-headers-data): New variable.
2546 (conformtest-standards): Likewise.
2547 (conformtest-headers-ISO): Likewise.
2548 (conformtest-headers-ISO99): Likewise.
2549 (conformtest-headers-ISO11): Likewise.
2550 (conformtest-headers-POSIX): Likewise.
2551 (conformtest-headers-XPG3): Likewise.
2552 (conformtest-headers-XPG4): Likewise.
2553 (conformtest-headers-UNIX98): Likewise.
2554 (conformtest-headers-XOPEN2K): Likewise.
2555 (conformtest-headers-POSIX2008): Likewise.
2556 (conformtest-headers-XOPEN2K8): Likewise.
2557 (conformtest-header-list-base): Likewise.
2558 (conformtest-header-list-tests): Likewise.
2559 (conformtest-header-base): Likewise.
2560 (conformtest-header-tests): Likewise.
2561 (tests-special): Add $(conformtest-header-list-tests). If
2562 [$(fast-check) && !$(cross-compiling)], add
2563 $(conformtest-header-tests) instead of
2564 $(objpfx)run-conformtest.out.
2565 (generated): Add $(conformtest-header-list-base). If
2566 [$(fast-check) && !$(cross-compiling)], add
2567 $(conformtest-header-base). Remove previous setting.
2568 ($(conformtest-header-list-tests)): New target.
2569 (test-xfail-run-conformtest): Remove variable.
2570 ($(objpfx)run-conformtest.out): Remove target.
2571 (test-xfail-ISO11/complex.h/conform): New variable.
2572 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2573 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2574 (test-xfail-XPG3/varargs.h/conform): Likewise.
2575 (test-xfail-XPG4/varargs.h/conform): Likewise.
2576 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2577 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2578 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2579 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2580 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2581 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2582 (test-xfail-XPG3/ftw.h/conform): Likewise.
2583 (test-xfail-XPG3/grp.h/conform): Likewise.
2584 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2585 (test-xfail-XPG3/limits.h/conform): Likewise.
2586 (test-xfail-XPG3/pwd.h/conform): Likewise.
2587 (test-xfail-XPG3/search.h/conform): Likewise.
2588 (test-xfail-XPG3/signal.h/conform): Likewise.
2589 (test-xfail-XPG3/stdio.h/conform): Likewise.
2590 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2591 (test-xfail-XPG3/string.h/conform): Likewise.
2592 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2593 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2594 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2595 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2596 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2597 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2598 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2599 (test-xfail-XPG3/termios.h/conform): Likewise.
2600 (test-xfail-XPG3/time.h/conform): Likewise.
2601 (test-xfail-XPG3/unistd.h/conform): Likewise.
2602 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2603 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2604 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2605 (test-xfail-XPG4/netdb.h/conform): Likewise.
2606 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2607 (test-xfail-XPG4/signal.h/conform): Likewise.
2608 (test-xfail-XPG4/stdio.h/conform): Likewise.
2609 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2610 (test-xfail-XPG4/stropts.h/conform): Likewise.
2611 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2612 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2613 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2614 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2615 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2616 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2617 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2618 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2619 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2620 (test-xfail-XPG4/termios.h/conform): Likewise.
2621 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2622 (test-xfail-XPG4/unistd.h/conform): Likewise.
2623 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2624 (test-xfail-POSIX/sched.h/conform): Likewise.
2625 (test-xfail-POSIX/signal.h/conform): Likewise.
2626 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2627 (test-xfail-POSIX/tar.h/conform): Likewise.
2628 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2629 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2630 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2631 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2632 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2633 (test-xfail-UNIX98/sched.h/conform): Likewise.
2634 (test-xfail-UNIX98/signal.h/conform): Likewise.
2635 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2636 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2637 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2638 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2639 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2640 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2641 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2642 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2643 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2644 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2645 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2646 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2647 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2648 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2649 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2650 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2651 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2652 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2653 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2654 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2655 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2656 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2657 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2658 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2659 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2660 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2661 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2662 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2663 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2664 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2665 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2666 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2667 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2668 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2669 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2670 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2671 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2672 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2673 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2674 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2675 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2676 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2677 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2678 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2679 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2680 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2681 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2682 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2683 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2684 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2685 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2686 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2687 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2688 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2689 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2690 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2691 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2692 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2693 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2694 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2695 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2696 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2697 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2698 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2699 (conformtest-cc-flags): Likewise.
2700 ($(conformtest-header-tests): New target.
2701 * conform/check-header-lists.sh: New file.
2702 * conform/run-conformtest.sh: Remove.
2703
a00f522a
JM
2704 * conform/conformtest.pl: Allow ' and \ in values given for
2705 constants.
2706 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2707 inclusion.
2708 [POSIX] (sys/types.h): Likewise.
2709 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2710 inclusion.
2711 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2712 inclusion.
2713 * conform/data/signal.h-data (SIGIO): Remove expectation.
2714 [XPG3] (SIGBUS): Do not expect.
2715 [POSIX || XPG3] (SIGPOLL): Likewise.
2716 [POSIX || XPG3] (SIGPROF): Likewise.
2717 [POSIX || XPG3] (SIGSYS): Likewise.
2718 [XPG3] (SIGTRAP): Likewise.
2719 [POSIX || XPG3] (SIGURG): Likewise.
2720 [POSIX || XPG3] (SIGVTALRM): Likewise.
2721 [POSIX || XPG3] (SIGXCPU): Likewise.
2722 [POSIX || XPG3] (SIGXFSZ): Likewise.
2723 [POSIX] (SA_SIGINFO): Expect.
2724 [XPG3] (siginfo_t): Do not expect type or contents.
2725 [POSIX] (si_pid): Do not expect element.
2726 [POSIX] (si_uid): Likewise.
2727 [POSIX] (si_addr): Likewise.
2728 [POSIX] (si_status): Likewise.
2729 [POSIX] (si_band): Likewise.
2730 [XPG4] (si_value): Likewise.
2731 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2732 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2733 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2734 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2735 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2736 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2737 [POSIX || XPG3] (ILL_COPROC): Likewise.
2738 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2739 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2740 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2741 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2742 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2743 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2744 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2745 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2746 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2747 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2748 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2749 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2750 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2751 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2752 [POSIX || XPG3] (CLD_EXITED): Likewise.
2753 [POSIX || XPG3] (CLD_KILLED): Likewise.
2754 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2755 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2756 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2757 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2758 [POSIX || XPG3] (POLL_IN): Likewise.
2759 [POSIX || XPG3] (POLL_OUT): Likewise.
2760 [POSIX || XPG3] (POLL_MSG): Likewise.
2761 [POSIX || XPG3] (POLL_ERR): Likewise.
2762 [POSIX || XPG3] (POLL_PRI): Likewise.
2763 [POSIX || XPG3] (POLL_HUP): Likewise.
2764 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2765 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2766 (SIG*): Do not allow.
2767 [XPG3] (si_*): Likewise.
2768 [XPG3] (SI_*): Likewise.
2769 [XPG3 || XPG4] (sigev_*): Likewise.
2770 [XPG3 || XPG4] (SIGEV_*): Likewise.
2771 [XPG3 || XPG4] (sival_*): Likewise.
2772 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2773 [POSIX || XPG3] (BUS_*): Likewise.
2774 [POSIX || XPG3] (CLD_*): Likewise.
2775 [POSIX || XPG3] (FPE_*): Likewise.
2776 [POSIX || XPG3] (ILL_*): Likewise.
2777 [POSIX || XPG3] (POLL_*): Likewise.
2778 [POSIX || XPG3] (SEGV_*): Likewise.
2779 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2780 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2781 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2782 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2783 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2784 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2785 Specify type and value.
2786 (TVERSLEN): Likewise.
2787 (REGTYPE): Likewise.
2788 (AREGTYPE): Likewise.
2789 (LNKTYPE): Likewise.
2790 (SYMTYPE): Likewise.
2791 (CHRTYPE): Likewise.
2792 (BLKTYPE): Likewise.
2793 (DIRTYPE): Likewise.
2794 (FIFOTYPE): Likewise.
2795 (CONTTYPE): Likewise.
2796 (TSUID): Likewise.
2797 (TSGID): Likewise.
2798 (TSVTX): Likewise.
2799 (TUREAD): Likewise.
2800 (TUWRITE): Likewise.
2801 (TUEXEC): Likewise.
2802 (TGREAD): Likewise.
2803 (TGWRITE): Likewise.
2804 (TGEXEC): Likewise.
2805 (TOREAD): Likewise.
2806 (TOWRITE): Likewise.
2807 (TOEXEC): Likewise.
2808 [POSIX] (TSVTX): Expect constant.
2809
aa97dee1
JM
28102014-03-06 Joseph Myers <joseph@codesourcery.com>
2811
f214606a
JM
2812 * Makefile (tests): Change dependencies to ....
2813 (tests-special): ... additions to this variable.
2814 (tests): Depend on $(tests-special).
2815 * Makerules (check-abi-list): New variable.
2816 (check-abi): Depend on $(check-abi-list).
2817 [$(subdir) = elf] (tests-special): Add
2818 $(objpfx)check-abi-libc.out.
2819 [$(build-shared) = yes && subdir] (tests-special): Add
2820 $(check-abi-list).
2821 [$(build-shared) = yes && subdir] (tests): Do not depend on
2822 check-abi.
2823 * Rules (tests): Depend on $(tests-special).
2824 (xtests): Depend on $(xtests-special).
2825 * catgets/Makefile (tests): Change dependencies to ....
2826 (tests-special): ... additions to this variable.
2827 * conform/Makefile (tests): Change dependencies to ....
2828 (tests-special): ... additions to this variable.
2829 * elf/Makefile (tests): Change dependencies to ....
2830 (tests-special): ... additions to this variable.
2831 * grp/Makefile (tests): Change dependencies to ....
2832 (tests-special): ... additions to this variable.
2833 * iconv/Makefile (xtests): Change dependencies to ....
2834 (xtests-special): ... additions to this variable.
2835 * iconvdata/Makefile (tests): Change dependencies to ....
2836 (tests-special): ... additions to this variable.
2837 * intl/Makefile (tests): Change dependencies to ....
2838 (tests-special): ... additions to this variable. Also add
2839 $(objpfx)tst-gettext.out.
2840 * io/Makefile (tests): Change dependencies to ....
2841 (tests-special): ... additions to this variable.
2842 * libio/Makefile (tests): Change dependencies to ....
2843 (tests-special): ... additions to this variable.
2844 * malloc/Makefile (tests): Change dependencies to ....
2845 (tests-special): ... additions to this variable.
2846 * misc/Makefile (tests): Change dependencies to ....
2847 (tests-special): ... additions to this variable.
2848 * nptl/Makefile (tests): Change dependencies to ....
2849 (tests-special): ... additions to this variable.
2850 * nptl_db/Makefile (tests): Change dependencies to ....
2851 (tests-special): ... additions to this variable.
2852 * posix/Makefile (tests): Change dependencies to ....
2853 (tests-special): ... additions to this variable.
2854 (xtests): Change dependencies to ....
2855 (xtests-special): ... additions to this variable.
2856 * resolv/Makefile (tests): Change dependencies to ....
2857 (tests-special): ... additions to this variable.
2858 (xtests): Change dependencies to ....
2859 (xtests-special): ... additions to this variable.
2860 * stdio-common/Makefile (tests): Change dependencies to ....
2861 (tests-special): ... additions to this variable.
2862 (do-tst-unbputc): Remove target.
2863 (do-tst-printf): Likewise.
2864 * stdlib/Makefile (tests): Change dependencies to ....
2865 (tests-special): ... additions to this variable.
2866 * string/Makefile (tests): Change dependencies to ....
2867 (tests-special): ... additions to this variable.
2868 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2869 (tests-special): ... additions to this variable.
2870
81700b53
JM
2871 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2872 whole file.
2873 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2874 whole file.
2875 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2876 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2877
2ea18461
JM
2878 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2879 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2880 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2881 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2882 * conform/data/libgen.h-data [XPG3]: Likewise.
2883 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2884 * conform/data/ndbm.h-data [XPG3]: Likewise.
2885 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2886 * conform/data/netdb.h-data [XPG3]: Likewise.
2887 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2888 * conform/data/poll.h-data [XPG3]: Likewise.
2889 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2890 * conform/data/strings.h-data [XPG3]: Likewise.
2891 * conform/data/stropts.h-data [XPG3]: Likewise.
2892 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2893 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2894 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2895 Likewise.
2896 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2897 * conform/data/sys/time.h-data [XPG3]: Likewise.
2898 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2899 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2900 * conform/data/sys/un.h-data [XPG3]: Likewise.
2901 * conform/data/syslog.h-data [XPG3]: Likewise.
2902 * conform/data/ucontext.h-data [XPG3]: Likewise.
2903 * conform/data/utmpx.h-data [XPG3]: Likewise.
2904 * conform/data/varargs.h-data [UNIX98]: Enable file.
2905
355bc986
JM
2906 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2907
215db402
JM
2908 * math/libm-test.inc (struct test_f_f_data): Move expected results
2909 into structure for each rounding mode.
2910 (struct test_ff_f_data): Likewise.
2911 (struct test_ff_f_data_nexttoward): Likewise.
2912 (struct test_fi_f_data): Likewise.
2913 (struct test_fl_f_data): Likewise.
2914 (struct test_if_f_data): Likewise.
2915 (struct test_fff_f_data): Likewise.
2916 (struct test_c_f_data): Likewise.
2917 (struct test_f_f1_data): Likewise.
2918 (struct test_fF_f1_data): Likewise.
2919 (struct test_ffI_f1_data): Likewise.
2920 (struct test_c_c_data): Likewise.
2921 (struct test_cc_c_data): Likewise.
2922 (struct test_f_i_data): Likewise.
2923 (struct test_ff_i_data): Likewise.
2924 (struct test_f_l_data): Likewise.
2925 (struct test_f_L_data): Likewise.
2926 (struct test_fFF_11_data): Likewise.
2927 (RM_): New macro.
2928 (RM_FE_DOWNWARD): Likewise.
2929 (RM_FE_TONEAREST): Likewise.
2930 (RM_FE_TOWARDZERO): Likewise.
2931 (RM_FE_UPWARD): Likewise.
2932 (RUN_TEST_LOOP_f_f): Update references to expected results.
2933 (RUN_TEST_LOOP_2_f): Likewise.
2934 (RUN_TEST_LOOP_fff_f): Likewise.
2935 (RUN_TEST_LOOP_c_f): Likewise.
2936 (RUN_TEST_LOOP_f_f1): Likewise.
2937 (RUN_TEST_LOOP_fF_f1): Likewise.
2938 (RUN_TEST_LOOP_fI_f1): Likewise.
2939 (RUN_TEST_LOOP_ffI_f1): Likewise.
2940 (RUN_TEST_LOOP_c_c): Likewise.
2941 (RUN_TEST_LOOP_cc_c): Likewise.
2942 (RUN_TEST_LOOP_f_i): Likewise.
2943 (RUN_TEST_LOOP_f_i_tg): Likewise.
2944 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2945 (RUN_TEST_LOOP_f_b): Likewise.
2946 (RUN_TEST_LOOP_f_b_tg): Likewise.
2947 (RUN_TEST_LOOP_f_l): Likewise.
2948 (RUN_TEST_LOOP_f_L): Likewise.
2949 (RUN_TEST_LOOP_fFF_11): Likewise.
2950 * math/gen-libm-test.pl (parse_args): Output four copies of
2951 expected results for each test.
2952
67737b8f
JM
2953 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2954 (__ASSUME_UTIMES): Remove.
2955 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2956 (__ASSUME_UTIMES): Likewise.
2957
aa97dee1
JM
2958 * math/gen-auto-libm-tests.c: Update comment on output format.
2959 (output_for_one_input_case): Generate before-rounding and
2960 after-rounding information as conditions on output flags not
2961 floating-point format.
2962 * math/auto-libm-test-out: Regenerated.
2963 * math/gen-libm-test.pl (cond_value): New function.
2964 (or_cond_value): Use cond_value.
2965 (generate_testfile): Handle conditional exceptions.
2966
e6b6a857
JM
29672014-03-05 Joseph Myers <joseph@codesourcery.com>
2968
2f0a0f44
JM
2969 * math/libm-test.inc (max_valid_error): New variable.
2970 (init_max_error): Take new argument specifying whether function
2971 results are exactly determined. Set max_valid_error and bound
2972 other variables for errors based on this argument.
2973 (set_max_error): Do not record results above max_valid_error.
2974 (check_float_internal): Only accept errors of up to 0.5ulps if
2975 also at most max_valid_error.
2976 (START): Take new argument EXACT and pass it to init_max_error.
2977 (acos_test): Update call to START.
2978 (acos_test_tonearest): Likewise.
2979 (acos_test_towardzero): Likewise.
2980 (acos_test_downward): Likewise.
2981 (acos_test_upward): Likewise.
2982 (acosh_test): Likewise.
2983 (asin_test): Likewise.
2984 (asin_test_tonearest): Likewise.
2985 (asin_test_towardzero): Likewise.
2986 (asin_test_downward): Likewise.
2987 (asin_test_upward): Likewise.
2988 (asinh_test): Likewise.
2989 (atan_test): Likewise.
2990 (atanh_test): Likewise.
2991 (atan2_test): Likewise.
2992 (cabs_test): Likewise.
2993 (cacos_test): Likewise.
2994 (cacosh_test): Likewise.
2995 (carg_test): Likewise.
2996 (casin_test): Likewise.
2997 (casinh_test): Likewise.
2998 (catan_test): Likewise.
2999 (catanh_test): Likewise.
3000 (cbrt_test): Likewise.
3001 (ccos_test): Likewise.
3002 (ccosh_test): Likewise.
3003 (ceil_test): Likewise.
3004 (cexp_test): Likewise.
3005 (cimag_test): Likewise.
3006 (clog_test): Likewise.
3007 (clog10_test): Likewise.
3008 (conj_test): Likewise.
3009 (copysign_test): Likewise.
3010 (cos_test): Likewise.
3011 (cos_test_tonearest): Likewise.
3012 (cos_test_towardzero): Likewise.
3013 (cos_test_downward): Likewise.
3014 (cos_test_upward): Likewise.
3015 (cosh_test): Likewise.
3016 (cosh_test_tonearest): Likewise.
3017 (cosh_test_towardzero): Likewise.
3018 (cosh_test_downward): Likewise.
3019 (cosh_test_upward): Likewise.
3020 (cpow_test): Likewise.
3021 (cproj_test): Likewise.
3022 (creal_test): Likewise.
3023 (csin_test): Likewise.
3024 (csinh_test): Likewise.
3025 (csqrt_test): Likewise.
3026 (ctan_test): Likewise.
3027 (ctan_test_tonearest): Likewise.
3028 (ctan_test_towardzero): Likewise.
3029 (ctan_test_downward): Likewise.
3030 (ctan_test_upward): Likewise.
3031 (ctanh_test): Likewise.
3032 (ctanh_test_tonearest): Likewise.
3033 (ctanh_test_towardzero): Likewise.
3034 (ctanh_test_downward): Likewise.
3035 (ctanh_test_upward): Likewise.
3036 (erf_test): Likewise.
3037 (erfc_test): Likewise.
3038 (exp_test): Likewise.
3039 (exp_test_tonearest): Likewise.
3040 (exp_test_towardzero): Likewise.
3041 (exp_test_downward): Likewise.
3042 (exp_test_upward): Likewise.
3043 (exp10_test): Likewise.
3044 (exp10_test_tonearest): Likewise.
3045 (exp10_test_towardzero): Likewise.
3046 (exp10_test_downward): Likewise.
3047 (exp10_test_upward): Likewise.
3048 (pow10_test): Likewise.
3049 (exp2_test): Likewise.
3050 (expm1_test): Likewise.
3051 (expm1_test_tonearest): Likewise.
3052 (expm1_test_towardzero): Likewise.
3053 (expm1_test_downward): Likewise.
3054 (expm1_test_upward): Likewise.
3055 (fabs_test): Likewise.
3056 (fdim_test): Likewise.
3057 (floor_test): Likewise.
3058 (fma_test): Likewise.
3059 (fma_test_towardzero): Likewise.
3060 (fma_test_downward): Likewise.
3061 (fma_test_upward): Likewise.
3062 (fmax_test): Likewise.
3063 (fmin_test): Likewise.
3064 (fmod_test): Likewise.
3065 (fpclassify_test): Likewise.
3066 (frexp_test): Likewise.
3067 (hypot_test): Likewise.
3068 (ilogb_test): Likewise.
3069 (isfinite_test): Likewise.
3070 (finite_test): Likewise.
3071 (isgreater_test): Likewise.
3072 (isgreaterequal_test): Likewise.
3073 (isinf_test): Likewise.
3074 (isless_test): Likewise.
3075 (islessequal_test): Likewise.
3076 (islessgreater_test): Likewise.
3077 (isnan_test): Likewise.
3078 (isnormal_test): Likewise.
3079 (issignaling_test): Likewise.
3080 (isunordered_test): Likewise.
3081 (j0_test): Likewise.
3082 (j1_test): Likewise.
3083 (jn_test): Likewise.
3084 (ldexp_test): Likewise.
3085 (lgamma_test): Likewise.
3086 (gamma_test): Likewise.
3087 (lrint_test): Likewise.
3088 (lrint_test_tonearest): Likewise.
3089 (lrint_test_towardzero): Likewise.
3090 (lrint_test_downward): Likewise.
3091 (lrint_test_upward): Likewise.
3092 (llrint_test): Likewise.
3093 (llrint_test_tonearest): Likewise.
3094 (llrint_test_towardzero): Likewise.
3095 (llrint_test_downward): Likewise.
3096 (llrint_test_upward): Likewise.
3097 (log_test): Likewise.
3098 (log10_test): Likewise.
3099 (log1p_test): Likewise.
3100 (log2_test): Likewise.
3101 (logb_test): Likewise.
3102 (logb_test_downward): Likewise.
3103 (lround_test): Likewise.
3104 (llround_test): Likewise.
3105 (modf_test): Likewise.
3106 (nearbyint_test): Likewise.
3107 (nextafter_test): Likewise.
3108 (nexttoward_test): Likewise.
3109 (pow_test): Likewise.
3110 (pow_test_tonearest): Likewise.
3111 (pow_test_towardzero): Likewise.
3112 (pow_test_downward): Likewise.
3113 (pow_test_upward): Likewise.
3114 (remainder_test): Likewise.
3115 (drem_test): Likewise.
3116 (remainder_test_tonearest): Likewise.
3117 (drem_test_tonearest): Likewise.
3118 (remainder_test_towardzero): Likewise.
3119 (drem_test_towardzero): Likewise.
3120 (remainder_test_downward): Likewise.
3121 (drem_test_downward): Likewise.
3122 (remainder_test_upward): Likewise.
3123 (drem_test_upward): Likewise.
3124 (remquo_test): Likewise.
3125 (rint_test): Likewise.
3126 (rint_test_tonearest): Likewise.
3127 (rint_test_towardzero): Likewise.
3128 (rint_test_downward): Likewise.
3129 (rint_test_upward): Likewise.
3130 (round_test): Likewise.
3131 (scalb_test): Likewise.
3132 (scalbn_test): Likewise.
3133 (scalbln_test): Likewise.
3134 (signbit_test): Likewise.
3135 (sin_test): Likewise.
3136 (sin_test_tonearest): Likewise.
3137 (sin_test_towardzero): Likewise.
3138 (sin_test_downward): Likewise.
3139 (sin_test_upward): Likewise.
3140 (sincos_test): Likewise.
3141 (sinh_test): Likewise.
3142 (sinh_test_tonearest): Likewise.
3143 (sinh_test_towardzero): Likewise.
3144 (sinh_test_downward): Likewise.
3145 (sinh_test_upward): Likewise.
3146 (sqrt_test): Likewise.
3147 (sqrt_test_tonearest): Likewise.
3148 (sqrt_test_towardzero): Likewise.
3149 (sqrt_test_downward): Likewise.
3150 (sqrt_test_upward): Likewise.
3151 (tan_test): Likewise.
3152 (tan_test_tonearest): Likewise.
3153 (tan_test_towardzero): Likewise.
3154 (tan_test_downward): Likewise.
3155 (tan_test_upward): Likewise.
3156 (tanh_test): Likewise.
3157 (tgamma_test): Likewise.
3158 (trunc_test): Likewise.
3159 (y0_test): Likewise.
3160 (y1_test): Likewise.
3161 (yn_test): Likewise.
3162 (significand_test): Likewise.
3163
e6b6a857
JM
3164 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3165 individual tests in comment.
3166 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3167 (prev_max_error): New variable.
3168 (prev_real_max_error): Likewise.
3169 (prev_imag_max_error): Likewise.
3170 (compare_ulp_data): Don't refer to test names in comment.
3171 (find_test_ulps): Remove function.
3172 (find_function_ulps): Likewise.
3173 (find_complex_function_ulps): Likewise.
3174 (init_max_error): Take function name as argument. Look up ulps
3175 for that function.
3176 (print_ulps): Remove function.
3177 (print_max_error): Use prev_max_error instead of calling
3178 find_function_ulps.
3179 (print_complex_max_error): Use prev_real_max_error and
3180 prev_imag_max_error instead of calling find_complex_function_ulps.
3181 (check_float_internal): Take max_ulp parameter instead of calling
3182 find_test_ulps. Don't call print_ulps.
3183 (check_float): Update call to check_float_internal.
3184 (check_complex): Update calls to check_float_internal.
3185 (START): Pass argument to init_max_error.
3186 * math/gen-libm-test.pl (%results): Don't include "kind"
3187 information.
3188 (parse_ulps): Don't handle ulps of individual tests.
3189 (print_ulps_file): Likewise.
3190 (output_ulps): Likewise.
3191 * math/README.libm-test: Update.
3192 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3193 individual tests.
3194 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3195 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3196 * sysdeps/arm/libm-test-ulps: Likewise.
3197 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3198 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3199 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3200 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3201 * sysdeps/microblaze/libm-test-ulps: Likewise.
3202 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3203 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3204 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3205 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3206 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3207 * sysdeps/sh/libm-test-ulps: Likewise.
3208 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3209 * sysdeps/tile/libm-test-ulps: Likewise.
3210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3211
45adef3c
JM
32122014-03-04 Joseph Myers <joseph@codesourcery.com>
3213
3214 * math/libm-test.inc (print_complex_max_error): Check separately
3215 whether real and imaginary errors are within allowed range and
3216 pass 0 to print_complex_function_ulps instead of value within
3217 allowed range.
3218
000232b9
SP
32192014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3220
d4b17258
SP
3221 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3222 formatting.
3223 (get_handles_fopen): Likewise.
3224 (do_write_test): Likewise.
3225
091eff71
SP
3226 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3227
fa3cd248
SP
3228 * libio/fileops.c (do_ftell): Use cached offset when
3229 available.
3230 * libio/iofwide.c (do_ftell_wide): Likewise.
3231 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3232 _IO_file_attach.
3233 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3234
000232b9
SP
3235 [BZ #16532]
3236 * libio/libioP.h (get_file_offset): New function.
3237 * libio/fileops.c (get_file_offset): Likewise.
3238 (do_ftell): Likewise.
3239 (_IO_new_file_seekoff): Split out ftell logic.
3240 * libio/wfileops.c (do_ftell_wide): Likewise.
3241 (_IO_wfile_seekoff): Split out ftell logic.
3242 * libio/tst-ftell-active-handler.c: New test case.
3243 * libio/Makefile (tests): Add it.
3244
116f4d1a
RM
32452014-03-03 Roland McGrath <roland@hack.frob.com>
3246
3247 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3248 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3249
532a6035
SP
32502014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3251
3252 [BZ #16639]
3253 * nscd/connections.c (nscd_init): Call do_exit.
3254 (start_threads): Call do_exit and notify_parent.
3255 (begin_drop_privileges): Call do_exit.
3256 (finish_drop_privileges): Likewise.
3257 * nscd/selinux.c (preserve_capabilities): Likewise.
3258 (install_real_capabilities): Likewise.
3259 (nscd_selinux_enabled): Likewise.
3260 (avc_create_thread): Likewise.
3261 (avc_alloc_lock): Likewise.
3262 (nscd_avc_init): Likewise.
3263 * nscd/nscd.c (parent_fd): New static variable.
3264 (main): Create a pipe between parent and child processes.
3265 Skip closing parent_fd.
3266 (monitor_child): New function.
3267 (do_exit): Likewise.
3268 (notify_parent): Likewise.
3269 * nscd/nscd.h (notify_parent): Likewise.
3270 (do_exit): Likewise.
3271
d6285c9f
CD
32722014-03-03 Carlos O'Donell <carlos@redhat.com>
3273
3274 * malloc/malloc.c (__libc_calloc): Revert last change.
3275
2b85d2a0
AZ
32762014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3277
3278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3279
c7debbdf
RS
32802014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3281
3282 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3284 implementation.
3285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3286 (__libc_ifunc_impl_list): Likewise.
3287 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3288 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3289 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3290 * string/strrchr.c: Define STRRCHR.
3291
235eed86
OB
32922014-02-28 Ondřej Bílka <neleai@seznam.cz>
3293
3294 * benchtest/bench-strtok.c (simple_strtok): Delete.
3295 (strtok_string): Use as benchmark.
3296 * string/strtok (STRTOK): New macro.
3297
8e25d1e7
CD
32982014-02-28 Carlos O'Donell <carlos@redhat.com>
3299
ef563f92
CD
3300 * manual/threads.texi: Add header and standard comments to all
3301 functions.
3302
8e25d1e7
CD
3303 * elf/dl-lookup.c (check_match): New function.
3304 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3305 (do_lookup_x): Remove nested function check_match. Use non-nested
3306 function check_match.
3307
ff71cc37
RM
33082014-02-28 Roland McGrath <roland@hack.frob.com>
3309
f08e9a26
RM
3310 * csu/Makefile (generated, before-compile): Use += rather than =.
3311 * catgets/Makefile (generated, generated-dirs): Likewise.
3312 * debug/Makefile (generated): Likewise.
3313 * dlfcn/Makefile (generated): Likewise.
3314 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3315 * iconvdata/Makefile (before-compile, generated): Likewise.
3316 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3317 * libio/Makefile (generated): Likewise.
3318 * malloc/Makefile (generated): Likewise.
3319 * manual/Makefile (generated, generated-dirs): Likewise.
3320 * misc/Makefile (generated): Likewise.
3321 * posix/Makefile (generated): Likewise.
3322 * resolv/Makefile (generated): Likewise.
3323 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3324 * timezone/Makefile (generated, generated-dirs): Likewise.
3325
ff71cc37
RM
3326 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3327
fe13a20c
AZ
33282014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3329
57f41c40
AS
3330 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3331 power8 implementation.
3332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3333 file: POWER8 llround ifunc implementation.
3334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3335 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
3336 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3337 POWER8 llround implementation.
3338
57f41c40
AS
3339 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3340 power8 implementation.
3341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3342 file: POWER8 llrint ifunc implementation.
3343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3344 Add POWER8 implementation.
1ad8950a
AZ
3345 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3346 POWER8 llrint implementation.
3347
57f41c40
AS
3348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3349 power8 implementation.
3350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3351 file: POWER8 finite ifunc implementation.
3352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3353 Add POWER8 implementation.
cac626d6
AZ
3354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3355 Likewise.
3356 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3357 POWER8 finite implementation.
3358 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3359
57f41c40
AS
3360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3361 power8 implementation.
3362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3363 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
3364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3365 POWER8 implementation.
3366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3367 Likewise.
57f41c40
AS
3368 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3369 isinf implementation.
4393fc11
AZ
3370 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3371
57f41c40
AS
3372 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3373 (INIT_ARCH): Add hwcap2 initialization.
3374 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3375 power8 implementation.
3376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3377 file: POWER8 isnan ifunc implementation.
487972ae
AZ
3378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3379 POWER8 implementation.
3380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3381 Likewise.
57f41c40
AS
3382 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3383 isnan implementation.
487972ae
AZ
3384 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3385
7d92b787
JY
33862014-02-27 Joey Ye <joey.ye@arm.com>
3387
3388 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3389 (_FP_NANFRAC_Q): Set to zero.
3390
1cadc858
SP
33912014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3392
3393 [BZ #16623]
3394 * math/auto-libm-test-in: New test inputs.
3395 * math/auto-libm-test-out: Regenerate.
3396 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3397 and DA.
3398 (__cos): Likewise.
3399 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3400
f8c17e79
JM
34012014-02-27 Joseph Myers <joseph@codesourcery.com>
3402
3403 * scripts/evaluate-test.sh: Take new argument indicating whether
3404 failure is expected.
3405 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3406 indicating whether failure is expected.
3407 * conform/Makefile (test-xfail-run-conformtest): New variable.
3408 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3409 level.
3410 * posix/Makefile (test-xfail-annexc): New variable.
3411 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3412
a5f891ac
JM
34132014-02-26 Joseph Myers <joseph@codesourcery.com>
3414
3415 * argp/Makefile: Include Makeconfig immediately after defining
3416 subdir.
3417 * assert/Makefile: Likewise.
3418 * benchtests/Makefile: Likewise.
3419 * catgets/Makefile: Likewise.
3420 * conform/Makefile: Likewise.
3421 * crypt/Makefile: Likewise.
3422 * csu/Makefile: Likewise.
3423 (all): Remove target.
3424 * ctype/Makefile: Include Makeconfig immediately after defining
3425 subdir.
3426 * debug/Makefile: Likewise.
3427 * dirent/Makefile: Likewise.
3428 * dlfcn/Makefile: Likewise.
3429 * gmon/Makefile: Likewise.
3430 * gnulib/Makefile: Likewise.
3431 * grp/Makefile: Likewise.
3432 * gshadow/Makefile: Likewise.
3433 * hesiod/Makefile: Likewise.
3434 * hurd/Makefile: Likewise.
3435 (all): Remove target.
3436 * iconvdata/Makefile: Include Makeconfig immediately after
3437 defining subdir.
3438 * inet/Makefile: Likewise.
3439 * intl/Makefile: Likewise.
3440 * io/Makefile: Likewise.
3441 * libio/Makefile: Likewise.
3442 (all): Remove target.
3443 * locale/Makefile: Include Makeconfig immediately after defining
3444 subdir.
3445 * login/Makefile: Likewise.
3446 * mach/Makefile: Likewise.
3447 (all): Remove target.
3448 * malloc/Makefile: Include Makeconfig immediately after defining
3449 subdir.
3450 (all): Remove target.
3451 * manual/Makefile: Include Makeconfig immediately after defining
3452 subdir.
3453 * math/Makefile: Likewise.
3454 * misc/Makefile: Likewise.
3455 * nis/Makefile: Likewise.
3456 * nss/Makefile: Likewise.
3457 * po/Makefile: Likewise.
3458 (all): Remove target.
3459 * posix/Makefile: Include Makeconfig immediately after defining
3460 subdir.
3461 * pwd/Makefile: Likewise.
3462 * resolv/Makefile: Likewise.
3463 * resource/Makefile: Likewise.
3464 * rt/Makefile: Likewise.
3465 * setjmp/Makefile: Likewise.
3466 * shadow/Makefile: Likewise.
3467 * signal/Makefile: Likewise.
3468 * socket/Makefile: Likewise.
3469 * soft-fp/Makefile: Likewise.
3470 * stdio-common/Makefile: Likewise.
3471 * stdlib/Makefile: Likewise.
3472 * streams/Makefile: Likewise.
3473 * string/Makefile: Likewise.
3474 * sunrpc/Makefile: Likewise.
3475 (all): Remove target.
3476 * sysvipc/Makefile: Include Makeconfig immediately after defining
3477 subdir.
3478 * termios/Makefile: Likewise.
3479 * time/Makefile: Likewise.
3480 * timezone/Makefile: Likewise.
3481 (all): Remove target.
3482 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3483 subdir.
3484 * wctype/Makefile: Likewise.
3485
5b456e9d
SE
34862014-02-26 Steve Ellcey <sellcey@mips.com>
3487
3488 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3489 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3490 (libc_feholdexcept_setround_mips): Ditto.
3491 (libc_feholdsetround): New.
3492 (libc_feholdsetroundf): New.
3493 (libc_feholdsetroundl): New.
3494 (libc_feupdateenv_test_mips): New.
3495 (libc_feupdateenv_test): New.
3496 (libc_feupdateenv_testf): New.
3497 (libc_feupdateenv_testl): New.
3498 (libc_feresetround): New.
3499 (libc_feresetroundf): New.
3500 (libc_feresetroundl): New.
3501 (libc_fetestexcept_mips): New.
3502 (libc_fetestexcept): New.
3503 (libc_fetestexceptf): New.
3504 (libc_fetestexceptl): New.
3505 (HAVE_RM_CTX): New.
3506 (libc_feholdexcept_setround_mips_ctx): New.
3507 (libc_feholdexcept_setround_ctx): New.
3508 (libc_feholdexcept_setroundf_ctx): New.
3509 (libc_feholdexcept_setroundl_ctx): New.
3510 (libc_fesetenv_mips_ctx): New.
3511 (libc_fesetenv_ctx): New.
3512 (libc_fesetenv_ctxf): New.
3513 (libc_fesetenv_ctxl): New.
3514 (libc_feupdateenv_mips_ctx): New.
3515 (libc_feupdateenv_ctx): New.
3516 (libc_feupdateenvf_ctx): New.
3517 (libc_feupdateenvl_ctx): New.
3518 (libc_feholdsetround_mips_ctx): New.
3519 (libc_feholdsetround_ctx): New.
3520 (libc_feholdsetroundf_ctx): New.
3521 (libc_feholdsetroundl_ctx): New.
3522 (libc_feresetround_mips_ctx): New.
3523 (libc_feresetround_ctx): New.
3524 (libc_feresetroundf_ctx): New.
3525 (libc_feresetroundl_ctx): New.
3526
085d0e35
CD
35272014-02-26 Carlos O'Donell <carlos@redhat.com>
3528
f067bf1f
CD
3529 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3530
085d0e35
CD
3531 * manual/ipc.texi: New file.
3532 * manual/Makefile (chapters): Add ipc.
3533 * manual/job.texi: Add "Inter-Process Communication" to next.
3534 * manual/process.texi: Add "Inter-Process Communication" to prev.
3535
86e58c08
AZ
35362014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3537
3538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3539
4248f0da
OB
35402014-02-26 Ondřej Bílka <neleai@seznam.cz>
3541
3542 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3543
cf822e3c
OB
3544 * manual/arith.texi: Fix spaces after sentences.
3545 * manual/charset.texi: Likewise.
3546 * manual/errno.texi: Likewise.
3547 * manual/install.texi: Likewise.
3548 * manual/llio.texi: Likewise.
3549 * manual/locale.texi: Likewise.
3550 * manual/maint.texi: Likewise.
3551 * manual/math.texi: Likewise.
3552 * manual/memory.texi: Likewise.
3553 * manual/message.texi: Likewise.
3554 * manual/probes.texi: Likewise.
3555 * manual/resource.texi: Likewise.
3556 * manual/signal.texi: Likewise.
3557 * manual/socket.texi: Likewise.
3558 * manual/stdio.texi: Likewise.
3559 * manual/string.texi: Likewise.
3560 * manual/time.texi: Likewise.
3561 * manual/users.texi: Likewise.
3562
ade40b10
CD
35632014-02-25 Carlos O'Donell <carlos@redhat.com>
3564
3565 [BZ #16632]
3566 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3567 _DEFAULT_SOURCE is defined.
3568
d0503676
CD
35692014-02-25 Ulrich Drepper <drepper@gmail.com>
3570 Carlos O'Donell <carlos@redhat.com>
3571
3572 [BZ #16613]
3573 * elf/dl-tls.c (_dl_count_modids): New function.
3574 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3575 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3576 audit library and increment generation counter.
3577 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3578 * elf/tst-audit9.c: New file.
3579 * elf/tst-auditmod9a.c: New file.
3580 * elf/tst-auditmod9b.c: New file.
3581 * elf/Makefile: Add rules to build and run tst-audit9.
3582
4cbf380c
FW
35832014-02-25 Florian Weimer <fweimer@redhat.com>
3584
3585 [BZ #15347]
3586 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3587
80a56cc3
WN
35882014-02-25 Will Newton <will.newton@linaro.org>
3589
3590 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3591 (__longjmp): Restore sp and lr before restoring callee
3592 saved registers. Add longjmp and longjmp_target
3593 SystemTap probe point.
3594 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3595 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3596 Define to zero to match jmpbuf layout.
3597 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3598 (__sigsetjmp): Save sp and lr before saving callee
3599 saved registers. Add setjmp SystemTap probe point.
3600
3ea0f74e
SL
36012014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3602
3603 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3604
b04acb26
AS
36052014-02-24 Andreas Schwab <schwab@suse.de>
3606
3607 [BZ #15804]
3608 * elf/pldd.c (wait_for_ptrace_stop): New function.
3609 (main): Call it after attaching.
3610
098ad55c
RM
36112014-02-22 Roland McGrath <roland@hack.frob.com>
3612
d4ec6ae1
RM
3613 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3614 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3615 Versions files is now verboten.
3616 * hurd/Versions (libc: GLIBC_2.0):
3617 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3618 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3619 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3620 * mach/Versions: Likewise.
3621
098ad55c
RM
3622 * csu/Versions: Remove unused %include.
3623 * resolv/Versions: Likewise.
3624
acd7f096
JM
36252014-02-21 Joseph Myers <joseph@codesourcery.com>
3626
f0881698
JM
3627 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3628 ($(objpfx)check-local-headers.out): Likewise.
3629 ($(objpfx)begin-end-check.out): Likewise.
3630 * Makerules (check-abi-%.out): Likewise.
3631 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3632 ($(objpfx)test2.cat): Likewise.
3633 ($(objpfx)de/libc.cat): Likewise.
3634 ($(objpfx)test-gencat.out): Likewise.
3635 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3636 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3637 ($(objpfx)noload-mem): Likewise.
3638 ($(objpfx)tst-pathopt.out): Likewise.
3639 ($(objpfx)tst-rtld-load-self.out): Likewise.
3640 ($(objpfx)tst-array1-cmp.out): Likewise.
3641 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3642 ($(objpfx)tst-array2-cmp.out): Likewise.
3643 ($(objpfx)tst-array3-cmp.out): Likewise.
3644 ($(objpfx)tst-array4-cmp.out): Likewise.
3645 ($(objpfx)tst-array5-cmp.out): Likewise.
3646 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3647 ($(objpfx)check-textrel.out): Likewise.
3648 ($(objpfx)check-execstack.out): Likewise.
3649 ($(objpfx)check-localplt.out): Likewise.
3650 ($(objpfx)order2-cmp.out): Likewise.
3651 ($(objpfx)tst-leaks1-mem): Likewise.
3652 ($(objpfx)tst-leaks1-static-mem): Likewise.
3653 ($(objpfx)tst-initorder-cmp.out): Likewise.
3654 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3655 ($(objpfx)tst-unused-dep.out): Likewise.
3656 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3657 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3658 * iconv/Makefile (test-iconvconfig): Likewise.
3659 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3660 ($(objpfx)iconv-test.out): Likewise.
3661 ($(objpfx)tst-tables.out): Likewise.
3662 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3663 ($(objpfx)tst-gettext.out): Likewise.
3664 ($(objpfx)tst-translit.out): Likewise.
3665 ($(objpfx)tst-gettext2.out): Likewise.
3666 ($(objpfx)tst-gettext4.out): Likewise.
3667 ($(objpfx)tst-gettext6.out): Likewise.
3668 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3669 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3670 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3671 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3672 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3673 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3674 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3675 ($(objpfx)wordexp-tst.out): Likewise.
3676 ($(objpfx)annexc.out): Likewise.
3677 ($(objpfx)tst-fnmatch-mem): Likewise.
3678 ($(objpfx)bug-regex2-mem): Likewise.
3679 ($(objpfx)bug-regex14-mem): Likewise.
3680 ($(objpfx)bug-regex21-mem): Likewise.
3681 ($(objpfx)bug-regex31-mem): Likewise.
3682 ($(objpfx)tst-vfork3-mem): Likewise.
3683 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3684 ($(objpfx)tst-pcre-mem): Likewise.
3685 ($(objpfx)tst-boost-mem): Likewise.
3686 ($(objpfx)tst-getconf.out): Likewise.
3687 ($(objpfx)bug-ga2-mem): Likewise.
3688 ($(objpfx)bug-glob2-mem): Likewise.
3689 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3690 ($(objpfx)mtrace-tst-leaks2): Likewise.
3691 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3692 ($(objpfx)tst-printf.out): Likewise.
3693 ($(objpfx)tst-setvbuf1.out): Likewise.
3694 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3695 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3696 ($(objpfx)tst-fmtmsg.out): Likewise.
3697 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3698 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3699
acd7f096
JM
3700 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3701 * bits/sigaction.h [__USE_MISC]: Likewise.
3702 * bits/waitstatus.h: Update #endif comments.
3703 * ctype/ctype.h: Likewise.
3704 * dirent/dirent.h: Likewise.
3705 [__USE_MISC]: Remove redundant conditionals.
3706 * grp/grp.h: Update #endif comments.
3707 [__USE_GNU]: Remove redundant conditionals.
3708 [__USE_MISC]: Likewise.
3709 * inet/netinet/in.h [__USE_GNU]: Likewise.
3710 * io/sys/stat.h [__USE_MISC]: Likewise.
3711 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3712 * libio/bits/stdio.h: Update #endif comments.
3713 [__USE_MISC]: Remove redundant conditionals.
3714 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3715 * libio/stdio.h: Update #endif comments.
3716 [__USE_MISC]: Remove redundant conditionals.
3717 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3718 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3719 * math/math.h: Update #else and #endif comments.
3720 [__USE_MISC]: Remove redundant conditionals.
3721 * misc/sys/uio.h: Update #endif comments.
3722 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3723 * posix/glob.h [__USE_MISC]: Likewise.
3724 * posix/sys/types.h: Update #endif comments.
3725 [__USE_MISC]: Remove redundant conditionals.
3726 * posix/sys/wait.h: Update #endif comments.
3727 [__USE_MISC]: Remove redundant conditionals.
3728 * posix/unistd.h: Update #endif comments.
3729 [__USE_MISC]: Remove redundant conditionals.
3730 * pwd/pwd.h [__USE_GNU]: Likewise.
3731 [__USE_MISC]: Likewise.
3732 * resolv/netdb.h [__USE_GNU]: Likewise.
3733 * signal/signal.h: Update #endif comments.
3734 [__USE_MISC]: Remove redundant conditionals.
3735 * stdlib/stdlib.h: Update #else and #endif comments.
3736 [__USE_MISC]: Remove redundant conditionals.
3737 [__USE_GNU]: Likewise.
3738 * string/bits/string2.h [__USE_MISC]: Likewise.
3739 * string/string.h: Update #endif comments.
3740 [__USE_MISC]: Remove redundant conditionals.
3741 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3742 Likewise.
3743 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3744 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3745 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3746 Likewise.
3747 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3748 Likewise.
3749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3750 comments.
3751 [__USE_MISC]: Remove redundant conditionals.
3752 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3753 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3754 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3755 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3756 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3757 Likewise.
3758 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3759 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3760 Likewise.
3761 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3762 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3763 Likewise.
3764 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3765 Likewise.
3766 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3767 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3768 Likewise.
3769 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3770 Likewise.
3771 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3772 * sysdeps/x86/bits/string.h: Update #endif comments.
3773 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3774 conditionals.
3775 * time/sys/time.h: Update #endif comments.
3776 * time/time.h: Likewise.
3777 [__USE_MISC]: Remove redundant conditionals.
3778
a5d82e4e
YG
37792014-02-21 Yury Gribov <y.gribov@samsung.com>
3780
3781 [BZ #16600]
3782 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3783
9a80491d
AS
37842014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3785
3786 * Versions.def (librt): Add GLIBC_2.17.
3787
105fa381
AC
37882014-02-21 Adam Conrad <adconrad@0c3.net>
3789
3790 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3791 synonym for _SYS_AUXV_H to allow direct inclusion.
3792 * sysdeps/sparc/bits/hwcap.h: Likewise.
3793 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3794 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3795 * sysdeps/sparc/sysdep.h: Likewise.
3796
b8cd1c4e
SP
37972014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3798
3799 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3800
bd939d23
RS
38012014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3802
3803 * benchtests/bench-strrchr.c: Print length instead of position.
3804
5d7b57ca
JM
38052014-02-20 Joseph Myers <joseph@codesourcery.com>
3806
bc688c10
JM
3807 [BZ #16611]
3808 * sysdeps/unix/sysv/linux/kernel-features.h
3809 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3810 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3811 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3812 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3813 Likewise.
3814 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3815 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3816 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3817 (__ASSUME_SENDMMSG): Define instead of using previous
3818 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3819 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3820 (__ASSUME_SENDMMSG_SYSCALL): Define.
3821 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3822 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3823 Likewise.
3824 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3825 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3826 Likewise.
3827 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3828 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3829 Likewise.
3830 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3831 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3832 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3833 [__ASSUME_SENDMMSG]: Change conditionals to
3834 [__ASSUME_SENDMMSG_SOCKETCALL].
3835 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3836 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3837 Define.
3838 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3839 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3840 Likewise.
3841 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3842 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3843 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3844 [!__ASSUME_SENDMMSG]: Change conditional to
3845 [!__ASSUME_SENDMMSG_SOCKETCALL].
3846 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3847 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3848 Define.
3849
0e31b18c
JM
3850 [BZ #16610]
3851 * sysdeps/unix/sysv/linux/kernel-features.h
3852 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3853 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3854 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3855 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3856 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3857 [__i386__ || __sparc__]
3858 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3859 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3860 (__ASSUME_RECVMMSG): Define instead of using previous
3861 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3862 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3863 (__ASSUME_RECVMMSG_SYSCALL): Define.
3864 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3865 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3866 Likewise.
3867 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3868 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3869 Likewise.
3870 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3871 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3872 Likewise.
3873 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3874 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3875 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3876 [__ASSUME_RECVMMSG]: Change condition to
3877 [__ASSUME_RECVMMSG_SOCKETCALL].
3878 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3879 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3880 Define.
3881 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3882 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3883 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3884 Likewise.
3885 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3886 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3887 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3888 [!__ASSUME_RECVMMSG]: Change condition to
3889 [!__ASSUME_RECVMMSG_SOCKETCALL].
3890 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3891 (__ASSUME_RECVMMSG_SYSCALL): Define.
3892
dd481ccf
JM
3893 [BZ #16609]
3894 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3895 __powerpc__ || __s390__ || __sh__ || __sparc__]
3896 (__ASSUME_SOCKETCALL): Define.
3897 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3898 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3899 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3900 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3901 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3902 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3903 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3904 (__ASSUME_ACCEPT4): Define instead of using previous
3905 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3906 __powerpc__ || __sparc__ || __s390__)] condition.
3907 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3908 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3909 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3910 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3911 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3912 [!__ASSUME_ACCEPT4]: Change condition to
3913 [!__ASSUME_ACCEPT4_SOCKETCALL].
3914 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3915 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3916 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3917 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3918 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3919 __ASSUME_ACCEPT4_SYSCALL.
3920 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3921 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3922 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3923 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3924 __ASSUME_ACCEPT4_SYSCALL.
3925 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3926 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3927 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3928 [__ASSUME_ACCEPT4]: Change condition to
3929 [__ASSUME_ACCEPT4_SOCKETCALL].
3930 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3931 (__ASSUME_SOCKETCALL): Define.
3932 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3933 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3934 (__ASSUME_SOCKETCALL): Define.
3935 (__ASSUME_ACCEPT4): Remove.
3936 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3937 Define.
3938 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3939 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3940 Likewise.
3941 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3942 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3943
5d7b57ca
JM
3944 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3945 macro.
3946 (HWCAP_ARM_LPAE): Likewise.
3947 (HWCAP_ARM_EVTSTRM): Likewise.
3948 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3949 Add vpfd32, lpae and evtstrm.
3950 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3951 Increase to 22.
3952
63689d61
JM
39532014-02-19 Joseph Myers <joseph@codesourcery.com>
3954
3955 * math/auto-libm-test-in: Add tests of clog10.
3956 * math/auto-libm-test-out: Regenerated.
3957 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3958 * sysdeps/i386/fpu/libm-test-ulps: Update.
3959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3960
ab09bf61
AS
39612014-02-18 Andreas Schwab <schwab@suse.de>
3962
3963 [BZ #16574]
3964 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3965 Store non-zero if the second buffer was newly allocated.
3966 (send_dg): Likewise.
3967 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3968 to send_vc and send_dg.
3969 (res_nsend): Pass NULL for ansp2_malloced.
3970 * resolv/res_query.c (__libc_res_nquery): Add parameter
3971 answerp2_malloced and pass it down to __libc_res_nsend.
3972 (res_nquery): Pass additional NULL to __libc_res_nquery.
3973 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3974 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3975 second answer buffer if answerp2_malloced was set.
3976 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3977 (__libc_res_nquerydomain): Add parameter
3978 answerp2_malloced and pass it down to __libc_res_nquery.
3979 (res_nquerydomain): Pass additional NULL to
3980 __libc_res_nquerydomain.
3981 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3982 additional NULL to __libc_res_nsend and __libc_res_nquery.
3983 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3984 additional NULL to __libc_res_nsearch.
3985 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3986 parameter of __libc_res_nsearch to check for separately allocated
3987 second buffer.
3988 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3989 __libc_res_nquery.
3990 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3991 additional NULL to __libc_res_nquery.
3992 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3993 __libc_res_nsearch.
3994 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3995 * include/resolv.h: Update prototypes of __libc_res_nquery,
3996 __libc_res_nsearch, __libc_res_nsend.
3997
a4fb7861
JM
39982014-02-18 Joseph Myers <joseph@codesourcery.com>
3999
c6af2d89
JM
4000 * math/auto-libm-test-in: Add tests of fma.
4001 * math/auto-libm-test-out: Regenerated.
4002 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4003 (fma_towardzero_test_data): Likewise.
4004 (fma_downward_test_data): Likewise.
4005 (fma_upward_test_data): Likewise.
4006 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4007 mpc_mode.
4008 (rounding_modes): Add values for new field.
4009 (func_calc_method): Add value mpfr_fff_f.
4010 (func_calc_desc): Add mpfr_fff_f union field.
4011 (test_function): Add field exact_args.
4012 (FUNC): Add macro argument EXACT_ARGS.
4013 (FUNC_mpfr_f_f): Update call to FUNC.
4014 (FUNC_mpfr_f_f): Likewise.
4015 (FUNC_mpfr_ff_f): Likewise.
4016 (FUNC_mpfr_if_f): Likewise.
4017 (FUNC_mpc_c_f): Likewise.
4018 (FUNC_mpc_c_c): Likewise.
4019 (test_functions): Add fma. Update calls to FUNC.
4020 (handle_input_arg): Add argument exact_args.
4021 (add_test): Update call to handle_input_arg.
4022 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
4023 (output_for_one_input_case): Update call to calc_generic_results.
4024 Recalculate exact zero results in each rounding mode.
4025
a4fb7861
JM
4026 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4027 non-negative before setting low bit.
4028 * math/auto-libm-test-in: Mark one asin test possibly having
4029 spurious underflow.
4030 * math/auto-libm-test-out: Regenerated.
4031 * sysdeps/i386/fpu/libm-test-ulps: Update.
4032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4033
ef114eaf
DH
40342014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
4035
2b7f4f2c
SP
4036 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4037 * sysdeps/unix/sysv/linux/microblaze: Move directory from
4038 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
4039 * README: Add missing listing for microblaze*-*-linux-gnu.
4040
c70a4b1d
MF
40412014-02-16 Mike Frysinger <vapier@gentoo.org>
4042
4043 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4044 * sysdeps/unix/sysv/linux/ia64: Move directory from
4045 ports/sysdeps/unix/sysv/linux/ia64.
4046 * README: Update listing for ia64-*-linux-gnu.
4047
591aeaf7
TD
40482014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
4049 Joseph Myers <joseph@codesourcery.com>
4050
4051 * Makeconfig (test-name): New variable.
4052 (evaluate-test): Likewise.
4053 * Makerules (do-test-clean): Remove .test-result files.
4054 (common-mostlyclean): Likewise.
4055 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
4056 * scripts/evaluate-test.sh: New file.
4057
6e89caf1
JM
40582014-02-14 Joseph Myers <joseph@codesourcery.com>
4059
7f98f180
JM
4060 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
4061 separate $(objpfx)tst-fopenloc-cmp.out and
4062 $(objpfx)tst-fopenloc-mem.out targets.
4063 (tests): Update dependencies.
4064 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
4065 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
4066 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
4067 (tst-rxspencer-no-utf8-ARGS): New variable.
4068 (tst-rxspencer-no-utf8-ENV): Likewise.
4069 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
4070 instead of $(objpfx)tst-rxspencer-mem.
4071 ($(objpfx)tst-rxspencer-mem): Change target to
4072 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
4073 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
4074 * posix/tst-rxspencer-no-utf8.c: New file.
4075
6e89caf1
JM
4076 * elf/Makefile ($(objpfx)order.out): Remove rule.
4077 [$(run-built-tests) = yes] (tests): Depend on
4078 $(objpfx)order-cmp.out.
4079 ($(objpfx)order-cmp.out): New rule.
4080 [$(run-built-tests) = yes] (tests): Depend on
4081 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
4082 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
4083 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
4084 $(objpfx)tst-array5-static-cmp.out.
4085 ($(objpfx)tst-array1.out): Remove rule.
4086 ($(objpfx)tst-array1-cmp.out): New rule.
4087 ($(objpfx)tst-array1-static.out): Remove rule.
4088 ($(objpfx)tst-array1-static-cmp.out): New rule.
4089 ($(objpfx)tst-array2.out): Remove rule.
4090 ($(objpfx)tst-array2-cmp.out): New rule.
4091 ($(objpfx)tst-array3.out): Remove rule.
4092 ($(objpfx)tst-array3-cmp.out): New rule.
4093 ($(objpfx)tst-array4.out): Remove rule.
4094 ($(objpfx)tst-array4-cmp.out): New rule.
4095 ($(objpfx)tst-array5.out): Remove rule.
4096 ($(objpfx)tst-array5-cmp.out): New rule.
4097 ($(objpfx)tst-array5-static.out): Remove rule.
4098 ($(objpfx)tst-array5-static-cmp.out): New rule.
4099 [$(run-built-tests) = yes] (tests): Depend on
4100 $(objpfx)order2-cmp.out.
4101 ($(objpfx)order2.out): Remove rule.
4102 ($(objpfx)order2-cmp.out): New rule.
4103 ($(objpfx)tst-initorder.out): Remove rule.
4104 [$(run-built-tests) = yes] (tests): Depend on
4105 $(objpfx)tst-initorder-cmp.out.
4106 ($(objpfx)tst-initorder-cmp.out): New rule.
4107 ($(objpfx)tst-initorder2.out): Remove rule.
4108 [$(run-built-tests) = yes] (tests): Depend on
4109 $(objpfx)tst-initorder2-cmp.out.
4110 ($(objpfx)tst-initorder2-cmp.out): New rule.
4111 [$(run-built-tests) = yes] (tests): Depend on
4112 $(objpfx)tst-unused-dep-cmp.out.
4113 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
4114 ($(objpfx)tst-unused-dep-cmp.out): New rule.
4115 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
4116 on $(objpfx)tst-setvbuf1-cmp.out.
4117 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
4118 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
4119 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
4120 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
4121 ($(objpfx)tst-svc.out): Remove rule.
4122 ($(objpfx)tst-svc-cmp.out): New rule.
4123
ed9a38e2
JM
41242014-02-13 Joseph Myers <joseph@codesourcery.com>
4125
4126 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
4127 * ctype/ctype.h [__USE_MISC]: Likewise.
4128 * dirent/dirent.h [__USE_MISC]: Likewise.
4129 * grp/grp.h [__USE_MISC]: Likewise.
4130 * io/fcntl.h [__USE_MISC]: Likewise.
4131 * io/sys/stat.h [__USE_MISC]: Likewise.
4132 * libio/stdio.h [__USE_MISC]: Likewise.
4133 * posix/unistd.h [__USE_MISC]: Likewise.
4134 * pwd/pwd.h [__USE_MISC]: Likewise.
4135 * stdlib.h [__USE_MISC]: Likewise.
4136 * string/bits/string2.h [__USE_MISC]: Likewise.
4137 * string/string.h [__USE_MISC]: Likewise.
4138 * time/time.h [__USE_MISC]: Likewise.
4139
d6680619
AS
41402014-02-13 Andreas Schwab <schwab@suse.de>
4141
4142 [BZ #16574]
4143 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
4144 second answer buffer if it was separately allocated.
4145
ace614b8
JM
41462014-02-12 Joseph Myers <joseph@codesourcery.com>
4147
743151ae
JM
4148 * sysdeps/mips/math-tests.h: Include <features.h>.
4149 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4150 (ROUNDING_TESTS_long_double): Do not define.
4151 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
4152 (EXCEPTION_TESTS_long_double): Likewise.
4153 * sysdeps/mips/mips64/libm-test-ulps: Update.
4154
498afc54
JM
4155 * include/features.h (__USE_BSD): Remove macro definitions.
4156 (__USE_SVID): Likewise.
4157 (_BSD_SOURCE): Likewise.
4158 (_SVID_SOURCE): Likewise.
4159 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4160 from definition of _DEFAULT_SOURCE.
4161 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4162 [_DEFAULT_SOURCE].
4163 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4164 * bits/mman.h [__USE_BSD]: Likewise.
4165 * bits/termios.h [__USE_BSD]: Likewise.
4166 * bits/waitstatus.h [__USE_BSD]: Likewise.
4167 * ctype/ctype.h [__USE_SVID]: Likewise.
4168 * dirent/dirent.h [__USE_BSD]: Likewise.
4169 * grp/grp.h [__USE_SVID]: Likewise.
4170 [__USE_BSD]: Likewise.
4171 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4172 * io/fcntl.h [__USE_BSD]: Likewise.
4173 * io/ftw.h [__USE_BSD]: Likewise.
4174 * io/sys/stat.h [__USE_BSD]: Likewise.
4175 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4176 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4177 * libio/stdio.h [__USE_SVID]: Likewise.
4178 [__USE_BSD]: Likewise.
4179 * math/math.h [__USE_SVID]: Likewise.
4180 [__USE_BSD]: Likewise.
4181 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4182 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4183 * misc/search.h [__USE_SVID]: Likewise.
4184 * misc/sys/mman.h [__USE_BSD]: Likewise.
4185 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4186 * misc/sys/uio.h [__USE_BSD]: Likewise.
4187 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4188 * posix/glob.h [__USE_BSD]: Likewise.
4189 * posix/regex.h [__USE_BSD]: Likewise.
4190 * posix/sys/types.h [__USE_BSD]: Likewise.
4191 [__USE_SVID]: Likewise.
4192 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4193 * posix/sys/wait.h [__USE_BSD]: Likewise.
4194 [__USE_SVID]: Likewise.
4195 * posix/unistd.h [__USE_BSD]: Likewise.
4196 [__USE_SVID]: Likewise.
4197 * pwd/pwd.h [__USE_SVID]: Likewise.
4198 * resolv/netdb.h [__USE_BSD]: Likewise.
4199 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4200 * signal/signal.h [__USE_BSD]: Likewise.
4201 [__USE_SVID]: Likewise.
4202 * socket/sys/socket.h [__USE_BSD]: Likewise.
4203 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4204 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4205 [__USE_SVID]: Likewise.
4206 * string/bits/string2.h [__USE_BSD]: Likewise.
4207 [__USE_SVID]: Likewise.
4208 * string/bits/string3.h [__USE_BSD]: Likewise.
4209 * string/endian.h [__USE_BSD]: Likewise.
4210 * string/string.h [__USE_SVID]: Likewise.
4211 [__USE_BSD]: Likewise.
4212 * string/strings.h [__USE_BSD]: Likewise.
4213 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4214 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4215 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4216 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4217 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4218 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4219 Likewise.
4220 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4221 Likewise.
4222 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4223 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4224 Likewise.
4225 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4226 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4227 Likewise.
4228 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4229 Likewise.
4230 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4231 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4232 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4233 Likewise.
4234 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4235 Likewise.
4236 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4237 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4238 * termios/termios.h [__USE_BSD]: Likewise.
4239 * time/sys/time.h [__USE_BSD]: Likewise.
4240 * time/time.h [__USE_BSD]: Likewise.
4241 [__USE_SVID]: Likewise.
4242
dd7b064c
JM
4243 * Makefile (subdir_targets): Remove subdir_lint.out.
4244
a2c4c199
JM
4245 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4246 (do-tst-printf): Likewise.
4247 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4248 $(objpfx)tst-printf.out.
4249
8756f740
JM
4250 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4251
1b6dd3f1
JM
4252 * Makerules (check-abi-%): Change target to
4253 $(objpfx)check-abi-%.out.
4254 (check-abi target): Update dependencies.
4255 (check-abi-pattern variable): Redirect output of diff to $@.
4256 (check-abi variable): Likewise.
4257 * elf/Makefile (check-abi): Update dependencies.
4258
ace614b8
JM
4259 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4260 unused.
4261 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4262 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4263 subnormal range.
4264 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4265 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4266 value has largest subnormal exponent.
4267 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4268 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4269 * sysdeps/aarch64/soft-fp/sfp-machine.h
4270 (_FP_TININESS_AFTER_ROUNDING): New macro.
4271 * sysdeps/alpha/soft-fp/sfp-machine.h
4272 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4273 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4274 Likewise.
4275 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4276 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4277 * sysdeps/mips/soft-fp/sfp-machine.h
4278 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4279 * sysdeps/powerpc/soft-fp/sfp-machine.h
4280 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4281 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4282 Likewise.
4283 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4284 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4285 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4286 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4287 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4288 Likewise.
4289
fbfdf9cb
DAS
42902014-02-12 Dylan Alex Simon <dylan@dylex.net>
4291
4292 [BZ #16545]
4293 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4294 model 1.
4295
68b7efaa
RH
42962014-02-12 Richard Henderson <rth@redhat.com>
4297
c70a4b1d 4298 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
4299 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4300 * sysdeps/unix/sysv/linux/alpha: Move directory from
4301 ports/sysdeps/unix/sysv/linux/alpha.
4302 * README: Update listing for alpha-*-linux-gnu.
4303
cb4a2928
JM
43042014-02-11 Joseph Myers <joseph@codesourcery.com>
4305
c941736c
JM
4306 * include/features.h: Update comment documenting feature test
4307 macros.
4308 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4309 _DEFAULT_SOURCE.
4310 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4311 (_SVID_SOURCE): Likewise.
4312 (_DEFAULT_SOURCE): Update description of default features.
4313 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4314 with _GNU_SOURCE.
4315 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4316 (S_ISVTX): Likewise.
4317 * manual/math.texi (Mathematical Constants): Likewise.
4318 * manual/signal.texi (Interrupted Primitives): Likewise.
4319 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4320 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4321 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4322 Don't refer to _SVID_SOURCE in warning text.
4323
e8d8d7ec
JM
4324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4325
cb4a2928
JM
4326 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4327 already defined.
4328 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4329 * sysdeps/mips/dl-lookup.c: Remove.
4330 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4331
7e6424e3
AK
43322014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4333
4334 [BZ #16447]
4335 * math/auto-libm-test-in: Add testcase for expl.
4336 * math/auto-libm-test-out: Regenerate.
4337 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4338 calculation of unsafe.
4339 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4340
75eff3fe
MS
43412014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4342
4343 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4344 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4345 ports/sysdeps/unix/sysv/linux/aarch64.
4346 * README: Update listing for aarch64*-*-linux-gnu.
4347
d35f1e80
WN
43482014-02-11 Will Newton <will.newton@linaro.org>
4349
4350 * manual/probes.texi (Mathematical Function Probes): Use
4351 "triggered" instead of "hit".
4352
7b3436d4
WN
4353 * manual/probes.texi (Internal Probes): Add documentation
4354 of setjmp, longjmp and longjmp_target probes.
4355
b4f12ca3
WN
4356 * include/stap-probe.h: Add comment about probe argument
4357 format.
4358
c13a72b7
WN
4359 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4360 definition. (tr_where, tr_freehook, tr_mallochook,
4361 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4362
195b8165
DM
43632014-02-11 David S. Miller <davem@davemloft.net>
4364
4365 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4366 processing int_tests.
4367
2ad7600b
JM
43682014-02-10 Joseph Myers <joseph@codesourcery.com>
4369
4370 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4371 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4372 * sysdeps/unix/sysv/linux/mips: Move directory from
4373 ports/sysdeps/unix/sysv/linux/mips.
4374 * README: Update listing for mips-*-linux-gnu and
4375 mips64-*-linux-gnu.
4376
73588a72
AS
43772014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4378
4379 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4380 * sysdeps/unix/sysv/linux/m68k: Move directory from
4381 ports/sysdeps/unix/sysv/linux/m68k.
4382 * README: Update listing for m68k-*-linux-gnu.
4383
4372980f
CM
43842014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4385
4386 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4387 * sysdeps/unix/sysv/linux/generic: Move directory from
4388 ports/sysdeps/unix/sysv/linux/generic.
4389 * sysdeps/unix/sysv/linux/tile: Move directory from
4390 ports/sysdeps/unix/sysv/linux/tile.
4391 * README: Update listing for tile*-*-linux-gnu.
4392
a1ffb40e
OB
43932014-02-10 Ondřej Bílka <neleai@seznam.cz>
4394
57f41c40
AS
4395 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4396 __builtin_expect.
a1ffb40e
OB
4397 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4398 * catgets/open_catalog.c (__open_catalog): Likewise.
4399 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4400 * debug/confstr_chk.c: Likewise.
4401 * debug/fread_chk.c (__fread_chk): Likewise.
4402 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4403 * debug/getgroups_chk.c: Likewise.
4404 * debug/mbsnrtowcs_chk.c: Likewise.
4405 * debug/mbsrtowcs_chk.c: Likewise.
4406 * debug/mbstowcs_chk.c: Likewise.
4407 * debug/memcpy_chk.c: Likewise.
4408 * debug/memmove_chk.c: Likewise.
4409 * debug/mempcpy_chk.c: Likewise.
4410 * debug/memset_chk.c: Likewise.
4411 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4412 * debug/strcat_chk.c (__strcat_chk): Likewise.
4413 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4414 * debug/strncat_chk.c (__strncat_chk): Likewise.
4415 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4416 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4417 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4418 * debug/wcpncpy_chk.c: Likewise.
4419 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4420 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4421 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4422 * debug/wcsncpy_chk.c: Likewise.
4423 * debug/wcsnrtombs_chk.c: Likewise.
4424 * debug/wcsrtombs_chk.c: Likewise.
4425 * debug/wcstombs_chk.c: Likewise.
4426 * debug/wmemcpy_chk.c: Likewise.
4427 * debug/wmemmove_chk.c: Likewise.
4428 * debug/wmempcpy_chk.c: Likewise.
4429 * debug/wmemset_chk.c: Likewise.
4430 * dirent/scandirat.c (SCANDIRAT): Likewise.
4431 * dlfcn/dladdr1.c (dladdr1): Likewise.
4432 * dlfcn/dladdr.c (dladdr): Likewise.
4433 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4434 * dlfcn/dlerror.c (__dlerror): Likewise.
4435 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4436 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4437 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4438 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4439 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4440 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4441 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4442 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4443 Likewise.
4444 * elf/dl-conflict.c: Likewise.
4445 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4446 * elf/dl-dst.h: Likewise.
4447 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4448 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4449 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4450 * elf/dl-init.c (call_init, _dl_init): Likewise.
4451 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
4452 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4453 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4454 Likewise.
a1ffb40e
OB
4455 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4456 Likewise.
4457 * elf/dl-minimal.c (__libc_memalign): Likewise.
4458 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4459 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4460 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4461 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
4462 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4463 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
4464 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4465 * elf/dl-writev.h (_dl_writev): Likewise.
4466 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
4467 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4468 (dl_main): Likewise.
a1ffb40e
OB
4469 * elf/setup-vdso.h (setup_vdso): Likewise.
4470 * grp/compat-initgroups.c (compat_call): Likewise.
4471 * grp/fgetgrent.c (fgetgrent): Likewise.
4472 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4473 * grp/putgrent.c (putgrent): Likewise.
4474 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4475 Likewise.
4476 * hurd/hurdinit.c: Likewise.
4477 * iconvdata/8bit-gap.c (struct): Likewise.
4478 * iconvdata/ansi_x3.110.c : Likewise.
4479 * iconvdata/big5.c : Likewise.
4480 * iconvdata/big5hkscs.c : Likewise.
4481 * iconvdata/cp1255.c: Likewise.
4482 * iconvdata/cp1258.c : Likewise.
4483 * iconvdata/cp932.c : Likewise.
4484 * iconvdata/euc-cn.c: Likewise.
4485 * iconvdata/euc-jisx0213.c : Likewise.
4486 * iconvdata/euc-jp.c: Likewise.
4487 * iconvdata/euc-jp-ms.c : Likewise.
4488 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4489 * iconvdata/gb18030.c : Likewise.
4490 * iconvdata/gbbig5.c (const): Likewise.
4491 * iconvdata/gbgbk.c: Likewise.
4492 * iconvdata/gbk.c : Likewise.
4493 * iconvdata/ibm1364.c : Likewise.
4494 * iconvdata/ibm930.c : Likewise.
4495 * iconvdata/ibm932.c: Likewise.
4496 * iconvdata/ibm933.c : Likewise.
4497 * iconvdata/ibm935.c : Likewise.
4498 * iconvdata/ibm937.c : Likewise.
4499 * iconvdata/ibm939.c : Likewise.
4500 * iconvdata/ibm943.c: Likewise.
4501 * iconvdata/iso_11548-1.c: Likewise.
4502 * iconvdata/iso-2022-cn.c : Likewise.
4503 * iconvdata/iso-2022-cn-ext.c : Likewise.
4504 * iconvdata/iso-2022-jp-3.c: Likewise.
4505 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4506 * iconvdata/iso-2022-kr.c : Likewise.
4507 * iconvdata/iso646.c (gconv_end): Likewise.
4508 * iconvdata/iso_6937-2.c : Likewise.
4509 * iconvdata/iso_6937.c : Likewise.
4510 * iconvdata/iso8859-1.c: Likewise.
4511 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4512 * iconvdata/shift_jisx0213.c : Likewise.
4513 * iconvdata/sjis.c : Likewise.
4514 * iconvdata/t.61.c : Likewise.
4515 * iconvdata/tcvn5712-1.c : Likewise.
4516 * iconvdata/tscii.c: Likewise.
4517 * iconvdata/uhc.c : Likewise.
4518 * iconvdata/unicode.c (gconv_end): Likewise.
4519 * iconvdata/utf-16.c (gconv_end): Likewise.
4520 * iconvdata/utf-32.c (gconv_end): Likewise.
4521 * iconvdata/utf-7.c (base64): Likewise.
4522 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4523 * iconv/gconv_close.c (__gconv_close): Likewise.
4524 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
4525 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4526 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4527 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4528 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4529 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
4530 * iconv/iconv.c (iconv): Likewise.
4531 * iconv/iconv_close.c: Likewise.
4532 * iconv/loop.c (SINGLE): Likewise.
4533 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4534 * include/atomic.h: Likewise.
4535 * inet/inet6_option.c (option_alloc): Likewise.
4536 * intl/bindtextdom.c (set_binding_values): Likewise.
4537 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4538 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4539 * intl/localealias.c (read_alias_file): Likewise.
4540 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
4541 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4542 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
4543 * libio/fmemopen.c (fmemopen): Likewise.
4544 * libio/iofgets.c (_IO_fgets): Likewise.
4545 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4546 * libio/iofgetws.c (fgetws): Likewise.
4547 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4548 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
4549 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4550 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
4551 * locale/findlocale.c (_nl_find_locale): Likewise.
4552 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4553 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4554 Likewise.
4555 * locale/setlocale.c (setlocale): Likewise.
4556 * login/programs/pt_chown.c (main): Likewise.
4557 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4558 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
4559 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4560 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
4561 * math/e_exp2l.c: Likewise.
4562 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4563 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4564 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4565 * math/s_catan.c (__catan): Likewise.
4566 * math/s_catanf.c (__catanf): Likewise.
4567 * math/s_catanh.c (__catanh): Likewise.
4568 * math/s_catanhf.c (__catanhf): Likewise.
4569 * math/s_catanhl.c (__catanhl): Likewise.
4570 * math/s_catanl.c (__catanl): Likewise.
4571 * math/s_ccosh.c (__ccosh): Likewise.
4572 * math/s_ccoshf.c (__ccoshf): Likewise.
4573 * math/s_ccoshl.c (__ccoshl): Likewise.
4574 * math/s_cexp.c (__cexp): Likewise.
4575 * math/s_cexpf.c (__cexpf): Likewise.
4576 * math/s_cexpl.c (__cexpl): Likewise.
4577 * math/s_clog10.c (__clog10): Likewise.
4578 * math/s_clog10f.c (__clog10f): Likewise.
4579 * math/s_clog10l.c (__clog10l): Likewise.
4580 * math/s_clog.c (__clog): Likewise.
4581 * math/s_clogf.c (__clogf): Likewise.
4582 * math/s_clogl.c (__clogl): Likewise.
4583 * math/s_csin.c (__csin): Likewise.
4584 * math/s_csinf.c (__csinf): Likewise.
4585 * math/s_csinh.c (__csinh): Likewise.
4586 * math/s_csinhf.c (__csinhf): Likewise.
4587 * math/s_csinhl.c (__csinhl): Likewise.
4588 * math/s_csinl.c (__csinl): Likewise.
4589 * math/s_csqrt.c (__csqrt): Likewise.
4590 * math/s_csqrtf.c (__csqrtf): Likewise.
4591 * math/s_csqrtl.c (__csqrtl): Likewise.
4592 * math/s_ctan.c (__ctan): Likewise.
4593 * math/s_ctanf.c (__ctanf): Likewise.
4594 * math/s_ctanh.c (__ctanh): Likewise.
4595 * math/s_ctanhf.c (__ctanhf): Likewise.
4596 * math/s_ctanhl.c (__ctanhl): Likewise.
4597 * math/s_ctanl.c (__ctanl): Likewise.
4598 * math/w_pow.c: Likewise.
4599 * math/w_powf.c: Likewise.
4600 * math/w_powl.c: Likewise.
4601 * math/w_scalb.c (sysv_scalb): Likewise.
4602 * math/w_scalbf.c (sysv_scalbf): Likewise.
4603 * math/w_scalbl.c (sysv_scalbl): Likewise.
4604 * misc/error.c (error_tail): Likewise.
4605 * misc/pselect.c (__pselect): Likewise.
4606 * nis/nis_callback.c (__nis_create_callback): Likewise.
4607 * nis/nis_call.c (__nisfind_server): Likewise.
4608 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4609 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4610 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4611 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4612 * nis/nis_lookup.c (nis_lookup): Likewise.
4613 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
4614 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4615 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 4616 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
4617 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4618 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4619 * nis/nss_compat/compat-initgroups.c (add_group)
4620 (internal_getgrent_r): Likewise.
4621 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4622 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4623 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4624 (internal_getspnam_r): Likewise.
4625 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4626 (_nss_nis_getaliasbyname_r): Likewise.
4627 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4628 (_nss_nis_getntohost_r): Likewise.
4629 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4630 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4631 (_nss_nis_getgrgid_r): Likewise.
4632 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4633 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4634 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4635 (_nss_nis_gethostbyname4_r): Likewise.
4636 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4637 (initgroups_netid): Likewise.
a1ffb40e 4638 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
4639 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4640 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4641 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4642 (_nss_nis_getprotobynumber_r): Likewise.
4643 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4644 (_nss_nis_getsecretkey): Likewise.
4645 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4646 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4647 (_nss_nis_getpwuid_r): Likewise.
4648 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4649 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4650 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4651 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4652 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4653 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
4654 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4655 Likewise.
57f41c40
AS
4656 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4657 (_nss_nisplus_getntohost_r): Likewise.
4658 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4659 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4660 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4661 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 4662 Likewise.
57f41c40
AS
4663 * nis/nss_nisplus/nisplus-initgroups.c
4664 (_nss_nisplus_initgroups_dyn): Likewise.
4665 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4666 (_nss_nisplus_getnetbyaddr_r): Likewise.
4667 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4668 (_nss_nisplus_getprotobynumber_r): Likewise.
4669 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4670 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
4671 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4672 Likewise.
57f41c40
AS
4673 * nis/nss_nisplus/nisplus-service.c
4674 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4675 (_nss_nisplus_getservbyport_r): Likewise.
4676 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4677 (_nss_nisplus_getspnam_r): Likewise.
4678 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4679 Likewise.
a1ffb40e
OB
4680 * nscd/aicache.c (addhstaiX): Likewise.
4681 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
4682 * nscd/connections.c (register_traced_file, send_ro_fd)
4683 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4684 (main_loop_epoll): Likewise.
a1ffb40e
OB
4685 * nscd/grpcache.c (addgrbyX): Likewise.
4686 * nscd/hstcache.c (addhstbyX): Likewise.
4687 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4688 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
4689 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4690 (addinnetgrX): Likewise.
4691 * nscd/nscd-client.h (__nscd_acquire_maplock)
4692 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
4693 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4694 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4695 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4696 Likewise.
4697 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4698 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
4699 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4700 (__nscd_get_map_ref): Likewise.
a1ffb40e 4701 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
4702 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4703 Likewise.
a1ffb40e
OB
4704 * nscd/pwdcache.c (addpwbyX): Likewise.
4705 * nscd/selinux.c (preserve_capabilities): Likewise.
4706 * nscd/servicescache.c (addservbyX): Likewise.
4707 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4708 * posix/fnmatch.c (fnmatch): Likewise.
4709 * posix/getopt.c (_getopt_internal_r): Likewise.
4710 * posix/glob.c (glob, glob_in_dir): Likewise.
4711 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
4712 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4713 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
4714 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4715 * resolv/res_init.c: Likewise.
4716 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4717 * resolv/res_query.c (__libc_res_nquery): Likewise.
4718 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4719 Likewise.
4720 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4721 * stdio-common/perror.c (perror): Likewise.
4722 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4723 * stdio-common/tmpnam.c (tmpnam): Likewise.
4724 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4725 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
4726 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4727 Likewise.
a1ffb40e
OB
4728 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4729 * stdlib/putenv.c (putenv): Likewise.
4730 * stdlib/setenv.c (__add_to_environ): Likewise.
4731 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4732 * stdlib/strtol_l.c (INTERNAL): Likewise.
4733 * string/memmem.c (memmem): Likewise.
4734 * string/strerror.c (strerror): Likewise.
4735 * string/strnlen.c (__strnlen): Likewise.
4736 * string/test-memmem.c (simple_memmem): Likewise.
4737 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4738 * sunrpc/pm_getport.c (__get_socket): Likewise.
4739 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4740 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
4741 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4742 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
4743 Likewise.
4744 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4745 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4746 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4747 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4748 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
4749 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4750 Likewise.
4751 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4752 Likewise.
a1ffb40e
OB
4753 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4754 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4756 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4757 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4759 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4760 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4761 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4762 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4763 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4764 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4765 Likewise.
4766 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4767 Likewise.
4768 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4769 Likewise.
4770 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4771 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4772 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4773 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4774 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4775 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4776 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4777 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4778 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4779 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4780 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4781 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4782 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4783 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4784 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
4785 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4786 Likewise.
a1ffb40e
OB
4787 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4788 Likewise.
4789 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4790 Likewise.
4791 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4792 Likewise.
4793 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4794 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4795 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4796 Likewise.
4797 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4798 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4799 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4800 * sysdeps/posix/sleep.c: Likewise.
4801 * sysdeps/posix/tempname.c: Likewise.
4802 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4803 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4804 Likewise.
57f41c40
AS
4805 * sysdeps/powerpc/powerpc32/dl-machine.h
4806 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
4807 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4808 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4809 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4810 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4811 Likewise.
4812 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4813 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4814 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4815 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4816 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4817 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4818 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4819 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4820 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4821 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4822 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4823 (elf_machine_lazy_rel): Likewise.
a1ffb40e 4824 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4825 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4826 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4827 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4828 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4829 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4830 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4831 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4832 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4833 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4834 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4835 Likewise.
4836 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4837 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4838 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4839 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4840 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4841 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4842 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4843 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4844 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4845 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4846 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4847 Likewise.
4848 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4849 (__posix_fallocate64_l64): Likewise.
4850 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4851 (posix_fallocate): Likewise.
57f41c40
AS
4852 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4853 Likewise.
a1ffb40e 4854 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
4855 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4856 (getifaddrs_internal): Likewise.
a1ffb40e
OB
4857 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4858 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4859 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4860 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4861 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4862 (__posix_fallocate64_l64): Likewise.
4863 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4864 Likewise.
4865 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
4866 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4867 (__get_clockfreq): Likewise.
a1ffb40e
OB
4868 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4869 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4870 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4871 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4872 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4873 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4874 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4875 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4876 Likewise.
4877 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4878 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4879 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4880 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4881 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4882 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4883 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4884 Likewise.
4885 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4886 (posix_fallocate): Likewise.
4887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4888 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4889 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
4890 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4891 (elf_machine_rela, elf_machine_rela_relative)
4892 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
4893 * time/asctime.c (asctime_internal): Likewise.
4894 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4895 * time/tzset.c (__tzset_parse_tz): Likewise.
4896 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4897 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4898 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4899 * wcsmbs/wcsmbsload.h: Likewise.
4900
f3d338c9
OB
4901 [BZ #15894]
4902 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4903
57f41c40
AS
4904 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4905 (arena_get2): Remove THREAD_STATS conditionals.
4906 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4907 (__malloc_stats, int): Likewise.
bdfe308a 4908
d674667c
MF
49092014-02-08 Mike Frysinger <vapier@gentoo.org>
4910
4911 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4912 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4913
6349768c
MF
4914 * manual/setjmp.texi: Fix typos/grammar errors.
4915
0b7c7473
MF
4916 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4917 Only return early when n is <= 0. Delete unused return statement.
4918
ac8cc9e3
MF
4919 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4920 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4921 * debug/tst-longjmp_chk3.c: New file.
4922
c5bb8e23
MF
4923 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4924 (test_main): Replace code with set_fortify_handler call.
4925 * debug/test-strcpy_chk.c: Likewise.
4926 * debug/tst-chk1.c: Likewise.
4927 * debug/tst-longjmp_chk.c: Likewise.
4928 * test-skeleton.c: Include fcntl.h & paths.h
4929 (set_fortify_handler): Define.
4930
10444e42
MF
4931 * debug/tst-longjmp_chk.c: Add header comment and include
4932 ../test-skeleton.c.
4933 (do_test): Mark static.
4934 (TEST_FUNCTION): Define.
4935
1e805e8d
MF
4936 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4937 (IP_PMTUDISC_INTERFACE): Likewise.
4938 (IP_MULTICAST_IF): Likewise.
4939 (IP_MULTICAST_TTL): Likewise.
4940 (IP_MULTICAST_LOOP): Likewise.
4941 (IP_ADD_MEMBERSHIP): Likewise.
4942 (IP_DROP_MEMBERSHIP): Likewise.
4943 (IP_UNBLOCK_SOURCE): Likewise.
4944 (IP_BLOCK_SOURCE): Likewise.
4945 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4946 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4947 (IP_MSFILTER): Likewise.
4948 (MCAST_JOIN_GROUP): Likewise.
4949 (MCAST_BLOCK_SOURCE): Likewise.
4950 (MCAST_UNBLOCK_SOURCE): Likewise.
4951 (MCAST_LEAVE_GROUP): Likewise.
4952 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4953 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4954 (MCAST_MSFILTER): Likewise.
4955 (IP_MULTICAST_ALL): Likewise.
4956 (IP_UNICAST_IF): Likewise.
4957
73f79bb7
MF
4958 * timezone/Makefile: Delete $(have-ksh) check.
4959 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4960 * timezone/tzselect.ksh: Add +x mode bits.
4961
8da79b60
MF
4962 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4963 (ANON_INODE_FS_MAGIC): Likewise.
4964 (BDEVFS_MAGIC): Likewise.
4965 (BINFMTFS_MAGIC): Likewise.
4966 (BTRFS_TEST_MAGIC): Likewise.
4967 (CRAMFS_MAGIC_WEND): Likewise.
4968 (DEBUGFS_MAGIC): Likewise.
4969 (ECRYPTFS_SUPER_MAGIC): Likewise.
4970 (EXT3_SUPER_MAGIC): Likewise.
4971 (EXT4_SUPER_MAGIC): Likewise.
4972 (FUTEXFS_SUPER_MAGIC): Likewise.
4973 (HOSTFS_SUPER_MAGIC): Likewise.
4974 (HUGETLBFS_MAGIC): Likewise.
4975 (MINIX3_SUPER_MAGIC): Likewise.
4976 (MTD_INODE_FS_MAGIC): Likewise.
4977 (NILFS_SUPER_MAGIC): Likewise.
4978 (OPENPROM_SUPER_MAGIC): Likewise.
4979 (PIPEFS_MAGIC): Likewise.
4980 (PSTOREFS_MAGIC): Likewise.
4981 (QNX6_SUPER_MAGIC): Likewise.
4982 (RAMFS_MAGIC): Likewise.
4983 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4984 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4985 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4986 (SECURITYFS_MAGIC): Likewise.
4987 (SELINUX_MAGIC): Likewise.
4988 (SMACK_MAGIC): Likewise.
4989 (SOCKFS_MAGIC): Likewise.
4990 (SQUASHFS_MAGIC): Likewise.
4991 (STACK_END_MAGIC): Likewise.
4992 (TMPFS_MAGIC): Likewise.
4993 (USBDEVICE_SUPER_MAGIC): Likewise.
4994 (V9FS_MAGIC): Likewise.
4995 (XENFS_SUPER_MAGIC): Likewise.
4996 (CRAMFS_MAGIC): Fix typo in comment.
4997 (EXT2_SUPER_MAGIC): Update comment.
4998 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4999
464263cc
JM
50002014-02-08 Joseph Myers <joseph@codesourcery.com>
5001
c6bfe5c4
JM
5002 * sysdeps/arm: Move directory from ports/sysdeps/arm.
5003 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5004 * sysdeps/unix/sysv/linux/arm: Move directory from
5005 ports/sysdeps/unix/sysv/linux/arm.
5006 * README: Update listing for arm-*-linux-gnueabi.
5007
464263cc
JM
5008 * README: Remove mention of am33.
5009
32749f6c
RM
50102014-02-07 Roland McGrath <roland@hack.frob.com>
5011
5012 * bits/sigset.h (__sigemptyset): Use a statement expression rather
5013 than the comma operator, to avoid "rhs of comma has no effect"
5014 compiler warnings.
5015 (__sigfillset, __sigandset, __sigorset): Likewise.
5016 * include/signal.h (__sigemptyset): Likewise.
5017 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5018
d5b396c1
AM
50192014-02-07 Allan McRae <allan@archlinux.org>
5020
5021 * version.h (RELEASE): Set to "development".
5022 (VERSION): Set to "2.19.90"
5023 * NEWS: Add 2.20 section.
5024
3bfff2ed
CD
50252014-02-06 Carlos O'Donell <carlos@redhat.com>
5026
5027 [BZ #16529]
5028 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5029
ee7cc385
SP
50302014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5031
5032 * manual/contrib.texi: Update entry for Carlos O'Donell,
5033 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5034
f877c4f2
CD
50352014-02-05 Carlos O'Donell <carlos@rehdat.com>
5036
27e839f6
CD
5037 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5038
f877c4f2
CD
5039 * sysdeps/unix/sysv/linux/kernel-features.h
5040 [__LINUX_KERNEL_VERSION >= 0x020621]
5041 (__ASSUME_PROC_PID_TASK_COMM): Define.
5042
68159946
SP
50432014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5044
ba17cdbd
SP
5045 [BZ #16398]
5046 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5047 conversion when destination buffer does not have enough space.
5048 * libio/tst-ftell-partial-wide.c: New test case.
5049 * libio/Makefile (tests): Add tst-ftell-partial-wide.
5050
68159946
SP
5051 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5052 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
5053 Leonard and Allan McRae.
5054
2b528732
DM
50552014-02-04 David S. Miller <davem@davemloft.net>
5056
5057 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
5058 32-bit.
5059
0ff82463
AZ
50602014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5061
57f41c40
AS
5062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5063 New file
c01603f7
AZ
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5065 New file
57f41c40
AS
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5067 New file.
5068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5069 New file.
c01603f7
AZ
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5071 New file.
57f41c40
AS
5072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5073 New file.
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5075 New file.
c01603f7
AZ
5076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5077 New file.
5078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5079 New file.
5080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5081 New file.
5082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5083 New file.
5084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5085 New file.
5086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5087 New file.
5088
50892014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5090
0ff82463
AZ
5091 * nptl/shlib-versions: Change powerpc*le start to 2.17.
5092 * shlib-versions: Likewise.
5093
1695c773
AZ
50942014-02-04 Roland McGrath <roland@hack.frob.com>
5095 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5096
5097 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
5098 (abilist-pattern): New variable, set to %-le.abilist.
5099
5100 * Makerules (abilist-pattern): New variable.
5101 (vpath): Use $(abilist-pattern) in place of %.abilist.
5102 (check-abi-% pattern rule): Likewise.
5103 (check-abi, update-abi): Likewise.
5104
6c0ce4b4
EW
51052014-02-04 Eric Wong <normalperson@yhbt.net>
5106
5107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5108
481e3524
CD
51092014-02-03 Carlos O'Donell <carlos@redhat.com>
5110
5111 * manual/startup.texi: Add next, previous, and top entries for
5112 the `Program Arguments' and `Environment Variables' nodes.
5113
375592d3
AO
51142014-02-03 Alexandre Oliva <aoliva@redhat.com>
5115
5116 * manual/macros.texi: Add comments before MTASC-safety macros.
5117
f54838ba
AO
5118 * manual/users.texi: Document MTASC-safety properties.
5119
57f41c40
AS
5120 * manual/threads.texi (pthread_key_create, pthread_key_delete)
5121 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
5122 @deftypefun, and add @safety note.
5123 * manual/signal.texi: Move comments that analyze the above
5124 functions to their home place.
5125
fd3daba4
AM
51262014-02-03 Allan McRae <allan@archlinux.org>
5127
5128 * po/sl.po: Update Slovenian translation from translation project.
5129
597636d7
AO
51302014-02-02 Alexandre Oliva <aoliva@redhat.com>
5131
5132 * manual/time.texi (timegm): Add missing blank after @c.
5133 Reported by Joseph Myers <joseph@codesourcery.com>.
5134
ee196e3c
AO
51352014-02-01 Alexandre Oliva <aoliva@redhat.com>
5136
5137 * manual/check-safety.sh: New.
5138 * manual/Makefile ($(objpfx)stamp-summary): Run it.
5139
f8d529d5
AO
5140 * manual/terminal.texi: Document MTASC-safety properties.
5141
de55fdf4
AO
5142 * manual/filesys.texi: Document MTASC-safety properties.
5143
c3299c08
AO
5144 * manual/errno.texi: Document MTASC-safety properties.
5145
06e90b14
AO
5146 * manual/intro.texi: Document safety identifiers and
5147 conditionals.
5148
1acd4371
AO
5149 * manual/string.texi (wcstok): Fix prototype.
5150 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
5151
23e5b8cb
AO
5152 * manual/time.texi: Document MTASC-safety properties.
5153
11087373
AO
5154 * manual/string.texi: Document MTASC-safety properties.
5155
5da2c93d
AO
5156 * manual/threads.texi: Document MTASC-safety properties.
5157
171e9210
AO
5158 * manual/stdio.texi: Document MTASC-safety properties.
5159
d9e02532
AO
5160 * manual/syslog.texi: Document MTASC-safety properties.
5161
6af8bab7
AO
5162 * manual/sysinfo.texi: Document MTASC-safety properties.
5163
663b02d7
AO
5164 * manual/startup.texi: Document MTASC-safety properties.
5165
973f180b
AO
5166 * manual/socket.texi: Document MTASC-safety properties.
5167
8f3c25c8
AO
5168 * manual/signal.texi: Document MTASC-safety properties.
5169
542210fb
AO
51702014-01-31 Alexandre Oliva <aoliva@redhat.com>
5171
5172 * manual/setjmp.texi: Document MTASC-safety properties.
5173
433c45a2
AO
5174 * manual/search.texi: Document MTASC-safety properties.
5175
c8ce789c
AO
5176 * manual/resource.texi: Document MTASC-safety properties.
5177
19f5d29c
AO
5178 * manual/process.texi: Document MTASC-safety properties.
5179
e2dfb7f4
AO
5180 * manual/platform.texi: Document MTASC-safety properties.
5181
8c1413f5
AO
5182 * manual/pipe.texi: Document MTASC-safety properties.
5183
03483ada
AO
5184 * manual/pattern.texi: Document MTASC-safety properties.
5185
29e7e2df
AO
5186 * manual/message.texi: Document MTASC-safety properties.
5187
9f529d7c
AO
5188 [BZ #12751]
5189 * manual/memory.texi: Document MTASC-safety properties.
5190
27aaa791
AO
5191 * manual/math.texi: Document MTASC-safety properties.
5192
f2d58726
AO
5193 * manual/locale.texi: Document MTASC-safety properties.
5194
2cc3615c
AO
5195 * manual/llio.texi: Document MTASC-safety properties.
5196
d9f0ec97
AO
5197 * manual/libdl.texi: New.
5198
e7c4409a
AO
5199 * manual/lang.texi: Document MTASC-safety properties.
5200
27bdc63c
AO
5201 * manual/job.texi: Document MTASC-safety properties.
5202
a7b90ea9
AO
5203 * manual/getopt.texi: Document MTASC-safety properties.
5204
c49130e3
AO
5205 * manual/ctype.texi: Document MTASC-safety properties.
5206
0d23a5c1
MR
52072014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5208
5209 [BZ #16046]
5210 * csu/libc-tls.c (static_map): Remove variable.
5211 (__libc_setup_tls): Use main executable's link map for TLS data.
5212 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5213 casing for LM_ID_BASE and GL(dl_nns).
5214 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5215 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5216 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5217 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5218 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5219 member.
5220 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5221 l_phnum members.
5222
0037bb60
AO
52232014-01-30 Alexandre Oliva <aoliva@redhat.com>
5224
5225 * manual/debug.texi: Document MTASC-safety properties.
5226
409e00bd
L
52272014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5228
5229 [BZ #16510]
5230 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5231 of __x86_64__ when disabling x87 inline functions.
5232
86e60666
AO
52332014-01-29 Alexandre Oliva <aoliva@redhat.com>
5234
5235 * manual/charset.texi: Document MTASC-safety properties.
5236
76167637
AO
5237 * manual/crypt.texi: Document MTASC-safety properties.
5238
e567f2a0
AO
5239 * manual/conf.texi: Document MTASC-safety properties.
5240
b719dafd
AO
5241 * manual/arith.texi: Document MTASC-safety properties.
5242
4a16c662
AO
5243 * manual/argp.texi: Document MTASC-safety properties.
5244
0a57b83e
AO
5245 * manual/macros.texi: Introduce macros to document multi
5246 thread, asynchronous signal and asynchronous cancellation
5247 safety properties.
5248 * manual/intro.texi: Introduce the properties themselves.
5249
feab2397
KK
52502014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5251
5252 * sysdeps/sh/sh4/Makefile: New file.
5253
1c0d11bc
AS
52542014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5255
5256 * math/gen-libm-test.pl ($srcdir): New variable.
5257 ($auto_input): Use it.
5258
af37a8a3
SP
52592014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5260
d7b00f98
SP
5261 [BZ #16506]
5262 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5263 access beyond array bounds when parsing netgroups file.
5264
af37a8a3
SP
5265 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5266 the old buffer before realloc.
5267
0c00f062
AM
52682014-01-27 Allan McRae <allan@archlinux.org>
5269
5270 * po/fr.po: Update French translation from translation project.
5271
7d69a1b0
KK
52722014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5273
5274 * sysdeps/sh/libm-test-ulps: Regenerate.
5275
6e697ff7
DM
52762014-01-24 David S. Miller <davem@davemloft.net>
5277
5278 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5279
9cadb35c
KK
52802014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5281
5282 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5283 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5284
5d41dadf
SP
52852013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5286
5287 [BZ #16474]
5288 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5289 string pointers after reallocation.
5290
0bad441c
KK
52912014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5292
5293 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5294 __SH4A__ instead of __SH_FPU_ANY__.
5295
7007c661
KK
52962014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5297
5298 * sysdeps/sh/fpu_control.h: New file.
5299 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5300 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5301 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5302 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5303 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5304 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5305 * sysdeps/sh/sys/ucontext.h: Remove.
5306 * sysdeps/sh/sys: Remove directory.
5307
0f0c35e4
AK
53082014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5309
5310 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5311 s390/sys/ucontext.h.
5312 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5313 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5314
4959e284
L
53152014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5316
5317 [BZ #15605]
5318 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5319
d98720e0
AZ
53202014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5321
5322 [BZ#16431]
5323 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5324 Adjust the vDSO correctly for internal calls.
5325 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5326
91cbd0bc
AM
53272014-01-20 Allan McRae <allan@archlinux.org>
5328
5329 * po/ca.po: Update Catalan translation from translation project.
5330
7a02cfad
MF
53312014-01-16 Mike Frysinger <vapier@gentoo.org>
5332
5333 * sysdeps/s390/sotruss-lib.c: New file.
5334
736c304a
AZ
53352014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5336
5337 [BZ#16430]
6e077ee5 5338 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
5339 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5340 local calls issues by not having a PLT stub required for IFUNC calls.
5341 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5342
94d0cea0
JM
53432014-01-16 Joseph Myers <joseph@codesourcery.com>
5344
5345 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5346 * math/test-fpucw-static.c: Likewise.
5347
980cb518
SP
53482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5349
5350 [BZ #16453]
5351 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5352
2393fc01
AZ
53532014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5354
5355 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5356 implementation for powerpc.
5357
d359bcc2
OB
53582014-01-15 Ondřej Bílka <neleai@seznam.cz>
5359
5360 [BZ #14782]
5361 * sysdeps/posix/system.c (__libc_system): Do not enable
5362 asynchronous cancellation.
5363
7beb48cb
AK
53642014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5365
5366 [BZ #16427]
5367 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5368 handling only for numbers special also in the IEEE case.
5369
c20d5bf5
AK
53702014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5371
5372 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5373
e83bd4ee
AM
53742014-01-11 Allan McRae <allan@archlinux.org>
5375
76d0ea69
AM
5376 * po/bg.po: Update Bulgarian translation from translation project.
5377
e83bd4ee
AM
5378 * po/de.po: Update German translation from translation project.
5379
bc2ba20a
RM
53802014-01-10 Roland McGrath <roland@hack.frob.com>
5381
5382 * sysdeps/generic/gcc-compat.h: New file.
5383
649ecea2
SP
53842014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5385
5386 * benchtests/asin-inputs: Correct slow inputs.
5387 * benchtests/acos-inputs: Likewise.
5388
1b19c006
AM
53892014-01-10 Allan McRae <allan@archlinux.org>
5390
a46dab08
AM
5391 * po:sv.po: Update Swedish translation from translation project.
5392
421df74a
AM
5393 * po/vi.po: Update Vietnamese translation from translation project.
5394
d61c51a7
AM
5395 * po/eo.po: Update Esperanto translation from translation project.
5396
0339a319
AM
5397 * po/cs.po: Update Czech translation from translation project.
5398
94ad3e99
AM
5399 * po/nl.po: Update Dutch translation from translation project.
5400
e349ca71
AM
5401 * po/pl.po: Update Polish translation from translation project.
5402
ddf930c1
AM
5403 * po/ru.po: Update Russian translation from translation project.
5404
1b19c006
AM
5405 * po/uk.po: Update Ukrainian translation from translation project.
5406
9f236c49
BM
54072014-01-08 Brooks Moses <bmoses@google.com>
5408
5409 * elf/dl-load.c: Fix comment typo.
5410
cd6701cf
CD
54112014-01-08 Carlos O'Donell <carlos@redhat.com>
5412
5413 * po/header.pot: Rename to...
5414 * po/pot.header: ... this.
5415 * po/Makefile: Use pot.header.
5416
66671c84
YK
54172014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5418 Maxim Kuvyrkov <maxim@kugelworks.com>
5419
5420 [BZ #16394]
cd6701cf
CD
5421 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5422 SRC and DEST against LEN.
66671c84 5423
38f34581
AZ
54242014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5425
5426 [BZ #16414]
5427 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5428 implementation.
5429 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5430
54312014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
5432
5433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5434
4c327f2a
JM
54352014-01-08 Joseph Myers <joseph@codesourcery.com>
5436
5437 [BZ #16408]
5438 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5439 for large positive arguments.
5440
b821f414
JM
54412014-01-07 Joseph Myers <joseph@codesourcery.com>
5442
1f0f2067
JM
5443 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5444
a5a326f6
JM
5445 * math/auto-libm-test-in: Mark various tests with
5446 xfail-rounding:ldbl-128ibm.
5447 * math/auto-libm-test-out: Regenerated.
5448
b821f414
JM
5449 [BZ #16407]
5450 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5451 Increase overflow threshold.
5452
94c8a4bc
OB
54532014-01-07 Ondřej Bílka <neleai@seznam.cz>
5454
5455 [BZ #14286]
5456 * stdio-common/vfprintf.c: Check for integer overflow.
5457
87ded0c3
AK
54582014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5459
5460 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5461 the first argument and return value of __tls_get_addr_internal.
5462
c5eebdd0
AK
54632014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5464
5465 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5466 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5467
05d138ef
AK
54682014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5469
5470 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5471 * sysdeps/s390/rtld-global-offsets.sym: New file.
5472 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5473 GLIBC_2.19 symbol.
5474 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5475 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5476 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5477 ... this.
5478 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5479 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5480 ... this.
5481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5482 Regenerate.
5483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5484 Regenerate.
5485 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5486 halfs of GPRs for high_gprs contexts.
5487 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5488 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5489 field.
5490 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5491 uc_flags field.
5492 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5493 64 bit versions:
5494 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5495 for high GPRs (uc_high_gprs) and for future extensions
5496 (__reserved).
5497 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5498 for future extensions (__reserved).
5499 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5500 64 bit versions:
5501 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5502 SC_HIGHGPRS offset definition.
5503 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5504 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5505
93a45ff1
AK
5506 * Versions.def: Add GLIBC_2.19 for libpthread.
5507 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5508 siglongjmp for libpthread with GLIBC_2.19 symver.
5509 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5510 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5511 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5512 * sysdeps/s390/__longjmp.c: New file.
5513 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5514 * sysdeps/s390/longjmp.c: New file.
5515 * sysdeps/s390/setjmp.S: New file.
5516 * sysdeps/s390/sigjmp.S: New file.
5517 * sysdeps/s390/v1-longjmp.c: New file.
5518 * sysdeps/s390/v1-setjmp.h: New file.
5519 * sysdeps/s390/v1-sigjmp.c: New file.
5520 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5521 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5522 GLIBC_2.19 version.
5523 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5524 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5525 versioned symbols for ____longjmp_chk.
5526 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5527 Likewise.
5528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5529 Regenerate.
5530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5531 Regenerate.
5532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5533 Regenerate.
5534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5535 Regenerate.
5536 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5537 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5538 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5539 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5540 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5541 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5542 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5543 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5544 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5545 * sysdeps/s390/rtld-__longjmp.c: New file.
5546 * sysdeps/s390/rtld-setjmp.S: New file.
5547
eb3fc44b
JM
55482014-01-06 Joseph Myers <joseph@codesourcery.com>
5549
5550 [BZ #16400]
5551 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5552 Return -__logl (x) for small positive arguments without evaluating
5553 a polynomial.
5554
9341dde4
MF
55552014-01-06 Mike Frysinger <vapier@gentoo.org>
5556
5557 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5558 Rename to ...
5559 (__ptrace_peeksiginfo_args): ... this.
5560 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5561 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5562 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5563
4cff0293
AM
55642014-01-06 Allan McRae <allan@archlinux.org>
5565
5566 * inet/netinet/in.h: Fix typo in comment.
5567
75595dcf
AJ
55682014-01-05 Andreas Jaeger <aj@suse.de>
5569
5570 * sysdeps/i386/fpu/libm-test-ulps: Update.
5571
79c1e109
AM
55722014-01-05 Allan McRae <allan@archlinux.org>
5573
dd804818
AM
5574 * po/libc.pot: Regenerated.
5575
79c1e109
AM
5576 * malloc/memusagestat.c: Fix gettext call formatting.
5577
0c813d1f
SK
55782014-01-04 Sami Kerola <kerolasa@iki.fi>
5579
5580 * nscd/nscd.c: Improve usage() output.
5581
20f4a8d9
MF
55822014-01-04 Mike Frysinger <vapier@gentoo.org>
5583
5584 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5585 * sysdeps/unix/sysv/linux/configure: Regenerated.
5586 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5587 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5588
22562bb2
JM
55892014-01-03 Joseph Myers <joseph@codesourcery.com>
5590
5591 [BZ #16390]
5592 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5593 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5594
d7ad2d9b
AZ
55952014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5596
5597 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5598 extra tokens at end of #undef directive.
5599 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5600 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5601 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5602
7dd009d8
JM
56032014-01-03 Joseph Myers <joseph@codesourcery.com>
5604
24db925a
JM
5605 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5606
7dd009d8
JM
5607 * math/auto-libm-test-in: Mark various tests with
5608 xfail-rounding:ldbl-128ibm.
5609 * math/auto-libm-test-out: Regenerated.
5610
396e3ecf
JM
56112014-01-02 Joseph Myers <joseph@codesourcery.com>
5612
819e5d50
JM
5613 [BZ #16386]
5614 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5615 numbers with subnormal high part when calculating exponent.
5616
90b6a1e5
JM
5617 [BZ #16385]
5618 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5619 fabs.
5620
396e3ecf
JM
5621 [BZ #16384]
5622 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5623 M_LN2l.
5624 (__ieee754_acoshl): Use __log1pl not __log1p.
5625
6c8dbf00
OB
56262013-01-02 Ondřej Bílka <neleai@seznam.cz>
5627
57f41c40
AS
5628 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5629 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5630 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5631 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5632 (reused_arena, arena_get2): Convert to GNU style.
5633 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5634 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5635 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 5636 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
5637 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5638 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5639 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5640 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5641 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5642 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 5643 * malloc/malloc.h: Likewise.
57f41c40
AS
5644 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5645 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 5646 * malloc/mcheck.h: Likewise.
57f41c40
AS
5647 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5648 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
5649 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5650 * malloc/morecore.c (__default_morecore): Likewise.
5651 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
5652 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5653 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5654 (print_and_abort): Likewise.
6c8dbf00
OB
5655 * malloc/obstack.h: Likewise.
5656 * malloc/set-freeres.c (__libc_freeres): Likewise.
5657 * malloc/tst-mallocstate.c (main): Likewise.
5658 * malloc/tst-mtrace.c (main): Likewise.
5659 * malloc/tst-realloc.c (do_test): Likewise.
5660
d4124212
SP
56612013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5662
9a3c6a6f
SP
5663 [BZ #16366]
5664 * nscd/netgroupcache.c (do_notfound): New function.
5665 (addgetnetgrentX): Use it.
5666
d4124212
SP
5667 [BZ # 16365]
5668 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5669 NSS_STATUS_NOTFOUND.
5670
97b9a009
JM
56712014-01-01 Joseph Myers <joseph@codesourcery.com>
5672
5673 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5675
d4697bc9
AM
56762014-01-01 Allan McRae <allan@archlinux.org>
5677
ddb3687f
AM
5678 * scripts/update-copyrights: Update configure input file suffix.
5679
88726d48
AM
5680 * NEWS: Update copyright year.
5681 * catgets/gencat.c: Likewise.
5682 * csu/version.c: Likewise.
5683 * debug/catchsegv.sh: Likewise.
5684 * debug/pcprofiledump.c: Likewise.
5685 * debug/xtrace.sh: Likewise.
5686 * elf/ldconfig.c: Likewise.
5687 * elf/ldd.bash.in: Likewise.
5688 * elf/pldd.c: Likewise.
5689 * elf/sotruss.ksh: Likewise.
5690 * elf/sprof.c: Likewise.
5691 * iconv/iconv_prog.c: Likewise.
5692 * iconv/iconvconfig.c: Likewise.
5693 * locale/programs/locale.c: Likewise.
5694 * locale/programs/localedef.c: Likewise.
5695 * login/programs/pt_chown.c: Likewise.
5696 * malloc/memusage.sh: Likewise.
5697 * malloc/memusagestat.c: Likewise.
5698 * malloc/mtrace.pl: Likewise.
5699 * manual/libc.texinfo: Likewise.
5700 * nscd/nscd.c: Likewise.
5701 * nss/getent.c: Likewise.
5702 * nss/makedb.c: Likewise.
5703 * posix/getconf.c: Likewise.
5704 * scripts/test-installation.pl: Likewise.
5705
d4697bc9
AM
5706 * All files with FSF copyright notices: Update copyright dates
5707 using scripts/update-copyrights.
5708 * intl/plural.c: Regenerated.
5709 * locale/programs/charmap-kw.h: Likewise.
5710 * locale/programs/locfile-kw.h: Likewise.
5711
c8590f9d
MF
57122013-12-31 Mike Frysinger <vapier@gentoo.org>
5713
5714 * sysdeps/unix/sysv/linux/configure: Regenerated.
5715 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5716 the linux/fanotify.h header.
5717 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5718 HAVE_LINUX_FANOTIFY_H is defined.
5719
b19221b9
SP
57202013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5721
dd1d85e5
SP
5722 * benchtests/cos-inputs: New inputs.
5723 * benchtests/sin-inputs: Likewise.
5724
1acbb90f
SP
5725 * benchtests/atan-inputs: New inputs. Fix name of multiple
5726 precision fallback inputs.
5727
4c012ed3
SP
5728 * benchtests/atanh-inputs: New inputs.
5729 * benchtests/tanh-inputs: Likewise.
5730
eff98324
SP
5731 * benchtests/acosh-inputs: New inputs.
5732 * benchtests/asinh-inputs: Likewise.
5733
ce641152
SP
5734 * benchtests/cosh-inputs: New inputs.
5735 * benchtests/sinh-inputs: Likewise.
5736
b19221b9
SP
5737 * benchtests/acos-inputs: Add more inputs.
5738 * benchtests/asin-inputs: Likewise.
5739
030a4976 57402013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5741
030a4976 5742 [BZ #16375]
9dcc8f11
VS
5743 * manual/arith.texi: Fix spelling.
5744 * manual/charset.texi: Likewise.
5745 * manual/errno.texi: Likewise.
5746 * manual/filesys.texi: Likewise.
5747 * manual/lang.texi: Likewise.
5748 * manual/llio.texi: Likewise.
5749 * manual/locale.texi: Likewise.
5750 * manual/message.texi: Likewise.
5751 * manual/resource.texi: Likewise.
5752 * manual/search.texi: Likewise.
5753 * manual/setjmp.texi: Likewise.
5754 * manual/stdio.texi: Likewise.
5755 * manual/string.texi: Likewise.
5756 * manual/sysinfo.texi: Likewise.
5757 * manual/time.texi: Likewise.
5758
11520a57
CD
57592013-12-27 Carlos O'Donell <carlos@redhat.com>
5760
5761 * po/sl.po: New file.
5762
471103ae
MF
57632013-12-27 Mike Frysinger <vapier@gentoo.org>
5764
5765 * .gitignore: Add core/.gdbinit/.gdb_history.
5766
6c9642ed
AM
57672013-12-27 Allan McRae <allan@archlinux.org>
5768
5769 [BZ #16369]
5770 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5771 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5772
3f637079
BM
57732013-12-24 Brooks Moses <bmoses@google.com>
5774
5775 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5776 all compilers that claim C++98 compliance, not just GCC.
5777 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5778 Likewise.
5779
abc26e99
MK
57802013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5781
5782 * NEWS: Restore accidentally deleted bug-fix entries.
5783
362b47fe
MK
57842013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5785 Ondřej Bílka <neleai@seznam.cz>
5786
5787 [BZ #15073]
5788 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5789 have_lock.
362b47fe 5790
b9bcbbcb
OB
57912013-12-23 Ondřej Bílka <neleai@seznam.cz>
5792
5793 [BZ #12986]
5794 * manual/stdio.texi (String Input Conversions): Clarify that character
5795 classes are not supported.
5796
fb55fcd2
AZ
57972013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5798
5799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5800
ef7344f0
JM
58012013-12-22 Joseph Myers <joseph@codesourcery.com>
5802
4f40e4b3
JM
5803 [BZ #16337]
5804 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5805 Calculate results for small negative arguments directly rather
5806 than using reflection formula with special underflow handling.
5807
ef7344f0
JM
5808 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5809 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5810 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5811 (fchflags): Likewise.
5812 (revoke): Likewise.
5813 (setlogin): Likewise.
5814 (sigaltstack): Likewise.
5815 (wait4): Likewise.
5816 (sigblock): Remove.
5817 (sigsetmask): Likewise.
5818 (wait3): Likewise.
5819 (waitpid): Likewise.
5820 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5821 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5822 file.
5823 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5824 * sysdeps/unix/bsd/Makefile: ... here.
5825 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5826 * sysdeps/unix/bsd/Versions: ... here.
5827 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5828 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5829 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5830 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5831 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5832 * sysdeps/unix/bsd/sigblock.c: ... here.
5833 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5834 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5835 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5836 * sysdeps/unix/bsd/sigvec.c: ... here.
5837 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5838 * sysdeps/unix/bsd/tcdrain.c: ... here.
5839 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5840 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5841 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5842 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5843 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5844 * sysdeps/unix/bsd/wait.c: ... here.
5845 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5846 * sysdeps/unix/bsd/wait3.c: ... here.
5847 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5848 * sysdeps/unix/bsd/waitpid.c: ... here.
5849
5b0626b9
JM
58502013-12-21 Joseph Myers <joseph@codesourcery.com>
5851
5852 [BZ #16356]
5853 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5854 round-to-nearest for [!USE_AS_EXPM1L].
5855 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5856 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5857 more tests of exp and exp10. Expect some exp10 tests to miss
5858 exceptions or fail in directed rounding modes.
5859 * math/auto-libm-test-out: Regenerated.
5860 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5861 (exp10_test_tonearest): New function.
5862 (exp10_towardzero_test_data): New array.
5863 (exp10_test_towardzero): New function.
5864 (exp10_downward_test_data): New array.
5865 (exp10_test_downward): New function.
5866 (exp10_upward_test_data): New array.
5867 (exp10_test_upward): New function.
5868 (main): Call the new functions.
5869 * sysdeps/i386/fpu/libm-test-ulps: Update.
5870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5871
7fda5682
JM
58722013-12-20 Joseph Myers <joseph@codesourcery.com>
5873
31e3a405
JM
5874 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5875 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5876 * math/auto-libm-test-out: Regenerated.
5877 * math/libm-test.inc (acosh_test_data): Add more tests.
5878 (atanh_test_data): Likewise.
5879 (ceil_test_data): Likewise.
5880 (copysign_test_data): Likewise.
5881 * sysdeps/i386/fpu/libm-test-ulps: Update.
5882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5883
85bff96a
JM
5884 * timezone/checktab.awk: Update from tzcode 2013i.
5885 * timezone/private.h: Likewise.
5886 * timezone/scheck.c: Likewise.
5887 * timezone/tzfile.h: Likewise.
5888 * timezone/tzselect.ksh: Likewise.
5889 * timezone/zdump.c: Likewise.
5890 * timezone/zic.c: Likewise.
5891
b7867a3b
JM
5892 * math/auto-libm-test-in: Add tests of cpow.
5893 * math/auto-libm-test-out: Regenerated.
5894 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 5895 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
5896 mpc_cc_c.
5897 (func_calc_desc): Add mpc_cc_c union field.
5898 (test_functions): Add cpow.
5899 (special_fill_2pi): New function.
5900 (special_real_inputs): Add 2pi.
5901 (calc_generic_results): Handle mpc_cc_c.
5902 * sysdeps/i386/fpu/libm-test-ulps: Update.
5903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5904
7fda5682
JM
5905 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5906 csqrt, ctan and ctanh.
5907 * math/auto-libm-test-out: Regenerated.
5908 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5909 (TEST_COND_x86): Likewise.
5910 (ccos_test_data): Use AUTO_TESTS_c_c.
5911 (ccosh_test_data): Likewise.
5912 (cexp_test_data): Likewise.
5913 (clog_test_data): Likewise.
5914 (csqrt_test_data): Likewise.
5915 (ctan_test_data): Likewise.
5916 (ctan_tonearest_test_data): Likewise.
5917 (ctan_towardzero_test_data): Likewise.
5918 (ctan_downward_test_data): Likewise.
5919 (ctan_upward_test_data): Likewise.
5920 (ctanh_test_data): Likewise.
5921 (ctanh_tonearest_test_data): Likewise.
5922 (ctanh_towardzero_test_data): Likewise.
5923 (ctanh_downward_test_data): Likewise.
5924 (ctanh_upward_test_data): Likewise.
5925 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5926 mpc_c_c.
5927 (func_calc_desc): Add mpc_c_c union field.
5928 (FUNC_mpc_c_c): New macro.
5929 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5930 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5931 ctanh.
5932 (special_fill_min_subnorm_p120): New function.
5933 (special_real_inputs): Add min_subnorm_p120.
5934 (calc_generic_results): Handle mpc_c_c.
5935 * sysdeps/i386/fpu/libm-test-ulps: Update.
5936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5937
5ff8d60e
SP
59382013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5939
57f41c40
AS
5940 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5941 (do_sin_slow): New functions.
5942 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5943 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 5944
84ba214c
SP
5945 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5946 Use M to change sign of result instead of X. Assume X is
5947 positive.
5948 (csloww1): Likewise.
5949 (__sin): Adjust.
5950 (__cos): Adjust.
5951
975195e4
SP
5952 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5953 arguments A and DA.
5954 (__sin): Adjust.
5955 (__cos): Likewise.
5956
5ff8d60e
SP
5957 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5958 (__cos): Likewise.
5959 (sloww1): Don't adjust sign of DX.
5960 (csloww1): Likewise.
5961 (sloww2): Use X directly and don't adjust sign of DX.
5962 (csloww2): Likewise.
5963
eb983568
JM
59642013-12-19 Joseph Myers <joseph@codesourcery.com>
5965
64a17f1a
JM
5966 * math/auto-libm-test-in: Add tests of cabs and carg.
5967 * math/auto-libm-test-out: Regenerated.
5968 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5969 (carg_test_data): Likewise.
5970 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5971 mpc_c_f.
5972 (func_calc_desc): Add mpc_c_f union field.
5973 (test_functions): Add cabs and carg.
5974 (calc_generic_results): Handle mpc_c_f.
5975
eb983568
JM
5976 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5977 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5978 as a macro and a compat symbol.
5979 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5980 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5981 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5982 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5983 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5984 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5985 not use .hidden.
5986 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5987 Likewise.
5988 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5989 Likewise.
5990 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5991 Likewise.
5992 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5993 Likewise.
5994 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5995 Likewise.
5996 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5997 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5998 from GLIBC_2.3.2.
5999
6eeb678a
AZ
60002013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6001
6002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6003
6f6fc482
JM
60042013-12-19 Joseph Myers <joseph@codesourcery.com>
6005
21fea2e2
JM
6006 * manual/texinfo.tex: Update to version 2013-11-26.10 with
6007 trailing whitespace removed.
6008 * scripts/config.guess: Update to version 2013-11-29.
6009 * scripts/config.sub: Update to version 2013-10-01.
6010
6f6fc482
JM
6011 * math/auto-libm-test-in: Add tests of sincos.
6012 * math/auto-libm-test-out: Regenerated.
6013 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6014 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6015 mpfr_f_11.
6016 (func_calc_desc): Add mpfr_f_11 union field.
6017 (test_functions): Add sincos.
6018 (calc_generic_results): Handle mpfr_f_11.
6019 * sysdeps/i386/fpu/libm-test-ulps: Update.
6020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6021
83f5c32d
AS
60222013-12-19 Andreas Schwab <schwab@suse.de>
6023
6024 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6025 CALL_MCOUNT.
6026 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6027 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6028 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6029
c688b419
JM
60302013-12-19 Joseph Myers <joseph@codesourcery.com>
6031
335ee092
JM
6032 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6033 * sysdeps/i386/fpu/libm-test-ulps: Update.
6034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6035
f88acd39
JM
6036 [BZ #16293]
6037 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6038 round-to-nearest mode when using frndint.
6039 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6040 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6041 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6042 Likewise.
6043 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
6044 sinh test to fail.
6045 * math/auto-libm-test-out: Regenerated.
6046 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6047 (TEST_COND_x86): Likewise.
6048 (expm1_tonearest_test_data): New array.
6049 (expm1_test_tonearest): New function.
6050 (expm1_towardzero_test_data): New array.
6051 (expm1_test_towardzero): New function.
6052 (expm1_downward_test_data): New array.
6053 (expm1_test_downward): New function.
6054 (expm1_upward_test_data): New array.
6055 (expm1_test_upward): New function.
6056 (main): Run the new test functions.
6057 * sysdeps/i386/fpu/libm-test-ulps: Update.
6058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6059
c688b419
JM
6060 * include/features.h: Update comment documenting feature test
6061 macros. Mention _DEFAULT_SOURCE in comment.
6062 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
6063 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
6064 _BSD_SOURCE and _SVID_SOURCE.
6065 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
6066 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
6067 !_SVID_SOURCE]: Likewise.
6068 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6069 (__USE_POSIX_IMPLICITLY): Define.
6070 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6071 (_POSIX_SOURCE): Undefine and redefine.
6072 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
6073 (_POSIX_C_SOURCE): Likewise.
6074 * manual/creature.texi (_DEFAULT_SOURCE): Document.
6075 (Feature Test Macros): Update documentation of default features.
6076
9f6e964c
RS
60772013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6078
6079 * benchtests/Makefile: Add bench-strtok.
6080 * benchtests/bench-strtok.c: New file: strtok benchtest.
6081
ee0a148a
AM
60822013-12-19 Allan McRae <allan@archlinux.org>
6083
6084 * manual/install.texi: Suppress menu for plain text output.
6085 * INSTALL: Regenerated.
6086
b9ab448f
BM
60872013-12-18 Brooks Moses <bmoses@google.com>
6088
6089 [BZ #15846]
6090 * misc/getauxval.c: Include errno.h.
6091 (__getauxval): Set errno to ENOENT if the requested type is not
6092 found.
6093 * misc/sys/auxv.h (getauxval): Document that it may set errno;
6094 don't declare with __attribute_const__.
6095 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
6096 * manual/startup.texi: Document that getauxval sets errno.
6097
23776487
JM
60982013-12-18 Joseph Myers <joseph@codesourcery.com>
6099
f889953b
JM
6100 * math/auto-libm-test-in: Add tests of jn and yn.
6101 * math/auto-libm-test-out: Regenerated.
6102 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
6103 (yn_test_data): Likewise.
6104 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6105 mpfr_if_f.
6106 (func_calc_desc): Add mpfr_if_f union field.
6107 (FUNC_mpfr_if_f): New macro.
6108 (test_functions): Add jn and yn.
6109 (calc_generic_results): Assert type of second input for
6110 mpfr_ff_f. Handle mpfr_if_f.
6111 (output_for_one_input_case): Disable all checking for arguments
6112 fitting floating-point types in case of an integer argument.
6113 * sysdeps/i386/fpu/libm-test-ulps: Update.
6114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6115
23776487
JM
6116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6117 Don't expect fegetround reference in libm.so.
6118
cb756c6d
MS
61192013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6120
6121 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
6122 $(config-cflags-nofma).
6123
2dec468f
JM
61242013-12-18 Joseph Myers <joseph@codesourcery.com>
6125
5953eb3a
JM
6126 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
6127 * math/auto-libm-test-out: Regenerated.
6128
2dec468f
JM
6129 [BZ #16338]
6130 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
6131 to determine exponent and adjust argument to have exponent of -1.
6132 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6133 log2.
6134 * math/auto-libm-test-out: Regenerated.
6135 * sysdeps/i386/fpu/libm-test-ulps: Update.
6136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6137
4d84e6ad
OB
61382013-12-18 Ondřej Bílka <neleai@seznam.cz>
6139
6140 * manual/probes.texi: Remove cases when per-thread arenas are
6141 disabled.
6142
1818483b
AS
61432013-12-18 Andreas Schwab <schwab@suse.de>
6144
6145 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
6146 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
6147 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
6148 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
6149 * sysdeps/i386/i686/multiarch/Makefile: Update.
6150 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
6151
25de95bf
JM
61522013-12-17 Joseph Myers <joseph@codesourcery.com>
6153
6154 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
6155 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6156
674762d9
PE
61572013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6158
ed27ed83 6159 [BZ #15968]
0748546f
PE
6160 Support TZ transition times < 00:00:00.
6161 This is needed for version-3 tz-format files; it supports time
6162 stamps past 2037 for America/Godthab (the only entry in the tz
6163 database for which this change is relevant).
6164 * manual/time.texi (TZ Variable): Document transition times
6165 from -167:59:59 through -00:00:01.
6166 * time/tzset.c (tz_rule): Time of day is now signed.
6167 (__tzset_parse_tz): Parse negative time of day.
6168
4480e934
PE
6169 Document TZ transition times >= 25:00:00.
6170 * manual/time.texi (TZ Variable): Document transition times from
6171 25:00:00 through 167:59:59. These are already supported, and this
6172 support will help with version-3 tz-format files.
6173
69947401
PE
6174 * manual/time.texi (TZ Variable): Modernize North America example
6175 to reflect current (i.e., 2007-and-later) daylight saving rules.
6176
674762d9
PE
6177 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6178
7011c262
JM
61792013-12-17 Joseph Myers <joseph@codesourcery.com>
6180
2fc6557e
JM
6181 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6182 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6184 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6185 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6186 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6187 * sysdeps/unix/bsd/clock.c: Likewise.
6188 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6189 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6190 * sysdeps/unix/bsd/init-posix.c: Likewise.
6191 * sysdeps/unix/bsd/poll.c: Likewise.
6192 * sysdeps/unix/bsd/ptsname.c: Likewise.
6193 * sysdeps/unix/bsd/seekdir.c: Likewise.
6194 * sysdeps/unix/bsd/setegid.c: Likewise.
6195 * sysdeps/unix/bsd/seteuid.c: Likewise.
6196 * sysdeps/unix/bsd/setgid.c: Likewise.
6197 * sysdeps/unix/bsd/setrgid.c: Likewise.
6198 * sysdeps/unix/bsd/setruid.c: Likewise.
6199 * sysdeps/unix/bsd/setsid.c: Likewise.
6200 * sysdeps/unix/bsd/setuid.c: Likewise.
6201 * sysdeps/unix/bsd/sigaction.c: Likewise.
6202 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6203 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6204 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6205 * sysdeps/unix/bsd/telldir.c: Likewise.
6206 * sysdeps/unix/bsd/times.c: Likewise.
6207 * sysdeps/unix/bsd/usleep.c: Likewise.
6208
029c7b25
JM
6209 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6210 ($(objpfx)libbsd-compat.a): Remove rule.
6211
7011c262
JM
6212 * include/features.h (__FAVOR_BSD): Do not define.
6213 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6214 features conflicting with POSIX.
6215 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6216 (_BSD_SOURCE): Remove description of not being a subset of other
6217 feature test macros.
6218 * manual/job.texi (getpgrp): Do not document BSD version.
6219 (getpgid): Do not document by reference to BSD getpgrp.
6220 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6221 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6222 * signal/signal.h [__FAVOR_BSD]: Likewise.
6223 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6224 instead of making contents conditional on [__FAVOR_BSD].
6225 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6226
affb6f78
AZ
62272013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6228
6229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6230
c88769dd
JM
62312013-12-17 Joseph Myers <joseph@codesourcery.com>
6232
6432a540
JM
6233 [BZ #16314]
6234 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6235 values below 2**-450, not 2**-500.
6236 * math/auto-libm-test-in: Don't allow spurious underflow from
6237 hypot.
6238 * math/auto-libm-test-out: Regenerated.
6239
c88769dd
JM
6240 [BZ #16316]
6241 [BZ #16330]
6242 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6243 values of ha and hb and sort them after adjusting subnormal
6244 arguments.
6245 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6246 Likewise.
6247 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6248 values of ea and eb and sort them after adjusting subnormal
6249 arguments.
6250 * math/auto-libm-test-in: Do not expect some hypot tests of
6251 subnormals to fail. Add more hypot tests.
6252 * math/auto-libm-test-out: Regenerated.
6253
29618f6b
KK
62542013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6255
6256 [BZ #13304]
6257 * sysdeps/sh/s_fma.c: New file.
6258 * sysdeps/sh/s_fmaf.c: New file.
6259 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6260 version.
6261 * sysdeps/sh/Implies: Add sh/soft-fp.
6262
eacfdfbf
RM
62632013-12-16 Roland McGrath <roland@hack.frob.com>
6264
6265 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6266 level of indirection to members `objname', `errstring', `malloced'.
6267 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6268 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6269 it as the __longjmp argument (just pass 1 instead).
6270 (_dl_catch_error): Initialize C with argument pointers and address of
6271 volatile local ERRCODE rather than copying values out of C at return.
6272
ff362e5b
JM
62732013-12-16 Joseph Myers <joseph@codesourcery.com>
6274
6275 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6276 * math/auto-libm-test-out: Regenerated.
6277 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6278 (hypot_test_data): Likewise.
6279 (pow_test_data): Likewise.
6280 (pow_tonearest_test_data): Likewise.
6281 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6282 mpfr_ff_f.
6283 (func_calc_desc): Add mpfr_ff_f union field.
6284 (FUNC_mpfr_ff_f): New macro.
6285 (test_functions): Add atan2, hypot and pow.
6286 (special_fill_min): New function.
6287 (special_fill_minus_min): Likewise.
6288 (special_fill_min_subnorm): Likewise.
6289 (special_fill_minus_min_subnorm): Likewise.
6290 (special_real_inputs): Add min, -min, min_subnorm and
6291 -min_subnorm.
6292 (calc_generic_results): Handle mpfr_ff_f.
6293 * sysdeps/i386/fpu/libm-test-ulps: Update.
6294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6295
5764c27f
WN
62962013-12-16 Will Newton <will.newton@linaro.org>
6297
6298 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6299 (Aligned Memory Blocks): Add documentation for aligned_alloc
6300 and suggest it as an alternative to posix_memalign.
6301 (Hooks for Malloc): Document __memalign_hook is also called
6302 for aligned_alloc. (Summary of Malloc): Add summary for
6303 aligned alloc. Document __memalign_hook is also called
6304 for aligned_alloc.
6305
0a096e44
WN
63062013-12-16 Will Newton <will.newton@linaro.org>
6307
6308 * manual/memory.texi (Malloc Examples): Clarify default
6309 alignment documentation. Suggest posix_memalign rather
6310 than memalign or valloc.
6311 (Aligned Memory Blocks): Remove suggestion to use memalign
6312 or valloc. Remove obsolete comment about BSD.
6313 Document memalign errno values and mark the function obsolete.
6314 Document posix_memalign returned error codes. Mark valloc
6315 as obsolete. (Hooks for Malloc): __memalign_hook is also
6316 called for posix_memalign and valloc.
6317 (Summary of Malloc): Add posix_memalign to function summary.
6318 __memalign_hook is also called for posix_memalign and valloc.
6319
8d561986
SP
63202013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6321
6322 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6323 TAYLOR_SIN.
6324 (__sin): Adjust.
6325 (__cos): Likewise.
6326 (sloww): Use mynumber union. Expand ternary operator into
6327 if-else statements.
6328 (cslow): use mynumber union.
6329
73616a74
AM
63302013-12-16 Allan McRae <allan@archlinux.org>
6331
9e8ac24b
AM
6332 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6333 * configure: Regenerated.
6334
6f8e37eb
AM
6335 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6336
8894bad3
AM
6337 [BZ #14120]
6338 * configure.ac: Added --enable-maintainer-mode. Check for
6339 autoconf when enabled.
6340 * configure: Regenerated.
6341
73616a74
AM
6342 * nscd/nscd.service: New file.
6343 * nscd/nscd.tmpfiles: New file.
6344
584b18eb
OB
63452013-12-14 Ondřej Bílka <neleai@seznam.cz>
6346
6347 [BZ #12100]
6348 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6349 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6350 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6351 (strstr): Add __strstr_sse2_unaligned ifunc.
6352 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6353 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6354 (strcasestr): Remove __strcasestr_sse42 ifunc.
6355 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6358
8a5c7897
KK
63592013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6360
6361 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6362 * sysdeps/sh/bits/fenv.h: ... here.
6363 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6364
fd712ef3
AZ
63652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6366
6367 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6368
42fcb46c
AZ
6369 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6370 hypotf multiarch implementations.
6371 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6372 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6373 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6374 multiarch hypot for PPC64.
6375 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6376 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6377 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6378 multiarch hypotf for PPC64.
6379
83efded4
AZ
6380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6381 modff multiarch implementations.
6382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6385 multiarch modf for PPC64.
6386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6389 multiarch modff for PPC64.
6390
43e246d2
AZ
6391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6392 and logl multiarch implementations.
6393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6396 multiarch logb for PPC64.
6397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6400 multiarch logb for PPC64.
6401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6404 multiarch logb for PPC64.
6405
8fdad123
AZ
6406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6407 isinff multiarch implementation.
6408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6409 file.
6410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6412 multiarch isinf for PPC64.
6413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6414 file.
6415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6416 multiarch isinff for PPC64.
6417
1481d706
AZ
6418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6419 finitef multiarch implementation.
6420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6421 file.
6422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6424 multiarch finite for PPC64.
6425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6426 file.
6427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6428 multiarch finitef for PPC64.
6429
5ccd5fc8
AZ
6430 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6431 lrint multiarch implementation.
6432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6433 file.
6434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6436 multiarch llrint for PPC64.
6437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6438 multiarch lrint for PPC64.
6439
2568f3fa
AZ
6440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6441 copysignf multiarch implementation.
6442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6443 file.
6444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6445 file.
6446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6447 multiarch copysign for PPC64.
6448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6449 multiarch copysignf for PPC64.
6450
1cb341fd
AZ
6451 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6452 multiarch implementation.
6453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6454 file.
6455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6456 file.
6457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6458 file.
6459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6460 file.
6461 multiarch llround for PPC64.
6462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6463 multiarch trunc for PPC64.
6464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6465 multiarch truncf for PPC64.
6466
59a3e194
AZ
6467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6468 multiarch implementation.
6469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6470 file.
6471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6472 file.
6473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6474 file.
6475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6476 file.
6477 multiarch llround for PPC64.
6478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6479 multiarch round for PPC64.
6480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6481 multiarch roundf for PPC64.
6482
357fd3b4
AZ
6483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6484 multiarch implementation.
6485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6486 file.
6487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6488 file.
6489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6490 file.
6491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6492 file.
6493 multiarch llround for PPC64.
6494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6495 multiarch floor for PPC64.
6496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6497 multiarch floorf for PPC64.
6498
96770f12
AZ
6499 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6500 multiarch implementation.
6501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6502 file.
6503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6504 file.
6505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6506 file.
6507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6508 file.
6509 multiarch llround for PPC64.
6510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6511 multiarch ceil for PPC64.
6512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6513 multiarch ceilf for PPC64.
6514
c3627f6e
AZ
6515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6516 multiarch implementation.
6517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6518 file.
6519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6520 file.
6521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6522 file.
6523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6524 multiarch llround for PPC64.
6525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6526 multiarch lround for PPC64.
6527
b2284ad7
AZ
6528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6529 multiarch implementation.
6530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6533 file.
6534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6537 multiarch isnan for PPC64.
6538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6539 multiarch isnanf for PPC64.
6540
69bbc63d
AZ
6541 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6542 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6543 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6544 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6545 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6547
c24517c9
AZ
6548 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6549 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6550 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6551 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6552
a52374e8
AZ
6553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6554 multiarch implementations.
6555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6556 (__libc_ifunc_impl_list): Likewise.
6557 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6558 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6559 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6560 multiarch stpcpy for PPC64.
6561
7f5ec113
AZ
6562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6563 multiarch implementations.
6564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6565 (__libc_ifunc_impl_list): Likewise.
6566 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6567 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6568 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6569 multiarch strcpy for PPC64.
6570
e28bcd42
AZ
6571 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6572 redefine function name.
6573 (_wordcopy_fwd_dest_aligned): Likewise.
6574 (_wordcopy_bwd_aligned): Likewise.
6575 (_wordcopy_bwd_dest_aligned): Likewise.
6576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6577 multiarch implementations.
6578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6579 (__libc_ifunc_impl_list): Likewise.
6580 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6581 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6582 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6583 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6584 multiarch wcscpy for PPC64.
6585
92cacfce
AZ
6586 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6587 multiarch implementations.
6588 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6589 (__libc_ifunc_impl_list): Likewise.
6590 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6591 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6592 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6593 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6594 multiarch wcscpy for PPC64.
6595
7b714620
AZ
6596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6597 multiarch implementations.
6598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6599 (__libc_ifunc_impl_list): Likewise.
6600 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6601 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6602 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6603 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6604 multiarch wcsrchr for PPC64.
6605
16fd2ae3
AZ
6606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6607 multiarch implementations.
6608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6609 (__libc_ifunc_impl_list): Likewise.
6610 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6611 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6612 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6613 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6614 multiarch wcschr for PPC64.
6615
9ee2969b
AZ
6616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6617 multiarch implementations.
6618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6619 (__libc_ifunc_impl_list): Likewise.
6620 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6621 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6622 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6623 multiarch strchrnul for PPC64.
6624
372dc060
AZ
6625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6626 implementations.
6627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6628 (__libc_ifunc_impl_list): Likewise.
6629 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6630 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6631 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6632 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6633 strchr for PPC64.
6634
24c2c3b9
AZ
6635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6636 implementations.
6637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6638 (__libc_ifunc_impl_list): Likewise.
6639 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6640 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6641 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6642 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6643 strncmp for PPC64.
6644
1c92d9a0
AZ
6645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6646 multiarch implementations.
6647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6648 (__libc_ifunc_impl_list): Likewise.
6649 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6650 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6651 strncasecmp for PPC64.
6652 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6653 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6654 multiarch strncasecmp_l for PPC64.
6655
17de3ee3
AZ
6656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6657 multiarch implementations.
6658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6659 (__libc_ifunc_impl_list): Likewise.
6660 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6661 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6662 multiarch strcasecmp for PPC64.
6663 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6664 file.
6665 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6666 multiarch strcasecmp_l for PPC64.
6667
62982bf9
AZ
6668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6669 implementations.
6670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6671 (__libc_ifunc_impl_list): Likewise.
6672 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6673 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6674 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6675 strnlen for PPC64.
6676
a65f4904
AZ
6677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6678 implementations.
6679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6680 (__libc_ifunc_impl_list): Likewise.
6681 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6682 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6683 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6684 strlen for PPC64.
6685
1fd005ad
AZ
6686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6687 implementations.
6688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6689 (__libc_ifunc_impl_list): Likewise.
6690 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6691 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6692 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6693 rawmemrchr for PPC64.
6694
cd05ba91
AZ
6695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6696 implementation.
6697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6698 (__libc_ifunc_impl_list): Likewise.
6699 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6700 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6701 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6702 memrchr for PPC64.
6703
870f8676
AZ
6704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6705 implementation.
6706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6707 (__libc_ifunc_impl_list): Likewise.
6708 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6709 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6710 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6711 memchr for PPC64.
6712
f00be62b
AZ
6713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6714 implementation.
6715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6716 (__libc_ifunc_impl_list): Likewise.
6717 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6718 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6719 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6720 mempcpy for PPC64.
6721
8a29a3d0
AZ
6722 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6723 avoid cretion of __bzero symbol.
6724 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6725 Likewise.
6726 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6727 Likewise.
6728 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6729 Likewise.
6730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6731 multiarch implementations.
6732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6733 (__libc_ifunc_impl_list): Likewise.
6734 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6735 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6736 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6737 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6738 bzero for PPC32.
6739 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6740 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6741 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6742 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6743 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6744 memset for PPC64.
6745 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6746
07253fcf
AZ
6747 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6749 implementations.
6750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6751 (__libc_ifunc_impl_list): Likewise.
6752 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6753 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6754 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6755 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6756 memcmp for PPC64.
6757
b5beafbc
AZ
6758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6759 multiarch for POWER/PPC64.
6760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6761 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6762 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6763 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6764 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6765 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6766 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6767 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6768 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6769 memcpy for PPC64.
6770
5e6a4d4b
AZ
6771 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6772 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6773 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6774 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6775 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6776 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6777 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6778 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6779 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6780 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6781 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6782 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6783 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6784 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6785 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6793
ddfab6dc
KK
67942013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6795
6796 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6797
19b5525e
SP
67982013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6799
6800 * benchtests/Makefile (bench): Add exp2 and log2.
6801 (LDLIBS-bench-exp2): Add -lm.
6802 (LDLIBS-bench-log2): Likewise.
6803 * benchtests/exp2-inputs: New inputs file.
6804 * benchtests/log2-inputs: New inputs file.
6805 * benchtests/log-inputs: Add new inputs.
6806 * benchtests/tan-inputs: Likewise.
6807
196f7f5d
SP
68082013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6809
7a74607f
SP
6810 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6811 definition...
57f41c40
AS
6812 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6813 (csloww2): ... from here.
7a74607f 6814
196f7f5d
SP
6815 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6816 instead of structures.
6817 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6818 (POLYNOMIAL): Likewise.
6819 (TAYLOR_SLOW): Likewise.
6820 (__sin): Likewise.
6821 (__cos): Likewise.
6822 (slow1): Likewise.
6823 (slow2): Likewise.
6824 (sloww): Likewise.
6825 (sloww1); Likewise.
6826 (sloww2): Likewise.
6827 (bsloww1): Likewise.
6828 (bsloww2): Likewise.
6829 (cslow2): Likewise.
6830 (csloww): Likewise.
6831 (csloww1): Likewise.
6832 (csloww2): Likewise.
6833
0dfa665c
OB
68342013-12-10 Ondřej Bílka <neleai@seznam.cz>
6835
6836 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
6837 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6838 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
6839 * malloc/hooks.c (realloc_check): Likewise.
6840
5782a80f
OB
6841 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6842 * malloc/arena.c: Remove PER_THREAD conditional.
6843 [!PER_THREAD]: Remove code.
6844 (ptmalloc_unlock_all2): Likewise.
6845 (ptmalloc_init): Likewise.
6846 (_int_new_arena): Likewise.
6847 (arena_get2): Likewise.
6848 * malloc/hooks.c (__malloc_get_state): Likewise.
6849 (__malloc_set_state): Likewise.
6850 * malloc/malloc.c: Likewise.
6851 (struct malloc_state): Likewise.
6852 (struct malloc_par): Likewise.
6853 (__libc_realloc): Likewise.
6854 (__libc_mallopt): Likewise.
6855
aeb95445
AZ
68562013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6857
6858 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6859
e8349efd
OB
68602013-12-09 Ondřej Bílka <neleai@seznam.cz>
6861
6862 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6863 macro to a function. Check for zero perturb_byte.
6864 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6865
f3eeb3fc 6866 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
6867 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6868 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
6869 force_reg by atomic_forced_read.
6870 * malloc/arena.c (ptmalloc_init): Likewise.
6871 * malloc/hooks.c (top_check): Likewise.
6872
be2f9009
AZ
68732013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6874
6875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6876
e7b914bd
MT
68772013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6878
6879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6880
9f0be4f8
JM
68812013-12-08 Joseph Myers <joseph@codesourcery.com>
6882
6883 * math/auto-libm-test-in: Add tests of lgamma.
6884 * math/auto-libm-test-out: Regenerated.
6885 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6886 (M_LOG_2_SQRT_PIl): Likewise.
6887 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6888 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6889 mpfr_f_f1.
6890 (func_calc_desc): Add mpfr_f_f1 union field.
6891 (ARGS1): New macro.
6892 (ARGS2): Likewise.
6893 (ARGS3): Likewise.
6894 (ARGS4): Likewise.
6895 (RET1): Likewise.
6896 (RET2): Likewise.
6897 (CALC): Likewise.
6898 (FUNC): Likewise.
6899 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6900 (test_functions): Add lgamma.
6901 (calc_generic_results): Handle mpfr_f_f1.
6902 * sysdeps/i386/fpu/libm-test-ulps: Update.
6903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6904
24eeafdb
AZ
69052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6906
6907 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6908 __mpn_add_n for PowerPC64/POWER7.
6909 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6910 __mpn_sub_n for PowerPC64/POWER7.
6911
4a2c0fd4
AZ
6912 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6913 __mpn_addmul_1 for PowerPC64.
6914 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6915 __mpn_submul_1 for PowerPC64.
6916 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6917 for PowerPC64.
6918 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6919 for PowerPC64.
6920
4b5b548c
FS
69212013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6922
6923 [BZ #15089]
6924 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6925
0a3ac0aa
AZ
69262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6927
6928 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6929
ccdc8438
AZ
6930 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6931 add multiarch folders.
6932 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6933 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6934 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6935 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6936 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6937 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6938 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6939 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6940 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6941 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6942 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6949
2e973d99
AZ
6950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6951 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6953 New file.
6954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6955 New file.
6956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6957 multiarch __ieee754_hypot for PowerPC32.
6958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6959 New file.
6960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6961 New file.
6962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6963 multiarch __ieee754_hypotf for PowerPC32.
6964
2d9470b2
AZ
6965 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6966 long_double_symbol only if __logbl is defined.
6967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6968 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6969 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6970 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6972 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6973 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6974 path for implementation.
6975 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6976 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6978 logb, and logbl multiarch implementations for PowerPC32.
6979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6980 file.
6981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6982 file.
6983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6984 multiarch logb for PowerPC32.
6985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6986 file.
6987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6988 file.
6989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6990 multiarch logbf for PowerPC32.
6991 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6993 file.
6994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6995 multiarch logbl implementation for PowerPC32.
6996
5212ffce
AZ
6997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6998 and modff multiarch implementations.
6999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7000 New file.
7001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7002 New file.
7003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7004 multiarch modf for PowerPC32.
7005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7006 New file.
7007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7008 New file.
7009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7010 multiarch modff for PowerPC32.
7011
79dccf31
AZ
7012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7013 and lrintf multiarch implementations.
7014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7015 New file.
7016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7017 New file.
7018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7019 multiarch lrint for PowerPC32.
7020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7021 file: multiarch lrintf for PowerPC32.
7022
deb66480
AZ
7023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7024 and lroundf multiarch implementations.
7025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7026 New file.
7027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7028 New file.
7029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7030 New file.
7031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7032 multiarch lround for PowerPC32.
7033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7034 file: multiarch lroundf for PowerPC32.
7035
264b036b
AZ
7036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7037 copysign and copysignf multiarch implementations.
7038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7039 New file.
7040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7041 New file.
7042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7043 file: multiarch copysign for PowerPC32.
7044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7045 file: multiarch copysignf for PowerPC32.
7046
d47db6c9
AZ
7047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7048 and truncf multiarch implementations.
7049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7050 New file.
7051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7052 file.
7053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
7054 multiarch trunc for PowerPC32.
7055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
7056 New file.
7057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
7058 New file.
7059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
7060 multiarch truncf for PowerPC32.
7061
ddb60b5a
AZ
7062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
7063 and roundf multiarch implementations.
7064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
7065 New file.
7066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
7067 file.
7068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
7069 multiarch round for PowerPC32.
7070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
7071 New file.
7072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
7073 New file.
7074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
7075 multiarch roundf for PowerPC32.
7076
bedcf49b
AZ
7077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
7078 and floorf multiarch implementations.
7079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
7080 New file.
7081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
7082 file.
7083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
7084 multiarch floor for PowerPC32.
7085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
7086 New file.
7087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
7088 New file.
7089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
7090 multiarch floorf for PowerPC32.
7091
35ae5b40
AZ
7092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
7093 and ceilf multiarch implementations.
7094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
7095 New file.
7096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
7097 file.
7098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
7099 multiarch ceil for PowerPC32.
7100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
7101 New file.
7102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
7103 file.
7104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
7105 multiarch ceilf for PowerPC32.
7106
ae1a4cd9
AZ
7107 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
7108 is defined.
7109 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
7110 FINITEF is defined.
7111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
7112 and finitef multiarch implementations.
7113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
7114 New file.
7115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
7116 file.
7117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
7118 multiarch finite for PowerPC32.
7119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
7120 New file.
7121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
7122 file: multiarch finitef for PowerPC32.
7123
64fffd65
AZ
7124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
7125 and isinff multiarch implementations.
7126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
7127 file.
7128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
7129 file.
7130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
7131 multiarch isinf for PowerPC32.
7132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
7133 New file.
7134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
7135 multiarch isinff for PowerPC32.
7136
8e4e7ba2
AZ
7137 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
7138 alias when __isnan is defined.
7139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
7140 and isnanf multiarch implementations.
7141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
7142 file.
7143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
7144 file.
7145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
7146 file.
7147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
7148 file.
7149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
7150 multiarch isnan for PowerPC32.
7151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
7152 New file.
7153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
7154 New file.
7155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7156 multiarch isnanf for PowerPC32.
7157
ddba588e
AZ
7158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7159 and sqrtf multiarch implementations.
7160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7161 file.
7162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7163 file.
7164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7165 multiarch sqrt for PowerPC32.
7166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7167 file.
7168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7169 file.
7170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7171 multiarch sqrtf for PowerPC32.
7172
0f96a2f0
AZ
7173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7174 and llroundf multiarch implementations.
7175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7176 New file.
7177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7178 New file.
7179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7180 New file.
7181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7182 file: multiarch llround for PowerPC32.
7183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7184 file: multiarch llroundf for PowerPC32.
7185
c9b5d79e
AZ
7186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7187 multiarch PowerPC32 fpu implementations.
7188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7189 New file.
7190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7191 New file.
7192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7193 multiarch llrint for PowerPC32.
7194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7195 New file.
7196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7197 New file.
7198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7199 file.
7200
9cbb3aab
AZ
7201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7202
ea5a72f8
AZ
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7204 file.
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7206 file.
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7208 file.
7209 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7210 multiarch wordcopy for PPC32.
7211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7212 wordcopy objects.
7213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7214 (__libc_ifunc_impl_list): Likewise.
7215 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7216 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7217 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7218 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7219 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7220 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7221
93be09e7
AZ
7222 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7223 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7224 file.
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7226 file.
7227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7228 file.
7229 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7230 multiarch wcscpy for PPC32.
7231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7232 multiarch objects.
7233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7234 (__libc_ifunc_impl_list): Likewise.
7235 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7236 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7237 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7238 sysdeps/powerpc/power6/wcscpy.c.
7239
bb04e529
AZ
7240 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7241 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7242 file.
7243 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7244 file.
7245 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7246 file.
7247 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7248 multiarch wcsrchr for PPC32.
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7250 multiarch objects.
7251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7252 (__libc_ifunc_impl_list): Likewise.
7253 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7254 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7255 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7256 sysdeps/powerpc/power6/wcsrchr.c.
7257
05b5cd1c
AZ
7258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7259 file.
7260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7261 file.
7262 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7264 multiarch wcschr for PPc32.
7265 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7266 multiarch objects.
7267 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7268 (__libc_ifunc_impl_list): Likewise.
7269 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7270 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7271 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7272 sysdeps/powerpc/power6/wcschr.c.
7273
ba964147
AZ
7274 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7275 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7276 file.
7277 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7278 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7279 file: multiarch strchr for PPC32.
7280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7281 multiarch objects.
7282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7283 (__libc_ifunc_impl_list): Likewise.
7284
31c81aaa
AZ
7285 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7286 name.
7287 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7288 file.
7289 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7290 file.
7291 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7292 multiarch strchrnul for PPC32.
7293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7294 multiarch objects.
7295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7296 (__libc_ifunc_impl_list): Likewise.
7297
0d0607d9
AZ
7298 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7299 file.
7300 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7301 multiarch strncasecmp for PPC32.
7302 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7303 file.
7304 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7305 multiarch strncasecmp_l for PPC32.
7306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7307 strncasecmp multiarch objects.
7308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7309 (__libc_ifunc_impl_list): Likewise.
7310
4dfd5c86
AZ
7311 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7312 file.
7313 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7314 multiarch strncasecmp for PPC32.
7315 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7316 New file.
7317 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7318 multiarch strcasecmp_l for PPC32.
7319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7320 multiarch objects.
7321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7322 (__libc_ifunc_impl_list): Likewise.
7323
a19e01a3
AZ
7324 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7325 file.
7326 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7327 file.
7328 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7329 multiarch strncmp for PPC32.
7330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7331 multiarch objects.
7332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7333 (__libc_ifunc_impl_list): Likewise.
7334
ae9cf7a2
AZ
7335 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7336 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7337 file.
7338 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7339 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7341 multiarch objects.
7342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7343 (__libc_ifunc_impl_list): Likewise.
7344
3148bb7d
AZ
7345 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7346 file.
7347 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7348 file.
7349 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7350 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7351 multiarch objects.
7352 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7353 (__libc_ifunc_impl_list): Likewise.
7354
7af8b946
AZ
7355 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7356 file.
7357 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7358 file.
7359 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7360 multiarch rawmemchr for PPC32.
7361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7362 multiarch objects.
7363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7364 (__libc_ifunc_impl_list): Likewise.
7365
03a6aa6a
AZ
7366 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7367 file.
7368 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7369 file.
7370 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7371 file: memrchr multiarch for PPC32.
7372 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7373 multiarch objects.
7374 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7375 (__libc_ifunc_impl_list): Likewise.
7376
1c62e6d9
AZ
7377 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7378 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7379 file.
7380 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7381 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7382 multiarch memchr for PPC32.
7383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7384 multiarch objects.
7385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7386 (__libc_ifunc_impl_list): Likewise.
7387
87da8bdb
AZ
7388 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7389 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7390 file.
7391 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7392 file.
7393 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7394 file: multiarch mempcpy for PPC32.
7395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7396 multiarch objects.
7397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7398 (__libc_ifunc_impl_list): Likewise.
7399
20ed4714
AZ
7400 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7401 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7402 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7403 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7404 multiarch bzero for PPC32.
7405 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7406 file.
7407 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7408 file.
7409 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7410 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7411 file: multiarch memset for PPC32.
7412 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7414 memset multiarch objects.
7415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7416 (__libc_ifunc_impl_list): Likewise.
7417
ab3e3a46
AZ
7418 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7419 file.
7420 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7421 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7422 memcmp for PPC32.
7423 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7425 multiarch objects.
7426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7427 (__libc_ifunc_impl_list): Likewise.
7428
930de6f0
AZ
7429 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7430 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7431 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7432 file.
7433 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7434 file.
7435 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7436 file.
7437 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7438 multiarch memcpy for PPC32.
7439 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7440 multiarch objects.
7441 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7442 (__libc_ifunc_impl_list): Likewise.
7443
4c628e00
AZ
7444 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7445 support multiarch for POWER/PPC32.
7446 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7447 Likewise.
7448 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7450 Implies file to make multiarch folder appers before the fpu and
7451 default folder for power4 configuration.
7452
f4479220
SP
74532013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7454
7455 * scripts/bench.pl: Append volatile keyword to type.
7456
8517800f
KK
74572013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7458
7459 * sysdeps/sh/sotruss-lib.c: New file.
7460 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7461
180138f1
AZ
74622013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7463
7464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7465
bbf37bdc
JM
74662013-12-05 Joseph Myers <joseph@codesourcery.com>
7467
e47cc4e0
JM
7468 [BZ #6810]
7469 * math/w_tgamma.c: Include <errno.h>.
7470 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7471 * math/w_tgammaf.c: Include <errno.h>.
7472 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7473 * math/w_tgammal.c: Include <errno.h>.
7474 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7475 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7476 underflow. Add more tgamma tests.
7477 * math/auto-libm-test-out: Regenerated.
7478 * sysdeps/i386/fpu/libm-test-ulps: Update.
7479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7480
bbf37bdc
JM
7481 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7482 sin, sinh, tan, tanh, tgamma, y0 and y1.
7483 * math/auto-libm-test-out: Regenerated.
7484 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7485 (TEST_COND_x86): Likewise.
7486 (M_E2l): Remove macro.
7487 (M_E3l): Likewise.
7488 (M_2_SQRT_PIl): Likewise.
7489 (M_SQRT_PIl): Likewise.
7490 (M_1_DIV_El): Likewise.
7491 (log_test_data): Use AUTO_TESTS_f_f.
7492 (log10_test_data): Likewise.
7493 (log1p_test_data): Likewise.
7494 (log2_test_data): Likewise.
7495 (sin_test_data): Likewise.
7496 (sin_tonearest_test_data): Likewise.
7497 (sin_towardzero_test_data): Likewise.
7498 (sin_downward_test_data): Likewise.
7499 (sin_upward_test_data): Likewise.
7500 (sinh_test_data): Likewise.
7501 (sinh_tonearest_test_data): Likewise.
7502 (sinh_towardzero_test_data): Likewise.
7503 (sinh_downward_test_data): Likewise.
7504 (sinh_upward_test_data): Likewise.
7505 (tan_test_data): Likewise.
7506 (tan_tonearest_test_data): Likewise.
7507 (tan_towardzero_test_data): Likewise.
7508 (tan_downward_test_data): Likewise.
7509 (tan_upward_test_data): Likewise.
7510 (tanh_test_data): Likewise.
7511 (tgamma_test_data): Likewise.
7512 (y0_test_data): Likewise.
7513 (y1_test_data): Likewise.
7514 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7515 (special_real_inputs): Add pi/4.
7516 * sysdeps/i386/fpu/libm-test-ulps: Update.
7517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7518
eb5ad6b9
AZ
75192013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7520
7521 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7522 "longjmp_target" static probes.
7523 (__longjmp): Rename to __longjmp_symbol.
7524 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7525 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7526 on which longjmp to generate.
7527 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7528 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7529 probe.
7530 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7531 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7532 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7533 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7534 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7535 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7537 __longjmp_symbol based on which __longjmp to generate.
7538 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7539 probe.
7540 (setjmp): Rename to setjmp_symbol.
7541 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7542 (_setjmp): Rename to _setjmp_symbol.
7543 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7544 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7545 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7546 which setjmp to generate.
7547 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7548 "longjmp_target" static probes.
7549
d136c6dc
SP
75502013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7551
9298ecba
SP
7552 * benchtests/README: Add note about output arguments.
7553 * benchtests/bench-sincos.c: Remove file.
7554 * benchtests/sincos-inputs: New file.
7555 * scripts/bench.pl: Identify output arguments and define
7556 static variables for them.
7557
232983e9
SP
7558 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7559
d136c6dc
SP
7560 [BZ #15941]
7561 * Makefile (INSTALL): Add install-plain.texi as the primary
7562 dependency.
7563 * manual/install-plain.texi: New file.
7564 * manual/install.texi: Include node directive only for
7565 non-plaintext output.
7566
699ff837
JM
75672013-12-04 Joseph Myers <joseph@codesourcery.com>
7568
ab07cea8
JM
7569 * stdlib/longlong.h: Update from GCC.
7570
699ff837
JM
7571 [BZ #6807]
7572 [BZ #15901]
7573 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7574 * math/w_j0f.c (y0f): Likewise.
7575 * math/w_j0l.c (__y0l): Likewise.
7576 * math/w_j1.c (y1): Likewise.
7577 * math/w_j1f.c (y1f): Likewise.
7578 * math/w_j1l.c (__y1l): Likewise
7579 * math/w_jn.c (yn): Likewise.
7580 * math/w_jnf.c (ynf): Likewise.
7581 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7582 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7583 value for Bessel function domain errors outside _SVID_ mode.
7584 Adjust sign of return value for yn (negative integer, 0).
7585 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7586 by zero in return for negative x and set sign appropriately for
7587 negative n.
7588 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7589 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7590 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7591 expectations in error cases.
7592 (y1_test_data): Likewise.
7593 (yn_test_data): Likewise.
7594 * sysdeps/i386/fpu/libm-test-ulps: Update.
7595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7596
5b118558
UW
75972013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7598
7599 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7600 "64" to "64-v1". Add "64-v2".
7601 (abi-64-options): Rename to ...
7602 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7603 (abi-64-condition): Rename to ...
7604 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7605 (abi-64-ld-soname): Rename to ...
7606 (abi-64-v1-ld-soname): ... this.
7607 (abi-64-v2-options): Define.
7608 (abi-64-v2-condition): Likewise.
7609 (abi-64-v2-ld-soname): Likewise.
7610 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7611 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7615
61cd8fe4
UW
76162013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7617 Alan Modra <amodra@gmail.com>
7618
7619 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7620 New versions for use with the ELFv2 ABI.
7621 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7622 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7623 declaration.
7624 (struct La_ppc64v2_retval): Likewise.
7625 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7626 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7627 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7628 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7629 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7630 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7631 Do not save or restore CR.
7632 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7633 (_dl_profile_resolve): Do no save or restore CR. Support extended
7634 return values for ELFv2 ABI. Fix location of FPR return registers.
7635 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7636 updated values for _CALL_ELF == 2.
7637 (La_regs, La_retval, int_retval): Likewise.
7638
8b8a692c
UW
76392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7640
7641 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7642 (FRAME_MIN_SIZE_PARM): Likewise.
7643 (FRAME_BACKCHAIN): Likewise.
7644 (FRAME_CR_SAVE): Likewise.
7645 (FRAME_LR_SAVE): Likewise.
7646 (FRAME_TOC_SAVE): Likewise.
7647 (FRAME_PARM_SAVE): Likewise.
7648 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7649 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7650 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7651 (call_mcount_parm_offset): New macro.
7652 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7653 (PROF): Use symbolic stack frame offsets.
7654 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7655 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7656 Redefine in terms of FRAME_MIN_SIZE.
7657 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7658 (_dl_profile_resolve): Likewise. Update comment.
7659 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7660 symbols stack frame offsets.
7661 (__sigsetjmp): Likewise.
7662 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7663 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7664 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7665 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7666
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7668 (FRAME_BACKCHAIN): Remove.
7669 (FRAME_CR_SAVE): Likewise.
7670 (FRAME_LR_SAVE): Likewise.
7671 (FRAME_COMPILER_DW): Likewise.
7672 (FRAME_LINKER_DW): Likewise.
7673 (FRAME_TOC_SAVE): Likewise.
7674 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
7675 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7676 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7677 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7679 (CHECK_SP): Use symbolic stack frame offsets.
7680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7681 zone" instead of caller's parameter save area for temp storage.
7682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7683 Likewise. Also, use symbolic stack frame offsets.
7684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7685 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7686 our own stack frame instead of the caller's.
7687 (__socket): Use symbolic stack frame offsets.
7688
122b66de
UW
76892013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7690 Alan Modra <amodra@gmail.com>
7691
7692 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7693 Define.
57f41c40
AS
7694 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7695 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
7696 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7697 New function.
7698 (elf_machine_fixup_plt): Call it.
7699 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7700 reloc arguments.
7701 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
7702 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7703 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7704 r2 before calling target.
7705
696caf1d
UW
77062013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7707 Alan Modra <amodra@gmail.com>
7708
7709 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7710 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7711 versions of macros to support ELFv2 ABI.
7712 (LOCALENTRY): New macro.
7713 (ENTRY, EALIGN): Use it.
7714 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7715 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7716 fall through into ENTRY entry point.
7717 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7718 Only define if _CALL_ELF != 2.
7719
7720 (elf_machine_matches_host): Verify ABI version matches.
7721 (RTLD_START): Use LOCALENTRY.
7722 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7723 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7724 (PLT_ENTRY_WORDS): New macro.
7725 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7726 (elf_machine_runtime_setup): Support ELFv2 ABI.
7727 (elf_machine_fixup_plt): Likewise.
7728 (elf_machine_plt_conflict): Likewise.
7729 (resolve_ifunc): Likewise.
7730 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7731 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7732 Likewise.
7733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7734 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7736 (makecontext): Support ELFv2 ABI.
7737 * elf/elf.h (EF_PPC64_ABI): Define.
7738
d31beafa
UW
77392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7740
57f41c40
AS
7741 * sysdeps/powerpc/powerpc64/sysdep.h
7742 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7743 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7744 (ENTRY) [ASSEMBLER]: ... but instead here ...
7745 (EALIGN) [ASSEMBLER]: ... and here.
7746 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7747 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7748 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
7749 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7750 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
7751 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7752 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
7753 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7755 Use PPC64_LOAD_FUNCPTR.
7756
b525166b
UW
7757 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7758
7ec07d9a
AM
77592013-12-04 Alan Modra <amodra@gmail.com>
7760
7761 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7762 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7763 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7764 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7765
7766 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7767 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7768 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7769 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7770 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7771 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7772
5162e7dd
UW
77732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7774
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7776 (__makecontext): Fix incorrect CFI when backtracing out of
7777 context created via makecontext.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7779 (__setcontext): Fix incorrect CFI during switch to new context.
7780 (__novec_setcontext): Likewise.
7781
19e3372b
OB
77822013-12-04 Ondřej Bílka <neleai@seznam.cz>
7783
7784 [BZ #4772]
7785 * time/strptime_l.c (__strptime_internal): Allow modifiers
7786 in strptime.
7787 * time/tst-strptime.c (day_tests): Add testcase.
7788
ecaf142d
SP
77892013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7790
7791 * scripts/bench.pl: Skip over blank lines.
7792
fbf964ae
PE
77932013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7794
7795 [BZ #926]
7796 * manual/time.texi (Calendar Time): Clarify what timezone functions
7797 use.
7798
fa60a674
AZ
77992013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7800
7801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7802
d674f0ef
OB
78032013-12-04 Ondřej Bílka <neleai@seznam.cz>
7804
7805 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7806 implementation.
7807 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7808 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7809 * debug/memset_chk.c (__memset_chk): Likewise.
7810 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7811 * debug/strncpy_chk.c: Likewise.
7812
17dea188
JM
78132013-12-03 Joseph Myers <joseph@codesourcery.com>
7814
749008ff
JM
7815 [BZ #15268]
7816 [BZ #15425]
7817 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7818 (__ieee754_exp): For possibly underflowing results, check size of
7819 result and force underflow exception if required.
7820 * math/auto-libm-test-in: Add more tests of exp.
7821 * math/auto-libm-test-out: Regenerated.
7822 * sysdeps/i386/fpu/libm-test-ulps: Update.
7823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7824
17dea188
JM
7825 [BZ #16283]
7826 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7827 * math/w_exp2f.c (__exp2f): Likewise.
7828 * math/w_exp2l.c (__exp2l): Likewise.
7829 * math/auto-libm-test-in: Do not allow missing errno on exp2
7830 underflow.
7831 * math/auto-libm-test-out: Regenerated.
7832
b20de2c3
OB
78332013-12-03 Ondřej Bílka <neleai@seznam.cz>
7834
7835 [BZ #16274]
7836 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7837 handle filename validation.
7838 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7839 (do_open): Delete.
7840
d8e2dbe3
JM
78412013-12-03 Joseph Myers <joseph@codesourcery.com>
7842
34e16df5
JM
7843 [BZ #6786]
7844 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7845 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7846 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7847 <float.h>.
7848 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7849 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7850 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7851 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7852 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7853 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7854 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7855 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7856 Add more erfc tests.
7857 * math/auto-libm-test-out: Regenerated.
7858 * sysdeps/i386/fpu/libm-test-ulps: Update.
7859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7860
d8e2dbe3
JM
7861 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7862 exp2, expm1, j0 and j1.
7863 * math/auto-libm-test-out: Regenerated.
7864 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7865 (erfc_test_data): Likewise.
7866 (exp_test_data): Likewise.
7867 (exp_tonearest_test_data): Likewise.
7868 (exp_towardzero_test_data): Likewise.
7869 (exp_downward_test_data): Likewise.
7870 (exp_upward_test_data): Likewise.
7871 (exp10_test_data): Likewise.
7872 (exp2_test_data): Likewise.
7873 (expm1_test_data): Likewise.
7874 (j0_test_data): Likewise.
7875 (j1_test_data): Likewise.
7876 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7877 (input_flag_type): Add flag_xfail_rounding.
7878 (input_flags): Add xfail-rounding.
7879 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7880 (output_for_one_input_case): Handle flag_xfail_rounding.
7881 * sysdeps/i386/fpu/libm-test-ulps: Update.
7882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7883
18d14251
AJ
78842013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7885
3d2e6075 7886 [BZ #16289]
18d14251
AJ
7887 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7888 division by 0.
7889
520d437b
SP
78902013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7891
7892 [BZ #16195]
7893 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7894 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7895 (STAP_PROBE0): New macro.
7896 (STAP_PROBE1): Likewise.
7897 (STAP_PROBE2): Likewise.
7898 (STAP_PROBE3): Likewise.
7899 (STAP_PROBE4): Likewise.
7900
416e0145
OB
79012013-12-02 Ondřej Bílka <neleai@seznam.cz>
7902
7903 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7904
9d17796a
SE
79052013-12-02 Steve Ellcey <sellcey@mips.com>
7906
7907 * benchtests/Makefile (bench): Add sqrt.
7908 (LDLIBS-bench-sqrt): New.
7909 * benchtests/sqrt-input: New.
7910
f524d6a8
PS
79112013-12-02 Pavel Simerda <psimerda@redhat.com>
7912
639a0ef8
PS
7913 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7914 (GAIH_EAI): Likewise.
7915 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7916 (gaih_inet): Likewise.
7917 (getaddrinfo): Don't use GAIH_EAI.
7918
f524d6a8
PS
7919 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7920 (struct gaih): Remove definition.
7921
df3aedaf
SP
79222013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7923
7924 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7925 Use HERRNOP directly.
7926
1ab19dec
AZ
79272013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7928
b42ad38d 7929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7930
176b0c79
JM
79312013-11-30 Joseph Myers <joseph@codesourcery.com>
7932
7933 * math/gen-auto-libm-tests.c (test_functions): Add more
7934 single-argument functions.
7935 (special_fill_pi_2): New function.
7936 (special_fill_minus_pi_2): Likewise.
7937 (special_fill_pi_6): Likewise.
7938 (special_fill_minus_pi_6): Likewise.
7939 (special_fill_pi_3): Likewise.
7940 (special_fill_2pi_3): Likewise.
7941 (special_fill_e): Likewise.
7942 (special_fill_1_e): Likewise.
7943 (special_fill_e_minus_1): Likewise.
7944 (special_real_inputs): Add more special inputs.
7945 (output_for_one_input_case): Do not require ERANGE on underflow to
7946 zero if round-to-nearest result does not underflow to zero, unless
7947 exact results required.
7948 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7949 atan, atanh, cbrt, cos and cosh.
7950 * math/auto-libm-test-out: Regenerated.
7951 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7952 (acos_tonearest_test_data): Likewise.
7953 (acos_towardzero_test_data): Likewise.
7954 (acos_downward_test_data): Likewise.
7955 (acos_upward_test_data): Likewise.
7956 (acosh_test_data): Likewise.
7957 (asin_test_data): Likewise.
7958 (asin_tonearest_test_data): Likewise.
7959 (asin_towardzero_test_data): Likewise.
7960 (asin_upward_test_data): Likewise.
7961 (asinh_test_data): Likewise.
7962 (atan_test_data): Likewise.
7963 (atanh_test_data): Likewise.
7964 (cbrt_test_data): Likewise.
7965 (cos_test_data): Likewise.
7966 (cos_tonearest_test_data): Likewise.
7967 (cos_towardzero_test_data): Likewise.
7968 (cos_downward_test_data): Likewise.
7969 (cos_upward_test_data): Likewise.
7970 (cosh_test_data): Likewise.
7971 (cosh_tonearest_test_data): Likewise.
7972 (cosh_towardzero_test_data): Likewise.
7973 (cosh_downward_test_data): Likewise.
7974 (cosh_upward_test_data): Likewise.
7975 * sysdeps/i386/fpu/libm-test-ulps: Update.
7976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7977
ffb536d0
JM
79782013-11-29 Joseph Myers <joseph@codesourcery.com>
7979
2a77a467
JM
7980 [BZ #6787]
7981 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7982 * math/w_exp10f.c (__exp10f): Likewise.
7983 * math/w_exp10l.c (__exp10l): Likewise.
7984 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7985 errno settings in existing tests.
7986
ea3bc4e8
JM
7987 [BZ #14032]
7988 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7989 precision control set to double precision.
7990 * sysdeps/i386/fpu/w_sqrt.c: New file.
7991 * math/auto-libm-test-in: Add more tests.
7992 * math/auto-libm-test-out: Update.
7993
0712c9d8
JM
7994 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7995 (sqrt_test_tonearest): New function.
7996 (sqrt_towardzero_test_data): New variable.
7997 (sqrt_test_towardzero): New function.
7998 (sqrt_downward_test_data): New variable.
7999 (sqrt_test_downward): New function.
8000 (sqrt_upward_test_data): New variable.
8001 (sqrt_test_upward): New function.
8002 (main): Call the new functions.
8003
ffb536d0
JM
8004 * math/gen-auto-libm-tests.c: New file.
8005 * math/auto-libm-test-in: Likewise.
8006 * math/auto-libm-test-out: New generated file.
8007 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8008 variables.
8009 (%beautify): Add generated representations of zero.
8010 (top level): Set $auto_input and call parse_auto_input.
8011 (beautify): Remove trailing "f" from hex float constants.
8012 (parse_args): Handle XFAIL_TEST.
8013 (convert_condition): New function.
8014 (or_value): Likewise.
8015 (or_cond_value): Likewise.
8016 (generate_testfile): Handle AUTO_TESTS_* lines.
8017 (parse_auto_input): New function.
8018 * math/libm-test.inc (XFAIL_TEST): New macro.
8019 (ERRNO_UNCHANGED): Update value.
8020 (ERRNO_EDOM): Likewise.
8021 (ERRNO_ERANGE): Likewise.
8022 (IGNORE_RESULT): Likewise.
8023 (TEST_COND_flt_32): New macro.
8024 (TEST_COND_dbl_64): Likewise.
8025 (TEST_COND_ldbl_96_intel): Likewise.
8026 (TEST_COND_ldbl_96_m68k): Likewise.
8027 (TEST_COND_ldbl_128): Likewise.
8028 (TEST_COND_ldbl_128ibm): Likewise.
8029 (TEST_COND_long32): Likewise.
8030 (TEST_COND_long64): Likewise.
8031 (TEST_COND_before_rounding): Likewise.
8032 (TEST_COND_after_rounding): Likewise.
8033 (enable_test): Handle XFAIL_TEST flag.
8034 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8035 with finite results.
8036 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8037 auto-libm-test-out.
8038
acd98a8e
AK
80392013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8040 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8041
8042 [BZ #16214]
8043 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8044 __tls_get_addr_internal instead of __tls_get_offset in order to
8045 avoid GOT pointer dependency. Make rtld export
8046 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8047 __tls_get_addr since we are a __tls_get_offset platform.
8048 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8049 GOT pointer being set up before.
8050 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8051
3c1c46a6
JM
80522013-11-28 Joseph Myers <joseph@codesourcery.com>
8053
7475aef5
JM
8054 * manual/math.texi (Errors in Math Functions): Document accuracy
8055 goals.
8056
8bca7cd8
JM
8057 [BZ #15004]
8058 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
8059 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
8060 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8061 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8062 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8063 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8064 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8065 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8066 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8067 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8068 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8069 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8070 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8071 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8072 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8073 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8074
91a1f3fe
JM
8075 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
8076 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
8077 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
8078 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
8079 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
8080 Likewise.
8081 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
8082 Likewise.
8083 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
8084 Likewise.
8085 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
8086 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
8087 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
8088 atomic-feupdateenv and flt-rounds.
8089 * sysdeps/powerpc/nofpu/Versions (libc): Add
8090 __atomic_feholdexcept, __atomic_feclearexcept,
8091 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
8092 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
8093 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
8094 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
8095 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
8096 here.
8097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8098 Update.
8099
c5df7609
JM
8100 * manual/arith.texi (FP Exceptions): Document that exceptions may
8101 not be raised when matherr is used.
8102 (Math Error Reporting): Document overflow in directed rounding
8103 modes. Document that errno may not be set when finite values are
8104 returned on overflow. Document intent to set errno on underflow
8105 only for underflow to zero.
8106
3c1c46a6
JM
8107 [BZ #16271]
8108 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
8109 round-to-nearest then adjust result for other rounding modes.
8110 * include/fenv.h (fegetround): Use libm_hidden_proto.
8111 * math/fegetround.c (fegetround): Use libm_hidden_def.
8112 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8113 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8114 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8115 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
8116 Likewise.
8117 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
8118 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8119 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
8120 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
8121
5a4c6d53
SP
81222013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8123
8124 [BZ #16077]
8125 * nss/Versions (libnss_files): Add
8126 _nss_files_gethostbyname3_r.
8127 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
8128 New function.
8129 (HOST_DB_LOOKUP): Remove macro.
8130 (_nss_files_gethostbyname_r): Implement function without the
8131 HOST_DB_LOOKUP macro.
8132 (_nss_files_gethostbyname2_r): Likewise.
8133
897b98ba
OB
81342013-11-28 Ondřej Bílka <neleai@seznam.cz>
8135
8136 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
8137
6f476861
UB
81382013-11-26 Uros Bizjak <ubizjak@gmail.com>
8139
8140 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
8141 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
8142 warning.
8143
bd12ab55
AZ
81442013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8145
8146 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
8147 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
8148 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8149 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8150 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
8151 __fe_nomask_env_priv and attribute_hidden.
8152 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
8153 (libc_feupdateenv_test_ppc): Likewise.
8154 (libc_feresetround_ppc): Likewise.
8155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8156 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8157 compat_symbol macro.
8158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8159 (__fe_nomask_env): Likewise.
8160 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8161
52bb6543
OB
81622013-11-26 Ondřej Bílka <neleai@seznam.cz>
8163
8164 * string/Makefile: Remove ifunc tests.
8165 * string/test-string.h: Define TEST_IFUNC.
8166 * string/test-bcopy-ifunc.c: Remove.
8167 * string/test-bzero-ifunc.c: Likewise.
8168 * string/test-memccpy-ifunc.c: Likewise.
8169 * string/test-memchr-ifunc.c: Likewise.
8170 * string/test-memcmp-ifunc.c: Likewise.
8171 * string/test-memcpy-ifunc.c: Likewise.
8172 * string/test-memmem-ifunc.c: Likewise.
8173 * string/test-memmove-ifunc.c: Likewise.
8174 * string/test-mempcpy-ifunc.c: Likewise.
8175 * string/test-memrchr-ifunc.c: Likewise.
8176 * string/test-memset-ifunc.c: Likewise.
8177 * string/test-rawmemchr-ifunc.c: Likewise.
8178 * string/test-stpcpy-ifunc.c: Likewise.
8179 * string/test-stpncpy-ifunc.c: Likewise.
8180 * string/test-strcasecmp-ifunc.c: Likewise.
8181 * string/test-strcasestr-ifunc.c: Likewise.
8182 * string/test-strcat-ifunc.c: Likewise.
8183 * string/test-strchr-ifunc.c: Likewise.
8184 * string/test-strchrnul-ifunc.c: Likewise.
8185 * string/test-strcmp-ifunc.c: Likewise.
8186 * string/test-strcpy-ifunc.c: Likewise.
8187 * string/test-strcspn-ifunc.c: Likewise.
8188 * string/test-strlen-ifunc.c: Likewise.
8189 * string/test-strncasecmp-ifunc.c: Likewise.
8190 * string/test-strncat-ifunc.c: Likewise.
8191 * string/test-strncmp-ifunc.c: Likewise.
8192 * string/test-strncpy-ifunc.c: Likewise.
8193 * string/test-strnlen-ifunc.c: Likewise.
8194 * string/test-strpbrk-ifunc.c: Likewise.
8195 * string/test-strrchr-ifunc.c: Likewise.
8196 * string/test-strspn-ifunc.c: Likewise.
8197 * string/test-strstr-ifunc.c: Likewise.
8198
ab260039 81992013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
8200
8201 * benchtests/Makefile: Remove ifunc tests.
8202 * benchtests/bench-string.h: Define TEST_IFUNC.
8203 * benchtests/bench-bcopy-ifunc.c: Remove.
8204 * benchtests/bench-bzero-ifunc.c: Likewise.
8205 * benchtests/bench-memccpy-ifunc.c: Likewise.
8206 * benchtests/bench-memchr-ifunc.c: Likewise.
8207 * benchtests/bench-memcmp-ifunc.c: Likewise.
8208 * benchtests/bench-memcpy-ifunc.c: Likewise.
8209 * benchtests/bench-memmem-ifunc.c: Likewise.
8210 * benchtests/bench-memmove-ifunc.c: Likewise.
8211 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8212 * benchtests/bench-memrchr-ifunc.c: Likewise.
8213 * benchtests/bench-memset-ifunc.c: Likewise.
8214 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8215 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8216 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8217 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8218 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8219 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8220 * benchtests/bench-strcat-ifunc.c: Likewise.
8221 * benchtests/bench-strchr-ifunc.c: Likewise.
8222 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8223 * benchtests/bench-strcmp-ifunc.c: Likewise.
8224 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8225 * benchtests/bench-strcpy-ifunc.c: Likewise.
8226 * benchtests/bench-strcspn-ifunc.c: Likewise.
8227 * benchtests/bench-strlen-ifunc.c: Likewise.
8228 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8229 * benchtests/bench-strncat-ifunc.c: Likewise.
8230 * benchtests/bench-strncmp-ifunc.c: Likewise.
8231 * benchtests/bench-strncpy-ifunc.c: Likewise.
8232 * benchtests/bench-strnlen-ifunc.c: Likewise.
8233 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8234 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 8235 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
8236 * benchtests/bench-strspn-ifunc.c: Likewise.
8237 * benchtests/bench-strstr-ifunc.c: Likewise.
8238
82392013-11-26 Ondřej Bílka <neleai@seznam.cz>
8240
ab260039
OB
8241 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8242
d1d9eaf4 82432013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 8244
d1d9eaf4
OB
8245 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8246 * rt/aio.h: Likewise.
8247 * sysdeps/gnu/bits/utmp.h: Likewise.
8248 * sysdeps/gnu/bits/utmpx.h: Likewise.
8249 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8250 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8251 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8252 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8253 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8254 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8255 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8256 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8257 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8258 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8259 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8260 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8261 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8263 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8264 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8265 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8266 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8267 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8268 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8269 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8270 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8271 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8272 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8273 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8275 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8276 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8277 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8278 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8279 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8280 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8281 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8282 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8283 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8284 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8285 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8286 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8287 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8288 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8289 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8290 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8291
a7624ed9
CD
82922013-11-25 Carlos O'Donell <carlos@redhat.com>
8293
8294 [BZ #16245]
8295 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8296 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8297
63cfe52b
JM
82982013-11-25 Joseph Myers <joseph@codesourcery.com>
8299
8300 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8301 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8302 Likewise.
8303
41e8926a
AZ
83042013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8305
8306 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8307 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8308 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8309 (__fesetround): Remove define.
8310 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8311 rounding and exceptions handling.
8312 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8313 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8314 (__fe_nomask_env): Likewise.
8315 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8316 __fegetround instead of fegetround.
8317 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8318 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8319
6851bd4d
RM
83202013-11-21 Roland McGrath <roland@hack.frob.com>
8321
070906ff
RM
8322 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8323 it's there.
8324
6851bd4d
RM
8325 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8326
84ae135d
MI
83272013-11-21 Meador Inge <meadori@codesourcery.com>
8328
8329 [BZ #11157]
8330 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8331 (encrypt_r): Likewise.
8332 * malloc/obstack.h (obstack_free): Likewise.
8333 * posix/unistd.h (encrypt): Likewise.
8334
daf75146
GM
83352013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8336
8337 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8338 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8339 DL_CALL_DT_FINI() that call the functions directly.
8340 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8341 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8342 * elf/dl-fini.c: Likewise.
8343
10ad46bc
OB
83442013-11-20 Ondřej Bílka <neleai@seznam.cz>
8345
8346 * malloc/hooks.c (memalign_check): Add alignment rounding.
8347 * malloc/malloc.c (_mid_memalign): New function.
8348 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8349 Implement by calling _mid_memalign.
8350 * manual/probes.texi (Memory Allocation Probes): Remove
8351 memory_valloc_retry and memory_pvalloc_retry.
8352
f3fd2628
SP
83532013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8354
4712799f
SP
8355 * locale/programs/locarchive.c (open_archive): Add const
8356 qualifier to ARCHIVEFNAME and copy default fname to
8357 DEFAULT_FNAME.
8358
0417b20f
SP
8359 [BZ #15601]
8360 * libio/tst-widetext.input: Rename Oriya to Odia.
8361 * locale/iso-639.def: Likewise.
8362
f3fd2628
SP
8363 * manual/probes.texi (Mathematical Function Probes): Add
8364 documentation for sin, cos, asin and acos probes.
8365 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8366 (__sin32): Add slowasin probe.
8367 (__cos32): Add slowacos probe.
8368 (__mpsin): Add slowsin probe.
8369 (__mpcos): Add slowcos probe.
8370
73c1ce4f
JM
83712013-11-19 Joseph Myers <joseph@codesourcery.com>
8372
8373 [BZ #15483]
8374 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8375 thread-local __sim_exceptions_thread and global
8376 __sim_exceptions_global.
8377 (__sim_disabled_exceptions): Change to thread-local
8378 __sim_disabled_exceptions_thread and global
8379 __sim_disabled_exceptions_global.
8380 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8381 and global __sim_round_mode_global.
8382 (__simulate_exceptions): Use thread-local floating-point state and
8383 set global state from it as needed.
8384 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8385 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8386 __sim_round_mode_thread.
8387 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8388 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8389 and global __sim_exceptions_global.
8390 (__sim_disabled_exceptions): Change to thread-local
8391 __sim_disabled_exceptions_thread and global
8392 __sim_disabled_exceptions_global.
8393 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8394 and global __sim_round_mode_global.
8395 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8396 (SIM_SET_GLOBAL): Likewise.
8397 * sysdeps/powerpc/soft-fp/sfp-machine.h
8398 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8399 __sim_round_mode_thread.
8400 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8401 __sim_disabled_exceptions_thread.
8402 (__sim_exceptions): Change to __sim_exceptions_thread.
8403 (__sim_disabled_exceptions): Change to
8404 __sim_disabled_exceptions_thread.
8405 (__sim_round_mode): Change to __sim_round_mode_thread.
8406 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8407 thread-local floating-point state and set global state from it as
8408 needed.
8409 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8410 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8411 (__sim_disabled_exceptions): Remove extern declaration.
8412 (feenableexcept): Use thread-local floating-point state and set
8413 global state from it as needed.
8414 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8415 extern declaration.
8416 (__sim_disabled_exceptions): Likewise.
8417 (__sim_round_mode): Likewise.
8418 (__fegetenv): Use thread-local floating-point state.
8419 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8420 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8421 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8422 floating-point state and set global state from it as needed.
8423 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8424 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8425 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8426 Likewise.
8427 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8428 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8429 Likewise.
8430 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8431 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8432 Use __sim_round_mode_thread.
8433 * math/test-fenv-tls.c: New file.
8434 * math/Makefile (tests): Add test-fenv-tls.
8435 ($(objpfx)test-fenv-tls): Depend on
8436 $(common-objpfx)nptl/libpthread.so.
8437
b5449b12
AS
84382013-11-19 Andreas Schwab <schwab@suse.de>
8439
8440 * locale/programs/locale.c (show_info): Decode wordarray elements.
8441 * locale/categories.def (LC_MONETARY): Add element for
8442 _NL_MONETARY_CRNCYSTR.
8443 * locale/C-monetary.c (conversion_rate): New variable.
8444 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8445 element.
8446
e186536b
CM
84472013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8448
8449 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8450 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8451
5c349950
PP
84522013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8453
8454 * elf/Makefile (tst-auxv): New test.
8455 * elf/tst-auxv.c: New
8456 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8457
699df45b
JM
84582013-11-18 Joseph Myers <joseph@codesourcery.com>
8459
8460 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8461 (hidden_proto): Caller changed.
8462 (hidden_tls_proto): New macro.
8463 (libc_hidden_tls_proto): Likewise.
8464 (rtld_hidden_tls_proto): Likewise.
8465 (libm_hidden_tls_proto): Likewise.
8466 (libresolv_hidden_tls_proto): Likewise.
8467 (librt_hidden_tls_proto): Likewise.
8468 (libdl_hidden_tls_proto): Likewise.
8469 (libnss_files_hidden_tls_proto): Likewise.
8470 (libnsl_hidden_tls_proto): Likewise.
8471 (libnss_nisplus_hidden_tls_proto): Likewise.
8472 (libutil_hidden_tls_proto): Likewise.
8473
b7589107
OB
84742013-11-18 Ondřej Bílka <neleai@seznam.cz>
8475
8476 [BZ #10253]
8477 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8478 (decompose_rpath): Defer expansion to fillin_rpath.
8479 (_dl_init_paths): Pass linkmap to fillin_rpath.
8480
250c23bd
RS
84812013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8482
8483 * benchtests/Makefile: Add strsep.
8484 * benchtests/bench-strsep.c: New file: strsep benchtest.
8485 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8486
a7931fcf
AS
84872013-11-18 Andreas Schwab <schwab@suse.de>
8488
8489 * locale/programs/locale.c (show_info) [case byte]: Check for
8490 '\377' instead of '\177'.
8491 * locale/C-monetary.c (not_available): Always use "\377".
8492 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8493 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8494 detect unavailable sign_posn locale elements.
8495 * locale/localeconv.c (__localeconv): For grouping and
8496 mon_grouping handle "\177" and "\377" like no grouping.
8497 (INT_ELEM): New macro. Use it to set all numeric members.
8498 * locale/programs/ld-monetary.c (monetary_read)
8499 <tok_mon_grouping>: Normalize single -1 to the empty string.
8500 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8501 Likewise.
8502
728dab0e
OB
85032013-11-07 Ondřej Bílka <neleai@seznam.cz>
8504
8505 [BZ #16055]
8506 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8507 when we match (nil).
8508 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8509
66294491
JM
85102013-11-16 Joseph Myers <joseph@codesourcery.com>
8511
ce665817
JM
8512 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8513 (NO_TEST_INLINE): Update value.
8514 (ERRNO_UNCHANGED): Likewise.
8515 (ERRNO_EDOM): Likewise.
8516 (ERRNO_ERANGE): Likewise.
8517 (IGNORE_RESULT): Likewise.
8518 (check_float_internal): Check signs of NaN results if
8519 TEST_NAN_SIGN used.
8520 (check_complex): Pass TEST_NAN_SIGN flag through to second
8521 check_float_internal call.
8522 (copysign_test_data): Add tests with quiet NaNs as second
8523 argument. Use TEST_NAN_SIGN.
8524 (fabs_test_data): Add test of negative quiet NaN argument. Use
8525 TEST_NAN_SIGN.
8526 (signbit_test_data): Add tests of quiet NaN argument.
8527 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8528
ee1466a9
JM
8529 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8530 $ignore_result.
8531 (parse_args): Handle function results specified as IGNORE.
8532 * math/libm-test.inc (IGNORE_RESULT): New macro.
8533 (check_float_internal): Do not check numerical result if flag
8534 IGNORE_RESULT set.
8535 (check_complex): Pass through IGNORE_RESULT to second
8536 check_float_internal call.
8537 (check_int): Do not check numerical result if flag IGNORE_RESULT
8538 set.
8539 (check_long): Likewise.
8540 (check_bool): Likewise.
8541 (check_longlong): Likewise.
8542 (lrint_test_data): Add tests of infinite and NaN arguments.
8543 (lrint_tonearest_test_data): Likewise.
8544 (lrint_towardzero_test_data): Likewise.
8545 (lrint_downward_test_data): Likewise.
8546 (lrint_upward_test_data): Likewise.
8547 (llrint_test_data): Likewise.
8548 (llrint_tonearest_test_data): Likewise.
8549 (llrint_towardzero_test_data): Likewise.
8550 (llrint_downward_test_data): Likewise.
8551 (llrint_upward_test_data): Likewise.
8552 (lround_test_data): Likewise.
8553 (llround_test_data): Likewise.
8554
14407b7e
JM
8555 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8556 (ERRNO_UNCHANGED): Update value.
8557 (ERRNO_EDOM): Likewise.
8558 (ERRNO_ERANGE): Likewise.
8559 (NO_TEST_INLINE_FLOAT): New macro.
8560 (NO_TEST_INLINE_DOUBLE): Likewise.
8561 (enable_test): New function.
8562 (RUN_TEST_f_f): Check enable_test before running test.
8563 (RUN_TEST_2_f): Likewise.
8564 (RUN_TEST_fff_f): Likewise.
8565 (RUN_TEST_c_f): Likewise.
8566 (RUN_TEST_f_f1): Likewise.
8567 (RUN_TEST_fF_f1): Likewise.
8568 (RUN_TEST_fI_f1): Likewise.
8569 (RUN_TEST_ffI_f1): Likewise.
8570 (RUN_TEST_c_c): Likewise.
8571 (RUN_TEST_cc_c): Likewise.
8572 (RUN_TEST_f_i): Likewise.
8573 (RUN_TEST_f_i_tg): Likewise.
8574 (RUN_TEST_ff_i_tg): Likewise.
8575 (RUN_TEST_f_b): Likewise.
8576 (RUN_TEST_f_b_tg): Likewise.
8577 (RUN_TEST_f_l): Likewise.
8578 (RUN_TEST_f_L): Likewise.
8579 (RUN_TEST_fFF_11): Likewise.
8580 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8581 conditionals.
8582 (cosh_test_data): Likewise.
8583 (exp_test_data): Likewise.
8584 (expm1_test_data): Likewise.
8585 (hypot_test_data): Likewise.
8586 (pow_test_data): Likewise.
8587 (sinh_test_data): Likewise.
8588 (tanh_test_data): Likewise.
8589 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8590 flags argument.
8591
ca07f197
JM
8592 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8593 tests with quiet NaN input and output.
8594 (acosh_test_data): Likewise.
8595 (asin_test_data): Likewise.
8596 (asinh_test_data): Likewise.
8597 (atan_test_data): Likewise.
8598 (atanh_test_data): Likewise.
8599 (atan2_test_data): Likewise.
8600 (cbrt_test_data): Likewise.
8601 (cos_test_data): Likewise.
8602 (cosh_test_data): Likewise.
8603 (erf_test_data): Likewise.
8604 (erfc_test_data): Likewise.
8605 (exp_test_data): Likewise.
8606 (exp10_test_data): Likewise.
8607 (exp2_test_data): Likewise.
8608 (expm1_test_data): Likewise.
8609 (hypot_test_data): Likewise.
8610 (j0_test_data): Likewise.
8611 (j1_test_data): Likewise.
8612 (jn_test_data): Likewise.
8613 (lgamma_test_data): Likewise.
8614 (log_test_data): Likewise.
8615 (log10_test_data): Likewise.
8616 (log1p_test_data): Likewise.
8617 (log2_test_data): Likewise.
8618 (pow_test_data): Likewise.
8619 (scalb_test_data): Likewise.
8620 (sin_test_data): Likewise.
8621 (sincos_test_data): Likewise.
8622 (sinh_test_data): Likewise.
8623 (tan_test_data): Likewise.
8624 (tanh_test_data): Likewise.
8625 (tgamma_test_data): Likewise.
8626 (y0_test_data): Likewise.
8627 (y1_test_data): Likewise.
8628 (yn_test_data): Likewise.
8629
66294491
JM
8630 [BZ #16167]
8631 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8632 argument being NaN and avoid computations with second argument in
8633 that case.
8634 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8635 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8636 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8637
1820b143
CL
86382013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8639
8640 * locale/iso-639.def: Add Chitwani Tharu (the).
8641
714bd261
AS
86422013-11-14 Andreas Schwab <schwab@suse.de>
8643
8644 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8645 word instead of empty string.
8646
7ab44563
AZ
86472013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8648
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8650 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8652 (__fe_nomask_env): Likewise.
8653
e8470ea2
SE
86542013-11-13 Steve Ellcey <sellcey@mips.com>
8655
8656 * benchtests/bench-timing.h: Include time.h.
8657
17c1d9f0
L
86582013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8659
8660 [BZ #15997]
8661 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8662 to 3.4.0 for x32.
8663 * sysdeps/unix/sysv/linux/configure: Regenerated.
8664
9310c284
JM
86652013-11-13 Joseph Myers <joseph@codesourcery.com>
8666
8667 [BZ #16151]
8668 * stdlib/strtod_l.c (round_and_return): Do not consider
8669 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8670 exponent one less than half the least subnormal exponent.
8671 * stdlib/test-strtod-round-data: Add more tests.
8672 * stdlib/tst-strtod-round.c (tests): Regenerated.
8673
7a2ad8cf
AZ
86742013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8675
8676 [BZ #14143]
8677 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8678 (__fe_mask_env): Likewise.
8679 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8680 libm_hidden_proto and add function prototype.
8681 (__fe_mask_env): Add function prototype.
8682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8683 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8685 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8687 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8688
50727aa7
MS
86892013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8690
b2f386c1 8691 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8692 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8693
a615be46
MS
86942013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8695
8696 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8697 of htab_find_slot().
8698
7ddace62
DM
86992013-11-11 David S. Miller <davem@davemloft.net>
8700
8701 [BZ #16150]
8702 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8703 symbol in the non-vis3 case in static builds.
8704 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8705 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8706 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8707 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8708
9182aa67
JK
87092013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8710
8711 [BZ #387]
8712 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8713 it is empty.
8714
450a2e2d
AZ
87152013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8716
b2f386c1
SP
8717 * benchtests/Makefile: Add bench-strtod.
8718 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8719
8ec3f656
AS
87202013-11-11 Andreas Schwab <schwab@suse.de>
8721
8722 [BZ #16153]
8723 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8724 terminating NUL in key length.
8725
76a9b998
AZ
87262013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8727
8728 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8729 Add artificial ODP entry for vDSO symbol for PPC64.
8730 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8731 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8732
e4368156
OB
87332013-11-07 Ondřej Bílka <neleai@seznam.cz>
8734
8735 [BZ #15374]
8736 * nss/getent.c (services_keys): Recognize services starting with digit.
8737
8d6bb57c
DM
87382013-11-06 David S. Miller <davem@davemloft.net>
8739
8740 [BZ #15985]
8741 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8742 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8743
e256c421
WN
87442013-11-06 Will Newton <will.newton@linaro.org>
8745
8746 * manual/memory.texi (Malloc Examples): Remove register
8747 keyword from examples.
8748
f6e12daa 87492013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8750
f6e12daa 8751 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8752
9d880655
AS
87532013-11-04 Joseph Myers <joseph@codesourcery.com>
8754
fd2f9486 8755 [BZ #6981]
9d880655
AS
8756 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8757 depending on [__GCC_IEC_559 > 0].
8758 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8759 depending on [__GCC_IEC_559_COMPLEX > 0].
8760
ae129d3c
CL
87612013-11-03 Chris Leonard <cjl@sugarlabs.org>
8762
8763 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8764 to iso-639.def.
8765
4a15c2a4 87662013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8767
8768 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8769
8b35e35d
OB
87702013-11-01 Ondřej Bílka <neleai@seznam.cz>
8771
8772 [BZ #16112]
8773 * malloc/malloc (malloc_info): Do not handle first bin as
8774 special case.
8775
1d70fd6c
CL
87762013-11-01 Chris Leonard <cjl@sugarlabs.org>
8777
8778 * locale/iso-639.def: Add Central Nahuatl (nhn).
8779
8c5c2600
BH
87802013-11-01 Bruno Haible <bruno@clisp.org>
8781
8782 [BZ #7003]
8783 * manual/math.texi (BSD Random): Specify range upper bound as
8784 in POSIX.
8785
da5579c2
CL
87862013-10-31 Chris Leonard <cjl@sugarlabs.org>
8787
8788 * locale/iso-639.def: Add Meadow Mari (mhr).
8789
5d30d853
OB
87902013-10-31 Ondřej Bílka <neleai@seznam.cz>
8791
8792 [BZ #14752], [BZ #15763]
8793 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8794 Validate name.
8795 * rt/tst_shm.c: Add test for escaping directory.
8796
a4966c61
AS
87972013-10-31 Andreas Schwab <schwab@suse.de>
8798
8a43e768 8799 [BZ #15917]
a4966c61
AS
8800 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8801 followed by 'x' as part of digit sequence.
8802 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8803
28d708c4
MAP
88042013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8805
8806 [BZ #16037]
8807 * configure.ac: allow GNU Make 4.0 and greater.
8808 * configure: Regenerated.
8809
a56ee40b
WN
88102013-10-30 Will Newton <will.newton@linaro.org>
8811
8812 [BZ #16038]
8813 * malloc/hooks.c (memalign_check): Limit alignment to the
8814 maximum representable power of two.
8815 * malloc/malloc.c (__libc_memalign): Likewise.
8816 * malloc/tst-memalign.c (do_test): Add test for very
8817 large alignment values.
8818 * malloc/tst-posix_memalign.c (do_test): Likewise.
8819
c6e4925d
OB
88202013-10-30 Ondřej Bílka <neleai@seznam.cz>
8821
8822 [BZ #11087]
8823 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8824 (munmap_chunk): Likewise.
8825 (mremap_chunk): Likewise.
8826
88272013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8828
8a43e768 8829 [BZ #15799]
bbea82f7
OB
8830 * stdlib/div.c (div): Remove obsolete code.
8831 * stdlib/ldiv.c (ldiv): Likewise.
8832 * stdlib/lldiv.c (lldiv): Likewise.
8833
977f4b31
SP
88342013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8835
8836 [BZ #16071]
8837 * nss/nss_files/files-XXX.c (get_contents_ret): New
8838 enumerator.
8839 (get_contents): New function.
8840 (internal_getent): Use it. Expand size of LINEBUFLEN.
8841
cb8a6dbd
MF
88422013-10-30 Mike Frysinger <vapier@gentoo.org>
8843
8844 * configure.in: Moved to ...
8845 * configure.ac: ... here. Change reference to configure.in
8846 to configure.ac.
8847 * sysdeps/arm/preconfigure.ac: ... here.
8848 configure.in to configure.ac.
8849 * sysdeps/gnu/configure.in: Moved to ...
8850 * sysdeps/gnu/configure.ac: ... here.
8851 * sysdeps/i386/configure.in: Moved to ...
8852 * sysdeps/i386/configure.ac: ... here.
8853 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8854 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8855 * sysdeps/mach/configure.in: Moved to ...
8856 * sysdeps/mach/configure.ac: ... here.
8857 * sysdeps/mach/hurd/configure.in: Moved to ...
8858 * sysdeps/mach/hurd/configure.ac: ... here.
8859 * sysdeps/powerpc/configure.in: Moved to ...
8860 * sysdeps/powerpc/configure.ac: ... here.
8861 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8862 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8863 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8864 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8865 * sysdeps/s390/s390-32/configure.in: Moved to ...
8866 * sysdeps/s390/s390-32/configure.ac: ... here.
8867 * sysdeps/s390/s390-64/configure.in: Moved to ...
8868 * sysdeps/s390/s390-64/configure.ac: ... here.
8869 * sysdeps/sh/configure.in: Moved to ...
8870 * sysdeps/sh/configure.ac: ... here.
8871 * sysdeps/sparc/configure.in: Moved to ...
8872 * sysdeps/sparc/configure.ac: ... here.
8873 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8874 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8875 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8876 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8877 * sysdeps/x86_64/configure.in: Moved to ...
8878 * sysdeps/x86_64/configure.ac: ... here.
8879 * sysdeps/x86_64/preconfigure.in: Moved to ...
8880 * sysdeps/x86_64/preconfigure.ac: ... here.
8881 * aclocal.m4: Change reference to configure.in to configure.ac.
8882 * config.h.in: Likewise.
8883 * manual/install.texi: Likewise.
8884 * manual/maint.texi: Likewise.
8885 * Makefile: Likewise.
8886 * malloc/Makefile: Likewise.
8887 * nscd/Makefile: Likewise.
8888 * Makeconfig: Change reference to configure.in and
8889 preconfigure.in to configure.ac and preconfigure.ac
8890 respectively.
8891 * INSTALL: Regenerated.
8892 * configure: Likewise.
8893 * sysdeps/gnu/configure: Likewise.
8894 * sysdeps/i386/configure: Likewise.
8895 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8896 * sysdeps/mach/configure: Likewise.
8897 * sysdeps/mach/hurd/configure: Likewise.
8898 * sysdeps/powerpc/configure: Likewise.
8899 * sysdeps/powerpc/powerpc32/configure: Likewise.
8900 * sysdeps/powerpc/powerpc64/configure: Likewise.
8901 * sysdeps/s390/s390-32/configure: Likewise.
8902 * sysdeps/s390/s390-64/configure: Likewise.
8903 * sysdeps/sh/configure: Likewise.
8904 * sysdeps/sparc/configure: Likewise.
8905 * sysdeps/unix/sysv/linux/configure: Likewise.
8906 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8907 * sysdeps/x86_64/configure: Likewise.
8908 * sysdeps/x86_64/preconfigure: Likewise.
8909
36a4953a
AS
89102013-10-29 Andreas Schwab <schwab@suse.de>
8911
8912 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8913
c79a1204
SP
89142013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8915
dfa1b402
SP
8916 * benchtests/pow-inputs: Add new inputs.
8917
54f73d9c
SP
8918 * benchtests/exp-inputs: Add new inputs.
8919
c79a1204
SP
8920 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8921 conditional check for return value.
8922 (__cos32): Likewise.
8923
67beb545 89242013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8925
8926 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8927 to provide a boost for large inputs with word alignment.
8928 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8929 implementation based on optimized PPC64 strcpy.
8930 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8931 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8932 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8933 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8934
151659f6
OB
89352013-10-25 Ondřej Bílka <neleai@seznam.cz>
8936
482a077e 8937 [BZ #2801]
151659f6
OB
8938 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8939
10b0f26b
OB
89402013-10-25 Ondřej Bílka <neleai@seznam.cz>
8941
8942 [BZ #14876]
8943 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8944 * time/tst-strptime.c (day_tests): Add testcase.
8945
ca42d35e
OB
89462013-10-25 Ondřej Bílka <neleai@seznam.cz>
8947
482a077e 8948 [BZ #14029]
ca42d35e
OB
8949 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8950
52e6d801
FB
89512013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8952
8953 [BZ #16074]
8954 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8955 MAP_FAILED on error.
8956
7cbcdb36
SP
89572013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8958
8959 [BZ #16072]
8960 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8961 heap for large requests.
8962
894f3f10
AM
89632013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8964
8965 [BZ #9954]
8966 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8967 result if the result has no associated interface.
8968 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8969 interface for all 127.X.Y.Z addresses.
8970
b85545a6
CL
89712013-10-24 Chris Leonard <cjl@sugarlabs.org>
8972
8973 * locale/iso-639.def: Add Ligurian (lij)
8974
d1f23d46
OB
89752013-10-21 Ondřej Bílka <neleai@seznam.cz>
8976
8977 [BZ #15825]
8978 * sunrpc/rpc_main.c: Document rpcgen -5.
8979
4db5b08f
MS
89802013-10-19 Michael Stahl <mstahl@redhat.com>
8981
8982 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8983
a471e96a
OB
89842013-10-19 Ondřej Bílka <neleai@seznam.cz>
8985
d1f23d46 8986 [BZ #10278]
a471e96a
OB
8987 * posix/glob.c: Match only directories when trailing slash is present.
8988 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8989 (main): Add testcase.
8990
45c30c61
OB
89912013-10-19 Ondřej Bílka <neleai@seznam.cz>
8992
8993 [BZ #15670]
8994 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8995
484c12fb
CD
89962013-10-18 Carlos O'Donell <carlos@redhat.com>
8997
3d7dc513
CD
8998 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8999 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9000 AUTH_DES and cindex for FIPS 140-2.
9001 (DES Encryption): Add cindex FIPS 46-3.
9002
484c12fb
CD
9003 * locale/locarchive.h (struct locarhandle): Add fname.
9004 * locale/programs/localedef.c (main): Pass ARGV[remaining]
9005 if an optional argument was specified to --list-archive,
9006 otherwise NULL.
9007 * locale/programs/locarchive.c (show_archive_content): Take new
9008 argument fname and pass it via ah.fname to open_archive.
9009 * locale/programs/localedef.h: Update decl.
9010 (open_archive): If AH->fname is non-null, open that file
9011 rather than the default file name, and don't ignore ENOENT.
9012 (create_archive): Set AH.fname to NULL.
9013 (delete_locales_from_archive): Likewise.
9014 (add_locales_to_archive): Likewise.
9015 * locale/programs/locfile.c (write_all_categories): Likewise.
9016
3c8325fb
JM
90172013-10-18 Joseph Myers <joseph@codesourcery.com>
9018 Aldy Hernandez <aldyh@redhat.com>
9019
9020 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9021 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9022 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9023 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9024 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9025 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9026 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9027 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9028 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9029 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9030 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9031 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9032 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9033 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9034 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9035 Likewise.
9036 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9037 Likewise.
9038 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9039 Likewise.
9040 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9041 Likewise.
9042 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9043 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9044 Likewise.
9045 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9046 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9047 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9048 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9049 Likewise.
9050 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9051 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9052 * sysdeps/powerpc/preconfigure: Likewise.
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
9054 Likewise.
9055 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
9056 Replace contents of file by #include of <fenv_libc.h>.
9057 * sysdeps/powerpc/soft-fp/sfp-machine.h
9058 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
9059 and <sys/prctl.h>.
9060 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
9061 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
9062 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
9063 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
9064 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
9065 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
9066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
9067 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
9068 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
9069 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
9070 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
9071 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9073 Allow copysignl PLT reference to be missing.
9074
5abe0682
RS
90752013-10-18 Richard Sandiford <richard@codesourcery.com>
9076 Joseph Myers <joseph@codesourcery.com
9077
9078 [BZ #15948]
9079 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
9080 single character.
9081 (add_to_tablewc): Assert sequence of wide characters is nonempty.
9082
c7738d08
SP
90832013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9084
9085 * elf/tst-tls-dlinfo.c: Don't include tls.h.
9086 * elf/tst-tls1.c: Likewise.
9087 * elf/tst-tls10.h: Likewise.
9088 * elf/tst-tls14.c: Likewise.
9089 * elf/tst-tls2.c: Likewise.
9090 * elf/tst-tls3.c: Likewise.
9091 * elf/tst-tls4.c: Likewise.
9092 * elf/tst-tls5.c: Likewise.
9093 * elf/tst-tls6.c: Likewise.
9094 * elf/tst-tls7.c: Likewise.
9095 * elf/tst-tls8.c: Likewise.
9096 * elf/tst-tls9.c: Likewise.
9097 * elf/tst-tlsmod1.c: Likewise.
9098 * elf/tst-tlsmod13.c: Likewise.
9099 * elf/tst-tlsmod13a.c: Likewise.
9100 * elf/tst-tlsmod14a.c: Likewise.
9101 * elf/tst-tlsmod16a.c: Likewise.
9102 * elf/tst-tlsmod16b.c: Likewise.
9103 * elf/tst-tlsmod2.c: Likewise.
9104 * elf/tst-tlsmod3.c: Likewise.
9105 * elf/tst-tlsmod4.c: Likewise.
9106 * elf/tst-tlsmod5.c: Likewise.
9107 * elf/tst-tlsmod6.c: Likewise.
9108
0bfcf2c7
OB
91092013-10-18 Ondřej Bílka <neleai@seznam.cz>
9110
9111 [BZ #12486]
9112 * malloc/malloc.c: remove checks for statistics.
9113
264aad1e
OB
91142013-10-17 Ondřej Bílka <neleai@seznam.cz>
9115
9116 [BZ #15277]
9117 * inet/inet_net.c (inet_network): Detect additional invalid strings.
9118 * inet/tst-network.c: Add testcase.
9119
b957ced8
AS
91202013-10-17 Andreas Schwab <schwab@suse.de>
9121
9122 [BZ #15218]
9123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
9124 to determine canonical name.
9125
c5d5d574
OB
91262013-10-17 Ondřej Bílka <neleai@seznam.cz>
9127
9128 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
9129 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
9130 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9140 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9141 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9142 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9143 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9145 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9146 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9147 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9148 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9150 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9151 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
9152 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
9153 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9154 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9155 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9158 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9177 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9178 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9179 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9180 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9182 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9185 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9186
e5c2c2d0
JM
91872013-10-17 Joseph Myers <joseph@codesourcery.com>
9188
9189 [BZ #16041]
9190 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9191 make result into a quiet NaN.
9192
51ca9e29
JM
91932013-10-16 Joseph Myers <joseph@codesourcery.com>
9194
9195 * soft-fp/adddf3.c: Fix horizontal whitespace.
9196 * soft-fp/addsf3.c: Likewise.
9197 * soft-fp/addtf3.c: Likewise.
9198 * soft-fp/divdf3.c: Likewise.
9199 * soft-fp/divsf3.c: Likewise.
9200 * soft-fp/divtf3.c: Likewise.
9201 * soft-fp/double.h: Likewise.
9202 * soft-fp/eqdf2.c: Likewise.
9203 * soft-fp/eqsf2.c: Likewise.
9204 * soft-fp/eqtf2.c: Likewise.
9205 * soft-fp/extenddftf2.c: Likewise.
9206 * soft-fp/extended.h: Likewise.
9207 * soft-fp/extendsfdf2.c: Likewise.
9208 * soft-fp/extendsftf2.c: Likewise.
9209 * soft-fp/extendxftf2.c: Likewise.
9210 * soft-fp/fixdfdi.c: Likewise.
9211 * soft-fp/fixdfsi.c: Likewise.
9212 * soft-fp/fixdfti.c: Likewise.
9213 * soft-fp/fixsfdi.c: Likewise.
9214 * soft-fp/fixsfsi.c: Likewise.
9215 * soft-fp/fixsfti.c: Likewise.
9216 * soft-fp/fixtfdi.c: Likewise.
9217 * soft-fp/fixtfsi.c: Likewise.
9218 * soft-fp/fixtfti.c: Likewise.
9219 * soft-fp/fixunsdfdi.c: Likewise.
9220 * soft-fp/fixunsdfsi.c: Likewise.
9221 * soft-fp/fixunsdfti.c: Likewise.
9222 * soft-fp/fixunssfdi.c: Likewise.
9223 * soft-fp/fixunssfsi.c: Likewise.
9224 * soft-fp/fixunssfti.c: Likewise.
9225 * soft-fp/fixunstfdi.c: Likewise.
9226 * soft-fp/fixunstfsi.c: Likewise.
9227 * soft-fp/fixunstfti.c: Likewise.
9228 * soft-fp/floatdidf.c: Likewise.
9229 * soft-fp/floatdisf.c: Likewise.
9230 * soft-fp/floatditf.c: Likewise.
9231 * soft-fp/floatsidf.c: Likewise.
9232 * soft-fp/floatsisf.c: Likewise.
9233 * soft-fp/floatsitf.c: Likewise.
9234 * soft-fp/floattidf.c: Likewise.
9235 * soft-fp/floattisf.c: Likewise.
9236 * soft-fp/floattitf.c: Likewise.
9237 * soft-fp/floatundidf.c: Likewise.
9238 * soft-fp/floatundisf.c: Likewise.
9239 * soft-fp/floatunditf.c: Likewise.
9240 * soft-fp/floatunsidf.c: Likewise.
9241 * soft-fp/floatunsisf.c: Likewise.
9242 * soft-fp/floatunsitf.c: Likewise.
9243 * soft-fp/floatuntidf.c: Likewise.
9244 * soft-fp/floatuntisf.c: Likewise.
9245 * soft-fp/floatuntitf.c: Likewise.
9246 * soft-fp/fmadf4.c: Likewise.
9247 * soft-fp/fmasf4.c: Likewise.
9248 * soft-fp/fmatf4.c: Likewise.
9249 * soft-fp/gedf2.c: Likewise.
9250 * soft-fp/gesf2.c: Likewise.
9251 * soft-fp/getf2.c: Likewise.
9252 * soft-fp/ledf2.c: Likewise.
9253 * soft-fp/lesf2.c: Likewise.
9254 * soft-fp/letf2.c: Likewise.
9255 * soft-fp/muldf3.c: Likewise.
9256 * soft-fp/mulsf3.c: Likewise.
9257 * soft-fp/multf3.c: Likewise.
9258 * soft-fp/negdf2.c: Likewise.
9259 * soft-fp/negsf2.c: Likewise.
9260 * soft-fp/negtf2.c: Likewise.
9261 * soft-fp/op-1.h: Likewise.
9262 * soft-fp/op-2.h: Likewise.
9263 * soft-fp/op-4.h: Likewise.
9264 * soft-fp/op-8.h: Likewise.
9265 * soft-fp/op-common.h: Likewise.
9266 * soft-fp/quad.h: Likewise.
9267 * soft-fp/single.h: Likewise.
9268 * soft-fp/soft-fp.h: Likewise.
9269 * soft-fp/sqrtdf2.c: Likewise.
9270 * soft-fp/sqrtsf2.c: Likewise.
9271 * soft-fp/sqrttf2.c: Likewise.
9272 * soft-fp/subdf3.c: Likewise.
9273 * soft-fp/subsf3.c: Likewise.
9274 * soft-fp/subtf3.c: Likewise.
9275 * soft-fp/truncdfsf2.c: Likewise.
9276 * soft-fp/trunctfdf2.c: Likewise.
9277 * soft-fp/trunctfsf2.c: Likewise.
9278 * soft-fp/trunctfxf2.c: Likewise.
9279 * soft-fp/unorddf2.c: Likewise.
9280 * soft-fp/unordsf2.c: Likewise.
9281 * soft-fp/unordtf2.c: Likewise.
9282
9ebb0332
JM
92832013-10-15 Joseph Myers <joseph@codesourcery.com>
9284
9285 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9286 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9287
4b1a6d8b
OB
92882013-10-15 Ondřej Bílka <neleai@seznam.cz>
9289
9290 * elf/dl-libc.c: Clear initfini list after freeing.
9291
1e145589
JM
92922013-10-14 Joseph Myers <joseph@codesourcery.com>
9293
9294 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9295 * soft-fp/addsf3.c: Likewise.
9296 * soft-fp/addtf3.c: Likewise.
9297 * soft-fp/divdf3.c: Likewise.
9298 * soft-fp/divsf3.c: Likewise.
9299 * soft-fp/divtf3.c: Likewise.
9300 * soft-fp/double.h: Likewise.
9301 * soft-fp/eqdf2.c: Likewise.
9302 * soft-fp/eqsf2.c: Likewise.
9303 * soft-fp/eqtf2.c: Likewise.
9304 * soft-fp/extenddftf2.c: Likewise.
9305 * soft-fp/extended.h: Likewise.
9306 * soft-fp/extendsfdf2.c: Likewise.
9307 * soft-fp/extendsftf2.c: Likewise.
9308 * soft-fp/extendxftf2.c: Likewise.
9309 * soft-fp/fixdfdi.c: Likewise.
9310 * soft-fp/fixdfsi.c: Likewise.
9311 * soft-fp/fixdfti.c: Likewise.
9312 * soft-fp/fixsfdi.c: Likewise.
9313 * soft-fp/fixsfsi.c: Likewise.
9314 * soft-fp/fixsfti.c: Likewise.
9315 * soft-fp/fixtfdi.c: Likewise.
9316 * soft-fp/fixtfsi.c: Likewise.
9317 * soft-fp/fixtfti.c: Likewise.
9318 * soft-fp/fixunsdfdi.c: Likewise.
9319 * soft-fp/fixunsdfsi.c: Likewise.
9320 * soft-fp/fixunsdfti.c: Likewise.
9321 * soft-fp/fixunssfdi.c: Likewise.
9322 * soft-fp/fixunssfsi.c: Likewise.
9323 * soft-fp/fixunssfti.c: Likewise.
9324 * soft-fp/fixunstfdi.c: Likewise.
9325 * soft-fp/fixunstfsi.c: Likewise.
9326 * soft-fp/fixunstfti.c: Likewise.
9327 * soft-fp/floatdidf.c: Likewise.
9328 * soft-fp/floatdisf.c: Likewise.
9329 * soft-fp/floatditf.c: Likewise.
9330 * soft-fp/floatsidf.c: Likewise.
9331 * soft-fp/floatsisf.c: Likewise.
9332 * soft-fp/floatsitf.c: Likewise.
9333 * soft-fp/floattidf.c: Likewise.
9334 * soft-fp/floattisf.c: Likewise.
9335 * soft-fp/floattitf.c: Likewise.
9336 * soft-fp/floatundidf.c: Likewise.
9337 * soft-fp/floatundisf.c: Likewise.
9338 * soft-fp/floatunsidf.c: Likewise.
9339 * soft-fp/floatunsisf.c: Likewise.
9340 * soft-fp/floatuntidf.c: Likewise.
9341 * soft-fp/floatuntisf.c: Likewise.
9342 * soft-fp/floatuntitf.c: Likewise.
9343 * soft-fp/fmadf4.c: Likewise.
9344 * soft-fp/fmasf4.c: Likewise.
9345 * soft-fp/fmatf4.c: Likewise.
9346 * soft-fp/gedf2.c: Likewise.
9347 * soft-fp/gesf2.c: Likewise.
9348 * soft-fp/getf2.c: Likewise.
9349 * soft-fp/ledf2.c: Likewise.
9350 * soft-fp/lesf2.c: Likewise.
9351 * soft-fp/letf2.c: Likewise.
9352 * soft-fp/muldf3.c: Likewise.
9353 * soft-fp/mulsf3.c: Likewise.
9354 * soft-fp/multf3.c: Likewise.
9355 * soft-fp/negdf2.c: Likewise.
9356 * soft-fp/negsf2.c: Likewise.
9357 * soft-fp/negtf2.c: Likewise.
9358 * soft-fp/op-1.h: Likewise.
9359 * soft-fp/op-2.h: Likewise.
9360 * soft-fp/op-4.h: Likewise.
9361 * soft-fp/op-8.h: Likewise.
9362 * soft-fp/op-common.h: Likewise.
9363 * soft-fp/quad.h: Likewise.
9364 * soft-fp/single.h: Likewise.
9365 * soft-fp/soft-fp.h: Likewise.
9366 * soft-fp/sqrtdf2.c: Likewise.
9367 * soft-fp/sqrtsf2.c: Likewise.
9368 * soft-fp/sqrttf2.c: Likewise.
9369 * soft-fp/subdf3.c: Likewise.
9370 * soft-fp/subsf3.c: Likewise.
9371 * soft-fp/subtf3.c: Likewise.
9372 * soft-fp/truncdfsf2.c: Likewise.
9373 * soft-fp/trunctfdf2.c: Likewise.
9374 * soft-fp/trunctfsf2.c: Likewise.
9375 * soft-fp/trunctfxf2.c: Likewise.
9376 * soft-fp/unorddf2.c: Likewise.
9377 * soft-fp/unordsf2.c: Likewise.
9378 * soft-fp/unordtf2.c: Likewise.
9379
17c48a60
OB
93802013-10-14 Ondřej Bílka <neleai@seznam.cz>
9381
9382 [BZ #15672]
9383 * misc/error.c (error_tail): Fix possible buffer overflow.
9384
cabba934
OB
93852013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9386
9387 [BZ #13028]
9388 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9389 address.
9390
94bf958a
PM
93912013-10-14 P. J. McDermott <pj@pehjota.net>
9392
9393 [BZ #832]
9394 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9395 testing pipefail option.
9396
71b4dea7
JM
93972013-10-12 Joseph Myers <joseph@codesourcery.com>
9398
9399 * soft-fp/double.h: Indent preprocessor directives inside #if.
9400 * soft-fp/extended.h: Likewise.
9401 * soft-fp/op-2.h: Likewise.
9402 * soft-fp/op-4.h: Likewise.
9403 * soft-fp/op-common.h: Likewise.
9404 * soft-fp/quad.h: Likewise.
9405 * soft-fp/single.h: Likewise.
9406 * soft-fp/soft-fp.h: Likewise.
9407
55602758
YC
94082013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9409
9410 * iconv/iconv_prog.c: Fix typos.
9411 * stdio-common/psiginfo-data.h: Likewise.
9412
9cd83302
RT
94132013-10-12 Reuben Thomas <rrt@sc3d.org>
9414
9415 [BZ #15764]
9416 * locale/setlocale.c: Fix typo.
9417
99fd9f47
JM
94182013-10-12 Joseph Myers <joseph@codesourcery.com>
9419
b7ea74f0
JM
9420 [BZ #16036]
9421 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9422 signaling NaN arguments.
9423 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9424 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9425
8a509447
JM
9426 [BZ #14910]
9427 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9428 unordered operands.
9429 * soft-fp/gesf2.c (__gesf2): Likewise.
9430 * soft-fp/getf2.c (__getf2): Likewise.
9431 * soft-fp/ledf2.c (__ledf2): Likewise.
9432 * soft-fp/lesf2.c (__lesf2): Likewise.
9433 * soft-fp/letf2.c (__letf2): Likewise.
9434
98998e9f
JM
9435 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9436 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9437 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9438 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9439 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9440 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9441 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9442 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9443 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9444 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9445 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9446 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9447 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9448 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9449 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9450 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9451 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9452 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9453 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9454 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9455 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9456 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9457 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9458 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9459 * soft-fp/floattidf.c (__floattidf): Likewise.
9460 * soft-fp/floattisf.c (__floattisf): Likewise.
9461 * soft-fp/floattitf.c (__floattitf): Likewise.
9462 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9463 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9464 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9465 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9466 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9467 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9468 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9469 * soft-fp/gesf2.c (__gesf2): Likewise.
9470 * soft-fp/getf2.c (__getf2): Likewise.
9471 * soft-fp/ledf2.c (__ledf2): Likewise.
9472 * soft-fp/lesf2.c (__lesf2): Likewise.
9473 * soft-fp/letf2.c (__letf2): Likewise.
9474
8edc4a11
JM
9475 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9476 Undefine and redefine.
9477 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9478 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9479 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9480 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9481 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9482 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9483 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9484 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9485 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9486 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9487 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9488 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9489 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9490 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9491 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9492
8399acaf
JM
9493 [BZ #16032]
9494 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9495 without decrementing exponent if mantissa >= that for the
9496 denominator, not >.
9497 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9498 denominator, not >. Decrement exponent in < case instead of
9499 incrementing in >= case.
9500 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9501 without decrementing exponent if mantissa >= that for the
9502 denominator, not >.
9503
99fd9f47
JM
9504 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9505 computing saturated result for unsigned overflow.
9506
10e1cf6b
SP
95072013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9508 Jeff Law <law@redhat.com>
9509
9510 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9511 (atan2Mp): Add systemtap probe marker.
9512 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9513 (__ieee754_log): Add systemtap probe marker.
9514 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9515 (atanMp): Add systemtap probe marker.
9516 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9517 (tanMp): Add systemtap probe marker.
9518 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9519 (__slowexp): Add systemtap probe marker.
9520 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9521 (__slowpow): Add systemtap probe marker.
9522 * manual/probes.texi: Document probes.
9523
3d110c7c
EB
95242013-10-11 Eric Biggers <ebiggers3@gmail.com>
9525
9526 [BZ #15362]
9527 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9528 written.
9529 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9530 written.
9531 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9532 written to buffer but not flushed.
9533 * libio/iofwrite_u.c: Likewise.
9534 * libio/iopadn.c: Return bytes returned even if EOF was
9535 encountered.
9536 * libio/iowpadn.c: Likewise.
9537 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9538 if _IO_padn does not write the whole buffer.
9539 [!COMPILE_WPRINTF] (PAD): Likewise.
9540
75b4202a
DM
95412013-10-10 David S. Miller <davem@davemloft.net>
9542
9543 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9544 directory block.
9545
6c6352e6
JM
95462013-10-10 Joseph Myers <joseph@codesourcery.com>
9547
33b853c3
JM
9548 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9549 instead of FSF address.
9550 * soft-fp/fixdfti.c: Likewise.
9551 * soft-fp/fixsfti.c: Likewise.
9552 * soft-fp/fixtfti.c: Likewise.
9553 * soft-fp/fixunsdfti.c: Likewise.
9554 * soft-fp/fixunssfti.c: Likewise.
9555 * soft-fp/fixunstfti.c: Likewise.
9556 * soft-fp/floattidf.c: Likewise.
9557 * soft-fp/floattisf.c: Likewise.
9558 * soft-fp/floattitf.c: Likewise.
9559 * soft-fp/floatuntidf.c: Likewise.
9560 * soft-fp/floatuntisf.c: Likewise.
9561 * soft-fp/floatuntitf.c: Likewise.
9562 * soft-fp/trunctfxf2.c: Likewise.
9563
6c6352e6
JM
9564 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9565 * soft-fp/fixdfti.c: Likewise.
9566 * soft-fp/fixsfti.c: Likewise.
9567 * soft-fp/fixtfti.c: Likewise.
9568 * soft-fp/fixunsdfti.c: Likewise.
9569 * soft-fp/fixunssfti.c: Likewise.
9570 * soft-fp/fixunstfti.c: Likewise.
9571 * soft-fp/floattidf.c: Likewise.
9572 * soft-fp/floattisf.c: Likewise.
9573 * soft-fp/floattitf.c: Likewise.
9574 * soft-fp/floatuntidf.c: Likewise.
9575 * soft-fp/floatuntisf.c: Likewise.
9576 * soft-fp/floatuntitf.c: Likewise.
9577 * soft-fp/trunctfxf2.c: Likewise.
9578
3bf78b71
DM
95792013-10-10 David S. Miller <davem@davemloft.net>
9580
9581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9582
6f10289e
JM
95832013-10-10 Joseph Myers <joseph@codsourcery.com>
9584
bd878fc0
JM
9585 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9586 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9587 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9588 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9589 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9590 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9591 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9592
6f10289e
JM
9593 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9594 for NaNs before doing comparisons on argument.
9595 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9596 Likewise.
9597
321e2684
WN
95982013-10-10 Will Newton <will.newton@linaro.org>
9599
9600 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9601 passed to _int_memalign does not overflow.
9602
40fefba1
TR
96032013-10-10 Torvald Riegel <triegel@redhat.com>
9604
9605 * scripts/bench.pl: Add include-sources directive.
9606 * benchtests/README: Update documentation.
9607
2ae21ed2
JM
96082013-10-10 Joseph Myers <joseph@codesourcery.com>
9609
dcc2dd3f
JM
9610 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9611 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9612 instead of FP_INIT_ROUNDMODE.
9613 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9614 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9615
2ae21ed2
JM
9616 [BZ #16034]
9617 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9618 copy class of input value.
9619 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9620 not handle exceptions.
9621 * soft-fp/negsf2.c (__negsf2): Likewise.
9622 * soft-fp/negtf2.c (__negtf2): Likewise.
9623 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9624
cb8f9562
JM
96252013-10-09 Joseph Myers <joseph@codesourcery.com>
9626
9627 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9628 semicolon. From Linux kernel.
9629
5b60c59d
AB
96302013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9631
9632 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9633
b86835ca
YC
96342013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9635
9636 [BZ #156]
9637 * manual/socket.texi: Added statement about buffer
9638 for gethostbyname2_r.
9639
e7044ea7
OB
96402013-10-08 Ondřej Bílka <neleai@seznam.cz>
9641
9642 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9643 Use .p2align directive instead, throughout.
9644 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9645 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9646 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9647 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9648 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9649 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9650 * sysdeps/x86_64/strchr.S: Likewise.
9651 * sysdeps/x86_64/strrchr.S: Likewise.
9652
09544cbc
SP
96532013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9654
88576635
SP
9655 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9656
e7b2d1dd
SP
9657 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9658
09544cbc
SP
9659 * sysdeps/generic/math_private.h (__mpsin1): Remove
9660 declaration.
9661 (__mpcos1): Likewise.
9662 (__mpsin): New argument __range_reduce.
9663 (__mpcos): Likewise.
9664 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9665 (slow): Use __mpsin and __mpcos.
9666 (slow1): Likewise.
9667 (slow2): Likewise.
9668 (sloww): Likewise.
9669 (sloww1): Likewise.
9670 (sloww2): Likewise.
9671 (bsloww): Likewise.
9672 (bsloww1): Likewise.
9673 (bsloww2): Likewise.
9674 (cslow2): Likewise.
9675 (csloww): Likewise.
9676 (csloww1): Likewise.
9677 (csloww2): Likewise.
9678 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9679 range_reduce. Merge in __mpsin1.
9680 (__mpcos): Likewise.
9681 (__mpsin1): Remove.
9682 (__mpcos1): Likewise.
9683
7602d070
JM
96842013-10-07 Joseph Myers <joseph@codesourcery.com>
9685
9686 * locale/loadlocale.c (_nl_intern_locale_data): Use
9687 LOCFILE_ALIGNED_P.
9688 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9689 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9690 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9691 obstack data is appropriately aligned.
9692 (obstack_int32_grow_fast): Likewise.
9693 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9694 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9695 (add_locale_uint32_array): Likewise.
9696
a357259b
SP
96972013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9698
9699 * benchtests/Makefile: Remove ARGLIST and RET variables.
9700 ($(objpfx)bench-%.c): Pass only function name to the script.
9701 * benchtests/README: Update documentation.
9702 * benchtests/acos-inputs: Add new directives.
9703 * benchtests/acosh-inputs: Likewise.
9704 * benchtests/asin-inputs: Likewise.
9705 * benchtests/asinh-inputs: Likewise.
9706 * benchtests/atan-inputs: Likewise.
9707 * benchtests/atanh-inputs: Likewise.
9708 * benchtests/cos-inputs: Likewise.
9709 * benchtests/cosh-inputs: Likewise.
9710 * benchtests/exp-inputs: Likewise.
9711 * benchtests/log-inputs: Likewise.
9712 * benchtests/pow-inputs: Likewise.
9713 * benchtests/rint-inputs: Likewise.
9714 * benchtests/sin-inputs: Likewise.
9715 * benchtests/sinh-inputs: Likewise.
9716 * benchtests/tan-inputs: Likewise.
9717 * benchtests/tanh-inputs: Likewise.
9718 * scripts/bench.pl: Add support for new directives.
9719
9ec1b13d
AM
97202013-10-07 Alan Modra <amodra@gmail.com>
9721
9722 * README: Fix careless merge.
9723
8b7d57cd
AM
97242013-10-05 Alan Modra <amodra@gmail.com>
9725
9726 * NEWS: Mention powerpc64le support and bugs fixed.
9727 * README: Both big-endian and little-endian powerpc64 supported.
9728
7b7bab13
ST
97292013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9730
57f41c40
AS
9731 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9732 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
9733 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9734 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9735
d39baad1
RA
97362013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9737
9738 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9739 match prototype.
9740
cd78f7e7
JM
97412013-10-04 Joseph Myers <joseph@codesourcery.com>
9742
29d73d86
JM
9743 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9744 Move -mhard-float appending from
9745 ports/sysdeps/powerpc/powerpc32/Makefile.
9746 [$(with-fp) = yes] (ASFLAGS): Likewise.
9747 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9748 * sysdeps/powerpc/nofpu: Move directory from
9749 ports/sysdeps/powerpc/nofpu.
9750 * sysdeps/powerpc/soft-fp: Move directory from
9751 ports/sysdeps/powerpc/soft-fp.
9752 * sysdeps/powerpc/powerpc32/405: Move directory from
9753 ports/sysdeps/powerpc/powerpc32/405.
9754 * sysdeps/powerpc/powerpc32/440: Move directory from
9755 ports/sysdeps/powerpc/powerpc32/440.
9756 * sysdeps/powerpc/powerpc32/464: Move directory from
9757 ports/sysdeps/powerpc/powerpc32/464.
9758 * sysdeps/powerpc/powerpc32/476: Move directory from
9759 ports/sysdeps/powerpc/powerpc32/476.
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9761 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9763 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9765 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9767 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9769 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9770 * README: Update for powerpc-*-linux-gnu software floating point
9771 support in libc.
9772
e246b347
JM
9773 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9774 case to powerpc/powerpc32*.
9775 * sysdeps/unix/sysv/linux/configure: Regenerated.
9776
89c2003e
JM
9777 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9778 (_FPU_MASK_OM): Define as 0x04.
9779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9780 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9781 0x00c10080.
9782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9783 0x0000003c.
9784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9785
cd78f7e7
JM
9786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9787 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9788 getcontext_e500.
9789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9790 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9791 setcontext_e500.
9792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9793 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9794 and setcontext_e500.
9795
c755294d
CL
97962013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9797
9798 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9799
e16d221c
SP
98002013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9801
9802 * manual/threads.texi (Default Thread Attributes): Fix typo.
9803
215c7d43
WN
98042013-10-04 Will Newton <will.newton@linaro.org>
9805
9806 * malloc/Makefile: Add tst-memalign.
9807 * malloc/tst-memalign.c: New file.
9808
27d0461b
WN
9809 * malloc/tst-posix_memalign.c: Add comments.
9810 (do_test): Add comments and call free on all potentially
9811 allocated pointers. Add space after cast.
9812
1bc92709
WN
9813 * malloc/tst-pvalloc.c: Add comments.
9814 (do_test): Add comments and call free on all potentially
9815 allocated pointers. Remove duplicate check for NULL pointer.
9816 Add space after cast.
9817
66a9be9d
WN
9818 * malloc/tst-valloc.c: Add comments.
9819 (do_test): Add comments and call free on all potentially
9820 allocated pointers. Remove duplicate check for NULL pointer.
9821 Add space after cast.
9822
4cb81307
AM
98232013-10-04 Alan Modra <amodra@gmail.com>
9824
9825 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9826 Use stdint types in rather than __attribute__((mode())).
9827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9828
f8e3e9f3
AM
98292013-10-04 Alan Modra <amodra@gmail.com>
9830
9831 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9832 Correct handling of unaligned relocs for little-endian.
9833 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9834
8f9ebb08
AM
98352013-10-04 Alan Modra <amodra@gmail.com>
9836
9837 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9838 * configure: Regenerate.
9839 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9840 * shlib-versions: Likewise.
9841
0edf96c2
AM
98422013-10-04 Alan Modra <amodra@gmail.com>
9843
9844 * string/tester.c (test_memrchr): Increment reported test cycle.
9845
e0f7a380
AM
98462013-10-04 Alan Modra <amodra@gmail.com>
9847
9848 * string/test-memcpy.c (do_one_test): When reporting errors, print
9849 string address and don't overrun end of string.
9850
466b0393
AM
98512013-10-04 Alan Modra <amodra@gmail.com>
9852
9853 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9854 insrdi. Make better use of reg selection to speed exit slightly.
9855 Schedule entry path a little better. Remove useless "are we done"
9856 checks on entry to main loop. Handle wrapping around zero address.
9857 Correct main loop count. Handle single left-over word from main
9858 loop inline rather than by using loop_small. Remove extra word
9859 case in loop_small caused by wrong loop count. Add little-endian
9860 support.
9861 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9862 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9863 cache hint.
9864 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9865 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9866 support. Avoid rlwimi.
9867 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9868
3be87c77
AM
98692013-10-04 Alan Modra <amodra@gmail.com>
9870
9871 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9872 insrdi. Formatting.
3be87c77
AM
9873 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9874 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9875 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9876 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9877 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9878 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9879
759cfef3
AM
98802013-10-04 Alan Modra <amodra@gmail.com>
9881
9882 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9883 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9884 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9885 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9886 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9887 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9888 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9889 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9890 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9891 use of regs. Use power7 mtocrf. Tidy function tails.
9892
fe6e95d7
AM
98932013-10-04 Alan Modra <amodra@gmail.com>
9894
9895 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9896 Formatting. Consistently use rXXX register defines or rN defines.
9897 Use early exit labels that avoid restoring unused non-volatile regs.
9898 Make cr field use more consistent with rWORDn compares. Rename
9899 regs used as shift registers for unaligned loop, using rN defines
9900 for short lifetime/multiple use regs.
9901 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9902 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9903 addi 1,1,64 to pop stack frame. Simplify return value code.
9904 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9905
664318c3
AM
99062013-10-04 Alan Modra <amodra@gmail.com>
9907
9908 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9909 support. Correct typos, formatting. Optimize tail. Use insrdi
9910 rather than rlwimi.
9911 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9912 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9913 little-endian support. Correct typos.
9914 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9915 rather than rlwimi.
9916 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9917 in loop and entry code to keep "and." results.
9918 (strchr): Add little-endian support. Comment. Move cntlzd
9919 earlier in tail.
9920 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9921
43b84013
AM
99222013-10-04 Alan Modra <amodra@gmail.com>
9923
9924 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9925 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9926 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9927 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9928
8a7413f9
AM
99292013-10-04 Alan Modra <amodra@gmail.com>
9930
9931 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9932 (rTMP): Define as r11.
9933 (strcmp): Add little-endian support. Optimise tail.
9934 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9935 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9936 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9937 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9938 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9939 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9940 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9941
33ee81de
AM
99422013-10-04 Alan Modra <amodra@gmail.com>
9943
9944 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9945 little-endian support. Remove unnecessary "are we done" tests.
9946 Handle "s" wrapping around zero and extremely large "size".
9947 Correct main loop count. Handle single left-over word from main
9948 loop inline rather than by using small_loop. Correct comments.
9949 Delete "zero" tail, use "end_max" instead.
9950 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9951
db9b4570
AM
99522013-10-04 Alan Modra <amodra@gmail.com>
9953
9954 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9955 support. Don't branch over align.
9956 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9957 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9958 support. Rearrange tmp reg use to suit. Comment.
9959 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9960
f7c399cf
AM
99612013-10-04 Alan Modra <amodra@gmail.com>
9962
9963 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9964
0b2c2ace
AM
99652013-10-04 Alan Modra <amodra@gmail.com>
9966
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9968 conditional form of branch and link when obtaining pc.
9969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9970
02f04a6c
AM
99712013-10-04 Alan Modra <amodra@gmail.com>
9972
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9974 HIWORD/LOWORD.
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9977
9b874b2f
AM
99782013-10-04 Alan Modra <amodra@gmail.com>
9979
9980 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9981 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9982 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9983 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9984 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9985 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9986 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9987 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9988 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9989 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9990
be1e5d31
AB
99912013-10-04 Anton Blanchard <anton@au1.ibm.com>
9992 Alistair Popple <alistair@ozlabs.au.ibm.com>
9993 Alan Modra <amodra@gmail.com>
9994
9995 [BZ #15723]
9996 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9997 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9998 _dl_hwcap access for little-endian.
9999 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
10000 destroy vmx regs when saving unaligned.
10001 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10002 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
10003 destroy vmx regs when saving unaligned.
10004
fef13a78
AM
100052013-10-04 Alan Modra <amodra@gmail.com>
10006
10007 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10008 Don't use a union to pack hi/low value.
10009
76a66d51
AB
100102013-10-04 Anton Blanchard <anton@au1.ibm.com>
10011
10012 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10013 for little-endian.
10014 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10015 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10016 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10017 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10018 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10019
6a31fe7f
AM
100202013-10-04 Alan Modra <amodra@gmail.com>
10021
10022 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10023 constants to usual value for .cst8 section, and remove redundant
10024 high address load.
10025 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10026 constant for 0x1p52. Load little-endian words of double from
10027 correct stack offsets.
10028
7b88401f
AM
100292013-10-04 Alan Modra <amodra@gmail.com>
10030
10031 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10032 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10033 words of double from correct stack offsets.
10034 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10035 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10036 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10037 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10038 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10039 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10040 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10041 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10042 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10043 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10044 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10045 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10046 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10047 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10048 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10049 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10050 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10051
9c008155
AM
100522013-10-04 Alan Modra <amodra@gmail.com>
10053
10054 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
10055 64-bit int/double union.
10056 (_FPU_SETCW): Likewise.
10057 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
10058 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
10059
da13146d
AM
100602013-10-04 Alan Modra <amodra@gmail.com>
10061
10062 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
10063 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
10064
603e8410
AM
100652013-10-04 Alan Modra <amodra@gmail.com>
10066
10067 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
10068 use vector int constants.
10069 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
10070
4a28b3ca
AB
100712013-10-04 Anton Blanchard <anton@au1.ibm.com>
10072
10073 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
10074 array with long long.
10075 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
10076 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
10077 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
10078 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
10079 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
10080 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
10081 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
10082 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
10083 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
10084 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
10085 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
10086 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
10087 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
10088
2ca85d2b
AB
100892013-10-04 Anton Blanchard <anton@au1.ibm.com>
10090
10091 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
10092 (__signbit): Likewise. Correct for little-endian.
10093 (__signbitl): Call __signbit.
10094 (lrint): Correct for little-endian.
10095 (lrintf): Call lrint.
10096
62a728ae
AM
100972013-10-04 Alan Modra <amodra@gmail.com>
10098
10099 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
10100 union 32-bit int array member with 64-bit int array.
10101 (t515, tm256): Double rather than long double.
10102 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
10103
32c301df
AM
101042013-10-04 Alan Modra <amodra@gmail.com>
10105
10106 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
10107 Delete.
10108 (IEEE854_LONG_DOUBLE_BIAS): Delete.
10109 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
10110 version of math_ldbl.h.
10111
650ef4bd
AM
101122013-10-04 Alan Modra <amodra@gmail.com>
10113
10114 [BZ #15734], [BZ #15735]
10115 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
10116 all uses of ieee875 long double macros and unions. Simplify test
10117 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
10118 ldbl_extract_mantissa value for ix,iy exponents. Properly
10119 normalize after ldbl_extract_mantissa, and don't add hidden bit
10120 already handled. Don't treat low word of ieee854 mantissa like
10121 low word of IBM long double and mask off bit when testing for
10122 zero.
10123 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
10124 all uses of ieee875 long double macros and unions. Simplify tests
10125 for 0.0L and inf. Correct double adjustment of k. Delete dead code
10126 adjusting ha,hb. Simplify code setting kld. Delete two600 and
10127 two1022, instead use their values. Recognise that tests for large
10128 "a" and small "b" are mutually exclusive. Rename vars. Comment.
10129 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
10130 Rewrite all uses of ieee875 long double macros and unions. Simplify
10131 test for 0.0L and nan. Correct negation.
10132 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
10133 ieee875 long double macros and unions. Correct output for large
10134 magnitude x. Correct absolute value calculation.
10135 (__erfcl): Likewise.
10136 * math/libm-test.inc: Add tests for errors discovered in IBM long
10137 double versions of fmodl, remainderl, erfl and erfcl.
10138
765714ca
AM
101392013-10-04 Alan Modra <amodra@gmail.com>
10140
10141 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
10142 all uses of ieee854 long double macros and unions. Simplify tests
10143 for long doubles that are fully specified by the high double.
10144 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10145 Likewise.
10146 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
10147 Remove dead code too.
10148 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10149 (__ieee754_ynl): Likewise.
10150 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
10151 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
10152 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10153 Remove dead code too.
10154 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10155 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10156 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10157 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10158 Simplify.
10159 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10160 Simplify.
10161 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10162 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10163 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10164 Comment on variable precision.
10165 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10166 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10167 Likewise.
10168 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10169 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10170 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10171 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10172 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10173
4ebd120c
AM
101742013-10-04 Alan Modra <amodra@gmail.com>
10175
10176 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10177 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10178 all uses of ieee854 long double macros and unions.
10179 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10180 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10181 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10182 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10183 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10184 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10185 Likewise.
10186 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10187 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10188 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10189 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10190 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10191 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10192 Simplify sign and nan test too.
10193 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10194 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10195 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10196 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10197 Likewise.
10198 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10199 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10200 Likewise.
10201 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10202 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10203 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10204 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10205 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10206 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10207
1b6adf88
AM
102082013-10-04 Alan Modra <amodra@gmail.com>
10209
10210 * stdio-common/printf_size.c (__printf_size): Don't use
10211 union ieee854_long_double in fpnum union.
10212 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10213 signbit macro to retrieve sign from long double.
10214 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10215 retrieve sign from long double.
10216 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10217 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10218 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10219 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10220 * math/test-misc.c (main): Don't use union ieee854_long_double.
10221
4cf69995
AM
102222013-10-04 Alan Modra <amodra@gmail.com>
10223
10224 [BZ #15680]
10225 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10226 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10227 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10228 calculation. Remove unnecessary test for denormal exponent.
10229 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10230 Correct handling of denormals. Avoid undefined shift behaviour.
10231 Correct normalisation of low mantissa when low double is denormal.
10232 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10233 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10234 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10235 Correct normalisation of low mantissa. Test for overflow of high
10236 mantissa and normalise.
10237 (ldbl_nearbyint): Use more readable constant for two52.
10238 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10239 (__mpn_construct_long_double): Fix test for overflow of high
10240 mantissa and correct normalisation. Avoid undefined shift.
10241
9605ca6c
AM
102422013-10-04 Alan Modra <amodra@gmail.com>
10243
10244 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10245 (union ibm_extended_long_double): Define as an array of ieee754_double.
10246 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10247 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10248 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10249 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10250 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10253 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10254 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10255 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10256 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10257
975569d0
JM
102582013-10-03 Joseph Myers <joseph@codesourcery.com>
10259
d3d23756
JM
10260 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10261 page size instead of calling getpagesize.
10262
975569d0
JM
10263 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10264 (LOCFILE_ALIGN_MASK): Likewise.
10265 (LOCFILE_ALIGN_UP): Likewise.
10266 (LOCFILE_ALIGNED_P): Likewise.
10267 * locale/programs/ld-collate.c (collate_output): Use the new
10268 macros instead of __alignof__ (int32_t).
10269 * locale/weight.h (findidx): Likewise.
10270
b1fe1f2b
OB
102712013-10-03 Ondřej Bílka <neleai@seznam.cz>
10272
10273 [BZ #431]
10274 * manual/string.texi: Fix strncat and wcsncat.
10275
5f855e35
BM
102762013-10-03 Brooks Moses <bmoses@google.com>
10277
10278 [BZ #15915]
10279 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10280 * Makerules: ...here, and adjust associated comments.
10281
3cef6009
WN
102822013-10-02 Will Newton <will.newton@linaro.org>
10283
10284 * malloc/Makefile: Add tst-pvalloc.
10285 * malloc/tst-pvalloc.c: New file.
10286
7815420b
WN
102872013-10-02 Will Newton <will.newton@linaro.org>
10288
10289 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10290 improve test coverage.
10291
4868b204
WN
102922013-10-02 Will Newton <will.newton@linaro.org>
10293
10294 * malloc/Makefile: Add tst-posix_memalign.
10295 * malloc/tst-posix_memalign.c: New file.
10296
29c793b3
EB
102972013-10-01 Eric Blake <eblake@redhat.com>
10298
10299 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10300 Use __THROWNL rather than __THROW on static functions.
10301
fd967522
PM
103022013-09-30 Petr Machata <pmachata@redhat.com>
10303
10304 * elf/elf.h (R_AARCH64_ABS16): New macro.
10305 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10306 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10307 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10308 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10309 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10310 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10311 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10312 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10313 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10314 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10315 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10316 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10317 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10318 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10319 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10320 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10321 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10322 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10323 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10324 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10325 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10326 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10327 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10328 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10329 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10330 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10331 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10332 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10333 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10334 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10335 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10336 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10337 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10338 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10339 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10340 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10341 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10342 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10343 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10344 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10345 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10346 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10347 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10348 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10349 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10350 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10351 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10352 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10353 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10354 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10355 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10356 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10357 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10358 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10359 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10360 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10361 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10362 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10363 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10364 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10365 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10366 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10367 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10368 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10369 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10370 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10371 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10372 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10373 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10374 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10375 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10376 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10377 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10378 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10379 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10380 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10381 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10382 (R_AARCH64_TLSDESC_LDR): Likewise.
10383 (R_AARCH64_TLSDESC_ADD): Likewise.
10384 (R_AARCH64_TLSDESC_CALL): Likewise.
10385
b2179107
AS
103862013-09-30 Andreas Schwab <schwab@suse.de>
10387
10388 [BZ #15048]
10389 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10390 the nss database lookup.
10391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10393
47f28d0a
MF
103942013-09-28 Mike Frysinger <vapier@gentoo.org>
10395
10396 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10397
103982013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
10399
10400 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10401 ${Bash-specific parameter/pattern/string} parameter expansion.
10402 * sysdeps/unix/make-syscalls.sh: Likewise.
10403
f4518a17
KK
104042013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10405
10406 * sysdeps/sh/stackguard-macros.h: New file.
10407
dc1a95c7
OB
104082013-09-26 Ondřej Bílka <neleai@seznam.cz>
10409
10410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10412 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10413 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10414 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10415 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10416
5ebbff8f
AZ
104172013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10418
10419 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10420 Fix thread ID register.
10421
4fd2cf9f
JM
104222013-09-25 Joseph Myers <joseph@codesourcery.com>
10423
10424 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10425 [POSIX || UNIX98]: Require rather than permitting all symbols from
10426 <time.h>.
10427 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10428 element of struct sched_param.
10429 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10430 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10431 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10432 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10433 constant.
10434
12c22bc4
OL
104352013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10436
10437 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10438 argument calculation.
10439
a03d8ea7
JM
104402013-09-24 Joseph Myers <joseph@codesourcery.com>
10441
10442 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10443 Expect macro.
10444 [POSIX] (pthread_attr_t): Do not require type.
10445 [POSIX] (pthread_cond_t): Likewise.
10446 [POSIX] (pthread_condattr_t): Likewise.
10447 [POSIX] (pthread_key_t): Likewise.
10448 [POSIX] (pthread_mutex_t): Likewise.
10449 [POSIX] (pthread_mutexattr_t): Likewise.
10450 [POSIX] (pthread_once_t): Likewise.
10451 [POSIX] (pthread_t): Likewise.
10452 [POSIX-based standards] (pthread_atfork): Expect function.
10453
6055173a
JM
104542013-09-24 Joseph Myers <joseph@codesourcery.com>
10455 Richard Sandiford <richard@codesourcery.com>
10456
10457 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10458 (swap_endianness_p): New extern variable.
10459 (set_big_endian): New inline function.
10460 (maybe_swap_uint32): Likewise.
10461 (maybe_swap_uint32_array): Likewise.
10462 (maybe_swap_uint32_obstack): Likewise.
10463 * locale/programs/locfile.c: Include <stdbool.h>.
10464 (swap_endianness_p): New variable.
10465 (add_locale_uint32): Call maybe_swap_uint32.
10466 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10467 (write_locale_data): Call maybe_swap_uint32_array.
10468 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10469 maybe_swap_uint32.
10470 (obstack_int32_grow_fast): Likewise.
10471 (output_weightwc): Call maybe_swap_uint32_obstack.
10472 (collate_output): Likewise.
10473 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10474 (OPT_LITTLE_ENDIAN): Likewise.
10475 (options): Add --little-endian and --big-endian options.
10476 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10477 * locale/programs/locarchive.c: Include "locfile.h".
10478 (GET): New macro.
10479 (SET): Likewise.
10480 (INC): Likewise.
10481 (create_archive): Use the new macros to access fields of
10482 structures directly mapped from or written to locale archives.
10483 (oldlocrecentcmp): Likewise.
10484 (enlarge_archive): Likewise.
10485 (insert_name): Likewise.
10486 (add_alias): Likewise.
10487 (add_locale): Likewise.
10488 (delete_locales_from_archive): Likewise.
10489 (show_archive_content): Likewise.
10490 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10491 locale data.
10492
39bf0bb4
RM
104932013-09-24 Roland McGrath <roland@hack.frob.com>
10494
10495 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10496 http://www.gnu.org/doc/freemanuals.texi.
10497 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10498
f02eed10
WN
104992013-09-24 Will Newton <will.newton@linaro.org>
10500
10501 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10502 macro.
10503
a3a6c312
JM
105042013-09-23 Joseph Myers <joseph@codesourcery.com>
10505
10506 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10507 unsigned char.
10508
107375ac
MR
105092013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10510
10511 * manual/threads.texi (POSIX Threads): Fix a typo.
10512
141f3a77
SP
105132013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10514
303e567a
SP
10515 [BZ #14547]
10516 * string/tst-strcoll-overflow.c: New test case.
10517 * string/Makefile (xtests): Add tst-strcoll-overflow.
10518 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10519 cache if string sizes may cause integer overflow.
10520
141f3a77
SP
10521 [BZ #14547]
10522 * string/strcoll_l.c (coll_seq): New members rule, idx,
10523 save_idx and back_us.
10524 (get_next_seq_nocache): New function.
10525 (do_compare_nocache): New function.
10526 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10527 when malloc fails.
10528
c61b4d41
CD
105292013-09-23 Carlos O'Donell <carlos@redhat.com>
10530
0b1f8e35
CD
10531 [BZ #15754]
10532 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10533 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10534 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10535
c61b4d41
CD
10536 [BZ #15754]
10537 * elf/Makefile (tests): Add tst-ptrguard1.
10538 (tests-static): Add tst-ptrguard1-static.
10539 (tst-ptrguard1-ARGS): Define.
10540 (tst-ptrguard1-static-ARGS): Define.
10541 * elf/tst-ptrguard1.c: New file.
10542 * elf/tst-ptrguard1-static.c: New file.
10543 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10544 * sysdeps/i386/stackguard-macros.h: Likewise.
10545 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10546 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10547 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10548 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10549 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10550 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10551
105522013-09-23 Hector Marco <hecmargi@upv.es>
10553 Ismael Ripoll <iripoll@disca.upv.es>
10554 Carlos O'Donell <carlos@redhat.com>
10555
10556 [BZ #15754]
10557 * sysdeps/generic/stackguard-macros.h: Define
10558 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10559 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10560 Define __pointer_chk_guard_local.
10561 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10562 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10563
f5f4e7b4
VV
105642013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10565
10566 [BZ #15859]
10567 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10568
5bb43a43
AS
105692013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10570
10571 * include/string.h (__ffs): Declare as hidden.
10572 * string/ffs.c (__ffs): Define as hidden.
10573 * sysdeps/i386/ffs.c (__ffs): Likewise.
10574 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10575 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10576 * sysdeps/s390/ffs.c (__ffs): Likewise.
10577 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10578
3ea5be54
AO
105792013-09-20 Alexandre Oliva <aoliva@redhat.com>
10580
ffb89e53
AO
10581 * NEWS: Mention malloc probes.
10582
322dea08
AO
10583 * malloc/arena.c (new_heap): New memory_heap_new probe.
10584 (grow_heap): New memory_heap_more probe.
10585 (shrink_heap): New memory_heap_less probe.
10586 (heap_trim): New memory_heap_free probe.
10587 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10588 (systrim): New memory_sbrk_less probe.
10589 * manual/probes.texi: Document them.
10590
655673f3
AO
10591 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10592 * manual/probes.texi: Document it.
10593
35fed6f1
AO
10594 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10595 (__libc_realloc): Add memory_realloc_retry probe.
10596 (__libc_memalign): Add memory_memalign_retry probe.
10597 (__libc_valloc): Add memory_valloc_retry probe.
10598 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10599 (__libc_calloc): Add memory_calloc_retry probe.
10600 * manual/probes.texi: Document them.
10601
6999d38c
AO
10602 * malloc/arena.c (get_free_list): Add probe
10603 memory_arena_reuse_free_list.
10604 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10605 and memory_arena_reuse.
10606 (arena_get2) [!PER_THREAD]: Likewise.
10607 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10608 memory_arena_reuse_realloc.
10609 * manual/probes.texi: Document them.
10610
0653427f
AO
10611 * malloc/malloc.c (__libc_free): Add
10612 memory_mallopt_free_dyn_thresholds probe.
10613 (__libc_mallopt): Add multiple memory_mallopt probes.
10614 * manual/probes.texi: Document them.
10615
3ea5be54
AO
10616 * malloc/malloc.c: Include stap-probe.h.
10617 (__libc_mallopt): Add memory_mallopt probe.
10618 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10619 * manual/probes.texi: New.
10620 * manual/Makefile (chapters): Add probes.
10621 * manual/threads.texi: Set next node.
10622
e35696c3 106232013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10624
e35696c3
CL
10625 [BZ #15963, #13985]
10626 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10627 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10628 Add `Chinese' to `nan' entry name.
10629
4aafb73c
SP
106302013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10631
10632 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10633 (POLYNOMIAL): Likewise.
10634 (TAYLOR_SINCOS): Likewise.
10635 (TAYLOR_SLOW): Likewise.
10636 (__sin): Use TAYLOR_SINCOS.
10637 (__cos): Likewise.
10638 (slow): Use TAYLOR_SLOW.
10639 (sloww): Likewise.
10640 (bsloww): Likewise.
10641 (csloww): Likewise.
10642
d84f25c7
LD
106432013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10644
10645 * stdlib/strtod_l.c: Fix buffer overrun.
10646
5eea0404
SP
106472013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10648
7849ff93
SP
10649 * benchtests/Makefile (bench): Add sincos.
10650 * benchtests/bench-sincos.c: New file.
10651
cfa3c886
SP
10652 * math/libm-test.inc (cos_test_data): New test inputs.
10653 (sin_test_data): Likewise.
10654
b348e1e3
SP
10655 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10656 macro.
10657 (__sin): Use it.
10658 (__cos): Likewise.
10659 (slow1): Likewise.
10660 (slow2): Likewise.
10661 (sloww1): Likewise.
10662 (sloww2): Likewise.
10663 (bsloww1): Likewise.
10664 (bsloww2): Likewise.
10665 (cslow2): Likewise.
10666 (csloww1): Likewise.
10667 (csloww2): Likewise.
10668
6cce25f8
SP
10669 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10670 function.
10671 (__sin): Use it.
10672 (__cos): Likewise.
10673
5eea0404
SP
10674 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10675 gotos.
10676 (__cos): Likewise.
10677
9c21573c
MR
106782013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10679
10680 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10681 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10682 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10683 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10684 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10685 * elf/cache.c (print_entry): Handle the new cache flags.
10686
24d22e65
JM
106872013-09-18 Joseph Myers <joseph@codesourcery.com>
10688 Aldy Hernandez <aldyh@redhat.com>
10689
10690 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10691 Change condition to [_SOFT_FLOAT].
10692 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10693 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10694 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10695 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10696 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10697 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10700 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10702 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10704 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10705 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10707 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10708 declaration.
10709
d13ef066
JM
107102013-09-18 Joseph Myers <joseph@codesourcery.com>
10711
2e071de0
JM
10712 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10713 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10714 (__longjmp): Use LOAD_GP to load saved GPRs.
10715 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10716 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10717 (__sigsetjmp): Use SAVE_GP to save GPRs.
10718
d13ef066
JM
10719 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10720 Do not append -msoft-float.
10721 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10722
97a0650b
SP
107232013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10724
10725 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10726
11ca09e9
JM
107272013-09-17 Joseph Myers <joseph@codesourcery.com>
10728
10729 [BZ #15966]
10730 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10731 (_FPU_GETCW): Use initial "__" on variable and field names but not
10732 on macro parameter name.
10733 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10734 parentheses around reference to macro parameter.
10735
08ffcf34
RS
107362013-09-13 Richard Sandiford <richard@codesourcery.com>
10737
10738 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10739 prototype.
10740 (ctype_startup): Use uint32_t in cast and sizeof for
10741 ctype->charnames.
10742
ae7080d3
JL
107432013-09-11 Jia Liu <proljc@gmail.com>
10744
10745 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10746 __daddr_t_defined.
10747 [__FreeBSD__]: Likewise.
10748
5905e7b3
OB
107492013-09-11 Ondřej Bílka <neleai@seznam.cz>
10750
10751 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10752 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10753 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10754 (strchr): Remove __strchr_sse42 ifunc selection.
10755 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10756 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10757
b987c776
WN
107582013-09-11 Will Newton <will.newton@linaro.org>
10759
10760 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10761 parameter to RES. Remove hardcoded 1000 value.
10762 * benchtests/bench-skeleton.c (main): Pass RES parameter
10763 to TIMING_INIT and multiply result by 1000.
10764
ddf985af
AZ
107652013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10766
10767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10768
ffdd3181
AS
107692013-09-11 Andreas Schwab <schwab@suse.de>
10770
10771 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10772 if not defined.
10773 (O_TMPFILE) [__USE_GNU]: Define.
10774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10775 Define.
10776
b73ed247
WN
107772013-09-11 Will Newton <will.newton@linaro.org>
10778
10779 [BZ #15857]
10780 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10781 does not overflow.
10782
55e17aad
WN
107832013-09-11 Will Newton <will.newton@linaro.org>
10784
10785 [BZ #15856]
10786 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10787 does not overflow.
10788
1159a193
WN
107892013-09-11 Will Newton <will.newton@linaro.org>
10790
10791 [BZ #15855]
10792 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10793 does not overflow.
10794
5905e7b3 107952013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10796
10797 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10798 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10801 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10802
cdfc721b
AM
108032013-09-10 Allan McRae <allan@archlinux.org>
10804
aa04af00
AM
10805 [BZ #15748]
10806 * manual/arith.texi (Parsing of Floats): Clarify
10807 cross-reference.
10808
cdfc721b
AM
10809 [BZ #15849]
10810 * manual/install.texi (Running make install): Mention
10811 --enable-pt-chown.
10812 * INSTALL: Regenerated.
10813
95e7cf29
MR
108142013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10815
10816 * csu/init-first.c (_init): Remove the !SHARED condition around
10817 FPU control word initialization.
10818 * elf/dl-support.c (_dl_fpu_control): New variable.
10819 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10820 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10821 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10822 * math/test-fpucw-static.c: New file.
10823 * math/test-fpucw-ieee.c: New file.
10824 * math/test-fpucw-ieee-static.c: New file.
10825 * math/Makefile (tests): Add `test-fpucw-ieee' and
10826 `$(tests-static)'.
10827 (tests-static): New variable.
10828 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10829 dependency to...
10830 [($(build-shared),yes)]
10831 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10832 ... this.
10833 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10834 New dependency.
10835
83e43bf0
AM
108362013-09-09 Allan McRae <allan@archlinux.org>
10837
a9f5ce09
AM
10838 [BZ #15939]
10839 * manual/string.texi (Collation Functions): Fix typo in
10840 strcoll example.
10841 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10842
34829bc2
AM
10843 [BZ #15893]
10844 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10845
3932737d
AM
10846 [BZ #15892]
10847 * libio/memstream.c (open_memstream): Fix memory leak.
10848 * libio/wmemstream.c (open_wmemstream): Likewise.
10849
83e43bf0
AM
10850 [BZ #15895]
10851 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10852
0c66b8e9
WN
108532013-09-09 Will Newton <will.newton@linaro.org>
10854
10855 * malloc/Makefile: Add tst-realloc to tests.
10856 * malloc/tst-realloc.c: New file.
10857
f6b00fd1
AM
108582013-09-09 Allan McRae <allan@archlinux.org>
10859
10860 [BZ #15844]
10861 * COPYING: Update from GNU website to fix FSF address.
10862 * COPYING.LIB: Likewise.
10863
eec55e16
DM
108642013-09-06 David S. Miller <davem@davemloft.net>
10865
10866 * po/zh_TW.po: Update Chinese (traditional) translation from
10867 translation project.
10868
1ecbb381
RS
108692013-09-06 Richard Sandiford <richard@codesourcery.com>
10870 Joseph Myers <joseph@codesourcery.com>
10871
10872 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10873 "localeinfo.h".
10874 (obstack_chunk_alloc): New macro.
10875 (obstack_chunk_free): Likewise.
10876 (record_offset): New function.
10877 (init_locale_data): Likewise.
10878 (align_locale_data): Likewise.
10879 (add_locale_empty): Likewise.
10880 (add_locale_raw_data): Likewise.
10881 (add_locale_raw_obstack): Likewise.
10882 (add_locale_string): Likewise.
10883 (add_locale_wstring): Likewise.
10884 (add_locale_uint32): Likewise.
10885 (add_locale_uint32_array): Likewise.
10886 (add_locale_char): Likewise.
10887 (start_locale_structure): Likewise.
10888 (end_locale_structure): Likewise.
10889 (start_locale_prelude): Likewise.
10890 (end_locale_prelude): Likewise.
10891 (write_locale_data): Take locale_file structure rather than an
10892 iovec.
10893 * locale/programs/locfile.h: Include "obstack.h".
10894 (struct locale_file): Change to store locale file contents instead
10895 of header.
10896 (init_locale_data): New prototype.
10897 (align_locale_data): Likewise.
10898 (add_locale_empty): Likewise.
10899 (add_locale_raw_data): Likewise.
10900 (add_locale_raw_obstack): Likewise.
10901 (add_locale_string): Likewise.
10902 (add_locale_wstring): Likewise.
10903 (add_locale_uint32): Likewise.
10904 (add_locale_uint32_array): Likewise.
10905 (add_locale_char): Likewise.
10906 (start_locale_structure): Likewise.
10907 (end_locale_structure): Likewise.
10908 (start_locale_prelude): Likewise.
10909 (end_locale_prelude): Likewise.
10910 (write_locale_data): Update prototype.
10911 * locale/programs/3level.h (struct TABLE): Remove result field.
10912 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10913 Use new locale_file interface.
10914 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10915 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10916 * locale/programs/ld-address.c (address_output): Use new
10917 locale_file interface.
10918 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10919 NO_ADD_LOCALE.
10920 (collate_finish): Don't call collseq_table_finalize.
10921 (collate_output): Use new locale_file interface.
10922 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10923 in file.
10924 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10925 (TABLE): Move defines earlier in file.
10926 (ELEMENT): Likewise.
10927 (DEFAULT): Likewise.
10928 (wctrans_table_add): Move macro and inline function earlier in
10929 file.
10930 (struct wctype_table): Move type earlier in file.
10931 (add_locale_wctype_table): New static prototype.
10932 (struct locale_ctype_t): Use logical types instead of struct iovec
10933 pointers for members.
10934 (ctype_output): Use new locale_file interface.
10935 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10936 new locale_file interface.
10937 (allocate_arrays): Update for use of new locale_file interface.
10938 * locale/programs/ld-identification.c (identification_output): Use
10939 new locale_file interface.
10940 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10941 * locale/programs/ld-messages.c (messages_output): Likewise.
10942 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10943 * locale/programs/ld-name.c (name_output): Likewise.
10944 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10945 * locale/programs/ld-paper.c (paper_output): Likewise.
10946 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10947 * locale/programs/ld-time.c (time_output): Likewise.
10948
e029e2e5
AZ
109492013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10950
10951 * benchtests/Makefile: Add memrchr benchmark.
10952 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10953 benchmark as memrchr.
10954 * benchtests/bench-memrchr-ifunc.c: New file.
10955 * benchtests/bench-memrchr.c: New file.
10956
bbf6e8e4
WN
109572013-09-06 Will Newton <will.newton@linaro.org>
10958
10959 * benchtests/Makefile (string-bench): Add memcpy.
10960
6c82a2f8
CD
109612013-09-05 Carlos O'Donell <carlos@redhat.com>
10962 Cong Wang <amwang@redhat.com>
10963
e732c5f0 10964 [BZ #15850]
6c82a2f8
CD
10965 * sysdeps/unix/sysv/linux/bits/in.h
10966 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10967 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10968 before __USE_KERNEL_IPV6_DEFS uses.
10969 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10970 IPPROTO_BEETPH.
10971 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10972 sockaddr_in6, or ipv6_mreq.
10973
5430fc65
AZ
109742013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10975
10976 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10977 memory access for final bytes in some large inputs.
10978 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10979
4660856c
AZ
109802013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10981
10982 * string/test-memrchr.c: New file.
10983 * string/test-memrchr-ifunc.c: New file.
10984 * string/Makefile: Add new memrchr testcase.
10985
bb8ea713
MF
109862013-09-05 Mike Frysinger <vapier@gentoo.org>
10987
10988 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10989 fanotify_init returns EPERM.
10990
b92a20b5
JM
109912013-09-04 Joseph Myers <joseph@codesourcery.com>
10992
10993 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10994 errors.
10995 (top level): Treat second token from macro or constant entries for
10996 allowed headers as allowed.
10997 * include/complex.h: Condition internal declarations on
10998 [!_ISOMAC].
10999 * include/fenv.h: Condition include of <stdbool.h> and internal
11000 declarations on [!_ISOMAC].
7447ccd9
CL
11001
110022013-09-04 Chris Leonard <cjl@sugarlabs,.org>
11003
3e181dda 11004 [BZ #15923]
7447ccd9
CL
11005 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11006
3f2e46a4
JM
110072013-09-04 Joseph Myers <joseph@codesourcery.com>
11008
11009 * configure.in (--enable-versioning): Remove configure option.
11010 (libc_cv_asm_symver_directive): Remove configure test.
11011 (libc_cv_ld_version_script_option): Likewise.
11012 (VERSIONING): Remove variable and AC_SUBST.
11013 (DO_VERSIONING): Remove AC_DEFINE.
11014 * configure: Regenerated.
11015 * config.h.in (DO_VERSIONING): Remove macro.
11016 * Makerules [$(versioning) = yes]: Change conditionals to
11017 [$(build-shared) = yes].
11018 * config.make.in (versioning): Remove variable.
11019 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11020 [$(build-shared) = yes].
11021 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11022 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11023 * elf/Makefile [$(versioning) = yes]: Change conditionals to
11024 [$(build-shared) = yes].
11025 * extra-lib.mk [$(versioning) = yes]: Likewise.
11026 * hurd/Makefile [$(versioning) = yes]: Likewise.
11027 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11028 [SHARED].
11029 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11030 [SHARED].
11031 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11032 [SHARED && !NO_HIDDEN].
11033 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11034 [SHARED].
11035 [SHARED && DO_VERSIONING]: Likewise..
11036 * libio/Makefile [$(versioning) = yes]: Change conditionals to
11037 [$(build-shared) = yes].
11038 * manual/install.texi (--disable-versioning): Remove
11039 documentation.
11040 * INSTALL: Regenerated.
11041 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11042 to [SHARED].
11043 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11044 [$(build-shared) = yes].
11045 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11046 * sysdeps/i386/i686/multiarch/strstr-c.c
11047 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11048 [SHARED && !NO_HIDDEN].
11049 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11050 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11051 * sysdeps/powerpc/powerpc32/dl-machine.c
11052 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
11053 * sysdeps/powerpc/powerpc32/sysdep.h
11054 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
11055 to [SHARED && PIC && !NO_HIDDEN].
11056 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
11057 conditional to [SHARED].
11058
44558701
WN
110592013-09-04 Will Newton <will.newton@linaro.org>
11060
11061 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
11062 * benchtests/bench-string.h: Include bench-timing.h instead
11063 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
11064 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
11065 call to HP_TIMING_DIFF_INIT.
11066 * benchtests/bench-memccpy.c: Use bench-timing.h macros
11067 instead of hp-timing.h macros.
11068 * benchtests/bench-memchr.c: Likewise.
11069 * benchtests/bench-memcmp.c: Likewise.
11070 * benchtests/bench-memcpy.c: Likewise.
11071 * benchtests/bench-memmem.c: Likewise.
11072 * benchtests/bench-memmove.c: Likewise.
11073 * benchtests/bench-memset.c: Likewise.
11074 * benchtests/bench-rawmemchr.c: Likewise.
11075 * benchtests/bench-strcasecmp.c: Likewise.
11076 * benchtests/bench-strcasestr.c: Likewise.
11077 * benchtests/bench-strcat.c: Likewise.
11078 * benchtests/bench-strchr.c: Likewise.
11079 * benchtests/bench-strcmp.c: Likewise.
11080 * benchtests/bench-strcpy.c: Likewise.
11081 * benchtests/bench-strcpy_chk.c: Likewise.
11082 * benchtests/bench-strlen.c: Likewise.
11083 * benchtests/bench-strncasecmp.c: Likewise.
11084 * benchtests/bench-strncat.c: Likewise.
11085 * benchtests/bench-strncmp.c: Likewise.
11086 * benchtests/bench-strncpy.c: Likewise.
11087 * benchtests/bench-strnlen.c: Likewise.
11088 * benchtests/bench-strpbrk.c: Likewise.
11089 * benchtests/bench-strrchr.c: Likewise.
11090 * benchtests/bench-strspn.c: Likewise.
11091 * benchtests/bench-strstr.c: Likewise.
11092
cae16d66
WN
110932013-09-04 Will Newton <will.newton@linaro.org>
11094
11095 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
11096
ffa3cd7f
JM
110972013-09-03 Joseph Myers <joseph@codesourcery.com>
11098
11099 [BZ #15427]
11100 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11101 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
11102 * math/libm-test.inc (lgamma_test_data): Add more tests.
11103 * sysdeps/i386/fpu/libm-test-ulps: Update.
11104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11105
8f02859f
OB
111062013-09-03 Ondřej Bílka <neleai@seznam.cz>
11107
11108 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
11109 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11110 Add ifunc.
11111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11112 Add strcmp-sse2-unaligned
11113 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
11114
18d43716
MF
111152013-09-02 Mike Frysinger <vapier@gentoo.org>
11116
11117 * Versions.def (libc): Add GLIBC_2.19.
11118
ac444012
MF
111192013-09-02 Mike Frysinger <vapier@gentoo.org>
11120
11121 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
11122 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
11123
b7835e32
JM
111242013-09-02 Joseph Myers <joseph@codesourcery.com>
11125
11126 [BZ #14155]
11127 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
11128 intermediate calculations in recurrence.
11129 (__ieee754_ynf): Likewise.
11130 * math/libm-test.inc (jn_test_data): Do not allow spurious
11131 underflow exception. Add more tests.
11132 (yn_test_data): Add more tests.
11133 * sysdeps/i386/fpu/libm-test-ulps: Update.
11134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11135
8220f4f0
OB
111362013-09-02 Ondřej Bílka <neleai@seznam.cz>
11137
11138 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
11139
f24a6d08
OB
111402013-08-30 Ondřej Bílka <neleai@seznam.cz>
11141
11142 * csu/init-first.c: Fix then/than typos.
11143 * locale/programs/ld-collate.c: Likewise.
11144 * locale/programs/linereader.h: Likewise.
11145 * manual/charset.texi: Likewise.
11146 * manual/filesys.texi: Likewise.
11147 * manual/stdio.texi: Likewise.
11148 * manual/string.texi: Likewise.
11149 * stdlib/fmtmsg.c: Likewise.
11150 * sysdeps/i386/stpncpy.S: Likewise.
11151 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11152 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11153 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11154 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11155
382466e0
OB
111562013-08-30 Ondřej Bílka <neleai@seznam.cz>
11157
11158 * elf/dl-open.c: Fix typos.
11159 * iconvdata/gbbig5.c: Likewise.
11160 * iconvdata/iso-2022-jp.c: Likewise.
11161 * iconv/gconv_int.h: Likewise.
11162 * iconv/loop.c: Likewise.
11163 * nis/rpcsvc/nis.h: Likewise.
11164 * resolv/ns_name.c: Likewise.
11165 * stdio-common/vfscanf.c: Likewise.
11166 * streams/stropts.h: Likewise.
11167 * sunrpc/rpc_thread.c: Likewise.
11168 * sysdeps/i386/strpbrk.S: Likewise.
11169 * sysdeps/ieee754/k_standard.c: Likewise.
11170 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11172 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11173 * sysdeps/mach/hurd/profil.c: Likewise.
11174 * sysdeps/s390/dl-procinfo.h: Likewise.
11175 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11176 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11177 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11178 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11179 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11180
0186c6e9
OB
111812013-08-30 Ondřej Bílka <neleai@seznam.cz>
11182
11183 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11185
d4e16af1
OB
111862013-08-29 Ondřej Bílka <neleai@seznam.cz>
11187
11188 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11189 aix specific files.
11190 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11191 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11192 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11193 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11194 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11195 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11196 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11197 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11198
88335980
TS
111992013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11200 Roland McGrath <roland@hack.frob.com>
11201
11202 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11203 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11204
ed479b02
ST
112052013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11206
11207 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11208 __executable_start symbol instead of _start.
11209
f1cc4c86
TS
112102013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11211
d821f07c
TS
11212 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11213 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11214 Move macros to...
11215 * sysdeps/gnu/ldsodefs.h: ... this new file.
11216
c54290cf
TS
11217 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11218 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11219 instead of ELFOSABI_LINUX.
11220
0007fc9b 11221 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
11222 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11223 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11224 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11225 Likewise.
11226 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11227 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11228 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11229 Likewise.
11230 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11231 (ibm_extended_long_double): Add ieee_nan member.
11232 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11233 (do_test): New function.
11234
f1cc4c86
TS
11235 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11236 TEST_TRUNC.
11237 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11238 functions, renamed from truncdfsf_test, trunctfsf_test,
11239 trunctfdf_test.
11240 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11241 functions.
11242 (do_test): Run all these.
11243
6f65e668
OB
112442013-08-29 Ondřej Bílka <neleai@seznam.cz>
11245
11246 * argp/argp-help.c: Fix typos.
11247 * argp/argp-parse.c: Likewise.
11248 * debug/backtracesyms.c: Likewise.
11249 * elf/elf.h: Likewise.
11250 * malloc/malloc.c: Likewise.
11251 * nis/nis_print.c: Likewise.
11252 * resolv/res_comp.c: Likewise.
11253 * stdlib/stdlib.h: Likewise.
11254 * sunrpc/clnt_tcp.c: Likewise.
11255 * sunrpc/clnt_udp.c: Likewise.
11256 * sunrpc/clnt_unix.c: Likewise.
11257 * sysdeps/unix/bsd/ptsname.c: Likewise.
11258 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11259 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11261 Likewise.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11263 Likewise.
11264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11265 Likewise.
6f65e668
OB
11266 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11267
3a309239
SP
112682013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11269
11270 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11272
3b813b29
MF
112732013-08-27 Mike Frysinger <vapier@gentoo.org>
11274
11275 [BZ #15897]
11276 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11277 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11278 ($(objpfx)bug-dl-leaf): New rule.
11279 ($(objpfx)bug-dl-leaf.so): Likewise.
11280 ($(objpfx)bug-dl-leaf.out): Likewise.
11281 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11282 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11283 * dlfcn/bug-dl-leaf.c: New test.
11284 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11285 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11286 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11287 (dlclose): Likewise.
11288 (dlmopen): Likewise.
11289
8cc3269f
RM
112902013-08-27 Roland McGrath <roland@hack.frob.com>
11291
7f9d0034
RM
11292 * include/netdb.h [!_ISOMAC]:
11293 Don't include <tls.h>.
11294 (h_errno, __libc_h_errno): Move declaration and macros out of
11295 [_LIBC_REENTRANT].
11296
fb431262
RM
11297 * include/resolv.h [_RESOLV_H_]:
11298 Don't include <tls.h>.
11299 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11300 * resolv/res_libc.c: Don't include <tls.h>.
11301 (_res): Use __attribute__ ((nocommon)) in place of
11302 __attribute__ ((section (".bss"))).
11303
bd81123a
RM
11304 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11305 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11306
c4e42566
RM
11307 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11308
f890a59b
RM
11309 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11310 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11311
11312 * resolv/res_mkquery.c: Include <sys/time.h>.
11313
5d1f0a09
RM
11314 * inet/ifreq.c: Moved to ...
11315 * sysdeps/unix/ifreq.c: ... here.
11316 * inet/ifreq.c: New file, true stub version.
11317
6fcf28b3
RM
11318 * socket/sa_len.c: New file.
11319 * socket/Makefile (aux): Add it.
11320 * sysdeps/unix/sysv/linux/Makefile
11321 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11322 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11323 and #include <socket/sa_len.c>.
11324 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11325 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11326
e041fb8b
RM
11327 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11328 * bits/socket.h: ... here.
11329
8cc3269f
RM
11330 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11331 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11332 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11333
5d228a43
AS
113342013-08-27 Andreas Schwab <schwab@suse.de>
11335
45b8accc
AS
11336 [BZ #15736]
11337 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11338 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11339 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11340 * string/test-strcasecmp.c (test_main): Run tests in several
11341 locales.
11342 * string/test-strncasecmp.c (test_main): Likewise.
11343
5d228a43
AS
11344 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11345 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11346 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11347 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11348 (__strncasecmp_ssse3) [PIC]: Likewise.
11349
59d112a4
RM
113502013-08-26 Roland McGrath <roland@hack.frob.com>
11351
53234cc3
RM
11352 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11353
59d112a4
RM
11354 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11355 instead of explicitly declaring xdecrypt.
11356 * nis/nss_nis/nis-publickey.c: Likewise.
11357
595aba70
SP
113582013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11359
11360 [BZ #15890]
11361 * nscd/aicache.c: Include res_hconf.h.
11362 (addhstaiX): Initialize res_hconf.
11363
ffabd393
AS
113642013-08-26 Andreas Schwab <schwab@suse.de>
11365
11366 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11367 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11368
e0a69f5c
SP
113692013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11370
11371 * nscd/aicache.c (addhstaiX): Fix indentation.
11372
8c12f01d
MF
113732013-08-25 Mike Frysinger <vapier@gentoo.org>
11374
11375 * configure.ac: Quote $build_pt_chown test.
11376 * configure: Regenerated.
11377
8fe89494
JM
113782013-08-23 Joseph Myers <joseph@codesourcery.com>
11379
11380 [BZ #15532]
11381 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11382 * math/s_cexpf.c (__cexpf): Likewise.
11383 * math/s_cexpl.c (__cexpl): Likewise.
11384 * math/libm-test.inc (cexp_test_data): Correct expected return
11385 value for NaN + i0. Add another test.
11386
75b181d6
DM
113872013-08-22 David S. Miller <davem@davemloft.net>
11388
11389 * po/ca.po: Update Catalan translation from translation project.
936241e4 11390 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 11391
acd06bb1
JM
113922013-08-21 Joseph Myers <joseph@codesourcery.com>
11393
11394 [BZ #15797]
11395 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11396 is infinite, not alongside NaN test.
11397 * math/s_fdimf.c (__fdimf): Likewise.
11398 * math/s_fdiml.c (__fdiml): Likewise.
11399 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11400 errno is unchanged.
11401
c0c3f78a
OB
114022013-08-21 Ondřej Bílka <neleai@seznam.cz>
11403
11404 * argp/argp-help.c: Fix typos.
11405 * crypt/speeds.c: Likewise.
11406 * csu/check_fds.c: Likewise.
11407 * elf/dl-load.c: Likewise.
11408 * elf/dl-open.c: Likewise.
11409 * elf/reldep3.c: Likewise.
11410 * elf/reldep.c: Likewise.
11411 * elf/sprof.c: Likewise.
11412 * iconv/iconv_charmap.c: Likewise.
11413 * iconv/skeleton.c: Likewise.
11414 * iconv/strtab.c: Likewise.
11415 * io/lockf64.c: Likewise.
11416 * libio/libioP.h: Likewise.
11417 * resolv/gai_notify.c: Likewise.
11418 * resolv/ns_name.c: Likewise.
11419 * resolv/ns_samedomain.c: Likewise.
11420 * resolv/res_send.c: Likewise.
11421 * stdlib/random.c: Likewise.
11422 * sunrpc/rpc/xdr.h: Likewise.
11423 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11424 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11425 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11426 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11427 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11428 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11429 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11430 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11431 * sysdeps/mach/hurd/check_fds.c: Likewise.
11432 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11433 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11434 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11435 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11436 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11437 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11438 * sysdeps/pthread/aio_notify.c: Likewise.
11439 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11440 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11441 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11442 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11443 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11444
46ed1038
LD
114452013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11446
11447 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11448 version if bit_Slow_SSE4_2 is set.
11449 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11450 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11451
d400dcac
AZ
114522013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11453
11454 [BZ #15867]
11455 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11456 trampoline stack frame information.
11457 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11458 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11459 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11460 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11461 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11462 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11463 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11464 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11465 sa_flags value.
11466 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11467 interrupting a syscall and set with option SA_SIGINFO.
11468
42c8fdd8
JM
114692013-08-20 Joseph Myers <joseph@codesourcery.com>
11470
c980f2f4
JM
11471 [BZ #15531]
11472 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11473 argument is infinite.
11474 * math/s_cprojf.c (__cprojf): Likewise.
11475 * math/s_cprojl.c (__cprojl): Likewise.
11476 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11477 * math/libm-test.inc (cproj_test_data): Add more tests.
11478
0716c4fc
JM
11479 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11480
42c8fdd8
JM
11481 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11482 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11483 size. Use __ffs to determine corresponding shift.
11484
b31469d0
JM
114852013-08-20 Joseph Myers <joseph@codesourcery.com>
11486 Roland McGrath <roland@hack.frob.com>
11487
11488 * Makefile (INSTALL): Remove trailing blank lines from output of
11489 makeinfo.
11490
4e39af6e
AK
114912013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11492
11493 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11494 Align 32 bit compat elf_greg to 8 bytes.
11495
f315524e
AA
114962013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11497
11498 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11499
1326ba1a
SP
115002013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11501
11502 * string/strcoll_l.c (coll_seq): New structure.
11503 (get_next_seq_cached): New function.
11504 (get_next_seq): New function.
11505 (do_compare): New function.
11506 (STRCOLL): Use GNU style definition. Simplify implementation
11507 by using get_next_seq, get_next_seq_cached and do_compare.
11508
91ce4085
FW
115092013-08-16 Florian Weimer <fweimer@redhat.com>
11510
11511 [BZ #14699]
11512 CVE-2013-4237
11513 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11514 member.
11515 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11516 member.
11517 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11518 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11519 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11520 conditional.
11521 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11522 GETDENTS_64BIT_ALIGNED.
11523 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11524 * manual/filesys.texi (Reading/Closing Directory): Document
11525 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11526 strongly.
11527 * manual/conf.texi (Limits for Files): Add portability note to
11528 NAME_MAX, PATH_MAX.
11529 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11530
ca0a6bc4
AS
115312013-08-13 Andreas Schwab <schwab@suse.de>
11532
11533 [BZ #15749]
11534 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11535 of fabs.
11536 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11537 LDBL_MAX_EXP >= 16384]: Add tests for it.
11538
6c1fd795
DM
115392013-08-12 David S. Miller <davem@davemloft.net>
11540
11541 * version.h (RELEASE): Set to "development".
11542 (VERSION): Set to "2.18.90".
11543 * NEWS: Add 2.19 section.
11544
31ad488d
DM
115452013-08-03 David S. Miller <davem@davemloft.net>
11546
11547 * po/ko.po: Update Korean translation from translation project.
11548
db24e684
DM
115492013-08-01 David S. Miller <davem@davemloft.net>
11550
11551 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11552 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11553 Bilka.
11554
f723285b
DM
115552013-07-30 David S. Miller <davem@davemloft.net>
11556
11557 * po/fr.po: Update French translation from translation project.
11558
3cbc52db
DM
115592013-07-28 David S. Miller <davem@davemloft.net>
11560
30bbc0cc
DM
11561 * po/cs.po: Update Czech translation from translation project.
11562
3cbc52db
DM
11563 * po/sv.po: Update Swedish translation from translation project.
11564
d492e6d0
DM
115652013-07-27 David S. Miller <davem@davemloft.net>
11566
f1a7f492
DM
11567 * po/eo.po: Update Esperanto translation from translation project.
11568
90e62a4a
DM
11569 * po/vi.po: Update Vietnamese translation from translation project.
11570
d492e6d0
DM
11571 * po/de.po: Update German translation from translation project.
11572
d4baa62d
DM
115732013-07-26 David S. Miller <davem@davemloft.net>
11574
641aa7b4
DM
11575 * po/bg.po: Update Bulgarian translation from translation project.
11576
d4baa62d
DM
11577 * po/nl.po: Update Dutch translation from translation project.
11578 * po/pl.po: Update Polish translation from translation project.
11579 * po/ru.po: Update Russian translation from translation project.
11580
61a9dcb9
DM
115812013-07-24 David S. Miller <davem@davemloft.net>
11582
11583 * po/libc.pot: Update.
11584
7b1f8b58
AZ
115852013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11586
11587 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11588 variable page size.
11589 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11590 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11591 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11592
a8fc7a03
AK
115932013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11594
11595 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11596
e4608715
CD
115972013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11598 Andreas Schwab <schwab@suse.de>
11599 Roland McGrath <roland@hack.frob.com>
11600 Joseph Myers <joseph@codesourcery.com>
11601 Carlos O'Donell <carlos@redhat.com>
11602
11603 [BZ #15755]
11604 * config.h.in: Define HAVE_PT_CHOWN.
11605 * config.make.in (build-pt-chown): New variable.
11606 * configure.in (--enable-pt_chown): New configure option.
11607 * configure: Regenerate.
11608 * login/Makefile: Include Makeconfig. Build pt_chown only if
11609 build-pt-chown is enabled.
11610 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11611 pt_chown to fix pty ownership.
11612 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11613 CLOSE_ALL_FDS.
11614 * manual/install.texi (Configuring and compiling): Mention
11615 --enable-pt_chown. Add @findex for grantpt.
11616 * INSTALL: Regenerate.
11617
da2d62df
DM
116182013-07-20 David S. Miller <davem@davemloft.net>
11619
11620 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11621 difference between 32-bit and 64-bit.
11622
d7e06450
CD
116232013-07-15 Carlos O'Donell <carlos@redhat.com>
11624
11625 [BZ #15711]
11626 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11627 Avoid system header dependency with -ffreestanding.
11628 ($(objpfx)bits/syscall%d): Likewise.
11629
f959cfd7
DM
116302013-07-13 David S. Miller <davem@davemloft.net>
11631
11632 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11633 underflows from atanl/atan2l due to bug 15319.
11634 (casinh_test_data): Likewise.
11635
c61f8513
DM
116362013-07-07 David S. Miller <davem@davemloft.net>
11637
11638 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11639
72c90ed0
JA
116402013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11641
11642 * sysdeps/i386/fpu/libm-test-ulps: Update.
11643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11644
52dfbe13
SP
116452013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11646
11647 * configure.in (--enable-lock-elision): Fix message text.
11648 * INSTALL: Regenerate.
11649 * configure: Regenerate.
11650
3f169543
AZ
116512013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11652
11653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11654
521c6785
AJ
116552013-07-03 Andreas Jaeger <aj@suse.de>
11656
11657 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11658 define.
11659 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11660 (ptrace_peeksiginfo_args): Add.
11661 (__ptrace_peeksiginfo_flags): Add.
11662 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11664 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11665
d2cc15cb
AM
116662013-07-03 Allan McRae <allan@archlinux.org>
11667
11668 * sysdeps/i386/fpu/libm-test-ulps: Update.
11669
3aaeeca7
DM
116702013-07-02 David S. Miller <davem@davemloft.net>
11671
11672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11673
5314ed1a
MT
116742013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11675
11676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11677
67338156
JM
116782013-07-02 Joseph Myers <joseph@codesourcery.com>
11679
11680 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11682
1717da59
AK
116832013-07-02 Andi Kleen <ak@linux.intel.com>
11684
11685 * config.h.in (ENABLE_LOCK_ELISION): Add.
11686 * configure.in (--enable-lock-elision): Add option.
11687 * manual/install.texi: Document --enable lock elision.
11688 * configure: Regenerate
11689 * INSTALL: Regenerate.
11690
1c81621c
L
116912013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11692
11693 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11694 SSE4.2 strcasecmp for libc.a.
11695 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11696
77f01ab5
JM
116972013-07-02 Joseph Myers <joseph@codesourcery.com>
11698
11699 [BZ #13304]
11700 * soft-fp/op-common.h (_FP_FMA): New macro.
11701 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11702 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11703 (_FP_MUL_MEAT_1_imm): ... here.
11704 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11705 (_FP_MUL_MEAT_1_wide): ... here.
11706 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11707 (_FP_MUL_MEAT_1_hard): ... here.
11708 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11709 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11710 (_FP_MUL_MEAT_2_wide): ... here.
11711 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11712 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11713 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11714 (_FP_MUL_MEAT_2_gmp): ... here.
11715 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11716 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11717 (_FP_MUL_MEAT_4_wide): ... here.
11718 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11719 (_FP_MUL_MEAT_4_gmp): ... here.
11720 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11721 (_FP_WFRACBITS_DW_S): Likewise.
11722 (_FP_WFRACXBITS_DW_S): Likewise.
11723 (_FP_HIGHBIT_DW_S): Likewise.
11724 (FP_FMA_S): Likewise.
11725 (_FP_FRAC_HIGH_DW_S): Likewise.
11726 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11727 (_FP_WFRACBITS_DW_D): Likewise.
11728 (_FP_WFRACXBITS_DW_D): Likewise.
11729 (_FP_HIGHBIT_DW_D): Likewise.
11730 (FP_FMA_D): Likewise.
11731 (_FP_FRAC_HIGH_DW_D): Likewise.
11732 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11733 (_FP_WFRACBITS_DW_E): Likewise.
11734 (_FP_WFRACXBITS_DW_E): Likewise.
11735 (_FP_HIGHBIT_DW_E): Likewise.
11736 (FP_FMA_E): Likewise.
11737 (_FP_FRAC_HIGH_DW_E): Likewise.
11738 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11739 (_FP_WFRACBITS_DW_Q): Likewise.
11740 (_FP_WFRACXBITS_DW_Q): Likewise.
11741 (_FP_HIGHBIT_DW_Q): Likewise.
11742 (FP_FMA_Q): Likewise.
11743 (_FP_FRAC_HIGH_DW_Q): Likewise.
11744 * soft-fp/fmasf4.c: New file.
11745 * soft-fp/fmadf4.c: Likewise.
11746 * soft-fp/fmatf4.c: Likewise.
11747
6308fd9a
LD
117482013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11749
11750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11751 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11752 Silvermont.
11753 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11754 macro.
11755 (index_Slow_SSE4_2): Likewise.
11756 (index_Prefer_PMINUB_for_stringop): Likewise.
11757 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11758 bit_Slow_SSE4_2 is set.
11759 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11760 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11761
89cd9569
RA
117622013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11763
11764 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11765 rtld_global._dl_hwcap2.
11766 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11767 POWER8.
11768 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11769 POWER8 feature descriptions defined in _dl_hwcap2.
11770 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11771 string handling for POWER8 feature bits.
11772 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11773 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11774 _dl_powerpc_cap_flags.
11775 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11776 * sysdeps/powerpc/rtld-global-offsets.sym
11777 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11778 _dl_hwcap2 in the rtld_global_ro structure.
11779
1ae8bfe0
RA
117802013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11781
11782 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11783 hardware capabilities in support of AT_HWCAP2.
11784 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11785 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11786 GLRO(dl_hwcap2).
11787 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11788 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11789 explicitly the unknown a_type display mechanism is used.
11790 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11791 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11792 struct member.
11793 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11794 to macro prototype for AT_HWCAP2 support.
11795 * sysdeps/i386/dl-procinfo.h: Likewise.
11796 * sysdeps/s390/dl-procinfo.h: Likewise.
11797 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11798 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11799 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11800 return -1 for unknown a_type display fallback.
11801 * sysdeps/sparc/dl-procinfo.h: Likewise.
11802 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11803 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11804
8fbec010
JM
118052013-06-28 Joseph Myers <joseph@codesourcery.com>
11806
11807 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11808 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11809
0432680e
PY
118102013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11811
11812 [BZ #12492]
11813 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11814 mprotect making __stack_prot writable.
11815
ce61a2ad
NF
118162013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11817 Joseph Myers <joseph@codesourcery.com>
11818
11819 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11820 as being properly aligned.
11821
f91f1c0f
MR
118222013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11823
3d0f5d0c
MR
11824 * dlfcn/modstatic5.c: New file.
11825 * dlfcn/tststatic5.c: New file.
11826 * dlfcn/Makefile (tests): Add tststatic5.
11827 (tests-static): Likewise.
11828 (modules-names): Add modstatic5.
11829 (tststatic5-ENV): New variable.
11830 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11831
f91f1c0f
MR
11832 [BZ #15022]
11833 * elf/dl-support.c (_dl_main_map): New variable.
11834 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11835 (_dl_nns, _dl_load_adds): Set to 1.
11836 (_dl_initial_searchlist): Refer to _dl_main_map.
11837 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11838 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11839 call to _dl_get_origin.
11840 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11841 around call_map.
11842 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11843 * dlfcn/modstatic3.c: New file.
11844 * dlfcn/tststatic3.c: New file.
11845 * dlfcn/tststatic4.c: New file.
11846 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11847 (tests-static): Likewise.
11848 (modules-names): Add modstatic3.
11849 (tststatic3-ENV, tststatic4-ENV): New variables.
11850 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11851 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11852
cbe7d24b
JM
118532013-06-26 Joseph Myers <joseph@codesourcery.com>
11854
11855 * configure.in (CC): Require GCC version 4.4 or later.
11856 * configure: Regenerated.
11857 * manual/install.texi (Tools for Compilation): Update GCC version
11858 requirement.
11859 * INSTALL: Regenerated.
11860
11b8a0e1
LD
118612013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11862
11863 [BZ #15674]
bb5bb87c
L
11864 * string/test-memcmp.c (check2): New.
11865 (main): Call check2.
11866
11b8a0e1
LD
11867 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11868
b0037103
MR
118692013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11870
11871 [BZ #15022]
11872 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11873 over to...
11874 (dl_open_worker) [!SHARED]: ... here.
11875
c18c701d
RA
118762013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11877
11878 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11879
1d17fa5f
RH
118802013-06-25 Richard Henderson <rth@redhat.com>
11881
11882 * locale/programs/locarchive.c: Include <libc-internal.h>
11883
8fcb833a
JM
118842013-06-25 Joseph Myers <joseph@codesourcery.com>
11885
11886 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11887 trailing whitespace removed.
11888
17db6e8d
MF
118892013-06-24 Mike Frysinger <vapier@gentoo.org>
11890
11891 [BZ #10283]
17db6e8d
MF
11892 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11893 * locale/programs/locarchive.c: Include libc-mmap.h.
11894 (prepare_address_space): Take two new outputs (the mmap base and len).
11895 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11896 values.
11897 (create_archive): Declare new mmap base and len values for
11898 prepare_address_space, and store the result in ah.
11899 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11900 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11901 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11902 Declare new mmap base and len values for
11903 prepare_address_space, and store the result in new_ah.
11904 (open_archive): Declare new mmap base and len values for
11905 prepare_address_space, and store the result in ah.
11906 (close_archive): If ah->mmap_base is not NULL, use that and
11907 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11908 * sysdeps/generic/libc-mmap.h: New file.
11909
d605071e
MF
119102013-06-24 Mike Frysinger <vapier@gentoo.org>
11911
11912 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11913 (ALIGN_UP): Likewise.
11914 (PTR_ALIGN_DOWN): Likewise.
11915 (PTR_ALIGN_UP): Likewise.
11916
2f063a6e
RA
119172013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11918
11919 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11920 entry mapped to PPC_PLATFORM_POWER8.
11921 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11922 POWER8.
11923 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11924 (_dl_string_platform): Add case for exporting platform position for
11925 POWER8.
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11927 search path to sysdeps/powerpc/powerpc32/power8 directory.
11928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11929 search path to sysdeps/powerpc/powerpc64/power8 directory.
11930 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11931 power7 directories.
11932 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11933 power7 directories.
11934
a31ee4b3
SP
119352013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11936
a74ca98f
SP
11937 * INSTALL: Regenerate.
11938
a31ee4b3
SP
11939 * nscd/connections.c (nscd_init): Fix comment.
11940
695c378f
JM
119412013-06-22 Joseph Myers <joseph@codesourcery.com>
11942
d8412221
JM
11943 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11944
695c378f
JM
11945 [BZ #15667]
11946 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11947 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11948
d1d54715
MR
119492013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11950
11951 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11952 DL_DST_REQ_STATIC.
11953 (DL_DST_REQ_STATIC): Remove macro.
11954
8fdda7af
JM
119552013-06-21 Joseph Myers <joseph@codesourcery.com>
11956
11957 [BZ #7006]
11958 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11959 with a shift of 0 bits.
11960
f3bc5e5a
MR
119612013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11962
11963 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11964 $(tststatic-ENV).
11965
be09e8c9
KK
119662013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11967
11968 [BZ #15655]
11969 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11970
85c2e611
AZ
119712013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11972
11973 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11974 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11975 accepts -fno-tree-loop-distribute-patterns.
11976 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11977 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11978 recursive call.
11979 * string/memset.c (memset): Likewise.
11980 * string/test-memmove.c (simple_memmove): Disable loop transformation
11981 to library calls.
11982 * string/test-memset.c (simple_memset): Likewise.
11983 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11984 * benchtests/bench-memset.c (simple_memset): Likewise.
11985 * configure: Regenerated.
11986
c91e0825
JM
119872013-06-20 Joseph Myers <joseph@codesourcery.com>
11988
b8c792af
JM
11989 * math/test-misc.c (main): Ignore fesetround failure when failures
11990 of subsequent rounding tests would be ignored.
11991
c91e0825
JM
11992 [BZ #15654]
11993 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11994 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11995 * math/fegetenv.c (__fegetenv): Return 0.
11996 * math/fegetexcept.c (fegetexcept): Return 0.
11997 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11998 FE_TONEAREST.
11999 * math/feholdexcpt.c (feholdexcept): Return 0.
12000 * math/fesetenv.c (__fesetenv): Return 0.
12001 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12002 argument FE_TONEAREST.
12003 * math/feupdateenv.c (__feupdateenv): Return 0.
12004 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12005
bfcacbde
RM
120062013-06-18 Roland McGrath <roland@hack.frob.com>
12007
12008 * elf/rtld-Rules (rtld-compile-command.S): New variable.
12009 (rtld-compile-command.s, rtld-compile-command.c): New variables.
12010 ($(objpfx)rtld-%.os rules): Use them.
12011
e55a9b25
AZ
120122013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12013
12014 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12015 fields.
12016
346d65b3
RM
120172013-06-17 Roland McGrath <roland@hack.frob.com>
12018
12086fb4
RM
12019 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12020 length of target pattern, then descending length of dependency pattern.
12021 * configure.in (AWK): Require gawk 3.1.2 or newer.
12022 * manual/install.texi (Tools for Compilation): Say that we do.
12023 * configure: Regenerated.
12024
346d65b3
RM
12025 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12026 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12027 * scripts/sysd-rules.awk: ... this new script.
12028 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12029 than a glob-style pattern.
12030
1a846317
JM
120312013-06-17 Joseph Myers <joseph@codesourcery.com>
12032
12033 * math/test-misc.c (main): Do not treat incorrectly rounded
12034 conversions as failure unless ROUNDING_TESTS passes.
12035
8fc75e6f
JM
120362013-06-15 Joseph Myers <joseph@codesourcery.com>
12037
3711a167
JM
12038 [BZ #15631]
12039 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12040 restore exception state around main square root computation, then
12041 check for inexactness explicitly.
12042
8fc75e6f
JM
12043 * math/libm-test.inc (fma_test_data): Add another test.
12044
61dd6208
SP
120452013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12046
adf23d2c
SP
12047 * manual/threads.texi (Non-POSIX Extensions): New document
12048 node. Document pthread_getattr_default_np and
12049 pthread_setattr_default_np.
12050
61dd6208
SP
12051 * Versions.def (libpthread): Add GLIBC_2.18.
12052 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
12053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12054 Likewise.
12055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12056 Likewise.
12057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12058 Likewise.
12059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12060 Likewise.
12061 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
12062 Likewise.
12063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12064 Likewise.
12065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12066 Likewise.
12067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
12068 Likewise.
12069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12070 Likewise.
12071
d086fc7b
LD
120722013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12073
12074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12075 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
12076
747ef469
SP
120772013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12078 H.J. Lu <hjl.tools@gmail.com>
12079
12080 [BZ #15627]
12081 * sysdeps/x86_64/rtld-memset.c: Remove file.
12082 * sysdeps/x86_64/rtld-memset.S: New file.
12083
1b2feed2
JM
120842013-06-14 Joseph Myers <joseph@codesourcery.com>
12085
12086 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
12087 (test_in_one_mode): Take arguments for whether the rounding mode
12088 is supported for each floating-point type.
12089 (do_test): Pass new arguments to test_in_one_mode using
12090 ROUNDING_TESTS.
12091
a58ad3f8
RM
120922013-06-13 Roland McGrath <roland@hack.frob.com>
12093
12094 * posix/tst-waitid.c (do_test): Distinguish different instances of
12095 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
12096 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
12097 before entering the kernel for waitpid.
12098
c204ab28
SP
120992013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12100
12101 * NEWS: Fix note on clock function precision. Text by Roland
12102 McGrath.
12103
f4a29fba
RM
121042013-06-13 Roland McGrath <roland@hack.frob.com>
12105
12106 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
12107 it into place only when and if the sanity check passes.
12108
1f24b9ad
JM
121092013-06-13 Joseph Myers <joseph@codesourcery.com>
12110
12111 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
12112 output for whether conversion result is exact. Take argument
12113 indicating whether type is IBM long double.
12114 (round_for_all): Change need_exact field to ibm_ld.
12115 * stdlib/tst-strtod-round.c (struct exactness): New type.
12116 (struct test): Change bool ld_ok field to struct exactness exact.
12117 (TEST): Update all definitions for change to field.
12118 (tests): Regenerate array contents.
12119 (test_in_one_mode): Take pointer to new field instead of old ld_ok
12120 field value. Check for IBM long double here.
12121 (do_test): Update calls to test_in_one_mode.
12122
58206c68
SP
121232013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12124
12125 [BZ #12515]
12126 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
12127 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
12128
2d6f4c5b 121292013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
12130
12131 [BZ #15605]
12132 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
12133 generated by the compiler on loop optimizations.
12134 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
12135 general definitions.
12136
94f2c076
JM
121372013-06-12 Joseph Myers <joseph@codesourcery.com>
12138
12139 * math/bug-nextafter.c: Include <math-tests.h>.
12140 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12141 the relevant type.
12142 * math/bug-nexttoward.c: Include <math-tests.h>.
12143 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12144 the relevant type.
12145 * math/test-misc.c: Include <math-tests.h>.
12146 (main): Only test for exceptions if EXCEPTION_TESTS is true for
12147 the relevant type.
12148
e0e50a0a
AJ
121492013-06-12 Andreas Jaeger <aj@suse.de>
12150
12151 * po/ia.po: Update Interlingua translation from translation
12152 project.
12153
25061094
SP
121542013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12155
12156 * include/fenv.h: Include stdbool.h.
12157 (struct rm_ctx): New structure.
12158 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12159 Define macro.
12160 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12161 (SET_RESTORE_ROUNDF): Likewise.
12162 (SET_RESTORE_ROUNDL): Likewise.
12163 (SET_RESTORE_ROUND_NOEX): Likewise.
12164 (SET_RESTORE_ROUND_NOEXF): Likewise.
12165 (SET_RESTORE_ROUND_NOEXL): Likewise.
12166 (SET_RESTORE_ROUND_53BIT): Likewise.
12167 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12168 (libc_feresetround_noexf_ctx): Likewise.
12169 (libc_feresetround_noexl_ctx): Likewise.
12170 (libc_feholdsetround_53bit_ctx): Likewise.
12171 (libc_feresetround_53bit_ctx): Likewise.
12172 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12173 (libc_feholdexcept_setround_sse_ctx): New function.
12174 (libc_fesetenv_sse_ctx): Likewise.
12175 (libc_feupdateenv_sse_ctx): Likewise.
12176 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12177 (libc_feholdexcept_setround_387_ctx): Likewise.
12178 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12179 (libc_feholdsetround_387_prec_ctx): Likewise.
12180 (libc_feholdsetround_387_ctx): Likewise.
12181 (libc_feholdsetround_387_53bit_ctx): Likewise.
12182 (libc_feholdsetround_sse_ctx): Likewise.
12183 (libc_feresetround_sse_ctx): Likewise.
12184 (libc_feresetround_387_ctx): Likewise.
12185 (libc_feupdateenv_387_ctx): Likewise.
12186 (libc_feholdexcept_setroundf_ctx): Define macro.
12187 (libc_fesetenvf_ctx): Likewise.
12188 (libc_feupdateenvf_ctx): Likewise.
12189 (libc_feholdsetroundf_ctx): Likewise.
12190 (libc_feresetroundf_ctx): Likewise.
12191 (libc_feholdexcept_setround_ctx): Likewise.
12192 (libc_fesetenv_ctx): Likewise.
12193 (libc_feupdateenv_ctx): Likewise.
12194 (libc_feholdsetround_ctx): Likewise.
12195 (libc_feresetround_ctx): Likewise.
12196 (libc_feholdexcept_setroundl_ctx): Likewise.
12197 (libc_feupdateenvl_ctx): Likewise.
12198 (libc_feholdsetroundl_ctx): Likewise.
12199 (libc_feresetroundl_ctx): Likewise.
12200 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12201 (libc_feresetround_53bit_ctx): Likewise.
12202
59b30555
SP
122032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12204
12205 * locale/iso-639.def: Convert to UTF-8.
12206
f1d73d30
JM
122072013-06-11 Joseph Myers <joseph@codesourcery.com>
12208
12209 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12210 (EXCEPTION_TESTS_double): Likewise.
12211 (EXCEPTION_TESTS_long_double): Likewise.
12212 (EXCEPTION_TESTS): Likewise.
12213 * math/libm-test.inc (test_exceptions): Only test exceptions if
12214 EXCEPTION_TESTS (FLOAT).
12215
94aca5e7
SP
122162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12217
12218 * benchtests/Makefile (string-bench): Add strcpy_chk and
12219 stpcpy_chk.
12220 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12221 * benchtests/bench-stpcpy_chk.c: New file.
12222 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12223 * benchtests/bench-strcpy_chk.c: New file.
12224 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12225 code.
12226 (do_test): Likewise.
12227
fac0c5f2
RA
122282013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12229
12230 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12231 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12232 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12233 with tabs where appropriate.
12234 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12235 dl-procinfo.h.
12236 [PPC_PLATFORM_PPC440]: Likewise.
12237 [PPC_PLATFORM_PPC464]: Likewise.
12238 [PPC_PLATFORM_PPC476]: Likewise.
12239 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12240 ppc464, and ppc476 platform strings merging from ports/
12241 dl-procinfo.h.
12242
f22bc486
AS
122432013-06-11 Andreas Schwab <schwab@suse.de>
12244
12245 [BZ #14991]
12246 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12247 (from_ucs4_idx): Regenerate.
12248 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12249 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12250 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12251 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12252 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12253 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12254 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12255 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12256 from FROM_LOOP and TO_LOOP specific macros.
12257 (BODY): Handle combining characters.
12258 * iconvdata/BIG5HKSCS.irreversible: Update.
12259 * iconvdata/BIG5HKSCS.precomposed: New file.
12260 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12261 characters.
12262 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12263
c1f75dc3
SP
122642013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12265
4eacded2
SP
12266 * include/sys/time.h: Fix indentation and add copyright header.
12267
fec799f8
SP
12268 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12269 (do_test): Likewise.
12270 * string/test-memchr.c (do_one_test): Likewise.
12271 (do_test): Likewise.
12272 * string/test-memcmp.c (do_one_test): Likewise.
12273 (do_test): Likewise.
12274 * string/test-memcpy.c (do_one_test): Likewise.
12275 (do_test): Likewise.
12276 * string/test-memmem.c (do_one_test): Likewise.
12277 (do_test): Likewise.
12278 (do_random_tests): Likewise.
12279 * string/test-memmove.c (do_one_test): Likewise.
12280 (do_test): Likewise.
12281 * string/test-memset.c (do_one_test): Likewise.
12282 (do_test): Likewise.
12283 * string/test-rawmemchr.c (do_one_test): Likewise.
12284 (do_test): Likewise.
12285 * string/test-strcasecmp.c (do_one_test): Likewise.
12286 (do_test): Likewise.
12287 * string/test-strcasestr.c (do_one_test): Likewise.
12288 (do_test): Likewise.
12289 * string/test-strcat.c (do_one_test): Likewise.
12290 (do_test): Likewise.
12291 * string/test-strchr.c (do_one_test): Likewise.
12292 (do_test): Likewise.
12293 * string/test-strcmp.c (do_one_test): Likewise.
12294 (do_test): Likewise.
12295 * string/test-strcpy.c (do_one_test): Likewise.
12296 (do_test): Likewise.
12297 * string/test-string.h: Likewise.
12298 (test_init): Likewise.
12299 * string/test-strlen.c (do_one_test): Likewise.
12300 (do_test): Likewise.
12301 * string/test-strncasecmp.c (do_one_test): Likewise.
12302 (do_test): Likewise.
12303 * string/test-strncat.c (do_one_test): Likewise.
12304 (do_test): Likewise.
12305 * string/test-strncmp.c (do_one_test): Likewise.
12306 (do_test_limit): Likewise.
12307 (do_test): Likewise.
12308 * string/test-strncpy.c (do_one_test): Likewise.
12309 (do_test): Likewise.
12310 * string/test-strnlen.c (do_one_test): Likewise.
12311 (do_test): Likewise.
12312 * string/test-strpbrk.c (do_one_test): Likewise.
12313 (do_test): Likewise.
12314 * string/test-strrchr.c (do_one_test): Likewise.
12315 (do_test): Likewise.
12316 * string/test-strspn.c (do_one_test): Likewise.
12317 (do_test): Likewise.
12318 * string/test-strstr.c (do_one_test): Likewise.
12319 (do_test): Likewise.
12320
97020474
SP
12321 * benchtests/Makefile (string-bench): Add string benchmarks.
12322 * benchtests/bench-bcopy-ifunc.c: New file.
12323 * benchtests/bench-bcopy.c: New file.
12324 * benchtests/bench-bzero-ifunc.c: New file.
12325 * benchtests/bench-bzero.c: New file.
12326 * benchtests/bench-memccpy-ifunc.c: New file.
12327 * benchtests/bench-memccpy.c: New file.
12328 * benchtests/bench-memchr-ifunc.c: New file.
12329 * benchtests/bench-memchr.c: New file.
12330 * benchtests/bench-memcmp-ifunc.c: New file.
12331 * benchtests/bench-memcmp.c: New file.
12332 * benchtests/bench-memmem-ifunc.c: New file.
12333 * benchtests/bench-memmem.c: New file.
12334 * benchtests/bench-memmove-ifunc.c: New file.
12335 * benchtests/bench-memmove.c: New file.
12336 * benchtests/bench-mempcpy-ifunc.c: New file.
12337 * benchtests/bench-mempcpy.c: New file.
12338 * benchtests/bench-memset-ifunc.c: New file.
12339 * benchtests/bench-memset.c: New file.
12340 * benchtests/bench-rawmemchr-ifunc.c: New file.
12341 * benchtests/bench-rawmemchr.c: New file.
12342 * benchtests/bench-stpcpy-ifunc.c: New file.
12343 * benchtests/bench-stpcpy.c: New file.
12344 * benchtests/bench-stpncpy-ifunc.c: New file.
12345 * benchtests/bench-stpncpy.c: New file.
12346 * benchtests/bench-strcasecmp-ifunc.c: New file.
12347 * benchtests/bench-strcasecmp.c: New file.
12348 * benchtests/bench-strcasestr-ifunc.c: New file.
12349 * benchtests/bench-strcasestr.c: New file.
12350 * benchtests/bench-strcat-ifunc.c: New file.
12351 * benchtests/bench-strcat.c: New file.
12352 * benchtests/bench-strchr-ifunc.c: New file.
12353 * benchtests/bench-strchr.c: New file.
12354 * benchtests/bench-strchrnul-ifunc.c: New file.
12355 * benchtests/bench-strchrnul.c: New file.
12356 * benchtests/bench-strcmp-ifunc.c: New file.
12357 * benchtests/bench-strcmp.c: New file.
12358 * benchtests/bench-strcpy-ifunc.c: New file.
12359 * benchtests/bench-strcpy.c: New file.
12360 * benchtests/bench-strcspn-ifunc.c: New file.
12361 * benchtests/bench-strcspn.c: New file.
12362 * benchtests/bench-strlen-ifunc.c: New file.
12363 * benchtests/bench-strlen.c: New file.
12364 * benchtests/bench-strncasecmp-ifunc.c: New file.
12365 * benchtests/bench-strncasecmp.c: New file.
12366 * benchtests/bench-strncat-ifunc.c: New file.
12367 * benchtests/bench-strncat.c: New file.
12368 * benchtests/bench-strncmp-ifunc.c: New file.
12369 * benchtests/bench-strncmp.c: New file.
12370 * benchtests/bench-strncpy-ifunc.c: New file.
12371 * benchtests/bench-strncpy.c: New file.
12372 * benchtests/bench-strnlen-ifunc.c: New file.
12373 * benchtests/bench-strnlen.c: New file.
12374 * benchtests/bench-strpbrk-ifunc.c: New file.
12375 * benchtests/bench-strpbrk.c: New file.
12376 * benchtests/bench-strrchr-ifunc.c: New file.
12377 * benchtests/bench-strrchr.c: New file.
12378 * benchtests/bench-strspn-ifunc.c: New file.
12379 * benchtests/bench-strspn.c: New file.
12380 * benchtests/bench-strstr-ifunc.c: New file.
12381 * benchtests/bench-strstr.c: New file.
12382
c1f75dc3
SP
12383 * benchtests/Makefile: Disable parallel execution of targets.
12384 (string-bench): Add memcpy.
12385 (benchset): New variable to store a list of benchmark sets.
12386 (bench-func): Renamed from bench.
12387 (bench-set): New target.
12388 (bench): Depend on bench-func and bench-set.
12389 * benchtests/README: Add section on benchmark sets.
12390 * benchtests/bench-memcpy-ifunc.c: New file.
12391 * benchtests/bench-memcpy.c: New file.
12392 * benchtests/bench-string.h: New file.
12393
50fd745b
AS
123942013-06-11 Andreas Schwab <schwab@suse.de>
12395
12396 [BZ #15577]
12397 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12398 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12399 values in the triple.
12400 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12401 terminator in the group key.
12402
3ee7e9fe
AJ
124032013-06-11 Andreas Jaeger <aj@suse.de>
12404
12405 * po/zh_TW.po: Update Chinese (traditional) translation from
12406 translation project.
12407
89fb6835
SP
124082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12409
12410 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12411 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12412 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12413 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12414 (clock_getcpuclockid): Likewise.
12415 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12416 Add weak_alias and libc_hidden_def.
12417 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12418 * rt/clock_gettime.c (clock_gettime): Rename to
12419 __clock_gettime. Add weak_alias and libc_hidden_def.
12420 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12421 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12422 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12423 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12424 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12425 Likewise.
12426 * rt/clock_settime.c (clock_settime): Rename to
12427 __clock_settime. Add weak_alias and libc_hidden_def.
12428 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12429
0efa6f8b
JM
124302013-06-10 Joseph Myers <joseph@codesourcery.com>
12431
b8c61b4b
JM
12432 * mach/err_boot.sub: Remove trailing whitespace.
12433 * mach/err_ipc.sub: Likewise.
12434 * mach/err_mach.sub: Likewise.
12435
0efa6f8b
JM
12436 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12437 (ROUNDING_TESTS_double): Likewise.
12438 (ROUNDING_TESTS_long_double): Likewise.
12439 (ROUNDING_TESTS): Likewise.
12440 * math/libm-test.inc: Include <math-tests.h>.
12441 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12442 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12443 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12444 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12445
50b818bf
SP
124462013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12447
12448 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12449 of assigning.
12450
60d2f8f3
JM
124512013-06-08 Joseph Myers <joseph@codesourcery.com>
12452
4902d2c3
JM
12453 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12454 otherwise empty TRANS lines.
12455 * sysdeps/gnu/errlist.c: Regenerated.
12456
60d2f8f3
JM
12457 * catgets/gencat.c (error_print): Use (void) in function
12458 definition.
12459 * crypt/crypt_util.c (__init_des): Likewise.
12460 * crypt/speeds.c (Stop): Likewise.
12461 (main): Likewise.
12462 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12463 * inet/ruserpass.c (token): Likewise.
12464 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12465 * intl/localealias.c (extend_alias_table): Likewise.
12466 * intl/plural-exp.c (init_germanic_plural): Likewise.
12467 * libio/fcloseall.c (__fcloseall): Likewise.
12468 * libio/genops.c (_IO_flush_all): Likewise.
12469 (_IO_flush_all_linebuffered): Likewise.
12470 (_IO_cleanup): Likewise.
12471 (_IO_iter_begin): Likewise.
12472 (_IO_iter_end): Likewise.
12473 (_IO_list_lock): Likewise.
12474 (_IO_list_unlock): Likewise.
12475 (_IO_list_resetlock): Likewise.
12476 * libio/getchar.c (getchar): Likewise.
12477 * libio/getchar_u.c (getchar_unlocked): Likewise.
12478 * libio/getwchar.c (getwchar): Likewise.
12479 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12480 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12481 * login/getpt.c (__getpt): Likewise.
12482 * login/tst-utmp.c (main): Likewise.
12483 * malloc/hooks.c (__malloc_check_init): Likewise.
12484 * malloc/malloc.c (__malloc_stats): Likewise.
12485 * malloc/mtrace.c (tr_break): Likewise.
12486 (mtrace): Likewise.
12487 (muntrace): Likewise.
12488 * misc/fstab.c (endfsent): Likewise.
12489 * misc/getclktck.c (__getclktck): Likewise.
12490 * misc/getdtsz.c (__getdtablesize): Likewise.
12491 * misc/gethostid.c (gethostid): Likewise.
12492 * misc/getpagesize.c (__getpagesize): Likewise.
12493 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12494 (__get_nprocs): Likewise.
12495 (__get_phys_pages): Likewise.
12496 (__get_avphys_pages): Likewise.
12497 * misc/getttyent.c (getttyent): Likewise.
12498 (setttyent): Likewise.
12499 (endttyent): Likewise.
12500 * misc/getusershell.c (getusershell): Likewise.
12501 (endusershell): Likewise.
12502 (setusershell): Likewise.
12503 (initshells): Likewise.
12504 * misc/hsearch.c (__hdestroy): Likewise.
12505 * misc/sync.c (sync): Likewise.
12506 * misc/syslog.c (closelog_internal): Likewise.
12507 (closelog): Likewise.
12508 * misc/ttyslot.c (ttyslot): Likewise.
12509 * misc/vhangup.c (vhangup): Likewise.
12510 * posix/fork.c (__fork): Likewise.
12511 * posix/getegid.c (__getegid): Likewise.
12512 * posix/geteuid.c (__geteuid): Likewise.
12513 * posix/getgid.c (__getgid): Likewise.
12514 * posix/getpid.c (__getpid): Likewise.
12515 * posix/getppid.c (__getppid): Likewise.
12516 * posix/getuid.c (__getuid): Likewise.
12517 * posix/pause.c (pause): Likewise.
12518 * posix/setpgrp.c (setpgrp): Likewise.
12519 * posix/setsid.c (__setsid): Likewise.
12520 * posix/test-vfork.c (noop): Likewise.
12521 * resolv/gethnamaddr.c (_endhtent): Likewise.
12522 (_gethtent): Likewise.
12523 (ht_endhostent): Likewise.
12524 (gethostent): Likewise.
12525 (dns_service): Likewise.
12526 * stdlib/drand48.c (drand48): Likewise.
12527 * stdlib/lrand48.c (lrand48): Likewise.
12528 * stdlib/mrand48.c (mrand48): Likewise.
12529 * stdlib/rand.c (rand): Likewise.
12530 * stdlib/random.c (__random): Likewise.
12531 * stdlib/setenv.c (clearenv): Likewise.
12532 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12533 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12534 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12535 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12536 (__get_nprocs): Likewise.
12537 (__get_phys_pages): Likewise.
12538 (__get_avphys_pages): Likewise.
12539 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12540 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12541 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12542 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12543 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12544 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12545 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12546 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12547 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12548 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12549 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12550 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12551 * sysdeps/posix/clock.c (clock): Likewise.
12552 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12553 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12554 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12555 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12556 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12557 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12558 (__get_nprocs_conf): Likewise.
12559 (__get_phys_pages): Likewise.
12560 (__get_avphys_pages): Likewise.
12561 * time/clock.c (clock): Likewise.
12562 * time/tzset.c (__tzname_max): Likewise.
12563
2e09a79a
JM
125642013-06-07 Joseph Myers <joseph@codesourcery.com>
12565
12566 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12567 (__bswap_32): Do not use "register".
12568 * crypt/crypt.c (_ufc_doit_r): Likewise.
12569 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12570 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12571 * gmon/gmon.c (__monstartup): Likewise.
12572 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12573 * hurd/hurdmalloc.c (more_memory): Likewise.
12574 (malloc): Likewise.
12575 (free): Likewise.
12576 (realloc): Likewise.
12577 (malloc_fork_prepare): Likewise.
12578 (malloc_fork_parent): Likewise.
12579 (malloc_fork_child): Likewise.
12580 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12581 (_svcauth_des): Likewise.
12582 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12583 * inet/inet_net.c (inet_network): Likewise.
12584 * inet/inet_netof.c (inet_netof): Likewise.
12585 * inet/rcmd.c (__validuser2_sa): Likewise.
12586 * io/fts.c (fts_open): Likewise.
12587 (fts_load): Likewise.
12588 (fts_close): Likewise.
12589 (fts_read): Likewise.
12590 (fts_children): Likewise.
12591 (fts_build): Likewise.
12592 (fts_stat): Likewise.
12593 (fts_sort): Likewise.
12594 (fts_alloc): Likewise.
12595 (fts_lfree): Likewise.
12596 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12597 (_IO_file_xsgetn): Likewise.
12598 (_IO_file_xsgetn_mmap): Likewise.
12599 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12600 (_IO_cookie_write): Likewise.
12601 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12602 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12603 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12604 * malloc/obstack.c (_obstack_begin): Likewise.
12605 (_obstack_begin_1): Likewise.
12606 (_obstack_newchunk): Likewise.
12607 (_obstack_allocated_p): Likewise.
12608 (obstack_free): Likewise.
12609 (_obstack_memory_used): Likewise.
12610 * misc/getttyent.c (getttynam): Likewise.
12611 (getttyent): Likewise.
12612 (skip): Likewise.
12613 (value): Likewise.
12614 * misc/getusershell.c (initshells): Likewise.
12615 * misc/syslog.c (__vsyslog_chk): Likewise.
12616 * misc/ttyslot.c (ttyslot): Likewise.
12617 * nis/nis_hash.c (__nis_hash): Likewise.
12618 * posix/fnmatch_loop.c (FCT): Likewise.
12619 * posix/getconf.c (print_all): Likewise.
12620 (main): Likewise.
12621 * posix/getopt.c (exchange): Likewise.
12622 * posix/glob.c (globfree): Likewise.
12623 (prefix_array): Likewise.
12624 (__glob_pattern_type): Likewise.
12625 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12626 (NS_GET32): Likewise.
12627 (NS_PUT16): Likewise.
12628 (NS_PUT32): Likewise.
12629 * resolv/gethnamaddr.c (getanswer): Likewise.
12630 (gethostbyname2): Likewise.
12631 (gethostbyaddr): Likewise.
12632 (_gethtent): Likewise.
12633 (_gethtbyname2): Likewise.
12634 (_gethtbyaddr): Likewise.
12635 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12636 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12637 * resolv/res_init.c (__res_vinit): Likewise.
12638 (net_mask): Likewise.
12639 * resolv/res_mkquery.c (outchar): Likewise.
12640 (PRINT): Likewise.
12641 * stdio-common/printf_fp.c (outchar): Likewise.
12642 (PRINT): Likewise.
12643 * stdio-common/printf_fphex.c (outchar): Likewise.
12644 (PRINT): Likewise.
12645 * stdio-common/printf_size.c (outchar): Likewise.
12646 (PRINT): Likewise.
12647 * stdio-common/test_rdwr.c (main): Likewise.
12648 * stdio-common/tfformat.c (matches): Likewise.
12649 * stdio-common/vfprintf.c (outchar): Likewise.
12650 (printf_unknown): Likewise.
12651 (buffered_vfprintf): Likewise.
12652 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12653 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12654 (ReadFile): Likewise.
12655 * stdlib/qsort.c (SWAP): Likewise.
12656 (_quicksort): Likewise.
12657 * stdlib/setenv.c (__add_to_environ): Likewise.
12658 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12659 * stdlib/strtol_l.c (__strtol_l): Likewise.
12660 * stdlib/tst-strtod.c (main): Likewise.
12661 * stdlib/tst-strtol.c (main): Likewise.
12662 * stdlib/tst-strtoll.c (main): Likewise.
12663 * string/bits/string2.h (__strcmp_cc): Likewise.
12664 (__strcmp_cg): Likewise.
12665 (__strcspn_c1): Likewise.
12666 (__strcspn_c2): Likewise.
12667 (__strcspn_c3): Likewise.
12668 (__strspn_c1): Likewise.
12669 (__strspn_c2): Likewise.
12670 (__strspn_c3): Likewise.
12671 (__strsep_1c): Likewise.
12672 (__strsep_2c): Likewise.
12673 (__strsep_3c): Likewise.
12674 * string/memccpy.c (__memccpy): Likewise.
12675 * string/stpcpy.c (__stpcpy): Likewise.
12676 * string/strcmp.c (strcmp): Likewise.
12677 * string/strrchr.c (strrchr): Likewise.
12678 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12679 Likewise.
12680 * sysdeps/mach/hurd/getcwd.c
12681 (_hurd_canonicalize_directory_name_internal): Likewise.
12682 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12683 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12684 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12685 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12686 Likewise, in both definitions.
12687 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12688 definitions.
12689 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12690 64] (__bswap_64): Likewise.
12691 * time/test_time.c (main): Likewise.
12692 * time/tzfile.c (__tzfile_read): Likewise.
12693 (__tzfile_compute): Likewise.
12694 * time/tzset.c (__tzset_parse_tz): Likewise.
12695 (tzset_internal): Likewise.
12696 (compute_change): Likewise.
12697 * wcsmbs/wcscat.c (__wcscat): Likewise.
12698 * wcsmbs/wcschr.c (wcschr): Likewise.
12699 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12700 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12701 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12702 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12703 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12704 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12705 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12706 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12707 * wcsmbs/wmemset.c (wmemset): Likewise.
12708
9e54314b
JM
127092013-06-06 Joseph Myers <joseph@codesourcery.com>
12710
12711 * scripts/config.guess: Update to version 2013-05-16.
12712 * scripts/config.sub: Update to version 2013-04-24.
12713 * scripts/install-sh: Update to version 2011-11-20.07.
12714 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12715 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12716
350635a5
OB
127172013-06-06 Ondřej Bílka <neleai@seznam.cz>
12718
12719 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12720 * elf/sln.c: Likewise.
12721 * hurd/hurd/ioctl.h: Likewise.
12722 * hurd/hurdmalloc.c: Likewise.
12723 * hurd/xattr.c: Likewise.
12724 * include/shlib-compat.h: Likewise.
12725 * inet/ruserpass.c: Likewise.
12726 * libio/iofgets_u.c: Likewise.
12727 * libio/iofgetws_u.c: Likewise.
12728 * locale/programs/ld-identification.c: Likewise.
12729 * locale/programs/ld-time.c: Likewise.
12730 * mach/msg-destroy.c: Likewise.
12731 * nss/nss_files/files-netgrp.c: Likewise.
12732 * resolv/res_data.c: Likewise.
12733 * soft-fp/op-1.h: Likewise.
12734 * soft-fp/op-2.h: Likewise.
12735 * soft-fp/op-4.h: Likewise.
12736 * soft-fp/op-common.h: Likewise.
12737 * stdio-common/printf_fphex.c: Likewise.
12738 * stdlib/strtod_l.c: Likewise.
12739 * sunrpc/rpc/clnt.h: Likewise.
12740 * sysdeps/generic/framestate.c: Likewise.
12741 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12742 * sysdeps/i386/bsd-setjmp.S: Likewise.
12743 * sysdeps/i386/__longjmp.S: Likewise.
12744 * sysdeps/i386/setjmp.S: Likewise.
12745 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12746 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12747 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12748 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12751 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12753 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12756 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12757 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12758 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12759 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12761 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12762 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12763 * sysdeps/ieee754/support.c: Likewise.
12764 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12765 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12766 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12767 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12768 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12769 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12770 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12771 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12772 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12773 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12774 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12775 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12776 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12777 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12778 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12779 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12780 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12782
44a988af
OB
127832013-06-05 Ondřej Bílka <neleai@seznam.cz>
12784
25506f09 12785 * posix/transbug.c: Remove executable mode.
44a988af 12786
9c84384c
JM
127872013-06-05 Joseph Myers <joseph@codesourcery.com>
12788
12789 * crypt/speeds.c: Remove trailing whitespace.
12790 * dlfcn/default.c: Likewise.
12791 * elf/ifuncdep2.c: Likewise.
12792 * elf/ifuncmain1.c: Likewise.
12793 * elf/ifuncmain1vis.c: Likewise.
12794 * elf/testobj.h: Likewise.
12795 * elf/tst-stackguard1.c: Likewise.
12796 * gmon/sys/gmon.h: Likewise.
12797 * hurd/hurdmsg.c: Likewise.
12798 * hurd/new-fd.c: Likewise.
12799 * hurd/ports-get.c: Likewise.
12800 * iconvdata/ibm1008_420.c: Likewise.
12801 * inet/tst-getni1.c: Likewise.
12802 * inet/tst-getni2.c: Likewise.
12803 * libio/ioungetc.c: Likewise.
12804 * libio/wfiledoalloc.c: Likewise.
12805 * manual/libm-err-tab.pl: Likewise.
12806 * math/w_dremf.c: Likewise.
12807 * misc/ftruncate.c: Likewise.
12808 * posix/bug-glob2.c: Likewise.
12809 * posix/tst-pcre.c: Likewise.
12810 * posix/wait4.c: Likewise.
12811 * resolv/README: Likewise.
12812 * resolv/res_debug.h: Likewise.
12813 * resolv/tst-inet_ntop.c: Likewise.
12814 * setjmp/bug269-setjmp.c: Likewise.
12815 * soft-fp/extended.h: Likewise.
12816 * soft-fp/op-1.h: Likewise.
12817 * soft-fp/op-2.h: Likewise.
12818 * soft-fp/op-4.h: Likewise.
12819 * soft-fp/op-8.h: Likewise.
12820 * soft-fp/testit.c: Likewise.
12821 * stdio-common/bug16.c: Likewise.
12822 * stdlib/random.c: Likewise.
12823 * sunrpc/rpcsvc/rquota.x: Likewise.
12824 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12825 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12826 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12827 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12828 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12829 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12830 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12831 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12832 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12833 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12834 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12836 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12849 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12851 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12852 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12853 * sysdeps/ieee754/s_lib_version.c: Likewise.
12854 * sysdeps/mach/hurd/check_fds.c: Likewise.
12855 * sysdeps/mach/hurd/getsockname.c: Likewise.
12856 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12857 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12858 * sysdeps/powerpc/bits/link.h: Likewise.
12859 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12860 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12861 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12862 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12863 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12864 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12865 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12866 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12867 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12868 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12869 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12870 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12871 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12872 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12873 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12874 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12875 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12876 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12877 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12878 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12879 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12880 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12881 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12882 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12883 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12884 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12885 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12886 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12887 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12888 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12889 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12890 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12891 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12892 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12893 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12894 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12895 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12896 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12897 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12898 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12899 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12900 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12901 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12902 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12903 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12904 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12905 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12906 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12907 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12908 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12909 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12910 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12911 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12912 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12913 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12914 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12915 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12916 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12917 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12918 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12919 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12920 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12921 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12922 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12923 * sysdeps/powerpc/sysdep.h: Likewise.
12924 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12925 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12926 * sysdeps/sh/dl-trampoline.S: Likewise.
12927 * sysdeps/sh/memset.S: Likewise.
12928 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12929 * sysdeps/sh/strlen.S: Likewise.
12930 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12931 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12932 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12933 * sysdeps/sparc/sparc32/rem.S: Likewise.
12934 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12935 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12936 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12937 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12938 * sysdeps/sparc/sparc32/urem.S: Likewise.
12939 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12940 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12941 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12942 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12943 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12944 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12945 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12946 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12947 * sysdeps/unix/bsd/times.c: Likewise.
12948 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12949 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12953 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12954 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12955 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12956 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12957 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12958 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12959 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12960 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12961 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12962 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12963 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12964 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12965 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12966 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12967 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12968 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12969 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12970 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12971 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12972 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12973 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12974 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12975 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12976 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12977 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12978 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12979 * sysdeps/x86_64/strcspn.S: Likewise.
12980
869378a5
RA
129812013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12982
12983 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12984 generated file. Regenerate properly from gen-translit.pl.
12985 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12986 locale/C-translit.h.
12987
840e2943
AS
129882013-06-05 Andreas Schwab <schwab@suse.de>
12989
12990 [BZ #15100]
12991 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12992 week as 6 instead of -1.
12993 * time/tst-strptime.c (day_tests): Add test case.
12994
4c60cb0c
SP
129952013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12996
12997 * sysdeps/generic/math_private.h
12998 (libc_feholdexcept_setround_53bit): Replace with
12999 libc_feholdsetround_53bit.
13000 (libc_feupdateenv_53bit): Replace with
13001 libc_feresetround_53bit.
13002 (SET_RESTORE_ROUND_53BIT): Adjust.
13003
d180203e
SP
130042013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
13005
96df079a
SP
13006 * string/test-strchrnul.c: Add copyright header.
13007
d180203e
SP
13008 * posix/tst-getaddrinfo4.c: Increase test timeout.
13009
8b0ccb2d
CD
130102013-06-03 Carlos O'Donell <carlos@redhat.com>
13011
13012 [BZ #15536]
13013 * math/libm-test.inc (MAX_EXP): Remove
13014 (MIN_EXP): Define.
13015 (ulp): Use MIN_EXP - MANT_DIG.
13016 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13017
3b3c4d40
CD
130182013-05-31 Carlos O'Donell <carlos@redhat.com>
13019
13020 * po/be.po: Revert last change.
13021 * po/zh_CN.po: Likewise.
13022 * po/header.pot: Likewise.
13023
fab7ce3f
JM
130242013-05-31 Joseph Myers <joseph@codesourcery.com>
13025
13026 * Makefile ($(common-objpfx)linkobj/libc.so): Define
13027 link-libc-deps to empty as target-specific variable.
13028 * Makerules (link-libc-args): New variable.
13029 (libc-for-link): Likewise.
13030 (link-libc-deps): Likewise.
13031 (lib%.so): Depend on $(link-libc-deps). Link with
13032 $(link-libc-args).
13033 (build-module): Link with $(link-libc-args).
13034 (build-module-asneeded): Likewise.
13035 (build-module-helper-objlist): Filter out $(link-libc-deps) from
13036 list of objects.
13037 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13038 target-specific variable.
13039 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13040 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13041 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13042 libc.
13043 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13044 libc and ld.so.
13045 ($(objpfx)libpcprofile.so): Likewise.
13046 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13047 libc_nonshared.a.
13048 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13049 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13050 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13051 $(link-libc-deps).
13052 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
13053 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
13054 * login/Makefile ($(objpfx)libutil.so): Likewise.
13055 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
13056 * math/Makefile ($(objpfx)libm.so): Likewise.
13057 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
13058 $(objpfx)libnsl.so): Define libc-for-link as target-specific
13059 variable instead of depending directly on libc.
13060 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
13061 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
13062 $(link-libc-deps).
13063 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
13064 libc.
13065 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
13066 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
13067 ($(objpfx)libanl.so): Likewise.
13068 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
13069 ld.so.
13070 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
13071 $(link-libc-deps).
13072 * sysdeps/i386/fpu/Makefile: Remove file.
13073 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
13074 ($(objpfx)libm.so): Remove dependency on ld.so.
13075
eca5920c
PF
130762013-05-30 Patsy Franklin <pfrankli@redhat.com>
13077
13078 [BZ # 15553]
13079 * nis/yp_xdr.c (XDRMAXNAME): Define.
13080 (XDRMAXRECORD): Define.
13081 (xdr_domainname): Use XDRMAXNAME.
13082 (xdr_mapname): Likewise.
13083 (xdr_peername): Likewise.
13084 (xdr_keydat): Use XDRMAXRECORD.
13085 (xdr_valdat): Likewise.
13086
130872013-05-30 Jeff Law <law@redhat.com>
96945714
JL
13088
13089 [BZ #14256]
13090 * manual/errno.texi (ESTALE): Update to account for more than
13091 just NFS file systems.
13092 * sysdeps/gnu/errlist.c: Regenerated.
13093
b9375348
SP
130942013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13095
13096 [BZ #15465]
13097 * elf/Makefile (tests): Add tst-null-argv.
13098 (modules-names): Add tst-null-argv-lib.
13099 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
13100 (tst-null-argv-ENV): Set environment for tst-null-argv.
13101 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
13102 (RTLD_PROGNAME): New macro.
13103 * elf/tst-null-argv.c: New test case.
13104 * elf/tst-null-argv-lib.c: Library for test case.
13105 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
13106 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
13107 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
13108 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
13109 * elf/dl-init.c (call_init): Likewise.
13110 (_dl_init): Likewise.
13111 * elf/dl-load.c (print_search_path): Likewise.
13112 (_dl_map_object): Likewise.
13113 * elf/dl-lookup.c (do_lookup_x): Likewise.
13114 (add_dependency): Likewise.
13115 (_dl_lookup_symbol_x): Likewise.
13116 (_dl_debug_bindings): Likewise.
13117 * elf/dl-open.c (_dl_show_scope): Likewise.
13118 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13119 * elf/dl-version.c (match_symbol): Likewise.
13120 (_dl_check_map_versions): Likewise.
13121 * elf/rtld.c (dl_main): Likewise.
13122 (print_unresolved): Use RTLD_PROGNAME.
13123 (print_missing_version): Likewise.
13124 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
13125 (elf_machine_rela): Likewise.
13126 * sysdeps/powerpc/powerpc32/dl-machine.c
13127 (__process_machine_rela): Likewise.
13128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13129 Likewise.
13130 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
13131 Likewise.
13132 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13133 Likewise.
13134 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13135 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
13136 Likewise.
13137 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
13138 Likewise.
13139 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13140
8a9f20c8
CD
131412013-05-28 Carlos O'Donell <carlos@redhat.com>
13142
13143 * po/be.po: Add descriptive title.
13144 * po/zh_CN.po: Likewise.
13145 * po/header.pot: Likewise.
13146
0e60d68e
MF
131472013-05-28 Mike Frysinger <vapier@gentoo.org>
13148
13149 * locale/programs/locarchive.c (create_archive): Inlucde fname in
13150 error message.
13151 (enlarge_archive): Likewise.
13152
56b672e9
BN
131532013-05-28 Ben North <ben@redfrontdoor.org>
13154
13155 * manual/arith.texi (frexp): It is the magnitude of the return
13156 value which lies in [0.5, 1), not the return value itself.
13157
5e056687
AZ
131582013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13159
13160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13161
2b66ef5d
TS
131622013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13163
528c2405
TS
13164 * stdio-common/bug26.c (main): Correct fscanf template.
13165
07b4c13d
TS
13166 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13167 declare _dl_skip_args.
13168
ec9dd97c
TS
13169 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13170 Don't declare.
13171
2b66ef5d
TS
13172 * manual/platform.texi: Add missing @end deftypefun.
13173
4f8dfe27
JM
131742013-05-24 Joseph Myers <joseph@codesourcery.com>
13175
0323d086
JM
13176 [BZ #15529]
13177 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13178 bit of mantissa of 2^16382.
13179 * math/libm-test.inc (hypot_test_data): Add more tests.
13180
dd4259b9
JM
13181 * math/libm-test.inc: Add drem and pow10 to list of tested
13182 functions.
13183 (pow10_test): New function.
13184 (drem_test): Likewise.
13185 (drem_test_tonearest): Likewise.
13186 (drem_test_towardzero): Likewise.
13187 (drem_test_downward): Likewise.
13188 (drem_test_upward): Likewise.
13189 (main): Call the new functions.
13190
4f8dfe27
JM
13191 * math/libm-test.inc (finite_test_data): Remove.
13192 (finite_test): Run tests from isfinite_test_data.
13193 (gamma_test_data): Remove.
13194 (gamma_test): Run tests from lgamma_test_data.
13195 * sysdeps/i386/fpu/libm-test-ulps: Update.
13196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13197
d116b7c4
AZ
131982013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13199
13200 * manual/platform.texi: Add PowerPC PPR function set documentation.
13201 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13202 implementation.
13203
e96e3767
CD
132042013-05-24 Carlos O'Donell <carlos@redhat.com>
13205
13206 * math/libm-test.inc (MAX_EXP): Define.
13207 (ULPDIFF): Define.
13208 (ulp): New function.
13209 (check_float_internal): Use ULPDIFF.
13210 (cpow_test): Disable failing test.
13211 (check_ulp): Test ulp() implemetnation.
13212 (main): Call check_ulp before starting tests.
13213
b679a606
JM
132142013-05-24 Joseph Myers <joseph@codesourcery.com>
13215
e8bdba36
JM
13216 * math/gen-libm-test.pl (generate_testfile): Do not handle
13217 START_DATA and END_DATA.
13218 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13219 END_DATA.
13220 (acos_tonearest_test_data): Likewise.
13221 (acos_towardzero_test_data): Likewise.
13222 (acos_downward_test_data): Likewise.
13223 (acos_upward_test_data): Likewise.
13224 (acosh_test_data): Likewise.
13225 (asin_test_data): Likewise.
13226 (asin_tonearest_test_data): Likewise.
13227 (asin_towardzero_test_data): Likewise.
13228 (asin_downward_test_data): Likewise.
13229 (asin_upward_test_data): Likewise.
13230 (asinh_test_data): Likewise.
13231 (atan_test_data): Likewise.
13232 (atanh_test_data): Likewise.
13233 (atan2_test_data): Likewise.
13234 (cabs_test_data): Likewise.
13235 (cacos_test_data): Likewise.
13236 (cacosh_test_data): Likewise.
13237 (carg_test_data): Likewise.
13238 (casin_test_data): Likewise.
13239 (casinh_test_data): Likewise.
13240 (catan_test_data): Likewise.
13241 (catanh_test_data): Likewise.
13242 (cbrt_test_data): Likewise.
13243 (ccos_test_data): Likewise.
13244 (ccosh_test_data): Likewise.
13245 (ceil_test_data): Likewise.
13246 (cexp_test_data): Likewise.
13247 (cimag_test_data): Likewise.
13248 (clog_test_data): Likewise.
13249 (clog10_test_data): Likewise.
13250 (conj_test_data): Likewise.
13251 (copysign_test_data): Likewise.
13252 (cos_test_data): Likewise.
13253 (cos_tonearest_test_data): Likewise.
13254 (cos_towardzero_test_data): Likewise.
13255 (cos_downward_test_data): Likewise.
13256 (cos_upward_test_data): Likewise.
13257 (cosh_test_data): Likewise.
13258 (cosh_tonearest_test_data): Likewise.
13259 (cosh_towardzero_test_data): Likewise.
13260 (cosh_downward_test_data): Likewise.
13261 (cosh_upward_test_data): Likewise.
13262 (cpow_test_data): Likewise.
13263 (cproj_test_data): Likewise.
13264 (creal_test_data): Likewise.
13265 (csin_test_data): Likewise.
13266 (csinh_test_data): Likewise.
13267 (csqrt_test_data): Likewise.
13268 (ctan_test_data): Likewise.
13269 (ctan_tonearest_test_data): Likewise.
13270 (ctan_towardzero_test_data): Likewise.
13271 (ctan_downward_test_data): Likewise.
13272 (ctan_upward_test_data): Likewise.
13273 (ctanh_test_data): Likewise.
13274 (ctanh_tonearest_test_data): Likewise.
13275 (ctanh_towardzero_test_data): Likewise.
13276 (ctanh_downward_test_data): Likewise.
13277 (ctanh_upward_test_data): Likewise.
13278 (erf_test_data): Likewise.
13279 (erfc_test_data): Likewise.
13280 (exp_test_data): Likewise.
13281 (exp_tonearest_test_data): Likewise.
13282 (exp_towardzero_test_data): Likewise.
13283 (exp_downward_test_data): Likewise.
13284 (exp_upward_test_data): Likewise.
13285 (exp10_test_data): Likewise.
13286 (exp2_test_data): Likewise.
13287 (expm1_test_data): Likewise.
13288 (fabs_test_data): Likewise.
13289 (fdim_test_data): Likewise.
13290 (finite_test_data): Likewise.
13291 (floor_test_data): Likewise.
13292 (fma_test_data): Likewise.
13293 (fma_towardzero_test_data): Likewise.
13294 (fma_downward_test_data): Likewise.
13295 (fma_upward_test_data): Likewise.
13296 (fmax_test_data): Likewise.
13297 (fmin_test_data): Likewise.
13298 (fmod_test_data): Likewise.
13299 (fpclassify_test_data): Likewise.
13300 (frexp_test_data): Likewise.
13301 (gamma_test_data): Likewise.
13302 (hypot_test_data): Likewise.
13303 (ilogb_test_data): Likewise.
13304 (isfinite_test_data): Likewise.
13305 (isgreater_test_data): Likewise.
13306 (isgreaterequal_test_data): Likewise.
13307 (isinf_test_data): Likewise.
13308 (isless_test_data): Likewise.
13309 (islessequal_test_data): Likewise.
13310 (islessgreater_test_data): Likewise.
13311 (isnan_test_data): Likewise.
13312 (isnormal_test_data): Likewise.
13313 (issignaling_test_data): Likewise.
13314 (isunordered_test_data): Likewise.
13315 (j0_test_data): Likewise.
13316 (j1_test_data): Likewise.
13317 (jn_test_data): Likewise.
13318 (ldexp_test_data): Likewise.
13319 (lgamma_test_data): Likewise.
13320 (lrint_test_data): Likewise.
13321 (lrint_tonearest_test_data): Likewise.
13322 (lrint_towardzero_test_data): Likewise.
13323 (lrint_downward_test_data): Likewise.
13324 (lrint_upward_test_data): Likewise.
13325 (llrint_test_data): Likewise.
13326 (llrint_tonearest_test_data): Likewise.
13327 (llrint_towardzero_test_data): Likewise.
13328 (llrint_downward_test_data): Likewise.
13329 (llrint_upward_test_data): Likewise.
13330 (log_test_data): Likewise.
13331 (log10_test_data): Likewise.
13332 (log1p_test_data): Likewise.
13333 (log2_test_data): Likewise.
13334 (logb_test_data): Likewise.
13335 (logb_downward_test_data): Likewise.
13336 (lround_test_data): Likewise.
13337 (llround_test_data): Likewise.
13338 (modf_test_data): Likewise.
13339 (nearbyint_test_data): Likewise.
13340 (nextafter_test_data): Likewise.
13341 (nexttoward_test_data): Likewise.
13342 (pow_test_data): Likewise.
13343 (pow_tonearest_test_data): Likewise.
13344 (pow_towardzero_test_data): Likewise.
13345 (pow_downward_test_data): Likewise.
13346 (pow_upward_test_data): Likewise.
13347 (remainder_test_data): Likewise.
13348 (remainder_tonearest_test_data): Likewise.
13349 (remainder_towardzero_test_data): Likewise.
13350 (remainder_downward_test_data): Likewise.
13351 (remainder_upward_test_data): Likewise.
13352 (remquo_test_data): Likewise.
13353 (rint_test_data): Likewise.
13354 (rint_tonearest_test_data): Likewise.
13355 (rint_towardzero_test_data): Likewise.
13356 (rint_downward_test_data): Likewise.
13357 (rint_upward_test_data): Likewise.
13358 (round_test_data): Likewise.
13359 (scalb_test_data): Likewise.
13360 (scalbn_test_data): Likewise.
13361 (scalbln_test_data): Likewise.
13362 (signbit_test_data): Likewise.
13363 (sin_test_data): Likewise.
13364 (sin_tonearest_test_data): Likewise.
13365 (sin_towardzero_test_data): Likewise.
13366 (sin_downward_test_data): Likewise.
13367 (sin_upward_test_data): Likewise.
13368 (sincos_test_data): Likewise.
13369 (sinh_test_data): Likewise.
13370 (sinh_tonearest_test_data): Likewise.
13371 (sinh_towardzero_test_data): Likewise.
13372 (sinh_downward_test_data): Likewise.
13373 (sinh_upward_test_data): Likewise.
13374 (sqrt_test_data): Likewise.
13375 (tan_test_data): Likewise.
13376 (tan_tonearest_test_data): Likewise.
13377 (tan_towardzero_test_data): Likewise.
13378 (tan_downward_test_data): Likewise.
13379 (tan_upward_test_data): Likewise.
13380 (tanh_test_data): Likewise.
13381 (tgamma_test_data): Likewise.
13382 (trunc_test_data): Likewise.
13383 (y0_test_data): Likewise.
13384 (y1_test_data): Likewise.
13385 (yn_test_data): Likewise.
13386 (significand_test_data): Likewise.
13387
b679a606
JM
13388 * math/gen-libm-test.pl (@functions): Remove variable.
13389 (generate_testfile): Don't handle START and END lines.
13390 * math/libm-test.inc (START): New macro.
13391 (END): Likewise.
13392 (END_COMPLEX): Likewise.
13393 (acos_test): Use END macro without arguments.
13394 (acos_test_tonearest): Likewise.
13395 (acos_test_towardzero): Likewise.
13396 (acos_test_downward): Likewise.
13397 (acos_test_upward): Likewise.
13398 (acosh_test): Likewise.
13399 (asin_test): Likewise.
13400 (asin_test_tonearest): Likewise.
13401 (asin_test_towardzero): Likewise.
13402 (asin_test_downward): Likewise.
13403 (asin_test_upward): Likewise.
13404 (asinh_test): Likewise.
13405 (atan_test): Likewise.
13406 (atanh_test): Likewise.
13407 (atan2_test): Likewise.
13408 (cabs_test): Likewise.
13409 (cacos_test): Use END_COMPLEX macro without arguments.
13410 (cacosh_test): Likewise.
13411 (carg_test): Use END macro without arguments.
13412 (casin_test): Use END_COMPLEX macro without arguments.
13413 (casinh_test): Likewise.
13414 (catan_test): Likewise.
13415 (catanh_test): Likewise.
13416 (cbrt_test): Use END macro without arguments.
13417 (ccos_test): Use END_COMPLEX macro without arguments.
13418 (ccosh_test): Likewise.
13419 (ceil_test): Use END macro without arguments.
13420 (cexp_test): Use END_COMPLEX macro without arguments.
13421 (cimag_test): Use END macro without arguments.
13422 (clog_test): Use END_COMPLEX macro without arguments.
13423 (clog10_test): Likewise.
13424 (conj_test): Likewise.
13425 (copysign_test): Use END macro without arguments.
13426 (cos_test): Likewise.
13427 (cos_test_tonearest): Likewise.
13428 (cos_test_towardzero): Likewise.
13429 (cos_test_downward): Likewise.
13430 (cos_test_upward): Likewise.
13431 (cosh_test): Likewise.
13432 (cosh_test_tonearest): Likewise.
13433 (cosh_test_towardzero): Likewise.
13434 (cosh_test_downward): Likewise.
13435 (cosh_test_upward): Likewise.
13436 (cpow_test): Use END_COMPLEX macro without arguments.
13437 (cproj_test): Likewise.
13438 (creal_test): Use END macro without arguments.
13439 (csin_test): Use END_COMPLEX macro without arguments.
13440 (csinh_test): Likewise.
13441 (csqrt_test): Likewise.
13442 (ctan_test): Likewise.
13443 (ctan_test_tonearest): Likewise.
13444 (ctan_test_towardzero): Likewise.
13445 (ctan_test_downward): Likewise.
13446 (ctan_test_upward): Likewise.
13447 (ctanh_test): Likewise.
13448 (ctanh_test_tonearest): Likewise.
13449 (ctanh_test_towardzero): Likewise.
13450 (ctanh_test_downward): Likewise.
13451 (ctanh_test_upward): Likewise.
13452 (erf_test): Use END macro without arguments.
13453 (erfc_test): Likewise.
13454 (exp_test): Likewise.
13455 (exp_test_tonearest): Likewise.
13456 (exp_test_towardzero): Likewise.
13457 (exp_test_downward): Likewise.
13458 (exp_test_upward): Likewise.
13459 (exp10_test): Likewise.
13460 (exp2_test): Likewise.
13461 (expm1_test): Likewise.
13462 (fabs_test): Likewise.
13463 (fdim_test): Likewise.
13464 (finite_test): Likewise.
13465 (floor_test): Likewise.
13466 (fma_test): Likewise.
13467 (fma_test_towardzero): Likewise.
13468 (fma_test_downward): Likewise.
13469 (fma_test_upward): Likewise.
13470 (fmax_test): Likewise.
13471 (fmin_test): Likewise.
13472 (fmod_test): Likewise.
13473 (fpclassify_test): Likewise.
13474 (frexp_test): Likewise.
13475 (gamma_test): Likewise.
13476 (hypot_test): Likewise.
13477 (ilogb_test): Likewise.
13478 (isfinite_test): Likewise.
13479 (isgreater_test): Likewise.
13480 (isgreaterequal_test): Likewise.
13481 (isinf_test): Likewise.
13482 (isless_test): Likewise.
13483 (islessequal_test): Likewise.
13484 (islessgreater_test): Likewise.
13485 (isnan_test): Likewise.
13486 (isnormal_test): Likewise.
13487 (issignaling_test): Likewise.
13488 (isunordered_test): Likewise.
13489 (j0_test): Likewise.
13490 (j1_test): Likewise.
13491 (jn_test): Likewise.
13492 (ldexp_test): Likewise.
13493 (lgamma_test): Likewise.
13494 (lrint_test): Likewise.
13495 (lrint_test_tonearest): Likewise.
13496 (lrint_test_towardzero): Likewise.
13497 (lrint_test_downward): Likewise.
13498 (lrint_test_upward): Likewise.
13499 (llrint_test): Likewise.
13500 (llrint_test_tonearest): Likewise.
13501 (llrint_test_towardzero): Likewise.
13502 (llrint_test_downward): Likewise.
13503 (llrint_test_upward): Likewise.
13504 (log_test): Likewise.
13505 (log10_test): Likewise.
13506 (log1p_test): Likewise.
13507 (log2_test): Likewise.
13508 (logb_test): Likewise.
13509 (logb_test_downward): Likewise.
13510 (lround_test): Likewise.
13511 (llround_test): Likewise.
13512 (modf_test): Likewise.
13513 (nearbyint_test): Likewise.
13514 (nextafter_test): Likewise.
13515 (nexttoward_test): Likewise.
13516 (pow_test): Likewise.
13517 (pow_test_tonearest): Likewise.
13518 (pow_test_towardzero): Likewise.
13519 (pow_test_downward): Likewise.
13520 (pow_test_upward): Likewise.
13521 (remainder_test): Likewise.
13522 (remainder_test_tonearest): Likewise.
13523 (remainder_test_towardzero): Likewise.
13524 (remainder_test_downward): Likewise.
13525 (remainder_test_upward): Likewise.
13526 (remquo_test): Likewise.
13527 (rint_test): Likewise.
13528 (rint_test_tonearest): Likewise.
13529 (rint_test_towardzero): Likewise.
13530 (rint_test_downward): Likewise.
13531 (rint_test_upward): Likewise.
13532 (round_test): Likewise.
13533 (scalb_test): Likewise.
13534 (scalbn_test): Likewise.
13535 (scalbln_test): Likewise.
13536 (signbit_test): Likewise.
13537 (sin_test): Likewise.
13538 (sin_test_tonearest): Likewise.
13539 (sin_test_towardzero): Likewise.
13540 (sin_test_downward): Likewise.
13541 (sin_test_upward): Likewise.
13542 (sincos_test): Likewise.
13543 (sinh_test): Likewise.
13544 (sinh_test_tonearest): Likewise.
13545 (sinh_test_towardzero): Likewise.
13546 (sinh_test_downward): Likewise.
13547 (sinh_test_upward): Likewise.
13548 (sqrt_test): Likewise.
13549 (tan_test): Likewise.
13550 (tan_test_tonearest): Likewise.
13551 (tan_test_towardzero): Likewise.
13552 (tan_test_downward): Likewise.
13553 (tan_test_upward): Likewise.
13554 (tanh_test): Likewise.
13555 (tgamma_test): Likewise.
13556 (trunc_test): Likewise.
13557 (y0_test): Likewise.
13558 (y1_test): Likewise.
13559 (yn_test): Likewise.
13560 (significand_test): Likewise.
13561
bae143d2
OB
135622013-05-24 Ondřej Bílka <neleai@seznam.cz>
13563
13564 [BZ #15381]
13565 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13566
9323d39b
EM
135672013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13568
d4ea44a0 13569 [BZ #14894]
9323d39b
EM
13570 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13571 __ppc_mdoio and __ppc_mdoom.
13572 * manual/platform.texi: Document new functions __ppc_yield,
13573 __ppc_mdoio and __ppc_mdoom.
13574
13e23af7
CD
135752013-05-22 Carlos O'Donell <carlos@redhat.com>
13576
13577 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13578 (main): Mention "tls" pseudo-hwcap is legacy.
13579 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13580
351fe550
JM
135812013-05-22 Joseph Myers <joseph@codesourcery.com>
13582
13583 * math/gen-libm-test.pl (parse_args): Output only string of
13584 arguments as text for test name, not full call or descriptions of
13585 tests for extra outputs.
13586 (generate_testfile): Do not pass function name to parse_args.
13587 Generate this_func variable from START.
13588 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13589 field to arg_str.
13590 (struct test_ff_f_data): Likewise.
13591 (test_ff_f_data_nexttoward): Likewise.
13592 (struct test_fi_f_data): Likewise.
13593 (struct test_fl_f_data): Likewise.
13594 (struct test_if_f_data): Likewise.
13595 (struct test_fff_f_data): Likewise.
13596 (struct test_c_f_data): Likewise.
13597 (struct test_f_f1_data): Likewise. Remove field extra_name.
13598 (struct test_fF_f1_data): Likewise.
13599 (struct test_ffI_f1_data): Likewise.
13600 (struct test_c_c_data): Rename test_name field to arg_str.
13601 (struct test_cc_c_data): Likewise.
13602 (struct test_f_i_data): Likewise.
13603 (struct test_ff_i_data): Likewise.
13604 (struct test_f_l_data): Likewise.
13605 (struct test_f_L_data): Likewise.
13606 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13607 and extra2_name.
13608 (COMMON_TEST_SETUP): New macro.
13609 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13610 (COMMON_TEST_CLEANUP): Likewise.
13611 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13612 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13613 macros.
13614 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13615 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13616 macros.
13617 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13618 (RUN_TEST_fff_f): Take argument string. Call new setup and
13619 cleanup macros.
13620 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13621 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13622 macros.
13623 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13624 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13625 macros.
13626 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13627 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13628 cleanup macros.
13629 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13630 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13631 cleanup macros.
13632 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13633 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13634 cleanup macros.
13635 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13636 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13637 macros.
13638 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13639 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13640 macros.
13641 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13642 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13643 macros.
13644 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13645 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13646 cleanup macros.
13647 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13648 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13649 cleanup macros.
13650 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13651 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13652 macros.
13653 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13654 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13655 cleanup macros.
13656 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13657 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13658 macros.
13659 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13660 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13661 macros.
13662 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13663 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13664 cleanup macros.
13665 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13666
85118d4d
EBM
136672013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13668
13669 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13670 to _sifields.sigfault.
13671 (si_addr_lsb): Define new macro.
13672 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13673 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13674 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13675
7a44c18f
CD
136762013-05-03 Carlos O'Donell <carlos at redhat.com>
13677
13678 [BZ #15441]
13679 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13680 returns -1.
13681 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13682 null return -1.
13683 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13684 loading the domain.
13685
b50a7181
JM
136862013-05-22 Joseph Myers <joseph@codesourcery.com>
13687
13688 * math/gen-libm-test.pl (parse_args): Do not include expected
13689 result in test name.
13690 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13691 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13692 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13693 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13694 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13696
051063c8
SP
136972013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13698
3ce9e010
SP
13699 * benchtests/Makefile: Sort function entries.
13700
051063c8
SP
13701 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13702 tanh, asinh, acosh, atanh.
13703 * benchtests/acos-inputs: New file.
13704 * benchtests/acosh-inputs: New file.
13705 * benchtests/asin-inputs: New file.
13706 * benchtests/asinh-inputs: New file.
13707 * benchtests/atanh-inputs: New file.
13708 * benchtests/cosh-inputs: New file.
13709 * benchtests/log-inputs: New file.
13710 * benchtests/sinh-inputs: New file.
13711 * benchtests/tanh-inputs: New file.
13712
47c22455
DL
137132013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13714
13715 [BZ #15339]
13716 * posix/tst-getaddrinfo4.c: New test.
13717 * posix/Makefile (tests): Add it.
13718
3d04f5db
SP
137192013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13720
13721 [BZ #15339]
13722 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13723 when no services were used.
13724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13725 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13726
d5dd6189
AS
137272013-05-21 Andreas Schwab <schwab@suse.de>
13728
13729 [BZ #15014]
13730 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13731 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13732 successful.
13733 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13734 redundant variable declarations and reallocation of buffer when
13735 parsing as IPv6 address. Always set NSS status when called from
13736 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13737 buffer too small. Correct computation of needed size.
13738 * nss/Makefile (tests): Add test-digits-dots.
13739 * nss/test-digits-dots.c: New test.
13740
fef94eab
SP
137412013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13742
13743 * benchtests/Makefile: Remove instructions for adding
13744 benchmark tests.
13745 * benchtests/README: New file to explain how to execute and
13746 enhance the benchmark tests.
13747
e39adf43
AS
137482013-05-21 Andreas Schwab <schwab@suse.de>
13749
13750 [BZ #15493]
13751 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13752 * setjmp/tst-sigsetjmp.c: New test.
13753
b2b671b6
OB
137542013-05-20 Ondřej Bílka <neleai@seznam.cz>
13755
13756 * sysdeps/x86_64/memset.S (memset): New implementation.
13757 (__bzero): Likewise.
13758 (__memset_tail): New function.
13759
2d48b41c
OB
137602013-05-20 Ondřej Bílka <neleai@seznam.cz>
13761
13762 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13763 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13764 __memcpy_sse2_unaligned ifunc selection.
13765 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13766 Add memcpy-sse2-unaligned.S.
13767 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13768 Add: __memcpy_sse2_unaligned.
13769
f16cc3eb
JM
137702013-05-19 Joseph Myers <joseph@codesourcery.com>
13771
3e694268
JM
13772 [BZ #15490]
13773 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13774 math_force_eval before restoring floating-point envrionment.
13775 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13776 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13777 Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13779 <math_private.h>.
13780 (__nearbyintl): Use math_force_eval before restoring
13781 floating-point environment.
13782 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13783
db62a907
JM
13784 * math/gen-libm-test.pl (special_functions): Remove.
13785 (parse_args): Don't handle TEST_extra. Handle functions with no
13786 return value.
13787 * math/libm-test.inc (struct test_sincos_data): Replace with
13788 struct test_fFF_11_data.
13789 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13790 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13791 (sincos_test_data): Change element type to struct
13792 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13793 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13794 RUN_TEST_LOOP_sincos.
13795 * math/README.libm-test: Don't mention special handling of
13796 individual functions.
13797 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13798 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13799 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13800 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13801 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13803
f16cc3eb
JM
13804 * math/gen-libm-test.pl (get_variable): Remove function.
13805 (parse_args): Don't show pointer parameters to call in test
13806 names. Use "extra output N" in test names for extra outputs
13807 rather than naming variables.
13808
3779b5b6
JM
138092013-05-18 Joseph Myers <joseph@codesourcery.com>
13810
2ee094ff
JM
13811 [BZ #15488]
13812 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13813 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13814 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13815 double tests.
13816 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13817 disable.
13818 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13819 check_long_double.
13820
3779b5b6
JM
13821 * math/gen-libm-test.pl (@tests): Remove variable.
13822 ($count): Likewise.
13823 (new_test): Remove function.
13824 (show_exceptions): New function.
13825 (special_functions): Use show_exceptions instead of new_test.
13826 (parse_args): Likewise.
13827 (generate_testfile): Pass only function name in generated call to
13828 print_max_error or print_complex_max_error.
13829 (get_ulps): Do not handle complex tests specially.
13830 (output_test): Rename to ...
13831 (get_all_ulps_for_test): ... this. Return a string rather than
13832 printing to a file. Require ulps to be present.
13833 (output_ulps): Generate arrays rather than #defines.
13834 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13835 (struct ulp_data): New type.
13836 (BUILD_COMPLEX_ULP): Remove macro.
13837 (compare_ulp_data): New function.
13838 (find_ulps): Likewise.
13839 (find_test_ulps): Likewise.
13840 (find_function_ulps): Likewise.
13841 (find_complex_function_ulps): Likewise.
13842 (print_max_error): Determine allowed ulps using
13843 find_function_ulps.
13844 (print_complex_max_error): Determine allowed ulps using
13845 find_complex_function_ulps.
13846 (check_float_internal): Determine max ulps using find_test_ulps.
13847 (check_float): Do not take max_ulp parameter. Update call to
13848 check_float_internal.
13849 (check_complex): Likewise.
13850 (check_int): Do not take max_ulp parameter.
13851 (check_long): Likewise.
13852 (check_bool): Likewise.
13853 (check_longlong): Likewise.
13854 (struct test_f_f_data): Remove max_ulp field.
13855 (struct test_ff_f_data): Likewise.
13856 (struct test_ff_f_data_nexttoward): Likewise.
13857 (struct test_fi_f_data): Likewise.
13858 (struct test_fl_f_data): Likewise.
13859 (struct test_if_f_data): Likewise.
13860 (struct test_fff_f_data): Likewise.
13861 (struct test_c_f_data): Likewise.
13862 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13863 (struct test_fF_f1_data): Likewise.
13864 (struct test_ffI_f1_data): Likewise.
13865 (struct test_c_c_data): Remove max_ulp field.
13866 (struct test_cc_c_data): Likewise.
13867 (struct test_f_i_data): Likewise.
13868 (struct test_ff_i_data): Likewise.
13869 (struct test_f_l_data): Likewise.
13870 (struct test_f_L_data): Likewise.
13871 (struct test_sincos_data): Likewise.
13872 (RUN_TEST_f_f): Do not handle ulps.
13873 (RUN_TEST_LOOP_f_f): Likewise.
13874 (RUN_TEST_2_f): Likewise.
13875 (RUN_TEST_LOOP_2_f): Likewise.
13876 (RUN_TEST_fff_f): Likewise.
13877 (RUN_TEST_LOOP_fff_f): Likewise.
13878 (RUN_TEST_c_f): Likewise.
13879 (RUN_TEST_LOOP_c_f): Likewise.
13880 (RUN_TEST_f_f1): Likewise.
13881 (RUN_TEST_LOOP_f_f1): Likewise.
13882 (RUN_TEST_fF_f1): Likewise.
13883 (RUN_TEST_LOOP_fF_f1): Likewise.
13884 (RUN_TEST_fI_f1): Likewise.
13885 (RUN_TEST_LOOP_fI_f1): Likewise.
13886 (RUN_TEST_ffI_f1): Likewise.
13887 (RUN_TEST_LOOP_ffI_f1): Likewise.
13888 (RUN_TEST_c_c): Likewise.
13889 (RUN_TEST_LOOP_c_c): Likewise.
13890 (RUN_TEST_cc_c): Likewise.
13891 (RUN_TEST_LOOP_cc_c): Likewise.
13892 (RUN_TEST_f_i): Likewise.
13893 (RUN_TEST_LOOP_f_i): Likewise.
13894 (RUN_TEST_f_i_tg): Likewise.
13895 (RUN_TEST_LOOP_f_i_tg): Likewise.
13896 (RUN_TEST_ff_i_tg): Likewise.
13897 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13898 (RUN_TEST_f_b): Likewise.
13899 (RUN_TEST_LOOP_f_b): Likewise.
13900 (RUN_TEST_f_b_tg): Likewise.
13901 (RUN_TEST_LOOP_f_b_tg): Likewise.
13902 (RUN_TEST_f_l): Likewise.
13903 (RUN_TEST_LOOP_f_l): Likewise.
13904 (RUN_TEST_f_L): Likewise.
13905 (RUN_TEST_LOOP_f_L): Likewise.
13906 (RUN_TEST_sincos): Likewise.
13907 (RUN_TEST_LOOP_sincos): Likewise.
13908
8269107f
JM
139092013-05-17 Joseph Myers <joseph@codesourcery.com>
13910
bb38759d
JM
13911 [BZ #15480]
13912 [BZ #15485]
13913 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13914 main case of finite arguments, set rounding mode to FE_TONEAREST
13915 and discard exceptions.
13916 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13917 exceptions.
13918 (remainder_tonearest_test_data): New variable.
13919 (remainder_test_tonearest): New function.
13920 (remainder_towardzero_test_data): New variable.
13921 (remainder_test_towardzero): New function.
13922 (remainder_downward_test_data): New variable.
13923 (remainder_test_downward): New function.
13924 (remainder_upward_test_data): New variable.
13925 (remainder_test_upward): New function.
13926 (main): Call the new test functions.
13927
a00bdcf0
JM
13928 * math/libm-test.inc (struct test_f_f1_data): Remove field
13929 extra_init.
13930 (struct test_fF_f1_data): Likewise.
13931 (struct test_ffI_f1_data): Likewise.
13932 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13933 based on value of EXTRA_EXPECTED.
13934 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13935 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13936 EXTRA_VAR based on value of EXTRA_EXPECTED.
13937 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13938 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13939 EXTRA_VAR based on value of EXTRA_EXPECTED.
13940 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13941 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13942 EXTRA_VAR based on value of EXTRA_EXPECTED.
13943 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13944 * math/gen-libm-test.pl (parse_args): Don't output initializers
13945 for extra output values.
13946
de407f79
JM
13947 * math/libm-test.inc (check_int): Expect result to be exactly
13948 equal to expected value and do not handle ulps.
13949 (check_long): Likewise.
13950 (check_longlong): Likewise.
13951
8269107f
JM
13952 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13953 exceptions.
13954 (cimag_test_data): Likewise.
13955 (conj_test_data): Likewise.
13956 (copysign_test_data): Likewise.
13957 (cproj_test_data): Likewise.
13958 (creal_test_data): Likewise.
13959 (fabs_test_data): Likewise.
13960 (fdim_test_data): Likewise.
13961 (finite_test_data): Likewise.
13962 (floor_test_data): Likewise.
13963 (fmax_test_data): Likewise.
13964 (fmin_test_data): Likewise.
13965 (fmod_test_data): Likewise.
13966 (fpclassify_test_data): Likewise.
13967 (frexp_test_data): Likewise.
13968 (ilogb_test_data): Likewise.
13969 (isfinite_test_data): Likewise.
13970 (isgreater_test_data): Likewise.
13971 (isgreaterequal_test_data): Likewise.
13972 (isinf_test_data): Likewise.
13973 (isless_test_data): Likewise.
13974 (islessequal_test_data): Likewise.
13975 (islessgreater_test_data): Likewise.
13976 (isnan_test_data): Likewise.
13977 (isnormal_test_data): Likewise.
13978 (issignaling_test_data): Likewise.
13979 (isunordered_test_data): Likewise.
13980 (ldexp_test_data): Likewise.
13981 (lrint_test_data): Likewise.
13982 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13983 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13984 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13985 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13986 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13987 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13988 test input.
13989 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13990 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13991 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13992 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13993 that test input.
13994 (lrint_downward_test_data): Test for "inexact" exceptions.
13995 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13996 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13997 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13998 test input.
13999 (lrint_upward_test_data): Test for "inexact" exceptions.
14000 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14001 test input.
14002 (llrint_test_data): Test for "inexact" exceptions.
14003 (llrint_test_data) [TEST_FLOAT]: Disable one test.
14004 (llrint_tonearest_test_data): Test for "inexact" exceptions.
14005 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14006 (llrint_towardzero_test_data): Test for "inexact" exceptions.
14007 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14008 (llrint_downward_test_data): Test for "inexact" exceptions.
14009 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14010 (llrint_upward_test_data): Test for "inexact" exceptions.
14011 (logb_test_data): Likewise.
14012 (logb_downward_test_data): Likewise.
14013 (nextafter_test_data): Likewise.
14014 (nexttoward_test_data): Likewise.
14015 (remainder_test_data): Likewise.
14016 (remquo_test_data): Likewise.
14017 (scalbn_test_data): Likewise.
14018 (scalbln_test_data): Likewise.
14019 (signbit_test_data): Likewise.
14020 (sqrt_test_data): Likewise.
14021 (significand_test_data): Likewise.
14022
48a18de1
SP
140232013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14024
14025 [BZ #15424]
14026 * benchtests/bench-modf.c (struct args): Mark arg0 as
14027 volatile.
14028 * scripts/bench.pl: Mark members of struct args as volatile.
14029
13d3b41a
AZ
140302013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14031
68191c1d 14032 [BZ # 15497]
13d3b41a
AZ
14033 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14034 negative infinity on POWER6 or lower.
14035 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14036
2848b105
MR
140372013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14038
14039 [BZ #15442]
14040 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14041 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14042 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14043 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14044 (_FP_SETQNAN): New macro.
14045 (_FP_SETQNAN_SEMIRAW): Likewise.
14046 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14047 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14048 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14049 (FP_EXTEND): Use _FP_FRAC_SNANP.
14050 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14051 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14052 into account.
14053 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14054 New macro.
14055 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
14056 Likewise.
14057
323e5cb7
JM
140582013-05-16 Joseph Myers <joseph@codesourcery.com>
14059
c58b274f
JM
14060 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
14061 with DIVIDE_BY_ZERO_EXCEPTION.
14062 (gamma_test_data): Likewise.
14063 (lgamma_test_data): Likewise.
14064 (log_test_data): Likewise.
14065 (log10_test_data): Likewise.
14066 (log2_test_data): Likewise.
14067 (tgamma_test_data): Likewise.
14068
0ab34904
JM
14069 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
14070 (acos_test_tonearest): Likewise.
14071 (acos_test_towardzero): Likewise.
14072 (acos_test_downward): Likewise.
14073 (acos_test_upward): Likewise.
14074 (acosh_test): Likewise.
14075 (asin_test): Likewise.
14076 (asin_test_tonearest): Likewise.
14077 (asin_test_towardzero): Likewise.
14078 (asin_test_downward): Likewise.
14079 (asin_test_upward): Likewise.
14080 (asinh_test): Likewise.
14081 (atan_test): Likewise.
14082 (atanh_test): Likewise.
14083 (atan2_test): Likewise.
14084 (cabs_test): Likewise.
14085 (cacos_test): Likewise.
14086 (cacosh_test): Likewise.
14087 (casin_test): Likewise.
14088 (casinh_test): Likewise.
14089 (catan_test): Likewise.
14090 (catanh_test): Likewise.
14091 (cbrt_test): Likewise.
14092 (ccos_test): Likewise.
14093 (ccosh_test): Likewise.
14094 (cexp_test): Likewise.
14095 (clog_test): Likewise.
14096 (clog10_test): Likewise.
14097 (cos_test): Likewise.
14098 (cos_test_tonearest): Likewise.
14099 (cos_test_towardzero): Likewise.
14100 (cos_test_downward): Likewise.
14101 (cos_test_upward): Likewise.
14102 (cosh_test): Likewise.
14103 (cosh_test_tonearest): Likewise.
14104 (cosh_test_towardzero): Likewise.
14105 (cosh_test_downward): Likewise.
14106 (cosh_test_upward): Likewise.
14107 (cpow_test): Likewise.
14108 (csin_test): Likewise.
14109 (csinh_test): Likewise.
14110 (csqrt_test): Likewise.
14111 (ctan_test): Likewise.
14112 (ctan_test_tonearest): Likewise.
14113 (ctan_test_towardzero): Likewise.
14114 (ctan_test_downward): Likewise.
14115 (ctan_test_upward): Likewise.
14116 (ctanh_test): Likewise.
14117 (ctanh_test_tonearest): Likewise.
14118 (ctanh_test_towardzero): Likewise.
14119 (ctanh_test_downward): Likewise.
14120 (ctanh_test_upward): Likewise.
14121 (erf_test): Likewise.
14122 (erfc_test): Likewise.
14123 (exp_test): Likewise.
14124 (exp_test_tonearest): Likewise.
14125 (exp_test_towardzero): Likewise.
14126 (exp_test_downward): Likewise.
14127 (exp_test_upward): Likewise.
14128 (exp10_test): Likewise.
14129 (exp2_test): Likewise.
14130 (expm1_test): Likewise.
14131 (fmod_test): Likewise.
14132 (gamma_test): Likewise.
14133 (hypot_test): Likewise.
14134 (j0_test): Likewise.
14135 (j1_test): Likewise.
14136 (jn_test): Likewise.
14137 (lgamma_test): Likewise.
14138 (log_test): Likewise.
14139 (log10_test): Likewise.
14140 (log1p_test): Likewise.
14141 (log2_test): Likewise.
14142 (logb_test_downward): Likewise.
14143 (pow_test): Likewise.
14144 (pow_test_tonearest): Likewise.
14145 (pow_test_towardzero): Likewise.
14146 (pow_test_downward): Likewise.
14147 (pow_test_upward): Likewise.
14148 (remainder_test): Likewise.
14149 (remquo_test): Likewise.
14150 (sin_test): Likewise.
14151 (sin_test_tonearest): Likewise.
14152 (sin_test_towardzero): Likewise.
14153 (sin_test_downward): Likewise.
14154 (sin_test_upward): Likewise.
14155 (sincos_test): Likewise.
14156 (sinh_test): Likewise.
14157 (sinh_test_tonearest): Likewise.
14158 (sinh_test_towardzero): Likewise.
14159 (sinh_test_downward): Likewise.
14160 (sinh_test_upward): Likewise.
14161 (sqrt_test): Likewise.
14162 (tan_test): Likewise.
14163 (tan_test_tonearest): Likewise.
14164 (tan_test_towardzero): Likewise.
14165 (tan_test_downward): Likewise.
14166 (tan_test_upward): Likewise.
14167 (tanh_test): Likewise.
14168 (tgamma_test): Likewise.
14169 (y0_test): Likewise.
14170 (y1_test): Likewise.
14171 (yn_test): Likewise.
14172
323e5cb7
JM
14173 * math/gen-libm-test.pl (adjust_arg): Remove function.
14174 (special_function): Remove argument $in_func. Only handle
14175 generating output for tables of tests, not inside functions.
14176 (parse_args): Likewise.
14177 (generate_testfile): Remove variable $in_func. Update call to
14178 parse_args.
14179 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14180 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14181 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14182 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14183 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14184 (MAX_VALUE_INIT): Rename macro to max_value.
14185 (MIN_VALUE_INIT): Rename macro to min_value.
14186 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14187 (plus_zero): Remove variable.
14188 (minus_zero): Likewise.
14189 (plus_infty): Likewise.
14190 (minus_infty): Likewise.
14191 (qnan_value): Likewise.
14192 (max_value): Likewise.
14193 (min_value): Likewise.
14194 (min_subnorm_value): Likewise.
14195
e054f494
RA
141962013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14197
14198 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14199 uint64_t or uint32_t usage.
14200 * crypt/sha256-block.c: Likewise.
14201 * crypt/sha256-crypt.c: Likewise.
14202 * crypt/sha256.c: Likewise.
14203 * crypt/sha512-block.c: Likewise.
14204 * crypt/sha512-crypt.c: Likewise.
14205 * crypt/sha512.c: Likewise.
14206 * debug/backtrace-tst.c: Likewise.
14207 * debug/pcprofiledump.c: Likewise.
14208 * elf/cache.c: Likewise.
14209 * elf/dl-cache.c: Likewise.
14210 * elf/dl-misc.c: Likewise.
14211 * elf/dl-profile.c: Likewise.
14212 * elf/dl-support.c: Likewise.
14213 * elf/ldconfig.c: Likewise.
14214 * elf/sprof.c: Likewise.
14215 * iconv/dummy-repertoire.c: Likewise.
14216 * iconv/iconv_charmap.c: Likewise.
14217 * iconv/skeleton.c: Likewise.
14218 * iconvdata/8bit-generic.c: Likewise.
14219 * iconvdata/cp737.h: Likewise.
14220 * iconvdata/cp775.h: Likewise.
14221 * iconvdata/ibm1008.h: Likewise.
14222 * iconvdata/ibm1025.h: Likewise.
14223 * iconvdata/ibm1046.h: Likewise.
14224 * iconvdata/ibm1097.h: Likewise.
14225 * iconvdata/ibm1112.h: Likewise.
14226 * iconvdata/ibm1122.h: Likewise.
14227 * iconvdata/ibm1123.h: Likewise.
14228 * iconvdata/ibm1124.h: Likewise.
14229 * iconvdata/ibm1129.h: Likewise.
14230 * iconvdata/ibm1130.h: Likewise.
14231 * iconvdata/ibm1132.h: Likewise.
14232 * iconvdata/ibm1133.h: Likewise.
14233 * iconvdata/ibm1137.h: Likewise.
14234 * iconvdata/ibm1140.h: Likewise.
14235 * iconvdata/ibm1141.h: Likewise.
14236 * iconvdata/ibm1142.h: Likewise.
14237 * iconvdata/ibm1143.h: Likewise.
14238 * iconvdata/ibm1144.h: Likewise.
14239 * iconvdata/ibm1145.h: Likewise.
14240 * iconvdata/ibm1146.h: Likewise.
14241 * iconvdata/ibm1147.h: Likewise.
14242 * iconvdata/ibm1148.h: Likewise.
14243 * iconvdata/ibm1149.h: Likewise.
14244 * iconvdata/ibm1153.h: Likewise.
14245 * iconvdata/ibm1154.h: Likewise.
14246 * iconvdata/ibm1155.h: Likewise.
14247 * iconvdata/ibm1156.h: Likewise.
14248 * iconvdata/ibm1157.h: Likewise.
14249 * iconvdata/ibm1158.h: Likewise.
14250 * iconvdata/ibm1160.h: Likewise.
14251 * iconvdata/ibm1161.h: Likewise.
14252 * iconvdata/ibm1162.h: Likewise.
14253 * iconvdata/ibm1163.h: Likewise.
14254 * iconvdata/ibm1164.h: Likewise.
14255 * iconvdata/ibm1166.h: Likewise.
14256 * iconvdata/ibm1167.h: Likewise.
14257 * iconvdata/ibm12712.h: Likewise.
14258 * iconvdata/ibm1390.h: Likewise.
14259 * iconvdata/ibm1399.h: Likewise.
14260 * iconvdata/ibm16804.h: Likewise.
14261 * iconvdata/ibm4517.h: Likewise.
14262 * iconvdata/ibm4899.h: Likewise.
14263 * iconvdata/ibm4909.h: Likewise.
14264 * iconvdata/ibm4971.h: Likewise.
14265 * iconvdata/ibm5347.h: Likewise.
14266 * iconvdata/ibm803.h: Likewise.
14267 * iconvdata/ibm856.h: Likewise.
14268 * iconvdata/ibm901.h: Likewise.
14269 * iconvdata/ibm902.h: Likewise.
14270 * iconvdata/ibm9030.h: Likewise.
14271 * iconvdata/ibm9066.h: Likewise.
14272 * iconvdata/ibm921.h: Likewise.
14273 * iconvdata/ibm922.h: Likewise.
14274 * iconvdata/ibm9448.h: Likewise.
14275 * iconvdata/isiri-3342.h: Likewise.
14276 * iconvdata/jis0201.h: Likewise.
14277 * include/link.h: Likewise.
14278 * include/netdb.h: Likewise.
14279 * inet/check_native.c: Likewise.
14280 * inet/check_pf.c: Likewise.
14281 * inet/getipv4sourcefilter.c: Likewise.
14282 * inet/getnameinfo.c: Likewise.
14283 * inet/getsourcefilter.c: Likewise.
14284 * inet/htonl.c: Likewise.
14285 * inet/setipv4sourcefilter.c: Likewise.
14286 * inet/setsourcefilter.c: Likewise.
14287 * inet/test-inet6_opt.c: Likewise.
14288 * inet/tst-network.c: Likewise.
14289 * locale/C-collate.c: Likewise.
14290 * locale/C-ctype.c: Likewise.
14291 * locale/C-time.c: Likewise.
14292 * locale/C-translit.h: Likewise.
14293 * locale/loadarchive.c: Likewise.
14294 * locale/programs/3level.h: Likewise.
14295 * locale/programs/charmap.c: Likewise.
14296 * locale/programs/charmap.h: Likewise.
14297 * locale/programs/ld-address.c: Likewise.
14298 * locale/programs/ld-collate.c: Likewise.
14299 * locale/programs/ld-ctype.c: Likewise.
14300 * locale/programs/ld-identification.c: Likewise.
14301 * locale/programs/ld-measurement.c: Likewise.
14302 * locale/programs/ld-messages.c: Likewise.
14303 * locale/programs/ld-monetary.c: Likewise.
14304 * locale/programs/ld-name.c: Likewise.
14305 * locale/programs/ld-numeric.c: Likewise.
14306 * locale/programs/ld-paper.c: Likewise.
14307 * locale/programs/ld-telephone.c: Likewise.
14308 * locale/programs/ld-time.c: Likewise.
14309 * locale/programs/linereader.c: Likewise.
14310 * locale/programs/locale.c: Likewise.
14311 * locale/programs/locarchive.c: Likewise.
14312 * locale/programs/locfile.h: Likewise.
14313 * locale/programs/repertoire.c: Likewise.
14314 * locale/programs/simple-hash.c: Likewise.
14315 * locale/programs/simple-hash.h: Likewise.
14316 * malloc/memusage.c: Likewise.
14317 * malloc/memusagestat.c: Likewise.
14318 * nis/nis_defaults.c: Likewise.
14319 * nis/nis_hash.c: Likewise.
14320 * nis/nis_print.c: Likewise.
14321 * nis/nis_xdr.c: Likewise.
14322 * nscd/connections.c: Likewise.
14323 * nscd/hstcache.c: Likewise.
14324 * nscd/nscd_gethst_r.c: Likewise.
14325 * nscd/nscd_getserv_r.c: Likewise.
14326 * nscd/nscd_helper.c: Likewise.
14327 * nscd/servicescache.c: Likewise.
14328 * nss/makedb.c: Likewise.
14329 * nss/nss_db/db-XXX.c: Likewise.
14330 * nss/nss_db/db-initgroups.c: Likewise.
14331 * nss/nss_db/db-netgrp.c: Likewise.
14332 * nss/nss_files/files-network.c: Likewise.
14333 * nss/nss_files/files-parse.c: Likewise.
14334 * posix/bug-regex5.c: Likewise.
14335 * posix/fnmatch_loop.c: Likewise.
14336 * posix/regcomp.c: Likewise.
14337 * posix/regexec.c: Likewise.
14338 * posix/tst-rfc3484-2.c: Likewise.
14339 * posix/tst-rfc3484-3.c: Likewise.
14340 * posix/tst-rfc3484.c: Likewise.
14341 * resolv/nss_dns/dns-canon.c: Likewise.
14342 * resolv/nss_dns/dns-network.c: Likewise.
14343 * resolv/res_init.c: Likewise.
14344 * resolv/res_mkquery.c: Likewise.
14345 * resolv/tst-aton.c: Likewise.
14346 * stdlib/cxa_atexit.c: Likewise.
14347 * stdlib/cxa_finalize.c: Likewise.
14348 * stdlib/gen-fpioconst.c: Likewise.
14349 * stdlib/strtol_l.c: Likewise.
14350 * string/tst-endian.c: Likewise.
14351 * sunrpc/auth_des.c: Likewise.
14352 * sunrpc/clnt_udp.c: Likewise.
14353 * sunrpc/rtime.c: Likewise.
14354 * sunrpc/svcauth_des.c: Likewise.
14355 * sunrpc/xdr.c: Likewise.
14356 * sunrpc/xdr_intXX_t.c: Likewise.
14357 * sunrpc/xdr_rec.c: Likewise.
14358 * sysdeps/generic/ldconfig.h: Likewise.
14359 * sysdeps/generic/ldsodefs.h: Likewise.
14360 * sysdeps/generic/memusage.h: Likewise.
14361 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14362 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14363 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14364 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14365 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14366 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14367 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14368 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14369 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14371 * sysdeps/posix/getaddrinfo.c: Likewise.
14372 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14373 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14374 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14375 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14376 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14377 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14378 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14379 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14380 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14381 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14382 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14383 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14384 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14385 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14386 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14387 * sysdeps/x86_64/dl-tls.h: Likewise.
14388 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14389 * time/alt_digit.c: Likewise.
14390 * time/era.c: Likewise.
14391 * wcsmbs/tst-c16c32-1.c: Likewise.
14392
8c75f674
JM
143932013-05-16 Joseph Myers <joseph@codesourcery.com>
14394
14395 * math/libm-test.inc (struct test_sincos_data): New type.
14396 (RUN_TEST_LOOP_sincos): New macro.
14397 (sincos_test_data): New variable.
14398 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14399
e6e49e59
RH
144002013-05-16 Richard Henderson <rth@redhat.com>
14401
14402 * math/atest-exp2.c (LIMB64): New macro.
14403 (CONSTSZ): New macro.
14404 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14405 (hexdig): Move ...
14406 (print_mpn_fp): ... to function scope.
14407 (read_mpn_hex): Remove.
14408 (get_log2): Remove.
14409 (exp2_mpn): Use mp_log2.
14410 (main): Use mp_exp1.
14411
15c7c18d
JM
144122013-05-16 Joseph Myers <joseph@codesourcery.com>
14413
105a07df
JM
14414 * math/libm-test.inc: Remove comment about not testing "inexact"
14415 exceptions.
14416 (INEXACT_EXCEPTION): New macro.
14417 (NO_INEXACT_EXCEPTION): Likewise.
14418 (INVALID_EXCEPTION_OK): Update value.
14419 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14420 (OVERFLOW_EXCEPTION_OK): Likewise.
14421 (UNDERFLOW_EXCEPTION_OK): Likewise.
14422 (IGNORE_ZERO_INF_SIGN): Likewise.
14423 (ERRNO_UNCHANGED): Likewise.
14424 (ERRNO_EDOM): Likewise.
14425 (ERRNO_ERANGE): Likewise.
14426 (test_exceptions): Handle testing "inexact" exceptions.
14427 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14428 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14429 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14430 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14431 INEXACT_EXCEPTION.
14432 (rint_towardzero_test_data): Likewise.
14433 (rint_downward_test_data): Likewise.
14434 (rint_upward_test_data): Likewise.
14435
e9eee333
JM
14436 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14437 with OVERFLOW_EXCEPTION.
14438 (exp10_test_data): Likewise.
14439 (exp2_test_data): Likewise.
14440 (expm1_test_data): Likewise.
14441 (lgamma_test_data): Likewise.
14442 (pow_test_data): Likewise.
14443 (tgamma_test_data): Likewise.
14444 (yn_test_data): Remove duplicate test of overflow.
14445
1c38ff73
JM
14446 * math/libm-test.inc (struct test_cc_c_data): New type.
14447 (RUN_TEST_LOOP_cc_c): New macro.
14448 (cpow_test_data): New variable.
14449 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14450
15c7c18d
JM
14451 * math/libm-test.inc (struct test_f_L_data): New type.
14452 (RUN_TEST_LOOP_f_L): New macro.
14453 (llrint_test_data): New variable.
14454 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14455 (llrint_tonearest_test_data): New variable.
14456 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14457 (llrint_towardzero_test_data): New variable.
14458 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14459 (llrint_downward_test_data): New variable.
14460 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14461 (llrint_upward_test_data): New variable.
14462 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14463 (llround_test_data): New variable.
14464 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14465
f137ff13
PC
144662013-05-13 Peter Collingbourne <pcc@google.com>
14467
14468 * math/atest-exp2.c (get_log2): Remove const attribute.
14469
3608cb24
JM
144702013-05-15 Joseph Myers <joseph@codesourcery.com>
14471
14472 * math/libm-test.inc (struct test_f_l_data): New type.
14473 (RUN_TEST_LOOP_f_l): New macro.
14474 (lrint_test_data): New variable.
14475 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14476 (lrint_tonearest_test_data): New variable.
14477 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14478 (lrint_towardzero_test_data): New variable.
14479 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14480 (lrint_downward_test_data): New variable.
14481 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14482 (lrint_upward_test_data): New variable.
14483 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14484 (lround_test_data): New variable.
14485 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14486
39b1f617
PC
144872013-05-15 Peter Collingbourne <pcc@google.com>
14488
1deff3dc
PC
14489 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14490 (EXTRACT_WORDS64) Use where appropriate.
14491 (INSERT_WORDS64) Likewise.
14492
791f3ba0
PC
14493 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14494 constraints with x constraints.
14495 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14496
39b1f617
PC
14497 * malloc/obstack.c (_obstack_compat): Add initializer.
14498
12fba011
EM
144992013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14500
14501 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14502 si_trapno and add si_addr_lsb to _sifields.sigfault.
14503 (si_trapno): Remove macro.
14504 (si_addr_lsb): Define new macro.
14505 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14506
d369f531
JM
145072013-05-15 Joseph Myers <joseph@codesourcery.com>
14508
b861c6c4
JM
14509 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14510 instead of TEST_f_l.
14511 (llrint_test_tonearest): Likewise.
14512 (llrint_test_towardzero): Likewise.
14513 (llrint_test_downward): Likewise.
14514 (llrint_test_upward): Likewise.
14515 (llround_test): Likewise.
14516
7abeee12
JM
14517 * math/libm-test.inc (struct test_f_i_data): Add comment.
14518 (RUN_TEST_LOOP_f_b): New macro.
14519 (RUN_TEST_LOOP_f_b_tg): Likewise.
14520 (finite_test_data): New variable.
14521 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14522 (isfinite_test_data): New variable.
14523 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14524 (isinf_test_data): New variable.
14525 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14526 (isnan_test_data): New variable.
14527 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14528 (isnormal_test_data): New variable.
14529 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14530 (issignaling_test_data): New variable.
14531 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14532 (signbit_test_data): New variable.
14533 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14534
cbe8c4d3
JM
14535 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14536 with INVALID_EXCEPTION.
14537 (acosh_test_data): Likewise.
14538 (asin_test_data): Likewise.
14539 (atanh_test_data): Likewise.
14540 (fmod_test_data): Likewise.
14541 (log_test_data): Likewise.
14542 (log10_test_data): Likewise.
14543 (log2_test_data): Likewise.
14544 (pow_test_data): Likewise.
14545 (sqrt_test_data): Likewise.
14546 (y0_test_data): Likewise.
14547 (y1_test_data): Likewise.
14548 (yn_test_data): Likewise.
14549
5575c0e5
JM
14550 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14551 function contents.
14552
d369f531
JM
14553 * math/libm-test.inc (struct test_ff_i_data): New type.
14554 (RUN_TEST_LOOP_ff_i_tg): New macro.
14555 (isgreater_test_data): New variable.
14556 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14557 (isgreaterequal_test_data): New variable.
14558 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14559 (isless_test_data): New variable.
14560 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14561 (islessequal_test_data): New variable.
14562 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14563 (islessgreater_test_data): New variable.
14564 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14565 (isunordered_test_data): New variable.
14566 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14567
781fd748
DM
145682013-05-14 David S. Miller <davem@davemloft.net>
14569
14570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14571
87aa21df
JM
145722013-05-14 Joseph Myers <joseph@codesourcery.com>
14573
5e908270
JM
14574 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14575
f71172e5
JM
14576 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14577 extra_test to int.
14578 (struct test_f_i_data): Change type of max_ulp to int.
14579
8cfa635a
JM
14580 * math/libm-test.inc (test_ffI_f1_data): New type.
14581 (RUN_TEST_LOOP_ffI_f1): New macro.
14582 (remquo_test_data): New variable.
14583 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14584
2bcb36b2
JM
14585 * setjmp/tst-setjmp-fp.c: New file.
14586 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14587 (link-libm): New variable.
14588 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14589
acbd839a
JM
14590 * math/libm-test.inc (struct test_f_i_data): New type.
14591 (RUN_TEST_LOOP_f_i): New macro.
14592 (RUN_TEST_LOOP_f_i_tg): Likewise.
14593 (fpclassify_test_data): New variable.
14594 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14595 (ilogb_test_data): New variable.
14596 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14597
e414d745
JM
14598 * math/libm-test.inc (scalbln_test): Correct function name in END
14599 call.
14600
d9c2a0fd
JM
14601 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14602 (RUN_TEST_LOOP_fI_f1): New macro.
14603 (frexp_test_data): New variable.
14604 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14605
9dc9095d
JM
14606 * math/libm-test.inc (struct test_fF_f1_data): New type.
14607 (RUN_TEST_LOOP_fF_f1): New macro.
14608 (modf_test_data): New variable.
14609 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14610
87aa21df
JM
14611 * math/libm-test.inc (struct test_f_f1_data): New type.
14612 (RUN_TEST_LOOP_f_f1): New macro.
14613 (gamma_test_data): New variable.
14614 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14615 (lgamma_test_data): New variable.
14616 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14617
141af660
CD
146182013-05-13 Carlos O'Donell <carlos@redhat.com>
14619
14620 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14621 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14622 (main): Comment "tls" pseudo-hwcap.
14623
6d33265c
JM
146242013-05-13 Joseph Myers <joseph@codesourcery.com>
14625
68fc074c
JM
14626 * math/libm-test.inc (struct test_fl_f_data): New type.
14627 (RUN_TEST_LOOP_fl_f): New variable.
14628 (scalbln_test_data): New variable.
14629 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14630
243216e1
JM
14631 * math/libm-test.inc (struct test_fi_f_data): New type.
14632 (RUN_TEST_LOOP_fi_f): New macro.
14633 (ldexp_test_data): New variable.
14634 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14635 (scalbn_test_data): New variable.
14636 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14637
6a1992e2
JM
14638 * math/libm-test.inc (struct test_c_f_data): New type.
14639 (RUN_TEST_LOOP_c_f): New macro.
14640 (cabs_test_data): New variable.
14641 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14642 (carg_test_data): New variable.
14643 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14644 (cimag_test_data): New variable.
14645 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14646 (creal_test_data): New variable.
14647 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14648
0e400df5
JM
14649 * math/libm-test.inc (struct test_if_f_data): New type.
14650 (RUN_TEST_LOOP_if_f): New macro.
14651 (jn_test_data): New variable.
14652 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14653 (yn_test_data): New variable.
14654 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14655
6d33265c
JM
14656 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14657
f98ece5f
AZ
146582013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14659
14660 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14661 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14662
0f7d347b
SP
146632013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14664
43fe811b
SP
14665 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14666 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14667 (bench-deps): Add bench-timing.h.
14668 * benchtests-bench-skeleton.c: Include bench-timing.h.
14669 (main): Use TIMING_* macros instead of clock_gettime.
14670 * benchtests/bench-timing.h: New file.
14671
0f7d347b
SP
14672 [BZ #14582]
14673 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14674 Renamed from _LIB_VERSION.
14675 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14676
601a3a5f
JM
146772013-05-12 Joseph Myers <joseph@codesourcery.com>
14678
4f184d30
JM
14679 * math/libm-test.inc (struct test_fff_f_data): New type.
14680 (RUN_TEST_LOOP_fff_f): New macro.
14681 (fma_test_data): New variable.
14682 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14683 (fma_towardzero_test_data): New variable.
14684 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14685 (fma_downward_test_data): New variable.
14686 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14687 (fma_upward_test_data): New variable.
14688 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14689
08198877
JM
14690 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14691 (struct test_c_c_data): New type.
14692 (RUN_TEST_LOOP_c_c): New macro.
14693 (cacos_test_data): New variable.
14694 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14695 (cacosh_test_data): New variable.
14696 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14697 (casin_test_data): New variable.
14698 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14699 (casinh_test_data): New variable.
14700 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14701 (catan_test_data): New variable.
14702 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14703 (catanh_test_data): New variable.
14704 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14705 (ccos_test_data): New variable.
14706 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14707 (ccosh_test_data): New variable.
14708 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14709 (cexp_test_data): New variable.
14710 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14711 (clog_test_data): New variable.
14712 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14713 (clog10_test_data): New variable.
14714 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14715 (conj_test_data): New variable.
14716 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14717 (cproj_test_data): New variable.
14718 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14719 (csin_test_data): New variable.
14720 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14721 (csinh_test_data): New variable.
14722 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14723 (csqrt_test_data): New variable.
14724 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14725 (ctan_test_data): New variable.
14726 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14727 (ctan_tonearest_test_data): New variable.
14728 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14729 (ctan_towardzero_test_data): New variable.
14730 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14731 (ctan_downward_test_data): New variable.
14732 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14733 (ctan_upward_test_data): New variable.
14734 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14735 (ctanh_test_data): New variable.
14736 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14737 (ctanh_tonearest_test_data): New variable.
14738 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14739 (ctanh_towardzero_test_data): New variable.
14740 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14741 (ctanh_downward_test_data): New variable.
14742 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14743 (ctanh_upward_test_data): New variable.
14744 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14745 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14746 of BUILD_COMPLEX.
14747
601a3a5f
JM
14748 * math/libm-test.inc (struct test_ff_f_data): New type.
14749 (struct test_ff_f_data_nexttoward): Likewise.
14750 (RUN_TEST_LOOP_2_f): New macro.
14751 (RUN_TEST_LOOP_ff_f): Likewise.
14752 (atan2_test_data): New variable.
14753 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14754 (copysign_test_data): New variable.
14755 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14756 (fdim_test_data): New variable.
14757 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14758 (fmax_test_data): New variable.
14759 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14760 (fmin_test_data): New variable.
14761 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14762 (fmod_test_data): New variable.
14763 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14764 (hypot_test_data): New variable.
14765 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14766 (nextafter_test_data): New variable.
14767 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14768 (nexttoward_test_data): New variable.
14769 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14770 (pow_test_data): New variable.
14771 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14772 (pow_tonearest_test_data): New variable.
14773 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14774 (pow_towardzero_test_data): New variable.
14775 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14776 (pow_downward_test_data): New variable.
14777 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14778 (pow_upward_test_data): New variable.
14779 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14780 (remainder_test_data): New variable.
14781 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14782 (scalb_test_data): New variable.
14783 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14784 * sysdeps/i386/fpu/libm-test-ulps: Update.
14785
74c57478
JM
147862013-05-11 Joseph Myers <joseph@codesourcery.com>
14787
8329e4da
JM
14788 * math/libm-test.inc (fma_test): Use max_value instead of local
14789 variable fltmax.
14790 (nextafter_test): Likewise.
14791
74c57478
JM
14792 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14793 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14794 (acos_downward_test_data): New variable.
14795 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14796 (acos_upward_test_data): New variable.
14797 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14798 (acosh_test_data): New variable.
14799 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14800 (asin_test_data): New variable.
14801 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14802 (asin_tonearest_test_data): New variable.
14803 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14804 (asin_towardzero_test_data): New variable.
14805 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14806 (asin_downward_test_data): New variable.
14807 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14808 (asin_upward_test_data): New variable.
14809 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14810 (asinh_test_data): New variable.
14811 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14812 (atan_test_data): New variable.
14813 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14814 (atanh_test_data): New variable.
14815 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14816 (cbrt_test_data): New variable.
14817 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14818 (ceil_test_data): New variable.
14819 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14820 (cos_test_data): New variable.
14821 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14822 (cos_tonearest_test_data): New variable.
14823 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14824 (cos_towardzero_test_data): New variable.
14825 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14826 (cos_downward_test_data): New variable.
14827 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14828 (cos_upward_test_data): New variable.
14829 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14830 (cosh_test_data): New variable.
14831 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14832 (cosh_tonearest_test_data): New variable.
14833 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14834 (cosh_towardzero_test_data): New variable.
14835 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14836 (cosh_downward_test_data): New variable.
14837 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14838 (cosh_upward_test_data): New variable.
14839 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14840 (erf_test_data): New variable.
14841 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14842 (erfc_test_data): New variable.
14843 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14844 (exp_test_data): New variable.
14845 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14846 (exp_tonearest_test_data): New variable.
14847 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14848 (exp_towardzero_test_data): New variable.
14849 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14850 (exp_downward_test_data): New variable.
14851 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14852 (exp_upward_test_data): New variable.
14853 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14854 (exp10_test_data): New variable.
14855 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14856 (exp2_test_data): New variable.
14857 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14858 (expm1_test_data): New variable.
14859 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14860 (fabs_test_data): New variable.
14861 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14862 (floor_test_data): New variable.
14863 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14864 (j0_test_data): New variable.
14865 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14866 (j1_test_data): New variable.
14867 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14868 (log_test_data): New variable.
14869 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14870 (log10_test_data): New variable.
14871 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14872 (log1p_test_data): New variable.
14873 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14874 (log2_test_data): New variable.
14875 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14876 (logb_test_data): New variable.
14877 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14878 (logb_downward_test_data): New variable.
14879 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14880 (nearbyint_test_data): New variable.
14881 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14882 (rint_test_data): New variable.
14883 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14884 (rint_tonearest_test_data): New variable.
14885 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14886 (rint_towardzero_test_data): New variable.
14887 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14888 (rint_downward_test_data): New variable.
14889 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14890 (rint_upward_test_data): New variable.
14891 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14892 (round_test_data): New variable.
14893 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14894 (sin_test_data): New variable.
14895 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14896 (sin_tonearest_test_data): New variable.
14897 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14898 (sin_towardzero_test_data): New variable.
14899 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14900 (sin_downward_test_data): New variable.
14901 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14902 (sin_upward_test_data): New variable.
14903 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14904 (sinh_test_data): New variable.
14905 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14906 (sinh_tonearest_test_data): New variable.
14907 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14908 (sinh_towardzero_test_data): New variable.
14909 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14910 (sinh_downward_test_data): New variable.
14911 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14912 (sinh_upward_test_data): New variable.
14913 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14914 (sqrt_test_data): New variable.
14915 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14916 (tan_test_data): New variable.
14917 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14918 (tan_tonearest_test_data): New variable.
14919 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14920 (tan_towardzero_test_data): New variable.
14921 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14922 (tan_downward_test_data): New variable.
14923 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14924 (tan_upward_test_data): New variable.
14925 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14926 (tanh_test_data): New variable.
14927 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14928 (tgamma_test_data): New variable.
14929 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14930 (trunc_test_data): New variable.
14931 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14932 (y0_test_data): New variable.
14933 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14934 (y1_test_data): New variable.
14935 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14936 (significand_test_data): New variable.
14937 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14938
7187d844
CG
149392013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14940
14941 [BZ #12387]
14942 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14943
f63fae73
PT
149442013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14945
14946 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14947
8a67a4b3
AJ
149482013-05-10 Andreas Jaeger <aj@suse.de>
14949
14950 [BZ #15448]
14951 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14952 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14953
51df539d
JM
149542013-05-10 Joseph Myers <joseph@codesourcery.com>
14955
14956 * math/gen-libm-test.pl (adjust_arg): New function.
14957 (special_functions): Handle generating output in both functions
14958 and arrays.
14959 (parse_args): Likewise.
14960 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14961 $in_func argument to parse_args.
14962 * math/libm-test.inc (struct test_f_f_data): New type.
14963 (IF_ROUND_INIT_): New macro.
14964 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14965 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14966 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14967 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14968 (ROUND_RESTORE_): Likewise.
14969 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14970 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14971 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14972 (ROUND_RESTORE_FE_UPWARD): Likewise.
14973 (RUN_TEST_LOOP_f_f): New macro.
14974 (acos_test_data): New variable.
14975 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14976 (acos_tonearest_test_data): New variable.
14977 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14978
5c637fe5
SP
149792013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14980
14981 * benchtests/bench-skeleton.c (startup): Fix coding style.
14982
ab2b9461
JM
149832013-05-10 Joseph Myers <joseph@codesourcery.com>
14984
14985 [BZ #6809]
14986 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14987 negative infinity argument.
14988 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14989 negative infinity argument.
14990 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14991 negative infinity argument.
14992 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14993 domain errors.
14994
4c0fe6fe
FW
149952013-05-10 Florian Weimer <fweimer@redhat.com>
14996
14997 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14998 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14999 * iconv/iconv_prog.c (main): Likewise.
15000 * locale/programs/charmap-dir.c (charmap_readdir)
15001 (fopen_uncompressed): Likewise.
15002 * locale/programs/locfile.c (siblings_uncached)
15003 (write_locale_data): Use lstat64 instead of lstat.
15004 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15005 stat.
15006
a3375d29
AJ
150072013-05-10 Andreas Jaeger <aj@suse.de>
15008
15009 [BZ #15395]
15010 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15011 localization.
15012 Include <locale.h>.
15013
36129722
CD
150142013-05-09 Carlos O'Donell <carlos@redhat.com>
15015
15016 * elf/dl-close.c (_dl_close_worker): Add comments.
15017
faa7f811
JM
150182013-05-09 Joseph Myers <joseph@codesourcery.com>
15019
ed41ffef
JM
15020 [BZ #15359]
15021 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15022 high part of pi/2.
15023 (__ieee754_rem_pio2l): Update comments.
15024
d0213cd0
JM
15025 [BZ #15429]
15026 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15027 high part of pi/2.
15028 (__ieee754_rem_pio2l): Update comments.
15029
0d3e777a
JM
15030 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15031 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15032
24f56066
JM
15033 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15034 M_PI_4l.
15035
faa7f811
JM
15036 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15037 (M_PI_34_LOG10El): Likewise.
15038 (M_PI2_LOG10El): Likewise.
15039 (M_PI4_LOG10El): Likewise.
15040 (M_PI_LOG10El): Likewise.
15041
e9a5e0fd
AZ
150422013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15043
15044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15045
d8cd06db
JM
150462013-05-08 Joseph Myers <joseph@codesourcery.com>
15047
a0d9f9d7
JM
15048 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15049 (MINUS_ZERO_INIT): Likewise.
15050 (PLUS_INFTY_INIT): Likewise.
15051 (MINUS_INFTY_INIT): Likewise.
15052 (QNAN_VALUE_INIT): Likewise.
15053 (MAX_VALUE_INIT): Likewise.
15054 (MIN_VALUE_INIT): Likewise.
15055 (MIN_SUBNORM_VALUE_INIT): Likewise.
15056 (plus_zero): Initialize with PLUS_ZERO_INIT.
15057 (minus_zero): Initialize with MINUS_ZERO_INIT.
15058 (plus_infty): Initialize with PLUS_INFTY_INIT.
15059 (minus_infty): Initialize with MINUS_INFTY_INIT.
15060 (qnan_value): Initialize with QNAN_VALUE_INIT.
15061 (max_value): Initialize with MAX_VALUE_INIT.
15062 (min_value): Initialize with MIN_VALUE_INIT.
15063 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
15064
ae08db3b
JM
15065 * math/libm-test.inc (RUN_TEST_if_f): New macro.
15066 (jn_test): Use TEST_if_f instead of TEST_ff_f.
15067 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
15068 (yn_test): Use TEST_if_f instead of TEST_ff_f.
15069
f44bf14a
JM
15070 * math/libm-test.inc (RUN_TEST_f_f): New macro.
15071 (RUN_TEST_2_f): Likewise.
15072 (RUN_TEST_ff_f): Likewise.
15073 (RUN_TEST_fi_f): Likewise.
15074 (RUN_TEST_fl_f): Likewise.
15075 (RUN_TEST_fff_f): Likewise.
15076 (RUN_TEST_c_f): Likewise.
15077 (RUN_TEST_f_f1): Likewise.
15078 (RUN_TEST_fF_f1): Likewise.
15079 (RUN_TEST_fI_f1): Likewise.
15080 (RUN_TEST_ffI_f1): Likewise.
15081 (RUN_TEST_c_c): Likewise.
15082 (RUN_TEST_cc_c): Likewise.
15083 (RUN_TEST_f_i): Likewise.
15084 (RUN_TEST_f_i_tg): Likewise.
15085 (RUN_TEST_ff_i_tg): Likewise.
15086 (RUN_TEST_f_b): Likewise.
15087 (RUN_TEST_f_b_tg): Likewise.
15088 (RUN_TEST_f_l): Likewise.
15089 (RUN_TEST_f_L): Likewise.
15090 (RUN_TEST_sincos): Likewise.
15091 * math/gen-libm-test.pl (new_test): Take new argument to indicate
15092 whether to show exceptions. Do not include ");\n" in return
15093 value.
15094 (special_functions): Output call to RUN_TEST_sincos instead of
15095 check_float calls. Update calls to new_test.
15096 (parse_args): Output call to single RUN_TEST_* macro instead of
15097 check_* calls and other assignments. Update calls to new_test.
15098
d8cd06db
JM
15099 [BZ #2546]
15100 [BZ #2560]
15101 [BZ #5159]
15102 [BZ #15426]
15103 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
15104 input to result for tgamma overflow.
15105 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
15106 (gamma_coeff): New variable.
15107 (NCOEFF): New macro.
15108 (gamma_positive): New function.
15109 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
15110 underflow here. Use gamma_positive instead of exp (lgamma) for
15111 other arguments.
15112 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
15113 (gamma_coeff): New variable.
15114 (NCOEFF): New macro.
15115 (gammaf_positive): New function.
15116 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
15117 underflow here. Use gamma_positive instead of exp (lgamma) for
15118 other arguments.
15119 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
15120 (gamma_coeff): New variable.
15121 (NCOEFF): New macro.
15122 (gammal_positive): New function.
15123 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
15124 underflow here. Use gamma_positive instead of exp (lgamma) for
15125 other arguments.
15126 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
15127 (gamma_coeff): New variable.
15128 (NCOEFF): New macro.
15129 (gammal_positive): New function.
15130 (__ieee754_gammal_r): Handle positive infinity, overflow and
15131 underflow here. Handle NaN the same as positive infinity. Remove
15132 check x < 0xffffffff for negative integers. Use gamma_positive
15133 instead of exp (lgamma) for other arguments.
15134 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
15135 (gamma_coeff): New variable.
15136 (NCOEFF): New macro.
15137 (gammal_positive): New function.
15138 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
15139 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
15140 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
15141 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
15142 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15143 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
15144 * sysdeps/generic/math_private.h (__gamma_productf): New
15145 prototype.
15146 (__gamma_product): Likewise.
15147 (__gamma_productl): Likewise.
15148 * math/Makefile (libm-calls): Add gamma_product.
15149 * math/libm-test.inc (tgamma_test): Add more tests.
15150 * sysdeps/i386/fpu/libm-test-ulps: Update.
15151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15152
bb7cf681
OB
151532013-05-08 Ondřej Bílka <neleai@seznam.cz>
15154
15155 * benchtests/bench-skeleton.c (main): Preheat CPU.
15156
ba853947
AJ
151572013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15158
15159 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15160
8347c74c
RM
151612013-05-07 Roland McGrath <roland@hack.frob.com>
15162
15163 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15164 and _dl_skip_args_internal.
15165
e8dd4791
CD
151662013-05-07 Carlos O'Donell <carlos@redhat.com>
15167
15168 * manual/message.texi (Message Translation): Talk about users.
15169 Message to key mapping impacts design.
15170
c7405830
RM
151712013-05-06 Roland McGrath <roland@hack.frob.com>
15172
a9173057
RM
15173 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15174
976e2f03
RM
15175 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15176
9723ffc5
RM
15177 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15178 * sysdeps/wordsize-64/glob64.c: ... here.
15179
962e6658
RM
15180 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15181 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15182 New macros.
15183
ee586a6d
RM
15184 * debug/getlogin_r_chk.c: Moved to ...
15185 * login/getlogin_r_chk.c: ... here.
15186 * debug/Makefile (routines): Move getlogin_r_chk to ...
15187 * login/Makefile (routines): ... here.
15188 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15189 * login/Versions (libc: GLIBC_2.4): ... here.
15190
355f9165
RM
15191 * io/poll.c (__poll): Renamed from poll.
15192 Add libc_hidden_def.
15193 (poll): Define as weak alias.
15194
bd9ffde6
RM
15195 * debug/ptsname_r_chk.c: Moved to ...
15196 * login/ptsname_r_chk.c: ... here.
15197 * debug/Makefile (routines): Move ptsname_r_chk to ...
15198 * login/Makefile (routines): ... here.
15199 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15200 * login/Versions (libc: GLIBC_2.4): ... here.
15201
8fb16a04
RM
15202 * posix/getlogin.c: Moved to ...
15203 * login/getlogin.c: ... here.
15204 * posix/getlogin_r.c: Moved to ...
15205 * login/getlogin_r.c: ... here.
15206 * posix/getlogin_r.c: Moved to ...
15207 * login/getlogin_r.c: ... here.
15208 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15209 * login/Makefile (routines): ... here.
15210 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15211 * login/Versions (libc: GLIBC_2.0): ... here.
15212
b99b892f
RM
15213 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15214 (setrlimit): Define as weak alias.
15215
c7405830
RM
15216 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15217 Call __ names for open, ftruncate, and close.
15218 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15219 (truncate): Define as weak alias.
15220
5bf96de5
JM
152212013-05-06 Joseph Myers <joseph@codesourcery.com>
15222
9ea3513c
JM
15223 * math/gen-libm-test.pl (parse_args): Initialize x before each
15224 test of frexp, modf and remquo.
15225
5bf96de5
JM
15226 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15227 test signgam value.
15228
16e616a7
AZ
152292013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15230
15231 [BZ #15418]
15232 [BZ #15419]
15233 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15234 internal tests.
15235 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15236
d5e82754
RM
152372013-05-06 Roland McGrath <roland@hack.frob.com>
15238
15239 * elf/dl-writev.h: New file.
15240 * elf/dl-misc.c: Include it.
15241 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15242 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15243
a7548d41
JM
152442013-05-04 Joseph Myers <joseph@codesourcery.com>
15245
b7dab1e4
JM
15246 * math/libm-test.inc (noXFails): Remove variable.
15247 (noXPasses): Likewise.
15248 (BUILD_COMPLEX_INT): Remove macro.
15249 (print_screen): Remove xfail argument.
15250 (print_screen_max_error): Likewise.
15251 (update_stats): Likewise.
15252 (print_max_error): Likewise. Update calls to other affected
15253 functions.
15254 (print_complex_max_error): Likewise.
15255 (test_single_exception): Update calls to print_screen.
15256 (test_single_errno): Likewise.
15257 (check_float_internal): Remove xfail argument. Update calls to
15258 other affected functions.
15259 (check_float): Likewise.
15260 (check_complex): Likewise.
15261 (check_int): Likewise.
15262 (check_long): Likewise.
15263 (check_bool): Likewise.
15264 (check_longlong): Likewise.
15265 (main): Don't print noXFails and noXPasses.
15266 * math/gen-libm-test.pl (top level): Don't mention expected
15267 failure handling in comment.
15268 (new_test): Don't handle expected failures.
15269 (parse_args): Don't mention expected failure handling in comment.
15270 (generate_testfile): Don't handle expected failures.
15271 (parse_ulps): Likewise.
15272 (print_ulps_file): Likewise.
15273 (get_failure): Remove function.
15274 (output_test): Don't handle expected failures.
15275 * make/README.libm-test: Don't mention expected failure handling.
15276
a7548d41
JM
15277 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15278 (minus_zero): Likewise.
15279 (plus_infty): Likewise.
15280 (minus_infty): Likewise.
15281 (qnan_value): Likewise.
15282 (max_value): Likewise.
15283 (min_value): Likewise.
15284 (min_subnorm_value): Likewise.
15285 (initialize): Do not initialize those variables dynamically.
15286
60bfd54c
RM
152872013-05-03 Roland McGrath <roland@hack.frob.com>
15288
cc0e6ed8
RM
15289 * io/open.c (__open_2): Moved to ...
15290 * io/open_2.c: ... this new file.
15291 * io/open64.c (__open64_2): Moved to ...
15292 * io/open64_2.c: ... this new file.
15293 * io/openat.c (__openat_2): Moved to ...
15294 * io/openat_2.c: ... this new file.
15295 * io/openat64.c (__openat64_2): Moved to ...
15296 * io/openat64_2.c: ... this new file.
15297 * io/Makefile (routines): Add them.
15298 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15299 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15300 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15301 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15302 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15303 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15304 (__openat64): Add hidden_ver.
15305 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15306 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15307
60bfd54c
RM
15308 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15309 Separately conditionalize setting of GLRO(dl_sysinfo) so
15310 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15311 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15312
83e7640f
AZ
153132013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15314
15315 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15316 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15317 definition.
15318 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15319 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15320 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15321 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15322 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15323
d5dc2af3
JM
153242013-05-03 Joseph Myers <joseph@codesourcery.com>
15325
c31a5b1e
JM
15326 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15327 test signgam value.
15328
d5dc2af3
JM
15329 * math/libm-test.inc (hypot_test): Do not use
15330 IGNORE_ZERO_INF_SIGN.
15331
164fd39d
AJ
153322013-05-03 Andreas Jaeger <aj@suse.de>
15333
15334 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15335 Linux 3.9.
15336 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15337 (PF_MAX): Adjust for VSOCK change.
15338
8237f48c
AZ
153392013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15340
15341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15342
9df02941
CD
153432013-05-02 Carlos O'Donell <carlos@redhat.com>
15344
15345 [BZ #15264]
15346 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15347 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15348 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15349
d422395e
DM
153502013-05-02 David S. Miller <davem@davemloft.net>
15351
15352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15353
a07c5731
OB
153542013-05-01 Ondřej Bílka <neleai@seznam.cz>
15355
15356 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15357
1324e37f
RM
153582013-05-01 Roland McGrath <roland@hack.frob.com>
15359
15360 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15361
0695940b
RS
153622013-05-01 Richard Smith <richard@metafoo.co.uk>
15363
bb5f27ad 15364 [BZ #14952]
0695940b
RS
15365 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15366 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15367 Use __attribute__ ((__gnu_inline__)).
15368 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15369 Don't use __attribute__ ((__gnu_inline__)).
15370
10de07f5
JM
153712013-05-01 Joseph Myers <joseph@codesourcery.com>
15372
15373 [BZ #15423]
15374 * math/s_catan.c (__catan): Handle small real or imaginary part of
15375 input specially to avoid spurious underflow.
15376 * math/s_catanf.c (__catanf): Likewise.
15377 * math/s_catanh.c (__catanh): Likewise.
15378 * math/s_catanhf.c (__catanhf): Likewise.
15379 * math/s_catanhl.c (__catanhl): Likewise.
15380 * math/s_catanl.c (__catanl): Likewise.
15381 * math/libm-test.inc (catan_test): Add more tests.
15382 (catanh_test): Likewise.
15383 * sysdeps/i386/fpu/libm-test-ulps: Update.
15384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15385
cb4d5414
AZ
153862013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15387
15388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15389
caf84319
JM
153902013-04-30 Joseph Myers <joseph@codesourcery.com>
15391
15392 [BZ #15416]
15393 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15394 accurately for denominator in atan2.
15395 * math/s_catanf.c (__catanf): Likewise.
15396 * math/s_catanh.c (__catanh): Likewise.
15397 * math/s_catanhf.c (__catanhf): Likewise.
15398 * math/s_catanhl.c (__catanhl): Likewise.
15399 * math/s_catanl.c (__catanl): Likewise.
15400 * math/libm-test.inc (catan_test): Add more tests.
15401 (catanh_test): Likewise.
15402 * sysdeps/i386/fpu/libm-test-ulps: Update.
15403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15404
d569c6ee
SP
154052013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15406
6dbe713d
SP
15407 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15408
f0ee064b
SP
15409 * benchtests/Makefile (bench): Remove slow benchmarks.
15410 * benchtests/atan-inputs: Add slow benchmark inputs.
15411 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15412 (BENCH_FUNC): Accept variant offset.
15413 (VARIANT): Define.
15414 * benchtests/bench-skeleton.c (main): Run benchmark for each
15415 variant.
15416 * benchtests/cos-inputs: Add slow benchmark inputs.
15417 * benchtests/exp-inputs: Likewise.
15418 * benchtests/pow-inputs: Likewise.
15419 * benchtests/sin-inputs: Likewise.
15420 * benchtests/slowatan-inputs: Remove.
15421 * benchtests/slowatan.c: Remove.
15422 * benchtests/slowcos-inputs: Remove.
15423 * benchtests/slowcos.c: Remove.
15424 * benchtests/slowexp-inputs: Remove.
15425 * benchtests/slowexp.c: Remove.
15426 * benchtests/slowpow-inputs: Remove.
15427 * benchtests/slowpow.c: Remove.
15428 * benchtests/slowsin-inputs: Remove.
15429 * benchtests/slowsin.c: Remove.
15430 * benchtests/slowtan-inputs: Remove.
15431 * benchtests/slowtan.c: Remove.
15432 * benchtests/tan-inputs: Add slow benchmark inputs.
15433 * scripts/bench.pl: Parse comments and directives.
15434
d569c6ee
SP
15435 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15436 in CPPFLAGS.
15437 ($(objpfx)bench-%.c): Remove *-ITER.
15438 * benchtests/bench-modf.c: Remove definition of ITER.
15439 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15440 (main): Loop for DURATION seconds instead of fixed number of
15441 iterations.
15442 * scripts/bench.pl: Don't expect iterations in parameters.
15443
a6a242fe
RM
154442013-04-29 Roland McGrath <roland@hack.frob.com>
15445
15446 * io/fchdir.c (__fchdir): Renamed from fchdir.
15447 (fchdir): Define as weak alias.
15448
f2da7793
JM
154492013-04-29 Joseph Myers <joseph@codesourcery.com>
15450
15451 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15452 (ERRNO_EDOM): Likewise.
15453 (ERRNO_ERANGE): Likewise.
15454 (noErrnoTests): New variable.
15455 (init_max_error): Set errno to 0.
15456 (test_single_errno): New function.
15457 (test_errno): Likewise.
15458 (check_float_internal): Call test_errno. Set errno to 0.
15459 (check_complex): Refer to errno tests in comment.
15460 (check_int): Call test_errno. Set errno to 0.
15461 (check_long): Likewise.
15462 (check_bool): Likewise.
15463 (check_longlong): Likewise.
15464 (cos_test): Use ERRNO_* flags for errno tests instead of
15465 check_int.
15466 (expm1_test): Likewise.
15467 (fmod_test): Likewise.
15468 (ilogb_test): Likewise.
15469 (lgamma_test): Likewise.
15470 (pow_test): Likewise.
15471 (remainder_test): Likewise.
15472 (sin_test): Likewise.
15473 (tan_test): Likewise.
15474 (yn_test): Likewise.
15475 (initialize): Set errno to 0.
15476 (main): Print number of errno tests.
15477 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15478
b1a36ceb
AJ
154792013-04-29 Andreas Jaeger <aj@suse.de>
15480
c3ed8088
AJ
15481 [BZ #15084]
15482 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15483 and RES_USEVC.
15484
f1a24198
AJ
15485 [BZ #15085]
15486 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15487 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15488 unimplemented.
15489
9ce3b2cb
AJ
15490 [BZ #15380]
15491 * stdlib/random.c (__initstate): Return NULL if
15492 __initstate fails.
15493
f1a24198 15494 [BZ #15086]
b1a36ceb
AJ
15495 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15496 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15497 RES_SNGLKUPREOP.
15498
7e7b6f36
AZ
154992013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15500
15501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15502
4d14f449
JM
155032013-04-29 Joseph Myers <joseph@codesourcery.com>
15504
15505 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15506 of individual tests.
15507 (casin_test): Likewise.
15508 (casinh_test): Likewise.
15509
5b4217d7
JM
155102013-04-27 Joseph Myers <joseph@codesourcery.com>
15511
15512 [BZ #15409]
15513 * math/s_catan.c (__catan): Handle arguments with large real or
15514 imaginary part separately without squaring.
15515 * math/s_catanf.c (__catanf): Likewise.
15516 * math/s_catanh.c (__catanh): Likewise.
15517 * math/s_catanhf.c (__catanhf): Likewise.
15518 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15519 and redefine.
15520 (__catanhl): Handle arguments with large real or imaginary part
15521 separately without squaring.
15522 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15523 and redefine.
15524 (__catanl): Handle arguments with large real or imaginary part
15525 separately without squaring.
15526 * math/libm-test.inc (catan_test): Add more tests.
15527 (catanh_test): Likewise.
15528 * sysdeps/i386/fpu/libm-test-ulps: Update.
15529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15530
4220c3ef
AJ
155312013-04-27 Andreas Jaeger <aj@suse.de>
15532
15533 [BZ #15007]
15534 * stdlib/stdlib.h: Update guards for qecvt.
15535 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15536 <stdlib.h>.
15537
4721b2d1
AM
155382013-04-27 Allan McRae <allan@archlinux.org>
15539
15540 * sysdeps/i386/fpu/libm-test-ulps: Update.
15541
f0302940
JM
155422013-04-26 Joseph Myers <joseph@codesourcery.com>
15543
9457fd95
JM
15544 [BZ #15406]
15545 * math/s_catan.c: Include <float.h>.
15546 (__catan): Ensure underflow exception occurs for underflowed
15547 result.
15548 * math/s_catanf.c: Include <float.h>.
15549 (__catanf): Ensure underflow exception occurs for underflowed
15550 result.
15551 * math/s_catanh.c: Include <float.h>.
15552 (__catanh): Ensure underflow exception occurs for underflowed
15553 result.
15554 * math/s_catanhf.c: Include <float.h>.
15555 (__catanhf): Ensure underflow exception occurs for underflowed
15556 result.
15557 * math/s_catanhl.c: Include <float.h>.
15558 (__catanhl): Ensure underflow exception occurs for underflowed
15559 result.
15560 * math/s_catanl.c: Include <float.h>.
15561 (__catanl): Ensure underflow exception occurs for underflowed
15562 result.
15563 * math/libm-test.inc (catan_test): Add more tests.
15564 (catanh_test): Likewise.
15565
f0302940
JM
15566 [BZ #15405]
15567 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15568 underflowed result.
15569 * math/s_ccoshf.c (__ccoshf): Likewise.
15570 * math/s_ccoshl.c (__ccoshl): Likewise.
15571 * math/s_csin.c (__csin): Likewise.
15572 * math/s_csinf.c (__csinf): Likewise.
15573 * math/s_csinh.c (__csinh): Likewise.
15574 * math/s_csinhf.c (__csinhf): Likewise.
15575 * math/s_csinhl.c (__csinhl): Likewise.
15576 * math/s_csinl.c (__csinl): Likewise.
15577 * math/libm-test.inc (ccos_test): Add more tests.
15578 (ccosh_test): Likewise.
15579 (csin_test): Likewise.
15580 (csinh_test): Likewise.
15581
aa630f59
AZ
155822013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15583
15584 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15585 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15586 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15587 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15588 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15589 powerpc/power5+/fpu folders.
15590 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15591
15592
1b835983
MT
155932013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15594
15595 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15596
73709b26
JM
155972013-04-25 Joseph Myers <joseph@codesourcery.com>
15598
15599 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15600 additions to variable.
15601 [$(config-machine) = x86_64] (modules-names): Likewise.
15602 ($(objpfx)tst-audit3): Remove dependency.
15603 ($(objpfx)tst-audit3.out): Likewise.
15604 ($(objpfx)tst-audit4): Likewise.
15605 ($(objpfx)tst-audit4.out): Likewise.
15606 ($(objpfx)tst-audit5): Likewise.
15607 ($(objpfx)tst-audit5.out): Likewise.
15608 ($(objpfx)tst-audit6): Likewise.
15609 ($(objpfx)tst-audit6.out): Likewise.
15610 ($(objpfx)tst-audit7): Likewise.
15611 ($(objpfx)tst-audit7.out): Likewise.
15612 (tst-audit3-ENV): Remove variable.
15613 (tst-audit4-ENV): Likewise.
15614 (tst-audit5-ENV): Likewise.
15615 (tst-audit6-ENV): Likewise.
15616 (tst-audit7-ENV): Likewise.
15617 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15618 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15619 addition to variable.
15620 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15621 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15622 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15623 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15624 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15625 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15626 tst-audit3, tst-audit4 and tst-audit5.
15627 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15628 tst-audit6 and tst-audit7.
15629 [$(subdir) = elf] (modules-names): Add audit modules for those
15630 tests.
15631 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15632 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15633 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15634 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15635 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15636 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15637 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15638 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15639 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15640 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15641 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15642 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15643 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15644 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15645 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15646 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15647 Likewise.
15648 [$(subdir) = elf && $(config-cflags-avx) = yes]
15649 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15650 [$(subdir) = elf && $(config-cflags-avx) = yes]
15651 (CFLAGS-tst-auditmod4a.c): Likewise.
15652 [$(subdir) = elf && $(config-cflags-avx) = yes]
15653 (CFLAGS-tst-auditmod4b.c): Likewise.
15654 [$(subdir) = elf && $(config-cflags-avx) = yes]
15655 (CFLAGS-tst-auditmod6b.c): Likewise.
15656 [$(subdir) = elf && $(config-cflags-avx) = yes]
15657 (CFLAGS-tst-auditmod6c.c): Likewise.
15658 [$(subdir) = elf && $(config-cflags-avx) = yes]
15659 (CFLAGS-tst-auditmod7b.c): Likewise.
15660 * elf/tst-audit3.c: Move to ...
15661 * sysdeps/x86_64/tst-audit3.c: ... here.
15662 * elf/tst-audit4.c: Move to ...
15663 * sysdeps/x86_64/tst-audit4.c: ... here.
15664 * elf/tst-audit5.c: Move to ...
15665 * sysdeps/x86_64/tst-audit5.c: ... here.
15666 * elf/tst-audit6.c: Move to ...
15667 * sysdeps/x86_64/tst-audit6.c: ... here.
15668 * elf/tst-audit7.c: Move to ...
15669 * sysdeps/x86_64/tst-audit7.c: ... here.
15670 * elf/tst-auditmod3a.c: Move to ...
15671 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15672 * elf/tst-auditmod3b.c: Move to ...
15673 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15674 * elf/tst-auditmod4a.c: Move to ...
15675 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15676 * elf/tst-auditmod4b.c: Move to ...
15677 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15678 * elf/tst-auditmod5a.c: Move to ...
15679 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15680 * elf/tst-auditmod5b.c: Move to ...
15681 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15682 * elf/tst-auditmod6a.c: Move to ...
15683 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15684 * elf/tst-auditmod6b.c: Move to ...
15685 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15686 * elf/tst-auditmod6c.c: Move to ...
15687 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15688 * elf/tst-auditmod7a.c: Move to ...
15689 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15690 * elf/tst-auditmod7b.c: Move to ...
15691 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15692
1ef74943
PP
156932013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15694
15695 [BZ #15366]
15696 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15697 define unconditionally.
15698 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15699 define unconditionally.
15700 (INT8_C, INT16_C, etc.): Likewise.
15701
93fd48c5
MR
157022013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15703
ae9552cf
MR
15704 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15705 __ehdr_start with hidden visibility.
15706
93fd48c5
MR
15707 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15708
418601aa
CD
157092013-04-24 Carlos O'Donell <carlos@redhat.com>
15710
15711 * math/libm-test.inc (cos_test): Use accurate hex constants.
15712 (sincost_test): Likewise.
15713
2f38fbfe
JM
157142013-04-24 Joseph Myers <joseph@codesourcery.com>
15715
5e221800
JM
15716 * math/libm-test.inc (catan_test): Add more tests.
15717 (catanh_test): Likewise.
15718
77f143fd
JM
15719 * math/s_catanf.c (__catanf): Use suffixed floating-point
15720 constants.
15721 * math/s_catanhf.c (__catanhf): Likewise.
15722 * math/s_catanhl.c (__catanhl): Likewise.
15723 * math/s_catanl.c (__catanl): Likewise.
15724
2f38fbfe
JM
15725 [BZ #15394]
15726 * math/s_catan.c (__catan): Calculate imaginary part of result
15727 with log1p not log unless computing log of number close to 0.
15728 * math/s_catanf.c (__catanf): Likewise.
15729 * math/s_catanl.c (__catanl): Likewise.
15730 * math/s_catanh.c (__catanh): Calculate real part of result with
15731 log1p not log unless computing log of number close to 0.
15732 * math/s_catanhf.c (__catanhf): Likewise.
15733 * math/s_catanhl.c (__catanhl): Likewise.
15734 * math/libm-test.inc (catan_test): Add more tests.
15735 (catanh_test): Likewise.
15736 * sysdeps/i386/fpu/libm-test-ulps: Update.
15737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15738
45d69176
SP
157392013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15740
15741 * benchtests/Makefile: Mention files in which fast and slow
15742 paths of math functions are implemented.
15743
87f51853
RM
157442013-04-23 Roland McGrath <roland@hack.frob.com>
15745
15746 * sysdeps/posix/timespec_get.c: New file.
15747
3c026539
AZ
157482013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15749
15750 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15751 POWER.
15752 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15753 for POWER.
15754 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15755 powerpc/power5/fpu folders.
15756 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15757 * benchtests/Makefile: Add modf testcase.
15758 * benchtests/bench-modf.c: New file: Benchmark test for mo
15759
ff491d14
SP
157602013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15761
15762 [BZ #14888]
15763 * time/Makefile (tests): Add tst-strptime-whitespace.
15764 * time/strptime_l.c (get_number): Use ISSPACE.
15765 (__strptime_internal): Likewise.
15766 * time/tst-strptime-whitespace.c: New test case.
15767
7ed3f4e8
AS
157682013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15769
15770 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15771 member.
15772 (_nss_files_init): Set it here.
15773
5c95f7b6
HC
157742013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15775
15776 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15777 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15778 unsigned.
15779
d34c9158
JBG
157802013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15781
15782 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15783
2169712d
SP
157842013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15785
15786 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15787 size just once.
15788
29c5de99
DM
157892013-04-21 David S. Miller <davem@davemloft.net>
15790
15791 * po/ru.po: Update Russion translation from translation project.
15792
ccdad15d
AC
157932013-04-17 Adam Conrad <adconrad@0c3.net>
15794
15795 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15796 and setfsgid.
15797
0f122b8d
CD
157982013-04-17 Carlos O'Donell <carlos@redhat.com>
15799
5c5b07da 15800 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15801 * configure: Regenerate.
5c5b07da 15802 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15803 Add example to error message.
15804 * sysdeps/i386/configure: Regenerate.
15805
037714dd
SP
158062013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15807
15808 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15809 slowtan.
15810 * benchtests/cos-inputs: New file.
15811 * benchtests/slowcos-inputs: New file.
15812 * benchtests/slowcos.c: New file.
15813 * benchtests/slowtan-inputs: New file.
15814 * benchtests/slowtan.c: New file.
15815 * benchtests/tan-inputs: New file.
15816
e913141d
RM
158172013-04-16 Roland McGrath <roland@hack.frob.com>
15818
15819 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15820 considered kosher.
15821
a2964074
SP
158222013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15823
4856bcd2
SP
15824 * benchtests/Makefile: Include cppflags-iterator.mk to add
15825 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15826
a2964074
SP
15827 * Makefile.in (bench-clean): New target.
15828 * benchtests/Makefile (bench-clean): Likewise.
15829
9fbf9aca
DH
158302013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15831
15832 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15833
207d1e2a
TS
158342013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15835
15836 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15837
306dfba9
AS
158382013-04-15 Andreas Schwab <schwab@suse.de>
15839
15840 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15842 * nscd/pwdcache.c (cache_addpw): Likewise.
15843 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15844 more than recsize.
15845
206a6699
SP
158462013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15847
15848 * benchtests/Makefile (bench): Write all output to
15849 bench-out.tmp together.
15850
0582f6b3
AS
158512013-04-15 Andreas Schwab <schwab@suse.de>
15852
15853 * nscd/nscd.c (main): Don't fork again after closing files.
15854
acb4325f
SP
158552013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15856
5cb26d0a
SP
15857 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15858
acb4325f
SP
15859 * benchtests/Rules (bench-deps): Collect dependencies into a
15860 single variable. Add Makefile to dependencies.
15861 ($(objpfx)bench-%.c): Depend on bench-deps.
15862
47792506
RM
158632013-04-12 Roland McGrath <roland@hack.frob.com>
15864 Xavier Roche <roche+kml2@exalead.com>
15865
15866 [BZ #15361]
15867 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15868 just that it's a file descriptor.
15869 * manual/llio.texi (Synchronizing AIO Operations): Update description
15870 for EBADF error from aio_fsync.
15871
8fc1bee5
SP
158722013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15873
15874 * Rules (bench): Move target definition...
15875 * benchtests/Makefile: ... here.
15876
aba5e333
CD
158772013-04-11 Carlos O'Donell <carlos@redhat.com>
15878
15879 * math/libm-test.inc (cos_test): Fix PI/2 test.
15880 (sincos_test): Likewise.
15881 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15882 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15883
273cdee8
AS
158842013-04-11 Andreas Schwab <schwab@suse.de>
15885
6ecec3b6
AS
15886 [BZ #13988]
15887 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15888 accept exponent character only when digits were seen.
15889 * stdio-common/Makefile (tests): Add bug26.
15890 * stdio-common/bug26.c: New file.
15891
273cdee8
AS
15892 [BZ #14293]
15893 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15894 non-freeable.
15895
8da491f5
SP
158962013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15897
01dc6df9
SP
15898 * Makeconfig (rtld-prefix): Define built linker prefix.
15899 * Rules (run-bench): Use it.
15900 * math/Makefile (run-regen-ulps): Likewise.
15901
8da491f5
SP
15902 * Rules (bench): Remove eval.
15903
abe7f530
SP
159042013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15905 Roland McGrath <roland@hack.frob.com>
15906 Ondrej Bilka <neleai@seznam.cz>
15907
15908 [BZ #15346]
15909 * time/getdate.c: Include ctype.h and alloca.h.
15910 (__getdate_r): Trim leading and trailing spaces of input.
15911 * time/tst-getdate.c (tests): Add tests with leading and
15912 trailing spaces.
15913
61c23e62
RM
159142013-04-08 Roland McGrath <roland@hack.frob.com>
15915
15916 [BZ #14280]
15917 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15918 when computing value.
15919
7208a313
CD
159202013-04-06 Carlos O'Donell <carlos@redhat.com>
15921
085b2d41
CD
15922 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15923 Use testrun.sh to run libm tests.
15924
7208a313
CD
15925 [BZ #15309]
15926 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15927
872c0acd
MM
159282013-04-06 Marko Myllynen <myllynen@redhat.com>
15929
15930 [BZ #15264]
15931 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15932
26510bdd
CD
159332013-04-06 Carlos O'Donell <carlos@redhat.com>
15934
15935 * Makefile.in (regen-ulps): New target.
15936 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15937 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15938 [ifneq (no,$(PERL)] (regen-ulps): New target.
15939 [ifeq (no,$(PERL)] (regen-ulps): New target.
15940 * math/libm-test.inc (ulps_file_name): Define.
15941 (output_dir): New variable.
15942 (options): Add "output-dir" option.
15943 (parse_opt): Handle 'o' case.
15944 (main): If output_dir is non-NULL use it as a prefix
15945 otherwise use "".
15946 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15947
a01f19c8
CD
159482013-04-06 Carlos O'Donell <carlos@redhat.com>
15949
15950 [BZ #10060, #10062]
15951 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15952 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15953 fail configure if __sync_val_compare_and_swap is not inlined.
15954 * sysdeps/i386/configure: Regenerate.
15955 * configure.in: Build for i686 when configured for i386.
15956 * configure: Regenerate.
15957 * README: Remove i386 reference.
15958
b7a329a5
CD
159592013-04-06 Carlos O'Donell <carlos@redhat.com>
15960
15961 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15962 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15963
bf0f50df
TS
159642013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15965
ee091edf
TS
15966 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15967 (lmsnanval): New variables.
15968 (F): Add conversion tests.
15969 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15970 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15971
a8b792d6
TS
15972 * stdio-common/tstdiomisc.c (F): Properly collect individual
15973 tests' results.
15974
a1cbf437
TS
15975 [BZ #14686, #15336]
15976 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15977 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15978 Instead, use input NaN values or generate a qNaN by arithmetic
15979 operation. Also fix bugs to comply with the standard.
15980 * math/libm-test.inc (remainder_test): Add more tests.
15981
8b43a0c9
TS
15982 [BZ #15335, #15342]
15983 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15984 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15985 input NaN values or generate a qNaN by arithmetic operation.
15986
d91da4ce
TS
15987 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15988 unreachable code.
15989
bf0f50df
TS
15990 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15991 definitions.
15992
05e166c8
JM
159932013-04-03 Joseph Myers <joseph@codesourcery.com>
15994
15995 [BZ #14478]
15996 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15997 underflowed result.
15998 * math/s_cexpf.c (__cexpf): Likewise.
15999 * math/s_cexpl.c (__cexpl): Likewise.
16000 * math/libm-test.inc (cexp_test): Add more tests.
16001
1cef1b19
AS
160022013-04-03 Andreas Schwab <schwab@suse.de>
16003
16004 [BZ #15330]
16005 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16006 order arrays from heap if bigger than alloca cutoff.
16007
74d87055
TS
160082013-04-03 Thomas Schwinge <thomas@codesourcery.com>
16009
16010 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16011 (SNAN_TESTS_double): Refer to GCC PR56831.
16012 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16013 GCC PR56828.
16014
d755bba4
SP
160152013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16016
90d5d5bb
SP
16017 * Rules (bench): Move bench.out after the run is complete.
16018
73e0cd5d
SP
16019 * Rules (bench): Echo currently running benchmark.
16020
64aabd4b
SP
16021 * benchtests/Makefile (bench): Add atan and slowatan.
16022 * benchtests/atan-inputs: New file.
16023 * benchtests/slowatan-inputs: New file.
16024 * benchtests/slowatan.c: New file.
16025
c871eccd
SP
16026 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16027 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16028 its value.
16029
d755bba4
SP
16030 [BZ #15305]
16031 * sysdeps/unix/sysv/linux/kernel-features.h
16032 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16033 __ASSUME_XFS_RESTRICTED_CHOWN.
16034 * sysdeps/unix/sysv/linux/pathconf.c
16035 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16036 Save and restore errno.
16037
52ce4860
JM
160382013-04-02 Joseph Myers <joseph@codesourcery.com>
16039
16040 [BZ #15327]
16041 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16042 arguments using __kernel_casinh.
16043 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16044 arguments using __kernel_casinhf.
16045 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16046 arguments using __kernel_casinhl.
16047 * math/libm-test.inc (cacosh_test): Add more tests.
16048 * sysdeps/i386/fpu/libm-test-ulps: Update.
16049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16050
81f311c2
SP
160512013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16052
e7906a47
SP
16053 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
16054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
16055
92e3664b
SP
16056 * bench/Makefile (bench): Add sin and slowsin.
16057 * benchtests/sin-inputs: New file.
16058 * benchtests/slowsin-inputs: New file.
16059 * benchtests/slowsin.c: New file.
16060
81f311c2
SP
16061 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
16062 (bench): Add slowexp and slowpow.
16063 (exp-ITER): Increase iterations.
16064 (pow-ITER): Likewise.
16065 * benchtests/exp-inputs: Change input.
16066 * benchtests/pow-inputs: Likewise.
16067 * benchtests/slowexp-inputs: New file.
16068 * benchtests/slowexp.c: New file.
16069 * benchtests/slowpow-inputs: New file.
16070 * benchtests/slowpow.c: New file.
16071
ab0f1aa9
AZ
160722013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16073
16074 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
16075 instructions.
16076 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
16077 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
16078 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16079 * benchtests/Makefile: Add rint benchtest.
16080 * benchtests/rint-inputs: Input for rint benchtest.
16081
57267616
TS
160822013-04-02 Thomas Schwinge <thomas@codesourcery.com>
16083
16084 * Versions.def (libm): Add GLIBC_2.18.
16085 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
16086 hidden libm prototypes.
16087 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
16088 * math/Makefile (libm-calls): Add s_issignaling.
16089 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
16090 __issignalingf, __issignalingl. Adjust all libm.abilist files.
16091 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
16092 declaration.
16093 * math/math.h [__USE_GNU] (issignaling): New macro.
16094 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
16095 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
16096 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
16097 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
16098 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16099 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
16100 * manual/arith.texi (issignaling): New section.
16101 * manual/libm-err-tab.pl (@all_functions): Update comment.
16102 * math/gen-libm-test.pl (parse_args): Apply special handling for
16103 issignaling.
16104 * math/libm-test.inc (print_float, issignaling_test): New
16105 functions.
16106 (check_float_internal): Add issignaling checks.
16107 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
16108 default definition.
16109 * sysdeps/powerpc/math-tests.h: New file.
16110 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
16111 tests.
16112 * math/test-snan.c (TEST_FUNC): Likewise.
16113
6142896d
DM
161142013-03-30 David S. Miller <davem@davemloft.net>
16115
16116 * po/de.po: Update from translation team.
16117
ccc8cadf
JM
161182013-03-30 Joseph Myers <joseph@codesourcery.com>
16119
16120 [BZ #10357]
16121 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16122 imaginary part less than 1.0 and real part less than 0.5
16123 specially.
16124 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16125 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16126 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
16127 (cacos_test): Add more tests.
16128 (casin_test): Likewise.
16129 (casinh_test): Likewise.
16130 * sysdeps/i386/fpu/libm-test-ulps: Update.
16131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16132
0f6a8d4b
SP
161332013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16134
0d1029de
SP
16135 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
16136 ONE with its value.
16137
c2d94018
SP
16138 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
16139 (__pow_mp): Replace ONE and MONE with their values.
16140 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16141 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
16142 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16143 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
16144 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16145 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16146
27ec37f1
SP
16147 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16148
a64d7e0e
SP
16149 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
16150 (__pow_mp): Replace ZERO and MZERO with their values.
16151 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16152 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16153 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
16154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
16155 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16156 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16157 (__sqr): Likewise.
16158
d26dd3eb
SP
16159 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16160
0f6a8d4b
SP
16161 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16162
e57b0c61
RM
161632013-03-28 Roland McGrath <roland@hack.frob.com>
16164
16165 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16166 Declare with __attribute__ ((weak)).
16167 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16168 Call __call_tls_dtors only if it's not NULL.
16169
356b3480
RM
161702013-03-28 Roland McGrath <roland@hack.frob.com>
16171
288f7d79
RM
16172 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16173 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16174 magic __ehdr_start linker symbol if it's defined.
16175 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16176 them up here if it was already done.
16177
dc0a0263
RM
16178 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16179 (_dl_aux_init): Use const in cast when setting it.
16180 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16181 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16182 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16183
3d3436ae
RM
16184 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16185 Declare them here.
16186 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16187 * csu/libc-tls.c: Nor here.
16188 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16189
356b3480
RM
16190 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16191 (__libc_message): Never call vsyslog.
16192
b0f1246a
AM
161932013-03-28 Alan Modra <amodra@gmail.com>
16194
16195 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16196 Define as empty.
16197 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16198 Likewise.
16199
fbbe2b9a
AZ
162002013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16201
16202 [BZ #15214]
16203 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16204 underflow.
16205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16206
1728ab37
SP
162072013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16208
7a86be6e
SP
16209 [BZ #15304]
16210 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16211 Don't add gid passed as argument.
16212
1728ab37
SP
16213 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16214
3a7182a1
JM
162152013-03-27 Joseph Myers <joseph@codesourcery.com>
16216
16217 [BZ #15307]
16218 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16219 imaginary part between 1.0 and 1.5 and real part less than 0.5
16220 specially.
16221 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16222 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16223 * math/libm-test.inc (cacos_test): Add more tests.
16224 (casin_test): Likewise.
16225 (casinh_test): Likewise.
16226 * sysdeps/i386/fpu/libm-test-ulps: Update.
16227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16228
6f2e90e7
SP
162292013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16230
5739f705
SP
16231 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16232 constants.
16233 (norm): Likewise.
16234 (denorm): Likewise.
16235 (__dbl_mp): Likewise.
16236 (add_magnitudes): Likewise.
16237 (sub_magnitudes): Likewise.
16238 (__add): Likewise.
16239 (__sub): Likewise.
16240 (__mul): Likewise.
16241 (__sqr): Likewise.
16242 (__inv): Likewise.
16243 (__dvd): Likewise.
16244
e375e83d
SP
16245 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16246 commented code.
16247 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16248 (__dubcos): Likewise.
16249 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16250 (__ieee754_acos): Likewise.
16251 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16252 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16253 (__exp1): Likewise.
16254 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16255 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16256 (log1): Likewise.
16257 (my_log2): Likewise.
16258 (checkint): Likewise.
16259 * sysdeps/ieee754/dbl-64/e_remainder.c
16260 (__ieee754_remainder): Likewise.
16261 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16263 (bsloww): Likewise.
16264 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16265
6f2e90e7
SP
16266 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16267 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16268 MANTISSA_STORE_T to store computations on mantissa. Use
16269 macros for rounding and division.
16270 (denorm): Likewise.
16271 (__dbl_mp): Likewise.
16272 (add_magnitudes): Likewise.
16273 (sub_magnitudes): Likewise.
16274 (__mul): Likewise.
16275 (__sqr): Likewise.
16276 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16277 powers of two in terms of TWOPOW macro.
16278 (mp_no): Make type of mantissa as MANTISSA_T.
16279 [!RADIXI]: Define RADIXI.
16280 [!TWO52]: Define TWO52.
16281 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16282
fce14d4e
AZ
162832013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16284
16285 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16286 llroundl symbol when building for PPC32.
16287
9ad027fb
MW
162882013-03-24 Mark H Weaver <mhw@netris.org>
16289
16290 * manual/arith.texi (Normalization Functions): Fix prototypes for
16291 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16292
e42a38dd
AZ
162932013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16294
16295 [BZ #13889]
16296 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16297 high value to check if expl overflow.
16298 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16299 to check for underflow and overflow.
16300 * math/libm-test.inc: Add exp test.
16301
2e0fb521
DL
163022013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16303
16304 [BZ #11120]
16305 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16306 with NOT_IN_libc.
16307
b5784d95
AZ
163082013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16309
16310 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16311 symbol.
16312
5aa4a1a1
TS
163132013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16314
bdef0be7
TS
16315 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16316 wrap blocks consisting of several statements.
16317
5aa4a1a1
TS
16318 * sysdeps/generic/math-tests.h: New file.
16319 * sysdeps/i386/fpu/math-tests.h: Likewise.
16320 * math/test-snan.c: Include it.
16321 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16322
98c48fe5
JM
163232013-03-21 Joseph Myers <joseph@codesourcery.com>
16324
16325 [BZ #15285]
16326 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16327 (__ieee754_j0l): Do not improve calculations using cos of twice
16328 input for inputs above LDBL_MAX / 2.0L.
16329 (__ieee754_y0l): Likewise.
16330 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16331 (__ieee754_j1l): Do not improve calculations using cos of twice
16332 input for inputs above LDBL_MAX / 2.0L.
16333 (__ieee754_y1l): Likewise.
16334 * math/libm-test.inc (j0_test): Add another test.
16335 (j1_test): Likewise.
16336 (y0_test): Likewise.
16337 (y1_test): Likewise.
16338 * sysdeps/i386/fpu/libm-test-ulps: Update.
16339
3775a8bc
SP
163402013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16341
16342 * Rules ($(objpfx)bench-%.c): Include code from a C source
16343 file.
16344
0a1b2ae6
JM
163452013-03-21 Joseph Myers <joseph@codesourcery.com>
16346
16347 [BZ #15287]
16348 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16349 imaginary part 1.0 and real part less than 0.5 specially.
16350 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16351 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16352 * math/libm-test.inc (cacos_test): Add more tests.
16353 (casin_test): Likewise.
16354 (casinh_test): Likewise.
16355 * sysdeps/i386/fpu/libm-test-ulps: Update.
16356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16357
b33d4ce4
SP
163582013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16359
16360 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16361 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16362
bef0b507
JM
163632013-03-20 Joseph Myers <joseph@codesourcery.com>
16364
16365 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16366 * config.make.in (config-cflags-sse4): Remove variable.
16367 (config-cflags-avx): Likewise.
16368 (config-cflags-sse2avx): Likewise.
16369 (config-cflags-novzeroupper): Likewise.
16370 (config-asflags-i686): Likewise.
16371 (have-mfma4): Likewise.
16372 (have-as-vis3): Likewise.
16373 (MIG): Likewise.
16374 * configure.in (MIG): Do not AC_SUBST.
16375 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16376 (libc_cv_cc_sse4): Do not AC_SUBST.
16377 (libc_cv_cc_avx): Likewise.
16378 (libc_cv_cc_sse2avx): Likewise.
16379 (libc_cv_cc_novzeroupper): Likewise.
16380 (libc_cv_cc_fma4): Likewise.
16381 (libc_cv_as_i686): Likewise.
16382 (libc_cv_sparc_as_vis3): Likewise.
16383 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16384 LIBC_CONFIG_VAR.
16385 (config-asflags-i686): Likewise.
16386 (config-cflags-avx): Likewise.
16387 (config-cflags-sse2avx): Likewise.
16388 (have-mfma4): Likewise.
16389 (config-cflags-novzeroupper): Likewise.
16390 * sysdeps/mach/configure.in (MIG): Likewise.
16391 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16392 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16393 LIBC_CONFIG_VAR.
16394 (config-cflags-avx): Likewise.
16395 (config-cflags-sse2avx): Likewise.
16396 (have-mfma4): Likewise.
16397 (config-cflags-novzeroupper): Likewise.
16398 * configure: Regenerated.
16399 * sysdeps/i386/configure: Likewise.
16400 * sysdeps/mach/configure: Likewise.
16401 * sysdeps/sparc/configure: Likewise.
16402 * sysdeps/x86_64/configure: Likewise.
16403
912cc4b3
RM
164042013-03-20 Roland McGrath <roland@hack.frob.com>
16405
16406 [BZ #14812]
16407 * locale/programs/localedef.c (options): Put N_ translation marker
16408 on argument names, not just descriptions.
16409
04eed2b0
MS
164102013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16411
16412 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16413
a065ceff
OB
164142013-03-20 Ondřej Bílka <neleai@seznam.cz>
16415
9bb2a810 16416 [BZ #14176]
a065ceff
OB
16417 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16418
a600e5ce
RM
164192013-03-19 Roland McGrath <roland@hack.frob.com>
16420
16421 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16422 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16423 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16424 [!BEFORE_ABORT] (before_abort): New function.
16425 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16426 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16427 (writev_for_fatal): New function.
16428 (WRITEV_FOR_FATAL): New macro; call that.
16429 (backtrace_and_maps): New function.
16430 (BEFORE_ABORT): New macro; call that.
16431 (struct str_list): Type removed.
16432 (__libc_message, __libc_fatal): Functions removed.
16433 Include <sysdeps/posix/libc_fatal.c> instead.
16434
6b18bea6
JM
164352013-03-19 Joseph Myers <joseph@codesourcery.com>
16436
16437 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16438 constants.
16439 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16440 double constants.
16441
aaa8cb4b
AS
164422013-03-19 Andreas Schwab <schwab@suse.de>
16443
44673770
AS
16444 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16445 * sysdeps/gnu/configure: Regenerate.
16446
aaa8cb4b
AS
16447 * configure.in: Substitute libc_cv_rtlddir.
16448 * configure: Regenerate.
16449 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16450 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16451 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16452 * elf/Makefile (install-others, CFLAGS-interp.c)
16453 (ldso_install, common-ldd-rewrite): Likewise.
16454 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16455 $(inst_slibdir)/$(rtld-installed-name).
16456 * scripts/rellns-sh: Add -p option.
16457 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16458 for source.
16459
d3cfc668
SP
164602013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16461
16462 * manual/nptl.texi: Renamed to ...
16463 * manual/threads.texi: ... this.
16464 * manual/Makefile (chapters): Update.
16465
0e2b9cdd
RM
164662013-03-18 Roland McGrath <roland@hack.frob.com>
16467
16468 [BZ #14812]
16469 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16470 on argument names, not just descriptions.
0e2b9cdd
RM
16471 * malloc/memusagestat.c (options): Likewise.
16472 * nss/getent.c (options): Likewise.
63270c24
RM
16473
164742013-03-18 Benno Schulenberg <bensberg@justemail.net>
16475
16476 [BZ #14812]
16477 * iconv/iconv_prog.c (options): Put N_ translation marker
16478 on argument names, not just descriptions.
16479 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16480
b2e1393c
OB
164812013-03-18 Ondrej Bilka <neleai@seznam.cz>
16482
16483 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16484 implementation which is faster on all x86_64 architectures.
16485 Tested on AMD, Intel Nehalem, SNB, IVB.
16486 * sysdeps/x86_64/strnlen.S: Likewise.
16487
16488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16489 Remove all multiarch strlen and strnlen versions.
16490 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16491 Remove strlen and strnlen related parts.
16492
16493 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16494 Inline strlen part.
16495 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16496
16497 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16498 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16499 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16500 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16501 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16502 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16503
ec4ff04d
CD
165042013-03-17 Carlos O'Donell <carlos@redhat.com>
16505
16506 * manual/memory.texi (Malloc Tunable Parameters):
16507 Sort parameters alphabetically. Add comments for missing entries.
16508
cd18e90a
DM
165092013-03-17 David S. Miller <davem@davemloft.net>
16510
16511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16512
2a185d32
JM
165132013-03-16 Joseph Myers <joseph@codesourcery.com>
16514
d2f9799e
JM
16515 [BZ #15283]
16516 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16517 for arguments at most half maximum finite value.
16518 * math/libm-test.inc (j0_test): Add more tests.
16519 (j1_test): Likewise.
16520 (y0_test): Likewise.
16521 (y1_test): Likewise.
16522 * sysdeps/i386/fpu/libm-test-ulps: Update.
16523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16524
2a185d32
JM
16525 [BZ #14155]
16526 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16527 1 / x and functions P and Q for arguments above 0x1p256L.
16528 (__ieee754_y0l): Likewise.
16529 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16530 (__ieee754_y1l): Likewise.
16531 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16532 (j1_test): Likewise.
16533 (y0_test): Likewise.
16534 (y1_test): Likewise.
16535
6cbec759
TS
165362013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16537
16538 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16539 variable.
16540
bc16e260
RM
165412013-03-15 Roland McGrath <roland@hack.frob.com>
16542
aefc9b8c
RM
16543 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16544 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16545 zero since it's initialized to EXEC_PAGESIZE.
16546
bc16e260
RM
16547 * sysdeps/unix/sysv/linux/ldsodefs.h
16548 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16549 * sysdeps/generic/ldsodefs.h: ... here.
16550
a57da955
TS
165512013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16552
af00a34d
TS
16553 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16554
495ded2c
TS
16555 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16556 math/test-snan.c.
16557 * math/test-snan.c: Renamed from
16558 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16559 * math/Makefile (tests): Add test-snan.
16560 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16561 test-powerpc-snan.
16562
777b0332
TS
16563 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16564 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16565 functions.
16566 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16567 __builtin_nan family of functions.
16568 * math/libm-test.inc (initialize): Initialize qnan_value with
16569 __builtin_nan family of functions.
16570 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16571 Remove variables.
16572 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16573 Remove functions.
16574 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16575 storage class. Initialize qNaN_var and sNaN_var with
16576 __builtin_nan and __builtin_nans families of functions,
16577 respectively.
16578
64d063b8
TS
16579 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16580 (sqrt_test): Remove duplicate test with qNaN input.
16581 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16582 (round_test, signbit_test, significand_test): Note missing +/-Inf
16583 as well as qNaN tests.
16584
67e971f1
TS
16585 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16586 qNaN_var. Fix a few strings, too.
16587 * math/libm-test.inc (nan_value): Rename to qnan_value.
16588 * math/gen-libm-test.pl (%beautify): Adjust to that.
16589 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16590 * math/test-misc.c (main): Likewise.
16591 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16592 to __qnan_bytes, and __qnan_union, respectively.
16593 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16594 Likewise.
16595 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16596 and lqnanval, respectively.
16597 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16598 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16599 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16600 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16601
64487e12
TS
16602 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16603 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16604 doubles.
16605
e015e27b
TS
16606 * math/test-misc.c (main): Fix copy'n'pastos.
16607 * misc/tst-efgcvt.c (special): Likewise.
16608
a57da955
TS
16609 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16610 Remove declarations.
16611
1e380345
SP
166122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16613
16614 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16615 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16616 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16617 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16618
ef26eece
AZ
166192013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16620
16621 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16622 macro to return vdso values correctly in IFUNC implementations.
16623 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16624 Optimization by using IFUNC.
16625
8cfdb7e0
SP
166262013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16627 Richard Henderson <rth@redhat.com>
16628 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16629
16630 * Makefile.in (bench): New target.
16631 * NEWS: Mention the benchmark framework.
16632 * Rules (bench): Likewise.
16633 (binaries-bench): Generate binaries for functions to
16634 benchmark.
16635 * benchtests/Makefile: New makefile for benchmark tests.
16636 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16637 programs.
16638 * benchtests/exp-inputs: New input file for EXP function.
16639 * benchtests/pow-inputs: New input file for POW function.
16640 * scripts/bench.pl: New script to generate source files for
16641 benchmark programs.
16642
bcda9880
SP
166432013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16644
d22ca8cd
SP
16645 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16646 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16647 computations on mantissa. Use macros for rounding and
16648 division.
16649 (denorm): Likewise.
16650 (__dbl_mp): Likewise.
16651 (add_magnitudes): Likewise.
16652 (sub_magnitudes): Likewise.
16653 (__mul): Likewise.
16654 (__sqr): Likewise.
16655 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16656 powers of two in terms of TWOPOW macro.
16657 (mp_no): Make type of mantissa as MANTISSA_T.
16658 [!RADIXI]: Define RADIXI.
16659 [!TWO52]: Define TWO52.
16660 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16661
bcda9880
SP
16662 * manual/nptl.texi (cindex): Modify threads to pthreads.
16663
06d5adfb
JM
166642013-03-15 Joseph Myers <joseph@codesourcery.com>
16665
16666 * sysdeps/x86_64/preconfigure: Regenerated.
16667
41c7328e
JM
166682013-03-14 Joseph Myers <joseph@codesourcery.com>
16669
16670 [BZ #14155]
16671 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16672 0x1p28 and above.
16673 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16674 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16675 0x1p28 and above.
16676 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16677 * math/libm-test.inc (j0_test): Do not allow one spurious
16678 underflow exception.
16679 (y1_test): Likewise.
16680
e25cfa60
SP
166812013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16682
0409959c
SP
16683 * manual/Makefile (chapters): Add nptl.
16684 * manual/debug.texi (Debugging Support): Add link to Threads
16685 chapter.
16686 * manual/nptl.texi: New file.
16687
e25cfa60
SP
16688 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16689
58a1335e
PB
166902013-03-14 Petr Baudis <pasky@ucw.cz>
16691
16692 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16693 for non-NULL pointer before the memory validity test. Pointed
16694 out by Holger Brunck <holger.brunck@keymile.com>.
16695
9dc7c64f
AS
166962013-03-13 Andreas Schwab <schwab@suse.de>
16697
16698 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16699 instead of .os.
16700
54206aa6
JM
167012013-03-13 Joseph Myers <joseph@codesourcery.com>
16702
16703 * timezone/zic.c: Update from tzcode 2013b.
16704
e98cdb38
CD
167052013-03-12 Carlos O'Donell <carlos@redhat.com>
16706
16707 * manual/install.texi (Configuring and compiling):
16708 Mention i686 and i586.
16709 * INSTALL: Regenerate.
16710
9967e003
RM
167112013-03-12 Roland McGrath <roland@hack.frob.com>
16712
16713 * sysdeps/init_array/elf-init.c: New file.
16714 * csu/elf-init.c
16715 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16716 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16717
16718 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16719 __gmon_start__ as global, but as static with a .preinit_array pointer.
16720 * sysdeps/init_array/gmon-start.c: New file. Use that.
16721 * sysdeps/init_array/crti.S: New file, empty except for comments.
16722 * sysdeps/init_array/crtn.S: Likewise.
16723
e6b5a293 167242013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16725
16726 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16727 definining bcopy.
80f844c9
OB
16728 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16729 Remove Prefer_SSE_for_memop.
16730 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16731 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16732 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16734 memset-x86-64.
80f844c9 16735 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16736 Remove bzero, memset ifunc support.
80f844c9
OB
16737 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16738 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16739 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16740 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16741
fb6b0fcb
AS
167422013-03-11 Andreas Schwab <schwab@suse.de>
16743
16744 [BZ #15234]
16745 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16746 by SHLIB_COMPAT.
16747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16748 (GLIBC_2.16): Remove pthread_atfork.
16749
3e6bd4b1
PP
167502013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16751
16752 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16753 (ptestcases.h): Likewise.
16754
222d7f00
RM
167552013-03-08 Roland McGrath <roland@hack.frob.com>
16756
16757 * Makeconfig ($(common-objpfx)config.status): Depend on
16758 sysdeps/*/preconfigure{,.in} too.
16759
1ba4f030
JM
167602013-03-08 Joseph Myers <joseph@codesourcery.com>
16761
a222d91a
JM
16762 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16763 (__free_hook): Use void * instead of __malloc_ptr_t.
16764 (__malloc_hook): Likewise.
16765 (__realloc_hook): Likewise.
16766 (__memalign_hook): Likewise.
16767 (__after_morecore_hook): Likewise.
16768 * malloc/arena.c (save_malloc_hook): Likewise.
16769 (save_free_hook): Likewise.
16770 * malloc/hooks.c (malloc_hook_ini): Likewise.
16771 (realloc_hook_ini): Likewise.
16772 (memalign_hook_ini): Likewise.
16773 * malloc/malloc.c (malloc_hook_ini): Likewise.
16774 (realloc_hook_ini): Likewise.
16775 (memalign_hook_ini): Likewise.
16776 (__free_hook): Likewise.
16777 (__malloc_hook): Likewise.
16778 (__realloc_hook): Likewise.
16779 (__memalign_hook): Likewise.
16780 (__libc_malloc): Likewise.
16781 (__libc_free): Likewise.
16782 (__libc_realloc): Likewise.
16783 (__libc_memalign): Likewise.
16784 (__libc_valloc): Likewise.
16785 (__libc_pvalloc): Likewise.
16786 (__libc_calloc): Likewise.
16787 (__posix_memalign): Likewise.
16788 * malloc/morecore.c (__sbrk): Likewise.
16789 (__default_morecore): Likewise.
16790
5cc45e10
JM
16791 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16792
dd54b864
JM
16793 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16794 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16795 __malloc_ptrdiff_t.
16796
1ba4f030
JM
16797 * malloc/malloc.h (__malloc_size_t): Remove macro.
16798 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16799 __malloc_size_t.
16800 (old_memalign_hook): Likewise.
16801 (old_realloc_hook): Likewise.
16802 (struct hdr): Likewise.
16803 (flood): Likewise.
16804 (mallochook): Likewise.
16805 (memalignhook): Likewise.
16806 (reallochook): Likewise.
16807 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16808 (tr_old_realloc_hook): Likewise.
16809 (tr_old_memalign_hook): Likewise.
16810 (tr_mallochook): Likewise.
16811 (tr_reallochook): Likewise.
16812 (tr_memalignhook): Likewise.
16813
edf66e57
AZ
168142013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16815
16816 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16817 default_ldbl_pack and using as default implementation.
16818 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16819 implementation.
16820 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16821 redundant definition.
16822 (ldbl_insert_mantissa): Likewise.
16823 (ldbl_canonicalize): Likewise.
16824 (ldbl_nearbyint): Likewise.
16825 (ldbl_pack): Rename to ldbl_pack_ppc.
16826 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16827 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16828 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16829
6d9145d8
SP
168302013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16831
16832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16833 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16834 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16835 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16837 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16838 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16839 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16840
4dd4e157
AJ
168412013-03-07 Andreas Jaeger <aj@suse.de>
16842
16843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16844 bits/mman-linux.h.
16845
adbb8027
SP
168462013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16847
ce544b5b
SP
16848 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16849 Include mpa.h and declare __MPEXP.
16850 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16851 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16852 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16853 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16854 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16855 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16856 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16857
4cc149fd
SP
16858 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16859 (__slowpow): Use long double EXPL and LOGL functions to
16860 compute POW.
16861 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16862 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16863 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16864 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16865 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16866 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16867
e6ebd4a7
SP
16868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16869 intermediate variable to calculate exponent.
16870 (__sqr): Likewise.
16871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16872 Likewise.
16873 (__sqr): Likewise.
16874
82a9811d
SP
16875 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16876 [!NO__SQR]: Define __sqr.
16877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16878 and NO__SQR. Remove all code except __mul and __sqr. Include
16879 sysdeps/ieee754/dbl-64/mpa.c.
16880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16881
adbb8027
SP
16882 [BZ #12723]
16883 * posix/Makefile (tests): Add tst-pathconf.
16884 * posix/tst-pathconf.c: New test case.
16885 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16886 _PC_PIPE_BUF.
16887 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16888
39120df9
PF
168892013-03-06 Patsy Franklin <pfrankli@redhat.com>
16890
16891 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16892
67525cb8
AJ
168932013-03-06 Andreas Jaeger <aj@suse.de>
16894
664a9ce4
AJ
16895 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16896 definition via __MAP_ANONYMOUS.
16897
8e39047d
AJ
16898 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16899 it's not part of Linux headers.
16900
67525cb8
AJ
16901 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16902 (MAP_HUGE_MASK): Define.
16903
16904 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16905 Define.
16906 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16907 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16908 Define.
16909 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16910 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16911 Define.
16912 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16913 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16914 Define.
16915 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16916
16917 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16918 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16919 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16920 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16921 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16922 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16923
16924 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16925 Handle f2fs.
16926
16927 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16928 Handle f2fs and efivarfs.
16929
16930 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16931 f2fs.
16932
16933 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16934 (EFIVARFS_MAGIC): Add.
16935 (F2FS_LINK_MAX): Add.
16936
e1b42695
PP
169372013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16938
16939 * stdio-common/vfprintf.c: Replace __builtin_expect with
16940 __glibc_unlikely.
16941
2d67d91a
JM
169422013-03-06 Joseph Myers <joseph@codesourcery.com>
16943
16944 [BZ #13550]
16945 * sysdeps/generic/bp-sym.h: Remove file.
16946 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16947 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16948 <bp-sym.h> and <bp-asm.h>.
16949 (__longjmp): Don't use BP_SYM.
16950 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16951 and <bp-asm.h>.
16952 (memcpy): Don't use BP_SYM.
16953 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16954 <bp-sym.h> and <bp-asm.h>.
16955 (memcpy): Don't use BP_SYM.
16956 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16957 <bp-asm.h>.
16958 (memcpy): Don't use BP_SYM.
16959 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16960 <bp-asm.h>.
16961 (memset): Don't use BP_SYM.
16962 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16963 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16964 (__bzero): Don't use BP_SYM.
16965 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16966 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16967 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16968 <bp-sym.h> and <bp-asm.h>.
16969 (memcmp): Don't use BP_SYM. Remove comment about bounded
16970 pointers.
16971 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16972 <bp-sym.h> and <bp-asm.h>.
16973 (memcpy): Don't use BP_SYM.
16974 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16975 <bp-sym.h> and <bp-asm.h>.
16976 (memset): Don't use BP_SYM.
16977 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16978 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16979 (__bzero): Don't use BP_SYM.
16980 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16981 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16982 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16983 <bp-sym.h> and <bp-asm.h>.
16984 (strncmp): Don't use BP_SYM. Remove comment about bounded
16985 pointers.
16986 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16987 <bp-sym.h> and <bp-asm.h>.
16988 (memcpy): Don't use BP_SYM.
16989 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16990 <bp-sym.h> and <bp-asm.h>.
16991 (memset): Don't use BP_SYM.
16992 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16993 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16994 (__bzero): Don't use BP_SYM.
16995 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16996 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16997 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16998 <bp-sym.h> and <bp-asm.h>.
16999 (__memchr): Don't use BP_SYM.
17000 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17001 <bp-sym.h> and <bp-asm.h>.
17002 (memcmp): Don't use BP_SYM. Remove comment about bounded
17003 pointers.
17004 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17005 <bp-sym.h> and <bp-asm.h>.
17006 (memcpy): Don't use BP_SYM.
17007 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17008 <bp-sym.h> and <bp-asm.h>.
17009 (__mempcpy): Don't use BP_SYM.
17010 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17011 <bp-sym.h> and <bp-asm.h>.
17012 (__memrchr): Don't use BP_SYM.
17013 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17014 <bp-sym.h> and <bp-asm.h>.
17015 (memset): Don't use BP_SYM.
17016 (__bzero): Likewise.
17017 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17018 <bp-sym.h> and <bp-asm.h>.
17019 (__rawmemchr): Don't use BP_SYM.
17020 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17021 <bp-sym.h> and <bp-asm.h>.
17022 (__STRCMP): Don't use BP_SYM.
17023 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17024 <bp-sym.h> and <bp-asm.h>.
17025 (strchr): Don't use BP_SYM.
17026 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17027 <bp-sym.h> and <bp-asm.h>.
17028 (__strchrnul): Don't use BP_SYM.
17029 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17030 <bp-sym.h> and <bp-asm.h>.
17031 (strlen): Don't use BP_SYM.
17032 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17033 <bp-sym.h> and <bp-asm.h>.
17034 (strncmp): Don't use BP_SYM. Remove comment about bounded
17035 pointers.
17036 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17037 <bp-sym.h> and <bp-asm.h>.
17038 (__strnlen): Don't use BP_SYM.
17039 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17040 <bp-sym.h> and <bp-asm.h>.
17041 (__GI__setjmp): Don't use BP_SYM.
17042 (_setjmp): Likewise.
17043 (__sigsetjmp): Likewise.
17044 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17045 (L(start_addresses)): Don't use BP_SYM.
17046 (_start): Likewise.
17047 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17048 <bp-asm.h>.
17049 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17050 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17051 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17052 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17053 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
17054 <bp-asm.h>.
17055 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
17056 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
17057 about bounded pointers.
17058 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17059 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17060 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
17061 <bp-asm.h>.
17062 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17063 about bounded pointers. Remove GKM FIXME comments.
17064 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17065 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
17066 <bp-asm.h>.
17067 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
17068 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
17069 Remove GKM FIXME comments.
17070 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17071 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17072 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
17073 <bp-asm.h>.
17074 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
17075 about bounded pointers. Remove GKM FIXME comment.
17076 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
17077 and <bp-asm.h>.
17078 (strncmp): Don't use BP_SYM. Remove comment about bounded
17079 pointers.
17080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
17081 <bp-sym.h> and <bp-asm.h>.
17082 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
17084 <bp-sym.h> and <bp-asm.h>.
17085 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17086 comment.
17087
cdcf361f
PP
170882013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
17089
17090 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
17091 call free(NULL).
17092
3c4a2b15
DM
170932013-03-05 David S. Miller <davem@davemloft.net>
17094
17095 * po/es.po: Update from translation team.
17096
cdcf361f 170972013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
17098
17099 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
17100 <bits/mman-linux.h>.
17101 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17102 is fine.
17103 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
17104 <bits/mman-linux.h> to end of file.
17105 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17106 is fine.
17107 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
17108 <bits/mman-linux.h> to end of file.
17109 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
17110 is fine.
17111 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
17112 <bits/mman-linux.h> to end of file.
17113
17114 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
17115 (MCL_CURRENT, MCL_FUTURE): Define here.
17116
5f67c04f
AK
171172013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17118
8a4473cc 17119 [BZ #15232]
5f67c04f
AK
17120 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
17121 attribute_hidden.
17122 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17123
c3e94a95
AK
171242013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17125
17126 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
17127 fourth parameter needed for rt_sigprocmask syscall.
17128 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17129 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17130 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
17131 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17132 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17133 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
17134
cfb6382a
JM
171352013-03-04 Joseph Myers <joseph@codesourcery.com>
17136
17137 [BZ #13550]
17138 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
17139 comment about bounded pointers.
17140 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
17141 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
17142
539d8e01
AJ
171432013-03-04 Andreas Jaeger <aj@suse.de>
17144
17145 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
17146 common definitions.
17147
17148 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
17149 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
17150 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
17151 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
17153 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17154
2e167a70 171552013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
17156
17157 [BZ #15055]
17158 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17159 __ieee754_sqrl instead of __sqrl.
17160
68508633
JM
171612013-03-01 Joseph Myers <joseph@codesourcery.com>
17162
17163 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17164 * sysdeps/powerpc/fpu_control.h: ... here.
17165 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17166 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17167 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17168 * sysdeps/powerpc/bits/mathinline.h: ... here.
17169
7775448e
RM
171702013-03-01 Roland McGrath <roland@hack.frob.com>
17171
17172 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17173 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17174 to just [NEED_DL_SYSINFO_DSO].
17175 * elf/dl-support.c: Likewise.
17176 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17177 * elf/rtld.c (dl_main): Likewise.
17178 * elf/setup-vdso.h (setup_vdso): Likewise.
17179 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17180 * sysdeps/unix/sysv/linux/dl-sysdep.c
17181 (_dl_discover_osversion): Likewise.
17182
4e9b5995
CD
171832013-03-01 Carlos O'Donell <carlos@redhat.com>
17184
17185 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17186 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17187
e23872c8
SP
171882013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17189
e5c74c63
SP
17190 * NEWS: Mention libm performance improvements and non-x86 PI
17191 futex support.
17192
e23872c8
SP
17193 * csu/libc-start.c (__pthread_initialize_minimal): Change
17194 function arguments.
17195 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17196
b5510883
JM
171972013-02-28 Joseph Myers <joseph@codesourcery.com>
17198
17199 [BZ #13550]
17200 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17201 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17202 <bp-sym.h> and <bp-asm.h>.
17203 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17204 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17205 and <bp-asm.h>.
17206 (memcpy): Don't use BP_SYM.
17207 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17208 <bp-asm.h>.
17209 (__mpn_add_n): Don't use BP_SYM.
17210 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17211 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17212 and <bp-asm.h>.
17213 (__mpn_addmul_1): Don't use BP_SYM.
17214 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17215 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17216 <bp-sym.h>.
17217 (_setjmp): Don't use BP_SYM.
17218 (__novmx_setjmp): Likewise.
17219 (__GI__setjmp): Likewise.
17220 (__vmx_setjmp): Likewise.
17221 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17222 <bp-sym.h>.
17223 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17224 (__bzero): Don't use BP_SYM.
17225 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17226 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17227 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17228 <bp-sym.h> and <bp-asm.h>.
17229 (memcpy): Don't use BP_SYM.
17230 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17231 <bp-sym.h> and <bp-asm.h>.
17232 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17233 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17234 <bp-sym.h> and <bp-asm.h>.
17235 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17236 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17237 <bp-asm.h>.
17238 (__mpn_lshift): Don't use BP_SYM.
17239 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17240 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17241 <bp-asm.h>.
17242 (memset): Don't use BP_SYM.
17243 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17244 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17245 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17246 <bp-asm.h>.
17247 (__mpn_mul_1): Don't use BP_SYM.
17248 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17249 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17250 <bp-sym.h> and <bp-asm.h>.
17251 (memcmp): Don't use BP_SYM.
17252 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17253 <bp-sym.h> and <bp-asm.h>.
17254 (memcpy): Don't use BP_SYM.
17255 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17256 <bp-sym.h> and <bp-asm.h>.
17257 (memset): Don't use BP_SYM.
17258 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17259 <bp-sym.h> and <bp-asm.h>.
17260 (strncmp): Don't use BP_SYM.
17261 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17262 <bp-sym.h> and <bp-asm.h>.
17263 (memcpy): Don't use BP_SYM.
17264 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17265 <bp-sym.h> and <bp-asm.h>.
17266 (memset): Don't use BP_SYM.
17267 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17268 <bp-sym.h> and <bp-asm.h>.
17269 (__memchr): Don't use BP_SYM.
17270 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17271 <bp-sym.h> and <bp-asm.h>.
17272 (memcmp): Don't use BP_SYM.
17273 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17274 <bp-sym.h> and <bp-asm.h>.
17275 (memcpy): Don't use BP_SYM.
17276 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17277 <bp-sym.h> and <bp-asm.h>.
17278 (__mempcpy): Don't use BP_SYM.
17279 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17280 <bp-sym.h> and <bp-asm.h>.
17281 (__memrchr): Don't use BP_SYM.
17282 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17283 <bp-sym.h> and <bp-asm.h>.
17284 (memset): Don't use BP_SYM.
17285 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17286 <bp-sym.h> and <bp-asm.h>.
17287 (__rawmemchr): Don't use BP_SYM.
17288 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17289 <bp-sym.h> and <bp-asm.h>.
17290 (__STRCMP): Don't use BP_SYM.
17291 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17292 <bp-sym.h> and <bp-asm.h>.
17293 (strchr): Don't use BP_SYM.
17294 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17295 <bp-sym.h> and <bp-asm.h>.
17296 (__strchrnul): Don't use BP_SYM.
17297 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17298 <bp-sym.h> and <bp-asm.h>.
17299 (strlen): Don't use BP_SYM.
17300 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17301 <bp-sym.h> and <bp-asm.h>.
17302 (strncmp): Don't use BP_SYM.
17303 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17304 <bp-sym.h> and <bp-asm.h>.
17305 (__strnlen): Don't use BP_SYM.
17306 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17307 <bp-asm.h>.
17308 (__mpn_rshift): Don't use BP_SYM.
17309 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17310 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17311 <bp-sym.h> and <bp-asm.h>.
17312 (__sigsetjmp): Don't use BP_SYM.
17313 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17314 (L(start_addresses)): Don't use BP_SYM.
17315 (_start): Likewise.
17316 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17317 <bp-asm.h>.
17318 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17319 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17320 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17321 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17322 <bp-asm.h>.
17323 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17324 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17325 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17326 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17327 <bp-asm.h>.
17328 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17329 comments.
17330 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17331 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17332 <bp-asm.h>.
17333 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17334 FIXME comments.
17335 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17336 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17337 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17338 <bp-asm.h>.
17339 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17340 comment.
17341 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17342 and <bp-asm.h>.
17343 (strncmp): Don't use BP_SYM,
17344 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17345 <bp-asm.h>.
17346 (__mpn_sub_n): Don't use BP_SYM.
17347 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17348 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17349 and <bp-asm.h>.
17350 (__mpn_submul_1): Don't use BP_SYM.
17351 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17353 <bp-sym.h> and <bp-asm.h>.
17354 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17356 <bp-sym.h> and <bp-asm.h>.
17357 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17358 comment.
17359
8d19fe64
SP
173602013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17361
17362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17363 Use ZK to minimize writes to Z.
17364 (sub_magnitudes): Simplify code a bit.
17365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17366 Use ZK to minimize writes to Z.
17367 (sub_magnitudes): Simplify code a bit.
17368
85bd816a
RM
173692013-02-27 Roland McGrath <roland@hack.frob.com>
17370
17371 * csu/gmon-start.c: Add special exception to license text.
17372
b5977bf2
RH
173732013-02-27 Richard Henderson <rth@redhat.com>
17374
17375 * scripts/config.guess: Update from config.git.
17376 * scripts/config.sub: Likewise.
17377
11d6e2f2
SP
173782013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17379
09c14ed2
SP
17380 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17381
a688864e
SP
17382 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17383
6295157a
SP
17384 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17385
b8de2202
SP
17386 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17387
11d6e2f2
SP
17388 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17389
7e80ddb8
RM
173902013-02-26 Roland McGrath <roland@hack.frob.com>
17391
17392 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17393 [$(build-shared = yes].
7e80ddb8 17394
7da6d9ed
SP
173952013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17396
45f05884
SP
17397 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17398 (__mul): Reduce iterations for calculating mantissa.
17399
2236d359
SP
17400 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17401 MPTWO.
17402 (__mpranred): Likewise.
17403
7da6d9ed
SP
17404 [BZ #15160]
17405 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17406 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17407
b7688c42
PE
174082013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17409
17410 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17411 Define __attribute__.
17412
53a5c423
SP
174132013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17414
17415 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17416 unused.
17417 * posix/regex_internal.h (__attribute): Remove.
17418 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17419 (re_string_context_at): Likewise.
17420 (bitset_not): Use __attribute__ and mark function as possibly
17421 unused.
17422 (bitset_merge): Likewise.
17423 (bitset_mask): Likewise.
17424 (re_string_char_size_at): Likewise.
17425 (re_string_wchar_at): Likewise.
17426 (re_string_elem_size_at): Likewise.
17427
60f5a8b5
SP
174282013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17429
2a983a2e
SP
17430 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17431 code.
17432 (cc32): Likewise.
17433
e69804d1
SP
17434 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17435 (__acr): Likewise.
17436 (__cpy): Likewise.
17437 (norm): Likewise.
17438 (denorm): Likewise.
17439 (__dbl_mp): Likewise.
17440 (add_magnitudes): Likewise.
17441 (sub_magnitudes): Likewise.
17442 (__mul): Likewise.
17443 (__inv): Likewise.
17444
2f22a1e8
SP
17445 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17446 style.
17447
8930ddc7
SP
17448 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17449 style.
17450
dc60cb11
SP
17451 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17452 code.
17453
60f5a8b5
SP
17454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17455 up changes with default code.
17456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17457 Likewise.
17458
b4d1fd33
AM
174592013-02-24 Allan McRae <allan@archlinux.org>
17460
faf6f8bc
AM
17461 * manual/socket.texi (The Internet Namespace): Order menu items
17462 to match that in the file.
17463
b4d1fd33
AM
17464 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17465 node listing of the info page menu.
17466
2366713d
JM
174672013-02-21 Joseph Myers <joseph@codesourcery.com>
17468
17469 [BZ #13550]
17470 * sysdeps/i386/bp-asm.h: Remove file.
17471 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17472 (PARMS): Do not use macros from bp-asm.h.
17473 (S1): Likewise.
17474 (S2): Likewise.
17475 (SIZE): Likewise.
17476 (__mpn_add_n): Do not use BP_SYM
17477 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17478 "bp-asm.h".
17479 (PARMS): Do not use macros from bp-asm.h.
17480 (S1): Likewise.
17481 (SIZE): Likewise.
17482 (__mpn_addmul_1): Do not use BP_SYM
17483 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17484 "bp-asm.h".
17485 (PARMS): Do not use macros from bp-asm.h.
17486 (SIGMSK): Likewise.
17487 (_setjmp): Likewise. Do not use BP_SYM.
17488 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17489 "bp-asm.h".
17490 (PARMS): Do not use macros from bp-asm.h.
17491 (SIGMSK): Likewise.
17492 (setjmp): Likewise. Do not use BP_SYM.
17493 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17494 "bp-asm.h".
17495 (PARMS): Do not use macros from bp-asm.h.
17496 (__frexp): Do not use BP_SYM.
17497 (frexp): Likewise.
17498 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17499 "bp-asm.h".
17500 (PARMS): Do not use macros from bp-asm.h.
17501 (__frexpf): Do not use BP_SYM.
17502 (frexpf): Likewise.
17503 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17504 "bp-asm.h".
17505 (PARMS): Do not use macros from bp-asm.h.
17506 (__frexpl): Do not use BP_SYM.
17507 (frexpl): Likewise.
17508 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17509 "bp-asm.h".
17510 (PARMS): Do not use macros from bp-asm.h.
17511 (__remquo): Do not use BP_SYM.
17512 (remquo): Likewise.
17513 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17514 "bp-asm.h".
17515 (PARMS): Do not use macros from bp-asm.h.
17516 (__remquof): Do not use BP_SYM.
17517 (remquof): Likewise.
17518 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17519 "bp-asm.h".
17520 (PARMS): Do not use macros from bp-asm.h.
17521 (__remquol): Do not use BP_SYM.
17522 (remquol): Likewise.
17523 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17524 "bp-asm.h".
17525 (PARMS): Do not use macros from bp-asm.h.
17526 (DEST): Likewise.
17527 (SRC): Likewise.
17528 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17529 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17530 "bp-asm.h".
17531 (PARMS): Do not use macros from bp-asm.h.
17532 (strlen): Do not use BP_SYM.
17533 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17534 "bp-asm.h".
17535 (PARMS): Do not use macros from bp-asm.h.
17536 (S1): Likewise.
17537 (S2): Likewise.
17538 (SIZE): Likewise.
17539 (__mpn_add_n): Do not use BP_SYM.
17540 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17541 "bp-asm.h".
17542 (PARMS): Do not use macros from bp-asm.h.
17543 (S1): Likewise.
17544 (SIZE): Likewise.
17545 (__mpn_addmul_1): Do not use BP_SYM.
17546 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17547 weak_alias.
17548 (bzero): Likewise.
17549 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17550 "bp-asm.h".
17551 (PARMS): Do not use macros from bp-asm.h.
17552 (S): Likewise.
17553 (SIZE): Likewise.
17554 (__mpn_lshift): Do not use BP_SYM.
17555 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17556 "bp-asm.h".
17557 (PARMS): Do not use macros from bp-asm.h.
17558 (DEST): Likewise.
17559 (SRC): Likewise.
17560 (LEN): Likewise.
17561 (memcpy): Likewise. Do not use BP_SYM.
17562 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17563 libc_hidden_def and weak_alias.
17564 (mempcpy): Do not use BP_SYM in weak_alias.
17565 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17566 "bp-asm.h".
17567 (PARMS): Do not use macros from bp-asm.h.
17568 (DEST): Likewise.
17569 (LEN): Likewise.
17570 [!BZERO_P] (CHR): Likewise.
17571 (memset): Likewise. Do not use BP_SYM.
17572 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17573 "bp-asm.h".
17574 (PARMS): Do not use macros from bp-asm.h.
17575 (S1): Likewise.
17576 (SIZE): Likewise.
17577 (__mpn_mul_1): Do not use BP_SYM.
17578 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17579 "bp-asm.h".
17580 (PARMS): Do not use macros from bp-asm.h.
17581 (S): Likewise.
17582 (SIZE): Likewise.
17583 (__mpn_rshift): Do not use BP_SYM.
17584 * sysdeps/i386/i586/strchr.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 (CHR): Likewise.
17589 (strchr): Likewise. Do not use BP_SYM.
17590 (index): Do not use BP_SYM in weak_alias.
17591 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17592 "bp-asm.h".
17593 (PARMS): Do not use macros from bp-asm.h.
17594 (DEST): Likewise.
17595 (SRC): Likewise.
17596 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17597 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17598 "bp-asm.h".
17599 (PARMS): Do not use macros from bp-asm.h.
17600 (strlen): Do not use BP_SYM.
17601 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17602 "bp-asm.h".
17603 (PARMS): Do not use macros from bp-asm.h.
17604 (S1): Likewise.
17605 (S2): Likewise.
17606 (SIZE): Likewise.
17607 (__mpn_sub_n): Do not use BP_SYM.
17608 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17609 "bp-asm.h".
17610 (PARMS): Do not use macros from bp-asm.h.
17611 (S1): Likewise.
17612 (SIZE): Likewise.
17613 (__mpn_submul_1): Do not use BP_SYM.
17614 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17615 "bp-asm.h".
17616 (PARMS): Do not use macros from bp-asm.h.
17617 (S1): Likewise.
17618 (S2): Likewise.
17619 (SIZE): Likewise.
17620 (__mpn_add_n): Do not use BP_SYM.
17621 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17622 weak_alias.
17623 (bzero): Likewise.
17624 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17625 "bp-asm.h".
17626 (PARMS): Do not use macros from bp-asm.h.
17627 (BLK2): Likewise.
17628 (LEN): Likewise.
17629 (memcmp): Do not use BP_SYM.
17630 (bcmp): Do not use BP_SYM in weak_alias.
17631 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17632 "bp-asm.h".
17633 (PARMS): Do not use macros from bp-asm.h.
17634 (DEST): Likewise.
17635 (SRC): Likewise.
17636 (LEN): Likewise.
17637 (memcpy): Likewise. Do not use BP_SYM.
17638 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17639 "bp-asm.h".
17640 (PARMS): Do not use macros from bp-asm.h.
17641 (DEST): Likewise.
17642 (SRC): Likewise.
17643 (LEN): Likewise.
17644 (memmove): Likewise. Do not use BP_SYM.
17645 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17646 "bp-asm.h".
17647 (PARMS): Do not use macros from bp-asm.h.
17648 (DEST): Likewise.
17649 (SRC): Likewise.
17650 (LEN): Likewise.
17651 (__mempcpy): Likewise. Do not use BP_SYM.
17652 (mempcpy): Do not use BP_SYM in weak_alias.
17653 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17654 "bp-asm.h".
17655 (PARMS): Do not use macros from bp-asm.h.
17656 (DEST): Likewise.
17657 (LEN): Likewise.
17658 [!BZERO_P] (CHR): Likewise.
17659 (memset): Likewise. Do not use BP_SYM.
17660 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17661 "bp-asm.h".
17662 (PARMS): Do not use macros from bp-asm.h.
17663 (STR2): Likewise.
17664 (strcmp): Do not use BP_SYM.
17665 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17666 "bp-asm.h".
17667 (PARMS): Do not use macros from bp-asm.h.
17668 (STR): Likewise.
17669 (DELIM): Likewise.
17670 [USE_AS_STRTOK_R] (SAVE): Likewise.
17671 (FUNCTION): Likewise. Do not use BP_SYM.
17672 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17673 aliases.
17674 (strtok_r): Likewise.
17675 (__GI___strtok_r): Likewise.
17676 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17677 (PARMS): Do not use macros from bp-asm.h.
17678 (S): Likewise.
17679 (SIZE): Likewise.
17680 (__mpn_lshift): Do not use BP_SYM.
17681 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17682 (PARMS): Do not use macros from bp-asm.h.
17683 (STR): Likewise.
17684 (CHR): Likewise.
17685 (__memchr): Do not use BP_SYM.
17686 (memchr): Do not use BP_SYM in weak_alias.
17687 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17688 (PARMS): Do not use macros from bp-asm.h.
17689 (BLK2): Likewise.
17690 (LEN): Likewise.
17691 (memcmp): Do not use BP_SYM.
17692 (bcmp): Do not use BP_SYM in weak_alias.
17693 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17694 (PARMS): Do not use macros from bp-asm.h.
17695 (S1): Likewise.
17696 (SIZE): Likewise.
17697 (__mpn_mul_1): Do not use BP_SYM.
17698 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17699 "bp-asm.h".
17700 (PARMS): Do not use macros from bp-asm.h.
17701 (STR): Likewise.
17702 (CHR): Likewise.
17703 (__rawmemchr): Do not use BP_SYM.
17704 (rawmemchr): Do not use BP_SYM in weak_alias.
17705 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17706 (PARMS): Do not use macros from bp-asm.h.
17707 (S): Likewise.
17708 (SIZE): Likewise.
17709 (__mpn_rshift): Do not use BP_SYM.
17710 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17711 (PARMS): Do not use macros from bp-asm.h.
17712 (SIGMSK): Likewise.
17713 (__sigsetjmp): Likewise. Do not use BP_SYM.
17714 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17715 (_start): Do not use BP_SYM.
17716 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17717 (PARMS): Do not use macros from bp-asm.h.
17718 (DEST): Likewise.
17719 (SRC): Likewise.
17720 (__stpcpy): Likewise. Do not use BP_SYM.
17721 (stpcpy): Do not use BP_SYM in weak_alias.
17722 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17723 "bp-asm.h".
17724 (PARMS): Do not use macros from bp-asm.h.
17725 (DEST): Likewise.
17726 (SRC): Likewise.
17727 (LEN): Likewise.
17728 (__stpncpy): Likewise. Do not use BP_SYM.
17729 (stpncpy): Do not use BP_SYM in weak_alias.
17730 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17731 (PARMS): Do not use macros from bp-asm.h.
17732 (STR): Likewise.
17733 (CHR): Likewise.
17734 (strchr): Likewise. Do not use BP_SYM.
17735 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17736 "bp-asm.h".
17737 (PARMS): Do not use macros from bp-asm.h.
17738 (STR): Likewise.
17739 (CHR): Likewise.
17740 (__strchrnul): Likewise. Do not use BP_SYM.
17741 (strchrnul): Do not use BP_SYM in weak_alias.
17742 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17743 "bp-asm.h".
17744 (PARMS): Do not use macros from bp-asm.h.
17745 (STOP): Likewise.
17746 (strcspn): Do not use BP_SYM.
17747 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17748 "bp-asm.h".
17749 (PARMS): Do not use macros from bp-asm.h.
17750 (STR): Likewise.
17751 (STOP): Likewise.
17752 (strpbrk): Likewise. Do not use BP_SYM.
17753 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17754 "bp-asm.h".
17755 (PARMS): Do not use macros from bp-asm.h.
17756 (STR): Likewise.
17757 (CHR): Likewise.
17758 (strrchr): Likewise. Do not use BP_SYM.
17759 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17760 (PARMS): Do not use macros from bp-asm.h.
17761 (SKIP): Likewise.
17762 (strspn): Do not use BP_SYM.
17763 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17764 (PARMS): Do not use macros from bp-asm.h.
17765 (STR): Likewise.
17766 (DELIM): Likewise.
17767 (SAVE): Likewise.
17768 (FUNCTION): Likewise. Do not use BP_SYM.
17769 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17770 aliases.
17771 (strtok_r): Likewise.
17772 (__GI___strtok_r): Likewise.
17773 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17774 (PARMS): Do not use macros from bp-asm.h.
17775 (S1): Likewise.
17776 (S2): Likewise.
17777 (SIZE): Likewise.
17778 (__mpn_sub_n): Do not use BP_SYM.
17779 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17780 "bp-asm.h".
17781 (PARMS): Do not use macros from bp-asm.h.
17782 (S1): Likewise.
17783 (SIZE): Likewise.
17784 (__mpn_submul_1): Do not use BP_SYM.
17785 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17786 <bp-sym.h>.
17787 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17788 and <bp-asm.h>.
17789 (PARMS): Do not use macros from bp-asm.h.
17790 (FLAGS): Likewise.
17791 (PTID): Likewise.
17792 (TLS): Likewise.
17793 (CTID): Likewise.
17794 (__clone): Do not use BP_SYM.
17795 (clone): Do not use BP_SYM in weak_alias.
17796 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17797 and <bp-asm.h>.
17798 (PARMS): Do not use macros from bp-asm.h.
17799 (LEN): Likewise.
17800 (__mmap64): Do not use BP_SYM.
17801 (mmap64): Do not use BP_SYM in weak_alias.
17802 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17803 <bp-sym.h> and <bp-asm.h>.
17804 (PARMS): Do not use macros from bp-asm.h.
17805 (__posix_fadvise64_l64): Do not use BP_SYM.
17806 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17807 (PARMS): Do not use macros from bp-asm.h.
17808 (NSOPS): Likewise.
17809 (semtimedop): Do not use BP_SYM.
17810 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17811 and <bp-asm.h>.
17812
582a3cff
AM
178132013-02-21 Allan McRae <allan@archlinux.org>
17814
17815 * manual/message.texi (Charset conversion in gettext):
17816 Move @end statement to beginning of line.
17817
bab8a695
SP
178182013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17819
80945231
SP
17820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17821 static.
17822 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17823 Likewise.
17824
bab8a695
SP
17825 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17826 (denorm): Likewise.
17827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17829
e21d7aa7
AK
178302013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17831
17832 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17833 tail-call to the resolved function if pltexit isn't needed.
17834
4c7a4263
SP
178352013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17836
17837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17838 or Y being zero as being unlikely.
17839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17840 Likewise.
17841
41f49342
CD
178422013-02-20 Carlos O'Donell <carlos@redhat.com>
17843
17844 * manual/nss.texi (System Databases and Name Service Switch):
17845 Remove frobnicate @pxref.
17846
50022a93
TS
178472013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17848
17849 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17850 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17851
08cbd996
PM
178522013-02-20 Petr Machata <pmachata@redhat.com>
17853
17854 * elf/elf.h (R_ARM_TARGET1): New macro.
17855 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17856 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17857 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17858 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17859 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17860 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17861 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17862 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17863 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17864 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17865 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17866 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17867 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17868 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17869 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17870 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17871 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17872 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17873 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17874 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17875 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17876 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17877 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17878 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17879 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17880 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17881 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17882 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17883 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17884 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17885 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17886 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17887 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17888 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17889 (R_ARM_THM_GOT_BREL12): Likewise.
17890 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17891 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17892 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17893 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17894 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17895 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17896 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17897 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17898 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17899
c7b275d6
TS
179002013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17901
17902 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17903 __attribute_used__ to __attribute__ ((unused)).
17904
20cd7fb3
SP
179052013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17906
17907 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17908 powerpc mpa.c.
17909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17910 comment formatting.
17911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17912
92945b52
JM
179132013-02-19 Joseph Myers <joseph@codesourcery.com>
17914
17915 [BZ #13550]
17916 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17917 Remove macro.
17918 (ENTER): Remove both macro definitions.
17919 (LEAVE): Likewise.
17920 (CHECK_BOUNDS_LOW): Likewise.
17921 (CHECK_BOUNDS_HIGH): Likewise.
17922 (CHECK_BOUNDS_BOTH): Likewise.
17923 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17924 (RETURN_BOUNDED_POINTER): Likewise.
17925 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17926 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17927 (POP_ERRNO_LOCATION_RETURN): Likewise.
17928 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17929 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17930 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17931 macros.
17932 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17933 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17934 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17935 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17936 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17937 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17938 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17939 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17940 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17941 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17942 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17943 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17944 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17945 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17946 removed macros.
17947 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17948 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17949 macros.
17950 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17951 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17952 * sysdeps/i386/i586/memset.S (memset): Likewise.
17953 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17954 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17955 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17956 macros.
17957 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17958 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17959 Change uses of L(2) to L(out).
17960 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17961 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17962 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17963 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17964 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17965 removed macros.
17966 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17967 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17968 macros.
17969 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17970 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17971 (RETURN): Do not use macro LEAVE.
17972 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17973 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17974 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17975 * sysdeps/i386/i686/memset.S (memset): Likewise.
17976 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17977 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17978 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17979 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17980 Likewise.
17981 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17982 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17983 L(1_2) and L(1_3) into L(1).
17984 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17985 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17986 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17987 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17988 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17989 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17990 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17991 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17992 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17993 macros.
17994 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17995 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17996 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17997 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17998 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17999 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18000 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18001 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18002 * sysdeps/i386/strcspn.S (strcspn): Likewise.
18003 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18004 * sysdeps/i386/strrchr.S (strrchr): Likewise.
18005 * sysdeps/i386/strspn.S (strspn): Likewise.
18006 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18007 conditional code.
18008 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18009 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18010 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18011 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
18012 L(1_3) into L(1_1).
18013 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18014 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18015 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18016 macros.
18017 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18018
2389741a
JJ
180192013-02-19 Jakub Jelinek <jakub@redhat.com>
18020
18021 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18022 macro.
18023
2016b3cd
SP
180242013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18025
e4f22324
SP
18026 * math/atest-exp.c (exp_mpn): Remove ROUND.
18027 * math/atest-exp2.c (exp_mpn): Likewise.
18028 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18029
2016b3cd
SP
18030 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18031 * stdlib/tst-tls-atexit-lib.c: Likewise.
18032 * stdlib/tst-tls-atexit.c: Likewise.
18033
4be9b544
MF
180342013-02-18 Mike Frysinger <vapier@gentoo.org>
18035
18036 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18037 and __attribute_alloc_size__.
18038
2f62b9ee
MF
180392013-02-18 Mike Frysinger <vapier@gentoo.org>
18040
18041 * include/programs/xmalloc.h: Change __attribute_alloc_size to
18042 __attribute_alloc_size__.
18043 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18044 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18045
6ff444c4
MF
180462013-02-18 Mike Frysinger <vapier@gentoo.org>
18047
18048 * include/programs/xmalloc.h: New file.
18049 * catgets/gencat.c: Include it.
18050 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18051 * elf/pldd.c: Likewise.
18052 * iconv/iconv_charmap.c: Likewise.
18053 * iconv/iconvconfig.c: Likewise.
18054 * iconv/strtab.c: Likewise.
18055 * locale/programs/locale.c: Likewise.
18056 * locale/programs/localedef.h: Likewise.
18057 * locale/programs/simple-hash.c: Likewise.
18058 * nscd/nscd.h: Likewise.
18059 * nss/makedb.c: Likewise.
18060 * sysdeps/generic/ldconfig.h: Likewise.
18061
be179c8a
SP
180622013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18063
ba384f6e
SP
18064 * Versions.def: Add GLIBC_2.18.
18065 * include/link.h (struct link_map): New member l_tls_dtor_count.
18066 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
18067 (__call_tls_dtors): Likewise.
18068 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
18069 __cxa_thread_atexit_impl.
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18071 Likewise.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18073 Likewise.
18074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18075 Likewise.
18076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18077 Likewise.
18078 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
18080 Likewise.
18081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
18082 Likewise.
18083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18084 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18085 Likewise.
18086 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
18087 (tests): Add test case tst-tls-atexit.
18088 (modules-names): Add shared library for tst-tls-atexit.
85891aca 18089 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
18090 (GLIBC_PRIVATE): Add __call_tls_dtors.
18091 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
18092 for libstdc++.
18093 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
18094 * stdlib/tst-tls-atexit.c: New test case.
18095 * stdlib/tst-tls-atexit-lib.c: New test case.
18096
ffaa74cf 18097 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 18098
be179c8a
SP
18099 * elf/Versions (ld): Add _dl_find_dso_for_object.
18100 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
18101 * elf/dl-open.c (_dl_find_dso_for_object): New function.
18102 (dl_open_worker): Use _dl_find_dso_for_object.
18103 * elf/dl-sym.c (do_sym): Likewise.
18104 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
18105
f78b5caa
AK
181062013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18107
18108 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
18109 Syntactic changes only.
18110 (_dl_runtime_profile): Do a tail-call to the resolved function.
18111
29691210
JM
181122013-02-17 Joseph Myers <joseph@codesourcery.com>
18113
18114 [BZ #13550]
18115 * sysdeps/x86_64/bp-asm.h: Remove file.
18116 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
18117 <bp-sym.h> and <bp-asm.h>.
18118 (__clone): Do not use BP_SYM.
18119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
18120 <bp-sym.h> and <bp-asm.h>.
18121 * sysdeps/unix/x86_64/sysdep.S: Likewise.
18122 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
18123 "bp-asm.h".
18124 (_setjmp): Do not use BP_SYM.
18125 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
18126 "bp-asm.h".
18127 (setjmp): Do not use BP_SYM.
18128 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
18129 libc_hidden_def.
18130 (mempcpy): Do not use BP_SYM in weak_alias.
18131 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
18132 "bp-asm.h".
18133 (strchr): Do not use BP_SYM.
18134 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
18135 "bp-asm.h".
18136 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
18137 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
18138 (_start): Do not use BP_SYM.
18139 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
18140 "bp-asm.h".
18141 (strcat): Do not use BP_SYM.
18142 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
18143 "bp-asm.h".
18144 (STRCMP): Do not use BP_SYM.
18145 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
18146 "bp-asm.h".
18147 (STRCPY): Do not use BP_SYM.
18148 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
18149 "bp-asm.h".
18150 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
18151 "bp-asm.h".
18152 (FUNCTION): Do not use BP_SYM.
18153 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
18154 weak_alias.
18155 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18156
f238fd19
AJ
181572013-02-17 Andreas Jaeger <aj@suse.de>
18158
18159 * time/Versions: Sort entries.
18160 * string/Versions: Likewise.
18161 * resolv/Versions: Likewise.
18162 * posix/Versions: Likewise.
18163 * iconv/Versions: Likewise.
18164 * elf/Versions: Likewise.
18165 * wcsmbs/Versions: Likewise.
18166
bd07f23c 181672013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 18168
22af19f9
SP
18169 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18170 loop termination condition.
18171
4709fe76
SP
18172 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18173 variable to calculate EZ.
18174 (__sqr): Likewise.
2d0e0f29
SP
18175
18176 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18177 the lower precision input.
18178
daaa7713
JM
181792013-02-15 Joseph Myers <joseph@codesourcery.com>
18180
18181 [BZ #13550]
18182 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18183 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18184 (run-via-rtld-prefix): Do not handle %-bp tests.
18185 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18186 (all-object-suffixes): Remove .ob.
18187 (bppfx): Remove variable.
18188 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18189 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18190 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18191 [$(build-bounded) = yes] (libtype.ob): Likewise.
18192 * Makerules (elide-routines.ob): Remove variable.
18193 (do-tests-clean): Do not handle *-bp.out.
18194 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18195 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18196 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18197 (tests): Do not include $(tests-bp.out).
18198 (xtests): Do not include $(xtests-bp.out).
18199 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18200 [$(build-bounded) = yes] ($(addprefix
18201 $(objpfx),$(binaries-bounded))): Remove rule.
18202 ($(objpfx)%-bp.out): Remove rule.
18203 * config.make.in (build-bounded): Remove variable.
18204 * crypt/Makefile [$(build-bounded) = yes]
18205 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18206 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18207 append to variable.
18208 [$(build-bounded) = yes] (install-lib): Likewise.
18209 [$(build-bounded) = yes] (generated): Likewise.
18210 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18211 Remove rule.
18212 * intl/Makefile [$(build-bounded) = yes]
18213 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18214 * math/Makefile [$(build-bounded) = yes]
18215 ($(tests:%=$(objpfx)%-bp): Likewise.
18216 * misc/Makefile [$(build-bounded) = yes]
18217 ($(objpfx)tst-tsearch-bp): Likewise.
18218 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18219 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18220 Remove dependency.
18221 * string/Makefile (o-objects.ob): Remove variable.
18222 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18223 (CFLAGS-.ob): Remove variable.
18224 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18225 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18226 both definitions of variable.
18227 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18228 (ASFLAGS-.ob): Remove variable.
18229
e97ed6dd
JM
182302013-02-14 Joseph Myers <joseph@codesourcery.com>
18231
2bdd4ca6
JM
18232 [BZ #13550]
18233 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18234 Remove __BOUNDED_POINTERS__ from condition.
18235 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18236 * string/bits/string2.h [!__NO_STRING_INLINES &&
18237 !__BOUNDED_POINTERS__]: Likewise.
18238 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18239 Likewise.
18240 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18241 Remove conditional code.
18242 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18243 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18244 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18245 condition.
18246
e97ed6dd
JM
18247 [BZ #13550]
18248 * csu/libc-start.c: Do not include <bp-sym.h>.
18249 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18250 * elf/dl-open.c: Do not include <bp-sym.h>.
18251 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18252 * math/fegetenv.c: Do not include <bp-sym.h>.
18253 (fegetenv): Do not use BP_SYM in versioned symbols.
18254 * nptl/sysdeps/pthread/bits/libc-lockP.h
18255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18256 <bp-sym.h>.
18257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18258 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18260 (__pthread_mutex_destroy): Likewise.
18261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18262 (__pthread_mutex_lock): Likewise.
18263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18264 (__pthread_mutex_trylock): Likewise.
18265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18266 (__pthread_mutex_unlock): Likewise.
18267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18268 (__pthread_mutexattr_init): Likewise.
18269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18270 (__pthread_mutexattr_destroy): Likewise.
18271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18272 (__pthread_mutexattr_settype): Likewise.
18273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18274 (__pthread_rwlock_init): Likewise.
18275 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18276 (__pthread_rwlock_destroy): Likewise.
18277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18278 (__pthread_rwlock_rdlock): Likewise.
18279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18280 (__pthread_rwlock_tryrdlock): Likewise.
18281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18282 (__pthread_rwlock_wrlock): Likewise.
18283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18284 (__pthread_rwlock_trywrlock): Likewise.
18285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18286 (__pthread_rwlock_unlock): Likewise.
18287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18288 (__pthread_key_create): Likewise.
18289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18290 (__pthread_setspecific): Likewise.
18291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18292 (__pthread_getspecific): Likewise.
18293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18294 Likewise.
18295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18296 (_pthread_cleanup_push_defer): Likewise.
18297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18298 (_pthread_cleanup_pop_restore): Likewise.
18299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18300 (pthread_setcancelstate): Likewise.
18301 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18302 <bp-sym.h>.
18303 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18304 (memchr): Do not use BP_SYM in weak_alias.
18305 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18306 (fegetenv): Do not use BP_SYM in versioned symbols.
18307 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18308 (fesetenv): Do not use BP_SYM in versioned symbols.
18309 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18310 (feupdateenv): Do not use BP_SYM in versioned symbols.
18311 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18312 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18313 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18314 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18315 (open64): Do not use BP_SYM in weak_alias.
18316 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18317 (fegetenv): Do not use BP_SYM in versioned symbols.
18318 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18319 (fesetenv): Do not use BP_SYM in versioned symbols.
18320 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18321 (feupdateenv): Do not use BP_SYM in versioned symbols.
18322 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18323 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18324 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18325 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18326 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18327 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18328 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18329 <bp-sym.h>.
18330 (__libc_start_main): Do not use BP_SYM.
18331
d6752ccd
SP
183322013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18333
cb57ce60
SP
18334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18335 redundant return line.
18336 (norm): Likewise.
18337 (denorm): Likewise.
18338 (dbl_mp): Likewise.
18339 (sub_magnitudes): Likewise.
18340 (__add): Likewise.
18341 (__sub): Likewise.
18342 (__mul): Likewise.
18343 (__inv): Likewise.
18344 (__dvd): Likewise.
18345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18346 (norm): Likewise.
18347 (denorm): Likewise.
18348 (dbl_mp): Likewise.
18349 (sub_magnitudes): Likewise.
18350 (__add): Likewise.
18351 (__sub): Likewise.
18352 (__mul): Likewise.
18353 (__inv): Likewise.
18354 (__dvd): Likewise.
18355
f414520d
SP
18356 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18357 instead of __mul.
18358 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18359 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18360 (cc32): Likewise.
18361
d6752ccd
SP
18362 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18363 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18365 of __mul for squares.
18366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18367 function
18368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18369 Likewise.
18370 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18371 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18372
70d9946a
JM
183732013-02-13 Joseph Myers <joseph@codesourcery.com>
18374
18375 [BZ #13550]
18376 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18377 code.
18378 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18379 prototype or function definition. Rename ubp_* variables and
18380 parameters. Remove argv definitions conditional on
18381 [__BOUNDED_POINTERS__].
18382 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18383 * elf/dl-runtime.c (_dl_fixup): Likewise.
18384 * include/set-hooks.h (RUN_HOOK): Likewise.
18385 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18386 definition.
18387 * string/strcpy.c (strcpy): Do not use __unbounded.
18388 * sysdeps/generic/frame.h (struct layout): Likewise.
18389 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18390 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18391 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18392 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18393 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18394 (__backtrace): Likewise.
18395 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18396 use __ptrvalue.
18397 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18398 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18399 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18400 Likewise.
18401 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18402 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18403 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18404 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18405 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18406 Do not use __unbounded.
18407 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18408 Rename __unboundedrlimits parameter to rlimits in prototype.
18409 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18410 Do not use __unbounded.
18411 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18412 not use __ptrvalue.
18413 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18414 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18415 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18416 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18417 __ptrvalue or __unbounded.
18418 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18419 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18420 use __unbounded.
18421 (__new_msgctl): Do not use __ptrvalue.
18422 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18423 __unbounded.
18424 (__libc_msgrcv): Do not use __ptrvalue.
18425 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18426 startup_info): Do not use __unbounded.
18427 (__libc_start_main): Likewise. Rename ubp_* variables and
18428 parameters. Remove argv definitions conditional on
18429 [__BOUNDED_POINTERS__].
18430 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18431 __ptrvalue.
18432 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18433 use __unbounded.
18434 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18435 or __ptrvalue.
18436 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18437 use __unbounded.
18438 (__new_shmctl): Do not use __ptrvalue.
18439 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18440 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18441 Likewise.
18442 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18443 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18444 (__libc_sigaction): Likewise.
18445 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18446 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18447 Likewise.
18448 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18449
cc7834d6
OB
184502013-02-13 Ondřej Bílka <neleai@seznam.cz>
18451
ffb1ec7b 18452 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18453
18454 * string/mempcpy.c: Implement by calling memcpy.
18455
bdf02814
SP
184562013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18457
c2af38aa
SP
18458 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18459
4e92d59e
SP
18460 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18461 evaluation.
18462
909279a5
SP
18463 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18464 values in the mantissa.
18465
bdf02814
SP
18466 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18467 minimize writes to Z.
18468 (sub_magnitudes): Simplify code a bit.
18469
cd525923
RM
184702013-02-12 Roland McGrath <roland@hack.frob.com>
18471
18472 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18473 from the message. The linker prefixes all warnings with that already.
18474
7e2f0d2d
AS
184752013-02-12 Andreas Schwab <schwab@suse.de>
18476
a445af0b
AS
18477 [BZ #15078]
18478 * posix/regexec.c (extend_buffers): Add parameter min_len.
18479 (check_matching): Pass minimum needed length.
18480 (clean_state_log_if_needed): Likewise.
18481 (get_subexp): Likewise.
18482 * posix/Makefile (tests): Add bug-regex34.
18483 (bug-regex34-ENV): Define.
18484 * posix/bug-regex34.c: New file.
18485
7e2f0d2d
AS
18486 [BZ #11561]
18487 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18488 elements compare against the byte sequence of it, not its name.
18489 * posix/Makefile (tests): Add bug-regex35.
18490 (bug-regex35-ENV): Define.
18491 * posix/bug-regex35.c: New file.
18492
a175b684
TV
184932013-02-11 Tom de Vries <tom@codesourcery.com>
18494
18495 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18496 comment.
18497 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18498 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18499 (CHECK_EOL): Add undef.
18500
310998fe 185012013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18502
18503 * bits/stdlib-bsearch.h: New file.
18504 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18505 * stdlib/stdlib.h: Likewise.
41eda41d 18506
8ded91fb
RM
185072013-02-11 Roland McGrath <roland@hack.frob.com>
18508
18509 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18510 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18511 declaration.
18512 * manual/search.texi (Array Search Function): Add missing const in
18513 lfind prototype.
18514 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18515 declaration to use rlim_t.
18516 (Basic Scheduling Functions): Remove erroneous const from
18517 sched_getparam prototype. Remove erroneous * from
18518 sched_get_priority_max and sched_get_priority_min prototypes.
18519 (Resource Usage): Fix summary @comment on vtimes to refer to
18520 sys/vtimes.h rather than vtimes.h.
18521 Add missing *s in vtimes prototype.
18522 (Limits on Resources): Fix ulimit prototype to return long int.
18523 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18524 prototypes to use long int rather than double.
18525 (BSD Random): Fix initstate and setstate to use char *, not void *.
18526 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18527 prototype to make second argument 'struct aiocb64 *const[]'.
18528 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18529 (Status of AIO Operations): Remove erroneous const in aio_return and
18530 aio_return64 prototypes.
18531 (Synchronizing I/O): Fix sync prototype to return void.
18532 * manual/startup.texi (Suboptions): Remove an erroneous const in
18533 getsubopt prototype.
18534 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18535 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18536 use size_t rather than int.
18537 (Scanning All Users): Likewise for getpwent_r.
18538 (Setting Groups): Add missing const to setgroups prototype.
18539 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18540 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18541 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18542 'const void *' rather than 'const char *'.
18543 (Host Address Functions): Likewise for inet_ntop.
18544 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18545 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18546 ssize_t for return value.
18547 (Sending Data): Likewise for send, sendto, sendmsg.
18548 (Socket Option Functions): Add a missing const in setsockopt prototype.
18549 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18550 use wchar_t for the argument.
18551 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18552 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18553 take no arguments.
18554 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18555 double/float/long double for second argument.
18556 Fix return types of significand, significandf, significandl.
18557 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18558 argument in fchmod prototype.
18559 (File Owner): Use uid_t and gid_t in fchown prototype.
18560 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18561 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18562 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18563 use 'const struct dirent **' as argument types to CMP function pointer
18564 argument.
18565 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18566 (File Times): Fix summary magic @comment for struct utimbuf and utime
18567 to refer to utime.h, not time.h.
18568 * manual/string.texi (Argz Functions): Add missing const in
18569 argz_extract and argz_next prototypes.
18570 (Finding Tokens in a String): Likewise for basename.
18571 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18572 (Copying and Concatenation): Fix typo in wmemmove prototype.
18573 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18574 (Signal Stack): Remove erroneous const in sigstack prototype.
18575 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18576 prototype.
18577 (Simple Calendar Time): Likewise for stime.
18578 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18579 prototype.
18580 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18581 say sys/sysctl.h instead.
18582 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18583 and vsyslog prototypes.
18584
fe77fe6d
TV
185852013-02-11 Tom de Vries <tom@codesourcery.com>
18586
18587 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18588 Remove.
18589
3a09b620
RM
185902013-02-11 Roland McGrath <roland@hack.frob.com>
18591
18592 * misc/sys/mman.h: Fix typo in mremap comment.
18593
550a0b89
RM
185942013-02-08 Roland McGrath <roland@hack.frob.com>
18595
18596 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18597 the '\0' terminator.
18598
a2da1673
JM
185992013-02-08 Joseph Myers <joseph@codesourcery.com>
18600
18601 [BZ #13550]
18602 * debug/segfault.c: Don't include <bp-checks.h>.
18603 * sysdeps/generic/bp-checks.h: Remove file.
18604 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18605 (__GETDENTS): Don't use CHECK_N.
18606 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18607 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18608 (__getgroups): Don't use CHECK_N.
18609 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18610 (setgroups): Don't use CHECK_N.
18611 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18612 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18613 (__libc_msgrcv): Don't use CHECK_N.
18614 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18615 (__libc_msgsnd): Don't use CHECK_N.
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18617 <bp-checks.h>.
18618 (__libc_pread): Don't use CHECK_N.
18619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18620 include <bp-checks.h>.
18621 (__libc_pread64): Don't use CHECK_N.
18622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18623 include <bp-checks.h>.
18624 (__libc_pwrite): Don't use CHECK_N.
18625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18626 include <bp-checks.h>.
18627 (__libc_pwrite64): Don't use CHECK_N.
18628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18629 <bp-checks.h>.
18630 (__libc_pread): Don't use CHECK_N.
18631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18632 include <bp-checks.h>.
18633 (__libc_pread64): Don't use CHECK_N.
18634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18635 include <bp-checks.h>.
18636 (__libc_pwrite): Don't use CHECK_N.
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18638 include <bp-checks.h>.
18639 (__libc_pwrite64): Don't use CHECK_N.
18640 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18641 (do_pread): Don't use CHECK_N.
18642 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18643 (do_pread64): Don't use CHECK_N.
18644 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18645 (do_pwrite): Don't use CHECK_N.
18646 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18647 (do_pwrite64): Don't use CHECK_N.
18648 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18649 (__libc_readv): Don't use CHECK_N.
18650 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18651 (semop): Don't use CHECK_N.
18652 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18653 <bp-checks.h>.
18654 (semtimedop): Don't use CHECK_N.
18655 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18656 (__libc_pread): Don't use CHECK_N.
18657 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18658 <bp-checks.h>.
18659 (__libc_pread64): Don't use CHECK_N.
18660 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18661 <bp-checks.h>.
18662 (__libc_pwrite): Don't use CHECK_N.
18663 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18664 <bp-checks.h>.
18665 (__libc_pwrite64): Don't use CHECK_N.
18666 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18667 <bp-checks.h>.
18668 (__libc_msgrcv): Don't use CHECK_N.
18669 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18670 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18671 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18672 (__libc_writev): Don't use CHECK_N.
18673
b84660a8
RM
186742013-02-08 Roland McGrath <roland@hack.frob.com>
18675
7f3e75f8
RM
18676 * string/strcpy.c: Removed unused variable.
18677
b84660a8
RM
18678 * Makeconfig (+sysdep-includes): Define with := rather than =.
18679 Use an existing include/ subdir of each sysdeps dir before it.
18680
471514d3
CD
186812013-02-08 Carlos O'Donell <carlos@redhat.com>
18682
18683 * nscd/connection.c (register_traced_file): Comment function.
18684 [HAVE_INOTIFY] (union __inev): Define.
18685 [HAVE_INOTIFY] (inotify_check_files): New function.
18686 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18687 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18688 clear_db_cache.
18689 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18690
b2d3c3be
CD
186912013-02-08 Carlos O'Donell <carlos@redhat.com>
18692
18693 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18694 loaded if not already and that a failure is permanent.
18695
b39949d2
CD
186962013-02-08 Carlos O'Donell <carlos@redhat.com>
18697
ddacd1db 18698 [BZ #15006]
b39949d2
CD
18699 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18700 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18701
b2c9eff4
JM
187022013-02-08 Joseph Myers <joseph@codesourcery.com>
18703
f3aae3f3
JM
18704 [BZ #13550]
18705 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18706 (CHECK_1_NULL_OK): Likewise.
18707 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18708 (__fxstat): Do not use CHECK_1.
18709 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18710 <bp-checks.h>.
18711 (___fxstat64): Do not use CHECK_1.
18712 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18713 <bp-checks.h>.
18714 (__fxstatat): Do not use CHECK_1.
18715 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18716 <bp-checks.h>.
18717 (__fxstatat64): Do not use CHECK_1.
18718 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18719 <bp-checks.h>.
18720 (__fxstat): Do not use CHECK_1.
18721 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18722 <bp-checks.h>.
18723 (__fxstatat): Do not use CHECK_1.
18724 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18725 <bp-checks.h>.
18726 (__getresgid): Do not use CHECK_1.
18727 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18728 <bp-checks.h>.
18729 (__getresuid): Do not use CHECK_1.
18730 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18731 <bp-checks.h>.
18732 (__lxstat): Do not use CHECK_1.
18733 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18734 <bp-checks.h>.
18735 (__old_msgctl): Do not use CHECK_1.
18736 (__new_msgctl): Likewise.
18737 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18738 <bp-checks.h>.
18739 (__new_setrlimit): Do not use CHECK_1.
18740 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18741 <bp-checks.h>.
18742 (__old_shmctl): Do not use CHECK_1.
18743 (__new_shmctl): Likewise.
18744 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18745 <bp-checks.h>.
18746 (__xstat): Do not use CHECK_1.
18747 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18748 (__lxstat): Do not use CHECK_1.
18749 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18750 <bp-checks.h>.
18751 (___lxstat64): Do not use CHECK_1.
18752 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18753 (__old_msgctl): Do not use CHECK_1.
18754 (__new_msgctl): Likewise.
18755 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18756 <bp-checks.h>.
18757 (__gettimeofday): Do not use CHECK_1.
18758 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18759 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18760 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18761 <bp-checks.h>.
18762 (__gettimeofday): Do not use CHECK_1.
18763 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18764 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18765 (__new_shmctl): Do not use CHECK_1.
18766 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18767 <bp-checks.h>.
18768 (do_sigtimedwait): Do not use CHECK_1.
18769 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18770 <bp-checks.h>.
18771 (do_sigwaitinfo): Do not use CHECK_1.
18772 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18773 <bp-checks.h>.
18774 (msgctl): Do not use CHECK_1.
18775 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18776 <bp-checks.h>.
18777 (shmctl): Do not use CHECK_1.
18778 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18779 (ustat): Do not use CHECK_1.
18780 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18781 <bp-checks.h>.
18782 (__fxstat): Do not use CHECK_1.
18783 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18784 <bp-checks.h>.
18785 (__fxstatat): Do not use CHECK_1.
18786 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18787 <bp-checks.h>.
18788 (__lxstat): Do not use CHECK_1.
18789 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18790 <bp-checks.h>.
18791 (__xstat): Do not use CHECK_1.
18792 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18793 (__xstat): Do not use CHECK_1.
18794 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18795 (___xstat64): Do not use CHECK_1.
18796
b2c9eff4
JM
18797 [BZ #13550]
18798 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18799 definitions.
18800 (CHECK_BOUNDS_HIGH): Likewise.
18801 * string/strcpy.c: Do not include <bp-checks.h>.
18802 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18803
f1d70dad
RM
188042013-02-07 Roland McGrath <roland@hack.frob.com>
18805
18806 * nscd/nscd-client.h (__nscd_drop_map_ref):
18807 Add __attribute__ ((unused)).
18808 * nis/nss-nisplus.h (niserr2nss): Likewise.
18809
18810 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18811 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18812
18813 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18814 Remove inline keyword.
18815 * include/rounding-mode.h (round_away): Likewise.
18816 * libio/wfileops.c (adjust_wide_data): Likewise.
18817 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18818 (__m128i_strloadu_tolower): Likewise.
18819 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18820 (__m128i_strloadu_tolower): Likewise.
18821 * time/mktime.c (ydhms_diff): Likewise.
18822 * locale/elem-hash.h (elem_hash): Likewise.
18823 * locale/setlocale.c (setdata): Likewise.
18824 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18825 (re_string_wchar_at): Likewise.
18826 (bitset_not, bitset_merge, bitset_mask): Likewise.
18827 [!(__GNUC__ > 3)] (inline): Remove macro.
18828 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18829 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18830 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18831 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18832 * string/memcmp.c (memcmp_bytes): Likewise.
18833 * locale/programs/locarchive.c (compute_hashval): Likewise.
18834 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18835 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18836 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18837 * nss/getent.c (print_rpc, print_protocols): Likewise.
18838 (print_passwd, print_group, print_aliases): Likewise.
18839 * nis/nss-nisplus.h (niserr2nss): Likewise.
18840 * nscd/connections.c (restart_p): Likewise.
18841 Change return type to bool.
18842
eab55bfb
RM
188432013-02-05 Roland McGrath <roland@hack.frob.com>
18844
7bd642f5
RM
18845 * Makeconfig (all-Depend-files): Add existing
18846 $(sorted-subdirs:=/Depend) files.
18847 (all-subdirs): Remove nss.
18848 * sysdeps/unix/inet/Subdirs: Add it here instead.
18849 * hesiod/Depend: New file.
18850
573c29b2
RM
18851 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18852 instead of calling alloca.
18853
b2e25af0
RM
18854 * io/lseek.c (__lseek): Rename to __libc_lseek.
18855 Define __lseek as an alias.
18856
eab55bfb
RM
18857 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18858
9a0d1941
CD
188592013-02-04 Carlos O'Donell <carlos@redhat.com>
18860
18861 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18862 else clause and remove check for non-standard endianness.
18863
b83bbec4
DM
188642013-02-04 David S. Miller <davem@davemloft.net>
18865
18866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18867
6277fdab
JM
188682013-02-04 Joseph Myers <joseph@codesourcery.com>
18869
18870 [BZ #13550]
18871 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18872 (__ubp_memchr): Remove prototype.
18873 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18874 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18875 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18876 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18877 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18878 Remove alias.
18879 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18880 (__ubp_memchr): Likewise.
18881 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18882 (__ubp_memchr): Likewise.
18883 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18884 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18885 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18886 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18887 CHECK_STRING.
18888 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18889 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18890 (__getcwd): Do not use CHECK_STRING.
18891 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18892 <bp-checks.h>.
18893 (__real_chown): Do not use CHECK_STRING.
18894 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18895 <bp-checks.h>.
18896 (fchownat): Do not use CHECK_STRING.
18897 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18898 CHECK_STRING.
18899 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18900 <bp-checks.h>.
18901 (__lchown): Do not use CHECK_STRING.
18902 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18903 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18904 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18905 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18907 include <bp-checks.h>.
18908 (truncate64): Do not use CHECK_STRING.
18909 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18910 <bp-checks.h>.
18911 (__real_chown): Do not use CHECK_STRING.
18912 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18913 <bp-checks.h>.
18914 (__lchown): Do not use CHECK_STRING.
18915 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18916 <bp-checks.h>.
18917 (__chown): Do not use CHECK_STRING.
18918 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18919 <bp-checks.h>.
18920 (truncate64): Do not use CHECK_STRING.
18921 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18922 Likewise.
18923 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18924 (__xmknod): Do not use CHECK_STRING.
18925 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18926 <bp-checks.h>.
18927 (__xmknodat): Do not use CHECK_STRING.
18928 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18929 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18930
903ae060
AS
189312013-02-04 Andreas Schwab <schwab@suse.de>
18932
18933 [BZ #14142]
18934 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18935 * include/netdb.h: Likewise for h_errno.
18936 * elf/tst-stackguard1.c: Include <tls.h>.
18937
542f9466
JK
189382013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18939
18940 * elf/link.h (struct link_map): Extend the l_addr comment.
18941 * include/link.h (struct link_map): Likewise.
18942
e782a927
JM
189432013-02-01 Joseph Myers <joseph@codesourcery.com>
18944
18945 [BZ #13550]
18946 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18947 (BOUNDED_1): Remove macro.
18948 * debug/backtrace.c: Don't include <bp-checks.h>.
18949 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18950 (__backtrace): Likewise.
18951 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18952 <bp-checks.h>.
18953 (__backtrace): Don't use BOUNDED_1.
18954 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18955 <bp-checks.h>.
18956 (__backtrace): Don't use BOUNDED_1.
18957 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18958 (__backtrace): Don't use BOUNDED_1.
18959 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18960 (shmat): Don't use BOUNDED_N.
18961
8cf28c5e
JM
189622013-01-31 Joseph Myers <joseph@codesourcery.com>
18963
3a7ac8a0
JM
18964 [BZ #13550]
18965 * sysdeps/generic/bp-start.h: Remove file.
18966 * csu/libc-start.c: Don't include <bp-start.h>.
18967 (LIBC_START_MAIN): Set up __environ directly instead of using
18968 INIT_ARGV_and_ENVIRON.
18969 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18970 <bp-start.h>.
18971
f3499f95
JM
18972 [BZ #13550]
18973 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18974 definitions.
18975 (CHECK_FCNTL): Likewise.
18976 (CHECK_N_PAGES): Likewise.
18977
32a45bea
JM
18978 [BZ #13550]
18979 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18980 definitions.
18981 (CHECK_SIGSET_NULL_OK): Likewise.
18982 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18983 <bp-checks.h>.
18984 (sigpending): Don't use CHECK_SIGSET.
18985 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18986 <bp-checks.h>.
18987 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18988 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18989 <bp-checks.h>.
18990 (do_sigsuspend): Don't use CHECK_SIGSET.
18991 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18992 use CHECK_SIGSET.
18993 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18994 (do_sigwait): Don't use CHECK_SIGSET.
18995 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18996 use CHECK_SIGSET.
18997 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18998 include <bp-checks.h>.
18999 (sigpending): Don't use CHECK_SIGSET.
19000 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19001 include <bp-checks.h>.
19002 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19003 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19004 <bp-checks.h>.
19005 (sigpending): Don't use CHECK_SIGSET.
19006 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19007 <bp-checks.h>.
19008 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19009
2e8a5c8c
JM
19010 [BZ #13550]
19011 * sysdeps/generic/bp-semctl.h: Remove file.
19012 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19013 <bp-checks.h> and <bp-semctl.h>.
19014 (__old_semctl): Don't use CHECK_SEMCTL.
19015 (__new_semctl): Likewise.
19016 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19017 and <bp-semctl.h>.
19018 (__old_semctl): Don't use CHECK_SEMCTL.
19019 (__new_semctl): Likewise.
19020 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19021 <bp-checks.h> and <bp-semctl.h>.
19022 (__old_semctl): Don't use CHECK_SEMCTL.
19023 (__new_semctl): Likewise.
19024 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19025 <bp-checks.h> and <bp-semctl.h>.
19026 (semctl): Don't use CHECK_SEMCTL.
19027
c2d54929
JM
19028 [BZ #13550]
19029 * Makerules (elide-bp-thunks): Remove variable.
19030 (elide-routines.oS): Don't use $(elide-bp-thunks).
19031 (elide-routines.os): Likewise.
19032 (elide-routines.o): Likewise.
19033 (elide-routines.op): Likewise.
19034 (elide-routines.og): Likewise.
19035 (objects): Don't use $(bp-thunks).
19036 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19037 include.
19038 (common-generated): Do not add s-proto-bp.d.
19039 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19040 (int): Likewise.
19041 (typ): Likewise.
19042 Do not generate makefile rules for bounded-pointer thunks.
19043 * sysdeps/generic/bp-thunks.h: Remove file.
19044 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19045 * sysdeps/unix/s-proto-bp.S: Likewise.
19046
8cf28c5e
JM
19047 [BZ #15062]
19048 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19049 parts of result separately when argument is not close to line from
19050 -i to i and one part of argument is small.
19051 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19052 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19053 * math/libm-test.inc (cacos_test): Add more tests.
19054 (casin_test): Likewise.
19055 (casinh_test): Likewise.
19056 * sysdeps/i386/fpu/libm-test-ulps: Update.
19057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19058
c4e33b8d
DM
190592013-01-31 David S. Miller <davem@davemloft.net>
19060
19061 * po/de.po: Update from translation team.
19062
3b60b421
MK
190632013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
19064
19065 * time/tzfile.c: Include stdint.h for SIZE_MAX.
19066
bb931195
TS
190672013-01-25 Thomas Schwinge <thomas@codesourcery.com>
19068
b5a5da23
TS
19069 * configure.in (_AC_PROG_CC_C89): New definition.
19070 * configure: Regenerate.
19071
bb931195
TS
19072 * configure.in (AC_PROG_CPP): New definition.
19073 * configure: Regenerate.
19074
8c53a12c
JM
190752013-01-23 Joseph Myers <joseph@codesourcery.com>
19076
19077 * debug/tst-backtrace.h: New file.
19078 * debug/tst-backtrace2.c: Include tst-backtrace.h.
19079 (ret): Remove variable.
19080 (x): Likewise.
19081 (FAIL): Remove macro.
19082 (NO_INLINE): Likewise.
19083 (fn1): Use match function instead of strstr.
19084 * debug/tst-backtrace3.c: Include tst-backtrace.h.
19085 (ret): Remove variable.
19086 (x): Likewise.
19087 (FAIL): Remove macro.
19088 (NO_INLINE): Likewise.
19089 (fn): Use match function instead of strstr.
19090 * debug/tst-backtrace4.c: Include tst-backtrace.h.
19091 (ret): Remove variable.
19092 (x): Likewise.
19093 (FAIL): Remove macro.
19094 (NO_INLINE): Likewise.
19095 (handle_signal): Use match function instead of strstr.
19096 * debug/tst-backtrace5.c: Include tst-backtrace.h.
19097 (ret): Remove variable.
19098 (x): Likewise.
19099 (FAIL): Remove macro.
19100 (NO_INLINE): Likewise.
19101 (handle_signal): Use match function instead of strstr.
19102
4858fa2a
RM
191032013-01-23 Roland McGrath <roland@hack.frob.com>
19104
19105 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
19106
bae8e7f5
DM
191072013-01-23 David S. Miller <davem@davemloft.net>
19108
19109 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
19110 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
19111 argument of CAS if possible.
19112 * sysdeps/sparc/sparc64/bits/atomic.h
19113 (__arch_compare_and_exchange_val_32_acq): Likewise.
19114 (__arch_compare_and_exchange_val_64_acq): Likewise.
19115
9cbbc4ae
PT
191162013-01-23 Pino Toscano <toscano.pino@tiscali.it>
19117
19118 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
19119 * sysdeps/posix/ulimit.c: ... this.
92a601b8 19120 Include <limits.h>.
67b3f58c 19121 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 19122
5655a0b5
AC
191232013-01-23 Adam Conrad <adconrad@0c3.net>
19124
19125 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
19126 (LDFLAGS-tst-array5): Likewise.
19127
052aff95
JM
191282013-01-23 Joseph Myers <joseph@codesourcery.com>
19129
19130 [BZ #15036]
19131 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
19132 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
19133 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
19134 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
19135
7c1e01aa
DM
191362013-01-21 David S. Miller <davem@davemloft.net>
19137
19138 * sysdeps/sparc/backtrace.c: New file.
19139 * sysdeps/sparc/sparc32/backtrace.h: New file.
19140 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
19141 * sysdeps/sparc/sparc64/backtrace.h: New file.
19142 * sysdeps/sparc/sparc64/backtrace.c: Delete.
19143 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
19144 -funwind-tables.
19145
ab087e0a
AS
191462013-01-21 Andreas Schwab <schwab@suse.de>
19147
19148 [BZ #15020]
19149 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
19150 closed its stdout.
19151
ed689c2f
AS
191522013-01-20 Andreas Schwab <schwab@linux-m68k.org>
19153
19154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
19155 "mpa2.h".
19156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19157
31d470ac
JM
191582013-01-18 Joseph Myers <joseph@codesourcery.com>
19159 Mark Mitchell <mark@codesourcery.com>
19160 Tom de Vries <tom@codesourcery.com>
19161 Paul Pluzhnikov <ppluzhnikov@google.com>
19162
19163 * debug/tst-backtrace2.c: New file.
19164 * debug/tst-backtrace3.c: Likewise.
19165 * debug/tst-backtrace4.c: Likewise.
19166 * debug/tst-backtrace5.c: Likewise.
19167 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19168 (CFLAGS-tst-backtrace3.c): Likewise.
19169 (CFLAGS-tst-backtrace4.c): Likewise.
19170 (CFLAGS-tst-backtrace5.c): Likewise.
19171 (LDFLAGS-tst-backtrace2): Likewise.
19172 (LDFLAGS-tst-backtrace3): Likewise.
19173 (LDFLAGS-tst-backtrace4): Likewise.
19174 (LDFLAGS-tst-backtrace5): Likewise.
19175 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19176 tst-backtrace4 and tst-backtrace5.
19177
90567f30 191782013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
19179 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19180
19181 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19182 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19183 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19184 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19186 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19187 "+r" and remove output regs list as redundant. Add explicit inline
19188 asm to specify register of return val to work around compiler codegen
19189 bug. Remove (int) cast on return value. Add return type parameter to
19190 use in macro so that this macro does not truncate return value for
19191 64-bit values.
19192 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19193 pass to INTERNAL_VSYSCALL_NCS.
19194 (INLINE_VSYSCALL): Add 'long int' as return type to
19195 INTERNAL_VSYSCALL_NCS macro invocation.
19196 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19197 INTERNAL_VSYSCALL_NCS macro invocation.
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19199
d3b9ea61
SP
192002013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19201
0b57daeb
SP
19202 [BZ #14496]
19203 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19204 Fix application of SIMD FP exception mask.
19205
caa99d06
SP
19206 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19207 mp_no from a power of two.
19208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19209 __mpexp_twomm1. Use __pow_mp.
19210
d3b9ea61
SP
19211 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19212 multiplication.
19213
1dbaee3c
DM
192142013-01-17 David S. Miller <davem@davemloft.net>
19215
19216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19217
728d7b43
JM
192182013-01-17 Joseph Myers <joseph@codesourcery.com>
19219
19220 [BZ #15023]
19221 * include/complex.h: Condition contents on [!_COMPLEX_H].
19222 (__kernel_casinhf): New prototype.
19223 (__kernel_casinh): Likewise.
19224 (__kernel_casinhl): Likewise.
19225 * math/Makefile (libm_calls): Add k_casinh.
19226 * math/k_casinh.c: New file.
19227 * math/k_casinhf.c: Likewise.
19228 * math/k_casinhl.c: Likewise.
19229 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19230 finite nonzero arguments.
19231 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19232 finite nonzero arguments.
19233 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19234 finite nonzero arguments.
19235 * math/s_casinh.c: Do not include <float.h>.
19236 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19237 * math/s_casinhf.c: Do not include <float.h>.
19238 (__casinhf): Move code for finite nonzero arguments to
19239 k_casinhf.c.
19240 * math/s_casinhl.c: Do not include <float.h>.
19241 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19242 redefine.
19243 (__casinhl): Move code for finite nonzero arguments to
19244 k_casinhl.c.
19245 * math/libm-test.inc (cacos_test): Add more tests.
19246 * sysdeps/i386/fpu/libm-test-ulps: Update.
19247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19248
2a26ef3a
PT
192492013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19250
19251 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19252 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19253 [!HAVE_MREMAP]: Remove [defined linux] case.
19254 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19255
a897655d
SP
192562013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19257
19258 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19259
881ebe89 192602013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
19261
19262 * elf/elf.h (R_386_SIZE32): New relocation.
19263 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19264 R_386_SIZE32.
19265 (elf_machine_rela): Likewise.
19266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19267 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19268
59981e9b
JM
192692013-01-17 Joseph Myers <joseph@codesourcery.com>
19270
19271 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19272 (FP_FAST_FMA): Do not define.
19273 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19274 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19275 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19276 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19277 !_SOFT_FLOAT]: Likewise.
19278 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19279 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19280 value.
19281 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19282 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19283 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19284 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19285 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19286 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19287 file.
19288
cfa8054f
AS
192892013-01-16 Andreas Schwab <schwab@suse.de>
19290
19291 [BZ #14327]
19292 * include/stdlib.h (__mktemp): Add declaration.
19293 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19294 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19295
dd930cc5
SP
192962013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19297
881ebe89
SP
19298 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19299 definitions.
19300 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19301 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19302 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19303 definitions here.
19304 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19305 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19306 definitions.
19307 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19308 and ONE.
19309 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19310 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19311 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19312 definitions.
19313 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19314 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19315 definitions.
19316 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 19317
dd930cc5
SP
19318 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19319
c19a9f89
DM
193202013-01-15 David S. Miller <davem@davemloft.net>
19321
1aa61767
DM
19322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19323 trunc{,f} to libm-sysdep_routes.
19324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19326 file.
19327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19329 file.
19330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19331 file.
19332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19334 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19335 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19336 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19337 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19338 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19339 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19340
c42d5e98
DM
19341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19342 nearbyint{,f} to libm-sysdep_routes.
19343 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19345 New file.
19346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19347 file.
19348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19349 New file.
19350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19351 file.
19352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19354 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19355 file.
19356 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19357 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19358 file.
19359 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19360 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19361 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19362
c19a9f89
DM
19363 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19364 libc_feholdexcept and libc_fesetenv.
19365
357679d2
MF
193662013-01-15 Mike Frysinger <vapier@gentoo.org>
19367
19368 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19369
65a82e3d
DM
193702013-01-14 David S. Miller <davem@davemloft.net>
19371
8b954ab9
DM
19372 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19373 (SPARC_ASM_VIS2_IFUNC): Likewise.
19374 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19376 use of 'siam' instruction.
19377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19378 Likewise.
19379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19380 Likewise.
19381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19382 Likewise.
19383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19385 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19386 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19388 file.
19389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19390 file.
19391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19392 file.
19393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19394 file.
19395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19396 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19400 new VIS2 routines.
19401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19404 Likewise.
19405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19410 routines to libm-sysdep_routines.
19411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19412
65a82e3d
DM
19413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19414 fdim/fdimf to libm-sysdep_routines.
19415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19416 file.
19417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19419 file.
19420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19423 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19424 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19425 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19426 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19427
e34ab705
SP
194282013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19429
2a91b573
SP
19430 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19431 to optimize copies.
19432
1066a534
SP
19433 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19436
e34ab705
SP
19437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19438 local variable MPTWO.
19439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19440 Likewise.
19441
aba5e596
MF
194422013-01-13 Mike Frysinger <vapier@gentoo.org>
19443
19444 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19445 GLOB_NOESCAPE.
19446
e557e9e5
MF
194472013-01-13 Mike Frysinger <vapier@gentoo.org>
19448
19449 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19450
0428cec9
MF
194512013-01-13 Mike Frysinger <vapier@gentoo.org>
19452
19453 * manual/pattern.texi (glob_t): Document gl_flags.
19454 (glob64_t): Likewise.
19455
8794a964
DM
194562013-01-11 David S. Miller <davem@davemloft.net>
19457
66438c3f
RM
19458 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19459 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19460 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19461 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19462 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19463 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19464 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19465 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19466 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19467 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19468 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19469 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19470 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19471
4ae4244d
DM
19472 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19473 sparc V9 rather than using V8 code.
19474 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19475 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19476
8794a964
DM
19477 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19478 Move to...
19479 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19480 Here.
19481
6270516e
RM
194822013-01-11 Roland McGrath <roland@hack.frob.com>
19483
19484 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19485 not in the main loop.
19486 * configure: Regenerated.
19487
6a57d931
JM
194882013-01-11 Joseph Myers <joseph@codesourcery.com>
19489
19490 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19491 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19492 to just #else.
19493 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19494 [!__GLIBC_HAVE_LONG_LONG] case.
19495 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19496 condition to just #else.
19497 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19498 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19499 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19500 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19501 unconditional.
19502 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19503 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19504 #elif condition to just #else.
19505 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19506 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19507 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19508 #elif condition to just #else.
19509
0e8529e9
SE
195102013-01-11 Steve Ellcey <sellcey@mips.com>
19511
19512 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19513 (EF_MIPS_ARCH_64): Fix value.
19514 (EF_MIPS_ARCH_32R2): New.
19515 (EF_MIPS_ARCH_64R2): New.
19516
740b3dbe
L
195172013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19518
19519 * Makeconfig (+link-pie-before-libc): New.
19520 (+link-pie-after-libc): Likewise.
19521 (+link-pie-tests): Likewise.
19522 (+link-pie): Rewritten.
19523 (link-before-libc): Remove $(config-LDFLAGS).
19524 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19525 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19526 (config-LDFLAGS): Renamed to ...
19527 (rtld-LDFLAGS): This.
19528 (rtld-tests-LDFLAGS): New macro.
19529 (link-libc-rpath-link): Likewise.
19530 (link-libc-tests-rpath-link): Likewise.
19531 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19532 (link-libc): Prepand $(link-libc-rpath-link).
19533 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19534 (test-program-prefix): New macro.
19535 (test-via-rtld-prefix): Likewise.
19536 (test-program-cmd): Likewise.
19537 (host-test-program-cmd): Likewise.
19538 * Makefile ($(common-objpfx)testrun.sh): Replace
19539 $(run-program-prefix) with $(test-program-prefix).
19540 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19541 $(rtld-LDFLAGS).
19542 ($(common-objpfx)shlib.lds): Likewise.
19543 (build-module-helper): Likewise.
19544 ($(common-objpfx)format.lds): Likewise.
19545 * Rules (binaries-pie-tests): New.
19546 (binaries-pie-notests): Likewise.
19547 (binaries-pie): Rewritten.
19548 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19549 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19550 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19551 (make-test-out): Replace $(host-built-program-cmd) with
19552 $(host-test-program-cmd).
19553 * config.make.in (build-hardcoded-path-in-tests): New variable.
19554 * configure.in (--enable-hardcoded-path-in-tests): New configure
19555 option.
19556 (hardcoded_path_in_tests): New AC_SUBST.
19557 * configure: Regenerated.
19558 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19559 $(built-program-cmd) with $(test-program-cmd).
19560 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19561 (test_program_cmd): This.
19562 * elf/Makefile ($(objpfx)order.out): Run test with
19563 $(test-program-prefix).
19564 ($(objpfx)order2.out): Likewise.
19565 ($(objpfx)tst-initorder.out): Likewise.
19566 ($(objpfx)tst-initorder2.out): Likewise.
19567 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19568 $(test-program-cmd).
19569 ($(objpfx)tst-array1-static.out): Likewise.
19570 ($(objpfx)tst-array2.out): Likewise.
19571 ($(objpfx)tst-array3.out): Likewise.
19572 ($(objpfx)tst-array4.out): Likewise.
19573 ($(objpfx)tst-array5.out): Likewise.
19574 ($(objpfx)tst-array5-static.out): Likewise.
19575 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19576 $(test-program-cmd).
19577 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19578 $(run-program-prefix) with $(test-program-prefix).
19579 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19580 (test_program_prefix): This.
19581 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19582 $(run-program-prefix) with $(test-program-prefix).
19583 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19584 (test_program_prefix): This.
19585 * iconvdata/tst-tables.sh: Likewise.
19586 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19587 $(run-program-prefix) with $(test-program-prefix).
19588 ($(objpfx)tst-translit.out): Likewise.
19589 ($(objpfx)tst-gettext2.out): Likewise.
19590 ($(objpfx)tst-gettext4.out): Likewise.
19591 ($(objpfx)tst-gettext6.out): Likewise.
19592 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19593 (test_program_prefix): This.
19594 * intl/tst-gettext2.sh: Likewise.
19595 * intl/tst-gettext4.sh Likewise.
19596 * intl/tst-gettext6.sh: Likewise.
19597 * intl/tst-translit.sh: Likewise.
19598 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19599 with $(test-program-cmd).
19600 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19601 $(run-program-prefix) with $(test-program-prefix).
19602 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19603 (test_program_prefix): This.
19604 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19605 $(run-program-prefix) with $(test-program-prefix).
19606 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19607 (test_program_prefix): This.
19608 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19609 * posix/Makefile ($(objpfx)globtest.out): Replace
19610 $(run-via-rtld-prefix) and $(test-wrapper) with
19611 $(test-program-prefix) and $(test-via-rtld-prefix).
19612 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19613 $(test-program-prefix).
19614 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19615 $(host-test-program-cmd).
19616 (tst-spawn-ARGS): Likewise.
19617 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19618 $(test-program-prefix).
19619 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19620 (test_via_rtld_prefix): This.
19621 (test_wrapper): Renamed to ...
19622 (test_program_prefix): This.
19623 (run_program_prefix): Replaced by test_program_prefix.
19624 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19625 (test_program_prefix): This.
19626 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19627 with $(host-test-program-cmd).
19628 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19629 $(run-program-prefix) with $(test-program-prefix).
19630 ($(objpfx)tst-printf.out): Likewise.
19631 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19632 $(test-program-cmd).
19633 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19634 (test_program_prefix): This.
19635 * stdio-common/tst-unbputc.sh: Likewise.
19636 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19637 $(run-program-prefix) with $(test-program-prefix).
19638 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19639 (test_program_prefix): This.
19640 * string/Makefile ($(objpfx)tst-svc.out): Replace
19641 $(built-program-cmd) with $(test-program-cmd).
19642
c6fe55cf
AJ
196432013-01-11 Andreas Jaeger <aj@suse.de>
19644
19645 [BZ #15003]
19646 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19647 value. Sync with Linux 3.7.
19648
9e6919c8
DM
196492013-01-10 David S. Miller <davem@davemloft.net>
19650
19651 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19652 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19653 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19654
1c9f1a02
RM
196552013-01-10 Roland McGrath <roland@hack.frob.com>
19656
19657 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19658 never set.
19659 * configure: Regenerated.
19660
b9de2dde
DM
196612013-01-10 David S. Miller <davem@davemloft.net>
19662
19663 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19664 sparc V9 rather than using V8 code.
19665 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19666 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19667
e7f68ef4
RM
196682013-01-10 Roland McGrath <roland@hack.frob.com>
19669
19670 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19671 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19672 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19673 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19674 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19675 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19676 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19677 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19678 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19679 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19680 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19681 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19682 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19683 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19684 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19685 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19686 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19687 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19688 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19689 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19690 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19691 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19692 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19693 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19694 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19695 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19696 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19697
5a47cc9c
DM
196982013-01-10 David S. Miller <davem@davemloft.net>
19699
19700 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19701
4cf8f209
L
197022013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19703
19704 * posix/Makefile (tests-static): New variable.
19705 (tests): Add $(tests-static).
19706 (tst-exec-static-ARGS): New variable.
19707 (tst-spawn-static-ARGS): Likewise.
19708 * posix/tst-exec-static.c: New file.
19709 * posix/tst-spawn-static.c: Likewise.
19710 * posix/tst-exec.c: Support run directly.
19711 * posix/tst-spawn.c: Likewise.
19712
fed0faa1
JM
197132013-01-10 Joseph Myers <joseph@codesourcery.com>
19714
828beb13
JM
19715 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19716 long.
19717 * math/bits/mathcalls.h (llrint): Likewise.
19718 (llround): Likewise.
19719 * stdlib/stdlib.h (struct drand48_data): Likewise.
19720 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19721 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19722 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19723 Likewise.
19724 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19725 Likewise.
19726 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19727 (elf_greg_t): Likewise.
19728 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19729 (__jmp_buf): Likewise.
19730 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19731 definitions.
19732 (llrint): Likewise, for all definitions.
19733 (llrintl): Likewise.
19734
fed0faa1
JM
19735 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19736 Remove [__GNUC__] condition.
19737 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19738 condition to just [__USE_ISOC99].
19739 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19740
1a20cb20
L
197412013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19742
19743 [BZ #14200]
19744 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19745 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19746 defined.
19747 (_POSIX_V6_ILP32_OFF32): Likewise.
19748 (_XBS5_ILP32_OFF32): Likewise.
19749 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19750 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19751
751b85f7
SP
197522013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19753
7490eb81
SP
19754 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19755
751b85f7
SP
19756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19757 doubles __mpexp_twomm1. Adjust usage.
19758 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19759 Remove.
19760
988197f0
AS
197612013-01-10 Andreas Schwab <schwab@suse.de>
19762
19763 [BZ #14964]
19764 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19765 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19766
e83d7298
DM
197672013-01-09 David S. Miller <davem@davemloft.net>
19768
034ed64b 19769 [BZ #15003]
57f41c40
AS
19770 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19771 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19772 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19773 (TCP_FASTOPEN): Define.
e83d7298
DM
19774 (tcp_repair_opt): New structure.
19775 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19776 enum values.
57f41c40
AS
19777 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19778 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19779 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
19780 (tcp_cookie_transactions): New structure.
19781
d5e0b9bd
AB
197822013-01-09 Anton Blanchard <anton@samba.org>
19783
19784 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19785 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19786 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19787 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19788
0c07e3ea
JM
197892013-01-09 Joseph Myers <joseph@codesourcery.com>
19790
19791 * include/features.h (__USE_ANSI): Remove.
19792
232f7002
RM
197932013-01-09 Roland McGrath <roland@hack.frob.com>
19794
ad98e30c
RM
19795 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19796
232f7002
RM
19797 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19798
950c99ca
SP
197992013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19800
b5792741
SP
19801 * sysdeps/s390/fpu/libm-test-ulps: Update.
19802
47cf2278
SP
19803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19804
950c99ca
SP
19805 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19806 (__acr): Likewise.
19807 (__cpy): Likewise.
19808 (norm): Likewise.
19809 (denorm): Likewise.
19810 (__mp_dbl): Likewise.
19811 (__dbl_mp): Likewise.
19812 (add_magnitudes): Likewise.
19813 (sub_magnitudes): Likewise.
19814 (__add): Likewise.
19815 (__sub): Likewise.
19816 (__mul): Likewise.
19817 (__inv): Likewise.
19818 (__dvd): Likewise.
19819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19820 (__acr): Likewise.
19821 (__cpy): Likewise.
19822 (norm): Likewise.
19823 (denorm): Likewise.
19824 (__mp_dbl): Likewise.
19825 (__dbl_mp): Likewise.
19826 (add_magnitudes): Likewise.
19827 (sub_magnitudes): Likewise.
19828 (__add): Likewise.
19829 (__sub): Likewise.
19830 (__mul): Likewise.
19831 (__inv): Likewise.
19832 (__dvd): Likewise.
19833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19834 (__acr): Likewise.
19835 (__cpy): Likewise.
19836 (norm): Likewise.
19837 (denorm): Likewise.
19838 (__mp_dbl): Likewise.
19839 (__dbl_mp): Likewise.
19840 (add_magnitudes): Likewise.
19841 (sub_magnitudes): Likewise.
19842 (__add): Likewise.
19843 (__sub): Likewise.
19844 (__mul): Likewise.
19845 (__inv): Likewise.
19846 (__dvd): Likewise.
19847
eede9df9
JM
198482013-01-08 Joseph Myers <joseph@codesourcery.com>
19849
19850 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19851 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19852 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19853 2 && __USE_EXTERN_INLINES]: Likewise.
19854
c40ea3d9
AJ
198552013-01-08 Andreas Jaeger <aj@suse.de>
19856
19857 [BZ# 14985]
19858 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19859 Remove.
19860 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19861 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19862
2ccdea26
AB
198632013-01-07 Anton Blanchard <anton@samba.org>
19864
19865 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19866 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19867 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19868 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19869 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19870 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19871 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19872 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19874 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19875 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19876 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19877 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19878 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19879 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19880 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19881 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19882 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19883 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19884 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19885 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19886 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19887 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19888 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19889 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19890 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19891 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19892 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19894 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19895 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19897 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19898 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19899 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19900 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19901 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19902 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19903 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19904 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19905 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19906 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19907 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19908
a9708fed
JM
199092013-01-07 Joseph Myers <joseph@codesourcery.com>
19910
375607b9
JM
19911 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19912 (__MALLOC_PMT): Likewise.
19913 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19914 [__GNUC__], only on [_LIBC].
19915 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19916 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19917 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19918 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19919 forward declaration.
19920 (realloc_hook_ini): Likewise.
19921 (memalign_hook_ini): Likewise.
19922 (__libc_memalign): Do not use __MALLOC_PMT in variable
19923 declaration.
19924 (__libc_valloc): Likewise.
19925 (__libc_pvalloc): Likewise.
19926 (__libc_calloc): Likewise.
19927 (__posix_memalign): Likewise.
19928
a9708fed
JM
19929 [BZ #14996]
19930 * math/s_casinh.c: Include <float.h>.
19931 (__casinh): Do not do computation with squaring and square root
19932 for large arguments.
19933 * math/s_casinhf.c: Include <float.h>.
19934 (__casinhf): Do not do computation with squaring and square root
19935 for large arguments.
19936 * math/s_casinhl.c: Include <float.h>.
19937 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19938 (__casinhl): Do not do computation with squaring and square root
19939 for large arguments.
19940 * math/libm-test.inc (casin_test): Add more tests.
19941 (casinh_test): Likewise.
19942 * sysdeps/i386/fpu/libm-test-ulps: Update.
19943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19944
afec409a
L
199452013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19946
19947 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19948 (__x86_64_raw_data_cache_size): Likewise.
19949 (__x86_64_data_cache_size_half): Likewise.
19950 (__x86_64_raw_data_cache_size_half): Likewise.
19951 (__x86_64_shared_cache_size): Likewise.
19952 (__x86_64_raw_shared_cache_size): Likewise.
19953 (__x86_64_shared_cache_size_half): Likewise.
19954 (__x86_64_raw_shared_cache_size_half): Likewise.
19955 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19956 to ...
19957 (__x86_data_cache_size): This.
19958 (__x86_64_raw_data_cache_size): Renamed to ...
19959 (__x86_raw_data_cache_size): This.
19960 (__x86_64_data_cache_size_half): Renamed to ...
19961 (__x86_data_cache_size_half): This.
19962 (__x86_64_raw_data_cache_size_half): Renamed to ...
19963 (__x86_raw_data_cache_size_half): This.
19964 (__x86_64_shared_cache_size): Renamed to ...
19965 (__x86_shared_cache_size): This.
19966 (__x86_64_raw_shared_cache_size): Renamed to ...
19967 (__x86_raw_shared_cache_size): This.
19968 (__x86_64_shared_cache_size_half): Renamed to ...
19969 (__x86_shared_cache_size_half): This.
19970 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19971 (__x86_raw_shared_cache_size_half): This.
19972 * sysdeps/x86_64/memcpy.S: Updated.
19973 * sysdeps/x86_64/memset.S: Likewise.
19974 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19975 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19976 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19977
0b3986d0
DM
199782013-01-04 David S. Miller <davem@davemloft.net>
19979
19980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19981
e47686e9
AS
199822013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19983
d643bac1
AS
19984 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19985 1 to avoid redefinition warning.
19986 (__USE_GNU): Don't define.
19987 (init_signaling_nan): Protoize.
19988
e47686e9
AS
19989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19990
b18decba
SP
199912013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19992
fffb407f
SP
19993 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19995 (__cpymn): Likewise.
19996 (norm): Remove commented code.
19997 (denorm): Likewise.
19998 (__mp_dbl): Likewise.
19999 (__inv): Likewise.
20000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20001 (__cpymn): Likewise.
20002 (norm): Remove commented code.
20003 (denorm): Likewise.
20004 (__mp_dbl): Likewise.
20005 (__inv): Likewise.
20006
b18decba
SP
20007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20008 mp_no value for 1.0 and 2.0.
20009 (norm): Use RADIXI instead of radixi.d.
20010 (denorm): Likewise.
20011 (__mul): Use 0.0 instead of zero.d.
20012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20013 mp_no value for 1.0 and 2.0.
20014 (norm): Use RADIXI instead of radixi.d.
20015 (denorm): Likewise.
20016 (__mul): Use 0.0 instead of zero.d.
20017
cdc1c96f
JM
200182013-01-04 Joseph Myers <joseph@codesourcery.com>
20019
20020 [BZ #14994]
20021 * math/s_casinh.c (__casinh): Reduce finite argument to first
20022 quadrant then set signs of results at the end.
20023 * math/s_casinhf.c (__casinhf): Likewise.
20024 * math/s_casinhl.c (__casinhl): Likewise.
20025 * math/libm-test.inc (casin_test): Add more tests.
20026 (casinh_test): Likewise.
20027 * sysdeps/i386/fpu/libm-test-ulps: Update.
20028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20029
302913e1
SP
200302013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20031
6420d207
SP
20032 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20033
a9e48ab4
SP
20034 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20035
b7837264
SP
20036 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20037 declarations.
20038 (denorm): Likewise.
20039 (__mp_dbl): Likewise.
20040 (__inv): Likewise.
20041
f8af25d2
SP
20042 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20043 and adjust the header comment.
20044
302913e1
SP
20045 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20046 variable name from declaration.
20047
5d7dd1ca
L
200482013-01-03 H.J. Lu <hongjiu.lu@intel.com>
20049
20050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20051 Initialize COMMON_CPUID_INDEX_7 element.
20052 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
20053 (CPUID_RTM): Likewise.
20054 (HAS_RTM): Likewise.
20055 (COMMON_CPUID_INDEX_7): New enum.
20056
2f5f40f4
AS
200572013-01-03 Andreas Schwab <schwab@linux-m68k.org>
20058
20059 [BZ #14981]
20060 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
20061 size is zero, record memory as freed.
20062
4056f4a0
AJ
200632013-01-03 Andreas Jaeger <aj@suse.de>
20064
20065 * po/ia.po: Add new Interlingua translation.
20066
ab15736f 200672012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
20068
20069 * locale/programs/localedef.c: Fix description of '--posix' flag.
20070
568035b7
JM
200712013-01-02 Joseph Myers <joseph@codesourcery.com>
20072
e6898b8d
JM
20073 * NEWS: Update dates in second copyright notice.
20074 * README: Update copyright dates in example.
20075 * manual/libc.texinfo: Update copyright dates.
20076 * scripts/test-installation.pl: Update copyright date in --version
20077 output.
20078
0e2f9562
JM
20079 * hurd/ctty-input.c: Fix copyright notice formatting.
20080 * hurd/ctty-output.c: Likewise.
20081 * hurd/dtable.c: Likewise.
20082 * hurd/hurd-raise.c: Likewise.
20083 * hurd/hurdprio.c: Likewise.
20084 * hurd/msgportdemux.c: Likewise.
20085 * misc/sys/file.h: Likewise.
20086 * misc/sys/ioctl.h: Likewise.
20087 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20088 * sysdeps/mach/hurd/chdir.c: Likewise.
20089 * sysdeps/mach/hurd/fchdir.c: Likewise.
20090 * sysdeps/mach/hurd/rename.c: Likewise.
20091 * sysdeps/mach/hurd/rmdir.c: Likewise.
20092 * sysdeps/mach/hurd/seekdir.c: Likewise.
20093 * sysdeps/mach/hurd/setsid.c: Likewise.
20094 * sysdeps/posix/wait3.c: Likewise.
20095
568035b7
JM
20096 * All files with FSF copyright notices: Update copyright dates
20097 using scripts/update-copyrights.
20098 * intl/plural.c: Regenerated.
20099 * locale/programs/charmap-kw.h: Likewise.
20100 * locale/programs/locfile-kw.h: Likewise.
20101
da08f647
SP
201022013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20103
0f5477af
SP
20104 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
20105 four values.
20106
44e0d4c2
SP
20107 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
20108 calculation loop and add branch prediction.
20109
4d55b4e5
SP
20110 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
20111 check access beyond bounds of m1np.
20112
da08f647
SP
20113 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20114 MPTWO.
20115 (__inv): Remove local variable MPTWO to use the global
20116 constant.
20117 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
20118 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20119 variable MPTWO.
20120 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
20121 MP3HALFS static const.
20122
8e051029
DM
201232013-01-01 David S. Miller <davem@davemloft.net>
20124
20125 * po/ca.po: Update from translation team.
20126
f4cf5f2d
JM
201272013-01-01 Joseph Myers <joseph@codesourcery.com>
20128
20129 * scripts/update-copyrights: New file.
20130 * Makeconfig: Reformat copyright notice.
20131 * ctype/ctype.h: Likewise.
20132 * debug/swprintf_chk.c: Likewise.
20133 * elf/dl-cache.c: Likewise.
20134 * elf/dl-debug.c: Likewise.
20135 * elf/dl-object.c: Likewise.
20136 * grp/initgroups.c: Likewise.
20137 * hurd/Makefile: Likewise.
20138 * hurd/hurd/signal.h: Likewise.
20139 * hurd/hurdfault.c: Likewise.
20140 * hurd/hurdioctl.c: Likewise.
20141 * hurd/hurdlookup.c: Likewise.
20142 * hurd/intr-msg.c: Likewise.
20143 * iconv/gconv_open.c: Likewise.
20144 * libio/swprintf.c: Likewise.
20145 * locale/lc-ctype.c: Likewise.
20146 * locale/nl_langinfo.c: Likewise.
20147 * mach/Machrules: Likewise.
20148 * mach/Makefile: Likewise.
20149 * malloc/obstack.h: Likewise.
20150 * manual/Makefile: Likewise.
20151 * manual/tsort.awk: Likewise.
20152 * misc/bits/stab.def: Likewise.
20153 * nis/nis_print_group_entry.c: Likewise.
20154 * nis/nis_table.c: Likewise.
20155 * nis/nss_compat/compat-pwd.c: Likewise.
20156 * nis/nss_compat/compat-spwd.c: Likewise.
20157 * po/Makefile: Likewise.
20158 * posix/fnmatch.c: Likewise.
20159 * posix/regex.h: Likewise.
20160 * resolv/Makefile: Likewise.
20161 * resolv/nss_dns/dns-network.c: Likewise.
20162 * resolv/res_hconf.c: Likewise.
20163 * scripts/gen-sorted.awk: Likewise.
20164 * soft-fp/soft-fp.h: Likewise.
20165 * stdio-common/printf.h: Likewise.
20166 * stdlib/monetary.h: Likewise.
20167 * stdlib/random.c: Likewise.
20168 * stdlib/random_r.c: Likewise.
20169 * sysdeps/generic/Makefile: Likewise.
20170 * sysdeps/gnu/Makefile: Likewise.
20171 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20172 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20173 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20178 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20179 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20180 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20181 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20182 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20183 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20184 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20185 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20186 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20187 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20189 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20191 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20192 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20193 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20194 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20195 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20197 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20198 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20199 * sysdeps/mach/hurd/errnos.awk: Likewise.
20200 * sysdeps/mach/hurd/fork.c: Likewise.
20201 * sysdeps/mach/hurd/getcwd.c: Likewise.
20202 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20203 * sysdeps/mach/hurd/mmap.c: Likewise.
20204 * sysdeps/mach/hurd/utimes.c: Likewise.
20205 * sysdeps/mach/hurd/xmknod.c: Likewise.
20206 * sysdeps/posix/profil.c: Likewise.
20207 * sysdeps/posix/readdir_r.c: Likewise.
20208 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20209 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20210 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20211 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20213 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20214 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20215 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20217 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20218 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20219 * sysdeps/pthread/lio_listio.c: Likewise.
20220 * sysdeps/sparc/dl-procinfo.h: Likewise.
20221 * sysdeps/unix/i386/sysdep.S: Likewise.
20222 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20223 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20224 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20225 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20227 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20228 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20229 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20230 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20231 * sysdeps/wordsize-32/divdi3.c: Likewise.
20232 * time/sys/time.h: Likewise.
20233 * wcsmbs/Makefile: Likewise.
20234
0549fbba
DM
202352013-01-01 David S. Miller <davem@davemloft.net>
20236
a141f1a7
DM
20237 * po/fr.po: Update from translation team.
20238
0549fbba
DM
20239 * catgets/gencat.c: Update copyright year.
20240 * csu/version.c: Likewise.
20241 * debug/catchsegv.sh: Likewise.
20242 * debug/pcprofiledump.c: Likewise.
20243 * debug/xtrace.sh: Likewise.
20244 * elf/ldconfig.c: Likewise.
20245 * elf/ldd.bash.in: Likewise.
20246 * elf/pldd.c: Likewise.
20247 * elf/sotruss.ksh: Likewise.
20248 * elf/sprof.c: Likewise.
20249 * iconv/iconv_prog.c: Likewise.
20250 * iconv/iconvconfig.c: Likewise.
20251 * locale/programs/locale.c: Likewise.
20252 * locale/programs/localedef.c: Likewise.
20253 * login/programs/pt_chown.c: Likewise.
20254 * malloc/memusage.sh: Likewise.
20255 * malloc/memusagestat.c: Likewise.
20256 * malloc/mtrace.pl: Likewise.
20257 * nscd/nscd.c: Likewise.
20258 * nss/getent.c: Likewise.
20259 * nss/makedb.c: Likewise.
20260 * posix/getconf.c: Likewise.
20261
18ea052c
SP
202622012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20263
20264 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20265 numbers.
20266
9c89fca6
MF
202672012-12-30 Mike Frysinger <vapier@gentoo.org>
20268
20269 * math/bits/mathcalls.h (modf): Use __nonnull.
20270
085ec079
SP
202712012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20272
20273 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20274 (split): Use macro CN instead of the bare value.
20275 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20276 could be used.
20277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20278 instead of the bare value.
20279 (power1): Likewise.
20280
6d9f97e1
SP
202812012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20282
d63f73be
SP
20283 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20284 __ATAN_TWOM.
20285 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20286
6d9f97e1
SP
20287 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20288 their values.
20289 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20290 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20291 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20292 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20293
4c4febf5
AJ
202942012-12-28 Andreas Jaeger <aj@suse.de>
20295
af5843ef
AJ
20296 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20297 values are from Linux 3.7.
20298
4c4febf5
AJ
20299 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20300 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20301
99136f82
SP
203022012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20303
2f216c3c 20304 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
20305 TRUE case.
20306
99136f82
SP
20307 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20308 (norm): Likewise.
20309 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20310 variables with preprocessor constants.
20311 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20312 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20313 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20314
7fffbdff
BH
203152012-12-27 Bruno Haible <bruno@clisp.org>
20316
20317 [BZ #14317]
20318 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20319 only if needed.
20320
b76eb5f0
SP
203212012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20322
31a7fe5c
SP
20323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20324 and use variable directly.
20325 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20326
b76eb5f0
SP
20327 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20328 MPONE.
20329 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20330 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20331 variable MPONE.
20332 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20334 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20335 include directive. Remove local variable MPONE.
20336 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20337 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20338 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20339
2c8bfe7d
DM
203402012-12-25 David S. Miller <davem@davemloft.net>
20341
20342 * version.h (RELEASE): Set to "development".
20343 (VERSION): Set to "2.17.90".
20344 * NEWS: Add 2.18 section.
20345
147d03b0
DM
203462012-12-21 David S. Miller <davem@davemloft.net>
20347
20348 * po/hr.po: Update from translation team.
20349
a8ebb2b9
AK
203502012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20351
20352 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20353
95b4f1b6
SE
203542012-12-19 Steve Ellcey <sellcey@mips.com>
20355
b2d94007 20356 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 20357
cedb2a90
MS
203582012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20359
20360 * manual/contrib.texi (Contributors): Spelling correction.
20361
bbf527d6
DM
203622012-12-15 David S. Miller <davem@davemloft.net>
20363
20364 * po/ru.po: Update from translation team.
20365
bc38c906
DM
203662012-12-13 David S. Miller <davem@davemloft.net>
20367
85429b1a
DM
20368 * NEWS: Mention IFUNC testsuite enhancements.
20369
d283e353
DM
20370 * po/pl.po: Update from translation team.
20371 * po/bg.po: Likewise.
20372
bc38c906
DM
20373 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20374 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20375
a181b0d7
DM
203762012-12-11 David S. Miller <davem@davemloft.net>
20377
4641d57e
DM
20378 * po/sv.po: Update from translation team.
20379
f7bc6495
DM
20380 * po/vi.po: Update from translation team.
20381
6fc9048f
DM
20382 * po/cs.po: Update from translation team.
20383
a181b0d7
DM
20384 * po/de.po: Update from translation team.
20385 * po/eo.po: Likewise.
20386 * po/nl.po: Likewise.
20387
f70bfe80
SP
203882012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20389
3c8b4190
SP
20390 [BZ #14246]
20391 * manual/argp.texi (Argp Helper Functions): Move node to follow
20392 Argp Parsing State.
20393
f70bfe80
SP
20394 [BZ #14872]
20395 * manual/conf.texi (Limits on File System Capacity): Mention if
20396 terminating null is included in the max size.
20397
188f0adf
AJ
203982012-12-10 Andreas Jaeger <aj@suse.de>
20399
20400 * po/cs.po: Update from translation team.
20401
56e7d3ad
SP
204022012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20403
20404 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20405 void pointer and cast to uintptr_t.
20406 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20407 path.
20408 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20409 * sysdeps/s390/s390-64/memset.S: Likewise.
20410
76f2d2ea 204112012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
20412
20413 [BZ #14833]
20414 * menual/message.texi (Message Translation): Fix typos.
20415 (Helper programs for gettext): Likewise.
20416
67cbf9a2
AS
204172012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20418
20419 [BZ #14898]
20420 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20421 Change to -1.
20422
682d0e9a
DM
204232012-12-07 David S. Miller <davem@davemloft.net>
20424
20425 * po/libc.pot: Update.
20426
573cd484
RH
204272012-12-07 Richard Henderson <rth@redhat.com>
20428
7e9da188 20429 [BZ #10114]
573cd484
RH
20430 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20431 normal/normal case to before the switch.
20432 (_FP_DIV): Likewise.
20433
e933a943
MF
204342012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20435 Mike Frysinger <vapier@gentoo.org>
20436
20437 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20438 check for __NR_fadvise64_64.
20439
82123268
CM
204402012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20441
20442 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20443 0, not just to plain "0" as a statement.
20444 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20445 with cw.
20446
d9814526
JM
204472012-12-06 Joseph Myers <joseph@codesourcery.com>
20448
20449 * NEWS: Use sourceware.org in Bugzilla URL.
20450
7728c574
SP
204512012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20452
f16946dd
SP
20453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20454 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20455
5704bbcb
SP
20456 * stdio-common/tst-put-error.c (do_test): Add newline to the
20457 padded test to ensure flush.
20458
17aa0516
JL
204592012-12-05 Jeff Law <law@redhat.com>
20460
20461 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20462
363313b5
JM
204632012-12-05 Joseph Myers <joseph@codesourcery.com>
20464
effbd42a
JM
20465 * README: Don't refer to ports add-on as distributed separately.
20466 Mention AArch64 in list of systems supported in the ports add-on.
20467
87600365
JM
20468 * LICENSES: Add more non-FSF copyright and license notices.
20469
a0d7066a
JM
20470 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20471 ((unused)).
20472
66ca5a5b
JM
20473 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20474
363313b5
JM
20475 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20476 10000 as width of padded output.
20477
b37984ad
JM
204782012-12-04 Joseph Myers <joseph@codesourcery.com>
20479
9003570a
JM
20480 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20481
b37984ad
JM
20482 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20483 variable LX with __attribute__ ((unused)).
20484 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20485 Likewise.
20486 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20487 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20488 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20489 with __attribute__ ((unused)).
20490
c8df52ec
DM
204912012-12-04 David S. Miller <davem@abraco.davemloft.net>
20492
20493 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20494
b3b099af
JM
204952012-12-04 Joseph Myers <joseph@codesourcery.com>
20496
c33aa6e3
JM
20497 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20498 (CFLAGS-nldbl-acos.c): New variable.
20499 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20500 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20501 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20502 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20503 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20504 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20505 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20506 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20507 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20508 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20509 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20510 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20511 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20512 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20513 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20514 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20515 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20516 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20517 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20518 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20519 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20520 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20521 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20522 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20523 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20524 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20525 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20526 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20527 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20528 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20529 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20530 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20531 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20532 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20533 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20534 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20535 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20536 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20537 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20538 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20539 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20540 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20541 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20542 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20543 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20544 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20545 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20546 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20547 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20548 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20549 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20550 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20551 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20552 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20553 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20554 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20555 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20556 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20557 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20558 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20559 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20560 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20561 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20562 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20563 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20564 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20565 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20566 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20567 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20568 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20569 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20570 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20571 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20572 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20573 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20574 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20575 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20576 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20577 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20578 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20579 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20580 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20581 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20582 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20583 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20584 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20585 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20586 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20587 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20588 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20589 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20590 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20591 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20592 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20593 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20594 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20595 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20596
20f0018d
JM
20597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20598 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20599
b3b099af
JM
20600 [BZ #14914]
20601 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20602 whole low double instead of just low 47 bits when splitting values
20603 into two parts.
20604
029264d1
AM
206052012-12-03 Allan McRae <allan@archlinux.org>
20606
20607 * manual/stdio.texi (Predefined Printf Handlers): Remove
20608 @hsep and @vsep usage.
20609
c9d6789e
MF
206102012-12-03 Mike Frysinger <vapier@gentoo.org>
20611
20612 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20613 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20614
4b7634a5
JL
206152012-12-03 Jeff Law <law@redhat.com>
20616
20617 * time/sys/time.h (settimeofday): Do not mark TV argument
20618 as __nonnull.
20619
eb6cbd24
MF
206202012-12-01 Mike Frysinger <vapier@gentoo.org>
20621
20622 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20623 when currently writing and seek to current position when not.
20624 * libio/Makefile (tests): Remove bug-fclose1.
20625 * libio/bug-fclose1.c: Delete.
20626
f638872a
JM
206272012-12-01 Joseph Myers <joseph@codesourcery.com>
20628
20629 * manual/arith.texi (feenableexcept): Fix typo.
20630 (fedisableexcept): Likewise.
20631
48085d14
RM
206322012-11-30 Roland McGrath <roland@hack.frob.com>
20633
20634 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20635 second, differently-typed declaration, rather than a cast.
20636
1a538b9f
SP
206372012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20638
20639 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20640 * include/rpc/svc.h: ... here.
20641
d07f2ff1 206422012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20643
20644 [BZ #13013]
20645 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20646 depending n and resplen2 to catch cases where answer
20647 equals answerp2.
20648
c93ec1f0
CD
206492012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20650
20651 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20652 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20653
37db69de
MF
206542012-11-29 Mike Frysinger <vapier@gentoo.org>
20655
20656 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20657
e10c4e4f
RM
206582012-11-29 Roland McGrath <roland@hack.frob.com>
20659
20660 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20661
2af1b328
JL
206622012-11-28 Jeff Law <law@redhat.com>
20663
20664 [BZ #13761]
20665 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20666 dataset_temporary. Track alloca usage into alloca_used.
20667 If dataset is large allocate and release it via malloc/free.
20668
111db5b1
FW
206692012-06-04 Florian Weimer <fweimer@redhat.com>
20670
f06cc227 20671 [BZ #14197]
111db5b1
FW
20672 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20673
dd694abd
DM
206742012-11-28 David S. Miller <davem@davemloft.net>
20675
20676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20677
9984dd01
JM
206782012-11-28 Joseph Myers <joseph@codesourcery.com>
20679
20680 [BZ #14803]
20681 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20682 of pi/2 rounded to nearest to 64 bits.
20683 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20684 nearest to 64 bits.
20685 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20686 bits.
20687
14bc93a9
JL
206882012-11-28 Jeff Law <law@redhat.com>
20689 Martin Osvald <mosvald@redhat.com>
20690
20691 [BZ #14889]
20692 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20693 * sunrpc/svc.c: Include time.h.
20694 (__svc_accept_failed): New function.
20695 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20696 any reason other than EINTR, call __svc_accept_failed.
20697 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20698 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20699
e3c6aa3a
AS
207002012-11-28 Andreas Schwab <schwab@suse.de>
20701
20702 * scripts/abilist.awk: Also handle indirect functions in .opd
20703 section.
20704
1bead169
JM
207052012-11-28 Joseph Myers <joseph@codesourcery.com>
20706
20707 [BZ #13881]
20708 * sysdeps/x86/fpu/powl_helper.c: New file.
20709 * sysdeps/x86/fpu/Makefile: Likewise.
20710 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20711 (p3): New object.
20712 (__ieee754_powl): Use __powl_helper for finite arguments except
20713 integer exponents below 8.
20714 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20715 (p3): New object.
20716 (__ieee754_powl): Use __powl_helper for finite arguments except
20717 integer exponents below 8.
20718 * math/libm-test.inc (pow_test): Add more tests and enable some
20719 previously disabled tests.
20720 * sysdeps/i386/fpu/libm-test-ulps: Update.
20721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20722
0817d63d
SP
207232012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20724 Carlos O'Donell <carlos_odonell@mentor.com>
20725
20726 * nss/makedb.c (is_prime): Assert that input is odd and greater
20727 than 4. Note that fact in a comment too.
20728 (next_prime): Add 4 to input.
20729
de2fd463
SP
207302012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20731
20732 [BZ #11741]
20733 * libio/Makefile (tests): Add test case tst-fwrite-error.
20734 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20735 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20736 * libio/tst-fwrite-error.c: New test case.
20737
c515fb51
L
207382012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20739
20740 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20741 before casting to void *.
20742 * include/libc-internal.h (__pointer_type): New macro.
20743 (__integer_if_pointer_type_sub): Likewise.
20744 (__integer_if_pointer_type): Likewise.
20745 (cast_to_integer): Likewise.
20746 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20747 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20748 before casting to atomic64_t.
20749 (atomic_exchange_acq): Likewise.
20750 (__arch_exchange_and_add_body): Likewise.
20751 (__arch_add_body): Likewise.
20752 (atomic_add_negative): Likewise.
20753 (atomic_add_zero): Likewise.
20754
4cf77aa9
JM
207552012-11-26 Joseph Myers <joseph@codesourcery.com>
20756
20757 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20758 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20759 (add_fdes): Likewise.
20760 (linear_search_fdes): Likewise.
20761 (binary_search_unencoded_fdes): Likewise.
20762
d260b3b4
AS
207632012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20764
20765 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20766
67060746
AC
207672012-11-24 Adam Conrad <adconrad@0c3.net>
20768
20769 * configure.in: Autodetect C++ header directories.
20770 * configure: Regenerated.
20771
800938a1
MF
207722012-11-23 Mike Frysinger <vapier@gentoo.org>
20773
20774 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20775
4e6e34e6
AS
207762012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20777
20778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20779
7c7feb47
JM
207802012-11-22 Joseph Myers <joseph@codesourcery.com>
20781
7184dcdf
JM
20782 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20783 LDBL_MANT_DIG == 106]: Disable some tests.
20784 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20785 Likewise.
20786 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20787 Likewise.
20788
0a42601f
JM
20789 [BZ #14871]
20790 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20791 input for small inputs. Return +/- pi/2 for large inputs.
20792 * math/libm-test.inc (atan_test): Add more tests.
20793
79c9b9fe
JM
20794 * sysdeps/generic/unwind-dw2-fde-glibc.c
20795 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20796 __attribute__ ((unused)).
20797
c60d3bf2
JM
20798 [BZ #14645]
20799 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20800 x * y if x and y are nonzero and z is zero.
20801
ef1e0867
JM
20802 [BZ #14811]
20803 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20804 nonzero exponents with absolute value below 0x1p-117 to +/-
20805 0x1p-117.
20806
1468ded3
JM
20807 [BZ #14869]
20808 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20809 up arguments below 2**-450, not just those below 2**-500.
20810 * math/libm-test.inc (hypot_test): Add another test.
20811
8e27e3cc
JM
20812 [BZ #14868]
20813 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20814 Return a+b for ratio over 2**120, not 2**60.
20815 * math/libm-test.inc (hypot_test): Add another test.
20816
c9c0279b
JM
20817 * math/libm-test.inc (clog_test): Use
20818 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20819 (clog10_test): Likewise.
20820
7c7feb47
JM
20821 [BZ #6778]
20822 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20823
fff1530e
AS
208242012-11-22 Andreas Schwab <schwab@suse.de>
20825
20826 * sysdeps/i386/fpu/libm-test-ulps: Update.
20827
94558d30
PT
208282012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20829
20830 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20831 printf output with newline.
20832
7e1be741
L
208332012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20834
6bfea974
L
20835 [BZ #14865]
20836 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20837 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20838 -z nodlopen, -z initfirst and -z execstack support.
20839 * configure: Regenerated.
20840
7e1be741
L
20841 * elf/elf.h (DF_1_NODIRECT): New macro.
20842 (DF_1_IGNMULDEF): Likewise.
20843 (DF_1_NOKSYMS): Likewise.
20844 (DF_1_NOHDR): Likewise.
20845 (DF_1_EDITED): Likewise.
20846 (DF_1_NORELOC): Likewise.
20847 (DF_1_SYMINTPOSE): Likewise.
20848 (DF_1_GLOBAUDIT): Likewise.
20849 (DF_1_SINGLETON): Likewise.
20850 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20851 DT_1_SUPPORTED_MASK bits.
20852 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20853
105ce2ce
CD
208542012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20855
20856 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20857
123be9de
TS
208582012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20859
d072f3f7
TS
20860 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20861 macro.
20862
123be9de
TS
20863 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20864 (sendmmsg): Move declarations...
20865 * socket/sys/socket.h: ... here.
20866 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20867 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20868 include it from...
20869 * socket/recvmmsg.c: ... this new file.
20870 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20871 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20872 definition of __sendmmsg hidden.
20873 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20874 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20875 Move ENOSYS stub into and include it from...
20876 * socket/sendmmsg.c: ... this new file.
20877 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20878 (sysdep_routines): Move recvmmsg and sendmmsg...
20879 * socket/Makefile (routines): ... here.
20880 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20881 (GLIBC_PRIVATE): Add __sendmmsg.
20882 * include/sys/socket.h (__sendmmsg): Add declarations.
20883 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20884 sendmmsg.
20885
cf9a5d18
JM
208862012-11-20 Joseph Myers <joseph@codesourcery.com>
20887
20888 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20889 variable I1 with __attribute__ ((unused)).
20890 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20891
ecd4caf9
JM
208922012-11-19 Joseph Myers <joseph@codesourcery.com>
20893
be14d48f
JM
20894 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20895 DUMMY variables with __attribute__ ((unused)).
20896
ecd4caf9
JM
20897 * bits/byteswap.h: Include <bits/types.h>.
20898 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20899
986cab95
PT
209002012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20901
20902 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20903 string_t. Do not manually set errno.
20904 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20905 length with __strnlen. Make sure to both set errno and return it on
20906 failure.
20907
6d33cc9d
DM
209082012-11-19 David S. Miller <davem@davemloft.net>
20909
20910 With help from Joseph Myers.
20911 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20912 very large arguments properly.
20913 * math/libm-test.inc (atan_test): New tests.
20914 (atan2_test): New tests.
20915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20917
ee663277
JM
209182012-11-19 Joseph Myers <joseph@codesourcery.com>
20919
877f2d8e
JM
20920 [BZ #14856]
20921 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20922 Define to 3.
20923
116fc08a
JM
20924 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20925 [POSIX] (EADDRNOTAVAIL): Likewise.
20926 [POSIX] (EAFNOSUPPORT): Likewise.
20927 [POSIX] (EALREADY): Likewise.
20928 [POSIX] (ECONNABORTED): Likewise.
20929 [POSIX] (ECONNREFUSED): Likewise.
20930 [POSIX] (ECONNRESET): Likewise.
20931 [POSIX] (EDESTADDRREQ): Likewise.
20932 [POSIX] (EDQUOT): Likewise.
20933 [POSIX] (EHOSTUNREACH): Likewise.
20934 [POSIX] (EIDRM): Likewise.
20935 [POSIX] (EISCONN): Likewise.
20936 [POSIX] (ELOOP): Likewise.
20937 [POSIX] (EMULTIHOP): Likewise.
20938 [POSIX] (ENETDOWN): Likewise.
20939 [POSIX] (ENETUNREACH): Likewise.
20940 [POSIX] (ENOBUFS): Likewise.
20941 [POSIX] (ENODATA): Likewise.
20942 [POSIX] (ENOLINK): Likewise.
20943 [POSIX] (ENOMSG): Likewise.
20944 [POSIX] (ENOPROTOOPT): Likewise.
20945 [POSIX] (ENOSR): Likewise.
20946 [POSIX] (ENOSTR): Likewise.
20947 [POSIX] (ENOTCONN): Likewise.
20948 [POSIX] (ENOTSOCK): Likewise.
20949 [POSIX] (EOPNOTSUPP): Likewise.
20950 [POSIX] (EOVERFLOW): Likewise.
20951 [POSIX] (EPROTO): Likewise.
20952 [POSIX] (EPROTONOSUPPORT): Likewise.
20953 [POSIX] (EPROTOTYPE): Likewise.
20954 [POSIX] (ESTALE): Likewise.
20955 [POSIX] (ETIME): Likewise.
20956 [POSIX] (ETXTBSY): Likewise.
20957 [POSIX] (EWOULDBLOCK): Likewise.
20958 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20959 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20960 [POSIX] (SEEK_CUR): Likewise.
20961 [POSIX] (SEEK_END): Likewise.
20962 [POSIX || UNIX98] (mode_t): Do not require.
20963 [POSIX] (off_t): Likewise.
20964 [POSIX] (pid_t): Likewise.
20965 [POSIX] (sys/stat.h): Do not allow header.
20966 [POSIX] (unistd.h): Likewise.
20967 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20968 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20969 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20970 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20971 require.
20972 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20973 sigevent): Specify elements.
20974 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20975 entry.
20976 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20977 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20978
a483863f
JM
20979 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20980 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20981 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20982 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20983 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20984 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20985 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20986 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20987 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20988 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20989 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20990 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20991 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20992 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20993 Likewise.
20994 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20995 Likewise.
20996 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20997 Likewise.
20998 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20999 Likewise.
21000 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21001 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21002 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21003 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21004 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21005 Specify lower bound on value.
21006 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21007 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21008 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21009 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21010 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21011 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21012 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21013 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21014 value.
21015 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21016 as optional.
21017 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21018 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21019 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21020 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21021 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21022 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21023 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21024 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21025 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21026 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21027 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21028 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21029 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21030 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21031 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21032 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21033 entry.
21034 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21035 optional.
21036 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21037 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21038 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21039 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21040 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21041 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21042 Likewise.
21043 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21044 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21045 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21046 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21047 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
21048 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21049 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21050 as optional.
21051 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21052 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
21053 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
21054 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
21055 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
21056 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
21057 specify as optional.
21058 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
21059 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
21060 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
21061 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
21062 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
21063 [XPG3] (NL_LANGMAX): Likewise.
21064 [POSIX || XPG3] (NL_MSGMAX): Likewise.
21065 [POSIX || XPG3] (NL_NMAX): Likewise.
21066 [POSIX || XPG3] (NL_SETMAX): Likewise.
21067 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
21068 [XPG3] (NZERO): Likewise.
21069 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
21070 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
21071 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
21072 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
21073 (REG_ERANGE): Expect.
21074 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
21075 optional-constant.
21076 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
21077 Use (void) in prototype.
21078 [POSIX] (*_t): Allow.
21079 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
21080 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
21081 (WRDE_BADVAL): Expect.
21082
5ba924e3
JM
21083 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
21084 expect.
21085 [XPG3 || XPG4] (O_RSYNC): Likewise.
21086 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
21087 Likewise.
21088 [XPG3 || XPG4] (pthread_sigmask): Likewise.
21089 [XPG3 || XPG4] (sigqueue): Likewise.
21090 [XPG3 || XPG4] (sigtimedwait): Likewise.
21091 [XPG3 || XPG4] (sigwaitinfo): Likewise.
21092 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
21093 [XPG3 || XPG4] (vsnprintf): Likewise.
21094 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
21095 Likewise.
21096 [XPG3 || XPG4] (blksize_t): Likewise.
21097 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
21098 Likewise.
21099 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
21100 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21101 [XPG3 || XPG4] (struct itimerspec): Likewise.
21102 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
21103 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
21104 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
21105 [XPG3 || XPG4] (clockid_t): Likewise.
21106 [XPG3 || XPG4] (timer_t): Likewise.
21107 [XPG3 || XPG4] (clock_getres): Likewise.
21108 [XPG3 || XPG4] (clock_gettime): Likewise.
21109 [XPG3 || XPG4] (clock_settime): Likewise.
21110 [XPG3 || XPG4] (nanosleep): Likewise.
21111 [XPG3 || XPG4] (timer_create): Likewise.
21112 [XPG3 || XPG4] (timer_delete): Likewise.
21113 [XPG3 || XPG4] (timer_gettime): Likewise.
21114 [XPG3 || XPG4] (timer_getoverrun): Likewise.
21115 [XPG3 || XPG4] (timer_settime): Likewise.
21116 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
21117 [XPG3 || XPG4] (getlogin_r): Likewise.
21118 [XPG3 || XPG4] (pread): Likewise.
21119 [XPG3 || XPG4] (pthread_atfork): Likewise.
21120 [XPG3 || XPG4] (pwrite): Likewise.
21121
ee663277
JM
21122 [BZ #14835]
21123 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
21124 <bits/siginfo.h>.
21125
942caa16
PT
211262012-11-19 Pino Toscano <toscano.pino@tiscali.it>
21127
e19af380
PT
21128 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
21129 finalizing MALLSTREAM.
21130
942caa16
PT
21131 * sysdeps/mach/hurd/syncfs.c: New file.
21132
cfde9b46
SP
211332012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21134
21135 [BZ #14719]
21136 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
21137 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
21138 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
21139 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
21140 (_nss_dns_gethostbyname4_r): Likewise.
21141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
21142 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
21143
f6da27e5
PH
211442012-11-19 Peng Haitao <penght@cn.fujitsu.com>
21145
21146 [BZ #13763]
21147 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
21148
6665d4a2
SM
211492012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
21150
1f51ee92
SM
21151 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
21152 * elf/cache.c (print_entry): Print ",AArch64" for
21153 FLAG_AARCH64_LIB64
21154
6665d4a2
SM
21155 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21156 * elf/cache.c (print_entry): Print ",hard-float" for
21157 FLAG_ARM_LIBHF.
21158
05b227bd
DM
211592012-11-18 David S. Miller <davem@davemloft.net>
21160
21161 With help from Joseph Myers.
21162 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21163 cutoff to 2**-13.
21164 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21165 cutoff to 2**-25.
21166 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21167 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21168 small.
21169 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21170 * math/libm-test.inc (y0_test): New tests.
21171 (y1_test): New tests.
21172 * sysdeps/i386/fpu/libm-test-ulps: Update.
21173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21175
786b0b67
AS
211762012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21177
21178 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21179 64-bit targets.
21180 * configure: Regenerated.
21181
8e18b86d
DM
211822012-11-17 David S. Miller <davem@davemloft.net>
21183
21184 [BZ #14811]
21185 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21186 nonzero exponents with absolute value below 0x1p-128 to +/-
21187 0x1p-128.
21188
531f1ae0
JM
211892012-11-17 Joseph Myers <joseph@codesourcery.com>
21190
12df29e2
JM
21191 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21192
150dc1a0
JM
21193 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21194
531f1ae0
JM
21195 * posix/getconf-speclist.c: New file.
21196 * posix/posix-envs.def: Likewise.
21197 * posix/confstr.c (START_ENV_GROUP): New macro.
21198 (END_ENV_GROUP): Likewise.
21199 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21200 (KNOWN_PRESENT_ENV_STRING): Likewise.
21201 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21202 (UNKNOWN_ENVIRONMENT): Likewise.
21203 (confstr): Include posix-envs.def instead of handling
21204 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21205 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21206 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21207 (END_ENV_GROUP): Likewise.
21208 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21209 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21210 (UNKNOWN_ENVIRONMENT): Likewise.
21211 (__sysconf): Include posix-envs.def instead of handling associated
21212 cases directly here.
21213 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21214 preprocessing getconf-speclist.c rather than running getconf or
21215 generating empty file.
21216
a93f9cbc
PT
212172012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21218
21219 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21220
d64d9f87
AL
212212012-11-16 Andrej Lajovic <natrij@gmail.com>
21222
21223 [BZ #14672]
21224 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21225
447885eb
DM
212262012-11-16 David S. Miller <davem@davemloft.net>
21227
21228 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21229 smaller than LDBL_EPSILON/2.0L, just return xm1.
21230
bcbf9830
L
212312012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21232
21233 * elf/tst-array1.c (init): Set constructor priority to 1000.
21234 (fini): Set destructor priority to 1000.
21235 * elf/tst-array2dep.c: Likewise.
21236
2b766585
SP
212372012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21238
21239 [BZ #11741]
21240 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21241 (_IO_new_file_xsputn): Also return EOF if none of the input
21242 data was written when overflow failed.
21243 * libio/iopadn.c (_IO_padn): Likewise.
21244 * libio/iowpadn.c (_IO_wpadn): Likewise.
21245 * stdio-common/tst-put-error.c: Add copyright notice.
21246 (do_test): Add case for printing padded string.
21247 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21248 _IO_padn returned error.
21249 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21250 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21251 return EOF.
21252
b1848fde
SP
212532012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21254
21255 * libio/libioP.h: Add comment note that the references to C++
21256 bits are now obsolete.
21257
2fd89785
MS
212582012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21259
21260 * math/libm-test.inc (check_complex): Use asprintf.
21261
e3ea5409
JM
212622012-11-14 Joseph Myers <joseph@codesourcery.com>
21263
21264 * debug/pcprofiledump.c (print_version): Update copyright year.
21265 * malloc/memusagestat.c (print_version): Likewise.
21266
2e64d265
L
212672012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21268
21269 [BZ #14831]
21270 * elf/Makefile (tests): Add tst-audit8.
21271 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21272 ($(objpfx)tst-audit8.out): New target.
21273 (tst-audit8-ENV): New variable.
21274 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21275 audit if l_reloc_result is NULL.
21276 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21277 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21278 * elf/tst-audit8.c: New file.
21279
c485e4d2
MS
212802012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21281
21282 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21283 * misc/Makefile (CFLAGS-select.c): Define.
21284 * posix/Makefile (CFLAGS-pause.c): Define.
21285
3a0d900a
DM
212862012-11-13 David S. Miller <davem@davemloft.net>
21287
21288 * crypt/Makefile: Move test targets after toplevel Rules
21289 inclusion. Grab any necessary sysdep routines when linking.
21290 * crypt/md5.c (md5_process_block): Remove define, we will always
21291 name it __md5_process_block.
21292 (md5_finish_ctx): Update md5_process_block call.
21293 (md5_stream): Likewise.
21294 (md5_process_bytes): Likewise.
21295 (md5_process_block): Rename to __md5_process_block and move to ...
21296 * crypt/md5-block.c: ... here.
21297 * crypt/sha256.c (sha256_process_block): Move to ...
21298 * crypt/sha256-block.c: ... here.
21299 * crypt/sha512.c (sha512_process_block): Move to ...
21300 * crypt/sha512-block.c: ... here.
21301 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21302 path.
21303 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21304 * sysdeps/sparc/sparc64/multiarch/Makefile
21305 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21306 crypt subdir.
21307 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21308 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21309 multiarch changes.
21310 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21311 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21312 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21313 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21314 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21315 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21316 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21317 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21318 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21319 file.
21320 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21321 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21322 file.
21323 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21324
8ca89318
JM
213252012-11-13 Joseph Myers <joseph@codesourcery.com>
21326
e27d476a
JM
21327 * timezone/tzselect.ksh: Update from tzcode git revision
21328 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21329 * timezone/zdump.c: Likewise.
21330 * timezone/zic.c: Likewise.
21331 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21332 in TZVERSION setting, not $(PKGVERSION).
21333 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21334 REPORT_BUGS_TO settings.
21335
8ca89318
JM
21336 [BZ #14838]
21337 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21338 macro.
21339
47594329
MS
213402012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21341
21342 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21343 detection to immediately after _FP_ROUND().
21344 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21345 bits are 0.
21346
640ac3f1
DM
213472012-11-11 David S. Miller <davem@davemloft.net>
21348
21349 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21350 inttypes.h
21351 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21352 __close rather than their public counterparts.
21353
3d2577bb
JM
213542012-11-10 Joseph Myers <joseph@codesourcery.com>
21355
21356 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21357 file.
21358 [UNIX98] (sem_timedwait): Do not expect.
21359 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21360 [XPG4 || UNIX98] (sockatmark): Do not expect.
21361 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21362 (clock_getcpuclockid): Do not expect.
21363 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21364 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21365 Do not expect.
21366 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21367 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21368 [UNIX98] (vwscanf): Likewise.
21369 [UNIX98] (vswscanf): Likewise.
21370
fb1ae1ee
JM
213712012-11-09 Joseph Myers <joseph@codesourcery.com>
21372
9ec6f8bd
JM
21373 * timezone/version.h: Remove file.
21374 * timezone/README: Do not refer to version.h.
21375 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21376 $(objpfx)version.h.
21377 ($(objpfx)zdump.o): Likewise.
c3f81911 21378 ($(objpfx)version.h): New target.
9ec6f8bd 21379
0aa8f8a1
JM
21380 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21381 2012i.
21382 * timezone/README: Don't mention modification to tzselect.ksh.
21383 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21384 work on unmodified tzselect.ksh. Substitute version numbers in
21385 tzselect.ksh.
21386
4e87147f
JM
21387 * Makefile (format-me): Remove.
21388 (INSTALL): Adjust indentation. Use commands directly instead of
21389 using $(format-me).
21390
8b748aed
JM
21391 * aclocal.m4 (ACX_PKGVERSION): New macro.
21392 (ACX_BUGURL): Likewise.
21393 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21394 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21395 (REPORT_BUGS_TO): Likewise.
21396 * configure: Regenerated.
21397 * config.h.in (PKGVERSION): New macro.
21398 (REPORT_BUGS_TO): Likewise.
21399 * config.make.in (PKGVERSION): New variable.
21400 (PKGVERSION_TEXI): Likewise.
21401 (REPORT_BUGS_TO): Likewise.
21402 (REPORT_BUGS_TEXI): Likewise.
21403 * Makefile (format-me): Use -I$(common-objpfx)manual.
21404 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21405 ($(common-objpfx)manual/%): New target.
21406 (manual/%): Remove target.
21407 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21408 (print_version): Use PKGVERSION.
21409 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21410 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21411 and REPORT_BUGS_TO.
21412 ($(objpfx)xtrace): Likewise.
21413 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21414 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21415 (print_version): Use PKGVERSION.
21416 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21417 (do_version): Use PKGVERSION.
21418 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21419 REPORT_BUGS_TO.
21420 (common-ldd-rewrite): Likewise.
21421 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21422 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21423 (print_version): Use PKGVERSION.
21424 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21425 * elf/pldd.c (argp_program_bug_address): Remove variable.
21426 (more_help): New function.
21427 (argp): Use more_help.
21428 (print_version): Use PKGVERSION.
21429 * elf/sln.c (main): Use PKGVERSION.
21430 (usage): Use REPORT_BUGS_TO.
21431 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21432 (top level): Use PKGVERSION.
21433 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21434 (print_version): Use PKGVERSION.
21435 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21436 (print_version): Use PKGVERSION.
21437 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21438 (print_version): Use PKGVERSION.
21439 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21440 (print_version): Use PKGVERSION.
21441 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21442 (print_version): Use PKGVERSION.
21443 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21444 (print_version): Use PKGVERSION.
21445 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21446 and BUGURL.
21447 ($(objpfx)memusage): Likewise.
21448 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21449 (do_version): Use PKGVERSION.
21450 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21451 (print_version): Use PKGVERSION.
21452 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21453 ($PKGVERSION): New variable.
21454 ($REPORT_BUGS_TO): Likewise.
21455 (usage): Use $REPORT_BUGS_TO.
21456 (top level): Use $PKGVERSION.
21457 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21458 ($(objpfx)pkgvers.texi): New rule.
21459 ($(objpfx)stamp-pkgvers): Likewise.
21460 * manual/install.texi: Include pkgvers.texi.
21461 (--with-pkgversion): Document new configure option.
21462 (--with-bugurl): Likewise.
21463 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21464 than necessarily for this particular distribution. Use
21465 REPORT_BUGS_TO for where to report bugs.
21466 * INSTALL: Regenerated.
21467 * manual/libc.texinfo: Include pkgvers.texi.
21468 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21469 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21470 (print_version): Use PKGVERSION.
21471 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21472 (print_version): Use PKGVERSION.
21473 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21474 (print_version): Use PKGVERSION.
21475 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21476 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21477 macro.
21478 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21479 (print_version): Use PKGVERSION.
21480 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21481 (print_version): Use PKGVERSION.
21482 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21483 and PKGVERSION.
21484
92e4b6a9
JM
21485 * timezone/checktab.awk: Update from tzcode 2012i.
21486 * timezone/ialloc.c: Likewise.
21487 * timezone/private.h: Likewise.
21488 * timezone/scheck.c: Likewise.
21489 * timezone/tzfile.h: Likewise.
21490 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21491 (TZVERSION): Hardcode tzcode version number.
21492 * timezone/zdump.c: Update from tzcode 2012i.
21493 * timezone/zic.c: Likewise.
21494 * timezone/version.h: New file.
21495 * timezone/README: Describe version.h. Update upstream location.
21496
9bde902c
JM
21497 [BZ #14824]
21498 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21499 (mktemp): Enable declaration.
21500 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21501 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21502 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21503 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21504 Likewise.
21505 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21506 Likewise.
21507 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21508 Likewise.
21509 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21510 Likewise.
21511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21512 Likewise.
21513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21514 Likewise.
21515
fb1ae1ee
JM
21516 [BZ #14821]
21517 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21518 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21519 for copies of such integer values.
21520 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21521 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21522
2c1adbcb
AJ
215232012-11-09 Andreas Jaeger <aj@suse.de>
21524
21525 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21526 definitions and declarations that are provided by
21527 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21528
d0f8457e
AK
215292012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21530
3a235abb 21531 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21532 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21533 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21534 definition.
21535
57241e26
MS
215362012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21537
21538 * elf/elf.h: Update comment before AArch64 relocations.
21539
60e8270d
DM
215402012-11-07 David S. Miller <davem@davemloft.net>
21541
21542 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21543 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21544 (__start_context): Declare.
21545 (__makecontext_ret): Delete.
21546 (__makecontext): Hook up __start_context instead of
21547 __makecontext_ret.
21548 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21549 (sysdep_routines): Add __start_context when in stdlib.
21550
0fbb0fbc
JM
215512012-11-07 Joseph Myers <joseph@codesourcery.com>
21552
21553 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21554 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21555 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21556 hardcoded "nm".
21557 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21558 (READELF): New variable. Use it instead of hardcoded "readelf".
21559
eb48db7e
L
215602012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21561
21562 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21563 * sysdeps/x86/Makefile: Here.
21564 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21565 * sysdeps/x86/tst-xmmymm.sh: This.
21566
05bcf62a
JM
215672012-11-07 Joseph Myers <joseph@codesourcery.com>
21568
c4b6cf53
JM
21569 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21570 expectations.
21571 [UNIX98] (pthread_barrier_t): Do not expect.
21572 [UNIX98] (pthread_barrierattr_t): Likewise.
21573 [UNIX98] (pthread_spinlock_t): Likewise.
21574 [UNIX98] (pthread_barrier_destroy): Likewise.
21575 [UNIX98] (pthread_barrier_init): Likewise.
21576 [UNIX98] (pthread_barrier_wait): Likewise.
21577 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21578 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21579 [UNIX98] (pthread_barrierattr_init): Likewise.
21580 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21581 [UNIX98] (pthread_getcpuclockid): Likewise.
21582 [UNIX98] (pthread_mutex_timedlock): Likewise.
21583 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21584 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21585 [UNIX98] (pthread_sigmask): Likewise.
21586 [UNIX98] (pthread_spin_destroy): Likewise.
21587 [UNIX98] (pthread_spin_init): Likewise.
21588 [UNIX98] (pthread_spin_lock): Likewise.
21589 [UNIX98] (pthread_spin_trylock): Likewise.
21590 [UNIX98] (pthread_spin_unlock): Likewise.
21591 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21592 Do not expect.
21593 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21594 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21595 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21596 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21597 [XPG3 || XPG4] (pthread_key_t): Likewise.
21598 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21599 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21600 [XPG3 || XPG4] (pthread_once_t): Likewise.
21601 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21602 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21603 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21604 [XPG3 || XPG4] (pthread_t): Likewise.
21605
cbe6e120
JM
21606 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21607 not expect.
21608 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21609
1b126443
JM
21610 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21611 Change function return type to int.
21612
b961a573
JM
21613 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21614 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21615 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21616 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21617 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21618 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21619 [!POSIX] (posix_madvise): Likewise.
21620 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21621 && !UNIX98].
21622 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21623 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21624 (mode_t): Likewise.
21625 (posix_mem_offset): Likewise.
21626 (posix_typed_mem_get_info): Likewise.
21627 (posix_typed_mem_open): Likewise.
21628
9e188909
JM
21629 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21630 Change condition to [XOPEN2K8].
21631
05bcf62a
JM
21632 * conform/conformtest.pl: Preprocess allow-header data with -x c
21633 instead of from stdin.
21634 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21635 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21636 [C99-based standards] (cerfc): Likewise.
21637 [C99-based standards] (cexp2): Likewise.
21638 [C99-based standards] (cexpm1): Likewise.
21639 [C99-based standards] (clog10): Likewise.
21640 [C99-based standards] (clog1p): Likewise.
21641 [C99-based standards] (clog2): Likewise.
21642 [C99-based standards] (clgamma): Likewise.
21643 [C99-based standards] (ctgamma): Likewise.
21644 [C99-based standards] (cerff): Likewise.
21645 [C99-based standards] (cerfcf): Likewise.
21646 [C99-based standards] (cexp2f): Likewise.
21647 [C99-based standards] (cexpm1f): Likewise.
21648 [C99-based standards] (clog10f): Likewise.
21649 [C99-based standards] (clog1pf): Likewise.
21650 [C99-based standards] (clog2f): Likewise.
21651 [C99-based standards] (clgammaf): Likewise.
21652 [C99-based standards] (ctgammaf): Likewise.
21653 [C99-based standards] (cerfl): Likewise.
21654 [C99-based standards] (cerfcl): Likewise.
21655 [C99-based standards] (cexp2l): Likewise.
21656 [C99-based standards] (cexpm1l): Likewise.
21657 [C99-based standards] (clog10l): Likewise.
21658 [C99-based standards] (clog1pl): Likewise.
21659 [C99-based standards] (clog2l): Likewise.
21660 [C99-based standards] (clgammal): Likewise.
21661 [C99-based standards] (ctgammal): Likewise.
21662 * conform/data/inttypes.h-data [C99-based standards]: Include
21663 stdint.h-data. Remove all expectations for stdint.h contents.
21664 [C99-based standards] (PRI*): Do not allow.
21665 [C99-based standards] (SCN*): Likewise.
21666 [C99-based standards] (*_t): Likewise.
21667 [C99-based-standards] (PRId8): Expect macro.
21668 [C99-based-standards] (PRIi8): Likewise.
21669 [C99-based-standards] (PRIo8): Likewise.
21670 [C99-based-standards] (PRIu8): Likewise.
21671 [C99-based-standards] (PRIx8): Likewise.
21672 [C99-based-standards] (PRIX8): Likewise.
21673 [C99-based-standards] (SCNd8): Likewise.
21674 [C99-based-standards] (SCNi8): Likewise.
21675 [C99-based-standards] (SCNo8): Likewise.
21676 [C99-based-standards] (SCNu8): Likewise.
21677 [C99-based-standards] (SCNx8): Likewise.
21678 [C99-based-standards] (PRIdLEAST8): Likewise.
21679 [C99-based-standards] (PRIiLEAST8): Likewise.
21680 [C99-based-standards] (PRIoLEAST8): Likewise.
21681 [C99-based-standards] (PRIuLEAST8): Likewise.
21682 [C99-based-standards] (PRIxLEAST8): Likewise.
21683 [C99-based-standards] (PRIXLEAST8): Likewise.
21684 [C99-based-standards] (SCNdLEAST8): Likewise.
21685 [C99-based-standards] (SCNiLEAST8): Likewise.
21686 [C99-based-standards] (SCNoLEAST8): Likewise.
21687 [C99-based-standards] (SCNuLEAST8): Likewise.
21688 [C99-based-standards] (SCNxLEAST8): Likewise.
21689 [C99-based-standards] (PRIdFAST8): Likewise.
21690 [C99-based-standards] (PRIiFAST8): Likewise.
21691 [C99-based-standards] (PRIoFAST8): Likewise.
21692 [C99-based-standards] (PRIuFAST8): Likewise.
21693 [C99-based-standards] (PRIxFAST8): Likewise.
21694 [C99-based-standards] (PRIXFAST8): Likewise.
21695 [C99-based-standards] (SCNdFAST8): Likewise.
21696 [C99-based-standards] (SCNiFAST8): Likewise.
21697 [C99-based-standards] (SCNoFAST8): Likewise.
21698 [C99-based-standards] (SCNuFAST8): Likewise.
21699 [C99-based-standards] (SCNxFAST8): Likewise.
21700 [C99-based-standards] (PRId16): Likewise.
21701 [C99-based-standards] (PRIi16): Likewise.
21702 [C99-based-standards] (PRIo16): Likewise.
21703 [C99-based-standards] (PRIu16): Likewise.
21704 [C99-based-standards] (PRIx16): Likewise.
21705 [C99-based-standards] (PRIX16): Likewise.
21706 [C99-based-standards] (SCNd16): Likewise.
21707 [C99-based-standards] (SCNi16): Likewise.
21708 [C99-based-standards] (SCNo16): Likewise.
21709 [C99-based-standards] (SCNu16): Likewise.
21710 [C99-based-standards] (SCNx16): Likewise.
21711 [C99-based-standards] (PRIdLEAST16): Likewise.
21712 [C99-based-standards] (PRIiLEAST16): Likewise.
21713 [C99-based-standards] (PRIoLEAST16): Likewise.
21714 [C99-based-standards] (PRIuLEAST16): Likewise.
21715 [C99-based-standards] (PRIxLEAST16): Likewise.
21716 [C99-based-standards] (PRIXLEAST16): Likewise.
21717 [C99-based-standards] (SCNdLEAST16): Likewise.
21718 [C99-based-standards] (SCNiLEAST16): Likewise.
21719 [C99-based-standards] (SCNoLEAST16): Likewise.
21720 [C99-based-standards] (SCNuLEAST16): Likewise.
21721 [C99-based-standards] (SCNxLEAST16): Likewise.
21722 [C99-based-standards] (PRIdFAST16): Likewise.
21723 [C99-based-standards] (PRIiFAST16): Likewise.
21724 [C99-based-standards] (PRIoFAST16): Likewise.
21725 [C99-based-standards] (PRIuFAST16): Likewise.
21726 [C99-based-standards] (PRIxFAST16): Likewise.
21727 [C99-based-standards] (PRIXFAST16): Likewise.
21728 [C99-based-standards] (SCNdFAST16): Likewise.
21729 [C99-based-standards] (SCNiFAST16): Likewise.
21730 [C99-based-standards] (SCNoFAST16): Likewise.
21731 [C99-based-standards] (SCNuFAST16): Likewise.
21732 [C99-based-standards] (SCNxFAST16): Likewise.
21733 [C99-based-standards] (PRId32): Likewise.
21734 [C99-based-standards] (PRIi32): Likewise.
21735 [C99-based-standards] (PRIo32): Likewise.
21736 [C99-based-standards] (PRIu32): Likewise.
21737 [C99-based-standards] (PRIx32): Likewise.
21738 [C99-based-standards] (PRIX32): Likewise.
21739 [C99-based-standards] (SCNd32): Likewise.
21740 [C99-based-standards] (SCNi32): Likewise.
21741 [C99-based-standards] (SCNo32): Likewise.
21742 [C99-based-standards] (SCNu32): Likewise.
21743 [C99-based-standards] (SCNx32): Likewise.
21744 [C99-based-standards] (PRIdLEAST32): Likewise.
21745 [C99-based-standards] (PRIiLEAST32): Likewise.
21746 [C99-based-standards] (PRIoLEAST32): Likewise.
21747 [C99-based-standards] (PRIuLEAST32): Likewise.
21748 [C99-based-standards] (PRIxLEAST32): Likewise.
21749 [C99-based-standards] (PRIXLEAST32): Likewise.
21750 [C99-based-standards] (SCNdLEAST32): Likewise.
21751 [C99-based-standards] (SCNiLEAST32): Likewise.
21752 [C99-based-standards] (SCNoLEAST32): Likewise.
21753 [C99-based-standards] (SCNuLEAST32): Likewise.
21754 [C99-based-standards] (SCNxLEAST32): Likewise.
21755 [C99-based-standards] (PRIdFAST32): Likewise.
21756 [C99-based-standards] (PRIiFAST32): Likewise.
21757 [C99-based-standards] (PRIoFAST32): Likewise.
21758 [C99-based-standards] (PRIuFAST32): Likewise.
21759 [C99-based-standards] (PRIxFAST32): Likewise.
21760 [C99-based-standards] (PRIXFAST32): Likewise.
21761 [C99-based-standards] (SCNdFAST32): Likewise.
21762 [C99-based-standards] (SCNiFAST32): Likewise.
21763 [C99-based-standards] (SCNoFAST32): Likewise.
21764 [C99-based-standards] (SCNuFAST32): Likewise.
21765 [C99-based-standards] (SCNxFAST32): Likewise.
21766 [C99-based-standards] (PRId64): Likewise.
21767 [C99-based-standards] (PRIi64): Likewise.
21768 [C99-based-standards] (PRIo64): Likewise.
21769 [C99-based-standards] (PRIu64): Likewise.
21770 [C99-based-standards] (PRIx64): Likewise.
21771 [C99-based-standards] (PRIX64): Likewise.
21772 [C99-based-standards] (SCNd64): Likewise.
21773 [C99-based-standards] (SCNi64): Likewise.
21774 [C99-based-standards] (SCNo64): Likewise.
21775 [C99-based-standards] (SCNu64): Likewise.
21776 [C99-based-standards] (SCNx64): Likewise.
21777 [C99-based-standards] (PRIdLEAST64): Likewise.
21778 [C99-based-standards] (PRIiLEAST64): Likewise.
21779 [C99-based-standards] (PRIoLEAST64): Likewise.
21780 [C99-based-standards] (PRIuLEAST64): Likewise.
21781 [C99-based-standards] (PRIxLEAST64): Likewise.
21782 [C99-based-standards] (PRIXLEAST64): Likewise.
21783 [C99-based-standards] (SCNdLEAST64): Likewise.
21784 [C99-based-standards] (SCNiLEAST64): Likewise.
21785 [C99-based-standards] (SCNoLEAST64): Likewise.
21786 [C99-based-standards] (SCNuLEAST64): Likewise.
21787 [C99-based-standards] (SCNxLEAST64): Likewise.
21788 [C99-based-standards] (PRIdFAST64): Likewise.
21789 [C99-based-standards] (PRIiFAST64): Likewise.
21790 [C99-based-standards] (PRIoFAST64): Likewise.
21791 [C99-based-standards] (PRIuFAST64): Likewise.
21792 [C99-based-standards] (PRIxFAST64): Likewise.
21793 [C99-based-standards] (PRIXFAST64): Likewise.
21794 [C99-based-standards] (SCNdFAST64): Likewise.
21795 [C99-based-standards] (SCNiFAST64): Likewise.
21796 [C99-based-standards] (SCNoFAST64): Likewise.
21797 [C99-based-standards] (SCNuFAST64): Likewise.
21798 [C99-based-standards] (SCNxFAST64): Likewise.
21799 [C99-based-standards] (PRIdMAX): Likewise.
21800 [C99-based-standards] (PRIiMAX): Likewise.
21801 [C99-based-standards] (PRIoMAX): Likewise.
21802 [C99-based-standards] (PRIuMAX): Likewise.
21803 [C99-based-standards] (PRIxMAX): Likewise.
21804 [C99-based-standards] (PRIXMAX): Likewise.
21805 [C99-based-standards] (SCNdMAX): Likewise.
21806 [C99-based-standards] (SCNiMAX): Likewise.
21807 [C99-based-standards] (SCNoMAX): Likewise.
21808 [C99-based-standards] (SCNuMAX): Likewise.
21809 [C99-based-standards] (SCNxMAX): Likewise.
21810 [C99-based-standards] (PRIdPTR): Likewise.
21811 [C99-based-standards] (PRIiPTR): Likewise.
21812 [C99-based-standards] (PRIoPTR): Likewise.
21813 [C99-based-standards] (PRIuPTR): Likewise.
21814 [C99-based-standards] (PRIxPTR): Likewise.
21815 [C99-based-standards] (PRIXPTR): Likewise.
21816 [C99-based-standards] (SCNdPTR): Likewise.
21817 [C99-based-standards] (SCNiPTR): Likewise.
21818 [C99-based-standards] (SCNoPTR): Likewise.
21819 [C99-based-standards] (SCNuPTR): Likewise.
21820 [C99-based-standards] (SCNxPTR): Likewise.
21821 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21822 allow.
21823 * conform/data/stdint.h-data: Update comments to clarify
21824 requirements.
21825 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21826 type.
21827 [C99-based standards] (INT8_MAX): Likewise.
21828 [C99-based standards] (INT16_MIN): Likewise.
21829 [C99-based standards] (INT16_MAX): Likewise.
21830 [C99-based standards] (INT32_MIN): Likewise.
21831 [C99-based standards] (INT32_MAX): Likewise.
21832 [C99-based standards] (INT64_MIN): Likewise.
21833 [C99-based standards] (INT64_MAX): Likewise.
21834 [C99-based standards] (UINT8_MAX): Likewise.
21835 [C99-based standards] (UINT16_MAX): Likewise.
21836 [C99-based standards] (UINT32_MAX): Likewise.
21837 [C99-based standards] (UINT64_MAX): Likewise.
21838 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21839 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21840 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21841 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21842 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21843 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21844 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21845 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21846 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21847 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21848 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21849 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21850 [C99-based standards] (INT_FAST8_MIN): Likewise.
21851 [C99-based standards] (INT_FAST8_MAX): Likewise.
21852 [C99-based standards] (INT_FAST16_MIN): Likewise.
21853 [C99-based standards] (INT_FAST16_MAX): Likewise.
21854 [C99-based standards] (INT_FAST32_MIN): Likewise.
21855 [C99-based standards] (INT_FAST32_MAX): Likewise.
21856 [C99-based standards] (INT_FAST64_MIN): Likewise.
21857 [C99-based standards] (INT_FAST64_MAX): Likewise.
21858 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21859 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21860 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21861 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21862 [C99-based standards] (INTPTR_MIN): Likewise.
21863 [C99-based standards] (INTPTR_MAX): Likewise.
21864 [C99-based standards] (UINTPTR_MAX): Likewise.
21865 [C99-based standards] (INTMAX_MIN): Likewise.
21866 [C99-based standards] (INTMAX_MAX): Likewise.
21867 [C99-based standards] (UINTMAX_MAX): Likewise.
21868 [C99-based standards] (PTRDIFF_MIN): Likewise.
21869 [C99-based standards] (PTRDIFF_MAX): Likewise.
21870 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21871 [C99-based standards] (SIZE_MAX): Likewise.
21872 [C99-based standards] (WCHAR_MAX): Likewise.
21873 [C99-based standards] (WINT_MAX): Likewise.
21874 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21875 constraint on value.
21876 [C99-based standards] (WCHAR_MIN): Likewise.
21877 [C99-based standards] (WINT_MIN): Likewise.
21878 [C99-based standards] (*_t): Allow.
21879 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21880 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21881 Include math.h-data and complex.h-data. Remove all expectations
21882 of math.h and complex.h contents.
21883 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21884 at end of line.
21885 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21886 (struct tm): Expect tag.
21887 [C99-based-standards] (wcstof): Expect function.
21888 [C99-based-standards] (wcstold): Likewise.
21889 [C99-based-standards] (wcstoll): Likewise.
21890 [C99-based-standards] (wcstoull): Likewise.
21891 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21892 macro-int-constant. Specify type.
21893 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21894 constraint on value.
21895 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21896 Specify type.
21897 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21898 Specify value.
21899 [ISO C standards]: Do not allow headers.
21900 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21901 wcs[abcdefghijklmnopqrstuvwxyz]*.
21902 [ISO C standards] (*_t): Do not allow.
21903 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21904 Expect function.
21905 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21906 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21907 Specify type.
21908 [ISO C standards]: Do not allow headers.
21909 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21910 is[abcdefghijklmnopqrstuvwxyz]*.
21911 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21912 to[abcdefghijklmnopqrstuvwxyz]*.
21913 [ISO C standards] (*_t): Do not allow.
21914 * conform/data/stdalign.h-data: New file.
21915 * conform/data/stdbool.h-data: Likewise.
21916 * conform/data/stdnoreturn.h-data: Likewise.
21917
7514feb8
RM
219182012-11-07 Roland McGrath <roland@hack.frob.com>
21919
21920 [BZ #14815]
21921 * manual/filesys.texi (Directory Entries): Typo fix.
21922 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21923
19b2ecfc
MS
219242012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21925
21926 * elf/elf.h (EM_AARCH64): New macro.
21927 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21928 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21929 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21930 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21931 (R_AARCH64_TLSDESC): Likewise.
21932 (NT_ARM_TLS): Likewise.
21933 (NT_ARM_HW_BREAK): Likewise.
21934 (NT_ARM_HW_WATCH): Likewise.
21935
60e235ee
JM
219362012-11-07 Joseph Myers <joseph@codesourcery.com>
21937
21938 [BZ #14811]
21939 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21940 (__ieee754_powl): Saturate nonzero exponents with absolute value
21941 below 0x1p-79 to +/- 0x1p-79.
21942 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21943 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21944 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21945 nonzero exponents with absolute value below 0x1p-32 to +/-
21946 0x1p-32.
21947 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21948 (__ieee754_powl): Saturate nonzero exponents with absolute value
21949 below 0x1p-79 to +/- 0x1p-79.
21950 * math/libm-test.inc (pow_test): Add more tests.
21951
0ab234b7
AK
219522012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21953
21954 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21955 _dl_s390_cap_flags with kernel. Increase string length.
21956 (_dl_s390_platforms): Add z196 and zEC12.
21957
45832f74
JM
219582012-11-07 Joseph Myers <joseph@codesourcery.com>
21959
21960 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21961 Change XOPEN21K to XOPEN2K.
21962
19218757
MK
219632012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21964
21965 * string/memmove.c: Use memcpy when possible.
21966
c5f45721
AJ
219672012-11-06 Andreas Jaeger <aj@suse.de>
21968
21969 * po/eo.po: Update from translation team.
21970
82477c28
JM
219712012-11-06 Joseph Myers <joseph@codesourcery.com>
21972
21973 [BZ #14793]
21974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21975 exponent and small x and y exponents, scale x or y up. Increase
21976 by 2 the exponent used in scaling up.
21977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21978 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21979 * math/libm-test.inc (fma_test): Add more tests.
21980 (fma_test_towardzero): Likewise.
21981 (fma_test_downward): Likewise.
21982 (fma_test_upward): Likewise.
21983
99252c8c
JM
219842012-11-05 Joseph Myers <joseph@codesourcery.com>
21985
acfa885f
JM
21986 [BZ #14805]
21987 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21988 fenv_t *.
21989
99252c8c
JM
21990 [BZ #14801]
21991 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21992 namespace for names of struct fields.
21993 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21994 fenv_t fields.
21995 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21996 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21997
d6d98dea
ST
219982012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21999
22000 [BZ #3665]
22001 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22002
e10bb107
TS
220032012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22004
22005 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22006 PTR_DEMANGLE.
22007
22008 [BZ #5246]
22009 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22010 PTR_DEMANGLE.
22011
a0c2940d
JM
220122012-11-04 Joseph Myers <joseph@codesourcery.com>
22013
22014 [BZ #14797]
22015 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22016 definitely overflow as x * y not x * y + z.
22017 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22018 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22019 * math/libm-test.inc (fma_test): Add more tests.
22020 (fma_test_towardzero): Likewise.
22021 (fma_test_downward): Likewise.
22022 (fma_test_upward): Likewise.
22023
b830319d
TS
220242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
22025
22026 [BZ #157]
22027
22028 * include/stub-tag.h: Remove file.
22029 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22030 '#include' of it.
22031 * manual/maint.texi (Porting): Don't reference it.
22032 * Makerules ($(objpfx)stubs): Likewise.
22033 * dirent/closedir.c: Don't include <stub-tag.h>.
22034 * dirent/dirfd.c: Likewise.
22035 * dirent/fdopendir.c: Likewise.
22036 * dirent/getdents.c: Likewise.
22037 * dirent/getdents64.c: Likewise.
22038 * dirent/opendir.c: Likewise.
22039 * dirent/readdir.c: Likewise.
22040 * dirent/readdir64.c: Likewise.
22041 * dirent/readdir64_r.c: Likewise.
22042 * dirent/readdir_r.c: Likewise.
22043 * dirent/rewinddir.c: Likewise.
22044 * dirent/seekdir.c: Likewise.
22045 * dirent/telldir.c: Likewise.
22046 * gmon/profil.c: Likewise.
22047 * grp/setgroups.c: Likewise.
22048 * inet/if_index.c: Likewise.
22049 * io/access.c: Likewise.
22050 * io/chdir.c: Likewise.
22051 * io/chmod.c: Likewise.
22052 * io/chown.c: Likewise.
22053 * io/close.c: Likewise.
22054 * io/dup.c: Likewise.
22055 * io/dup2.c: Likewise.
22056 * io/dup3.c: Likewise.
22057 * io/euidaccess.c: Likewise.
22058 * io/faccessat.c: Likewise.
22059 * io/fchdir.c: Likewise.
22060 * io/fchmod.c: Likewise.
22061 * io/fchmodat.c: Likewise.
22062 * io/fchown.c: Likewise.
22063 * io/fchownat.c: Likewise.
22064 * io/fcntl.c: Likewise.
22065 * io/flock.c: Likewise.
22066 * io/fstatfs.c: Likewise.
22067 * io/fstatfs64.c: Likewise.
22068 * io/fstatvfs.c: Likewise.
22069 * io/fstatvfs64.c: Likewise.
22070 * io/futimens.c: Likewise.
22071 * io/fxstat.c: Likewise.
22072 * io/fxstat64.c: Likewise.
22073 * io/fxstatat.c: Likewise.
22074 * io/fxstatat64.c: Likewise.
22075 * io/getcwd.c: Likewise.
22076 * io/isatty.c: Likewise.
22077 * io/lchmod.c: Likewise.
22078 * io/lchown.c: Likewise.
22079 * io/link.c: Likewise.
22080 * io/linkat.c: Likewise.
22081 * io/lseek.c: Likewise.
22082 * io/lseek64.c: Likewise.
22083 * io/lxstat64.c: Likewise.
22084 * io/mkdir.c: Likewise.
22085 * io/mkdirat.c: Likewise.
22086 * io/mkfifo.c: Likewise.
22087 * io/mkfifoat.c: Likewise.
22088 * io/open.c: Likewise.
22089 * io/open64.c: Likewise.
22090 * io/openat.c: Likewise.
22091 * io/openat64.c: Likewise.
22092 * io/pipe.c: Likewise.
22093 * io/pipe2.c: Likewise.
22094 * io/poll.c: Likewise.
22095 * io/posix_fadvise.c: Likewise.
22096 * io/posix_fadvise64.c: Likewise.
22097 * io/posix_fallocate.c: Likewise.
22098 * io/posix_fallocate64.c: Likewise.
22099 * io/read.c: Likewise.
22100 * io/readlink.c: Likewise.
22101 * io/readlinkat.c: Likewise.
22102 * io/rmdir.c: Likewise.
22103 * io/sendfile.c: Likewise.
22104 * io/sendfile64.c: Likewise.
22105 * io/statfs.c: Likewise.
22106 * io/statfs64.c: Likewise.
22107 * io/statvfs.c: Likewise.
22108 * io/statvfs64.c: Likewise.
22109 * io/symlink.c: Likewise.
22110 * io/symlinkat.c: Likewise.
22111 * io/ttyname.c: Likewise.
22112 * io/ttyname_r.c: Likewise.
22113 * io/umask.c: Likewise.
22114 * io/unlink.c: Likewise.
22115 * io/unlinkat.c: Likewise.
22116 * io/utime.c: Likewise.
22117 * io/utimensat.c: Likewise.
22118 * io/write.c: Likewise.
22119 * io/xmknod.c: Likewise.
22120 * io/xmknodat.c: Likewise.
22121 * io/xstat.c: Likewise.
22122 * io/xstat64.c: Likewise.
22123 * login/getpt.c: Likewise.
22124 * login/grantpt.c: Likewise.
22125 * login/unlockpt.c: Likewise.
22126 * math/e_acoshl.c: Likewise.
22127 * math/e_acosl.c: Likewise.
22128 * math/e_asinl.c: Likewise.
22129 * math/e_atan2l.c: Likewise.
22130 * math/e_atanhl.c: Likewise.
22131 * math/e_coshl.c: Likewise.
22132 * math/e_expl.c: Likewise.
22133 * math/e_fmodl.c: Likewise.
22134 * math/e_gammal_r.c: Likewise.
22135 * math/e_hypotl.c: Likewise.
22136 * math/e_j0l.c: Likewise.
22137 * math/e_j1l.c: Likewise.
22138 * math/e_jnl.c: Likewise.
22139 * math/e_lgammal_r.c: Likewise.
22140 * math/e_log10l.c: Likewise.
22141 * math/e_log2l.c: Likewise.
22142 * math/e_logl.c: Likewise.
22143 * math/e_powl.c: Likewise.
22144 * math/e_rem_pio2l.c: Likewise.
22145 * math/e_sinhl.c: Likewise.
22146 * math/e_sqrtl.c: Likewise.
22147 * math/fclrexcpt.c: Likewise.
22148 * math/fedisblxcpt.c: Likewise.
22149 * math/feenablxcpt.c: Likewise.
22150 * math/fegetenv.c: Likewise.
22151 * math/fegetexcept.c: Likewise.
22152 * math/fegetround.c: Likewise.
22153 * math/feholdexcpt.c: Likewise.
22154 * math/fesetenv.c: Likewise.
22155 * math/fesetround.c: Likewise.
22156 * math/feupdateenv.c: Likewise.
22157 * math/fgetexcptflg.c: Likewise.
22158 * math/fraiseexcpt.c: Likewise.
22159 * math/fsetexcptflg.c: Likewise.
22160 * math/ftestexcept.c: Likewise.
22161 * math/k_cosl.c: Likewise.
22162 * math/k_rem_pio2l.c: Likewise.
22163 * math/k_sinl.c: Likewise.
22164 * math/k_tanl.c: Likewise.
22165 * math/s_asinhl.c: Likewise.
22166 * math/s_atanl.c: Likewise.
22167 * math/s_cbrtl.c: Likewise.
22168 * math/s_erfl.c: Likewise.
22169 * math/s_expm1l.c: Likewise.
22170 * math/s_log1pl.c: Likewise.
22171 * math/s_tanhl.c: Likewise.
22172 * misc/acct.c: Likewise.
22173 * misc/brk.c: Likewise.
22174 * misc/chflags.c: Likewise.
22175 * misc/chroot.c: Likewise.
22176 * misc/fchflags.c: Likewise.
22177 * misc/fgetxattr.c: Likewise.
22178 * misc/flistxattr.c: Likewise.
22179 * misc/fremovexattr.c: Likewise.
22180 * misc/fsetxattr.c: Likewise.
22181 * misc/fsync.c: Likewise.
22182 * misc/ftruncate.c: Likewise.
22183 * misc/futimes.c: Likewise.
22184 * misc/futimesat.c: Likewise.
22185 * misc/getdomain.c: Likewise.
22186 * misc/getdtsz.c: Likewise.
22187 * misc/gethostid.c: Likewise.
22188 * misc/gethostname.c: Likewise.
22189 * misc/getloadavg.c: Likewise.
22190 * misc/getpagesize.c: Likewise.
22191 * misc/getsysstats.c: Likewise.
22192 * misc/getxattr.c: Likewise.
22193 * misc/gtty.c: Likewise.
22194 * misc/ioctl.c: Likewise.
22195 * misc/lgetxattr.c: Likewise.
22196 * misc/listxattr.c: Likewise.
22197 * misc/llistxattr.c: Likewise.
22198 * misc/lremovexattr.c: Likewise.
22199 * misc/lsetxattr.c: Likewise.
22200 * misc/lutimes.c: Likewise.
22201 * misc/madvise.c: Likewise.
22202 * misc/mincore.c: Likewise.
22203 * misc/mlock.c: Likewise.
22204 * misc/mlockall.c: Likewise.
22205 * misc/mmap.c: Likewise.
22206 * misc/mprotect.c: Likewise.
22207 * misc/msync.c: Likewise.
22208 * misc/munlock.c: Likewise.
22209 * misc/munlockall.c: Likewise.
22210 * misc/munmap.c: Likewise.
22211 * misc/preadv.c: Likewise.
22212 * misc/preadv64.c: Likewise.
22213 * misc/ptrace.c: Likewise.
22214 * misc/pwritev.c: Likewise.
22215 * misc/pwritev64.c: Likewise.
22216 * misc/readv.c: Likewise.
22217 * misc/reboot.c: Likewise.
22218 * misc/remap_file_pages.c: Likewise.
22219 * misc/removexattr.c: Likewise.
22220 * misc/revoke.c: Likewise.
22221 * misc/select.c: Likewise.
22222 * misc/setdomain.c: Likewise.
22223 * misc/setegid.c: Likewise.
22224 * misc/seteuid.c: Likewise.
22225 * misc/sethostid.c: Likewise.
22226 * misc/sethostname.c: Likewise.
22227 * misc/setregid.c: Likewise.
22228 * misc/setreuid.c: Likewise.
22229 * misc/setxattr.c: Likewise.
22230 * misc/sstk.c: Likewise.
22231 * misc/stty.c: Likewise.
22232 * misc/swapoff.c: Likewise.
22233 * misc/swapon.c: Likewise.
22234 * misc/sync.c: Likewise.
22235 * misc/syncfs.c: Likewise.
22236 * misc/syscall.c: Likewise.
22237 * misc/truncate.c: Likewise.
22238 * misc/ualarm.c: Likewise.
22239 * misc/usleep.c: Likewise.
22240 * misc/ustat.c: Likewise.
22241 * misc/utimes.c: Likewise.
22242 * misc/vhangup.c: Likewise.
22243 * misc/writev.c: Likewise.
22244 * posix/_exit.c: Likewise.
22245 * posix/alarm.c: Likewise.
22246 * posix/execve.c: Likewise.
22247 * posix/fexecve.c: Likewise.
22248 * posix/fork.c: Likewise.
22249 * posix/fpathconf.c: Likewise.
22250 * posix/getaddrinfo.c: Likewise.
22251 * posix/getegid.c: Likewise.
22252 * posix/geteuid.c: Likewise.
22253 * posix/getgid.c: Likewise.
22254 * posix/getgroups.c: Likewise.
22255 * posix/getlogin.c: Likewise.
22256 * posix/getlogin_r.c: Likewise.
22257 * posix/getpgid.c: Likewise.
22258 * posix/getpid.c: Likewise.
22259 * posix/getppid.c: Likewise.
22260 * posix/getresgid.c: Likewise.
22261 * posix/getresuid.c: Likewise.
22262 * posix/getsid.c: Likewise.
22263 * posix/getuid.c: Likewise.
22264 * posix/glob64.c: Likewise.
22265 * posix/nanosleep.c: Likewise.
22266 * posix/pathconf.c: Likewise.
22267 * posix/pause.c: Likewise.
22268 * posix/posix_madvise.c: Likewise.
22269 * posix/pread.c: Likewise.
22270 * posix/pread64.c: Likewise.
22271 * posix/pwrite.c: Likewise.
22272 * posix/pwrite64.c: Likewise.
22273 * posix/sched_getaffinity.c: Likewise.
22274 * posix/sched_getp.c: Likewise.
22275 * posix/sched_gets.c: Likewise.
22276 * posix/sched_primax.c: Likewise.
22277 * posix/sched_primin.c: Likewise.
22278 * posix/sched_rr_gi.c: Likewise.
22279 * posix/sched_setaffinity.c: Likewise.
22280 * posix/sched_setp.c: Likewise.
22281 * posix/sched_sets.c: Likewise.
22282 * posix/sched_yield.c: Likewise.
22283 * posix/setgid.c: Likewise.
22284 * posix/setlogin.c: Likewise.
22285 * posix/setpgid.c: Likewise.
22286 * posix/setresgid.c: Likewise.
22287 * posix/setresuid.c: Likewise.
22288 * posix/setsid.c: Likewise.
22289 * posix/setuid.c: Likewise.
22290 * posix/sleep.c: Likewise.
22291 * posix/spawni.c: Likewise.
22292 * posix/sysconf.c: Likewise.
22293 * posix/times.c: Likewise.
22294 * posix/wait.c: Likewise.
22295 * posix/wait3.c: Likewise.
22296 * posix/wait4.c: Likewise.
22297 * posix/waitpid.c: Likewise.
22298 * resolv/gai_sigqueue.c: Likewise.
22299 * resource/getpriority.c: Likewise.
22300 * resource/getrlimit.c: Likewise.
22301 * resource/getrusage.c: Likewise.
22302 * resource/nice.c: Likewise.
22303 * resource/setpriority.c: Likewise.
22304 * resource/setrlimit.c: Likewise.
22305 * resource/ulimit.c: Likewise.
22306 * rt/aio_cancel.c: Likewise.
22307 * rt/aio_fsync.c: Likewise.
22308 * rt/aio_read.c: Likewise.
22309 * rt/aio_sigqueue.c: Likewise.
22310 * rt/aio_suspend.c: Likewise.
22311 * rt/aio_write.c: Likewise.
22312 * rt/clock_getres.c: Likewise.
22313 * rt/clock_gettime.c: Likewise.
22314 * rt/clock_nanosleep.c: Likewise.
22315 * rt/clock_settime.c: Likewise.
22316 * rt/lio_listio.c: Likewise.
22317 * rt/mq_close.c: Likewise.
22318 * rt/mq_getattr.c: Likewise.
22319 * rt/mq_notify.c: Likewise.
22320 * rt/mq_open.c: Likewise.
22321 * rt/mq_receive.c: Likewise.
22322 * rt/mq_send.c: Likewise.
22323 * rt/mq_setattr.c: Likewise.
22324 * rt/mq_timedreceive.c: Likewise.
22325 * rt/mq_timedsend.c: Likewise.
22326 * rt/mq_unlink.c: Likewise.
22327 * rt/shm_open.c: Likewise.
22328 * rt/shm_unlink.c: Likewise.
22329 * rt/timer_create.c: Likewise.
22330 * rt/timer_delete.c: Likewise.
22331 * rt/timer_getoverr.c: Likewise.
22332 * rt/timer_gettime.c: Likewise.
22333 * rt/timer_settime.c: Likewise.
22334 * setjmp/__longjmp.c: Likewise.
22335 * setjmp/setjmp.c: Likewise.
22336 * signal/kill.c: Likewise.
22337 * signal/killpg.c: Likewise.
22338 * signal/raise.c: Likewise.
22339 * signal/sigaction.c: Likewise.
22340 * signal/sigaltstack.c: Likewise.
22341 * signal/sigblock.c: Likewise.
22342 * signal/sigignore.c: Likewise.
22343 * signal/sigintr.c: Likewise.
22344 * signal/signal.c: Likewise.
22345 * signal/sigpause.c: Likewise.
22346 * signal/sigpending.c: Likewise.
22347 * signal/sigqueue.c: Likewise.
22348 * signal/sigreturn.c: Likewise.
22349 * signal/sigset.c: Likewise.
22350 * signal/sigsetmask.c: Likewise.
22351 * signal/sigstack.c: Likewise.
22352 * signal/sigsuspend.c: Likewise.
22353 * signal/sigtimedwait.c: Likewise.
22354 * signal/sigvec.c: Likewise.
22355 * signal/sigwait.c: Likewise.
22356 * signal/sigwaitinfo.c: Likewise.
22357 * signal/sysv_signal.c: Likewise.
22358 * socket/accept.c: Likewise.
22359 * socket/accept4.c: Likewise.
22360 * socket/bind.c: Likewise.
22361 * socket/connect.c: Likewise.
22362 * socket/getpeername.c: Likewise.
22363 * socket/getsockname.c: Likewise.
22364 * socket/getsockopt.c: Likewise.
22365 * socket/isfdtype.c: Likewise.
22366 * socket/listen.c: Likewise.
22367 * socket/recv.c: Likewise.
22368 * socket/recvfrom.c: Likewise.
22369 * socket/recvmsg.c: Likewise.
22370 * socket/send.c: Likewise.
22371 * socket/sendmsg.c: Likewise.
22372 * socket/sendto.c: Likewise.
22373 * socket/setsockopt.c: Likewise.
22374 * socket/shutdown.c: Likewise.
22375 * socket/sockatmark.c: Likewise.
22376 * socket/socket.c: Likewise.
22377 * socket/socketpair.c: Likewise.
22378 * stdio-common/ctermid.c: Likewise.
22379 * stdio-common/cuserid.c: Likewise.
22380 * stdio-common/remove.c: Likewise.
22381 * stdio-common/rename.c: Likewise.
22382 * stdio-common/renameat.c: Likewise.
22383 * stdio-common/tempname.c: Likewise.
22384 * stdlib/getcontext.c: Likewise.
22385 * stdlib/makecontext.c: Likewise.
22386 * stdlib/setcontext.c: Likewise.
22387 * stdlib/swapcontext.c: Likewise.
22388 * stdlib/system.c: Likewise.
22389 * streams/fattach.c: Likewise.
22390 * streams/fdetach.c: Likewise.
22391 * streams/getmsg.c: Likewise.
22392 * streams/getpmsg.c: Likewise.
22393 * streams/putmsg.c: Likewise.
22394 * streams/putpmsg.c: Likewise.
22395 * sysdeps/unix/bsd/getpt.c: Likewise.
22396 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22397 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22398 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22400 Likewise.
22401 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22402 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22403 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22404 * sysvipc/msgctl.c: Likewise.
22405 * sysvipc/msgget.c: Likewise.
22406 * sysvipc/msgrcv.c: Likewise.
22407 * sysvipc/msgsnd.c: Likewise.
22408 * sysvipc/semctl.c: Likewise.
22409 * sysvipc/semget.c: Likewise.
22410 * sysvipc/semop.c: Likewise.
22411 * sysvipc/semtimedop.c: Likewise.
22412 * sysvipc/shmat.c: Likewise.
22413 * sysvipc/shmctl.c: Likewise.
22414 * sysvipc/shmdt.c: Likewise.
22415 * sysvipc/shmget.c: Likewise.
22416 * termios/tcdrain.c: Likewise.
22417 * termios/tcflow.c: Likewise.
22418 * termios/tcflush.c: Likewise.
22419 * termios/tcgetattr.c: Likewise.
22420 * termios/tcgetpgrp.c: Likewise.
22421 * termios/tcsendbrk.c: Likewise.
22422 * termios/tcsetattr.c: Likewise.
22423 * termios/tcsetpgrp.c: Likewise.
22424 * time/adjtime.c: Likewise.
22425 * time/clock.c: Likewise.
22426 * time/getitimer.c: Likewise.
22427 * time/gettimeofday.c: Likewise.
22428 * time/setitimer.c: Likewise.
22429 * time/settimeofday.c: Likewise.
22430 * time/stime.c: Likewise.
22431 * time/time.c: Likewise.
22432
224332012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22434
a20492cf
PT
22435 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22436 /usr/old/bin.
22437
72e182e3
PT
22438 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22439 instead of spaces.
22440 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22441
fbeafede
JM
224422012-11-03 Joseph Myers <joseph@codesourcery.com>
22443
5b5b04d6
JM
22444 [BZ #14796]
22445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22446 FE_TONEAREST before applying Dekker multiplication and Knuth
22447 addition. Clear inexact exceptions and check for exact zero
22448 results afterwards.
22449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22450 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22451 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22452 * math/libm-test.inc (fma_test): Add more tests.
22453 (fma_test_towardzero): Likewise.
22454 (fma_test_downward): Likewise.
22455 (fma_test_upward): Likewise.
22456 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22457 function.
22458 (libc_fesetround): New macro.
22459 (libc_fesetroundf): Likewise.
22460 (libc_fesetroundl): Likewise.
22461 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22462 function.
22463 (libc_fesetround_387): Likewise.
22464 (libc_fesetroundf): New macro.
22465 (libc_fesetround): Likewise.
22466 (libc_fesetroundl): Likewise.
22467 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22468 function.
22469 (libc_fesetroundf): New macro.
22470 (libc_fesetround): Likewise.
22471 (libc_fesetroundl): Likewise.
22472 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22473 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22474 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22475 libm_hidden_ver.
22476 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22477 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22478 libm_hidden_def.
22479 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22480 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22481 libm_hidden_ver.
22482 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22483 libm_hidden_def.
22484
fbeafede
JM
22485 [BZ #3439]
22486 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22487 integer constant usable in #if and use that to give value to enum
22488 constant.
22489 (FE_DIVBYZERO): Likewise.
22490 (FE_UNDERFLOW): Likewise.
22491 (FE_OVERFLOW): Likewise.
22492 (FE_INVALID): Likewise.
22493 (FE_INVALID_SNAN): Likewise.
22494 (FE_INVALID_ISI): Likewise.
22495 (FE_INVALID_IDI): Likewise.
22496 (FE_INVALID_ZDZ): Likewise.
22497 (FE_INVALID_IMZ): Likewise.
22498 (FE_INVALID_COMPARE): Likewise.
22499 (FE_INVALID_SOFTWARE): Likewise.
22500 (FE_INVALID_SQRT): Likewise.
22501 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22502 (FE_TONEAREST): Likewise.
22503 (FE_TOWARDZERO): Likewise.
22504 (FE_UPWARD): Likewise.
22505 (FE_DOWNWARD): Likewise.
22506 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22507 (FE_DIVBYZERO): Likewise.
22508 (FE_OVERFLOW): Likewise.
22509 (FE_UNDERFLOW): Likewise.
22510 (FE_INEXACT): Likewise.
22511 (FE_TONEAREST): Likewise.
22512 (FE_DOWNWARD): Likewise.
22513 (FE_UPWARD): Likewise.
22514 (FE_TOWARDZERO): Likewise.
22515 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22516 (FE_UNDERFLOW): Likewise.
22517 (FE_OVERFLOW): Likewise.
22518 (FE_DIVBYZERO): Likewise.
22519 (FE_INVALID): Likewise.
22520 (FE_TONEAREST): Likewise.
22521 (FE_TOWARDZERO): Likewise.
22522 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22523 (FE_OVERFLOW): Likewise.
22524 (FE_UNDERFLOW): Likewise.
22525 (FE_DIVBYZERO): Likewise.
22526 (FE_INEXACT): Likewise.
22527 (FE_TONEAREST): Likewise.
22528 (FE_TOWARDZERO): Likewise.
22529 (FE_UPWARD): Likewise.
22530 (FE_DOWNWARD): Likewise.
22531 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22532 (FE_DIVBYZERO): Likewise.
22533 (FE_OVERFLOW): Likewise.
22534 (FE_UNDERFLOW): Likewise.
22535 (FE_INEXACT): Likewise.
22536 (FE_TONEAREST): Likewise.
22537 (FE_DOWNWARD): Likewise.
22538 (FE_UPWARD): Likewise.
22539 (FE_TOWARDZERO): Likewise.
22540
105ca950
CM
225412012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22542
22543 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22544
a542b389
AS
225452012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22546
22547 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22548 commands. Quote $PWD.
22549 (blacklist_exports): Don't use remove_newlines. Replace "declare
22550 -x" by "export".
22551 (remove_newlines): Remove.
22552
f62c8abc
L
225532012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22554
22555 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22556 * stdlib/stdlib.h (atof): Moved to ...
22557 * include/bits/stdlib-float.h: Here. New file.
22558 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22559 * stdlib/bits/stdlib-float.h: New file.
22560 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22561 -mno-sse -mno-mmx.
22562 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22563 <xmmintrin.h>.
22564
0155d5b2
JM
225652012-11-02 Joseph Myers <joseph@codesourcery.com>
22566
a68d0680
JM
22567 * conform/conformtest.pl (@headers): Add fenv.h.
22568 * conform/data/fenv.h-data: New file.
22569 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22570 include of <math/fenv.h>.
22571
caf7f573
JM
22572 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22573 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22574 && !UNIX98]. Enables tests for XOPEN2K8.
22575 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22576 POSIX2008]: Likewise.
22577
6c073ad6
JM
22578 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22579 (struct rusage): Do not expect type or its members.
22580
0155d5b2
JM
22581 [BZ #3439]
22582 * math/math.h (FP_NAN): Define macro to integer constant usable in
22583 #if and use that to give value to enum constant.
22584 (FP_INFINITE): Likewise.
22585 (FP_ZERO): Likewise.
22586 (FP_SUBNORMAL): Likewise.
22587 (FP_NORMAL): Likewise.
22588
b5dcacb4
AS
225892012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22590
22591 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22592 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22593 arguments.
22594
f7934be8
RM
225952012-11-02 Roland McGrath <roland@hack.frob.com>
22596
22597 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22598 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22599 autoconf-time if not.
22600 * configure.in: Remove AC_PREREQ.
22601
d7d08bde
TMQMF
226022012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22603
22604 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22605 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22606 of the internal implementation.
22607
dcdae19a
JM
226082012-11-02 Joseph Myers <joseph@codesourcery.com>
22609
22610 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22611 except include of <misc/sys/syslog.h>.
22612
d6cffd3e
AS
226132012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22614
22615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22616 function returns with a NULL context exit with zero.
22617
b3563932
TMQMF
226182012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22619
22620 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22621
b288a93d
L
226222012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22623
22624 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22625 (run_program_cmd): This.
22626 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22627 (tst_langinfo): New variable. Use it.
22628
a2421a68
SAS
226292012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22630
22631 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22632 floating point opcodes.
22633
6f796e1b
TS
226342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22635
7402596b
TS
22636 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22637 variable.
22638
d0d4f868
TS
22639 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22640
6f796e1b
TS
22641 * sysdeps/mach/hurd/powerpc: Remove directory.
22642 * sysdeps/mach/powerpc: Likewise.
22643
4da224a2
AS
226442012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22645
22646 * scripts/check-local-headers.sh: Ignore c++ headers.
22647
341dd673
TS
226482012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22649
22650 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22651 __libc_cleanup_region_start argument.
22652
473611b2
JM
226532012-11-01 Joseph Myers <joseph@codesourcery.com>
22654
22655 [BZ #14784]
22656 [BZ #14785]
22657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22658 x * y using scaling, not as x * y + z.
22659 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22660 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22661 * math/libm-test.inc (fma_test): Add more tests.
22662 (fma_test_towardzero): Likewise.
22663 (fma_test_downward): Likewise.
22664 (fma_test_upward): Likewise.
22665
4078da3d
TS
226662012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22667
22668 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22669
903252aa
JM
226702012-10-31 Joseph Myers <joseph@codesourcery.com>
22671
22672 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22673 New variable.
22674
cbc818d0
TS
226752012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22676
22677 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22678
5a03cb1e
AS
226792012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22680
22681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22682 Fix sort order.
22683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22684 Likewise.
22685
90aff2ff
TMQMF
226862012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22687
22688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22689 Fix the order of the list for glibc 2.17.
22690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22691 Likewise.
22692
1818fcb7
AS
226932012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22694
22695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22696
ef82f4da
JM
226972012-10-31 Joseph Myers <joseph@codesourcery.com>
22698
16a0e2ec
JM
22699 [BZ #14610]
22700 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22701 for low part of x being zero before using __atanl (y).
22702 * math/libm-test.inc (atan2_test): Add another test.
22703
0eb69512
JM
22704 * manual/install.texi (Configuring and compiling): Document
22705 general use of test-wrapper and test-wrapper-env.
22706 * INSTALL: Regenerated.
22707
ef82f4da
JM
22708 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22709 (__fma): Do not extract and scale down low bits on after-rounding
22710 systems when result rounded to normal precision would have normal
22711 exponent.
22712 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22713 (__fmal): Do not extract and scale down low bits on after-rounding
22714 systems when result rounded to normal precision would have normal
22715 exponent.
22716 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22717 (__fmal): Do not extract and scale down low bits on after-rounding
22718 systems when result rounded to normal precision would have normal
22719 exponent.
22720 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22721 macro.
22722 (fma_test): Add more tests.
22723 (fma_test_towardzero): Likewise.
22724 (fma_test_downward): Likewise.
22725 (fma_test_upward): Likewise.
22726
954ef0d9
L
227272012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22728
22729 * sysdeps/i386/tininess.h: Renamed to ...
22730 * sysdeps/x86/tininess.h: This.
22731 * sysdeps/x86_64/tininess.h: Removed.
22732
df61ffb2
JM
227332012-10-30 Joseph Myers <joseph@codesourcery.com>
22734
22735 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22736 input. Use $(build-program-cmd).
22737 ($(objpfx)tst-array1-static.out): Likewise.
22738 ($(objpfx)tst-array2.out): Likewise.
22739 ($(objpfx)tst-array3.out): Likewise.
22740 ($(objpfx)tst-array4.out): Likewise.
22741 ($(objpfx)tst-array5.out): Likewise.
22742 ($(objpfx)tst-array5-static.out): Likewise.
22743
01767843
CM
227442012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22745
47cc1490
CM
22746 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22747 if defined.
22748
01767843
CM
22749 * nss/nsswitch.h (nss_interface_function): Provide new
22750 macro for use with NSS functions.
22751 * grp/initgroups.c: Use new macro.
22752 * nss/getXXbyYY.c: Likewise.
22753 * nss/getXXbyYY_r.c: Likewise.
22754 * nss/getXXent.c: Likewise.
22755 * nss/getXXent_r.c: Likewise.
22756 * sysdeps/posix/getaddrinfo.c: Likewise.
22757
8321aa97
AJ
227582012-10-30 Andreas Jaeger <aj@suse.de>
22759
22760 * po/ru.po: Update Russion translation from translation project.
22761
2a27fd6d
JM
227622012-10-30 Joseph Myers <joseph@codesourcery.com>
22763
8627a232
JM
22764 [BZ #14152]
22765 [BZ #14783]
22766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22767 result and shift together with sticky bit instead of replicating
22768 round-to-nearest rounding.
22769 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22770 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22771 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22772 missing underflow exceptions.
22773 (fma_test_towardzero): Add more tests.
22774 (fma_test_downward): Likewise.
22775 (fma_test_upward): Likewise.
22776
2a27fd6d
JM
22777 [BZ #14047]
22778 * sysdeps/generic/tininess.h: New file.
22779 * sysdeps/i386/tininess.h: Likewise.
22780 * sysdeps/sh/tininess.h: Likewise.
22781 * sysdeps/x86_64/tininess.h: Likewise.
22782 * stdlib/tst-strtod-underflow.c: Likewise.
22783 * stdlib/tst-tininess.c: Likewise.
22784 * stdlib/strtod_l.c: Include <tininess.h>.
22785 (round_and_return): Do not set errno for exact underflow cases.
22786 Force an underflow exception when setting errno for underflow.
22787 Determine underflow based on rounding to normal precision if
22788 TININESS_AFTER_ROUNDING.
22789 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22790 ERANGE for exact underflow cases.
22791 * stdlib/Makefile (tests): Add tst-tininess and
22792 tst-strtod-underflow.
22793 ($(objpfx)tst-tininess): Use $(link-libm).
22794 ($(objpfx)tst-strtod-underflow): Likewise.
22795
e7170363
AJ
227962012-10-30 Andreas Jaeger <aj@suse.de>
22797
e5088dc6
AJ
22798 [BZ#14767]
22799 * elf/Makefile (tests): Remove conditional for have-initfini-array
22800 since this is now always required and the variable does not exist
22801 anymore.
22802 (tests-static): Likewise.
22803 (modules-names): Likewise.
22804
e7170363 22805 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22806
22807 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22808 merged with constructor/destructor.
22809 (init_array): Likewise.
22810 * elf/tst-array2dep.c (fini_array): Likewise.
22811 (init_array): Likewise.
22812
60457d8a
MF
228132012-10-29 Mike Frysinger <vapier@gentoo.org>
22814
22815 * manual/message.texi: Delete @cartouche tags.
22816
8bece752
PT
228172012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22818
94ce799f
PT
22819 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22820 EOPNOTSUPP.
22821 * sysdeps/mach/hurd/fsync.c: Likewise.
22822
8bece752
PT
22823 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22824 [_POSIX_REALTIME_SIGNALS]: Change condition to
22825 [_POSIX_REALTIME_SIGNALS > 0].
22826
86ebe6b1
AJ
228272012-10-27 Andreas Jaeger <aj@suse.de>
22828
22829 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22830 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22832 [__WORDSIZE != 64]: Likewise.
22833
54399c08
L
228342012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22835
22836 * iconvdata/tst-table.sh: Remove ${SHELL}.
22837 * iconvdata/tst-tables.sh: Likewise.
22838
e2211bed
DM
228392012-10-25 David S. Miller <davem@davemloft.net>
22840
22841 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22842 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22843 of strtoull.
22844
f303f97c
DM
22845 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22846 ifunc-impl-list.c
22847 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22848 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22849 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22850 file.
22851
1e9d84cd
RM
228522012-10-25 Roland McGrath <roland@hack.frob.com>
22853
22854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22855 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22856 __getdirentries.
22857
df381762
JM
228582012-10-25 Joseph Myers <joseph@codesourcery.com>
22859 Jim Blandy <jimb@codesourcery.com>
22860
22861 * scripts/cross-test-ssh.sh: New file.
22862 * manual/install.texi (Configuring and compiling): Document use of
22863 cross-test-ssh.sh.
22864 * INSTALL: Regenerated.
22865
bff64913
PT
228662012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22867
22868 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22869 EOPNOTSUPP.
22870
25fe8932
JM
228712012-10-25 Joseph Myers <joseph@codesourcery.com>
22872
22873 * Makeconfig (run-program-prefix): Fix comment.
22874
cc1290d0
JM
228752012-10-24 Joseph Myers <joseph@codesourcery.com>
22876 Jim Blandy <jimb@codesourcery.com>
22877
22878 * Makeconfig (test-wrapper): New variable,
22879 (test-wrapper-env): Likewise.
22880 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22881 (run-built-tests): Define to yes.
22882 (run-program-prefix): Use $(test-wrapper).
22883 (built-program-cmd): Likewise.
22884 * Rules (make-test-out): Use $(test-wrapper-env) and
22885 $(host-built-program-cmd).
22886 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22887 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22888 tst-pathopt.sh.
22889 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22890 $(test-wrapper-env) to tst-rtld-load-self.sh.
22891 ($(objpfx)order2.out): Use $(test-wrapper).
22892 ($(objpfx)tst-initorder.out): Likewise.
22893 ($(objpfx)tst-initorder2.out): Likewise.
22894 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22895 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22896 (test_wrapper_env): New variable. Use it to run ld.so.
22897 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22898 Use it to run ld.so.
22899 (test_wrapper_env): Likewise.
22900 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22901 $(test-wrapper) to run-iconv-test.sh.
22902 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22903 (ICONV): Use $test_wrapper.
22904 * posix/Makefile ($(objpfx)globtest.out): Pass
22905 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22906 globtest.sh, not $(run-program-prefix).
22907 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22908 (test_wrapper): Likewise.
22909 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22910 set together with run_via_rtld_prefix.
22911 (run_program_prefix): Define in terms of test_wrapper and
22912 run_via_rtld_prefix.
22913
6e6249d0
RM
229142012-10-24 Roland McGrath <roland@hack.frob.com>
22915
22916 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22917 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22918 Targets removed.
22919
22920 [BZ #14743]
22921 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22922 Declare __clock_getres, __clock_gettime, __clock_settime,
22923 __clock_nanosleep, and __clock_getcpuclockid.
22924 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22925 Remove librt_hidden_def (clock_gettime).
22926 * sysdeps/unix/clock_gettime.c: Likewise.
22927 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22928 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22929 * rt/clock_getres.c: Define __clock_getres as an alias.
22930 * sysdeps/posix/clock_getres.c: Likewise.
22931 * rt/clock_settime.c: Define __clock_settime as an alias.
22932 * sysdeps/unix/clock_settime.c: Likewise.
22933 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22934 * sysdeps/unix/clock_nanosleep.c: Likewise.
22935 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22936 * rt/clock-compat.c: New file.
22937 * rt/Makefile (librt-routines): Add clock-compat and move
22938 $(clock-routines) to ...
22939 (routines): ... here, new variable.
22940 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22941 Don't add get_clockfreq here.
22942 * rt/Versions (libc: GLIBC_2.17): New version set.
22943 Add clock_* symbols here.
22944 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22945 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22946 (GLIBC_2.17): Add clock_* symbols.
22947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22951 Likewise.
22952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22953 Likewise.
22954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22958 * NEWS: Mention the move.
22959
22960 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22961 Use __open, __read, __close rather than their public counterparts.
22962 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22963 (__get_clockfreq_via_cpuinfo): Likewise.
22964 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22965 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22966
22967 * config.h.in (HAVE_IFUNC): New #undef.
22968 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22969 was successful.
22970 * configure: Regenerated.
22971
0cae3f4b
MF
229722012-10-24 Mike Frysinger <vapier@gentoo.org>
22973
22974 * configure.in: Move READELF check to start of file.
22975 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22976 libc_cv_asm_gnu_indirect_function in the process.
22977 * configure: Regenerated.
22978
8175a253
MF
229792012-10-24 Mike Frysinger <vapier@gentoo.org>
22980
22981 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22982 send the output to /dev/null.
22983 (libc_cv_cc_with_libunwind): Likewise.
22984 (libc_cv_as_noexecstack): Likewise.
22985 * configure: Regenerate.
22986
0708a7d1
JM
229872012-10-24 Joseph Myers <joseph@codesourcery.com>
22988
10b40d85
JM
22989 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22990
0708a7d1
JM
22991 * posix/globtest.sh (TMPDIR): Do not set.
22992 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22993 (testout): Likewise.
22994
9fddec1a
AJ
229952012-10-24 Andreas Jaeger <aj@suse.de>
22996
3a8db22f
AJ
22997 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22998 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22999 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23000 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23001 posix_fadvise64, posix_fallocate64.
23002
9fddec1a
AJ
23003 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23004 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23005 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23006 Likewise.
23007 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23008 Likewise.
23009 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23010
23011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23012 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23013 <bits/fcntl-linux.h>.
23014 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23015
23016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23017 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23018 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23019 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23020 [__WORDSIZE != 64]: Likewise.
23021
ebfd1bbd
JM
230222012-10-23 Joseph Myers <joseph@codesourcery.com>
23023
03ac099f
JM
23024 * Makeconfig (run-built-tests): New variable.
23025 * Rules [$(cross-compiling) = yes]: Change condition to
23026 [$(run-built-tests) = no].
23027 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23028 to [$(run-built-tests) = yes].
23029 * elf/Makefile [$(cross-compiling) = no]: Likewise
23030 * grp/Makefile [$(cross-compiling) = no]: Likewise.
23031 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23032 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23033 * intl/Makefile [$(cross-compiling) = no]: Likewise.
23034 * io/Makefile [$(cross-compiling) = no]: Likewise.
23035 * libio/Makefile [$(cross-compiling) = no]: Likewise.
23036 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23037 * misc/Makefile [$(cross-compiling) = no]: Likewise.
23038 * posix/Makefile [$(cross-compiling) = no]: Likewise.
23039 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23040 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23041 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23042 * string/Makefile [$(cross-compiling) = no]: Likewise.
23043
ebfd1bbd
JM
23044 * posix/Makefile ($(objpfx)globtest.out): Pass
23045 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23046 $(rtld-installed-name).
23047 * posix/globtest.sh (elf_objpfx): Remove variable.
23048 (rtld_installed_name): Likewise.
23049 (library_path): Likewise.
23050 (run_program_prefix): New variable. Use for running globtest
23051 binary.
23052
166bca24
JB
230532012-10-23 Jim Blandy <jimb@codesourcery.com>
23054 Joseph Myers <joseph@codesourcery.com>
23055
23056 * Makeconfig (host-built-program-cmd): New variable.
23057 * elf/Makefile (tst-stackguard1-ARGS): Use
23058 $(host-built-program-cmd).
23059 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
23060 (tst-spawn-ARGS): Likewise.
23061 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
23062
88866099
JM
230632012-10-23 Joseph Myers <joseph@codesourcery.com>
23064 Jim Blandy <jimb@codesourcery.com>
23065
23066 * Makeconfig (run-via-rtld-prefix): New variable.
23067 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
23068 (built-program-cmd): Likewise.
23069
b4b4c296
AJ
230702012-10-22 Andreas Jaeger <aj@suse.de>
23071
23072 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
23073 __O_RSYNC if it exists, otherwise to O_SYNC.
23074
6fb54a22
JB
230752012-10-22 Jim Blandy <jimb@codesourcery.com>
23076 Joseph Myers <joseph@codesourcery.com>
23077
23078 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
23079 /dev/null.
23080 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
23081 from /dev/null
23082 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
23083 /dev/null.
23084
481b90b9
AJ
230852012-10-22 Andreas Jaeger <aj@suse.de>
23086
2a0e2669
AJ
23087 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
23088 Define always.
23089 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
23090
76e38f9a
AJ
23091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23092 bits/fcntl-linux.h.
23093
7cd37b43
AJ
23094 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
23095 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
23096
481b90b9
AJ
23097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
23098 to __O_LARGEFILE.
23099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
23100 to __O_LARGEFILE.
23101
aba75984
JB
231022012-10-21 Jim Blandy <jimb@codesourcery.com>
23103 Joseph Myers <joseph@codesourcery.com>
23104
23105 * config.make.in (NM): New variable.
23106
88d4247f
AJ
231072012-10-21 Andreas Jaeger <aj@suse.de>
23108
23109 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
23110 definitions and declarations that are provided by
23111 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23112
f2eed205
L
231132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23114
23115 [BZ #14683]
23116 * elf/Makefile (tests-static): Add tst-leaks1-static.
23117 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
23118 ($(objpfx)tst-leaks1-static): New rule.
23119 ($(objpfx)tst-leaks1-static-mem): Likewise.
23120 (tst-leaks1-static-ENV): New macro.
23121 * elf/dl-open.c (dl_open_worker): Check the main application
23122 only if SHARED is defined.
23123 * elf/tst-leaks1-static.c: New file.
23124
335e6931
AJ
231252012-10-20 Andreas Jaeger <aj@suse.de>
23126
23127 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
23128 generic values for Linux.
23129 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
23130 and declarations that are provided by <bits/fcntl-linux.h> and
23131 include <bits/fcntl-linux.h>.
23132 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23133 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23134
ac5c94d3
RM
231352012-10-20 Roland McGrath <roland@hack.frob.com>
23136
23137 * io/fcntl.h: Move include of <bits/types.h> to the top and
23138 include it unconditionally.
23139
de54b33a
L
231402012-10-20 H.J. Lu <hongjiu.lu@intel.com>
23141
228cfb01
L
23142 * wcsmbs/Makefile (tests-ifunc): New variable.
23143 (tests): Add $(tests-ifunc).
23144 * wcsmbs/test-wcschr-ifunc.c: New file.
23145 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
23146 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
23147 * wcsmbs/test-wcslen-ifunc.c: Likewise.
23148 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
23149 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
23150
69f07e5f
L
23151 * string/Makefile (tests-ifunc): New variable.
23152 (tests): Add $(tests-ifunc).
23153 * string/test-memccpy.c (TEST_NAME): New macro.
23154 * string/test-memchr.c (TEST_NAME): Likewise.
23155 * string/test-memcmp.c (TEST_NAME): Likewise.
23156 * string/test-memcpy.c (TEST_NAME): Likewise.
23157 * string/test-memmem.c (TEST_NAME): Likewise.
23158 * string/test-memmove.c (TEST_NAME): Likewise.
23159 * string/test-memset.c (TEST_NAME): Likewise.
23160 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23161 * string/test-stpcpy.c (TEST_NAME): Likewise.
23162 * string/test-stpncpy.c (TEST_NAME): Likewise.
23163 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23164 * string/test-strcasestr.c (TEST_NAME): Likewise.
23165 * string/test-strcat.c (TEST_NAME): Likewise.
23166 * string/test-strchr.c (TEST_NAME): Likewise.
23167 * string/test-strcmp.c(TEST_NAME): Likewise.
23168 * string/test-strcpy.c (TEST_NAME): Likewise.
23169 * string/test-strcspn.c (TEST_NAME): Likewise.
23170 * string/test-strlen.c (TEST_NAME): Likewise.
23171 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23172 * string/test-strncmp.c (TEST_NAME): Likewise.
23173 * string/test-strncpy.c (TEST_NAME): Likewise.
23174 * string/test-strnlen.c (TEST_NAME): Likewise.
23175 * string/test-strpbrk.c (TEST_NAME): Likewise.
23176 * string/test-strrchr.c (TEST_NAME): Likewise.
23177 * string/test-strspn.c (TEST_NAME): Likewise.
23178 * string/test-strstr.c (TEST_NAME): Likewise.
23179 * string/test-bcopy-ifunc.c: New file.
23180 * string/test-bzero-ifunc.c: Likewise.
23181 * string/test-memccpy-ifunc.c: Likewise.
23182 * string/test-memchr-ifunc.c: Likewise.
23183 * string/test-memcmp-ifunc.c: Likewise.
23184 * string/test-memcpy-ifunc.c: Likewise.
23185 * string/test-memmem-ifunc.c: Likewise.
23186 * string/test-memmove-ifunc.c: Likewise.
23187 * string/test-mempcpy-ifunc.c: Likewise.
23188 * string/test-memset-ifunc.c: Likewise.
23189 * string/test-rawmemchr-ifunc.c: Likewise.
23190 * string/test-stpcpy-ifunc.c: Likewise.
23191 * string/test-stpncpy-ifunc.c: Likewise.
23192 * string/test-strcasecmp-ifunc.c: Likewise.
23193 * string/test-strcasestr-ifunc.c: Likewise.
23194 * string/test-strcat-ifunc.c: Likewise.
23195 * string/test-strchr-ifunc.c: Likewise.
23196 * string/test-strchrnul-ifunc.c: Likewise.
23197 * string/test-strcmp-ifunc.c: Likewise.
23198 * string/test-strcpy-ifunc.c: Likewise.
23199 * string/test-strcspn-ifunc.c: Likewise.
23200 * string/test-strlen-ifunc.c: Likewise.
23201 * string/test-strncasecmp-ifunc.c: Likewise.
23202 * string/test-strncat-ifunc.c: Likewise.
23203 * string/test-strncmp-ifunc.c: Likewise.
23204 * string/test-strncpy-ifunc.c: Likewise.
23205 * string/test-strnlen-ifunc.c: Likewise.
23206 * string/test-strpbrk-ifunc.c: Likewise.
23207 * string/test-strrchr-ifunc.c: Likewise.
23208 * string/test-strspn-ifunc.c: Likewise.
23209 * string/test-strstr-ifunc.c: Likewise.
23210
de54b33a
L
23211 * debug/Makefile (tests-ifunc): New variable.
23212 (tests): Add $(tests-ifunc).
23213 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23214 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23215 * debug/test-stpcpy_chk-ifunc.c: New file.
23216 * debug/test-strcpy_chk-ifunc.c: Likewise.
23217
88481c16
SP
232182012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23219
23220 [BZ #13601]
23221 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23222 header is not read in.
23223
135948bd
JM
232242012-10-19 Joseph Myers <joseph@codesourcery.com>
23225
89f1c388
JM
23226 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23227 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23228 directly. Pass built executable to script as
23229 $(built-program-cmd).
23230 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23231 $testprogram without using LD_LIBRARY_PATH and $ldso.
23232
e40a0d21
JM
23233 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23234 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23235 $(rtld-installed-name).
23236 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23237 (rtld_installed_name): Likewise.
23238 (library_path): Likewise.
23239 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23240 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23241 $(run-program-prefix) to tst-tables.sh.
23242 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23243 it to run tst-table-from and tst-table-to.
23244 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23245 Pass it to tst-table.sh.
23246 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23247 $(run-program-prefix) to tst-gettext.sh.
23248 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23249 tst-translit.sh.
23250 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23251 tst-gettext2.sh.
23252 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23253 to run tst-gettext.
23254 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23255 to run tst-gettext2.
23256 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23257 to run tst-translit.
23258 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23259 $(run-program-prefix) to tst-mtrace.sh.
23260 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23261 to run tst-mtrace.
23262 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23263 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23264 $(rtld-installed-name).
23265 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23266 (rtld_installed_name): Likewise.
23267 (run_program_prefix): New variable. Use it to run wordexp-test.
23268
728e272a
JM
23269 * Makeconfig (ARCH): Remove all definitions.
23270 (machine): Likewise.
23271 [ARCH]: Remove conditional code.
23272 [!objdir]: Give error.
23273 [!objdir] (objpfx): Remove.
23274 [!objdir] (common-objpfx): Likewise.
23275 [!objdir] (common-objdir): Likewise.
23276 * configure.in (config_makefile): Remove. Hardcode Makefile in
23277 AC_CONFIG_FILES call.
23278 * configure: Regenerated.
23279
d528cdcf
JM
23280 [BZ #13888]
23281 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23282 or TMPDIR.
23283 (testout): Likewise.
23284
135948bd
JM
23285 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23286 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23287 $(rtld-installed-name).
23288 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23289 (rtld_installed_name): Likwise.
23290 (runit): Remove function.
23291 (run_getconf): New variable, Use it for running getconf binary.
23292
38c78296
L
232932012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23294
23295 [BZ #14716]
23296 * string/test-memmem.c (check_result): New function.
23297 (do_one_test): Use it.
23298 (check1): New function.
23299 (test_main): Use it.
23300
d077f65f
MT
233012012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23302
23303 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23304
ced52c71
JM
233052012-10-18 Joseph Myers <joseph@codesourcery.com>
23306
23307 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23308 (_G_LSEEK64): Likewise.
23309 (_G_MMAP64): Likewise.
23310 (_G_FSTAT64): Likewise.
23311 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23312 (_G_LSEEK64): Likewise.
23313 (_G_MMAP64): Likewise.
23314 (_G_FSTAT64): Likewise.
23315 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23316 unconditional. Call __mmap64 directly.
23317 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23318 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23319 __lseek64 directly.
23320 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23321 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23322 __mmap64 directly.
23323 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23324 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23325 __lseek64 directly.
23326 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23327 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23328 __lseek64 directly.
23329 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23330 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23331 __lseek64 directly.
23332 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23333 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23334 __fxstat64 directly.
23335 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23336 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23337 unconditional.
23338 (freopen64) [!_G_OPEN64]: Remove conditional code.
23339 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23340 unconditional.
23341 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23342 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23343 unconditional.
23344 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23345 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23346 unconditional.
23347 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23348 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23349 unconditional.
23350 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23351 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23352 unconditional.
23353 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23354 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23355 unconditional.
23356 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23357 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23358 unconditional.
23359 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23360
b741de23
SP
233612012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23362
23363 [BZ #12140]
23364 * manual/memory.texi (Malloc Tunable Parameters): Add note
23365 about free list pointers overwriting some perturb bytes.
23366 Wording suggested by Roland McGrath.
23367
f9b9d9c9
JM
233682012-10-17 Joseph Myers <joseph@codesourcery.com>
23369
23370 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23371 (lgamma_test): Likewise.
23372 (tgamma_test): Likewise.
23373
172a631a
FW
233742012-10-16 Florian Weimer <fweimer@redhat.com>
23375
23376 [BZ #14700]
23377 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23378 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23379
e9f37252
MK
233802012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23381
23382 * NEWS: Mention BZ #14716.
23383 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23384 when removing AVAILABLE1_USES_J macro.
23385
d394eb74
L
233862012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23387
23388 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23389 (__bswap_64): __uint64_t for unsigned 64-bit int.
23390
ca38dc17
AS
233912012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23392
23393 * include/string.h (memmem): Declare libc hidden alias.
23394 * string/memmem.c (memmem): Define libc hidden alias.
23395 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23396 __read, __close instead of open, read, close.
23397
9a387d1f
L
233982012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23399
ac49ecaf
L
23400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23401 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23402 global and hidden.
23403 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23404 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23405 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23406 Likewise.
23407 (__rawmemchr_sse2): Likewise.
23408 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23409 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23410 (__strchr_sse2): Likewise.
23411 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23412 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23413 (__strcasecmp_sse2): Likewise.
23414 (__strncasecmp_sse2): Likewise.
23415 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23416 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23417 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23418 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23419 (__strrchr_sse2): Likewise.
23420 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23421 ifunc-impl-list.c.
23422 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23423 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23424 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23425 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23426 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23427 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23428 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23429 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23430 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23431 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23432 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23433 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23434 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23435 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23436 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23437 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23438 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23439 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23440 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23441 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23442 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23443 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23444 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23445 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23446 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23447 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23448 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23449 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23450 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23451 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23452
b090e8ea
L
23453 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23454 global and hidden.
23455 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23456 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23457 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23458 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23459 Likewise.
23460 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23461 Likewise.
23462 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23463 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23464 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23465 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23466 ifunc-impl-list.c.
23467 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23468 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23469 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23470 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23471 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23472 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23473 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23474 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23475 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23476 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23477 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23478 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23479 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23480 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23481 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23482 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23483 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23484 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23485 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23486 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23487 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23488 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23489 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23490 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23491 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23492 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23493 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23494 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23495 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23496 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23497 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23498 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23499 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23500 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23501 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23502 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23503 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23504 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23505 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23506 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23507 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23508
11dd4af6
L
23509 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23510 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23511 * include/ifunc-impl-list.h: New file.
23512 * misc/ifunc-impl-list.c: Likewise.
23513 * misc/Makefile (routines): Add ifunc-impl-list.
23514 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23515 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
23516 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23517 TEST_NAME]: New variables.
11dd4af6
L
23518 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23519 are defined.
23520 (test_init): Call __libc_ifunc_impl_list to initialize
23521 func_list if TEST_IFUNC and TEST_NAME are defined.
23522
9a387d1f
L
23523 * string/Makefile (strop-tests): Add bcopy and bzero.
23524 * string/test-bcopy.c: New file.
23525 * string/test-bzero.c: Likewise.
23526 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23527 defined.
23528 * string/test-memset.c: Support bzero test if TEST_BZERO is
23529 defined.
23530 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23531 __libc_memmove.
23532 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23533 __libc_memset.
23534 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23535 of memset.
23536
472371b9
JM
235372012-10-10 Joseph Myers <joseph@codesourcery.com>
23538
1e4a9536
JM
23539 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23540 * configure: Regenerated.
23541
d173d12e
JM
23542 * Makeconfig (+link-static-before-libc): Don't include
23543 $(link-static-libc).
23544
472371b9
JM
23545 * libio/libio.h (_IO_pos_t): Remove.
23546
89a3ad0b
AO
235472012-10-10 Alexandre Oliva <aoliva@redhat.com>
23548
23549 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23550 McGrath.
23551
e7451425
AO
235522012-10-10 Alexandre Oliva <aoliva@redhat.com>
23553
23554 * crypt/crypt-entry.c: Include fips-private.h.
23555 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23556 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23557 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23558 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23559
4ba74a35
AO
235602012-10-10 Alexandre Oliva <aoliva@redhat.com>
23561
23562 * crypt/crypt-private.h: Include stdbool.h.
23563 (_ufc_setup_salt_r): Return bool.
23564 * crypt/crypt-entry.c: Include errno.h.
23565 (__crypt_r): Return NULL with EINVAL for bad salt.
23566 * crypt/crypt_util.c (bad_for_salt): New.
23567 (_ufc_setup_salt_r): Check that salt is long enough and within
23568 the specified alphabet.
23569 * crypt/badsalttest.c: New file.
23570 * crypt/Makefile (tests): Add it.
23571 ($(objpfx)badsalttest): New.
23572
f96f1242
MK
235732012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23574
23575 * NEWS: Add entry for BZ #14602.
23576
0e8e0c1c
JM
235772012-10-09 Joseph Myers <joseph@codesourcery.com>
23578
23579 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23580 type-generic.
23581 * math/libm-test.inc: Update comment listing what functions and
23582 macros are tested.
23583 (isgreater_test): New function.
23584 (isgreaterequal_test): Likewise.
23585 (isless_test): Likewise.
23586 (islessequal_test): Likewise.
23587 (islessgreater_test): Likewise.
23588 (isunordered_test): Likewise.
23589 (main): Call the new functions.
23590
273edc5e
RM
235912012-10-09 Roland McGrath <roland@hack.frob.com>
23592
b8493de0
RM
23593 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23594 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23595 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23596 * sysdeps/i386/configure: Regenerated.
23597 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23598 * sysdeps/mach/configure: Regenerated.
23599 * sysdeps/mach/hurd/configure: Regenerated.
23600 * sysdeps/powerpc/configure: Regenerated.
23601 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23602 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23603 * sysdeps/s390/s390-32/configure: Regenerated.
23604 * sysdeps/s390/s390-64/configure: Regenerated.
23605 * sysdeps/sh/configure: Regenerated.
23606 * sysdeps/sparc/configure: Regenerated.
23607 * sysdeps/unix/sysv/linux/configure: Regenerated.
23608 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23609 * sysdeps/x86_64/configure: Regenerated.
23610
273edc5e
RM
23611 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23612 defined. Don't check if MAP is NULL.
23613
c8450f70
JM
236142012-10-09 Joseph Myers <joseph@codesourcery.com>
23615
23616 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23617 (_G_stat64): Likewise.
23618 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23619 (_G_stat64): Likewise.
23620 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23621 instead of struct _G_stat64.
23622 * libio/fileops.c (mmap_remap_check): Likewise.
23623 (decide_maybe_mmap): Likewise.
23624 (_IO_new_file_seekoff): Likewise.
23625 (_IO_file_stat): Likewise.
23626 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23627 _G_off64_t.
23628 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23629 instead of struct _G_stat64.
23630 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23631
57e605ba
MK
236322012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23633
23634 [BZ #14602]
23635 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23636 Replace with ...
23637 (CHECK_EOL): New macro.
23638 (two_way_short_needle): Check beginning of haystack for EOL. Use
23639 CHECK_EOL.
23640 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23641 Replace with CHECK_EOL.
23642 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23643 Replace with CHECK_EOL.
23644
ef1bb361
JM
236452012-10-08 Joseph Myers <joseph@codesourcery.com>
23646
23647 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23648 type-generic.
23649 * math/libm-test.inc: Update comment listing what functions and
23650 macros are tested.
23651 (finite_test): New function.
23652 (isinf_test): Likewise.
23653 (isnan_test): Likewise.
23654 (fpclassify_test): Test subnormal input.
23655 (isfinite_test): Likewise.
23656 (isnormal_test): Likewise.
23657 (main): Call the new functions.
23658
55f11534
JN
236592012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23660
23661 [BZ #14660]
23662 * Makerules (%.dynsym): Force C locale when running
23663 $(OBJDUMP) --dynamic-syms.
23664
1ab29350
AS
236652012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23666
23667 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23668 <stdint.h>.
23669
f1ecb7ef
DM
236702012-10-06 David S. Miller <davem@davemloft.net>
23671
23672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23673 upper 32-bits of the length value in %o2 since we use branch-on-register
23674 tests which consider the entire 64-bit register.
23675
5d41d91a
L
236762012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23677
23678 * string/test-strstr.c (check2): Add a test for page boundary.
23679
3baddb72
DM
236802012-10-05 David S. Miller <davem@davemloft.net>
23681
23682 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23683 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23684 file.
23685 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23686 sysdep_routines.
23687 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23688 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23689 and bzero when HWCAP_SPARC_CRYPTO is present.
23690
9cee5585
L
236912012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23692
d7e0dab9
L
23693 [BZ #14602]
23694 * string/test-strstr.c (check2): New function.
23695 (test_main): Call check2.
23696
03759f47
L
23697 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23698 and bug-strchr1.
23699 * string/bug-strcasestr1.c (do_test): Moved to ...
23700 * string/test-strcasestr.c (check1): Here. New function.
23701 (do_one_test): Break out result checking code into ...
23702 (check_result): This. New function.
23703 (do_one_test): Call check_result.
23704 (test_main): Call check1.
23705 * string/bug-strchr1.c (do_test): Moved to ...
23706 * string/test-strchr.c (check1): Here. New function.
23707 (do_one_test): Break out result checking code into ...
23708 (check_result): This. New function.
23709 (do_one_test): Call check_result.
23710 (test_main): Call check1.
23711 * string/bug-strstr1.c (main): Moved to ...
046f153e 23712 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23713 (do_one_test): Break out result checking code into ...
23714 (check_result): This. New function.
23715 (do_one_test): Call check_result.
23716 (test_main): Call check1.
23717 * string/bug-strcasestr1.c: Removed.
23718 * string/bug-strchr1.c: Likewise.
23719 * string/bug-strstr1.c: Likewise.
23720
53cea63e
L
23721 * elf/Makefile (dl-routines): Add hwcaps.
23722 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23723 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23724 (_dl_important_hwcaps): Moved to ...
23725 * elf/dl-hwcaps.c: Here. New file.
23726 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23727
9cee5585 23728 [BZ #14557]
bb859b06
L
23729 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23730 if IS_IN_rtld isn't defined.
23731
9cee5585
L
23732 * elf/dl-support.c (_dl_sysinfo_map): New.
23733 Include "get-dynamic-info.h" and "setup-vdso.h".
23734 (_dl_non_dynamic_init): Call setup_vdso.
23735 * elf/dynamic-link.h: Don't include <assert.h>.
23736 (elf_get_dynamic_info): Moved to ...
23737 * elf/get-dynamic-info.h: Here. New file.
23738 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23739 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23740 * elf/setup-vdso.h: Here. New file.
23741 * elf/rtld.c: Include "setup-vdso.h".
23742 (dl_main): Call setup_vdso.
23743
23c31b76
JM
237442012-10-05 Joseph Myers <joseph@codesourcery.com>
23745
28234b07
JM
23746 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23747 creal in comment listing functions tested. List finite, isinf,
23748 isnan, isless, islessequal, isgreater, isgreaterequal,
23749 islessgreater, isunordered, lgamma_r and pow10 as functions and
23750 macros not tested. Mention which functions not tested are aliases
23751 for other functions. Fix typo. Note that signs of NaNs are not
23752 tested.
23753
23c31b76
JM
23754 * scripts/config.guess: Update from config.git.
23755 * scripts/config.sub: Likewise.
23756
9043e228
RM
237572012-10-04 Roland McGrath <roland@hack.frob.com>
23758
23759 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23760 * misc/madvise.c (madvise): Renamed to __madvise.
23761 Make madvise a weak alias.
23762 * include/sys/mman.h: Declare __madvise.
23763 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23764 * sysdeps/unix/syscalls.list
23765 (madvise): Make __madvise the strong name, and madvise a weak alias.
23766 * sysdeps/unix/sysv/linux/syscalls.list
23767 (madvise, mmap): Remove redundant entries.
23768 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23769 * malloc/malloc.c (mtrim): Likewise.
23770 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23771
f57f8055
RM
237722012-10-03 Roland McGrath <roland@hack.frob.com>
23773
23774 * sysdeps/mach/hurd/dl-cache.c: File removed.
23775 * config.h.in (USE_LDCONFIG): New #undef.
23776 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23777 * configure: Regenerated.
23778 * elf/Makefile (dl-routines): Add dl-cache only under
23779 [$(use-ldconfig) = yes].
23780 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23781 cache on [USE_LDCONFIG].
23782 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23783 [USE_LDCONFIG].
23784 * elf/rtld.c (dl_main): Likewise.
23785
5bb0c10a
PT
237862012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23787
23788 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23789 _SC_LEVEL4_CACHE_LINESIZE.
23790
010188c6
RM
237912012-10-03 Roland McGrath <roland@hack.frob.com>
23792
23793 * sysdeps/unix/bsd/confstr.h: File removed.
23794
b6c5ec07
AO
237952012-10-02 Alexandre Oliva <aoliva@redhat.com>
23796
23797 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23798 sys/sdt-config.h.
23799
408223d4
RM
238002012-10-02 Roland McGrath <roland@hack.frob.com>
23801
23802 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23803 Make 'mapoff' field ElfW(Off) rather than off_t.
23804
bb9510dc
DL
238052012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23806
fc997c6e
DL
23807 * nscd/Makefile: Remove nscd-cflags and all its users.
23808 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23809 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23810
bb9510dc
DL
23811 [BZ #10631]
23812 * malloc.c (malloc_printerr): Clarify error message.
23813
05699367
L
238142012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23815
23816 [BZ #14648]
23817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23818 Set bit_FMA_Usable if FMA is supported.
23819 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23820 macro.
23821 (bit_FMA4_Usable): Updated.
23822 (index_FMA_Usable): New macro.
23823 (CPUID_FMA): Likewise
23824 (HAS_FMA): Defined with bit_FMA_Usable.
23825
51367701
RM
238262012-10-01 Roland McGrath <roland@hack.frob.com>
23827
23828 * bits/types.h (__swblk_t): Type removed.
23829 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23830 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23831 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23832 (__SWBLK_T_TYPE): Likewise.
23833 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23834 (__SWBLK_T_TYPE): Likewise.
23835 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23836 (__SWBLK_T_TYPE): Likewise.
23837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23838 (__SWBLK_T_TYPE): Likewise.
23839
4d57bf63 238402012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23841 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23842
23843 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23844 (xdr_mapname): Use YPMAXMAP as maxsize.
23845 (xdr_peername): Use YPMAXPEER as maxsize.
23846 (xdr_keydat): Use YPAXRECORD as maxsize.
23847 (xdr_valdat): Use YPMAXRECORD as maxsize.
23848
93c65d43
RM
238492012-10-01 Roland McGrath <roland@hack.frob.com>
23850
497a03d6
RM
23851 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23852
93c65d43
RM
23853 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23854 * csu/init-first.c: ... here.
23855 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23856 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23857 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23858 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23859 * sysdeps/i386/init-first.c: File removed.
23860 * sysdeps/sh/init-first.c: File removed.
23861
bec749fd
JM
238622012-10-01 Joseph Myers <joseph@codesourcery.com>
23863
23864 [BZ #14645]
23865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23866 if x * y might underflow to zero and z is zero.
23867 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23868 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23869 * math/libm-test.inc (min_subnorm_value): New variable.
23870 (fma_test): Add more tests.
23871 (fma_test_towardzero): Likewise.
23872 (fma_test_downward): Likewise
23873 (fma_test_upward): Likewise.
23874 (initialize): Set min_subnorm_value.
23875
8ec5b013
JM
238762012-09-29 Joseph Myers <joseph@codesourcery.com>
23877
23878 [BZ #14638]
23879 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23880 0 + 0.
23881 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23882 mode for addition resulting in exact zero.
23883 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23885 exact 0 + 0.
23886 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23887 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23888 * math/libm-test.inc (fma_test): Add more tests.
23889 (fma_test_towardzero): New function.
23890 (fma_test_downward): Likewise.
23891 (fma_test_upward): Likewise.
23892 (main): Call the new functions.
23893
b1fa802e
DM
238942012-09-28 David S. Miller <davem@davemloft.net>
23895
23896 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23897
d3b9fd9e
RM
238982012-09-28 Roland McGrath <roland@hack.frob.com>
23899
ea4d37b3
RM
23900 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23901 instead of SIGALRM.
23902
ac51c949
RM
23903 * sysdeps/gnu/_G_config.h: Moved to ...
23904 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23905 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23906 * sysdeps/generic/_G_config.h: ... here.
23907
28c195f7
RM
23908 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23909
848917f9
RM
23910 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23911
6bacf05b
RM
23912 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23913 Conditionalize target on [libnss_test1.so-version].
23914
91363dbb
RM
23915 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23916
cc87f7d8
RM
23917 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23918 (elfobjdir): Move out of conditionals.
23919
b1c608fe
RM
23920 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23921 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23922 (__nss_lookup_function): Conditionalize label remove_from_tree on
23923 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23924
1d9a6d96
DM
239252012-09-28 David S. Miller <davem@davemloft.net>
23926
23927 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23928 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23929 file.
23930 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23931 sysdep_routines.
23932 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23933 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23934 when HWCAP_SPARC_CRYPTO is present.
23935
72581615
PT
239362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23937
23938 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23939
715a900c
JL
239402012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23941
23942 [BZ #6530]
23943 * stdio-common/vfprintf.c (process_string_arg): Revert
23944 2000-07-22 change.
23945
239462011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23947
23948 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23949 for testcase.
23950 * stdio-common/tst-sprintf.c: Include <locale.h>
23951 (main): Test sprintf's handling of incomplete multibyte
23952 characters.
23953
9bac1d86
L
239542012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23955
23956 * elf/dl-runtime.c (VERSYMIDX): Removed.
23957 * elf/dl-version.c (VERSYMIDX): Likewise.
23958 * elf/do-rel.h (VERSYMIDX): Likewise.
23959 (VALIDX): Likewise.
23960 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23961 * elf/rtld.c (VALIDX): Likewise.
23962 (ADDRIDX): Likewise.
9bac1d86
L
23963 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23964 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23965 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23966 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23967 (VALIDX): Likewise.
23968 (ADDRIDX): Likewise.
9bac1d86 23969
b31606c0
PT
239702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23971
23972 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23973
11541177
JL
239742012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23975
23976 [BZ #11438]
23977 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23978 to global scope.
23979 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23980 addresses are in the same scope as 192.0.2/24.
23981 * posix/gai.conf: Document new scope table defaults.
23982
adb26fae
SP
239832012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23984
23985 [BZ #5298]
23986 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23987 for ftell. Compute offsets from write pointers instead.
23988 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23989
4573c6b0
SP
239902012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23991
23992 [BZ #14543]
23993 * libio/Makefile (tests): New test case tst-fseek.
23994 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23995 combination works in wide mode.
23996 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23997 state when the external buffer state changes.
23998
aa9bbfe6
DM
239992012-09-27 David S. Miller <davem@davemloft.net>
24000
24001 [BZ #14376]
24002 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24003 pass reloc->r_addend in as the 'high' argument to
24004 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24005
784421e7
DM
24006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24007
c39bc8b8
PT
240082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
24009
24010 * rt/tst-aio2.c: Include <pthread.h>.
24011 * rt/tst-aio3.c: Likewise.
24012
1ccc2399
SE
240132012-09-27 Steve Ellcey <sellcey@mips.com>
24014
24015 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24016
31ed4153
L
240172012-09-27 H.J. Lu <hongjiu.lu@intel.com>
24018
25f5f885
L
24019 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24020 contents on [SHARED].
31ed4153 24021
b7bfe116
MP
240222012-09-26 Marek Polacek <polacek@redhat.com>
24023
24024 [BZ #14530]
24025 [BZ #13741]
24026 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24027 for C++ and GCC <4.3 as well as for non GCC compilers.
24028
43c4edba
MT
240292012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24030
24031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24032
6a1bf82f
RM
240332012-09-25 Roland McGrath <roland@hack.frob.com>
24034
24035 * Makefile.in (all, install): Declare with .PHONY.
24036 Reported by Michael Hope <michael.hope@linaro.org>.
24037
8ad11b9a
TMQMF
240382012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24039
24040 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24041 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24042 system header.
24043 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24044 Likewise.
24045 (sydep_routines): Add the new and the internal functions.
24046 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24047 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24049 (GLIBC_2.17): Add the new function.
24050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24051 (GLIBC_2.17): Likewise.
24052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
24053 (GLIBC_2.17): Likewise.
24054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
24055 (GLIBC_2.17): Likewise.
24056 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
24057
7e2fca8d
AM
240582012-09-25 Alan Modra <amodra@gmail.com>
24059
24060 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
24061 Add release barrier before setting once_control to say
24062 initialisation is done. Add hints on lwarx. Use macro in
24063 place of isync.
24064 (clear_once_control): Add release barrier.
24065
b87c4b24
JM
240662012-09-25 Joseph Myers <joseph@codesourcery.com>
24067
d032e0d2
JM
24068 [BZ #13629]
24069 * math/s_clog.c (__clog): Handle more values close to |z| = 1
24070 specially.
24071 * math/s_clog10.c (__clog10): Likewise.
24072 * math/s_clog10f.c (__clog10f): Likewise.
24073 * math/s_clog10l.c (__clog10l): Likewise.
24074 * math/s_clogf.c (__clogf): Likewise.
24075 * math/s_clogl.c (__clogl): Likewise.
24076 * math/Makefile (libm-calls): Add x2y2m1.
24077 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
24078 (__x2y2m1): Likewise.
24079 (__x2y2m1l): Likewise.
24080 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
24081 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
24082 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
24083 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24084 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
24085 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
24086 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
24087 * sysdeps/i386/fpu/libm-test-ulps: Update.
24088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24089
b87c4b24
JM
24090 [BZ #14621]
24091 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
24092 int as type of variable DEPTH.
24093 (glob): Use size_t instead of int as type of variables NEWCOUNT
24094 and OLD_PATHC.
24095
6d3bf199
LD
240962012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24097
22bf5c17
LD
24098 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24099 Add s_sincosf-sse2.
24100 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
24101 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
24102 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
24103 macros for using routine as __sincosf_ia32.
24104 Use macro for function declaration and weak_alias.
24105 * sysdeps/i386/fpu/libm-test-ulps: Update.
24106
24107 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
24108 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24109
24110 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
24111 subnormal argument.
24112 * math/s_cexpf.c (__cexpf): Likewise.
24113 * math/s_csinf.c (__csinf): Likewise.
24114 * math/s_csinhf.c (__csinhf): Likewise.
24115 * math/s_ctanf.c (__ctanf): Likewise.
24116 * math/s_ctanhf.c (__ctanhf): Likewise.
24117 * math/s_ccosh.c (__ccoshf): Likewise.
24118 * math/s_cexp.c (__cexpl): Likewise.
24119 * math/s_csin.c (__csin): Likewise.
24120 * math/s_csinh.c (__csinh): Likewise.
24121 * math/s_ctan.c (__ctan): Likewise.
24122 * math/s_ctanh.c (ctanh): Likewise.
24123 * math/s_ccoshl.c (__ccoshl): Likewise.
24124 * math/s_cexpl.c (__cexpl): Likewise.
24125 * math/s_csinl.c (__csinl): Likewise.
24126 * math/s_csinhl.c (__csinhl): Likewise.
24127 * math/s_ctanl.c (__ctanl): Likewise.
24128 * math/s_ctanhl.c (__ctanhl): Likewise.
24129
203e5603
JM
241302012-09-25 Joseph Myers <joseph@codesourcery.com>
24131
24132 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
24133 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
24134 (_IO_off_t): Define to __off_t, not _G_off_t.
24135 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
24136 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
24137 (_IO_wint_t): Define to wint_t, not _G_wint_t.
24138 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
24139 type of __dummy and __dummy2 fields.
24140 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
24141 (_G_ssize_t): Likewise.
24142 (_G_off_t): Likewise.
24143 (_G_pid_t): Likewise.
24144 (_G_uid_t): Likewise.
24145 (_G_wchar_t): Likewise.
24146 (_G_wint_t): Likewise.
24147 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
24148 (_G_ssize_t): Likewise.
24149 (_G_off_t): Likewise.
24150 (_G_pid_t): Likewise.
24151 (_G_uid_t): Likewise.
24152 (_G_wchar_t): Likewise.
24153 (_G_wint_t): Likewise.
24154 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
24155 (_G_ssize_t): Likewise.
24156 (_G_off_t): Likewise.
24157 (_G_pid_t): Likewise.
24158 (_G_uid_t): Likewise.
24159 (_G_wchar_t): Likewise.
24160 (_G_wint_t): Likewise.
24161
9fab36eb
SP
241622012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24163
24164 * malloc/arena.c: Include malloc-sysdep.h.
24165 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24166 is sufficient to shrink the heap or an unmap is needed.
24167 * sysdeps/generic/malloc-sysdep.h: New file. Define
24168 new function check_may_shrink_heap.
24169 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24170 new function check_may_shrink_heap.
24171
2b4f00d1
SP
241722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24173
24174 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24175 comments.
24176
9a9028b1
DL
241772012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24178
57c69bef
DL
24179 * catgets/test-gencat.sh: Add "set -e".
24180 * elf/tst-pathopt.sh: Likewise.
24181 * grp/tst_fgetgrent.sh: Likewise.
24182 * iconvdata/run-iconv-test.sh: Likewise.
24183 * intl/tst-gettext.sh: Likewise.
24184 * intl/tst-gettext2.sh: Likewise.
24185 * intl/tst-gettext4.sh: Likewise.
24186 * intl/tst-gettext6.sh: Likewise.
24187 * intl/tst-translit.sh: Likewise.
24188 * io/ftwtest-sh: Likewise.
24189 * libio/test-freopen.sh: Likewise.
24190 * malloc/tst-mtrace.sh: Likewise.
24191 * posix/globtest.sh: Likewise.
24192 * posix/tst-getconf.sh: Likewise.
24193 * posix/wordexp-tst.sh: Likewise.
24194 * stdio-common/tst-printf.sh: Likewise.
24195 * stdio-common/tst-unbputc.sh: Likewise.
24196 * stdlib/tst-fmtmsg.sh: Likewise.
24197 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24198 * catgets/Makefile: Do not specify -e option when running
24199 testsuite shell scripts.
24200 * elf/Makefile: Likewise.
24201 * grp/Makefile: Likewise.
24202 * iconvdata/Makefile: Likewise.
24203 * intl/Makefile: Likewise.
24204 * io/Makefile: Likewise.
24205 * libio/Makefile: Likewise.
24206 * malloc/Makefile: Likewise.
24207 * posix/Makefile: Likewise.
24208 * stdio-common/Makefile: Likewise.
24209 * stdlib/Makefile: Likewise.
24210 * sysdeps/x86_64/Makefile: Likewise.
24211
9a9028b1
DL
24212 * io/ftwtest-sh: Add copyright header.
24213 * posix/globtest.sh: Likewise.
24214 * posix/tst-getconf.sh: Likewise.
24215 * posix/wordexp-tst.sh: Likewise.
24216 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24217
ced6f16e
L
242182012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24219
94b32c39
L
24220 [BZ #13679]
24221 * Makeconfig (+link): Defined as $(+link-static) if
24222 $(build-shared) isn't yes.
24223 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24224 isn't yes.
24225 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24226
189e935b
L
24227 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24228
ced6f16e
L
24229 [BZ #14562]
24230 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24231 new chunk size with MALLOC_ALIGN_MASK.
24232
a9f8e53a
JM
242332012-09-24 Joseph Myers <joseph@codesourcery.com>
24234
24235 [BZ #5044]
24236 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24237 <rounding-mode.h>.
24238 (__printf_fphex): Determine rounding using get_rounding_mode and
24239 round_away.
24240 * stdio-common/tst-printf-round.c (struct hex_test): New
24241 structure.
24242 (hex_tests): New variable.
24243 (test_hex_in_one_mode): New function.
24244 (do_test): Also run tests for hex float output.
24245
43153109
JM
242462012-09-21 Joseph Myers <joseph@codesourcery.com>
24247
24248 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24249 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24250 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24251 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24252 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24253 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24254 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24255 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24256
8a26625d
JM
242572012-09-20 Joseph Myers <joseph@codesourcery.com>
24258
24259 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24260 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24261 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24262 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24263
f3fd569c
DL
242642012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24265
24266 [BZ #14579]
24267 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24268 mode only.
24269 * elf/tst-rtld-load-self.sh: New test.
24270 * elf/Makefile: Run it.
24271
63bbedd4
JM
242722012-09-18 Joseph Myers <joseph@codesourcery.com>
24273
24274 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24275 (tst-writev-ENV): Remove.
24276 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24277
626f8b6a
CM
242782012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24279
24280 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24281
b7aaa4d6
JM
242822012-09-17 Joseph Myers <joseph@codesourcery.com>
24283
24284 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24285 unconditional.
24286 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24287 Likewise.
24288 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24289 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24290 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24291 Likewise.
24292
65513990
L
242932012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24294
24295 [BZ #14587]
24296 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24297 * config.make.in (have-cpp-asm-debuginfo): Removed.
24298 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24299 * configure: Regenerated.
24300
784761be
JM
243012012-09-14 Joseph Myers <joseph@codesourcery.com>
24302
24303 [BZ #5044]
24304 * stdio-common/printf_fp.c: Include <stdbool.h> and
24305 <rounding-mode.h>.
24306 (___printf_fp): Determine rounding using get_rounding_mode and
24307 round_away.
24308 * stdio-common/tst-printf-round.c: New file.
24309 * stdio-common/Makefile (tests): Add tst-printf-round.
24310 (link-libm): New variable.
24311 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24312
9503345f
L
243132012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24314
24315 [BZ #14576]
24316 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24317 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24318 Likewise.
24319 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24320 Likewise.
24321
ad35fc00
JM
243222012-09-13 Joseph Myers <joseph@codesourcery.com>
24323
24324 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24325 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24326 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24327 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24328
6c9b0f68
JM
243292012-09-12 Joseph Myers <joseph@codesourcery.com>
24330
24331 [BZ #14518]
24332 * include/rounding-mode.h: New file.
24333 * sysdeps/generic/get-rounding-mode.h: Likewise.
24334 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24335 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24336 (MAX_VALUE): New macro.
24337 (MIN_VALUE): Likewise.
24338 (overflow_value): New function.
24339 (underflow_value): Likewise.
24340 (round_and_return): Use overflow_value and underflow_value to
24341 determine return values in overflow and underflow cases. Use
24342 round_away to determine rounding depending on rounding mode.
24343 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24344 determine return values in overflow and underflow cases.
24345 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24346 (struct test_results): New structure.
24347 (struct test): Use struct test_results to store expected results
24348 for all rounding modes.
24349 (TEST): Include expected results for all rounding modes.
24350 (test_in_one_mode): New function.
24351 (do_test): Use test_in_one_mode to compute and check results.
24352 Check results for all rounding modes.
24353 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24354 $(link-libm).
24355
19fcedd5
AM
243562012-12-09 Allan McRae <allan@archlinux.org>
24357
1e9d84cd 24358 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 24359
8bbfd2f1
JM
243602012-09-11 Joseph Myers <joseph@codesourcery.com>
24361
24362 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24363 (_G_int32_t): Likewise.
24364 (_G_uint16_t): Likewise.
24365 (_G_uint32_t): Likewise.
24366 (_G_HAVE_BOOL): Likewise.
24367 (_G_HAVE_ATEXIT): Likewise.
24368 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24369 (_G_HAVE_IO_FILE_OPEN): Likewise.
24370 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24371 (_G_int32_t): Likewise.
24372 (_G_uint16_t): Likewise.
24373 (_G_uint32_t): Likewise.
24374 (_G_HAVE_BOOL): Likewise.
24375 (_G_HAVE_ATEXIT): Likewise.
24376 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24377 (_G_HAVE_IO_FILE_OPEN): Likewise.
24378 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24379 (_G_int32_t): Likewise.
24380 (_G_uint16_t): Likewise.
24381 (_G_uint32_t): Likewise.
24382 (_G_HAVE_BOOL): Likewise.
24383 (_G_HAVE_ATEXIT): Likewise.
24384 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24385 (_G_HAVE_IO_FILE_OPEN): Likewise.
24386
b1dc5912
L
243872012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24388
24389 * csu/libc-tls.c: Update copyright years.
24390
0e886ef9
JM
243912012-09-10 Joseph Myers <joseph@codesourcery.com>
24392
28361c5e
JM
24393 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24394 [!_G_USING_THUNKS]: Remove conditional code.
24395 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24396 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24397
0e886ef9
JM
24398 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24399 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24400 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24401 (_G_VTABLE_LABEL_PREFIX): Likewise.
24402 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24403 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24404 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24405 (_G_VTABLE_LABEL_PREFIX): Likewise.
24406 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24407 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24408 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24409 (_G_VTABLE_LABEL_PREFIX): Likewise.
24410 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24411
bcba7aa2
L
244122012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24413
24414 * libio/Makefile: Include ../Makeconfig before tests.
24415 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24416 only if $(build-shared) is yes.
24417
06585ee8
L
24418 * iconv/gconv_db.c: Update copyright years.
24419
80ccd52c
LD
244202012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24421
24422 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24423 unwind info if defined PIC. Fix special cases description.
24424 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24425
24426 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24427 DP_HI_MASK entry.
24428 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24429
691bc9c1
L
244302012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24431
3d9b46b3
L
24432 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24433
de2139a9
L
24434 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24435 is NULL.
24436
5ca78dd0
L
24437 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24438 (LDLIBS-tst-chk4): This.
24439 (LDFLAGS-tst-chk5): Renamed to ...
24440 (LDLIBS-tst-chk5): This.
24441 (LDFLAGS-tst-chk6): Renamed to ...
24442 (LDLIBS-tst-chk6): This.
24443 (LDFLAGS-tst-lfschk4): Renamed to ...
24444 (LDLIBS-tst-lfschk4): This.
24445 (LDFLAGS-tst-lfschk5): Renamed to ...
24446 (LDLIBS-tst-lfschk5): This.
24447 (LDFLAGS-tst-lfschk6): Renamed to ...
24448 (LDLIBS-tst-lfschk6): This.
24449
691bc9c1
L
24450 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24451 on $(common-objpfx)soversions.mk.
24452
65cafb1c
JM
244532012-09-07 Joseph Myers <joseph@codesourcery.com>
24454
24455 [BZ #10014]
24456 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24457 example host name.
24458
c78ab094
SP
244592012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24460
24461 * malloc/arena.c (arena_get_retry): New function that gets
24462 another arena for the caller to try its request on.
24463 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24464 current arena cannot fulfill the request.
24465 (__libc_memalign): Likewise.
24466 (__libc_memalign): Likewise.
24467 (__libc_pvalloc): Likewise.
24468 (__libc_calloc): Likewise.
24469
01f49f59
JT
244702012-09-05 John Tobey <john.tobey@gmail.com>
24471
24472 [BZ #13542]
24473 * manual/arith.texi (Operations on Complex): Fix description
24474 of carg branch cut.
24475
4c23fed5
JM
244762012-09-06 Joseph Myers <joseph@codesourcery.com>
24477
1d3c8572
JM
24478 [BZ #10014]
24479 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24480 host name.
24481
4c23fed5
JM
24482 [BZ #10038]
24483 * manual/memory.texi (Memory): Make order of menu items match
24484 order of sections.
24485
04570aaa
L
244862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24487
24488 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24489 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24490 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24491
b80af2f4
L
244922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24493
24494 * csu/libc-tls.c (static_dtv): Renamed to ...
24495 (_dl_static_dtv): This. Make it global.
24496 (_dl_initial_dtv): Removed.
24497 (__libc_setup_tls): Updated.
24498 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24499 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24500 DL_INITIAL_DTV.
24501
2abe9f15
PM
245022012-09-06 Petr Machata <pmachata@redhat.com>
24503
24504 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24505 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24506 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24507 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24508
0948c3af
L
245092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24510
24511 [BZ #14545]
24512 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24513 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24514 freeing dtv[-1].
24515
a5055ad1
L
245162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24517
24518 [BZ #14544]
24519 * Makeconfig (link-static-before-libc): Replace $(+prector)
24520 with $(+prectorT).
24521 (link-static-after-libc): Replace $(+postctor) with
24522 $(+postctorT).
24523 (link-bounded): Replace $(+prector)/$(+postctor) with
24524 $(+prectorT)/$(+postctorT).
24525 (+prectorT): New macro.
24526 (+postctorT): Likewise.
24527
ed8c2ecd
JM
245282012-09-06 Joseph Myers <joseph@codesourcery.com>
24529
24530 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24531 (round_str): Handle values above the maximum for IBM long double
24532 as inexact.
24533 * stdlib/tst-strtod-round.c (tests): Regenerated.
24534
14c996c8
AK
245352012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24536
24537 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24538 assembler flag.
24539 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24540 zarch_nohighgprs around the zarch optimized routines.
24541 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24542 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24543 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24544 for zarch.
24545
430d6ce6
DM
245462012-09-05 David S. Miller <davem@davemloft.net>
24547
24548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24549
57f41c40
AS
24550 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24551 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
24552 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24553 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24554 entries.
24555
24d4e01b
AO
245562012-09-05 Alexandre Oliva <aoliva@redhat.com>
24557
24558 * malloc/arena.c: Fold copyright years.
24559 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24560
61d58174
AO
245612012-09-05 Alexandre Oliva <aoliva@redhat.com>
24562
24563 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24564
20196a5e
AO
245652012-09-05 Alexandre Oliva <aoliva@redhat.com>
24566
24567 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24568
5c447383
AO
245692012-09-05 Alexandre Oliva <aoliva@redhat.com>
24570
24571 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24572 change internal state upon failure.
24573
fad64255
AO
245742012-09-05 Alexandre Oliva <aoliva@redhat.com>
24575
24576 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24577 * malloc/memusage.c (mmap): Likewise.
24578 (mmap64, mremap): Likewise. Adjust name in comment.
24579
1ffb8c90
SP
245802012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24581
24582 * libio/fileops.c: Fix typos in comments.
24583 * libio/oldfileops.c: Likewise.
24584 * libio/wfileops.c: Likewise.
24585
6ef9cc37
SP
245862012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24587
24588 [BZ #1349]
24589 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24590 (tst-malloc-usable-ENV): Set environment for test case.
24591 * malloc/hooks.c (malloc_check_get_size): New function to get
24592 requested size.
24593 * malloc/malloc.c (musable): Use malloc_check_get_size.
24594 * malloc/tst-malloc-usable.c: New test case.
24595
4d038ae3
AS
245962012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24597
24598 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24599
c4e85184
AM
246002012-09-05 Allan McRae <allan@archlinux.org>
24601
b9dafc56 24602 [BZ #13966]
c4e85184
AM
24603 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24604 determine header location.
24605 * configure: Regenerated.
24606
e1343020
AS
246072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24608
24609 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24610 float format.
24611 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24612 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24613 format.
e1343020
AS
24614 (test): Regenerate.
24615
0a9f1987
DM
246162012-09-04 David S. Miller <davem@davemloft.net>
24617
24618 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24619 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24620 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24621
29237804
FW
246222012-09-04 Florian Weimer <fweimer@redhat.com>
24623
24624 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24625 failures.
24626
edb3cb88
FW
24627 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24628
60160d83
JM
246292012-09-04 Joseph Myers <joseph@codesourcery.com>
24630
24631 [BZ #9914]
24632 * libio/iogetdelim.c: Include <limits.h>.
24633 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24634 + len + 1 would overflow.
24635
bcd6c8dc
AJ
246362012-09-03 Andreas Jaeger <aj@suse.de>
24637
24638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24639 * sysdeps/i386/fpu/libm-test-ulps: Update.
24640
4ffffbd2
LD
246412012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24642
24643 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24644 Add s_sinf-sse2, s_conf-sse2.
24645
24646 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24647 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24648 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24649 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24650
24651 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24652 for using routine as __sinf_ia32.
24653 Use macro for function declaration and weak_alias.
24654 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24655 for using routine as __cosf_ia32.
24656 Use macro for function declaration and weak_alias.
24657
24658 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24659 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24660
24661 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24662 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24664
24665 * math/libm-test.inc (cos_test): Add more test cases.
24666 (sin_test): Likewise.
24667 (sincos_test): Likewise.
24668
511fa286
AK
246692012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24670
24671 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24672 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24673 hidden.
24674 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24675
5f30cfec
L
246762012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24677
24678 [BZ #14538]
24679 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24680 first element of the GOT.
24681 (elf_machine_load_address): Return the difference between
24682 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24683
0786794f
AM
246842012-09-01 Allan McRae <allan@archlinux.org>
24685
5f30cfec
L
24686 [BZ #13412]
24687 * configure.in (AWK): Require gawk version 3.0 or later.
24688 * configure: Regenerated.
0786794f 24689
26889eac
JM
246902012-09-01 Joseph Myers <joseph@codesourcery.com>
24691
24692 * sysdeps/unix/sysv/linux/kernel-features.h
24693 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24694 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24695 [__NR_clock_getres]: Make code unconditional.
24696 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24697 (clock_getcpuclockid): Remove code left unreachable by removal of
24698 conditionals.
24699 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24700 code unconditional.
24701 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24702 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24703 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24704 Make code unconditional.
24705 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24706 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24707 * sysdeps/unix/sysv/linux/clock_settime.c
24708 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24709 conditional code.
24710 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24711 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24712
d22e28b0
L
247132012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24714
24715 [BZ #14476]
24716 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24717 scripts/test-installation.pl.
24718
24719 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24720 and $ld_so_version if it is set.
24721
050af9c4
SP
247222012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24723
24724 [BZ #14516]
24725 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24726 failure if reading from procfs failed.
24727 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24728
ad845c0b
JM
247292012-08-27 Joseph Myers <joseph@codesourcery.com>
24730
24731 * sysdeps/unix/sysv/linux/kernel-features.h
24732 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24733 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24734 Remove conditional code.
24735 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24736 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24737 Remove conditional code.
24738 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24739 * sysdeps/unix/sysv/linux/i386/fxstat.c
24740 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24741 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24742 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24743 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24744 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24745 * sysdeps/unix/sysv/linux/i386/lxstat.c
24746 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24747 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24748 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24749 Remove conditional code.
24750 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24751 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24752 Remove conditional code.
24753 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24754 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24755 <kernel-features.h>.
24756 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24757 Remove.
24758 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24759 Remove conditional code.
24760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24761 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24762 Remove conditional.
24763
5dbf56af
MF
247642012-08-27 Mike Frysinger <vapier@gentoo.org>
24765
24766 [BZ #5400]
24767 * NEWS: Add fixed bug number.
24768
d6e70f43
JM
247692012-08-27 Joseph Myers <joseph@codesourcery.com>
24770
7efb4737
JM
24771 [BZ #14519]
24772 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24773 underflowing exponent in case of negative sign.
24774 * stdlib/tst-strtod-round-data: Add more tests.
24775 * stdlib/tst-strtod-round.c (tests): Regenerated.
24776
af92131a
JM
24777 [BZ #3479]
24778 * stdlib/strtod_l.c (NDIG): Remove.
24779 (HEXNDIG): Likewise.
24780 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24781 smallest representable value.
24782 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24783 lie within an exact representation of 1/2 ulp of the result.
24784 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24785 unconditionally.
24786 (TENS_P9_IDX): Define unconditionally.
24787 (TENS_P9_SIZE): Likewise.
24788 (TENS_P10_IDX): Likewise.
24789 (TENS_P10_SIZE): Likewise.
24790 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24791 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24792 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24793 entries for 10^2^13 and 10^2^14.
24794 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24795 (TENS_P13_IDX): Define.
24796 (TENS_P13_SIZE): Likewise.
24797 (TENS_P14_IDX): Likewise.
24798 (TENS_P14_SIZE): Likewise.
24799 (_fpioconst_pow10): Change array size to
24800 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24801 unconditional.
24802 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24803 1024]: Add entries for 10^2^13 and 10^2^14.
24804 [LAST_POW10 > _LAST_POW10]: Remove #error.
24805 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24806 (_fpioconst_pow10): Change array size to
24807 FPIOCONST_POW10_ARRAY_SIZE.
24808 * stdlib/gen-fpioconst.c: New file.
24809 * stdlib/gen-tst-strtod-round.c: Likewise.
24810 * stdlib/tst-strtod-round-data: Likewise.
24811 * stdlib/tst-strtod-round.c: Likewise.
24812 * stdlib/Makefile (tests): Add tst-strtod-round.
24813
d6e70f43
JM
24814 [BZ #14459]
24815 * stdlib/strtod_l.c: Include <stdint.h>.
24816 (NDEBUG): Do not define.
24817 (round_and_return): Change EXPONENT parameter to type intmax_t.
24818 Rearrange calculations to avoid internal overflow possibilities.
24819 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24820 Rearrange calculations to avoid internal overflow possibilities.
24821 Assert that number fits inside MPNSIZE limbs.
24822 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24823 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24824 calculations and add assertions to avoid internal overflow
24825 possibilities. Add casts to avoid signed/unsigned operations.
24826 * stdlib/tst-strtod-overflow.c: New file.
24827 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24828
1f529f7d
MP
248292012-08-25 Marek Polacek <polacek@redhat.com>
24830
24831 * time/time.h: Fix some typos in comments.
24832
59a629f1
RM
248332012-08-23 Roland McGrath <roland@hack.frob.com>
24834
24835 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24836 * posix/tst-rfc3484-2.c: Likewise.
24837 * posix/tst-rfc3484-3.c: Likewise.
24838
d3bafbc9
SM
248392012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24840
24841 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24842 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24843
4efcc022
JM
248442012-08-23 Joseph Myers <joseph@codesourcery.com>
24845
24846 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24847 #include of fxstatat64.c.
24848
3cc3ef96
RM
248492012-08-22 Roland McGrath <roland@hack.frob.com>
24850
f04e2132
RM
24851 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24852 * shadow/getspent_r.c: Likewise.
24853 * shadow/getspnam.c: Likewise.
24854 * shadow/getspnam_r.c: Likewise.
24855 * gshadow/getsgent.c: Likewise.
24856 * gshadow/getsgent_r.c: Likewise.
24857 * gshadow/getsgnam.c: Likewise.
24858 * gshadow/getsgnam_r.c: Likewise.
24859 * inet/getnetbyad.c: Likewise.
24860 * inet/getnetbyad_r.c: Likewise.
24861 * inet/getnetbynm.c: Likewise.
24862 * inet/getnetbynm_r.c: Likewise.
24863 * inet/getnetent.c: Likewise.
24864 * inet/getnetent_r.c: Likewise.
24865 * inet/getproto.c: Likewise.
24866 * inet/getproto_r.c: Likewise.
24867 * inet/getprtent.c: Likewise.
24868 * inet/getprtent_r.c: Likewise.
24869 * inet/getprtname.c: Likewise.
24870 * inet/getprtname_r.c: Likewise.
24871 * inet/getrpcbyname.c: Likewise.
24872 * inet/getrpcbyname_r.c: Likewise.
24873 * inet/getrpcbynumber.c: Likewise.
24874 * inet/getrpcbynumber_r.c: Likewise.
24875 * inet/getrpcent.c: Likewise.
24876 * inet/getrpcent_r.c: Likewise.
24877 * inet/getaliasent.c: Likewise.
24878 * inet/getaliasent_r.c: Likewise.
24879 * inet/getaliasname.c: Likewise.
24880 * inet/getaliasname_r.c: Likewise.
24881 * nscd/getgrgid_r.c: Likewise.
24882 * nscd/getgrnam_r.c: Likewise.
24883 * nscd/gethstbyad_r.c: Likewise.
24884 * nscd/gethstbynm3_r.c: Likewise.
24885 * nscd/getpwnam_r.c: Likewise.
24886 * nscd/getpwuid_r.c: Likewise.
24887 * nscd/getsrvbynm_r.c: Likewise.
24888 * nscd/getsrvbypt_r.c: Likewise.
24889 * nscd/gai.c: Likewise.
24890
c53d909c
RM
24891 * configure.in (build_nscd): New substituted variable, set
24892 by --disable-build-nscd and defaults to $use_nscd.
24893 * configure: Regenerated.
24894 * config.make.in (build-nscd): New substituted variable.
24895 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24896 Change conditional to require [$(build-nscd) = yes] as well.
24897 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24898
3cc3ef96
RM
24899 [BZ# 13696]
24900 * configure.in (use_nscd): New substituted variable, set by
24901 --disable-nscd. If enabled, define USE_NSCD.
24902 * configure: Regenerated.
24903 * config.h.in: Add USE_NSCD.
24904 * config.make.in (use-nscd): New substituted variable.
24905 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24906 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24907 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24908 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24909 (CFLAGS-getgrnam_r.c): Likewise.
24910 (CFLAGS-initgroups.c): Likewise.
24911 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24912 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24913 Variables removed.
24914 * inet/getnetgrent_r.c
24915 (nscd_setnetgrent): New function, broken out of ...
24916 (setnetgrent): ... here. Call it.
24917 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24918 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24919 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24920 * nscd/Makefile (routines, aux): Move definitions after include of
24921 Makeconfig. Conditionalize on [$(use-nscd) != no].
24922 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24923 Conditionalize on [USE_NSCD].
24924 (is_nscd, nscd_init_cb): Likewise.
24925 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24926 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24927 * nss/nss_db/db-init.c: Likewise.
24928 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24929 [USE_NSCD].
24930 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24931 (make_request): Use it.
24932 (cache_valid_p): New function.
24933 (__check_pf): Use it.
24934 * NEWS: Add item for --disable-nscd.
24935
07e51550
DL
249362012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24937
24938 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24939 to support sed >= 4.2.1-20-ga9bf076.
24940 * configure: Regenerated.
24941
35a5b08b
RM
249422012-08-22 Roland McGrath <roland@hack.frob.com>
24943
24944 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24945 Conditionalize whole body on [IREL].
24946
8479f23a
JL
249472012-08-22 Jeff Law <law@redhat.com>
24948
24949 [BZ #14505]
24950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24951 if the family is PF_UNSPEC.
24952
48da0b21
MF
249532012-08-22 Mike Frysinger <vapier@gentoo.org>
24954
24955 * Makerules (lib-version): Rename from V.
24956 (install-lib-nosubdir): Change V to lib-version.
24957
15d0da8c
WS
249582012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24959
24960 [BZ #14252]
24961 * powerpc32/power6/wcschr.c: New file.
24962 * powerpc32/power6/wcscpy.c: New file.
24963 * powerpc32/power6/wcsrchr.c: New file.
24964 * powerpc64/power6/wcschr.c: New file.
24965 * powerpc64/power6/wcscpy.c: New file.
24966 * powerpc64/power6/wcsrchr.c: New file.
24967
bcca0895
MK
249682012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24969
24970 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24971 (two_way_short_needle): Use it.
5a4aaa33
RM
24972 * string/strstr.c (AVAILABLE1_USES_J): Define.
24973 * string/strcasestr.c: Likewise.
99677e57
MK
24974
24975 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24976 array references.
24977 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24978
400726de
MK
24979 [BZ #11607]
24980 * NEWS: Add an entry.
24981 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24982 define their defaults.
24983 (two_way_short_needle): Detect end-of-string on-the-fly.
24984 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24985 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24986 * string/bug-strcasestr1.c: New test.
24987 * string/Makefile: Run it.
24988
20a71f2c
MK
249892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24990
24991 [BZ #11607]
24992 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24993 the first character.
24994
21ad0558
RM
249952012-08-21 Roland McGrath <roland@hack.frob.com>
24996
24997 * csu/elf-init.c (__libc_csu_irel): Function removed.
24998 * csu/libc-start.c (apply_irel): New function.
24999 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25000
0e1d9911
JM
250012012-08-21 Joseph Myers <joseph@codesourcery.com>
25002
25003 * sysdeps/unix/sysv/linux/kernel-features.h
25004 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25005 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25006 <kernel-features.h>.
25007 [__NR_fadvise64_64]: Make code unconditional.
25008 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25009 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25010 !__NR_fadvise64_64)]: Likewise.
25011 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25012 !__NR_fadvise64_64))]: Likewise.
25013 [__NR_fadvise64]: Make code unconditional.
25014 [!__NR_fadvise64]: Remove conditional code.
25015 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25016 <kernel-features.h>.
25017 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25018 unconditional.
25019 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25020 conditional code.
25021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25022 not include <kernel-features.h>.
25023 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25024 unconditional.
25025 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25026 conditional code.
25027 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25028 include <kernel-features.h>.
25029 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25030 unconditional.
25031 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25032 conditional code.
25033
14a50c9d
WS
250342012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25035
25036 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25037 slight instruction rearrangements per scrollpipe analysis.
25038 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25039
c0f4faf0
RM
250402012-08-20 Roland McGrath <roland@hack.frob.com>
25041
696da859
RM
25042 * manual/syslog.texi (syslog; vsyslog, closelog):
25043 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25044 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25045
c0f4faf0
RM
25046 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25047 DSOCAPS to match condition on defining it.
25048
348363b2
JM
250492012-08-20 Joseph Myers <joseph@codesourcery.com>
25050
a35cbf28
JM
25051 * sysdeps/unix/sysv/linux/kernel-features.h
25052 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
25053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
25054 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25055 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
25057 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25058 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
25060 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
25061 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
25062
445f7ecd
JM
25063 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
25064 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
25065
348363b2
JM
25066 * sysdeps/unix/sysv/linux/kernel-features.h
25067 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
25068 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
25069 unconditional.
25070 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25071 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
25072 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25073 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25074 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
25075 Make code unconditional.
25076 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25077 (__mmap64) [!__NR_mmap2]: Likewise.
25078 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
25079 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
25080 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25081 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
25082 [__NR_mmap2]: Make code unconditional.
25083 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
25084 (__mmap64) [!__NR_mmap2]: Likewise.
25085
bc5bc0e5
AK
250862012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25087
25088 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
25089
88d506de
AJ
250902012-08-18 Andreas Jaeger <aj@suse.de>
25091
25092 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
25093
493387d2
MF
250942012-08-18 Mike Frysinger <vapier@gentoo.org>
25095
25096 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
25097 * include/unistd.h (__have_sock_cloexec): Likewise.
25098 (__have_pipe2): Likewise.
25099 (__have_dup3): Likewise.
25100
a277af22
MF
251012012-08-18 Mike Frysinger <vapier@gentoo.org>
25102
25103 [BZ #9685]
25104 * include/unistd.h (__have_pipe2): Change define into an extern int.
25105 (__have_dup3): Likewise.
25106 * socket/have_sock_cloexec.c: Include fcntl.h.
25107 (__have_pipe2): New variable.
25108 (__have_dup3): Likewise.
25109
fdab8fd3
MF
251102012-08-17 Mike Frysinger <vapier@gentoo.org>
25111
25112 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
25113
31035e80
MP
251142012-08-17 Marek Polacek <polacek@redhat.com>
25115
25116 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
25117 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
25118
3bd9e993
RM
251192012-08-17 Roland McGrath <roland@hack.frob.com>
25120
c91c505f
RM
25121 * configure.in: Add AC_SUBST for sysheaders.
25122 * configure: Regenerated.
25123 * config.make.in (sysheaders): New substituted variable.
25124
7c6f9d53
RM
25125 * sysdeps/unix/mkfifo.c: Moved ...
25126 * sysdeps/posix/mkfifo.c: ... here.
25127 * sysdeps/unix/mkfifoat.c: Moved ...
25128 * sysdeps/posix/mkfifoat.c: ... here.
25129
25130 * sysdeps/unix/utime.c: Moved ...
25131 * sysdeps/posix/utime.c: ... here.
25132
25133 * sysdeps/unix/time.c: Moved ...
25134 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
25135 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
25136 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
25137
25138 * sysdeps/unix/nice.c: Moved ...
25139 * sysdeps/posix/nice.c: ... here.
25140
25141 * sysdeps/unix/alarm.c: Moved ...
25142 * sysdeps/posix/alarm.c: ... here.
25143
3bd9e993
RM
25144 * intl/Makefile ($(codeset_mo)): Depend on the input file.
25145
d1f09384
JL
251462012-08-17 Jeff Law <law@redhat.com>
25147
25148 * intl/Makefile (codeset_mo): New variable.
25149 ($(codeset_mo)): New target.
25150 (tst-codeset.out): Depend on that. Remove explicit rule.
25151 (tst-gettext3.out, tst-gettext5.out): Likewise.
25152 (LOCPATH-ENV, tst-codeset-ENV): New variables.
25153 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
25154 * intl/tst-codeset.sh: Remove.
25155 * intl/tst-gettext3.sh: Likewise.
25156 * intl/tst-gettext5.sh: Likewise.
25157
2ae1ae5c
RM
251582012-08-17 Roland McGrath <roland@hack.frob.com>
25159
c31fdb83
RM
25160 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25161 * sysdeps/unix/syscalls.list: ... here.
25162
a0844057
RM
25163 * sysdeps/posix/getaddrinfo.c
25164 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25165 (gaiconf_init, gaiconf_reload): Use them.
25166 [!_STATBUF_ST_NSEC]
25167 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25168 Define using time_t rather than struct timespec.
25169
750c1f2a
RM
25170 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25171 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25172 Macros removed.
25173 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25174 [!NO_THREADS].
25175 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25176 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25177 Likewise.
25178
2ae1ae5c
RM
25179 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25180 __libc_cleanup_push argument.
25181
e66a42f5
RM
25182 * bits/param.h: New file.
25183 * misc/sys/param.h: New file.
25184 * include/sys/param.h: New file.
25185 * misc/Makefile (headers): Add bits/param.h.
25186 * sysdeps/generic/sys/param.h: File removed.
25187 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25188 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25189 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 25190 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 25191
b7c08a66
RM
25192 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25193 last change.
25194
b2e1c562
RM
25195 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25196 [_IO_MTSAFE_IO].
25197 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25198 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25199 New macros.
25200
c75ccd4c
RM
25201 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25202 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25203 rather than -D_IO_MTSAFE_IO conditionally.
25204 * stdio-common/Makefile (CPPFLAGS): Likewise.
25205 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25206 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25207 Use $(libio-mtsafe).
25208 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25209 of -D_IO_MTSAFE_IO.
25210 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25211 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25212 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25213 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25214 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25215 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25216 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25217 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25218 (CFLAGS-fread_u_chk.c): Likewise.
25219 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25220 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25221 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25222 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25223 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25224 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25225 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25226 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25227 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25228
25229 * libio/Makefile: Test [$(libc-reentrant) = yes]
25230 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25231
25232 * Makeconfig
25233 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25234 * sysdeps/pthread/configure: File removed.
25235 * sysdeps/pthread/Makeconfig: New file.
25236 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25237 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25238
d9195db8
GB
252392012-08-16 Gary Benson <gbenson@redhat.com>
25240
25241 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25242 unmapping the first object in a namespace.
25243
86466cd9
RM
252442012-08-16 Roland McGrath <roland@hack.frob.com>
25245
25246 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25247 (__internal_setnetgrent): ... this. Add internal_function to
25248 definition. Add libc_hidden_def.
25249 (setnetgrent): Update caller.
25250 (internal_endnetgrent): Renamed to ...
25251 (__internal_endnetgrent): ... this. Add internal_function to
25252 definition. Add libc_hidden_def.
25253 (endnetgrent): Update caller.
25254 (internal_getnetgrent_r): Renamed to ...
25255 (__internal_getnetgrent_r): ... this. Add internal_function to
25256 definition. Add libc_hidden_def.
25257 (__getnetgrent_r): Update caller.
25258 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25259
c3c8283c
JM
252602012-08-16 Joseph Myers <joseph@codesourcery.com>
25261
25262 * stdlib/longlong.h: Update from GCC.
25263
db1ee0a8
RM
252642012-08-16 Roland McGrath <roland@hack.frob.com>
25265
25266 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25267 on _QL, which is set by umul_ppmm but never used.
25268 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25269 variables, which are set by GMP macros but never used.
25270 * stdio-common/_itowa.c (_itowa): Likewise.
25271 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25272 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25273
30f69637
CD
252742012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25275
25276 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25277 struct La_sh_regs is not constant.
25278 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25279 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25280 and struct La_sparc64_regs are not constant.
25281
93a78ac4
JM
252822012-08-16 Joseph Myers <joseph@codesourcery.com>
25283
25284 * sysdeps/unix/sysv/linux/kernel-features.h
25285 (__ASSUME_POSIX_TIMERS): Remove.
25286 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25287 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25288 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25289 Make code unconditional.
25290 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25291 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25292 Make code unconditional.
25293 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25294 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25295 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25296 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25297 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25298 Make code unconditional.
25299 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25300 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25301 (__libc_missing_posix_timers): Remove.
25302
dd924cd7
RM
253032012-08-15 Roland McGrath <roland@hack.frob.com>
25304
4b4f2771
RM
25305 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25306 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25307
601c888b
RM
25308 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25309
176790a7
RM
25310 * elf/dl-sym.c: Include <stdlib.h>.
25311
329bc018
RM
25312 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25313 constants, which avoids warnings in 32-bit builds.
25314
e04e272d
RM
25315 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25316 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25317
952bf94a
RM
25318 * misc/lseek.c: File moved to ...
25319 * io/lseek.c: ... here.
25320
7c99b50a
RM
25321 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25322
dd924cd7
RM
25323 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25324 shifting LEN more than 31 bits at once.
25325
b3f479a8
LD
253262012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25327
25328 [BZ #14195]
8c4ae0d4
RM
25329 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25330 segmentation fault for a case of two empty input strings.
b3f479a8
LD
25331 * string/test-strncasecmp.c (check1): Renamed to...
25332 (bz12205): ...this.
25333 (bz14195): Add new testcase for two empty input strings and N > 0.
25334 (test_main): Call new testcase, adapt for renamed function.
25335
9c55864e
AJ
253362012-08-15 Andreas Jaeger <aj@suse.de>
25337
25338 [BZ #14090]
25339 * crypt/md5test2.c: New test, based on test supplied by Serge
25340 Belyshev <belyshev@depni.sinp.msu.ru>.
25341 * crypt/Makefile (xtests): Add md5test-giant..
25342 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25343
02dcb6c5
PE
253442012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25345
25346 [BZ #14090]
25347 * crypt/md5.c (md5_process_block): Don't assume the buffer
25348 length is less than 2**32.
25349 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25350 length is less than 2**64.
25351
a3f95dcc
RM
253522012-08-15 Roland McGrath <roland@hack.frob.com>
25353
be75d758
RM
25354 * string/str-two-way.h: Include <sys/param.h>.
25355 (MAX): Macro removed.
25356
7312ca90
RM
25357 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25358 Move #define and #undef of memmove to just before and after
25359 including <string.h>.
25360
9a0a5486
RM
25361 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25362 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25363 and after including <string.h>. Move declarations of
25364 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25365 to before #include "string/memmove.c".
25366
67cc348d
RM
25367 * include/dirent.h: Declare __getdirentries.
25368
a3f95dcc
RM
25369 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25370 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25371
ca98e171
MF
253722012-08-14 Mike Frysinger <vapier@gentoo.org>
25373
25374 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25375 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25376 * sysdeps/i386/configure: Regenerated.
25377 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25378 STABS_CURRENT_FILE, and STABS_FUN.
25379 (END): Remove call to STABS_FUN_END.
25380 (STABS_CURRENT_FILE1): Delete.
25381 (STABS_CURRENT_FILE): Likewise.
25382 (STABS_FUN): Likewise.
25383 (STABS_FUN_END): Likewise.
25384 (STABS_FUN2): Likewise.
25385 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25386 * sysdeps/x86_64/configure: Regenerated.
25387
5908bf46
RM
253882012-08-14 Roland McGrath <roland@hack.frob.com>
25389
25390 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 25391 * elf/dl-lookup.c: Likewise.
5908bf46 25392
f2c05b9e
JM
253932012-08-14 Joseph Myers <joseph@codesourcery.com>
25394
25395 * sysdeps/unix/sysv/linux/kernel-features.h
25396 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25397 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25398 unconditionally.
25399 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25400 unconditionally.
25401 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25402 condition on __ASSUME_CLONE_THREAD_FLAGS.
25403
e11f5155
AJ
254042012-08-14 Andreas Jaeger <aj@suse.de>
25405
25406 * sysdeps/i386/fpu/libm-test-ulps: Update.
25407
51a9ba86
MK
254082012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25409
2fdd4f78
AJ
25410 * include/atomic.h (atomic_exchange_and_add): Split into ...
25411 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25412 New atomic macros.
51a9ba86 25413
ba6cba9e
MT
254142012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25415
25416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25417
42443a47
JL
254182012-08-13 Jeff Law <law@redhat.com>
25419
25420 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25421 null byte in the output string.
25422
121dce05
JM
254232012-08-10 Joseph Myers <joseph@codesourcery.com>
25424
25425 * sysdeps/unix/sysv/linux/kernel-features.h
25426 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25427 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25428 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25429 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25430 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25431 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25432 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25433
bf51f568
JL
254342012-08-09 Jeff Law <law@redhat.com>
25435
25436 [BZ #13939]
25437 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25438 When avoid_arena is set, don't retry in the that arena. Pick the
25439 next one, whatever it might be.
25440 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25441 (arena_lock): Pass in new parameter to arena_get2.
25442 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25443 arena_get2.
25444 (__libc_malloc): Unify retrying after main arena failure with
25445 __libc_memalign version.
25446 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25447
f85fa270
L
254482012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25449
25450 [BZ #14166]
25451 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25452 to __redirect_strstr.
25453 (__strstr_sse42): Use typeof __redirect_strstr.
25454 (__strstr_ia32): Likewise.
25455 (__libc_strstr): New prototype.
25456 (strstr): Renamed to ...
25457 (__libc_strstr): This.
25458 (strstr): New strong alias of __libc_strstr.
25459 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25460 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25461 __redirect_time.
25462 Include <time.h>.
25463 (__libc_time): New prototype.
25464 (time_ifunc): Replace time with __libc_time.
25465 (time): New strong alias and hidden definition of __libc_time.
25466 (__GI_time): Remove strong alias.
25467 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25468 Include <stddef.h>.
25469 (memmove): Redefined to __redirect_memmove.
25470 (__memmove_sse2): Use typeof __redirect_memmove.
25471 (__memmove_ssse3): Likewise.
25472 (__memmove_ssse3_back): Likewise.
25473 (__libc_memmove): New prototype.
25474 (memmove): Renamed to ...
25475 (__libc_memmove): This.
25476 (memmove): New strong alias of __libc_memmove.
25477
33b4a91e
MS
254782012-08-08 Mark Salter <msalter@redhat.com>
25479
25480 * elf/elf.h
25481 (R_MN10300_TLS_GD): Define.
25482 (R_MN10300_TLS_LD): Likewise.
25483 (R_MN10300_TLS_LDO): Likewise.
25484 (R_MN10300_TLS_GOTIE): Likewise.
25485 (R_MN10300_TLS_IE): Likewise.
25486 (R_MN10300_TLS_LE): Likewise.
25487 (R_MN10300_TLS_DTPMOD): Likewise.
25488 (R_MN10300_TLS_DTPOFF): Likewise.
25489 (R_MN10300_TLS_TPOFF): Likewise.
25490 (R_MN10300_SYM_DIFF): Likewise.
25491 (R_MN10300_ALIGN): Likewise.
25492 (R_MN10300_NUM): Update.
25493
b36137f1
JM
254942012-08-08 Joseph Myers <joseph@codesourcery.com>
25495
25496 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25497 Remove.
25498
cdd915fd
RM
254992012-08-08 Roland McGrath <roland@hack.frob.com>
25500
a2433aac
RM
25501 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25502
cdd915fd
RM
25503 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25504 sysdeps/unix -> sysdeps/posix move.
25505 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25506
bf9b740a
AM
255072012-08-07 Allan McRae <allan@archlinux.org>
25508
25509 [BZ #14303]
25510 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25511 (SUNOS_CPP): Likewise.
25512 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25513 not found.
25514 (open_input): Call CPP using execvp.
25515
93df14ee
JM
255162012-08-07 Joseph Myers <joseph@codesourcery.com>
25517
25518 * sysdeps/unix/sysv/linux/kernel-features.h
25519 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25520 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25521 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25522 (__ASSUME_WAITID_SYSCALL): Likewise.
25523 * sysdeps/unix/sysv/linux/dl-execstack.c
25524 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25525 code unconditional.
25526 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25527 conditional code.
25528 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25529 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25530 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25531 code.
25532 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25533 unconditional.
25534 [__ASSUME_WAITID_SYSCALL]: Likewise.
25535 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25536
d34689de
RM
255372012-08-07 Roland McGrath <roland@hack.frob.com>
25538
a281decc
RM
25539 * sysdeps/unix/closedir.c: Renamed to ...
25540 * sysdeps/posix/closedir.c: ... here.
25541 * sysdeps/unix/dirfd.c: Renamed to ...
25542 * sysdeps/posix/dirfd.c: ... here.
25543 * sysdeps/unix/dirstream.h: Renamed to ...
25544 * sysdeps/posix/dirstream.h: ... here.
25545 * sysdeps/unix/fdopendir.c: Renamed to ...
25546 * sysdeps/posix/fdopendir.c: ... here.
25547 * sysdeps/unix/opendir.c: Renamed to ...
25548 * sysdeps/posix/opendir.c: ... here.
25549 * sysdeps/unix/readdir.c: Renamed to ...
25550 * sysdeps/posix/readdir.c: ... here.
25551 * sysdeps/unix/readdir_r.c: Renamed to ...
25552 * sysdeps/posix/readdir_r.c: ... here.
25553 * sysdeps/unix/rewinddir.c: Renamed to ...
25554 * sysdeps/posix/rewinddir.c: ... here.
25555 * sysdeps/unix/seekdir.c: Renamed to ...
25556 * sysdeps/posix/seekdir.c: ... here.
25557 * sysdeps/unix/telldir.c: Renamed to ...
25558 * sysdeps/posix/telldir.c: ... here.
25559 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25560 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25561 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25562 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25563
22895b47
RM
25564 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25565 * bits/fcntl.h: ... here.
25566
707a53b6
RM
25567 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25568 not 0.
25569 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25570 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25571 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25572 (struct flock): Move l_start, l_len to the beginning.
25573 Use __pid_t for l_pid.
25574 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25575 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25576 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25577 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25578 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25579 [__USE_LARGEFILE64] (struct flock64): New type.
25580 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25581
f0bd3e25
RM
25582 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25583 * bits/dirent.h: ... here.
25584
d34689de
RM
25585 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25586 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25587
6dad2c06
JM
255882012-08-07 Joseph Myers <joseph@codesourcery.com>
25589
25590 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25591 Change from 2.6.0 to 2.6.16.
25592 * sysdeps/unix/sysv/linux/configure: Regenerated.
25593 * sysdeps/unix/sysv/linux/kernel-features.h
25594 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25595 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25596 version.
25597 (__ASSUME_UTIMES): Likewise.
25598 (__ASSUME_CLONE_STOPPED): Remove.
25599 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25600 architectures, not kernel version.
25601 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25602 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25603 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25604 (__ASSUME_WAITID_SYSCALL): Likewise.
25605 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25606 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25607 * README: State 2.6.16 as minimum Linux kernel version. Do not
25608 refer to older versions.
25609
03af9520
RM
256102012-08-06 Roland McGrath <roland@hack.frob.com>
25611
8e49df1d
RM
25612 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25613 Define alphasort64 as an alias.
25614 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25615 Define versionsort64 as an alias.
25616 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25617 Define scandir64 as an alias.
25618 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25619 Define scandirat64 as an alias.
25620 * dirent/alphasort64.c (alphasort64):
25621 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25622 * dirent/versionsort64.c: Likewise.
25623 * dirent/scandir64.c: Likewise.
25624 * dirent/scandirat64.c: Likewise.
25625 * sysdeps/wordsize-64/alphasort.c: File removed.
25626 * sysdeps/wordsize-64/alphasort64.c: File removed.
25627 * sysdeps/wordsize-64/scandir.c: File removed.
25628 * sysdeps/wordsize-64/scandir64.c: File removed.
25629 * sysdeps/wordsize-64/scandirat.c: File removed.
25630 * sysdeps/wordsize-64/scandirat64.c: File removed.
25631 * sysdeps/wordsize-64/versionsort.c: File removed.
25632 * sysdeps/wordsize-64/versionsort64.c: File removed.
25633 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25634 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25635 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25636 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25637 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25638 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25639 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25640 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25641
25642 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25644 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25646 [defined __arch64__ || defined __sparcv9]
25647 (__INO_T_MATCHES_INO64_T): New macro.
25648 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25649 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25650 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25651 * sysdeps/unix/sysv/linux/bits/dirent.h
25652 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25653 (_DIRENT_MATCHES_DIRENT64): New macro.
25654
03af9520
RM
25655 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25656 Define lockf64 as an alias.
25657 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25658 Define fseeko64 as an alias.
25659 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25660 Define ftello64 as an alias.
25661 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25662 Define _IO_fgetpos64 and fgetpos64 as aliases.
25663 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25664 Define _IO_fsetpos64 and fsetpos64 as aliases.
25665 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25666 Conditionalize body on this.
25667 * libio/fseeko64.c: Likewise.
25668 * libio/ftello64.c: Likewise.
25669 * libio/iofgetpos64.c: Likewise.
25670 * libio/iofsetpos64.c: Likewise.
25671 * sysdeps/wordsize-64/lockf.c: File removed.
25672 * sysdeps/wordsize-64/lockf64.c: File removed.
25673 * sysdeps/wordsize-64/fseeko.c: File removed.
25674 * sysdeps/wordsize-64/fseeko64.c: File removed.
25675 * sysdeps/wordsize-64/ftello.c: File removed.
25676 * sysdeps/wordsize-64/ftello64.c: File removed.
25677 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25678 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25679 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25680 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25681 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25682 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25683 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25684 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25685 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25686 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25687 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25688 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25689 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25690 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25691
25692 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25694 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25696 [defined __arch64__ || defined __sparcv9]
25697 (__OFF_T_MATCHES_OFF64_T): New macro.
25698 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25699 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25701 (__OFF_T_MATCHES_OFF64_T): New macro.
25702
c5757acd
L
257032012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25704
25705 * stdlib/secure-getenv.c (__secure_getenv): Replace
25706 GLIBC_2_16 with GLIBC_2_17.
25707
3a31811e
L
257082012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25709
25710 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25711 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25712
faa2bccb
DM
257132012-08-03 David S. Miller <davem@davemloft.net>
25714
25715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25716
85fe1997
JM
257172012-08-03 Joseph Myers <joseph@codesourcery.com>
25718
25719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25720 Remove.
25721 (__ASSUME_CORRECT_SI_PID): Likewise.
25722 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25723 (__ASSUME_TMPFS_NAME): Likewise.
25724 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25725 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25726 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25727 (HAVE_AUX_SECURE): Make definition unconditional.
25728 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25729 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25730
4f75b7a0
RM
257312012-08-03 Roland McGrath <roland@hack.frob.com>
25732
25733 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25734 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25735 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25736 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25737 __eloop_threshold instead of SYMLOOP_MAX.
25738
25739 * sysdeps/generic/eloop-threshold.h: New file.
25740 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25741 of MAXSYMLINKS.
25742 * elf/chroot_canon.c (chroot_canon): Likewise.
25743
7aab07e4
JM
257442012-08-03 Joseph Myers <joseph@codesourcery.com>
25745
25746 [BZ #13717]
25747 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25748 Change to 2.6.0 everywhere.
25749 * sysdeps/unix/sysv/linux/configure: Regenerated.
25750 * sysdeps/unix/sysv/linux/kernel-features.h
25751 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25752 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25753 kernel versions.
25754 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25755 (__ASSUME_FUTEX_REQUEUE): Remove.
25756 (__ASSUME_STATFS64): Define unconditionally.
25757 (__ASSUME_AT_SECURE): Likewise.
25758 (__ASSUME_CORRECT_SI_PID): Likewise.
25759 (__ASSUME_TGKILL): Define without depending on kernel version for
25760 i386.
25761 (__ASSUME_UTIMES): Likewise.
25762 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25763 kernel version.
25764 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25765 (__ASSUME_TMPFS_NAME): Likewise.
25766 * README: Update reference to Linux kernel versions.
25767
b67e9372
MP
257682012-08-02 Marek Polacek <polacek@redhat.com>
25769
1f529f7d 25770 [BZ# 14150]
b67e9372
MP
25771 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25772 libc_cv_asm_type_prefix with %.
25773 * configure: Regenerated.
d2441631
RM
25774 * include/libc-symbols.h: Remove comment about
25775 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25776 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25777 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25778 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25779 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25780 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25781 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25782 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25783 * elf/tst-unique2mod1.c: Likewise.
25784 * elf/tst-unique1mod2.c: Likewise.
25785 * elf/tst-unique1mod1.c: Likewise.
25786 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25787 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25788 Replace ASM_TYPE_DIRECTIVE with .type.
25789 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25790 * sysdeps/i386/sysdep.h: Likewise.
25791 * sysdeps/x86_64/sysdep.h: Likewise.
25792 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25794 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25795 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25796 * sysdeps/powerpc/powerpc32/sysdep.h:
25797 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25798 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25799 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25800 * sysdeps/i386/fpu/e_powf.S: Likewise.
25801 * sysdeps/i386/fpu/e_expl.S: Likewise.
25802 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25803 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25804 * sysdeps/i386/fpu/e_pow.S: Likewise.
25805 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25806 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25807 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25808 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25809 * sysdeps/i386/fpu/e_log2.S: Likewise.
25810 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25811 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25812 * sysdeps/i386/fpu/e_powl.S: Likewise.
25813 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25814 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25815 * sysdeps/i386/fpu/e_logl.S: Likewise.
25816 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25817 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25818 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25819 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25820 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25821 * sysdeps/i386/fpu/e_log.S: Likewise.
25822 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25823 * sysdeps/i386/fpu/e_logf.S: Likewise.
25824 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25825 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25826 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25827 * sysdeps/i386/fpu/e_log10.S: Likewise.
25828 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25829 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25830 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25831 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25832 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25833 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25834 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25835 * sysdeps/i386/i686/strtok.S: Likewise.
25836 * sysdeps/i386/i386-mcount.S: Likewise.
25837 * sysdeps/i386/strtok.S: Likewise.
25838 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25839 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25840 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25841 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25842 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25843 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25844 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25845 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25846 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25847 * sysdeps/x86_64/_mcount.S: Likewise.
25848 * sysdeps/x86_64/strtok.S: Likewise.
25849 * sysdeps/sh/_mcount.S: Likewise.
25850
2747bf9a
RM
258512012-08-01 Roland McGrath <roland@hack.frob.com>
25852
25853 * libio/iofopen.c: Include <fcntl.h>.
25854 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25855 (_IO_fopen64, fopen64): Define as aliases.
25856 * libio/iofopen64.c: Include <fcntl.h>.
25857 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25858 Conditionalize body on this.
25859 * sysdeps/wordsize-64/iofopen.c: File removed.
25860 * sysdeps/wordsize-64/iofopen64.c: File removed.
25861
3fb791b8
MP
258622012-08-01 Marek Polacek <polacek@redhat.com>
25863
25864 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25865 Use dlfcn directly instead of a variable.
25866 (binfmt-subdir): Do not define.
25867 (dlfcn): Likewise.
25868
a9f1039f
JM
258692012-08-01 Joseph Myers <joseph@codesourcery.com>
25870
23bddc06
JM
25871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25872 Remove all definitions.
25873 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25874 <kernel-features.h>.
25875 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25876 (miss_F_GETOWN_EX): Remove all definitions.
25877 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25878 macro definition.
25879 [!__ASSUME_FCNTL64]: Remove conditional code.
25880 [__ASSUME_FCNTL64]: Make code unconditional.
25881 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25882 <kernel-features.h>.
25883 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25884 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25885 (lockf64) [__NR_fcntl64]: Make code unconditional.
25886 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25887
a9f1039f
JM
25888 * sysdeps/unix/sysv/linux/kernel-features.h
25889 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25890 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25891 Make code unconditional.
25892 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25893 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25895 [__NR_vfork]: Make code unconditional.
25896 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25897 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25899 [__NR_vfork]: Make code unconditional.
25900 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25901 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25902
09c0ee5f
RM
259032012-08-01 Roland McGrath <roland@hack.frob.com>
25904
48aec5b9
RM
25905 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25906 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25907
cd97c966
RM
25908 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25909 Define mkstemp64 as an alias.
3f55550c
RM
25910 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25911 Define mkstemps64 as an alias.
cd97c966
RM
25912 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25913 Define mkostemp64 as an alias.
b8625cfc
RM
25914 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25915 Define mkostemps64 as an alias.
cd97c966
RM
25916 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25917 Conditionalize body on this.
25918 * misc/mkostemp64.c: Likewise.
b8625cfc 25919 * misc/mkostemps64.c: Likewise.
3f55550c 25920 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25921 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25922 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25923 * sysdeps/wordsize-64/mkostemp.c: File removed.
25924 * sysdeps/wordsize-64/mkstemp.c: File removed.
25925 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25926 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25927 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25928 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25929
09c0ee5f
RM
25930 [BZ #14138]
25931 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25932 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25933 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25934 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25935
25936 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25937 compat_symbol macros from <shlib-compat.h> rather than the underlying
25938 default_symbol_version and symbol_version macros, so that DEFAULT
25939 lines in shlib-versions are respected.
25940 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25941
7e66ee51
FW
259422012-08-01 Florian Weimer <fweimer@redhat.com>
25943
25944 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25945 Declare with warn_unused_result.
25946 (setgid, setregid, setegid, setresgid): Likewise.
25947 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25948 Likewise.
25949 * WUR-REPORT: Remove set*id functions.
25950
d2a54255
PT
259512012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25952
25953 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25954
7ecdb005
RM
259552012-07-31 Roland McGrath <roland@hack.frob.com>
25956
b4180a5e 25957 [BZ #10191]
789bd351
RM
25958 * include/sys/socket.h (__libc_accept, __libc_accept4):
25959 Add attribute_hidden.
25960 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25961
40ce302d
RM
25962 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25963 use of PTR_MANGLE.
25964 * inet/getnetgrent_r.c (setup): Likewise.
25965
7ecdb005
RM
25966 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25967
e2eabb2c
DM
259682012-07-31 David S. Miller <davem@davemloft.net>
25969
25970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25971
d0419dbf
JM
259722012-07-31 Joseph Myers <joseph@codesourcery.com>
25973
25974 [BZ #13629]
25975 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25976 value between 1.0 and 2.0 and smaller part has absolute value less
25977 than 1.0.
25978 * math/s_clog10.c (__clog10): Likewise.
25979 * math/s_clog10f.c (__clog10f): Likewise.
25980 * math/s_clog10l.c (__clog10l): Likewise.
25981 * math/s_clogf.c (__clogf): Likewise.
25982 * math/s_clogl.c (__clogl): Likewise.
25983 * math/libm-test.inc (clog_test): Add more tests.
25984 (clog10_test): Likewise.
25985 * sysdeps/i386/fpu/libm-test-ulps: Update.
25986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25987
2bc13872
FW
259882012-07-31 Florian Weimer <fweimer@redhat.com>
25989
25990 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25991 Exit with zero in case no suitable GID is found, and write a
25992 message to standard error.
25993
bea9b193
RM
259942012-07-30 Roland McGrath <roland@hack.frob.com>
25995
25996 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25997 rather than to 1.
25998 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25999 (MAXPATHLEN): Removed.
26000 (NOGROUP, NODEV): New macros.
26001 (setbit, clrbit, isset, isclr): New macros.
26002 (howmany, roundup, powerof2): New macros.
26003 (DEV_BSIZE): New macro.
26004
26005 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26006 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26007
26008 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26009 definition on [!__NO_LONG_DOUBLE_MATH].
26010
26011 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26012 PTR_MANGLE and PTR_DEMANGLE.
26013
26014 * socket/accept4.c (accept4): Rename to __libc_accept4.
26015 Define accept4 as a weak alias.
26016
26017 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26018 on [_DIRENT_HAVE_D_TYPE].
26019 * io/ftw.c (ftw_dir): Likewise.
26020
26021 * io/xmknod.c (__xmknod): Don't check PATH for being null.
26022
26023 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26024
26025 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26026 Use the BSD numbers rather than the arbitrary ones we had.
26027 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26028 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26029 (SIGXCPU, SIGXFSZ): New macros.
26030 (_NSIG): Now 32.
26031
26032 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26033 initializer on [_LIBC_REENTRANT].
26034
26035 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26036 definitions inside [_POSIX_MAPPED_FILES].
26037
26038 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26039
26040 * dirent/opendir.c: Include <fcntl.h>.
26041
26042 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26043 (__libc_getspecific): Likewise.
26044 (__libc_key_create): Likewise.
26045
26046 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26047 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26048 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26049 (tmpfile64): Define as alias.
26050 * sysdeps/wordsize-64/tmpfile.c: File removed.
26051 * sysdeps/wordsize-64/tmpfile64.c: File removed.
26052 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
26053 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
26054
26055 * stdio-common/vfscanf.c: Include <stdbool.h>.
26056 * nss/makedb.c: Likewise.
26057 * stdio-common/_i18n_number.h: Likewise.
26058 * argp/argp-help.c: Likewise.
26059 * posix/wordexp.c: Likewise.
26060 * sysdeps/posix/spawni.c: Likewise.
26061 * nss/nss_files/files-initgroups.c: Likewise.
26062 * stdio-common/reg-modifier.c: Include <stdlib.h>.
26063 * nss/nss_files/files-initgroups.c: Likewise.
26064 * nss/nss_db/db-netgrp.c: Likewise.
26065 * nss/nss_db/db-initgroups.c: Likewise.
26066 * io/fchmodat.c: Include <sys/stat.h>.
26067
26068 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
26069 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
26070
26071 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
26072 [HAVE_MMAP].
26073
26074 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
26075 Add multiple inclusion protection.
26076
e5abc686
DM
260772012-07-27 David S. Miller <davem@davemloft.net>
26078
26079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26080
815e6fa3
GB
260812012-07-27 Gary Benson <gbenson@redhat.com>
26082
26083 [BZ #14298]
26084 * elf/rtld.c: Include <stap-probe.h>.
26085 (dl_main): Added static probes "init_start" and "init_complete".
26086 * elf/dl-load.c: Include <stap-probe.h>.
26087 (lose): Take new parameter "nsid".
26088 Added static probe "map_failed".
26089 (_dl_map_object_from_fd): Pass namespace id to lose.
26090 Added static probe "map_start".
26091 (open_verify): Pass namespace id to lose.
26092 * elf/dl-open.c: Include <stap-probe.h>.
26093 (dl_open_worker) Added static probes "map_complete", "reloc_start"
26094 and "reloc_complete".
26095 * elf/dl-close.c: Include <stap-probe.h>.
26096 (_dl_close_worker): Added static probes "unmap_start" and
26097 "unmap_complete".
26098 * elf/rtld-debugger-interface.txt: New file documenting the above.
26099
9f98c16c
RM
261002012-07-26 Roland McGrath <roland@hack.frob.com>
26101
26102 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
26103 rather than a string variable.
26104 * sunrpc/rpc_main.c (h_output): Likewise.
26105 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
26106
f3c22df3
PT
261072012-07-26 Pino Toscano <toscano.pino@tiscali.it>
26108
26109 * inet/check_native.c: New file.
26110
3129cfc6
JM
261112012-07-26 Joseph Myers <joseph@codesourcery.com>
26112
da865e95
JM
26113 [BZ #13629]
26114 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
26115 if larger part has absolute value 1.0.
26116 * math/s_clog10.c (__clog10): Likewise.
26117 * math/s_clog10f.c (__clog10f): Likewise.
26118 * math/s_clog10l.c (__clog10l): Likewise.
26119 * math/s_clogf.c (__clogf): Likewise.
26120 * math/s_clogl.c (__clogl): Likewise.
26121 * math/libm-test.inc (clog_test): Add more tests.
26122 (clog10_test): Likewise.
26123 * sysdeps/i386/fpu/libm-test-ulps: Update.
26124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26125
3129cfc6
JM
26126 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
26127 (pltexit): Likewise.
26128 (La_regs): Likewise.
26129 (La_retval): Likewise.
26130 (int_retval): Likewise.
26131 Update #error for removed macros to refer only to definitions in
26132 tst-audit.h.
26133 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
26134 macro.
26135 (pltexit): Likewise.
26136 (La_regs): Likewise.
26137 (La_retval): Likewise.
26138 (int_retval): Likewise.
26139 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
26140 macro.
26141 (pltexit): Likewise.
26142 (La_regs): Likewise.
26143 (La_retval): Likewise.
26144 (int_retval): Likewise.
26145 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
26146 macro.
26147 (pltexit): Likewise.
26148 (La_regs): Likewise.
26149 (La_retval): Likewise.
26150 (int_retval): Likewise.
26151 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
26152 macro.
26153 (pltexit): Likewise.
26154 (La_regs): Likewise.
26155 (La_retval): Likewise.
26156 (int_retval): Likewise.
26157 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26158 macro.
26159 (pltexit): Likewise.
26160 (La_regs): Likewise.
26161 (La_retval): Likewise.
26162 (int_retval): Likewise.
26163 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26164 macro.
26165 (pltexit): Likewise.
26166 (La_regs): Likewise.
26167 (La_retval): Likewise.
26168 (int_retval): Likewise.
26169 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26170 macro definitions in tst-audit.h.
26171 * sysdeps/i386/tst-audit.h: New file.
26172 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26173 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26174 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26175 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26176 * sysdeps/sh/tst-audit.h: Likewise.
26177 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26178 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26179 * sysdeps/x86_64/tst-audit.h: Likewise.
26180
bfc07087
AJ
261812012-07-26 Andreas Jaeger <aj@suse.de>
26182
b1b2aaf8
AJ
26183 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26184 ptrace.
26185
26186 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26187 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26188 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26189 PTRACE_O_MASK.
26190 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26191 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26192 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26193
bfc07087
AJ
26194 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26195 value.
26196
26197 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26198 _sigsys.
26199 (si_call_addr, si_syscall, si_arch): Define new macro.
26200 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26201 _sigsys.
26202 (si_call_addr, si_syscall, si_arch): Define new marcro.
26203 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26204 _sigsys.
26205 (si_call_addr, si_syscall, si_arch): Define new macro.
26206 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26207 _sigsys.
26208 (si_call_addr, si_syscall, si_arch): Define new macro.
26209
89b4b02f
JM
262102012-07-25 Joseph Myers <joseph@codesourcery.com>
26211
26212 [BZ #13717]
26213 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26214 Change to 2.4.21 where previously 2.4.1.
26215 * sysdeps/unix/sysv/linux/configure: Regenerated.
26216 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26217 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26218 Linux kernel version.
26219 (__ASSUME_STD_AUXV): Remove.
26220 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26221 kernel version.
26222 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26223 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26224 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26225 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26226 (__ASSUME_NETLINK_SUPPORT): Likewise.
26227 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26228 (__no_netlink_support): Remove conditional definition.
26229 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26230 Remove.
26231 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26232 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26233 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26234 (if_nameindex_ioctl): Remove.
26235 (if_nameindex_netlink): Do not handle __no_netlink_support.
26236 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26237 code.
26238 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26239 Remove conditional code.
26240 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26241 code.
26242 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26243 unconditional.
26244 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26245 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26246 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26247 Remove.
26248 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26249 [!__ASSUME_STD_AUXV]: Remove conditional code.
26250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26251 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26252 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26254 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26255 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26256 code.
26257 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26259 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26260 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26261 conditional code.
26262 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26264 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26265 code.
26266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26267 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26268 conditional code.
26269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26270 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26271 code unconditional.
26272 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26273 conditional code.
26274 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26275 unconditional.
26276 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26277 conditional code.
26278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26279 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26280 unconditional.
26281 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26282 conditional code.
26283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26284 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26285 code unconditional.
26286 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26287 conditional code.
26288 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26289 unconditional.
26290 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26291 conditional code.
26292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26293 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26294 code unconditional.
26295 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26296 conditional code.
26297 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26298 unconditional.
26299 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26300 conditional code.
26301
842a39cd
AS
263022012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26303
26304 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26305 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26306 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26307 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26308 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26309 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26310 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26311 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26312 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26313 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26314 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26315 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26316 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26317 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26318 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26319 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26320 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26321 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26322 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26323 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26324 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26325 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26326 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26327
84b3fd84
FW
263282012-07-25 Florian Weimer <fweimer@redhat.com>
26329
26330 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
26331 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26332 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26333 Introduce __libc_secure_getenv.
0c7936d5
FW
26334 * stdlib/Versions (2.17): Add secure_getenv
26335 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26336 * stdlib/secure-getenv.c: Rename __secure_getenv to
26337 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26338 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
26339 * stdlib/tst-secure-getenv.c: New.
26340 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
26341 * manual/startup.texi (Environment Access): Document
26342 secure_getenv.
84b3fd84
FW
26343 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26344 __libc_secure_getenv.
26345 * inet/ruserpass.c (ruserpass): Likewise.
26346 * malloc/mtrace.c (mtrace): Likewise.
26347 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 26348 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
26349 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26350 * sysdeps/posix/tempname.c: Likewise. Evaluate
26351 HAVE_SECURE_GETENV.
26352 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 26353 __secure_getenv to __libc_secure_getenv.
84b3fd84 26354 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
26355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26356 Likewise.
26357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26358 Likewise.
26359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26361 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26364 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 26366
56e49b71
JM
263672012-07-25 Joseph Myers <joseph@codesourcery.com>
26368
26369 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26370 (struct La_i86_retval): Likewise.
26371 (struct La_x86_64_regs): Likewise.
26372 (struct La_x86_64_retval): Likewise.
26373 (struct La_x32_regs): Likewise.
26374 (struct La_x32_retval): Likewise.
26375 (struct La_ppc32_regs): Likewise.
26376 (struct La_ppc32_retval): Likewise.
26377 (struct La_ppc64_regs): Likewise.
26378 (struct La_ppc64_retval): Likewise.
26379 (struct La_sh_regs): Likewise.
26380 (struct La_sh_retval): Likewise.
26381 (struct La_s390_32_regs): Likewise.
26382 (struct La_s390_32_retval): Likewise.
26383 (struct La_s390_64_regs): Likewise.
26384 (struct La_s390_64_retval): Likewise.
26385 (struct La_sparc32_regs): Likewise.
26386 (struct La_sparc32_retval): Likewise.
26387 (struct La_sparc64_regs): Likewise.
26388 (struct La_sparc64_retval): Likewise.
26389 (struct audit_ifaces): Remove architecture-specific pltenter and
26390 pltexit members.
26391 * sysdeps/i386/ldsodefs.h: New file.
26392 * sysdeps/powerpc/ldsodefs.h: Likewise.
26393 * sysdeps/s390/ldsodefs.h: Likewise.
26394 * sysdeps/sh/ldsodefs.h: Likewise.
26395 * sysdeps/sparc/ldsodefs.h: Likewise.
26396 * sysdeps/x86_64/ldsodefs.h: Likewise.
26397
354691b7
MP
263982012-07-25 Marek Polacek <polacek@redhat.com>
26399
26400 [BZ #6808]
26401 * math/libm-test.inc (yn_test): Add another test.
26402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26403 to ERANGE when the result is +-Inf.
26404 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26405 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26406 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26407 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26408
bf9e2071
JM
264092012-07-24 Joseph Myers <joseph@codesourcery.com>
26410
26411 * conform/data/time.h-data (NULL): Use macro-constant. Require
26412 equal to 0.
26413 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26414 clock_t.
26415 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26416
57633811
TS
264172012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26418
26419 * configure.in <sysdeps resolving>: Correct printing
26420 Implies_before.
26421 * configure: Regenerate.
26422
c23c33b0
TS
264232012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26424
26425 * math/w_ilogb.c: Include <limits.h>.
26426 * math/w_ilogbl.c: Likewise.
26427
b5982523
JM
264282012-07-20 Joseph Myers <joseph@codesourcery.com>
26429
26430 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26431 va_copy. Document allowing for unavailable va_copy only as
26432 pre-C99 compatibility.
26433 * manual/string.texi (Copying and Concatenation): Use va_copy
26434 instead of __va_copy in concat example.
26435
ac4ea442
PT
264362012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26437
26438 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26439 (__sendto): Use create_address_port. Initialize APORT and deallocate
26440 it if not null.
26441
f98eafbd
PT
26442 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26443 with O_NOLINK passed to __file_name_lookup.
26444
898c7aab
PT
26445 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26446 with O_NOLINK passed to __file_name_lookup.
26447
0ced335a
PT
26448 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26449 negative N or less than NGIDS.
26450
b3404dbd
PT
26451 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26452 type to string_t. Set ERANGE as errno and return it if NAME is not big
26453 enough. Use memcpy instead of strncpy.
26454
0f48659e
JM
264552012-07-20 Joseph Myers <joseph@codesourcery.com>
26456
26457 * elf/Makefile (check-data): Remove.
26458 (localplt.data): New vpath directive.
26459 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26460 instead of $(check-data).
26461 * scripts/data/localplt-generic.data: Move to ...
26462 * sysdeps/generic/localplt.data: ... here.
26463 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26464 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26465 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26467 ... here.
26468 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26470 ... here.
26471 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26473 ... here.
26474 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26476 ... here.
26477 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26478 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26479 ... here.
26480 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26482 ... here.
26483
d37cbdaa
AZ
264842012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26485
26486 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26487 PPC32 and PPC64 files.
26488 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26489 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26490
46f85fc2
AK
264912012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26492
26493 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26494 __makecontext_ret to ...
26495 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26496 ... here and call exit if uc_link is NULL. New file.
26497 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26498 __makecontext_ret.S.
26499 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26500 __makecontext_ret to ...
26501 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26502 ... here and call exit if uc_link is NULL. New file.
26503 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26504 __makecontext_ret.S.
26505
08f43f9b
AK
265062012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26507
26508 * elf/elf.h (R_390_IRELATIVE): New definition.
26509 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26510 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26511 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26512 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26513 (elf_machine_lazy_rel): Likewise.
26514 * sysdeps/s390/dl-irel.h: New file.
26515 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26516 * sysdeps/s390/s390-64/memset.S: New asm code.
26517 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26518 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26519 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26520 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26521 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26522 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26523 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26524 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26525 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26526 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26527 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26528 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26529 * sysdeps/s390/s390-32/memset.S: New asm code.
26530 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26531
3b05db33
MP
265322012-07-17 Marek Polacek <polacek@redhat.com>
26533
26534 [BZ #14349]
26535 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26536 * sysdeps/s390/s390-64/configure.in: Likewise.
26537 * sysdeps/sparc/configure.in: Likewise.
26538 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26539 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26540 * sysdeps/i386/configure.in: Likewise.
26541 * sysdeps/x86_64/configure.in: Likewise.
26542 * sysdeps/sh/configure.in: Likewise.
26543 * sysdeps/s390/s390-32/configure: Regenerated.
26544 * sysdeps/s390/s390-64/configure: Likewise.
26545 * sysdeps/x86_64/configure: Likewise.
26546 * sysdeps/sh/configure: Likewise.
26547 * sysdeps/powerpc/powerpc64/configure: Likewise.
26548 * sysdeps/powerpc/powerpc32/configure: Likewise.
26549 * sysdeps/sparc/configure: Likwise.
26550 * sysdeps/i386/configure: Likewise.
26551
a66877c6
MP
26552 * elf/dl-open.c: Comment fixes.
26553
cfc82fd8
JM
265542012-07-17 Joseph Myers <joseph@codesourcery.com>
26555
bd29910a
JM
26556 * Makefile [CXX] (check-data): Remove.
26557 [CXX] (c++-types.data): New vpath directive.
26558 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26559 vpath. Do not allow for C++ type data being missing.
26560 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26561 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26562 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26563 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26564 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26565 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26566 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26568 ... here.
26569 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26571 ... here.
26572 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26574 ... here.
26575 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26577 ... here.
26578 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26580 ... here.
26581 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26583 ... here.
26584 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26585 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26586 ... here.
26587 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26589
cfc82fd8
JM
26590 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26591 definitions to architecture-specific files.
26592 (TLS_IE): Likewise.
26593 (TLS_LD): Likewise.
26594 (TLS_GD): Likewise.
26595 * sysdeps/i386/tls-macros.h: New file.
26596 * sysdeps/powerpc/tls-macros.h: Likewise.
26597 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26598 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26599 * sysdeps/sh/tls-macros.h: Likewise.
26600 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26601 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26602 * sysdeps/x86_64/tls-macros.h: Likewise.
26603
f7db3170
TS
266042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26605
07cbfc23
TS
26606 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26607 zero value for regular exit case.
26608
f7db3170
TS
26609 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26610 (__start_context): Preserve zero value for regular exit case.
26611
dc97c227
TS
266122012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26613 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26614
26615 * manual/setjmp.texi (setcontext): Clarify normal process
26616 termination when uc_link is the null pointer.
26617 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26618 exit call.
26619
d0cd7d02
AS
266202012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26621
26622 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26623 preprocessor. Test for each exception mask separately.
26624
dd318934
AJ
266252012-07-16 Andreas Jaeger <aj@suse.de>
26626
26627 * po/ru.po: Update from translation team.
26628
8048311a
JM
266292012-07-15 Joseph Myers <joseph@codesourcery.com>
26630
26631 * conform/data/string.h-data (NULL): Use macro-constant. Require
26632 equal to 0.
26633 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26634 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26635 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26636 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26637 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26638
b637d46e
AJ
266392012-07-13 Andreas Jaeger <aj@suse.de>
26640
26641 * po/fr.po: Update from translation team.
26642
541428fe
MP
266432012-07-12 Marek Polacek <polacek@redhat.com>
26644
26645 [BZ #14173]
26646 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26647 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26648 loop condition.
26649
ec332e94
JM
266502012-07-12 Joseph Myers <joseph@codesourcery.com>
26651
26652 [BZ #13717]
26653 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26654 Change to 2.4.1 where previously 2.4.0.
26655 * sysdeps/unix/sysv/linux/configure: Regenerated.
26656 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26657 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26658 version.
26659 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26660 (__ASSUME_AT_CLKTCK): Remove.
26661 (__ASSUME_AT_PAGESIZE): Likewise.
26662 (__ASSUME_AT_XID): Likewise.
26663 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26664 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26665 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26666 unconditionally.
26667 (HAVE_AUX_PAGESIZE): Likewise.
26668 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26669 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26670 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26671
7b6e99be
JB
266722012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26673
26674 [BZ #14307]
26675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26676 the temporary buffer used to invoke __gethostbyname2_r,
26677 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26678 host_data / struct gaih_addrtuple.
26679 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26680 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26681 header file nss/nsswitch.h.
26682 * nss/nsswitch.h (global scope): Add definition of implementation
26683 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26684 resolv/nss_dns/dns-host.c).
26685
608404eb
AJ
266862012-07-11 Andreas Jaeger <aj@suse.de>
26687
26688 * po/fr.po: Update from translation team.
26689
71220aca
AJ
26690 * po/sv.po: Update from translation team
26691 * po/fr.po: Another update from translation team.
26692
28cfe843
AZ
266932012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26694
26695 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26696 for subnormals or multiply small sinh result by itself.
26697 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26699
6b90f981
DM
267002012-07-11 David S. Miller <davem@davemloft.net>
26701
26702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26703
c6825772
AS
267042012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26705
26706 [BZ #14347]
26707 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26708 (INTERNAL_MARK): Shift it here.
26709
7b8e0d49
MP
267102012-07-10 Marek Polacek <polacek@redhat.com>
26711
26712 [BZ #14151]
26713 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26714 libc_cv_asm_global_directive with .globl.
26715 * configure: Regenerated.
26716 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26717 with .globl.
26718 * sysdeps/i386/configure: Regenerated.
26719 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26720 with .globl.
26721 * sysdeps/x86_64/configure: Regenerated.
26722 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26723 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26724 * elf/tst-unique2mod2.c: Likewise.
26725 * elf/tst-unique2mod1.c: Likewise.
26726 * elf/tst-unique1mod2.c: Likewise.
26727 * elf/tst-unique1mod1.c: Likewise.
26728 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26729 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26730 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26731 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26732 * sysdeps/mach/sysdep.h: Likewise.
26733 * sysdeps/i386/sysdep.h: Likewise.
26734 * sysdeps/i386/i386-mcount.S: Likewise.
26735 * sysdeps/x86_64/_mcount.S: Likewise.
26736 * sysdeps/x86_64/sysdep.h: Likewise.
26737 * sysdeps/sh/_mcount.S: Likewise.
26738 * sysdeps/sh/sysdep.h: Likewise.
26739 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26740 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26741 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26742 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26743 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26744 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26745 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26746 * locale/localeinfo.h: Likewise.
26747 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26748 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26749
6c55cda3
RM
267502012-07-09 Roland McGrath <roland@hack.frob.com>
26751
26752 [BZ #14336]
26753 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26754 system".
26755 * manual/message.texi (The Uniforum approach): Likewise.
26756 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26757 (glibc iconv Implementation): Likewise.
26758
638a572e
JM
267592012-07-09 Joseph Myers <joseph@codesourcery.com>
26760
26761 [BZ #14337]
26762 * math/s_clog.c (__clog): Avoid scaling a value down where that
26763 could result in underflow.
26764 * math/s_clog10.c (__clog10): Likewise.
26765 * math/s_clog10f.c (__clog10f): Likewise.
26766 * math/s_clog10l.c (__clog10l): Likewise.
26767 * math/s_clogf.c (__clogf): Likewise.
26768 * math/s_clogl.c (__clogl): Likewise.
26769 * math/libm-test.inc (clog_test): Add more tests.
26770 (clog10_test): Likewise.
26771 * sysdeps/i386/fpu/libm-test-ulps: Update.
26772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26773
261f4859
AS
267742012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26775
0abaf3e4
AS
26776 [BZ #14283]
26777 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26778 by 7 not 8 to examine high bit of fractional part.
26779
261f4859
AS
26780 [BZ #14042]
26781 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26782 for call to __mcount_internal.
26783 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26784 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26785 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26786
f17ac40d
JM
267872012-07-06 Joseph Myers <joseph@codesourcery.com>
26788
9ad63c23
JM
26789 [BZ #14154]
26790 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26791 approximation for values within 0x1p-13f of an odd multiple of
26792 pi/4.
26793 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26794 exception. Add more tests.
26795 * sysdeps/i386/fpu/libm-test-ulps: Update.
26796
f17ac40d
JM
26797 [BZ #6778]
26798 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26799 inputs and return -1 for them. Do not check for +Inf in case not
26800 reachable for +Inf.
26801 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26802 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26803 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26804 and return -1 for them. Do not check for +Inf in case not
26805 reachable for +Inf.
26806 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26807 define.
26808 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26809 and return -1 for them. Do not check for +Inf in case not
26810 reachable for +Inf.
26811 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26812 spurious underflow.
26813 * sysdeps/i386/fpu/libm-test-ulps: Update.
26814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26815
fb21f89b
MF
268162012-07-06 Mike Frysinger <vapier@gentoo.org>
26817
26818 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26819
cdfe2c5e
JM
268202012-07-05 Joseph Myers <joseph@codesourcery.com>
26821
26822 [BZ #14157]
26823 [BZ #14331]
26824 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26825 could result in spurious underflow. Scale down values above
26826 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26827 * math/s_csqrtf.c (__csqrtf): Likewise.
26828 * math/s_csqrtl.c (__csqrtl): Likewise.
26829 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26830 spurious underflow.
26831 * sysdeps/i386/fpu/libm-test-ulps: Update.
26832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26833
70d35b67
AS
268342012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26835
704bc459
AS
26836 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26837 xopen-msg.sed.
26838 * catgets/xopen-msg.awk: New file.
26839 * catgets/xopen-msg.sed: Removed.
26840
70d35b67
AS
26841 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26842 po2text.sed.
26843 * intl/po2test.awk: New file.
26844 * intl/po2test.sed: Removed.
26845
ca61cf32
JM
268462012-07-04 Joseph Myers <joseph@codesourcery.com>
26847
26848 [BZ #14328]
26849 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26850 or multiply small sinh result by itself.
26851 * math/s_ctanf.c (__ctanf): Likewise.
26852 * math/s_ctanh.c (__ctanh): Likewise.
26853 * math/s_ctanhf.c (__ctanhf): Likewise.
26854 * math/s_ctanhl.c (__ctanhl): Likewise.
26855 * math/s_ctanl.c (__ctanl): Likewise.
26856 * math/libm-test.inc (ctan_test_tonearest): New function.
26857 (ctan_test_towardzero): Likewise.
26858 (ctan_test_downward): Likewise.
26859 (ctan_test_upward): Likewise.
26860 (ctanh_test_tonearest): Likewise.
26861 (ctanh_test_towardzero): Likewise.
26862 (ctanh_test_downward): Likewise.
26863 (ctanh_test_upward): Likewise.
26864 (main): Call these new functions.
26865 * sysdeps/i386/fpu/libm-test-ulps: Update.
26866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26867
ca48a46a
MF
268682012-07-03 Mike Frysinger <vapier@gentoo.org>
26869
26870 * .gitignore: Delete /ports entry.
26871
9d63d37d
AJ
268722012-07-03 Andreas Jaeger <aj@suse.de>
26873
26874 * po/bg.po: Update from translation team.
26875 * po/cs.po: Likewise.
26876 * po/de.po: Likewise.
26877 * po/hr.po: Likewise.
26878 * po/nl.pl: Likewise.
26879 * po/pl.po: Likewise.
26880 * po/vi.po: Likewise.
26881
370ca3d2
JM
268822012-07-03 Joseph Myers <joseph@codesourcery.com>
26883
95f5a9a8
JM
26884 * Makeconfig [!+link] (+link-before-libc): New variable.
26885 [!+link] (+link-after-libc): Likewise.
26886 [!+link] (+link-tests): Likewise.
26887 [!+link] (+link): Define in terms of $(+link-before-libc) and
26888 $(+link-after-libc).
26889 [!+link-static] (+link-static-before-libc): New variable.
26890 [!+link-static] (+link-static-after-libc): Likewise.
26891 [!+link-static] (+link-static-tests): Likewise.
26892 [!+link-static] (+link-static): Define in terms of
26893 $(+link-static-before-libc) and $(+link-static-after-libc).
26894 [build-shared] (link-libc-before-gnulib): New variable.
26895 [build-shared] (link-libc-tests): Likewise.
26896 [build-shared] (link-libc): Define in terms of
26897 $(link-libc-before-gnulib).
26898 [!build-shared] (link-libc-tests): New variable.
26899 (link-libc-static-tests): New variable.
26900 [!gnulib] (gnulib-arch): New variable.
26901 [!gnulib] (gnulib-tests): Likewise.
26902 [!gnulib] (static-gnulib-arch): Likewise.
26903 [!gnulib] (static-gnulib-tests): Likewise.
26904 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26905 Define with "=" instead of ":=".
26906 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26907 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26908 * Rules (binaries-all-notests): New variable.
26909 (binaries-all-tests): Likewise.
26910 (binaries-static-notests): Likewise.
26911 (binaries-static-tests): Likewise.
26912 (binaries-all): Define using $(binaries-all-notests) and
26913 $(binaries-all-tests).
26914 (binaries-static): Define using $(binaries-static-notests) and
26915 $(binaries-static-tests).
26916 (binaries-shared-tests): New variable.
26917 (binaries-shared-notests): Likewise.
26918 (binaries-shared): Remove variable.
26919 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26920 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26921 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26922 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26923 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26924 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26925 * elf/Makefile (sln-modules): New variable.
26926 (extra-objs): Add $(sln-modules:=.o).
26927 (ldconfig-modules): Add static-stubs.
26928 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26929 * elf/static-stubs.c: New file.
26930
7a845b2c
JM
26931 [BZ #14283]
26932 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26933 by 7 not 8 to examine high bit of fractional part. Use volatile
26934 variables when splitting into final array of floats if
26935 __FLT_EVAL_METHOD__ != 0.
26936 * math/libm-test.inc (cos_test): Add another test.
26937 (sin_test): Likewise.
26938 * sysdeps/i386/fpu/libm-test-ulps: Update.
26939
e2283f38
JM
26940 [BZ #14273]
26941 * math/libm-test.inc (cosh_test): Add more tests.
26942
370ca3d2
JM
26943 * version.h (RELEASE): Set to "development".
26944 (VERSION): Set to "2.16.90".
26945
ee9247c3
CD
269462012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26947
26948 * NEWS: Update copyright. Remove last-updated date.
26949 Mention math library bug fixes and timezone data changes.
26950 * README: Mention GNU/Hurd, x32, and HPPA support status.
26951
4648c381
TS
269522012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26953
26954 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26955
aac78a43
AJ
269562012-06-27 Andreas Jaeger <aj@suse.de>
26957
26958 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26959
ed3dbfad
AJ
269602012-06-25 Andreas Jaeger <aj@suse.de>
26961
26962 * sysdeps/s390/fpu/libm-test-ulps: Update.
26963
4d0ee855
AS
269642012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26965 Thomas Schwinge <thomas@codesourcery.com>
26966
26967 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26968 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26969 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26970 fanotify_mark.
26971
af1bce34
TS
269722012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26973
a9fa33ba
TS
26974 * sysdeps/mach/start.c: Remove file.
26975 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26976 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26977 * sysdeps/sh/init-first.c: Likewise.
26978
58f902b8
TS
26979 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26980 registers for frame unwinding purposes, add CFI directives.
26981 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26982 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26983 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26984 Likewise.
26985
1518f58b
TS
26986 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26987 __fortify_fail returning.
26988 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26989
db9b5059
TS
26990 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26991 sysdeps/sh/____longjmp_chk.S.
26992 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26993 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26994 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26995 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26996
967705fe
TS
26997 * sysdeps/sh/abort-instr.h: New file.
26998 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26999 process in case exit returns.
27000
a9def8c4
TS
27001 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27002 initialize the GOT register before use.
27003
2a649725
TS
27004 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27005 calculation of ARGC > 4.
27006
af1bce34
TS
27007 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27008 meaningful names to some local labels.
27009
d230f50a
KK
270102012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27011 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27012
27013 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27014 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27015 (__arch_compare_and_exchange_val_16_acq): Likewise.
27016 (__arch_compare_and_exchange_val_32_acq): Likewise.
27017 (atomic_exchange_and_add): Fix gUSA sequence.
27018 (atomic_add): Likewise.
27019 (atomic_add_negative): Likewise.
27020 (atomic_add_zero): Likewise.
27021 (atomic_bit_test_set): Likewise.
27022
0479b305
AS
270232012-06-22 Andreas Schwab <schwab@redhat.com>
27024
27025 [BZ #13579]
27026 * include/link.h (struct link_map): Add l_free_initfini.
27027 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27028 l_initfini.
27029 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27030 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27031 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27032 set.
27033
0e3933b9
CD
270342012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
27035
27036 * configure.in: Use AC_LANG_SOURCE.
27037 * configure: Regenerate.
27038
4248b1b1
RM
270392012-06-22 Roland McGrath <roland@hack.frob.com>
27040
27041 * configure.in (libc_cv_localstatedir): New substituted variable.
27042 * configure: Regenerated.
27043 * config.make.in (localstatedir): New variable, substituted from
27044 libc_cv_localstatedir.
27045 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27046 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27047 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27048 * sysdeps/gnu/configure: Regenerated.
27049
006dd861
JL
270502012-06-21 Jeff Law <law@redhat.com>
27051
27052 [BZ #14277]
27053 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
27054 free. Simplify list management for _LIBC case.
27055
79662d42
JM
270562012-06-21 Joseph Myers <joseph@codesourcery.com>
27057
b7abb4bf
JM
27058 [BZ #14273]
27059 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27060 Clear sign bit of 64-bit integer value before comparing against
27061 overflow value.
27062
79662d42
JM
27063 * sysdeps/mach/configure: Regenerated.
27064
1f150908
L
270652012-06-21 H.J. Lu <hongjiu.lu@intel.com>
27066
27067 [BZ #14278]
27068 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
27069
28363bbf
JL
270702012-06-21 Jeff Law <law@redhat.com>
27071
27072 [BZ #13882]
27073 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
27074 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 27075 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
27076 * elf/dl-open.c (dl_open_worker): Likewise.
27077
09615db4
CD
270782012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
27079
27080 * scripts/list-sources.sh: Scan PORTS for translations.
27081 * po/libc.pot: Regenerated.
27082
2174c6dd
AJ
270832012-06-21 Andreas Jaeger <aj@suse.de>
27084
27085 [BZ #12194]
27086 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
27087 warning.
27088 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
27089 * bits/byteswap-16.h (__bswap_16): Likewise.
27090 * bits/byteswap.h (__bswap_constant_16): Likewise.
27091
3ee947b1
L
270922012-06-18 H.J. Lu <hongjiu.lu@intel.com>
27093
27094 [BZ #14117]
a2f34833
L
27095 * sysdeps/i386/fpu_control.h: Removed.
27096 * sysdeps/x86_64/fpu_control.h: Moved to ...
27097 * sysdeps/x86/fpu_control.h: Here.
27098
3ee947b1
L
27099 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
27100 (_FPU_SETCW): Likewise.
27101
ed1825f8
L
271022012-06-15 H.J. Lu <hongjiu.lu@intel.com>
27103
25f1282a
L
27104 [BZ #14117]
27105 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
27106 * sysdeps/x86/fpu/bits/mathinline.h: This.
27107 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
27108
ed1825f8
L
27109 [BZ #14050]
27110 [BZ #14117]
27111 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
27112 functions if __x86_64__ is defined.
27113
36d54b74
CLT
271142012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
27115
27116 * string/endian.h: Add !__ASSEMBLER__ condition for including
27117 conversion interfaces.
27118
10285c21
JM
271192012-06-15 Joseph Myers <joseph@codesourcery.com>
27120
27121 [BZ #14241]
27122 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
27123 of ABS(x) in calculating zero to negative powers other than odd
27124 integers.
27125 * math/libm-test.inc (pow_test): Add more tests.
27126
06c5abbd
AJ
271272012-06-15 Andreas Jaeger <aj@suse.de>
27128
27129 * manual/contrib.texi (Contributors): Update entry of Liubov
27130 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
27131 Machado Filho.
27132
a3aeac40
CH
271332012-06-15 Cyril Hrubis <metan@ucw.cz>
27134
27135 * string/string.h: Add __wur to GNU version of strerror_r.
27136
49bdf4c1
L
271372012-06-14 H.J. Lu <hongjiu.lu@intel.com>
27138
27139 [BZ #14229]
27140 * string/Makefile (tests): Add tst-strtok_r.
27141 * string/tst-strtok_r.c: New file.
27142 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
27143 RAX_LP/RDX_LP on SAVE_PTR.
27144
834f9b8d
RM
271452012-06-14 Roland McGrath <roland@hack.frob.com>
27146
27147 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
27148
75fa1921
JM
271492012-06-14 Joseph Myers <joseph@codesourcery.com>
27150
27151 * libm_test.inc (csqrt_test): Allow more spurious underflow
27152 exceptions.
27153 (j0_test): Likewise.
27154 (j1_test): Likewise.
27155 (y0_test): Likewise.
27156 (y1_test): Likewise.
27157
771766df
CD
271582012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27159
27160 * po/Makefile (libc.pot): Use UTF-8 charset.
27161
ceb9e56b
PP
271622012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27163
27164 [BZ #14210]
27165 Suppress sign-conversion warning from FD_SET.
27166 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27167 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27168 not unsigned long int.
27169 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27170
ddb28975
L
271712012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27172
27173 [BZ #14050]
27174 [BZ #14117]
27175 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27176 __extern_always_inline instead of __extern_inline.
27177 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27178 (__signbit): Likewise.
27179 (__signbitl): Support C++ namespace.
27180 (lrintf): New inline function.
27181 (lrint): Likewise.
27182 (llrintf): Likewise.
27183 (llrint): Likewise.
27184 (fmaxf): Likewise.
27185 (fmax): Likewise.
27186 (fminf): Likewise.
27187 (fmin): Likewise.
27188 (rint): Likewise.
27189 (rintf): Likewise.
27190 (ceil): Likewise.
27191 (ceilf): Likewise.
27192 (floor): Likewise.
27193 (floorf): Likewise.
27194 (nearbyint): Likewise.
27195 (nearbyintf): Likewise.
27196
d7b4fb26
TS
271972012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27198
27199 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27200 non-default versions.
27201
eb55f5c2
RM
272022012-06-11 Roland McGrath <roland@hack.frob.com>
27203
27204 [BZ #14218]
27205 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27206
366af02c
TS
272072012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27208
99ff6e5c
TS
27209 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27210 (FE_UPWARD, FE_DOWNWARD): Don't define.
27211 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27212 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27213
366af02c
TS
27214 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27215 reading it.
27216 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27217 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27218
793ea851
KK
272192012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27220
27221 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27222 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27223 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27224 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27225
a728a38f
L
272262012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27227
27228 [BZ #14117]
c08010c7
L
27229 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27230 * sysdeps/i386/fpu/Implies: New file.
27231 * sysdeps/x86_64/fpu/Implies: Likewise.
27232 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27233 * sysdeps/x86/fpu/bits/fenv.h: This.
27234
a728a38f
L
27235 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27236 __SSE_MATH__.
27237
6e230d11
SP
272382012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27239
27240 [BZ #14134]
27241 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27242 character 0xffff that matches the last element of the
27243 conversion table.
27244
1b671feb
AZ
272452012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27246
27247 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27248 fmodl commit.
27249
6043738b
AZ
272502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27251
27252 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27253 values higher than 25.6283.
27254
34ae0b32
AZ
272552012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27256
27257 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27258 subnormal exponent extraction and add some __builtin_expect.
27259 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27260 Fix for subnormal mantissa calculation.
27261
1214ec8f
MF
272622012-06-04 Mike Frysinger <vapier@gentoo.org>
27263
27264 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27265 cpu2 is -1 and errno is not ENOSYS.
27266
f3d1f93c
L
272672012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27268
27269 [BZ #14117]
0e4a3cd7
L
27270 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27271 * sysdeps/x86/bits/string.h: This.
27272 * sysdeps/x86_64/bits/string.h: Removed.
27273
6704c645
L
27274 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27275 if not compiling for x86-64, but compiling for >= i486.
27276
48495318
L
27277 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27278 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27279
14adcbfc
L
27280 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27281 New macro from Linux kernel 3.4.0.
27282 (FP_XSTATE_MAGIC2): Likewise.
27283 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27284 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27285 (struct _fpx_sw_bytes): New struct.
27286 (struct _xsave_hdr): Likewise.
27287 (struct _ymmh_state): Likewise.
27288 (struct _xstate): Likewise.
27289
68e408ab
L
27290 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27291 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27292 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27293 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27294 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27295 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27296
f3d1f93c
L
27297 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27298 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27299 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27300 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27301 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27302 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27303
d9dc34cd
TMQMF
273042012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27305
27306 [BZ #13743]
27307 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27308 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27309 (sysdep_headers): Include sys/platform/ppc.h.
27310 * sysdeps/powerpc/test-gettimebase.c: Test for
27311 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27312 * manual/Makefile (appendices): Include platform.texi.
27313 * manual/contrib.texi (Contributors): Update @node pointers.
27314 * manual/maint.texi (Maintenance): Likewise.
27315 (Platform): New node.
27316 * manual/platform.texi: New file. Document the new features.
27317
4af3879c
SP
273182012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27319 Jakub Jelinek <jakub@redhat.com>
27320
27321 [BZ #14188]
27322 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27323 where __builtin_expect is unavailable.
27324
2fd6ff13
DM
273252012-06-03 David S. Miller <davem@davemloft.net>
27326
27327 * stdlib/longlong.h: Updated from GCC.
27328
173f7220
AS
273292012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27330
27331 [BZ #14042]
27332 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27333 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27334 __mcount_internal.
27335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27336 (GLIBC_2.16): Likewise.
27337
f34a1c6f
L
273382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27339
27340 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27341
88a4576f
JM
273422012-06-01 Joseph Myers <joseph@codesourcery.com>
27343
ea32bcdd
JM
27344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27345 (default-abi): New variable.
27346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27347 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27348 variable.
27349 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27350 Likewise.
27351 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27352 Likewise.
27353 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27354 Likewise.
27355
88a4576f
JM
27356 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27357 definition. Document in comment.
27358
402fe938
DM
273592012-06-01 David S. Miller <davem@davemloft.net>
27360
27361 * stdlib/longlong.h: Updated from GCC.
27362
3553723f
L
273632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27364
27365 [BZ #14117]
3bd872c4
L
27366 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27367 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27368 sys/debugreg.h sys/io.h here.
27369 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27370 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27371 sys/io.h.
27372 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27373 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27374 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27375 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27376 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27377 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27378
3553723f
L
27379 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27380 Define only if __x86_64__ is defined.
27381
4842e4fe
JM
273822012-06-01 Joseph Myers <joseph@codesourcery.com>
27383
c5bfe3d5
JM
27384 [BZ #14048]
27385 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27386 Use int64_t for variable i.
27387 * math/libm-test.inc (fmod_test): Add more tests.
27388
4842e4fe
JM
27389 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27390 z computation is not scheduled after fetestexcept.
27391 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27392 Use math_force_eval instead of asm to ensure calculation scheduled
27393 before exception test.
27394 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27395 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27396
efb73488
AJ
273972012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27398
27399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27400 computation is not scheduled after fetestexcept.
27401
29bcce7c
L
274022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27403
27404 [BZ #14117]
27405 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27406 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27407
73a68f94
AZ
274082012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27409
27410 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27411 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27412
67b6df78
L
274132012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27414
edf2933a 27415 [BZ #14117]
ebc64a18
L
27416 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27417 <bits/wordsize.h>.
27418 (__WCHAR_MIN): Support __WORDSIZE == 64.
27419 (__WCHAR_MAX): Likewise.
27420
edf2933a
L
27421 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27422 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27423
57c6cf40
L
27424 [BZ #14183]
27425 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27426 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27427
67b6df78 27428 [BZ #14117]
8eb6281e
L
27429 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27430 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27431
aac639f4
L
27432 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27433 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27434
67b6df78
L
27435 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27436 Defined to 1 if __x86_64__ isn't defined.
27437 (_STAT_VER_LINUX_OLD): New.
27438 (st_atime): Remove duplicate.
27439 (st_mtime): Likewise.
27440 (st_ctime): Likewise.
27441
1c2cfe81
DM
274422012-05-31 David S. Miller <davem@davemloft.net>
27443
27444 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27445 entries.
27446
5be8418c
AS
274472012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27448
e7725326
AS
27449 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27450 gen-libm-test.pl.
27451
5be8418c
AS
27452 [BZ #14132]
27453 * elf/dl-reloc.c: Include <_itoa.h>.
27454 (_dl_reloc_bad_type): Remove use of INTUSE.
27455 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27456 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27457 * stdio-common/psiginfo.c (psiginfo): Likewise.
27458 * stdio-common/psignal.c (psignal): Likewise.
27459 * string/strsignal.c (strsignal): Likewise.
27460 * include/signal.h (_sys_siglist): Declare hidden proto.
27461 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27462 INTVARDEF with libc_hidden_data_def.
27463 * stdio-common/itoa-udigits.c: Likewise.
27464 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27465 (_itoa_lower_digits_internal): Remove declaration.
27466 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27467 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27468 (_sys_sigabbrev_internal): Remove aliases.
27469 (_sys_siglist): Define hidden alias.
27470
507352f1
MT
274712012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27472
27473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27474 bits/sysctl.h.
27475
42bbb1c3
L
274762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27477
27478 [BZ #14117]
6bd784b6
L
27479 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27480 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27481
8bca20f0
L
27482 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27483 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27484 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27485 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27486 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27487 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27488
f9e890a9
L
27489 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27490 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27491 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27492
471101a1
L
27493 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27494 with __addr.
27495 (insw): Likewise.
27496 (insl): Likewise.
27497 (outsb): Likewise.
27498 (outsw): Likewise.
27499 (outsl): Likewise.
27500
6451c862
L
27501 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27502 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27503 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27504
a254b8c9
L
27505 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27506 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27507 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27508 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27509 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27510 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27511
b8dfdd92
L
27512 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27513 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27514
578cd270
L
27515 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27516 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27517
de662f5f
L
27518 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27519 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27520 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27521
25653439
L
27522 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27523 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27524 to ...
27525 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27526
6bad24a0
L
27527 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27528 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27529 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27530
42bbb1c3
L
27531 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27532 for x86-64.
27533 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27534
2d10d547
JM
275352012-05-31 Joseph Myers <joseph@codesourcery.com>
27536
27537 * math/math.h (M_El): Use two more decimal places.
27538 (M_LOG2El): Likewise.
27539 (M_LOG10El): Likewise.
27540 (M_LN2l): Likewise.
27541 (M_LN10l): Likewise.
27542 (M_PIl): Likewise.
27543 (M_PI_2l): Likewise.
27544 (M_PI_4l): Likewise.
27545 (M_1_PIl): Likewise.
27546 (M_2_PIl): Likewise.
27547 (M_2_SQRTPIl): Likewise.
27548 (M_SQRT2l): Likewise.
27549 (M_SQRT1_2l): Likewise.
27550
f230c29b
DM
275512012-05-31 David S. Miller <davem@davemloft.net>
27552
27553 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27554 values between float registers.
27555 * sysdeps/sparc/sparc64/memset.S: Likewise.
27556 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27557
fed806c3
MF
275582012-05-31 Mike Frysinger <vapier@gentoo.org>
27559
27560 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27561 -D_FORTIFY_SOURCE=1.
27562 (CPPFLAGS-tst-longjmp_chk.c): Define.
27563 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27564 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27565 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27566 CFLAGS-tst-wchar-h.c.
27567
30917259
MP
275682012-05-31 Marek Polacek <polacek@redhat.com>
27569
27570 [BZ #14132]
27571 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27572 __endmntent_internal): Remove declaration.
27573 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27574 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27575 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27576
1c58d5dc
DM
275772012-05-30 David S. Miller <davem@davemloft.net>
27578
27579 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27580 (___Q_simulate_exceptions): Use real FP ops rather than writing
27581 into the %fsr.
27582 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27583 Likewise.
27584
7dc00e0d
L
275852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27586
27587 [BZ #14117]
0bd53985
L
27588 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27589 * sysdeps/x86/bits/xtitypes.h: This.
27590
3a257e66
L
27591 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27592 * sysdeps/x86/bits/wordsize.h: This.
27593
62f62904
L
27594 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27595 * sysdeps/x86/bits/huge_vall.h: This.
27596
404fe9d9
L
27597 * sysdeps/i386/bits/select.h: Removed.
27598 * sysdeps/x86_64/bits/select.h: Renamed to ...
27599 * sysdeps/x86/bits/select.h: This.
27600
d48d0446
L
27601 * sysdeps/i386/bits/setjmp.h: Removed.
27602 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27603 * sysdeps/x86/bits/setjmp.h: This.
27604
7dc00e0d
L
27605 * sysdeps/i386/bits/mathdef.h: Removed.
27606 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27607 * sysdeps/x86/bits/mathdef.h: This.
27608
03277f8f
AS
276092012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27610
27611 [BZ #14132]
27612 * include/sys/socket.h (__connect_internal)
27613 (__libc_sa_len_internal): Remove declaration.
27614 (__connect, __libc_sa_len): Declare hidden_proto.
27615 (SA_LEN): Remove use of INTUSE.
27616 * socket/connect.c: Add libc_hidden_def.
27617 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27618 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27619 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27620 alias.
27621 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27622 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27623 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27624 of adding _internal alias.
27625
13764867
L
276262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27627
27628 [BZ #14117]
6bd97696
L
27629 * sysdeps/i386/bits/link.h: Removed.
27630 * sysdeps/i386/bits/linkmap.h: Likewise.
27631 * sysdeps/x86_64/bits/link.h: Renamed to ...
27632 * sysdeps/x86/bits/link.h: This.
27633 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27634 * sysdeps/x86/bits/linkmap.h: This.
27635
f726f0bb
L
27636 * sysdeps/i386/bits/endian.h: Removed.
27637 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27638 * sysdeps/x86/bits/endian.h: This.
27639
13764867
L
27640 * sysdeps/i386/bits/byteswap.h: Removed.
27641 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27642 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27643 * sysdeps/x86/bits/byteswap.h: This.
27644 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27645 * sysdeps/x86/bits/byteswap-16.h: This.
27646 * sysdeps/i386/Implies: Add x86.
27647 * sysdeps/x86_64/Implies: Likewise.
27648
ae251b0b
DM
276492012-05-30 David S. Miller <davem@davemloft.net>
27650
27651 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27652 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27653 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27654 (FP_TRAPPING_EXCEPTIONS): Define.
27655 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27656 (FP_TRAPPING_EXCEPTIONS): Define.
27657 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27658 subnormals only when inexact has been signalled or underflow
27659 exceptions are enabled.
27660 (_FP_PACK_CANONICAL): Likewise.
27661
d5c90867
L
276622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27663
27664 [BZ #14183]
27665 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27666 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27667
63f1549e
RH
276682012-05-30 Richard Henderson <rth@twiddle.net>
27669
8d8f2279
RH
27670 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27671 with #ifndef NOT_IN_libc.
27672
63f1549e
RH
27673 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27674 marked to avoid plt entry.
27675
0ab0291b
L
276762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27677
27678 [BZ #14112]
27679 * Makeconfig (default-abi): New macro.
27680 (abi-includes): Likewise.
27681 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27682 $(abi-$(default-abi)-lib-soname) for soname if defined.
27683 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27684 abi-variants.
27685 * Makefile (installed-stubs): Likewise.
27686 * include/stubs-biarch.h: Removed.
27687 * scripts/lib-names.awk: Only handle one library at a time.
27688 * scripts/soversions.awk: Remove WORDSIZE support.
27689 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27690 entries.
27691 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27692 Removed.
27693 (syscall-list-default-condition): Likewise.
27694 (syscall-list-default-condition): Likewise.
27695 (syscall-list-includes): Likewise.
27696 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27697 syscall-list-* with abi-*. Handle undefined abi-variants.
27698 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27699 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27700 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27701 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27702 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27703 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27704 Removed.
27705 (syscall-list-32-options): Likewise.
27706 (syscall-list-32-condition): Likewise.
27707 (syscall-list-64-options): Likewise.
27708 (syscall-list-64-condition): Likewise.
27709 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27710 macro.
27711 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27712 Renamed to ...
27713 (abi-*): This.
27714 (abi-64-ld-soname): New macro.
27715 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27716 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27717 Renamed to ...
27718 (abi-*): This.
27719 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27720 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27721
4da0431d
JM
277222012-05-30 Joseph Myers <joseph@codesourcery.com>
27723
3a85279c
JM
27724 * sysdeps/unix/sysv/linux/kernel-features.h
27725 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27726 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27727 include <kernel-features.h>.
27728 [!__NR_ftruncate64]: Remove conditional code.
27729 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27730 [__NR_ftruncate64]: Make code unconditional.
27731 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27732 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27733 include <kernel-features.h>.
27734 [!__NR_ftruncate64]: Remove conditional code.
27735 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27736 [__NR_ftruncate64]: Make code unconditional.
27737 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27739 include <kernel-features.h>.
27740 [!__NR_ftruncate64]: Remove conditional code.
27741 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27742 [__NR_ftruncate64]: Make code unconditional.
27743 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27745 include <kernel-features.h>.
27746 [!__NR_ftruncate64]: Remove conditional code.
27747 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27748 [__NR_ftruncate64]: Make code unconditional.
27749 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27750
4da0431d
JM
27751 * configure.in (libc_cv_fpie): Weaken to a compile test using
27752 LIBC_TRY_CC_OPTION.
27753 * configure: Regenerated.
27754
11ef492c
AK
277552012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27756
27757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27761 Refreshed.
27762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27764 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27766 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27768 Refreshed.
27769
d66ef399
DM
277702012-05-27 David S. Miller <davem@davemloft.net>
27771
27772 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27773 (___Q_zero): New.
27774 (__Q_simulate_exceptions): Return void. Change to simulate
27775 exceptions by writing into the %fsr.
27776 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27777 (__Qp_handle_exceptions): Likewise.
27778 (numbers): Delete.
27779 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27780 __Qp_handle_exceptions.
27781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27782 __Qp_handle_exceptions.
27783 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27784 as unused and give dummy FP_RND_NEAREST initializer.
27785 (FP_INHIBIT_RESULTS): Define.
27786 (___Q_simulate_exceptions): Update declaration.
27787 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27788 formatting.
27789 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27790 as unused and give dummy FP_RND_NEAREST initializer.
27791 (__Qp_handle_exceptions): Update declaration.
27792 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27793 formatting.
27794
04fb54b5
TS
277952012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27796
27797 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27798 the temporary FPU control word.
27799 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27800 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27801 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27802 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27803 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27804 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27805 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27806 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27807 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27808 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27809 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27810
3f99608f
KK
278112012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27812
27813 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27814 fields.
27815
65a4de4e
CLT
278162012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27817
27818 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27819 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27820 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27821 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27822 Likewise.
27823 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27824 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27825 Likewise.
27826
15749d40
UD
278272012-05-27 Ulrich Drepper <drepper@gmail.com>
27828
27829 * po/h.po: Update from translation team.
27830
25dbcb27
AS
278312012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27832
3d3f8e55
AS
27833 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27834
25dbcb27
AS
27835 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27836 handling of denormals.
27837 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27838 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27839 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27840 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27844 Likewise.
27845
7ad47a80 278462012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27847
27848 [BZ #14152]
27849 * math/libm-test.inc (fma_test): Don't always expect underflow
27850 exception.
27851
9c6ea9fa
SP
278522012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27853
27854 [BZ #12416]
27855 * elf/tst-execstack.c: Include stackinfo.h.
27856 (do_test): Adjust test case to ensure that pthread_getattr_np
27857 behaviour remains the same after marking stack executable.
27858
a8239222
JM
278592012-05-25 Joseph Myers <joseph@codesourcery.com>
27860
27861 * sysdeps/unix/sysv/linux/kernel-features.h
27862 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27863 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27864 kernel-features.h.
27865 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27866 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27867 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27868 kernel-features.h.
27869 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27870 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27871
918b5606
L
278722012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27873
27874 * configure.in: Define the default includes to being none.
27875 * configure: Regenerated.
27876
3a097cc7
RM
278772012-05-25 Roland McGrath <roland@hack.frob.com>
27878
8422c9a5
RM
27879 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27880 * sysdeps/x86_64/setjmp.S: Likewise.
27881 * sysdeps/i386/bsd-setjmp.S: Likewise.
27882 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27883 * sysdeps/i386/setjmp.S: Likewise.
27884 * sysdeps/i386/__longjmp.S: Likewise.
27885 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27886 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27887
3a097cc7
RM
27888 * include/stap-probe.h: New file.
27889 * configure.in: Handle --enable-systemtap.
27890 * configure: Regenerated.
27891 * config.h.in (USE_STAP_PROBE): New #undef.
27892 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27893 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27894 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27895
21708942
JM
278962012-05-25 Joseph Myers <joseph@codesourcery.com>
27897
27898 [BZ #13717]
27899 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27900 to 2.4.0 where earlier.
27901 * sysdeps/unix/sysv/linux/configure: Regenerated.
27902 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27903 <kernel-features.h>.
27904 [__ASSUME_32BITUIDS]: Make code unconditional.
27905 [!__ASSUME_32BITUIDS]: Remove conditional code.
27906 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27907 <kernel-features.h>.
27908 [__ASSUME_32BITUIDS]: Make code unconditional.
27909 [!__ASSUME_32BITUIDS]: Remove conditional code.
27910 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27911 [__ASSUME_32BITUIDS]: Make code unconditional.
27912 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27913 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27914 <kernel-features.h>.
27915 [__ASSUME_32BITUIDS]: Make code unconditional.
27916 [!__ASSUME_32BITUIDS]: Remove conditional code.
27917 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27918 <kernel-features.h>.
27919 [__ASSUME_32BITUIDS]: Make code unconditional.
27920 [!__ASSUME_32BITUIDS]: Remove conditional code.
27921 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27922 <kernel-features.h>.
27923 [__ASSUME_32BITUIDS]: Make code unconditional.
27924 [!__ASSUME_32BITUIDS]: Remove conditional code.
27925 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27926 <kernel-features.h>.
27927 [__ASSUME_32BITUIDS]: Make code unconditional.
27928 [!__ASSUME_32BITUIDS]: Remove conditional code.
27929 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27930 <kernel-features.h>.
27931 [__ASSUME_32BITUIDS]: Make code unconditional.
27932 [!__ASSUME_32BITUIDS]: Remove conditional code.
27933 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27934 <kernel-features.h>.
27935 [__ASSUME_32BITUIDS]: Make code unconditional.
27936 [!__ASSUME_32BITUIDS]: Remove conditional code.
27937 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27938 <kernel-features.h>.
27939 [__ASSUME_32BITUIDS]: Make code unconditional.
27940 [!__ASSUME_32BITUIDS]: Remove conditional code.
27941 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27942 <kernel-features.h>.
27943 [__ASSUME_32BITUIDS]: Make code unconditional.
27944 [!__ASSUME_32BITUIDS]: Remove conditional code.
27945 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27946 <kernel-features.h>.
27947 [__ASSUME_32BITUIDS]: Make code unconditional.
27948 [!__ASSUME_32BITUIDS]: Remove conditional code.
27949 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27950 <kernel-features.h>.
27951 [__ASSUME_32BITUIDS]: Make code unconditional.
27952 [!__ASSUME_32BITUIDS]: Remove conditional code.
27953 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27954 <kernel-features.h>.
27955 [__NR_setresgid] (__setresgid): Do not declare.
27956 [__ASSUME_32BITUIDS]: Make code unconditional.
27957 [!__ASSUME_32BITUIDS]: Remove conditional code.
27958 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27959 <kernel-features.h>.
27960 [__NR_setresuid] (__setresuid): Do not declare.
27961 [__ASSUME_32BITUIDS]: Make code unconditional.
27962 [!__ASSUME_32BITUIDS]: Remove conditional code.
27963 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27964 <kernel-features.h>.
27965 [__ASSUME_32BITUIDS]: Make code unconditional.
27966 [!__ASSUME_32BITUIDS]: Remove conditional code.
27967 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27968 <kernel-features.h>.
27969 [__ASSUME_32BITUIDS]: Make code unconditional.
27970 [!__ASSUME_32BITUIDS]: Remove conditional code.
27971 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27972 <kernel-features.h>.
27973 [__ASSUME_32BITUIDS]: Make code unconditional.
27974 [!__ASSUME_32BITUIDS]: Remove conditional code.
27975 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27976 <kernel-features.h>.
27977 [__ASSUME_32BITUIDS]: Make code unconditional.
27978 [!__ASSUME_32BITUIDS]: Remove conditional code.
27979 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27980 <kernel-features.h>.
27981 [__ASSUME_32BITUIDS]: Make code unconditional.
27982 [!__ASSUME_32BITUIDS]: Remove conditional code.
27983 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27984 <kernel-features.h>.
27985 [__ASSUME_32BITUIDS]: Make code unconditional.
27986 [!__ASSUME_32BITUIDS]: Remove conditional code.
27987 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27988 <kernel-features.h>.
27989 [__ASSUME_32BITUIDS]: Make code unconditional.
27990 [!__ASSUME_32BITUIDS]: Remove conditional code.
27991 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27992 <kernel-features.h>.
27993 [__ASSUME_32BITUIDS]: Make code unconditional.
27994 [!__ASSUME_32BITUIDS]: Remove conditional code.
27995 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27996 <kernel-features.h>.
27997 [__ASSUME_32BITUIDS]: Make code unconditional.
27998 [!__ASSUME_32BITUIDS]: Remove conditional code.
27999 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28000 <kernel-features.h>.
28001 [__ASSUME_32BITUIDS]: Make code unconditional.
28002 [!__ASSUME_32BITUIDS]: Remove conditional code.
28003 * sysdeps/unix/sysv/linux/kernel-features.h
28004 (__ASSUME_SETRESUID_SYSCALL): Remove.
28005 (__ASSUME_SETRESGID_SYSCALL): Likewise.
28006 (__ASSUME_32BITUIDS): Likewise.
28007 (__ASSUME_LDT_WORKS): Likewise.
28008 (__ASSUME_O_DIRECTORY): Likewise.
28009 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28010 architecture but not kernel version.
28011 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28012 (__ASSUME_MMAP2_SYSCALL): Likewise.
28013 (__ASSUME_STAT64_SYSCALL): Likewise.
28014 (__ASSUME_IPC64): Likewise.
28015 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28016 <kernel-features.h>.
28017 [__ASSUME_32BITUIDS]: Make code unconditional.
28018 [!__ASSUME_32BITUIDS]: Remove conditional code.
28019 * sysdeps/unix/sysv/linux/opendir.c: Do not include
28020 <kernel-features.h>.
28021 [__ASSUME_O_DIRECTORY]: Make code unconditional.
28022 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28023 132096]: Remove conditional code.
28024 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28025 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28026 <kernel-features.h>.
28027 [__ASSUME_32BITUIDS]: Make code unconditional.
28028 [!__ASSUME_32BITUIDS]: Remove conditional code.
28029 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28030 <kernel-features.h>.
28031 [__ASSUME_32BITUIDS]: Make code unconditional.
28032 [!__ASSUME_32BITUIDS]: Remove conditional code.
28033 * sysdeps/unix/sysv/linux/setegid.c: Do not include
28034 <kernel-features.h>.
28035 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28036 unconditional.
28037 (__setresgid): Do not declare.
28038 [__ASSUME_32BITUIDS]: Make code unconditional.
28039 [!__ASSUME_32BITUIDS]: Remove conditional code.
28040 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28041 <kernel-features.h>.
28042 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28043 unconditional.
28044 (__setresuid): Do not declare.
28045 [__ASSUME_32BITUIDS]: Make code unconditional.
28046 [!__ASSUME_32BITUIDS]: Remove conditional code.
28047 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28048 <kernel-features.h>.
28049 [__ASSUME_32BITUIDS]: Make code unconditional.
28050 [!__ASSUME_32BITUIDS]: Remove conditional code.
28051 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28052 <kernel-features.h>.
28053 [__ASSUME_32BITUIDS]: Make code unconditional.
28054 [!__ASSUME_32BITUIDS]: Remove conditional code.
28055
a386f1cc
RH
280562012-05-25 Richard Henderson <rth@twiddle.net>
28057
28058 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
28059 dl_hwcap to ifunc resolver.
28060 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
28061 elf_ifunc_invoke.
28062 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
28063 dl_hwcap to ifunc resolver.
28064 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
28065
b6550497
JM
280662012-05-24 Joseph Myers <joseph@codesourcery.com>
28067
28068 [BZ #14153]
28069 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
28070 for |x| <= 2**-26, not 2**-57.
28071 * math/libm-test.inc (acos_test): Do not allow spurious underflow
28072 exception.
28073
b0bc23a1
JL
280742012-05-24 Jeff Law <law@redhat.com>
28075
28076 * stdio-common/Makefile (tests): Add bug25.
28077 * stdio-common/bug25.c: New test.
28078
347c92e9
L
280792012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28080
28081 [BZ #13576]
28082 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
28083 multiple of MALLOC_ALIGNMENT in size.
28084 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
28085
6bcc8b3f
JM
280862012-05-24 Joseph Myers <joseph@codesourcery.com>
28087
28088 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
28089 Require >= 256.
28090 (FILENAME_MAX): Use macro-int-constant.
28091 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
28092 (_IOFBF): Use macro-int-constant.
28093 (_IOLBF): Likewise.
28094 (_IONBF): Likewise.
28095 (SEEK_CUR): Likewise.
28096 (SEEK_END): Likewise.
28097 (SEEK_SET): Likewise.
28098 (TMP_MAX): Likewise.
28099 (EOF): Use macro-int-constant. Require < 0.
28100 (NULL): Use macro-constant. Require == 0.
28101 (stdin): Require type to be FILE *.
28102 (stdout): Likewise.
28103 (stderr): Likewise.
28104 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
28105 macro-int-constant.
28106 (EXIT_SUCCESS): Likewise.
28107 (NULL): Use macro-constant. Require == 0.
28108 (RAND_MAX): Use macro-int-constant.
28109 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
28110 [C99-based standards] (strtof): Require function.
28111 [C99-based standards] (strtold): Likewise.
28112 [C99-based standards] (strtoll): Likewise.
28113 [C99-based standards] (strtoull): Likewise.
28114 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
28115 [ISO || ISO99 || ISO11] (limits.h): Likewise.
28116 [ISO || ISO99 || ISO11] (math.h): Likewise.
28117 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
28118 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
28119 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28120
d18ea0c5
AS
281212012-05-24 Andreas Schwab <schwab@linux-m68k.org>
28122
28123 [BZ #14132]
56d25bb8
AS
28124 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
28125 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
28126 * intl/dgettext.c (DCGETTEXT): Likewise.
28127 * intl/gettext.c (DCGETTEXT): Likewise.
28128 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
28129 * posix/regex_internal.h (gettext): Likewise.
28130 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
28131 Remove declaration.
28132 * include/argz.h (__argz_count_internal)
28133 (__argz_stringify_internal): Remove declaration.
28134 (__argz_count, __argz_stringify): Declare hidden proto.
28135 * intl/dcgettext.c: Remove use of INTDEF.
28136 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
28137 * string/argz-stringify.c: Likewise.
28138 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28139 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28140 Declare hidden proto.
d18ea0c5
AS
28141 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
28142 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
28143 Declare hidden proto.
28144 * include/stdio.h (__asprintf_internal): Don't declare.
28145 (__asprintf): Don't define as macro. Declare hidden proto.
28146 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
28147 (__fsetlocking): Declare hidden proto.
28148 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
28149 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
28150 hidden proto.
28151 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
28152 (_IO_setlinebuf): Remove use of INTUSE.
28153 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
28154 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
28155 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28156 Remove declaration.
28157 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28158 (_IO_do_flush): Remove use of INTUSE.
28159 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28160 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28161 (_IO_adjust_column, _IO_least_wmarker)
28162 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28163 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28164 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28165 (_IO_default_doallocate, _IO_wdefault_doallocate)
28166 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28167 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28168 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28169 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28170 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28171 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28172 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28173 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28174 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28175 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28176 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28177 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28178 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28179 proto.
28180 (_IO_flush_all_internal, _IO_adjust_column_internal)
28181 (_IO_default_uflow_internal, _IO_default_finish_internal)
28182 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28183 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28184 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28185 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28186 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28187 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28188 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28189 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28190 (_IO_file_close_internal, _IO_file_close_it_internal)
28191 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28192 (_IO_file_init_internal, _IO_file_attach_internal)
28193 (_IO_file_fopen_internal, _IO_file_read_internal)
28194 (_IO_file_sync_internal, _IO_file_seek_internal)
28195 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28196 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28197 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28198 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28199 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28200 (_IO_list_all_internal, _IO_link_in_internal)
28201 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28202 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28203 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28204 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28205 (_IO_do_write_internal, _IO_padn_internal)
28206 (_IO_getline_info_internal, _IO_getline_internal)
28207 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28208 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28209 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28210 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28211 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28212 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28213 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28214 with libc_hidden_ver, remove use of INTUSE.
28215 * libio/genops.c: Likewise.
28216 * libio/freopen.c: Likewise.
28217 * libio/freopen64.c: Likewise.
28218 * libio/iofclose.c: Likewise.
28219 * libio/iofdopen.c: Likewise.
28220 * libio/iofflush.c: Likewise.
28221 * libio/iofflush_u.c: Likewise.
28222 * libio/iofgets.c: Likewise.
28223 * libio/iofgets_u.c: Likewise.
28224 * libio/iofopen.c: Likewise.
28225 * libio/iofopncook.c: Likewise.
28226 * libio/iofread.c: Likewise.
28227 * libio/iofread_u.c: Likewise.
28228 * libio/ioftell.c: Likewise.
28229 * libio/iofwrite.c: Likewise.
28230 * libio/iogetline.c: Likewise.
28231 * libio/iogets.c: Likewise.
28232 * libio/iogetwline.c: Likewise.
28233 * libio/iopadn.c: Likewise.
28234 * libio/iopopen.c: Likewise.
28235 * libio/ioseekoff.c: Likewise.
28236 * libio/ioseekpos.c: Likewise.
28237 * libio/iosetbuffer.c: Likewise.
28238 * libio/iosetvbuf.c: Likewise.
28239 * libio/ioungetc.c: Likewise.
28240 * libio/ioungetwc.c: Likewise.
28241 * libio/iovdprintf.c: Likewise.
28242 * libio/iovsprintf.c: Likewise.
28243 * libio/iovsscanf.c: Likewise.
28244 * libio/memstream.c: Likewise.
28245 * libio/obprintf.c: Likewise.
28246 * libio/oldfileops.c: Likewise.
28247 * libio/oldiofclose.c: Likewise.
28248 * libio/oldiofdopen.c: Likewise.
28249 * libio/oldiofopen.c: Likewise.
28250 * libio/oldiopopen.c: Likewise.
28251 * libio/oldstdfiles.c: Likewise.
28252 * libio/putc.c: Likewise.
28253 * libio/setbuf.c: Likewise.
28254 * libio/setlinebuf.c: Likewise.
28255 * libio/stdfiles.c: Likewise.
28256 * libio/strops.c: Likewise.
28257 * libio/vasprintf.c: Likewise.
28258 * libio/vscanf.c: Likewise.
28259 * libio/vsnprintf.c: Likewise.
28260 * libio/vswprintf.c: Likewise.
28261 * libio/wfiledoalloc.c: Likewise.
28262 * libio/wfileops.c: Likewise.
28263 * libio/wgenops.c: Likewise.
28264 * libio/wmemstream.c: Likewise.
28265 * libio/wstrops.c: Likewise.
28266 * libio/__fpurge.c: Likewise.
28267 * libio/__fsetlocking.c: Likewise.
28268 * assert/assert.c: Likewise.
28269 * debug/fgets_chk.c: Likewise.
28270 * debug/fgets_u_chk.c: Likewise.
28271 * debug/fread_chk.c: Likewise.
28272 * debug/fread_u_chk.c: Likewise.
28273 * debug/gets_chk.c: Likewise.
28274 * debug/obprintf_chk.c: Likewise.
28275 * debug/vasprintf_chk.c: Likewise.
28276 * debug/vdprintf_chk.c: Likewise.
28277 * debug/vsnprintf_chk.c: Likewise.
28278 * debug/vsprintf_chk.c: Likewise.
28279 * malloc/mtrace.c: Likewise.
28280 * misc/error.c: Likewise.
28281 * misc/syslog.c: Likewise.
28282 * stdio-common/asprintf.c: Likewise.
28283 * stdio-common/fxprintf.c: Likewise.
28284 * stdio-common/getw.c: Likewise.
28285 * stdio-common/isoc99_fscanf.c: Likewise.
28286 * stdio-common/isoc99_scanf.c: Likewise.
28287 * stdio-common/isoc99_vfscanf.c: Likewise.
28288 * stdio-common/isoc99_vscanf.c: Likewise.
28289 * stdio-common/isoc99_vsscanf.c: Likewise.
28290 * stdio-common/printf-prs.c: Likewise.
28291 * stdio-common/printf_fp.c: Likewise.
28292 * stdio-common/printf_fphex.c: Likewise.
28293 * stdio-common/printf_size.c: Likewise.
28294 * stdio-common/putw.c: Likewise.
28295 * stdio-common/scanf.c: Likewise.
28296 * stdio-common/sprintf.c: Likewise.
28297 * stdio-common/tmpfile.c: Likewise.
28298 * stdio-common/vfprintf.c: Likewise.
28299 * stdio-common/vfscanf.c: Likewise.
28300 * stdlib/strfmon_l.c: Likewise.
28301 * sunrpc/openchild.c: Likewise.
28302 * sunrpc/xdr_stdio.c: Likewise.
28303 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28304 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28305
d6c33fda
RM
283062012-05-24 Roland McGrath <roland@hack.frob.com>
28307
c1487492
RM
28308 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28309
28310 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28311 in the third column, to generate for the shared library an IFUNC
28312 that uses _dl_vdso_vsym.
28313 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28314 * Makeconfig (object-suffixes-noshared): New variable.
28315
28316 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28317 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28318 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28319 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28320
d6c33fda
RM
28321 [BZ #14132]
28322 * include/sys/time.h (__gettimeofday): Remove macro.
28323 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28324 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28325 Remove INTDEF.
28326 (__gettimeofday): Add libc_hidden_def.
28327 (gettimeofday): Add libc_hidden_weak.
28328 * sysdeps/mach/gettimeofday.c: Likewise.
28329 * sysdeps/posix/gettimeofday.c: Likewise.
28330 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28331 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28332 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28333 (__gettimeofday_internal): Remove strong_alias.
28334 (__gettimeofday): Add libc_hidden_def.
28335 (gettimeofday): Add libc_hidden_weak.
28336 * sysdeps/unix/syscalls.list (gettimeofday):
28337 Remove __gettimeofday_internal alias.
28338
b5a2bbe6
L
283392012-05-24 Daniel Jacobowitz <drow@false.org>
28340 H.J. Lu <hongjiu.lu@intel.com>
28341
28342 [BZ #12495]
28343 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28344 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28345 (largebin_index_32_big): New.
28346 (largebin_index): Use it for 16-byte alignment.
28347 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28348 correction with front_misalign.
28349
cfba4fda
L
283502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28351
7f907421
L
28352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28354 Likewise.
28355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28356 Likewise.
28357 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28358 Likewise.
28359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28360 Likewise.
28361 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28362 Likewise.
28363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28364 Likewise.
28365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28366 Likewise.
28367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28368 Likewise.
28369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28370 Likewise.
28371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28372 Likewise.
28373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28374 Likewise.
28375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28376 Likewise.
28377
cfba4fda
L
28378 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28379 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28380
80bad0cc
JM
283812012-05-24 Joseph Myers <joseph@codesourcery.com>
28382
7a25eb06
JM
28383 [BZ #10846]
28384 [BZ #14036]
28385 * math/libm-test.inc (exp_test): Add test from bug 14036.
28386 (pow_test): Add test from bug 10846.
28387
795405f9
JM
28388 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28389 and other flags.
28390 (special_function): Do not include flags in test name.
28391 (parse_args): Likewise.
28392 * sysdeps/i386/fpu/libm-test-ulps: Update.
28393 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28394 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28395 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28397
80bad0cc
JM
28398 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28399 exceptions.
28400 * math/libm-test.inc ("Philosophy"): Update comment about
28401 exception testing.
28402 (UNDERFLOW_EXCEPTION): New macro.
28403 (UNDERFLOW_EXCEPTION_OK): Likewise.
28404 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28405 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28406 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28407 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28408 (INVALID_EXCEPTION_OK): Update value.
28409 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28410 (OVERFLOW_EXCEPTION_OK): Likewise.
28411 (IGNORE_ZERO_INF_SIGN): Likewise.
28412 (test_exceptions): Handle underflow exceptions.
28413 (acos_test): Update for underflow exception expectations.
28414 (cexp_test): Likewise.
28415 (clog_test): Likewise.
28416 (clog10_test): Likewise.
28417 (csqrt_test): Likewise.
28418 (ctan_test): Likewise.
28419 (ctanh_test): Likewise.
28420 (exp_test): Likewise.
28421 (exp10_test): Likewise.
28422 (exp2_test): Likewise.
28423 (expm1_test): Likewise.
28424 (fma_test): Likewise.
28425 (j0_test): Likewise.
28426 (jn_test): Likewise.
28427 (nexttoward_test): Likewise.
28428 (pow_test): Likewise.
28429 (scalbn_test): Likewise.
28430 (scalbln_test): Likewise.
28431 (tan_test): Likewise.
28432 (y1_test): Likewise.
28433 * sysdeps/i386/fpu/libm-test-ulps: Update.
28434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28435
9e0e3d0b
DM
284362012-05-23 David S. Miller <davem@davemloft.net>
28437
28438 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28439 (__libc_sigaction): Remove unused local variables.
28440
ccd0a08f
L
284412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28442
28443 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28444
62bdf9a6
PE
284452012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28446
f8591f80
PE
28447 mktime: avoid signed integer overflow
28448 * time/mktime.c (__mktime_internal): Do not mishandle the case
28449 where diff == INT_MIN.
28450
94c7d826
PE
28451 mktime: simplify computation of average
28452 * time/mktime.c (ranged_convert): Use new time_t_avg function
28453 instead of rolling our own (probably-slower) code.
28454
ce73d683
PE
28455 mktime: do not assume signed right shift propagates sign bit
28456 * time/mktime.c (isdst_differ): New static function.
28457 (__mktime_internal): No need to normalize tm_isdst now.
28458 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28459 tm_isdst values.
28460
72a22e59
PE
28461 mktime: merge another wrapv change from gnulib
28462 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28463 from some compilers.
28464
68605433
PE
28465 mktime: remove incorrect attempt at unusual arithmetics
28466 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28467 The code didn't really work on such machines anyway.
28468 (TYPE_MINIMUM): Assume two's complement.
28469 (twos_complement_arithmetic): Verify that long_int and time_t
28470 are two's complement (or unsigned, in the latter case).
28471
03cf7fe3
PE
28472 mktime: check signed shifts on long_int and time_t, too
28473 * time/mktime.c (SHR): Check that shifts work as desired
28474 on the types long_int and time_t too, as SHR is used on
28475 such types.
28476
f04dfbc2
PE
28477 mktime: do not assume 'long' is wide enough
28478 * time/mktime.c (verify): Move decl up.
28479 (long_int): New type.
28480 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28481 to remove assumption in the code that 'long' is wide enough to
28482 store year values. This assumption is not true on x32 and on
28483 some non-glibc platforms.
28484
62bdf9a6
PE
28485 mktime: merge wrapv change from gnulib
28486 * time/mktime.c (WRAPV): New macro.
28487 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28488 (guess_time_tm, __mktime_internal): Do not assume that signed
28489 integer overflow wraps around; modern compilers generate code
28490 where this assumption is no longer valid.
28491
5e292e4f
L
284922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28493
28494 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28495 Replace "jmp L(pseudo_end)" with "ret".
28496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28497 Likewise.
28498
8caf8c87
AJ
284992012-05-23 Andreas Jaeger <aj@suse.de>
28500
28501 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28502 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28503
1a09dc56
AJ
285042012-05-23 Andreas Jaeger <aj@suse.de>
28505 Maximilian Attems <max@stro.at>
28506
28507 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28508 New macros.
28509
1c87aba0
L
285102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28511
28512 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28513 code so that pseudo_end is just ret and the stack pointer is
28514 correct also for static library in error case.
28515
40e45bd5
JM
285162012-05-23 Joseph Myers <joseph@codesourcery.com>
28517
c2670533
JM
28518 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28519 move to syscalls.list.
28520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28524
40e45bd5
JM
28525 * manual/install.texi (Running make install): Do not mention Linux
28526 kernel version for which pt_chown is not needed.
28527 (Linux): Do not mention problems with nscd with 2.0 kernels.
28528 * INSTALL: Regenerated.
28529
be08eda5
AJ
285302012-05-23 Andreas Jaeger <aj@suse.de>
28531
28532 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28533 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28534 macro.
28535 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28536 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28537 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28538 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28539 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28540 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28541 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28542 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28543 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28544 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28545 * sysdeps/unix/sysv/linux/bits/in.h
28546 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28547
a6a056bb
RM
285482012-05-22 Roland McGrath <roland@hack.frob.com>
28549
28550 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28551 (PREPARE_VERSION): Just use assert instead, it will be elided
28552 under [NDEBUG] anyway.
28553
c9009328
L
285542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28555
28556 * sysdeps/unix/sysv/linux/Makefile: Include
28557 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28558 (sysdep_routines): Remove sysctl.
c9009328
L
28559 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28560 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28561 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28562 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28563 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28564
73338355
AJ
285652012-05-22 Andreas Jaeger <aj@suse.de>
28566
28567 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28568 that pseudo_end is just ret and the stack pointer is correct also
28569 for static library in error case.
28570
d44638b0
PP
285712012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28572
28573 [BZ #14122]
28574 * nss/nsswitch.c (defconfig_entries): New variable.
28575 (__nss_database_lookup): Don't leak defconfig entries.
28576 (nss_parse_service_list): Don't leak on error paths.
28577 (free_database_entries): New function.
28578 (free_defconfig): New function.
28579 (free_mem): Move common code to free_database_entries.
28580
31a39bd8
L
285812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28582
da0331a8
L
28583 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28584 Add arch_prctl.
28585 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28586
31a39bd8
L
28587 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28588 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28590 New macro.
28591 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28592 (INTERNAL_SYSCALL_TYPES): Likewise.
28593 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28594 (LOAD_REGS_TYPES_[1-6]): Likewise.
28595 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28596 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28597
45470df3
AZ
285982012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28599
28600 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28601 copysignl for GLIBC_2_0.
28602 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28603 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28604 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28605 logbl for GLIBC_2_0.
28606 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28607 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28608
98a61bcb
L
286092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28610
a4f6e481
L
28611 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28612 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28613
f63d5db6
L
28614 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28615 Use "neg %eax".
28616
98a61bcb
L
28617 * time/mktime.c: Update copyright years.
28618
95770f14
PE
286192012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28620
6226efbd
PE
28621 mktime: merge comment-quoting-style change from gnulib
28622 * time/mktime.c: Quote 'like this' in comments.
28623 The GNU coding standards suggest that we no longer quote `like this',
28624 as "`" and "'" are typically rendered asymmetrically nowadays.
28625 The typical gnulib style is to quote 'like this' when quoting
28626 code, and "like this" when quoting English.
28627
b99e4f78
PE
28628 * time/mktime.c (compile-command): Add "-I.".
28629
643e01e6
PE
28630 mktime: merge mktime-internal.h change from gnulib
28631 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28632
2554247d
PE
28633 mktime: merge time_r change from gnulib
28634 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28635
826dd0ab
PE
28636 mktime: merge DEBUG change from gnulib
28637 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28638 case system <time.h> has a #define.
28639
bd83aabe
PE
28640 mktime: merge <sys/types.h> change from gnulib
28641 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28642 since <time.t> is now guaranteed to define time_t.
28643
95770f14
PE
28644 mktime: merge HAVE_CONFIG_H change from gnulib
28645 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28646
5e1a27a9
L
286472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28648
0e44a77e
L
28649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28650 Use "neg %eax".
28651
5e1a27a9
L
28652 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28653 __rlim_t cast.
28654 (struct rusage): Use anonymous union to pad each field to
28655 __syscall_slong_t.
28656
46259bec
DM
286572012-05-21 David S. Miller <davem@davemloft.net>
28658
28659 * Makefules (o-iterator): Remove .s cases.
28660 (compile-command.s): Delete.
28661 (COMPILE.s): Delete.
28662 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28663
59f0c22e
JM
286642012-05-21 Joseph Myers <joseph@codesourcery.com>
28665
28666 * configure.in (libc_cv_predef_stack_protector): Only consider
28667 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28668 * configure: Regenerated.
28669
20c07380
L
286702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28671
bbb3154b
L
28672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28673 New macro. Use R*LP on int and pointer.
28674 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28675 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28676 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28677 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28678
20c07380
L
28679 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28680 [__WORDSIZE_TIME64_COMPAT32] instead of
28681 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28682 (struct utmp): Likewise.
28683 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28684 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28685 Renamed to ...
28686 (__WORDSIZE_TIME64_COMPAT32): This.
28687 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28688 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28689 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28690 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28691 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28692 (__WORDSIZE_TIME64_COMPAT32): New macro.
28693
d8d1017e
AJ
286942012-05-21 Andreas Jaeger <aj@suse.de>
28695
28696 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28697 only if [SHARED]. Add prototype for __wcschr_ia32.
28698
6c7fb145
RM
286992012-05-21 Roland McGrath <roland@hack.frob.com>
28700
28701 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28702 of %rbp unmolested in the jmp_buf while mangling the low bits.
28703 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28704 unmolested high bits of %rbp while demangling the low bits.
28705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28706
66274218
AJ
287072012-05-21 Andreas Jaeger <aj@suse.de>
28708
07c58f8f
AJ
28709 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28710 * sunrpc/svc_simple.c: Use it for registerrpc.
28711 * sunrpc/xcrypt.c: Use it for passwd2des.
28712
66274218
AJ
28713 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28714
61f65140
L
287152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28716
28717 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28718 Don't define if [__SYSCALL_WORDSIZE != 32].
28719 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28720 New macro.
28721
5fefb436
AJ
287222012-05-21 Bruno Haible <bruno@clisp.org>
28723 Andreas Jaeger <aj@suse.de>
28724
28725 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28726 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28727 inptr and inend for must_buffer_ch.
28728 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28729 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28730 * stdio-common/Makefile (tests): Remove bug15.
28731 (bug15-ENV): Remove macro.
28732 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28733 anymore.
28734
d8e272ab
AJ
287352012-05-19 Andreas Jaeger <aj@suse.de>
28736 Roland McGrath <roland@hack.frob.com>
28737
28738 * manual/contrib.texi: Completely rewritten. It contains now an
28739 alphabetical list of contributors and their contributions.
28740
4a56a162
RH
287412012-05-21 Richard Henderson <rth@twiddle.net>
28742
28743 * misc/getauxval.c (__getauxval): Use unsigned long int.
28744 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28745 (getauxval): Use unsigned long int.
28746
d024d23c
L
287472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28748
28749 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28750
cbc00a03
RM
287512012-05-21 Roland McGrath <roland@hack.frob.com>
28752
28753 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28754 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28755 __alignof__ (long double).
28756
478143fa
AZ
287572012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28758
28759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28760
c7683a6d
RH
287612012-05-20 Richard Henderson <rth@twiddle.net>
28762
28763 * misc/getauxval.c: New file.
28764 * misc/sys/auxv.h: New file.
28765 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28766 (routines): Add getauxval.
28767 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28768 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28769 * elf/dl-sysdep.c (_dl_auxv): Remove.
28770 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28771 * elf/dl-support.c (_dl_auxv): New variable.
28772 (_dl_aux_init): Initialize it.
28773 * manual/startup.texi (Auxiliary Vector): New node.
28774 * sysdeps/generic/bits/hwcap.h: New file.
28775 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28776 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28777 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28778 * sysdeps/sparc/sysdep.h: ... here. Include it.
28779 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28780 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28782 Update.
c7683a6d
RH
28783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28786 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28791
a6f1845d
AZ
287922012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28793
28794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28795
cbcbe830
DM
287962012-05-19 David S. Miller <davem@davemloft.net>
28797
28798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28799
e0b16cc2
JM
288002012-05-19 Joseph Myers <joseph@codesourcery.com>
28801
28802 [BZ #14123]
28803 * math/s_ccosh.c: Include <float.h>
28804 (__ccosh): Avoid internal overflow calculating sinh and cosh
28805 values before multiplying by sin and cos values.
28806 * math/s_ccoshf.c: Likewise.
28807 * math/s_ccoshl.c: Likewise.
28808 * math/s_csin.c: Likewise.
28809 * math/s_csinf.c: Likewise.
28810 * math/s_csinl.c: Likewise.
28811 * math/s_csinh.c: Likewise.
28812 * math/s_csinhf.c: Likewise.
28813 * math/s_csinhl.c: Likewise.
28814 * math/libm-test.inc (ccos_test): Add more tests.
28815 (ccosh_test): Likewise.
28816 (csin_test): Likewise.
28817 (csinh_test): Likewise.
28818 * sysdeps/i386/fpu/libm-test-ulps: Update.
28819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28820
6ad13e08
L
288212012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28822
f66f0ce8
L
28823 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28824 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28825
6ad13e08
L
28826 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28827
b1d072a7
JM
288282012-05-19 Joseph Myers <joseph@codesourcery.com>
28829
28830 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28831 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28832 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28833 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28834 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28835 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28836 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28837 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28838 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28839 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28840 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28841 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28842 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28843 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28844 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28845 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28846 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28847 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28848 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28849 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28850 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28851 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28852 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28853 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28854 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28855 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28856 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28857 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28858 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28859 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28860 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28861
9eae47cb
AJ
288622012-05-18 Andreas Jaeger <aj@suse.de>
28863
28864 * csu/.gitignore: Delete.
28865
bb07f69f
L
288662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28867
28868 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28869 (timex): Use __syscall_slong_t.
28870
e6bdb741
AJ
288712012-05-18 Andreas Jaeger <aj@suse.de>
28872 Carlos O'Donell <carlos_odonell@mentor.com>
28873
28874 * manual/install.texi (Configuring and compiling): Update
28875 description about files modified in the source directory.
d6c33fda 28876 * INSTALL: Regenerated.
e6bdb741 28877
1b74487e
L
288782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28879
28880 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28881 value. Use "or" to set return value to -1.
28882 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28883 negate return value.
28884
a88b64b9
TMQMF
288852012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28886
57f41c40
AS
28887 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28888 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
28889 failure if the compiler has Graphite support disabled.
28890 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28891 Likewise.
57f41c40
AS
28892 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28893 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
28894 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28895 Likewise.
28896
3707636e
L
288972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28898
610b8622
L
28899 * sysdeps/x86_64/x32/_itoa.h: New file.
28900
7cd195df
L
28901 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28902 getdents system call only if kernel and user dirents have the
28903 same d_ino and d_off.
28904
94b07d20
L
28905 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28906 LLONG_MAX != LONG_MAX.
28907 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28908 (_fitoa_word): Likewise.
28909
18298070
L
28910 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28911 years.
28912 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28913 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28914 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28915
553c7ea4
L
28916 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28917 include <bits/wordsize.h>. Check __x86_64__ instead of
28918 __WORDSIZE.
28919 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28920 if __x86_64__ is defined. Use anonymous union on fpstate.
28921
3707636e
L
28922 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28923 anonymous union.
28924
b53ef01a
AS
289252012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28926
37fb1dc0
AS
28927 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28928 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28929 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28930 Refer to _rtld_local_ro instead of _rtld_global_ro.
28931 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28932 Likewise.
28933 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28934 Likewise.
28935 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28936 Likewise.
28937 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28938 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28939 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28940
b53ef01a
AS
28941 * sysdeps/powerpc/powerpc32/dl-machine.c
28942 (__elf_machine_runtime_setup) [PROF]: Don't reference
28943 _dl_prof_resolve.
28944
7a185db2
AJ
289452012-05-18 Andreas Jaeger <aj@suse.de>
28946
28947 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28948 function only available for GCCs before 3.4 since GCC 3.4
28949 introduced a builtin.
28950 (lrint): Likewise.
28951 (llrintf): Likewise.
28952 (llrint): Likewise.
28953 (fmaxf): Likewise.
28954 (fmax): Likewise.
28955 (fminf): Likewise.
28956 (fmin): Likewise.
28957 (rint): Likewise.
28958 (rintf): Likewise.
28959 (nearbyint): Likewise.
28960 (nearbyintf): Likewise.
28961 (ceil): Likewise.
28962 (ceilf): Likewise.
28963 (floor): Likewise.
28964 (floorf): Likewise.
28965
3e5aef87
L
289662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28967
428bd707
L
28968 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28969 on both fields and cast pointer to __syscall_ulong_t.
28970
3e5aef87
L
28971 * bits/types.h (__fsword_t): New type.
28972 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28973 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28974 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28975 (__FSWORD_T_TYPE): Likewise.
28976 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28977 (__FSWORD_T_TYPE): Likewise.
28978 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28979 (__FSWORD_T_TYPE): Likewise.
28980 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28981 (__FSWORD_T_TYPE): Likewise.
28982 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28983 __SWORD_TYPE with __fsword_t.
28984 (statfs64): Likewise.
28985
1ba7c3dc
DM
289862012-05-17 David S. Miller <davem@davemloft.net>
28987
28988 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28989
59910343
AJ
289902012-05-17 Andreas Jaeger <aj@suse.de>
28991
28992 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28993 warning.
28994
2e4c1e9e
L
289952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28996
28997 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28998
de7f5ce7
AJ
289992012-05-17 Andreas Jaeger <aj@suse.de>
29000
29001 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29002 when it is used.
29003
286abc3d
CM
290042012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29005
29006 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29007
477cc68e
L
290082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
29009
29010 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29011 * sysdeps/x86_64/tst-mallocalign1.c: New file.
29012
1a0994f5
CD
290132012-05-17 Andreas Jaeger <aj@suse.de>
29014 Carlos O'Donell <carlos_odonell@mentor.com>
29015
29016 [BZ #14059]
29017 * sysdeps/x86_64/multiarch/init-arch.h
29018 (bit_YMM_Usable): Rename to...
29019 (bit_AVX_Usable): ... this.
29020 (bit_FMA4_Usable): New macro.
29021 (bit_XMM_state): New macro.
29022 (bit_YMM_state): New macro.
29023 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29024 [__ASSEMBLER__] (index_AVX_Usable): ... this.
29025 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29026 (CPUID_OSXSAVE): New macro.
29027 (CPUID_AVX): New macro.
29028 (CPUID_FMA4): New macro.
29029 (index_YMM_Usable): Rename to...
29030 (index_AVX_Usable): ... this.
29031 (HAS_AVX): Use HAS_ARCH_FEATURE.
29032 (HAS_FMA4): Likewise.
29033 (HAS_YMM_USABLE): Remove.
29034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29035 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29036 are present.
29037 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29038 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29039 * sysdeps/x86_64/multiarch/Makefile: Likewise.
29040 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29041 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29042
0af797de
CM
290432012-05-17 Chris Metcalf <cmetcalf@tilera.com>
29044
29045 * math/libm-test.c: Support platforms without multiple rounding modes.
29046 * math/bug-nextafter.c: Support platforms without FP exceptions.
29047 * math/bug-nexttoward.c: Likewise.
29048 * math/test-fenv.c: Likewise.
29049 * math/test-misc.c: Likewise.
29050 * stdlib/bug-getcontext.c: Likewise.
29051
e39745ff
AJ
290522012-05-17 Andreas Jaeger <aj@suse.de>
29053
29054 * manual/examples/search.c (critter_cmp): Change signature to
29055 avoid warnings.
29056 * manual/string.texi (Collation Functions): Likewise.
29057
48970aba
L
290582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29059
29060 * bits/types.h: Fold copyright years.
29061 * bits/typesizes.h: Likewise.
29062 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
29063 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
29065 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
29066 * time/time.h: Likewise.
29067
bedee953
PP
290682012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
29069
29070 [BZ #208]
29071 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
29072 in instead of returning them. Return void.
29073 (__libc_mallinfo): Accumulate over all arenas.
29074 (__malloc_stats): Adjust for change in int_mallinfo interface.
29075
61653dfb
RM
290762012-05-16 Roland McGrath <roland@hack.frob.com>
29077
30b99d79
RM
29078 [BZ #10375]
29079 * configure.in (NM): Add AC_CHECK_TOOL for it.
29080 (libc_extra_cflags): New substituted variable.
29081 Check for -fstack-protector being used implicitly.
29082 * configure: Regenerated.
29083 * config.make.in (config-extra-cflags): New variable,
29084 gets @libc_extra_cflags@.
29085 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
29086
61653dfb
RM
29087 [BZ #10375]
29088 * configure.in: Check for _FORTIFY_SOURCE being predefined.
29089 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
29090 * configure: Regenerated.
29091 * config.make.in (CPPUNDEFS): New substituted variable.
29092 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
29093 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
29094 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
29095
661768bb
L
290962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29097
29098 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
29099 (mq_attr): Use __syscall_slong_t.
29100
d4261567
L
291012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29102
29103 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
29104 Check __x86_64__ instead of __WORDSIZE.
29105 (_STAT_VER_LINUX): Likewise.
29106 (stat): Check __x86_64__ instead of __WORDSIZE. Use
29107 __syscall_ulong_t and __syscall_slong_t.
29108 (stat64): Likewise.
29109
cf3ff365
L
291102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29111
29112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
29113
76cf3e4d
L
291142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29115
29116 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
29117
a637753a
L
291182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29119
29120 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
29121 __syscall_ulong_t.
29122
d5e05119
L
29123 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
29124 include <bits/wordsize.h>. Check __x86_64__ instead of
29125 __WORDSIZE.
29126 (greg_t): Use "__extension__ long long int" if __x86_64__ is
29127 defined.
29128 (mcontext_t): Replace "unsigned long" with "unsigned long long".
29129
f62ee380
L
29130 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
29131 include <bits/wordsize.h>. Check __x86_64__ instead of
29132 __WORDSIZE.
29133 (user_regs_struct): Use "__extension__ unsigned long long"
29134 instead of "unsigned long" if __x86_64__ is defined.
29135 (user): Likewise. Pad after pointer field if __ILP32__ is
29136 defined.
29137
4e124ced
JM
291382012-05-16 Joseph Myers <joseph@codesourcery.com>
29139
6a3951a0
JM
29140 * configure.in (makeinfo): Require version 4.5 or later. Allow
29141 versions 5 to 9.
29142 * configure: Regenerated.
29143 * manual/install.texi (texinfo): Increase version requirement to
29144 4.5 or later.
29145 * INSTALL: Regenerated.
29146
4e124ced
JM
29147 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
29148
953ca31a
L
291492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
29150
29151 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
29152
617aca05
L
29153 * sysdeps/x86_64/x32/ffs.c: New file.
29154
5762f7ae
L
29155 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29156 __syscall_ulong_t.
29157 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29158 defined. Use __syscall_ulong_t.
29159 (shminfo): Use __syscall_ulong_t.
29160 (shm_info): Likewise.
29161
a26b6856
L
29162 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29163 __syscall_ulong_t.
29164
cb2b9ef7
L
29165 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29166 <bits/wordsize.h>.
29167 (msgqnum_t): Use __syscall_ulong_t.
29168 (msglen_t): Likewise.
29169 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29170 __syscall_ulong_t.
29171
34683bb0
L
29172 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29173 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29174
84a68786
L
29175 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29176
48baa5f1
L
29177 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29178 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29179
180be88b
L
29180 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29181 __syscall_slong_t.
29182
5e90c8ad
L
29183 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29184 include <bits/wordsize.h>. Check __x86_64__ instead of
29185 __WORDSIZE.
29186
23dfb58b
L
29187 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29188 "unsigned long long int" if __x86_64__ is defined.
29189 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29190
ce5d54b0
L
29191 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29192 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29193 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29194
13dc9eac
L
29195 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29196 <stdint.h>.
29197 (GET_PC): Cast to uintptr_t first.
29198 (GET_FRAME): Likewise.
29199 (GET_STACK): Likewise.
29200
a7895d15
L
29201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29202 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29203 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29204 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29205 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29206 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29207 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29208 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29209 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29210 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29211 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29212 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29213 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29214 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29215 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29216 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29217 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29218 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29219 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29220 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29221 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29222 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29223 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29224 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29225 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29226 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29227 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29229 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29230
656416c9
AS
292312012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29232
5bd66283
AS
29233 * Makerules (+depfiles): Also collect depfiles from .oS in
29234 $(extra-objs).
29235 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29236 .oS, $(libnldbl-routines)).
29237
656416c9
AS
29238 * Makerules (native-compile-mkdep-flags): Define.
29239 * sunrpc/Makefile (extra-objs): Add $(addprefix
29240 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29241 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29242 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29243 calling $(make-target-directory).
29244
a46f2169
L
292452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29246
29247 * bits/types.h (__snseconds_t): Removed.
29248 * time/time.h (struct timespec): Replace __snseconds_t with
29249 __syscall_slong_t.
29250 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29251 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29252 Likewise.
29253 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29254 (__SNSECONDS_T_TYPE): Likewise.
29255 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29256 (__SNSECONDS_T_TYPE): Likewise.
29257 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29258 (__SNSECONDS_T_TYPE): Likewise.
29259
6af6528b
L
292602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29261
29262 * sysdeps/mach/hurd/bits/typesizes.h
29263 (__SYSCALL_SLONG_TYPE): New macro.
29264 (__SYSCALL_ULONG_TYPE): Likewise.
29265
de986b56
L
292662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29267
29268 * bits/types.h (__syscall_slong_t): New type.
29269 (__syscall_ulong_t): Likewise.
29270
29271 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29272 (__SYSCALL_ULONG_TYPE): Likewise.
29273 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29274 (__SYSCALL_SLONG_TYPE): Likewise.
29275 (__SYSCALL_ULONG_TYPE): Likewise.
29276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29277 (__SYSCALL_SLONG_TYPE): Likewise.
29278 (__SYSCALL_ULONG_TYPE): Likewise.
29279 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29280 (__SYSCALL_SLONG_TYPE): Likewise.
29281 (__SYSCALL_ULONG_TYPE): Likewise.
29282
85736dc7
L
292832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29284
29285 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29286 Add sigaltstack-offsets.sym.
29287 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29288 <sigaltstack-offsets.h>.
29289 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29290 longjmp_msg pointer.
29291 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29292 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29293 signal stack.
29294 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29295
cc03b296
JM
292962012-05-15 Joseph Myers <joseph@codesourcery.com>
29297
a9538892
JM
29298 * elf/stackguard-macros.h: Remove file.
29299 * sysdeps/generic/stackguard-macros.h: New file.
29300 * sysdeps/i386/stackguard-macros.h: Likewise.
29301 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29302 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29303 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29304 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29305 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29306 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29307 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29308 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29309 <elf/stackguard-macros.h>.
29310
cc03b296
JM
29311 [BZ #14109]
29312 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29313 __aligned__ in attribute.
29314 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29315 (gregset_t): Likewise.
29316
93171016
L
293172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29318
29319 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29320 * sysdeps/x86_64/64/Implies-after: Here. New file.
29321 * sysdeps/x86_64/x32/Implies-after: New file.
29322
d86813a0
L
293232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29324
29325 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29326 and access return value for _dl_profile_fixup. Use R10_LP to
29327 load frame size.
29328
2953ec75
L
293292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29330
29331 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29332
3b550e9e
L
293332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29334
29335 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29336 * sysdeps/x86_64/x32/sysdep.h: New file.
29337
eda41706
L
293382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29339
29340 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29341 * sysdeps/x86_64/setjmp.S: Likewise.
29342
9ea01d93
AZ
293432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29344
29345 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29346 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29347 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29348 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29349 remove unused global constant.
29350
02a91938
CM
293512012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29352
29353 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29354 include of <not-cancel.h>.
29355
6540185f
RM
293562012-05-15 Roland McGrath <roland@hack.frob.com>
29357
29358 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29359
509072a0
AJ
293602012-05-15 Jeff Law <law@redhat.com>
29361 Andreas Jaeger <aj@suse.de>
29362
29363 [BZ #13594]
29364 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29365 out from...
29366 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29367 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29368 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29369 code changing __hst_map_handle.map.
29370
ba75122d
RM
293712012-05-15 Roland McGrath <roland@hack.frob.com>
29372
29373 * configure.in (sysnames): Look for Implies-before and Implies-after
29374 files.
29375 * configure: Regenerated.
29376
890d8bd8
L
293772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29378
29379 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29380 8-byte data alignment with LP_SIZE alignment.
29381
f6ee6623
L
293822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29383
29384 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29385 into R10_LP.
29386
ea2626f6
L
293872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29388
29389 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29390
085f715e
L
293912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29392
29393 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29394 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29395 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29396 Likewise.
29397 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29398
be8498fc
L
293992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29400
29401 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29402 (stackinfo_sub_sp): Likewise.
29403
70bc83b9
L
294042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29405
29406 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29407 RAX_LP.
29408
9bc0b730
L
294092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29410
29411 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29412 into R*_LP.
29413
6d2850e7
L
294142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29415
29416 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29417 sizes into R*_LP.
29418
3cb84561
L
294192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29420
29421 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29422
54e2ed81
L
294232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29424
29425 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29426 into R11_LP and load __x86_64_shared_cache_size_half into
29427 R8_LP.
29428
8a17f349
L
294292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29430
29431 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29432 R8_LP.
29433
777b1eea
AZ
294342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29435
29436 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29437 logb for POWER7.
29438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29439 logbf for POWER7.
29440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29441 logbl for POWER7.
29442 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29443 powerpc32/power7/fpu/s_logb.c via #include.
29444 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29445 powerpc32/power7/fpu/s_logbf.c via #include.
29446 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29447 powerpc32/power7/fpu/s_logbl.c via #include.
29448
d20d4ac2
JM
294492012-05-15 Joseph Myers <joseph@codesourcery.com>
29450
29451 * README.libm: Remove file.
29452
6cdef1ab
L
294532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29454
29455 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29456 count for x32. Use R*_LP and omit operand-size suffix.
29457
0b254d8f
L
294582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29459
29460 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29461 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29462 * sysdeps/x86_64/x32/shlib-versions: New file.
29463
ceb809dc
RM
294642012-05-14 Roland McGrath <roland@hack.frob.com>
29465
29466 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29467 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29468 Use _dl_fatal_printf instead.
29469
37f1abd4
JM
294702012-05-14 Joseph Myers <joseph@codesourcery.com>
29471
29472 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29473 set if not set by the user. Do not allow for being unset.
29474 * sysdeps/unix/sysv/linux/configure: Regenerated.
29475
11de3a33
L
294762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29477
29478 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29479 the `q' suffix from lea and replace .quad with ASM_ADDR.
29480
e02f153a
L
294812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29482
29483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29484 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29485 instead of $17.
29486 (PTR_DEMANGLE): Likewise.
29487
520ae0fd
L
294882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29489
29490 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29491 (LP_OP): Likewise.
29492 (ASM_ADDR): Likewise.
29493 (RAX_LP): Likewise.
29494 (RBP_LP): Likewise.
29495 (RBX_LP): Likewise.
29496 (RCX_LP): Likewise.
29497 (RDI_LP): Likewise.
29498 (RSI_LP): Likewise.
29499 (RSP_LP): Likewise.
29500 (R8_LP): Likewise.
29501 (R9_LP): Likewise.
29502 (R10_LP): Likewise.
29503 (R10_LP): Likewise.
29504 (R11_LP): Likewise.
29505 (R12_LP): Likewise.
29506 (R13_LP): Likewise.
29507 (R14_LP): Likewise.
29508 (R15_LP): Likewise.
29509
b985be81
L
295102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29511
29512 * sysdeps/x86_64/x32/dl-machine.h: New file.
29513
6a4888ff
AJ
295142012-05-14 Andreas Jaeger <aj@suse.de>
29515
29516 * manual/Makefile (subdir): Remove export of subdir.
29517 (all): Remove target.
29518 (.PHONY): Remove all from list.
29519 (mkinstalldirs): Remove.
29520 (.PHONY): Remove installdirs from list.
29521 ($(inst_infodir)/libc.info): Use make-target-directory.
29522 (installdirs): Remove.
29523 (subdir_%): Remove.
29524 (glibc-targets): Remove.
29525 (lib): Remove.
29526 (stubs): Remove.
29527 ($(objpfx)stubs ../po/manual.pot): Remove.
29528 ($(objpfx)stamp%): Remove.
29529 (make-target-directory): Remove.
29530 (subdir_install): Remove.
29531 (routines): Remove.
29532 (aux): Remove.
29533 (sources): Remove.
29534 (objects): Remove.
29535 (headers): Remove.
29536
29537 [BZ #13750]
29538 * manual/.gitignore: Remove, it's not needed anymore.
29539 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29540 all files in it.
29541 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29542 directory.
29543 (texis): Renamed to $(objpfx)texis.
29544 (texis-path): New, contains path to generated files.
29545 (chapters.%): Use texis-path for complete path, add extra argument
29546 libc-texinfo.sh.
29547 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29548 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29549 (summary,texi, stamp-summary): Use complete path of
29550 files. Generate files in build dir.
29551 (dir-add.texi): Build in build dir.
29552 (libm-err.texi,stamp-libm-err): Likewise.
29553 (version.texi, stamp-version): Likewise.
29554 (.%c.texi): Likewise.
29555 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29556 (mostlyclean): Remove target.
29557 (realclean): Remove target.
29558 (generated): Add new variable with contents from mostlyclean and
29559 realclean, remove entries duplicated in common-mostlyclean, add
29560 stamp-libm-err and stamp-version.
29561 (generated-dirs): Add libc directory.
29562 ($(inst_infodir)/libc.info): Install files from build dir.
29563
29564 * manual/install.texi (Configuring and compiling): Adjust since
29565 the info files are not part of the tar ball anymore.
29566
7ac77294
AJ
295672012-05-14 Andreas Jaeger <aj@suse.de>
29568
29569 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29570 variable.
29571
ffb7875d
JM
295722012-05-14 Joseph Myers <joseph@codesourcery.com>
29573
29574 [BZ #13717]
29575 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29576 to 2.2.0 where earlier.
29577 * sysdeps/unix/sysv/linux/configure: Regenerated.
29578 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29579 Remove conditional code.
29580 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29581 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29582 Remove conditional code.
29583 [!__NR_lchown]: Likewise.
29584 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29585 [__NR_lchown]: Likewise.
29586 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29587 comment referencing __ASSUME_LCHOWN_SYSCALL.
29588 * sysdeps/unix/sysv/linux/i386/sigaction.c
29589 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29590 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29591 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29592 Remove conditional code.
29593 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29594 (__protocol_available): Remove #if 0 code.
29595 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29596 conditional code.
29597 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29598 * sysdeps/unix/sysv/linux/kernel-features.h
29599 (__ASSUME_GETCWD_SYSCALL): Don't define.
29600 (__ASSUME_REALTIME_SIGNALS): Likewise.
29601 (__ASSUME_PREAD_SYSCALL): Likewise.
29602 (__ASSUME_PWRITE_SYSCALL): Likewise.
29603 (__ASSUME_POLL_SYSCALL): Likewise.
29604 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29605 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29606 non-SPARC.
29607 (__ASSUME_SIOCGIFNAME): Don't define.
29608 (__ASSUME_MSG_NOSIGNAL): Likewise.
29609 (__ASSUME_SENDFILE): Define unconditionally.
29610 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29611 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29612 conditional code.
29613 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29614 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29615 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29616 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29617 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29618 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29619 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29621 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29624 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29625 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29627 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29630 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29631 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29633 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29636 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29639 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29642 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29644 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29645 Remove conditional code.
29646 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29647 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29648 Remove conditional code.
29649 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29650 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29651 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29652 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29653 Remove conditional code.
29654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29655 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29656 Remove conditional code.
29657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29658 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29659 Remove conditional code.
29660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29661 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29662 Remove conditional code.
29663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29664 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29665 Remove conditional code.
29666 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29667 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29668 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29670 * sysdeps/unix/sysv/linux/sigaction.c
29671 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29672 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29673 * sysdeps/unix/sysv/linux/sigpending.c
29674 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29675 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29676 * sysdeps/unix/sysv/linux/sigprocmask.c
29677 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29678 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29679 * sysdeps/unix/sysv/linux/sigsuspend.c
29680 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29681 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29682 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29683 (__libc_missing_rt_sigs): Remove.
29684 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29685 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29686 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29687 Remove conditional code.
29688 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29689 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29690 return 1.
29691 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29692 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29693 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29694 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29695
1bfb7291
AJ
296962012-05-14 Andreas Jaeger <aj@suse.de>
29697
caae5a81
AJ
29698 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29699 it's not used in glibc.
29700 (__coshm1): Likewise.
29701 (__acosh1p): Likewise.
29702 (__sgn): Likewise.
29703
1bfb7291
AJ
29704 * manual/string.texi (Copying and Concatenation): Add missing
29705 variable in concat example.
29706 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29707
c044d724
L
297082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29709
144c5467 29710 [BZ #14103]
c044d724
L
29711 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29712 __builtin_clzl with __builtin_clzll.
29713
2523c62b
L
297142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29715
29716 [BZ #14104]
29717 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29718 libc_freeres_ptr.
29719
d7bb4c42
LD
297202012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29721
29722 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29723 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29724 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29725 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29726
9dc4e1fb
MF
297272012-05-14 Mike Frysinger <vapier@gentoo.org>
29728
29729 * NEWS: Update ia64 info.
29730
c7df0112
AS
297312012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29732
29733 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29734 used as bcopy.
29735
dc70356c
TS
297362012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29737
29738 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29739 * sysdeps/unix/syscalls.list (dup3): Likewise.
29740 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29741 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29742
9fb1a21f
L
297432012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29744
29745 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29746 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29747
4822a2a5
L
297482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29749
29750 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29751 thread pointer.
29752 (TLS_IE): Use mov/add instead of movq/addq to load thread
29753 pointer.
29754 (TLS_GD_PREFIX): New.
29755 (TLS_GD): Use it.
29756
842b81d6
DM
297572012-05-11 David S. Miller <davem@davemloft.net>
29758
29759 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29760 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29761 (_FPU_SETCW): Likewise.
29762
1cf463cd
L
297632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29764
29765 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29766 is 32-byte aligned.
29767
60cc4a18
AS
297682012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29769
29770 [BZ #11837]
29771 * iconvdata/gb18030.c: Update tables.
29772 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29773 characters specially.
29774 (BODY for TO_LOOP): Add encoding of missing ranges.
29775
febb44a4
TS
297762012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29777
29778 [BZ #13673]
29779 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29780 * sysdeps/mach/hurd/dup3.c: Likewise.
29781 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29782 * sysdeps/powerpc/memmove.c:: Likewise.
29783
0a10fb9e
L
297842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29785
29786 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29787 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29788
df8a552f
L
297892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29790
29791 * elf/elf.h (R_X86_64_RELATIVE64): New.
29792 (R_X86_64_NUM): Updated.
29793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29794 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29795 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29796 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29797 tst-quad1pie tst-quad2pie
29798 (modules-names): Add tst-quadmod1 tst-quadmod2.
29799 ($(objpfx)tst-quad1): New dependency.
29800 ($(objpfx)tst-quad2): Likewise.
29801 ($(objpfx)tst-quad1pie): Likewise.
29802 ($(objpfx)tst-quad2pie): Likewise.
29803 * sysdeps/x86_64/tst-quad1.c: New file.
29804 * sysdeps/x86_64/tst-quad1pie.c: New file.
29805 * sysdeps/x86_64/tst-quad2.c: Likewise.
29806 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29807 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29808 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29809 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29810 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29811
f34d6f84
ST
298122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29813
f42d41d1
ST
29814 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29815 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29816 * streams/stropts.h (t_scalar_t): Define type.
29817
3c3571fc
ST
29818 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29819 (_PATH_PRESERVE): Set to "/var/lib".
29820 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29821
61f06bd3
ST
29822 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29823 instead of int.
29824
918d4d71
ST
29825 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29826 if __dir_mkfile succeeded.
29827
f34d6f84
ST
29828 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29829 checking for _hurd_dtablesize. Unlock it right after having
29830 finished _hurd_dtable allocation.
29831
10589b4a
TS
298322012-05-10 Thomas Schwinge <thomas@schwinge.name>
29833
674cdbc7
TS
29834 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29835 * sysdeps/mach/hurd/configure: Regenerated.
29836 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29837 special-casing to...
29838 * sysdeps/gnu/configure.in: ... this new file.
29839 * sysdeps/unix/sysv/linux/configure: Regenerated.
29840 * sysdeps/gnu/configure: New generated file.
29841
8e41b99f
TS
29842 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29843 for Linux: use nsec instead of usec, as well as:
29844 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29845 members of type struct timespec.
29846 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29847 New macros.
29848 (struct stat64): Likewise.
29849 (_STATBUF_ST_NSEC): New macro.
29850 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29851
10589b4a
TS
29852 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29853 __strtoul_internal rather than strtoul.
29854
63643c85
PT
298552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29856
29857 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29858 and reject them.
29859
3faebe6a
ST
298602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29861
29862 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29863 which preserves existing values.
29864 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29865
c6474b07
PT
298662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29867
29868 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29869 TIMEOUT values. Return EINVAL for NFDS values either negative or
29870 greater than FD_SETSIZE.
29871
1043890b
ST
298722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29873
29874 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29875 allocated, call __vm_protect to finish enabling the existing space, and
29876 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29877 allocate the remainder.
29878
37ed8b9b
PT
298792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29880
29881 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29882 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29883
db653660
ST
298842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29885
37ed8b9b
PT
29886 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29887 sysdeps/mach/hurd/readlink.c.
b29d4053 29888
db653660
ST
29889 * posix/tst-sysconf.c (posix_options): Only use
29890 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29891 _POSIX_SYNCHRONIZED_IO when they are defined
29892 * sysdeps/mach/hurd/bits/posix_opt.h:
29893 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29894 (_XOPEN_REALTIME): Undefine macro.
29895 (_XOPEN_REALTIME_THREADS): Undefine macro.
29896 (_XOPEN_SHM): Undefine macro.
29897 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29898 macro to -1.
29899 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29900 macro to -1.
29901 (_POSIX_ASYNC_IO): Undefine macro.
29902 (_POSIX_PRIORITIZED_IO): Undefine macro.
29903 (_POSIX_SPIN_LOCKS): Define macro to -1.
29904
ee16e894
ST
29905 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29906 SA_NODEFER, SA_RESETHAND.
29907 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29908 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29909 F_DUPFD_CLOEXEC.
29910
6103ae3b
TS
299112012-05-10 Thomas Schwinge <thomas@schwinge.name>
29912
29913 * elf/Makefile (pldd-modules): Define unconditionally.
29914
80b4e5f3
TS
299152012-05-10 Thomas Schwinge <thomas@schwinge.name>
29916
29917 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29918
edadcbd6
ST
299192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29920
29921 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29922 Return ENOENT when name is empty.
29923 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29924
80694780
TS
299252012-05-10 Thomas Schwinge <thomas@schwinge.name>
29926
1792c087
TS
29927 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29928
80694780
TS
29929 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29930
6b645f0d
ST
299312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29932
80694780
TS
29933 Fix mlock in all cases except non-readable pages.
29934 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29935 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29936
6b645f0d
ST
29937 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29938 (__mkdir): When path is `/', just fail with EEXIST.
29939 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29940
e468f8a3
TS
299412012-05-10 Thomas Schwinge <thomas@schwinge.name>
29942
29943 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29944 <sys/uio.h> (for writev).
29945 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29946 and <sys/param.h> (for MIN).
29947
a4186cff
PT
299482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29949
29950 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29951 REQUESTED_TIME. Properly set the remaining time and return EINTR
29952 if interrupted.
29953
510bbf14
TS
299542012-05-10 Thomas Schwinge <thomas@schwinge.name>
29955
29956 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29957 Depend on against $(link-rpcuserlibs).
29958
5d5722e8
ST
299592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29960
a4186cff
PT
29961 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29962 (__libc_stack_end): Do not use attribute_relro.
29963 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29964 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29965 to libthread-provided value.
a4186cff
PT
29966 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29967 attribute_relro.
5d5722e8 29968
37233df9
TS
299692012-05-10 Thomas Schwinge <thomas@schwinge.name>
29970
be971a2b
TS
29971 [BZ #3748]
29972 * bits/libc-lock.h (__libc_once_get): New macro.
29973 * sysdeps/mach/bits/libc-lock.h: Likewise.
29974 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29975 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29976 instead of using implementation details.
29977
37233df9
TS
29978 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29979 * libio/freopen.c: Likewise.
29980 * libio/freopen64.c: Likewise.
29981 * misc/syslog.c: Likewise.
29982 * nscd/connections.c: Likewise.
29983 * nscd/netgroupcache.c: Likewise.
29984 * sysdeps/posix/getcwd.c: Likewise.
29985
38de94a5
RM
299862012-05-10 Roland McGrath <roland@hack.frob.com>
29987
29988 * math/w_ilogbf.c: Add #include <limits.h>.
29989
67530489
ST
299902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29991
a4186cff 29992 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29993 path instead of returning without unlocking.
29994
67530489
ST
29995 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29996 immediate-write ioctls.
29997 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29998
5aa3a74a
TS
299992012-05-10 Thomas Schwinge <thomas@schwinge.name>
30000
18bad2ae
TS
30001 * sysdeps/mach/hurd/i386/init-first.c (init): Use
30002 __builtin_frame_address instead of making assumptions about the
30003 location of the return address relative to DATA. Force early load of
30004 the return address.
30005 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30006 __builtin_frame_address.
30007
5aa3a74a
TS
30008 dup3 for GNU Hurd.
30009 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30010 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
30011 implement dup3 and do some further code clean-ups.
30012 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30013 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30014
ecd0de9a
ST
300152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30016
cd9fa985
ST
30017 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30018
a4186cff
PT
30019 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30020 HURD_CRITICAL_END around holding _hurd_dtable_lock.
30021 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30022 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30023 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30024 d->port.lock.
802ca5a5 30025
a4186cff
PT
30026 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30027 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
30028 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 30029
bcf55240
TS
300302012-05-10 Thomas Schwinge <thomas@schwinge.name>
30031
6960eb42
TS
30032 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30033 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30034 definitions.
30035
eb43375f
TS
30036 accept4 for GNU Hurd.
30037 * include/sys/socket.h (__libc_accept4): New prototype.
30038 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
30039 to implement __libc_accept4.
30040 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30041 __libc_accept4.
30042 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30043
bcf55240
TS
30044 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30045 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30046 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30047 signal-defines.sym.
30048
6178c55b
ST
300492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30050
a4186cff 30051 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 30052
6f080c2f
TS
300532012-05-10 Thomas Schwinge <thomas@schwinge.name>
30054
30055 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
30056 assertion on O_CLOEXEC flag.
30057 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
30058 * hurd/intern-fd.c: Likewise.
30059 * hurd/port2fd.c: Likewise.
30060
bcfe3a54
ST
300612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30062
30063 [BZ #3906]
30064 * bits/in.h (IPV6_PKTINFO): Define new macro.
30065 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
30066
89c9aa49
AZ
300672012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30068
30069 [BZ #13954]
30070 [BZ #13955]
30071 [BZ #13956]
30072 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
30073 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30074 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
30075 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30076 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30077 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30078 * math/libm-test.inc (logb_test) : Additional logb tests.
30079
021db4be
AJ
300802012-05-09 Andreas Schwab <schwab@linux-m68k.org>
30081 Andreas Jaeger <aj@suse.de>
30082
30083 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
30084 * configure: Regenerated.
30085 * config.h.in (LINK_OBSOLETE_RPC): New macro.
30086 * config.make.in (link-obsolete-rpc): New substituted variable.
30087 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
30088 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
30089 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30090 (shared-only-routines): Don't set it under [link-obsolete-rpc],
30091 so that libc.a contains the symbols.
30092 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
30093 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
30094 * sunrpc/auth_none.c: Likewise.
30095 * sunrpc/auth_unix.c: Likewise.
30096 * sunrpc/authdes_prot.c: Likewise.
30097 * sunrpc/authuxprot.c: Likewise.
30098 * sunrpc/clnt_gen.c: Likewise.
30099 * sunrpc/clnt_perr.c: Likewise.
30100 * sunrpc/clnt_raw.c: Likewise.
30101 * sunrpc/clnt_simp.c: Likewise.
30102 * sunrpc/clnt_tcp.c: Likewise.
30103 * sunrpc/clnt_udp.c: Likewise.
30104 * sunrpc/clnt_unix.c: Likewise.
30105 * sunrpc/des_crypt.c: Likewise.
30106 * sunrpc/des_soft.c: Likewise.
30107 * sunrpc/get_myaddr.c: Likewise.
30108 * sunrpc/key_call.c: Likewise.
30109 * sunrpc/key_prot.c: Likewise.
30110 * sunrpc/netname.c: Likewise.
30111 * sunrpc/pm_getmaps.c: Likewise.
30112 * sunrpc/pm_getport.c: Likewise.
30113 * sunrpc/pmap_clnt.c: Likewise.
30114 * sunrpc/pmap_prot.c: Likewise.
30115 * sunrpc/pmap_prot2.c: Likewise.
30116 * sunrpc/pmap_rmt.c: Likewise.
30117 * sunrpc/publickey.c: Likewise.
30118 * sunrpc/rpc_cmsg.c: Likewise.
30119 * sunrpc/rpc_common.c: Likewise.
30120 * sunrpc/rpc_dtable.c: Likewise.
30121 * sunrpc/rpc_prot.c: Likewise.
30122 * sunrpc/rpc_thread.c: Likewise.
30123 * sunrpc/rtime.c: Likewise.
30124 * sunrpc/svc.c: Likewise.
30125 * sunrpc/svc_auth.c: Likewise.
30126 * sunrpc/svc_raw.c: Likewise.
30127 * sunrpc/svc_run.c: Likewise.
30128 * sunrpc/svc_tcp.c: Likewise.
30129 * sunrpc/svc_udp.c: Likewise.
30130 * sunrpc/svc_unix.c: Likewise.
30131 * sunrpc/svcauth_des.c: Likewise.
30132 * sunrpc/xcrypt.c: Likewise.
30133 * sunrpc/xdr.c: Likewise.
30134 * sunrpc/xdr_array.c: Likewise.
30135 * sunrpc/xdr_float.c: Likewise.
30136 * sunrpc/xdr_intXX_t.c: Likewise.
30137 * sunrpc/xdr_mem.c: Likewise.
30138 * sunrpc/xdr_rec.c: Likewise.
30139 * sunrpc/xdr_ref.c: Likewise.
30140 * sunrpc/xdr_sizeof.c: Likewise.
30141 * sunrpc/xdr_stdio.c: Likewise.
30142
b5c086a2
RM
301432012-05-10 Roland McGrath <roland@hack.frob.com>
30144
30145 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
30146 change. Update copyright years.
30147
6d74dd09
JM
301482012-05-10 Joseph Myers <joseph@codesourcery.com>
30149
30150 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
30151
28e72501
MK
301522012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
30153 Joseph Myers <joseph@codesourcery.com>
30154 Paul Pluzhnikov <ppluzhnikov@google.com>
30155
30156 [BZ #14012]
30157 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30158 requiring rpcgen.
30159 [cross-compiling] (extra-libs): Likewise.
30160 [cross-compiling] (extra-libs-others): Likewise.
30161 [cross-compiling] (librpcsvc-routines): Likewise.
30162 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30163 [cross-compiling] (omit-deps): Likewise.
30164 (sunrpc-CPPFLAGS): New variable.
30165 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30166 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30167 (cross-rpcgen-objs): New variable.
30168 (extra-objs): Append $(cross-rpcgen-objs).
30169 ($(cross-rpcgen-objs)): New rule.
30170 ($(objpfx)cross-rpcgen): Likewise.
30171 (rpcgen-cmd): Define to use $(built-program-file). Expand
30172 comment.
30173 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30174 ($(objpfx)x%.stmp): Likewise.
30175 * sunrpc/proto.h [IS_IN_build] (_): Define.
30176 [IS_IN_build] (_libc_intl_domainname): Likewise.
30177
c8c59454
L
301782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30179
30180 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30181 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30182 and R_X86_64_TPOFF64.
30183
6f27cd16
JM
301842012-05-10 Joseph Myers <joseph@codesourcery.com>
30185
30186 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30187 sysdeps/unix/sysv/syscalls.list.
30188 (stime): Likewise.
30189 (utime): Likewise.
30190 * sysdeps/unix/sysv/syscalls.list: Remove file.
30191
02467e1c
PE
301922012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30193
30194 [BZ #3440]
30195 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30196 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30197 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30198 (__LC_IDENTIFICATION): Make these macros useful in #if
30199 expressions, as required by C99.
30200
da392631
AS
302012012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30202
30203 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30204 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30205 after this.
30206
8115f29b
L
302072012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30208
30209 * stdlib/longlong.h: Updated from GCC.
30210
bdd74070
AJ
302112012-05-09 Andreas Jaeger <aj@suse.de>
30212
edfe0dbe
AJ
30213 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30214 default is first entry.
30215 (run_mode): Set type.
30216 (main): Remove informal message about syslog.
30217 (options): Fix typo.
30218
bcfe3a54
ST
30219 [BZ #14053]
30220 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 30221 to asm.
bcfe3a54
ST
30222 (lrint): Likewise.
30223 (llrintf): Likewise.
30224 (llrint): Likewise.
30225 (rint): Likewise.
30226 (rintf): Likewise.
30227 (nearbyint): Likewise.
30228 (nearbyintf): Likewise.
bdd74070 30229
91d8d69e
AJ
302302012-05-09 Andreas Jaeger <aj@suse.de>
30231 Pedro Alves <palves@redhat.com>
30232
30233 * nscd/nscd.c (run_mode): Use enum.
30234 (main): Cleanup coding style issue.
30235
bb90b80b
AJ
302362012-05-09 Alexandre Oliva <aoliva@redhat.com>
30237 Andreas Jaeger <aj@suse.de>
30238
bcfe3a54
ST
30239 * nscd/nscd.c (go_background): Replaced with...
30240 (run_mode): ... this.
bb90b80b 30241 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
30242 (options): Add -F --foreground.
30243 (main): Implement it.
30244 (parse_opt): Parse it.
bb90b80b 30245
1a4b75a1
AJ
302462012-05-09 Andreas Jaeger <aj@suse.de>
30247
30248 [BZ #14083]
30249 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30250 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30251 -Wconversion warning.
30252 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30253 Likewise.
30254
b1cc2472
JM
302552012-05-09 Joseph Myers <joseph@codesourcery.com>
30256
30257 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30258 == 0.
30259 (LC_ALL): Use macro-int-constant.
30260 (LC_COLLATE): Likewise.
30261 (LC_CTYPE): Likewise.
30262 (LC_MESSAGES): Likewise.
30263 (LC_MONETARY): Likewise.
30264 (LC_NUMERIC): Likewise.
30265 (LC_TIME): Likewise.
30266 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30267 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30269 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30270 Specify type.
30271 [C99-based standards] (float_t): Expect type.
30272 [C99-based standards] (double_t): Expect type.
30273 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30274 type.
30275 [C99-based standards] (HUGE_VALL): Likewise.
30276 [C99-based standards] (INFINITY): Likewise.
30277 [C99-based standards] (NAN): Likewise.
30278 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30279 [C99-based standards] (FP_NAN): Likewise.
30280 [C99-based standards] (FP_NORMAL): Likewise.
30281 [C99-based standards] (FP_SUBNORMAL): Likewise.
30282 [C99-based standards] (FP_ZERO): Likewise.
30283 [C99-based standards] (FP_FAST_FMA): Use
30284 optional-macro-int-constant. Specify type. Require == 1.
30285 [C99-based standards] (FP_FAST_FMAF): Likewise.
30286 [C99-based standards] (FP_FAST_FMAL): Likewise.
30287 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30288 [C99-based standards] (FP_ILOGBNAN): Likewise.
30289 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30290 Specify type.
30291 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30292 [C99-based standards] (math_errhandling): Specify type.
30293 [ISO99 || ISO11] (signgam): Do not allow.
30294 [non-C99-based standards] (copysignf): Do not allow.
30295 [non-C99-based standards] (exp2f): Likewise.
30296 [non-C99-based standards] (log2f): Likewise.
30297 [non-C99-based standards] (modff): Allow.
30298 [non-C99-based standards] (erff): Do not allow.
30299 [non-C99-based standards] (erfcf): Likewise.
30300 [non-C99-based standards] (gammaf): Likewise.
30301 [non-C99-based standards] (hypotf): Likewise.
30302 [non-C99-based standards] (j0f): Likewise.
30303 [non-C99-based standards] (j1f): Likewise.
30304 [non-C99-based standards] (jnf): Likewise.
30305 [non-C99-based standards] (lgammaf): Likewise.
30306 [non-C99-based standards] (tgammaf): Likewise.
30307 [non-C99-based standards] (y0f): Likewise.
30308 [non-C99-based standards] (y1f): Likewise.
30309 [non-C99-based standards] (ynf): Likewise.
30310 [non-C99-based standards] (isnanf): Likewise.
30311 [non-C99-based standards] (acoshf): Likewise.
30312 [non-C99-based standards] (asinhf): Likewise.
30313 [non-C99-based standards] (atanhf): Likewise.
30314 [non-C99-based standards] (cbrtf): Likewise.
30315 [non-C99-based standards] (expm1f): Likewise.
30316 [non-C99-based standards] (ilogbf): Likewise.
30317 [non-C99-based standards] (log1pf): Likewise.
30318 [non-C99-based standards] (logbf): Likewise.
30319 [non-C99-based standards] (nextafterf): Likewise.
30320 [non-C99-based standards] (remainderf): Likewise.
30321 [non-C99-based standards] (rintf): Likewise.
30322 [non-C99-based standards] (scalbf): Likewise.
30323 [non-C99-based standards] (copysignl): Likewise.
30324 [non-C99-based standards] (exp2l): Likewise.
30325 [non-C99-based standards] (log2l): Likewise.
30326 [non-C99-based standards] (modfl): Allow.
30327 [non-C99-based standards] (erfl): Do not allow.
30328 [non-C99-based standards] (erfcl): Likewise.
30329 [non-C99-based standards] (gammal): Likewise.
30330 [non-C99-based standards] (hypotl): Likewise.
30331 [non-C99-based standards] (j0l): Likewise.
30332 [non-C99-based standards] (j1l): Likewise.
30333 [non-C99-based standards] (jnl): Likewise.
30334 [non-C99-based standards] (lgammal): Likewise.
30335 [non-C99-based standards] (tgammal): Likewise.
30336 [non-C99-based standards] (y0l): Likewise.
30337 [non-C99-based standards] (y1l): Likewise.
30338 [non-C99-based standards] (ynl): Likewise.
30339 [non-C99-based standards] (isnanl): Likewise.
30340 [non-C99-based standards] (acoshl): Likewise.
30341 [non-C99-based standards] (asinhl): Likewise.
30342 [non-C99-based standards] (atanhl): Likewise.
30343 [non-C99-based standards] (cbrtl): Likewise.
30344 [non-C99-based standards] (expm1l): Likewise.
30345 [non-C99-based standards] (ilogbl): Likewise.
30346 [non-C99-based standards] (log1pl): Likewise.
30347 [non-C99-based standards] (logbl): Likewise.
30348 [non-C99-based standards] (nextafterl): Likewise.
30349 [non-C99-based standards] (remainderl): Likewise.
30350 [non-C99-based standards] (rintl): Likewise.
30351 [non-C99-based standards] (scalbl): Likewise.
30352 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30353 [non-C99-based standards] (FP_*): Do not allow.
30354 [C99-based standards] (FP_*): Change to
30355 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30356 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30357 allow.
30358 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30359 (SIG_ERR): Likewise.
30360 [X/Open-based standards] (SIG_HOLD): Likewise.
30361 (SIG_IGN): Likewise.
30362 (SIGABRT): Use macro-int-constant. Specify type. Require
30363 positive value.
30364 (SIGFPE): Likewise.
30365 (SIGILL): Likewise.
30366 (SIGINT): Likewise.
30367 (SIGSEGV): Likewise.
30368 (SIGTER): Likewise.
30369 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30370 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30371 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30372 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30373 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30374 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30375 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30376 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30377 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30378 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30379 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30380 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30381 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30382 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30383 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30384 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30385 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30386 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30387 [X/Open-based standards] (SIGTRAP): Likewise.
30388 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30389 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30390 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30391 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30392 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30393 allow.
30394
b9f1922d
IW
303952012-05-08 Ian Wienand <ianw@vmware.com>
30396
30397 [BZ #14080]
30398 * time/tzset.c (__tzset_parse_tz): Update default rules for
30399 daylight time changes in the Energy Policy Act of 2005.
30400
1db86e88
AJ
304012012-05-09 Andreas Jaeger <aj@suse.de>
30402
30403 [BZ #13983]
30404 * elf/ldconfig.c (parse_conf): Change string to make clear that
30405 ldconfig only issued a warning if ld.so.conf does not exist.
30406
dee4a4e3
DM
304072012-05-08 David S. Miller <davem@davemloft.net>
30408
ee0db190
DM
30409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30410 movxtod instead of popping the value on the stack.
30411
dee4a4e3
DM
30412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30413
6a43ec98
CD
304142012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30415
30416 * config.h.in: Add HAVE_ARM_PCS_VFP.
30417
05c2c961
RMG
304182012-05-08 Roland Mc Grath <roland@hack.frob.com>
30419
bcfe3a54
ST
30420 [BZ #13979]
30421 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30422 checking but the checks are disabled for any reason.
05c2c961 30423
4b30f61a
L
304242012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30425
30426 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30427 and ELF64_R_TYPE with ELFW(R_TYPE).
30428
eee2bc67
JM
304292012-05-08 Joseph Myers <joseph@codesourcery.com>
30430
7ea5391a
JM
30431 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30432 (ulimit): Likewise.
30433
eee2bc67
JM
30434 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30435 (settimeofday): Likewise.
30436
abb66a67
MF
304372012-05-08 Mike Frysinger <vapier@gentoo.org>
30438
30439 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30440 a struct th_u2 inside the union, and move tu_block/tu_code into
30441 a new th_u3 union of tu_block/tu_code inside of that. Move
30442 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30443 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30444 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30445 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30446 (th_stuff): Change to th_u1.tu_stuff.
30447 (th_data): Define.
30448 (th_msg): Change to th_u1.th_u2.tu_data.
30449
7f18b530
DM
304502012-05-07 David S. Miller <davem@davemloft.net>
30451
05760585
DM
30452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30453
7f18b530
DM
30454 [BZ #14074]
30455 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30456 (SETUP_PIC_REG): Use it.
30457 (SETUP_PIC_REG_LEAF): Use it.
30458
495fd99f
JM
304592012-05-07 Joseph Myers <joseph@codesourcery.com>
30460
30461 [BZ #13885]
30462 [BZ #13923]
30463 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30464 USE_AS_EXPM1L.
30465 (EXPL_FINITE): Likewise.
30466 (FLDLOG): Likewise.
30467 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30468 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30469 e_expl.S.
30470 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30471 USE_AS_EXPM1L.
30472 (EXPL_FINITE): Likewise.
30473 (FLDLOG): Likewise.
30474 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30475 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30476 e_expl.S.
30477 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30478 test of -max_value argument for long double.
30479 * sysdeps/i386/fpu/libm-test-ulps: Update.
30480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30481
6693d694
DM
304822012-05-06 David S. Miller <davem@davemloft.net>
30483
30484 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30485 quad soft-float symbols whose references which are compiler
30486 generated.
30487 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30488
6c23e11c
JM
304892012-05-06 Joseph Myers <joseph@codesourcery.com>
30490
d8b82cad
JM
30491 [BZ #13884]
30492 [BZ #13914]
30493 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30494 USE_AS_EXP10L.
30495 (EXPL_FINITE): Likewise.
30496 (FLDLOG): Likewise.
30497 (c0): Likewise.
30498 (c1): Likewise.
30499 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30500 Adjust comments for base varying.
30501 (__expl_finite): Change alias to EXPL_FINITE.
30502 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30503 e_expl.S.
30504 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30505 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30506 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30507 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30508 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30509 USE_AS_EXP10L.
30510 (EXPL_FINITE): Likewise.
30511 (FLDLOG): Likewise.
30512 (c0): Likewise.
30513 (c1): Likewise.
30514 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30515 Adjust comments for base varying.
30516 (__expl_finite): Change alias to EXPL_FINITE.
30517 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30518 tests for bugs.
30519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30520
6c23e11c
JM
30521 [BZ #14064]
30522 * math/libm-test.inc (check_float_internal): Correct ulp
30523 calculation for subnormal expected results.
30524
29ba805c
AJ
305252012-05-06 Andreas Jaeger <aj@suse.de>
30526
30527 * Makeconfig (+math-flags): New, set to -frounding-math.
30528 (+cflags): Add +math-flags so that all of glibc gets compiled with
30529 it.
30530
30531 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30532
7b17aeda
JM
305332012-05-05 Joseph Myers <joseph@codesourcery.com>
30534
5779f134
JM
30535 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30536 Disable one test.
30537
41498f4d
JM
30538 [BZ #13787]
30539 [BZ #13922]
30540 [BZ #14036]
30541 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30542 (__ieee754_expl): Allow for and saturate large arguments.
30543 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30544 (u_threshold): Likewise.
30545 (__exp): Call __ieee754_exp before checking for overflow and
30546 underflow.
30547 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30548 (u_threshold): Likewise.
30549 (__expf): Call __ieee754_expf before checking for overflow and
30550 underflow.
30551 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30552 (u_threshold): Likewise.
30553 (__expl): Call __ieee754_expl before checking for overflow and
30554 underflow.
30555 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30556 (__ieee754_expl): Allow for and saturate large arguments.
30557 * math/libm-test.inc (exp_test): Add another test. Do not allow
30558 missing overflow exception on overflow.
30559 (expm1_test): Do not allow missing overflow exception on overflow.
30560
6698b8bf
JM
30561 * sysdeps/i386/fpu/e_expl.c: Move to ...
30562 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30563 rather than using inline asm.
30564 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30565 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30566 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30567
7b17aeda
JM
30568 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30569 (nice): Likewise.
30570 (poll): Likewise.
30571 (signal): Likewise.
30572 (time): Likewise.
30573 (times): Likewise.
30574
f7c85819
JM
305752012-05-04 Joseph Myers <joseph@codesourcery.com>
30576
30577 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30578 sysdeps/unix/common/syscalls.list.
30579 (fchmod): Likewise.
30580 (fchown): Likewise.
30581 (ftruncate): Likewise.
30582 (getrusage): Likewise.
30583 (gettimeofday): Likewise.
30584 (setpgid): Likewise.
30585 (setregid): Likewise.
30586 (setreuid): Likewise.
30587 (sigaction): Likewise.
30588 (truncate): Likewise.
30589 (vhangup): Likewise.
30590 * sysdeps/unix/common/syscalls.list: Remove file.
30591 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30592 * sysdeps/unix/sysv/linux/Implies: Likewise.
30593
336270d0
L
305942012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30595
30596 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30598 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30599 Moved to ...
30600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30601 Here.
30602 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30603 to ...
30604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30605 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30606 to ...
30607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30608 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30609 to ...
30610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30611 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30612 to ...
30613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30614 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30615 to ...
30616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30617 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30618 to ...
30619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30620 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30621 to ...
30622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30623 Here.
30624 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30625 to ...
30626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30627 Here.
30628 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30629 to ...
30630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30631 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30632 Moved to ...
30633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30634 Here.
30635 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30636 to ...
30637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30638
d128e450
JM
306392012-05-04 Joseph Myers <joseph@codesourcery.com>
30640
fa8ee516
JM
30641 * sysdeps/unix/common/bits/dirent.h: Remove file.
30642 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30643
d128e450
JM
30644 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30645 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30646 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30647 * sysdeps/unix/bsd/isatty.c: Likewise.
30648 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30649 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30650 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30651
ff8faaf0 306522012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30653
62881be4 30654 [BZ #13563]
31dc8730
AZ
30655 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30656 long double comparison inaccuracies.
30657 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30659
6fef930c
AS
306602012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30661
30662 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30663 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30664
8f203e6c
JM
306652012-05-04 Joseph Myers <joseph@codesourcery.com>
30666
30667 [BZ #14049]
30668 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30669 nonzero digits before rounding a hex value.
30670 * stdlib/tst-strtod.c (tests): Add another test.
30671
5197d9c2
AK
306722012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30673
30674 * sysdeps/s390/fpu/libm-test-ulps: Update.
30675
f0c1dedf
AJ
306762012-05-03 Andreas Jaeger <aj@suse.de>
30677
30678 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30679 does not get optimized out.
30680 (malloc_opt_barrier): New.
30681
a65ef2ae 306822012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30683 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30684
2b942cb7 30685 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30686 intermediate file deletion.
2b942cb7 30687 (generated): Add .symlist files.
a65ef2ae 30688
54b71e02
JM
306892012-05-03 Joseph Myers <joseph@codesourcery.com>
30690
30691 [BZ #13775]
30692 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30693 Redirect under this condition.
30694 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30695 [__USE_GNU] (__dprintf_chk): Not under this condition.
30696 [__USE_GNU] (__vdprintf_chk): Likewise.
30697 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30698 under this condition.
30699 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30700 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30701 [__USE_XOPEN2K8] (vdprintf): Likewise.
30702 [__USE_GNU] (__dprintf_chk): Not under this condition.
30703 [__USE_GNU] (__vdprintf_chk): Likewise.
30704 [__USE_GNU] (dprintf): Likewise.
30705 [__USE_GNU] (vdprintf): Likewise.
30706
d3dfcc41
RM
307072012-05-03 Roland McGrath <roland@hack.frob.com>
30708
30709 * elf/Makefile (common-generated): Set this instead of generated for
30710 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30711 $(all-built-dso)-derived lists.
30712
7ac30cc5
AJ
307132012-05-03 Andreas Jaeger <aj@suse.de>
30714
0c51e550
AJ
30715 * sysdeps/i386/fpu/libm-test-ulps: Update.
30716
7ac30cc5
AJ
30717 * FAQ: Removed.
30718 * FAQ.in: Likewise.
30719 * scripts/gen-FAQ.pl: Likewise.
30720 * manual/install.texi (Installation): Point to online location of
30721 FAQ.
30722 * Makefile (files-for-dist): Remove FAQ.
30723 (FAQ): Remove.
30724
d4c2917f
AM
307252012-05-02 Allan McRae <allan@archlinux.org>
30726
30727 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30728 (LDFLAGS-reldepmod5.so): Likewise.
30729 (LDFLAGS-reldep6mod1.so): Likewise.
30730 (LDFLAGS-reldep6mod4.so): Likewise.
30731 (LDFLAGS-reldep8mod3.so): Likewise.
30732 (LDFLAGS-unload4mod1.so): Likewise.
30733 (LDFLAGS-unload4mod2.so): Likewise.
30734 (LDFLAGS-tst-initorder): Likewise.
30735 (LDFLAGS-tst-initordera2.so): Likewise.
30736 (LDFLAGS-tst-initordera3.so): Likewise.
30737 (LDFLAGS-tst-initordera4.so): Likewise.
30738 (LDFLAGS-tst-initorderb2.so): Likewise.
30739 (LDFLAGS-noload): Likewise.
30740 (LDFLAGS-next): Likewise.
30741 (LDFLAGS-order2mod1.so): Likewise.
30742 (LDFLAGS-order2mod2.so): Likewise.
30743 (LDFLAGS-tst-initorder2): Likewise.
30744 (LDFLAGS-tst-initorder2a.so): Likewise.
30745 (LDFLAGS-tst-initorder2b.so): Likewise.
30746 (LDFLAGS-tst-initorder2c.so): Likewise.
30747 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30748
d77f993f
DM
307492012-05-02 David S. Miller <davem@davemloft.net>
30750
30751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30752
171a70b4
PP
307532012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30754
30755 [BZ #14055]
30756 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30757
0be196ad
AJ
307582012-05-02 Andreas Jaeger <aj@suse.de>
30759
30760 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30761 since we manipulate rounding mode.
30762 (CPPFLAGS-test-idouble.c): Likewise.
30763 (CPPFLAGS-test-ifloat.c): Likewise.
30764 (CFLAGS-test-ldouble.c): Likewise.
30765 (CFLAGS-test-double.c): Likewise.
30766 (CFLAGS-test-float.c): Likewise.
30767 (CFLAGS-test-misc.c): Likewise.
30768 (CFLAGS-test-test-fenv.c): Likewise.
30769
4f9d04aa
AZ
307702012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30771
2b942cb7
RM
30772 [BZ #2550]
30773 [BZ #2570]
30774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30775 comparisons to determine direction to adjust input.
4f9d04aa 30776
82a79e7d
RM
307772012-05-01 Roland McGrath <roland@hack.frob.com>
30778
f5a01ca9
RM
30779 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30780 output to the target.
30781
90fe4186
RM
30782 * scripts/localplt.awk: New file.
30783 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30784 (check-localplt-CFLAGS): Variable removed.
30785 ($(all-built-dso:=.jmprel)): New static pattern rule.
30786 (generated): Add those targets.
30787 (localplt-built-dso): New variable.
30788 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30789
30790 * elf/check-localplt.c: File removed.
30791
82397ed6
RM
30792 * scripts/check-execstack.awk: New file.
30793 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30794 (check-execstack-CFLAGS): Variable removed.
30795 ($(objpfx)check-execstack.h): Target removed.
30796 ($(objpfx)execstack-default): New target.
30797 (generated): Add that instead of check-execstack.h.
30798 ($(all-built-dso:=.phdr)): New static pattern rule.
30799 (generated): Add those targets.
30800 * elf/check-execstack.c: File removed.
30801
82a79e7d
RM
30802 * scripts/check-textrel.awk: New file.
30803 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30804 (check-textrel-CFLAGS): Variable removed.
30805 (all-built-dso): Use := to define.o
30806 ($(all-built-dso:=.dyn)): New static pattern rule.
30807 (generated): Add those targets.
30808 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30809 * config.make.in (READELF): New substituted variable.
30810 * elf/check-textrel.c: File removed.
30811
62fde54f 308122012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30813
615605c9
JM
30814 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30815 allow.
30816 * conform/data/ctype.h-data [C99-based standards] (isblank):
30817 Expect function.
30818 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30819 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30821 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30822 Specify type. Require positive value.
30823 (EILSEQ): Likewise.
30824 (ERANGE): Likewise.
30825 [ISO || POSIX] (EILSEQ): Do not expect.
30826 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30827 Specify type. Require positive value.
30828 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30829 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30830 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30831 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30832 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30833 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30834 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30835 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30836 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30837 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30838 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30839 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30840 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30841 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30842 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30843 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30844 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30845 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30846 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30847 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30848 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30849 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30850 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30851 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30852 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30853 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30854 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30855 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30856 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30857 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30858 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30859 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30860 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30861 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30862 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30863 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30864 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30865 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30866 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30867 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30868 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30869 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30870 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30871 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30872 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30873 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30874 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30875 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30876 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30877 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30878 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30879 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30880 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30881 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30882 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30883 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30884 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30885 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30886 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30887 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30888 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30889 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30890 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30891 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30892 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30893 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30894 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30895 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30896 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30897 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30898 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30899 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30900 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30901 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30902 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30903 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30904 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30905 Require >= 2.
30906 (FLT_ROUNDS): Expect as macro, not constant.
30907 (FLT_MANT_DIG): Use macro-int-constant.
30908 (DBL_MANT_DIG): Likewise.
30909 (LDBL_MANT_DIG): Likewise.
30910 (FLT_DIG): Likewise.
30911 (DBL_DIG): Likewise.
30912 (LDBL_DIG): Likewise.
30913 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30914 (DBL_MIN_EXP): Likewise.
30915 (LDBL_MIN_EXP): Likewise.
30916 (FLT_MAX_EXP): Use macro-int-constant.
30917 (DBL_MAX_EXP): Likewise.
30918 (LDBL_MAX_EXP): Likewise.
30919 (FLT_MAX_10_EXP): Likewise.
30920 (DBL_MAX_10_EXP): Likewise.
30921 (LDBL_MAX_10_EXP): Likewise.
30922 (FLT_MAX): Use macro-constant.
30923 (DBL_MAX): Likewise.
30924 (LDBL_MAX): Likewise.
30925 (FLT_EPSILON): Use macro-constant. Give upper bound.
30926 (DBL_EPSILON): Likewise.
30927 (LDBL_EPSILON): Likewise.
30928 (FLT_MIN): Likewise.
30929 (DBL_MIN): Likewise.
30930 (LDBL_MIN): Likewise.
30931 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30932 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30933 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30934 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30935 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30936 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30937 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30938 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30939 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30940 [ISO11] (FLT_TRUE_MIN): Likewise.
30941 [ISO11] (LDBL_TRUE_MIN): Likewise.
30942 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30943 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30944 (SCHAR_MIN): Use macro-int-constant. Specify type.
30945 (SCHAR_MAX): Likewise.
30946 (UCHAR_MAX): Likewise.
30947 (CHAR_MIN): Likewise.
30948 (CHAR_MAX): Likewise.
30949 (MB_LEN_MAX): Use macro-int-constant.
30950 (SHRT_MIN): Use macro-int-constant. Specify type.
30951 (SHRT_MAX): Likewise.
30952 (USHRT_MAX): Likewise.
30953 (INT_MAX): Likewise.
30954 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30955 bound negative.
30956 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30957 bound with "U".
30958 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30959 bound with "L".
30960 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30961 bound negative. Suffix upper bound with "L".
30962 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30963 bound with "UL".
30964 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30965 Specify type.
30966 [C99-based standards] (LLONG_MAX): Likewise.
30967 [C99-based standards] (ULLONG_MAX): Likewise.
30968 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30969 == 0.
30970 [ISO11] (max_align_t): Require type.
30971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30972
c9140a62
JM
30973 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30974 from $CFLAGS, without defining away __attribute__ calls.
30975 (checknamespace): Use $CFLAGS_namespace.
30976
9af0bf29
JM
30977 * conform/conformtest.pl (@keywords): Only include C99 keywords
30978 for standards based on C99 or C11.
30979
343222a2
JM
30980 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30981 Disable tests.
30982 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30983 UNIX98]: Likewise.
30984
661f8cf0
JM
30985 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30986 usability of symbols in #if.
30987
ee74b9cb
JM
30988 * conform/conformtest.pl: If macro or constant types start
30989 "promoted:", expect the symbol to be of the following type
30990 promoted by the integer promotions.
62fde54f 30991
aafc49b3
JM
30992 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30993 in one place. Also handle "macro-constant".
30994
fefdf574
JM
30995 * conform/conformtest.pl: Only accept expected macro values with
30996 "==". Parse all "macro" lines in one place.
30997 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30998
f2d922fe
JM
30999 * conform/conformtest.pl: Handle braced types on "constant" lines
31000 instead of handling "typed-constant".
31001 * conform/data/signal.h-data: Use "constant" instead of
31002 "typed-constant".
31003
d22956c9
JM
31004 * conform/conformtest.pl: Handle "optional-" at start of lines in
31005 one place rather than duplicating several cases. Handle each
31006 format of "macro" line with initial "optional-".
31007
028e2e38
JM
31008 * conform/conformtest.pl: Only accept expected constant or
31009 optional-constant values with "==". Parse all "constant" lines in
31010 one place. Parse all "optional-constant" lines in one place.
31011 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31012 * conform/data/fmtmsg.h-data: Likewise.
31013 * conform/data/netinet/in.h-data: Likewise.
31014 * conform/data/tar.h-data: Likewise.
31015 * conform/data/limits.h-data: Use "==" form on "constant" and
31016 "optional-constant" lines.
31017
1b8f2850
JM
31018 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31019 Use -std=c99 for XOPEN2K.
31020 (@knownproblems): Remove.
31021 (newtoken): Don't check %isknown.
31022
a05a144b
JM
31023 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31024 Do not expect macro.
31025 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31034 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31035 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31036 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31037 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31038 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31039 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31040 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31041 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31042 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31044 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31045 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31046 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31047 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31049 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31050 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31051 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31052 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
31054 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
31055 [XPG3] (acosh): Likewise.
31056 [XPG3] (asinh): Likewise.
31057 [XPG3] (atanh): Likewise.
31058 [XPG3] (cbrt): Likewise.
31059 [XPG3] (expm1): Likewise.
31060 [XPG3] (ilogb): Likewise.
31061 [XPG3] (log1p): Likewise.
31062 [XPG3] (logb): Likewise.
31063 [XPG3] (nextafter): Likewise.
31064 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
31065 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
31066 [XPG3] (remainder): Likewise.
31067 [XPG3] (rint): Likewise.
31068 [XPG3 || XPG4 || UNIX98] (round): Likewise.
31069 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
31070 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
31071 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
31072 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
31073 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
31074 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
31075 [UNIX98 || XOPEN2K] (scalb): Expect.
31076 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
31077 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
31078 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
31079 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
31080 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
31081 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
31082 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
31083 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
31084 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
31085 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
31086 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
31087 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
31088 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
31089 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
31090 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
31091 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
31092 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
31093 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
31094 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
31095 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
31096 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
31097 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
31098 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
31099 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
31100 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
31101 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
31102 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
31103 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
31104 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
31105 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
31106 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
31107 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
31108 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
31109 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
31110 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
31111 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
31112 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
31113 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
31114 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
31115 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
31116 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
31117 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
31118 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
31119 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
31120 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
31121 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
31122 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
31123 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
31124 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
31125 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
31126 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
31127 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
31128 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
31129 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
31130 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
31131 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
31132 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
31133 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
31134 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
31135 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
31136 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
31137 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
31138 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
31139 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
31140 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
31141 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
31142 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
31143 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
31144 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
31145 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
31146 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
31147 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
31148 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
31149 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
31150 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
31151 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
31152 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
31153 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
31154 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
31155 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31156 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31157 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31158 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31159 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31160 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31161 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31162 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31163 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31164 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31165 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31166 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31167 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31168 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31169 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31170 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31171 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31172 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31173 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31174 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31175 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31176 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31177 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31178 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31179 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31180 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31181 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31182 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31183 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31184 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31185 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31186 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31187 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31188 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31189 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31190 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31191 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31192 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31193 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31194 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31195 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31196 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31197 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31198 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31199 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31200 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31201 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31202 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31203 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31204 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31205 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31206 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31207 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31208 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31209 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31210 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31211 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31212 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31213
73c5ebe3
JM
31214 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31215 _XOPEN_SOURCE_EXTENDED for XPG4.
31216
39c33b6c
JM
31217 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31218
62fde54f
JM
31219 * Makeconfig (localtime): Remove variable.
31220 (inst_localtime-file): Likewise.
31221
0741d64c
AS
312222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31223
31224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31225 Update.
31226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31227 Update.
31228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31229 Update.
31230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31231 Update.
31232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31233 Update.
31234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31235 Update.
31236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31237 Update.
31238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31239 Update.
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31241 Update.
31242
7cb029ee
JM
312432012-05-01 Joseph Myers <joseph@codesourcery.com>
31244
31245 [BZ #2550]
31246 [BZ #2570]
31247 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31248 comparisons to determine direction to adjust input.
31249 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31250 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31251 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31252 Likewise.
31253 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31254 Likewise.
31255 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31256 Likewise.
31257 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31258 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31259 Likewise.
31260 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31261 Likewise.
31262 * math/libm-test.inc (nexttoward_test): Add more tests.
31263
412bd966
AS
312642012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31265
31266 [BZ #14040]
31267 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31268 in version GLIBC_2.1, not GLIBC_2.0.
31269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31270 Likewise.
31271
9568c0c2
JM
312722012-04-30 Joseph Myers <joseph@codesourcery.com>
31273
adfbc8ac
JM
31274 [BZ #13942]
31275 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31276 (1 - x) * (1 + x).
31277 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31278 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31279 * math/libm-test.inc (acos_test): Add more tests.
31280 (asin_test): Likewise.
31281 * sysdeps/i386/fpu/libm-test-ulps: Update.
31282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31283
5ba3cc69
JM
31284 [BZ #14034]
31285 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31286 of square root.
31287 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31288 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31289 * math/libm-test.inc (acos_test_tonearest): New function.
31290 (acos_test_towardzero): Likewise.
31291 (acos_test_downward): Likewise.
31292 (acos_test_upward): Likewise.
31293 (asin_test_tonearest): Likewise.
31294 (asin_test_towardzero): Likewise.
31295 (asin_test_downward): Likewise.
31296 (asin_test_upward): Likewise.
31297 (main): Call the new functions.
31298 * sysdeps/i386/fpu/libm-test-ulps: Update.
31299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31300
9568c0c2
JM
31301 [BZ #13884]
31302 [BZ #13924]
31303 * math/e_exp10.c: Include <float.h>.
31304 (__ieee754_exp10): Handle underflow here rather than multiplying
31305 large negative argument by M_LN10.
31306 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31307 of __ieee754_expf.
31308 * math/e_exp10l.c: Include <float.h>.
31309 (__ieee754_exp10l): Handle underflow here rather than multiplying
31310 large negative argument by M_LN10l.
31311 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31312 spurious overflow exception on underflow.
31313
5ac3ea17
MP
313142012-04-29 Marek Polacek <polacek@redhat.com>
31315
31316 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31317 (__fortify_function): New macro.
31318 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31319 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31320 __extern_always_inline.
31321 * libio/bits/stdio2.h: Likewise.
31322 * libio/bits/stdio.h: Likewise.
31323 * string/string.h: Likewise.
31324 * string/bits/string3.h: Likewise.
31325 * include/stdio.h: Likewise.
31326 * stdlib/bits/stdlib.h: Likewise.
31327 * stdlib/stdlib.h: Likewise.
31328 * rt/bits/mqueue2.h: Likewise.
31329 * rt/mqueue.h: Likewise.
31330 * posix/bits/unistd.h: Likewise.
31331 * posix/unistd.h: Likewise.
31332 * io/bits/poll2.h: Likewise.
31333 * io/bits/fcntl2.h: Likewise.
31334 * io/fcntl.h: Likewise.
31335 * io/sys/poll.h: Likewise.
31336 * misc/bits/syslog.h: Likewise.
31337 * misc/bits/syslog-ldbl.h: Likewise.
31338 * misc/sys/syslog.h: Likewise.
31339 * socket/bits/socket2.h: Likewise.
31340 * socket/sys/socket.h: Likewise.
31341 * debug/tst-chk1.c: Likewise.
31342 * wcsmbs/bits/wchar2.h: Likewise.
31343 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31344 * wcsmbs/wchar.h: Likewise.
31345
ecf0ebfb
AJ
313462012-04-29 Andreas Jaeger <aj@suse.de>
31347
31348 * Makerules (tests): Remove enable-check-abi protection.
31349 (check-abi-warn): Remove.
31350 (check-abi-%): Remove check-abi-warn usage.
31351
31352 * configure.in: Remove check-abi configure option.
31353 * configure: Regenerated.
31354 * config.make.in (enable-check-abi): Remove.
31355
6d5c57fa
AS
313562012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31357
24c5d07e 31358 [BZ #14033]
ded5180a
AS
31359 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31360 double functions to double *_finite functions.
31361
7e0d315d
AS
31362 [BZ #13941]
31363 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31364 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31365 LDBL_MIN_EXP.
31366 * stdio-common/Makefile (tests): Add tst-sprintf3.
31367 * stdio-common/tst-sprintf3.c: New file.
31368
6d5c57fa
AS
31369 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31370 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31371
0749ff8b
JM
313722012-04-28 Joseph Myers <joseph@codesourcery.com>
31373
31374 * conform/conformtest.pl: Remove duplicate typed-constant
31375 handling.
31376
8dbd5d7b
DM
313772012-04-28 David S. Miller <davem@davemloft.net>
31378
31379 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31380 (check-abi-%): Remove AWK script prerequisite and explicit
31381 abilist directory.
31382 (check-abi): Rewrite to just diff the symlist with the abilist.
31383 (config-tls, config-abi-config): Delete, no longer used.
31384 (update-abi-%): Remove AWK script and explicit abilist directory.
31385 (update-abi): Rewrite to simply compare and conditionally copy the
31386 symlist and the sysdep abilist file. Remove update-abi-config
31387 checks.
31388 * abilist/ld.abilist: Remove.
31389 * abilist/libBrokenLocale.abilist: Remove.
31390 * abilist/libanl.abilist: Remove.
31391 * abilist/libcrypt.abilist: Remove.
31392 * abilist/libdl.abilist: Remove.
31393 * abilist/librt.abilist: Remove.
31394 * abilist/libthread_db.abilist: Remove.
31395 * abilist/libutil.abilist: Remove.
31396 * scripts/extract-abilist.awk: Remove.
31397 * scripts/merge-abilist.awk: Remove.
31398 * sysdeps/generic/libcidn.abilist: New file.
31399 * sysdeps/generic/libnss_compat.abilist: New file.
31400 * sysdeps/generic/libnss_db.abilist: New file.
31401 * sysdeps/generic/libnss_dns.abilist: New file.
31402 * sysdeps/generic/libnss_files.abilist: New file.
31403 * sysdeps/generic/libnss_hesiod.abilist: New file.
31404 * sysdeps/generic/libnss_nis.abilist: New file.
31405 * sysdeps/generic/libnss_nisplus.abilist: New file.
31406 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31407 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31408 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31409 file.
31410 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31411 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31412 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31413 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31414 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31415 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31416 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31417 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31418 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31419 file.
31420 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31421 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31422 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31423 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31424 file.
31425 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31426 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31427 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31428 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31429 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31430 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31431 file.
31432 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31433 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31434 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31435 file.
31436 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31437 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31438 New file.
31439 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31440 New file.
31441 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31442 New file.
31443 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31444 New file.
31445 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31446 New file.
31447 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31448 New file.
31449 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31450 New file.
31451 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31452 New file.
31453 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31454 New file.
31455 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31456 New file.
31457 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31458 New file.
31459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31460 New file.
31461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31462 New file.
31463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31464 file.
31465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31466 New file.
31467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31468 New file.
31469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31470 file.
31471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31472 New file.
31473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31474 New file.
31475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31476 file.
31477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31478 New file.
31479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31480 New file.
31481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31482 New file.
31483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31484 New file.
31485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31486 New file.
31487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31488 New file.
31489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31490 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31491 file.
31492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31493 New file.
31494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31495 file.
31496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31497 file.
31498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31499 file.
31500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31501 file.
31502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31503 file.
31504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31505 New file.
31506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31507 file.
31508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31509 file.
31510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31511 New file.
31512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31513 file.
31514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31516 file.
31517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31518 New file.
31519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31520 file.
31521 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31522 file.
31523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31524 file.
31525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31526 file.
31527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31528 file.
31529 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31530 New file.
31531 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31532 file.
31533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31534 file.
31535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31536 New file.
31537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31538 file.
31539 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31540 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31541 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31542 file.
31543 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31544 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31545 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31546 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31547 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31548 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31549 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31550 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31551 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31552 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31555 file.
31556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31557 New file.
31558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31559 file.
31560 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31561 file.
31562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31563 file.
31564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31565 file.
31566 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31567 file.
31568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31569 New file.
31570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31571 New file.
31572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31573 file.
31574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31575 New file.
31576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31577 file.
31578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31580 file.
31581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31582 New file.
31583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31584 file.
31585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31586 file.
31587 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31588 file.
31589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31590 file.
31591 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31592 file.
31593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31594 New file.
31595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31596 New file.
31597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31598 file.
31599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31600 New file.
31601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31602 file.
31603
41d73a1b
JM
316042012-04-28 Joseph Myers <joseph@codesourcery.com>
31605
31606 * conform/conformtest.pl: Fix typo in handling typed-constant from
31607 allow-header.
31608
28aeeda4
JM
316092012-04-27 Joseph Myers <joseph@codesourcery.com>
31610
adae8f5e
JM
31611 * README: Cut down references to pre-2.6 Linux kernels and
31612 Linuxthreads. Update lists of configurations in libc and ports
31613 and sort alphabetically. Say "or newer" with Linux kernel version
31614 requirements.
31615
28aeeda4
JM
31616 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31617
a462cb63
RA
316182012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31619
31620 [BZ #887]
31621 * math/libm-test.inc (logb_test_downward): New test to expose
31622 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31623 rounding mode.
31624
6ad3493e
JM
316252012-04-27 Joseph Myers <joseph@codesourcery.com>
31626
31627 [BZ #14027]
31628 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31629 to be done.
31630 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31631 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31632
2ce4f015
JM
316332012-04-26 Joseph Myers <joseph@codesourcery.com>
31634
5aeb141a
JM
31635 * sysdeps/unix/i386/brk.S: Remove file.
31636 * sysdeps/unix/i386/dl-brk.S: Likewise.
31637 * sysdeps/unix/i386/pipe.S: Likewise.
31638 * sysdeps/unix/i386/sigreturn.S: Likewise.
31639 * sysdeps/unix/i386/syscall.S: Likewise.
31640 * sysdeps/unix/i386/vfork.S: Likewise.
31641 * sysdeps/unix/i386/wait.S: Likewise.
31642
7143acae
JM
31643 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31644 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31645
2ce4f015
JM
31646 * configure.in (arm*-none*): Do not allow without
31647 --enable-hacker-mode.
31648 (netbsd*): Remove case setting base_os.
31649 (386bsd*): Likewise.
31650 (freebsd*): Likewise.
31651 (bsdi*): Likewise.
31652 (osf*): Likewise.
31653 (sunos*): Likewise.
31654 (ultrix*): Likewise.
31655 (newsos*): Likewise.
31656 (dynix*): Likewise.
31657 (*bsd*): Likewise.
31658 (sysv*): Likewise.
31659 (isc*): Likewise.
31660 (esix*): Likewise.
31661 (sco*): Likewise.
31662 (minix*): Likewise.
31663 (irix4*): Likewise.
31664 (irix6*): Likewise.
31665 (solaris[2-9]*): Likewise.
31666 (none): Likewise.
31667 * configure: Regenerated.
31668
0ac229c8
AZ
316692012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31670
31671 [BZ #11521]
31672 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31673 overflow or cancellation in calculating denominator.
31674 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31675 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31676 down expression to avoid unexpected rounding in newer GCCs.
31677 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31678
33f244f4
DM
316792012-04-26 David S. Miller <davem@davemloft.net>
31680
31681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31682 long-double compat symbols.
31683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31696
cfa1f3e8
DM
316972012-04-25 David S. Miller <davem@davemloft.net>
31698
31699 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31700 HWCAP_* values only after the memory barriers have been defined.
31701 (atomic_full_barrier): Define.
31702 (atomic_read_barrier): Define.
31703 (atomic_write_barrier): Define.
31704
6e236b92
SP
317052012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31706
31707 * shlib-versions: Add libgcc_s version information.
31708 * sysdeps/generic/libgcc_s.h: Remove.
31709 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31710 libgcc_s.h.
31711 * sysdeps/gnu/unwind-resume.c: Likewise.
31712 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31713
aab39a09
DM
317142012-04-25 David S. Miller <davem@davemloft.net>
31715
31716 * sysdeps/unix/sparc/brk.S: Delete.
31717 * sysdeps/unix/sparc/dl-brk.S: Delete.
31718 * sysdeps/unix/sparc/pipe.S: Delete.
31719 * sysdeps/unix/sparc/sysdep.S: Delete.
31720 * sysdeps/unix/sparc/sysdep.h: Delete.
31721 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
31722 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31723 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31725 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
31726 (JUMPTARGET): Remove.
31727 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31728 sysdeps/unix/sparc/sysdep.h
31729 (ENTRY, END): Remove.
31730 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31731
a3cc4f48
JM
317322012-04-25 Joseph Myers <joseph@codesourcery.com>
31733
2ed8cda2
JM
31734 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31735 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31736 -DIS_IN_build.
31737
35d76d59
JM
31738 * timezone/README: Update upstream location and email address for
31739 tzcode and tzdata.
31740 * timezone/zdump.c: Update from tzcode 2012b.
31741 * timezone/zic.c: Likewise.
31742
a3cc4f48
JM
31743 * configure.in (libc_cv_as_needed): Remove test.
31744 * configure: Regenerated.
31745 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31746 conditional definition.
31747 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31748 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31749 * config.make.in (have-as-needed): Remove variable.
31750
ceab42c3
SP
317512012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31752 Paul Pluzhnikov <ppluzhnikov@google.com>
31753
31754 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31755 strings correctly.
31756
3ce2865f
CLT
317572012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31758
31759 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31760 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31761 * sysdeps/sh/strlen.S: Likewise.
31762
f37e0d68
JM
317632012-04-24 Joseph Myers <joseph@codesourcery.com>
31764
ae186e9a
JM
31765 * sysdeps/unix/fork.S: Remove file.
31766 * sysdeps/unix/i386/fork.S: Likewise.
31767 * sysdeps/unix/sparc/fork.S: Likewise.
31768
b96914af
JM
31769 * sysdeps/unix/system.c: Remove file.
31770 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31771
f37e0d68
JM
31772 * sysdeps/unix/getegid.S: Remove file.
31773 * sysdeps/unix/geteuid.S: Likewise.
31774
87ef29ca
RM
317752012-04-24 Roland McGrath <roland@hack.frob.com>
31776
83bcd236
RM
31777 * scripts/check-localplt.awk: New file.
31778 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31779 of diff.
31780 * scripts/data/localplt-generic.data: Add a comment.
31781
87ef29ca
RM
31782 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31783 NODE when __dir_mkfile failed.
31784 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31785 Reported by Ludovic Courtès <ludo@gnu.org>.
31786
e5a6e567
AJ
317872012-04-24 Andreas Jaeger <aj@suse.de>
31788
31789 * Makerules (common-clean): Also remove gen-as-const-headers
31790 files.
31791
c1820385
JM
317922012-04-24 Joseph Myers <joseph@codesourcery.com>
31793
31794 * Makerules (native-compile): Do not change working directory for
31795 build. Use $(OUTPUT_OPTION) in command.
31796 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31797
94e02fc4
AZ
317982012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31799
31800 [BZ #13886]
31801 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31802 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31803 * math/libm-test.inc (floor_test): Add more tests.
31804 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31805
3a533ca3
JM
318062012-04-24 Joseph Myers <joseph@codesourcery.com>
31807
940ab4b3
JM
31808 * sysdeps/unix/getdents.c: Remove file.
31809 * sysdeps/unix/sysv/getdents.c: Likewise.
31810 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31811
90e037bd
JM
31812 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31813 sysdeps/unix/mman/syscalls.list.
31814 (mmap): Likewise.
31815 (mprotect): Likewise.
31816 (msync): Likewise.
31817 (munmap): Likewise.
31818 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31819 * sysdeps/unix/mman/syscalls.list: Remove.
31820 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31821
3a533ca3
JM
31822 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31823 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31824 * configure: Regenerated.
31825 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31826 $(libgcc_s_suffix).
31827 * config.make.in (libgcc_s_suffix): Remove variable.
31828
1ad743de
JM
318292012-04-23 Joseph Myers <joseph@codesourcery.com>
31830
4ad451e2
JM
31831 * sysdeps/unix/sysv/gethostname.c: Move to ...
31832 * sysdeps/posix/gethostname.c: ... here.
31833
5e37ce39
JM
31834 * sysdeps/unix/execve.S: Remove file.
31835
1ad743de
JM
31836 * sysdeps/unix/_exit.S: Remove file.
31837
4e681b5b
AJ
318382012-04-23 Andreas Jaeger <aj@suse.de>
31839
31840 [BZ #13739]
31841 * manual/Makefile: Remove make dist support, there's no
31842 need for a stand-alone documentation tar ball.
31843 (TEXI2DVI): Define always, it's not in Makeconfig.
31844 (dist): Removed.
31845 (tar-it): Removed.
31846 (edition): Removed.
31847 (glibc-doc-$(edition).tar): Removed
31848 (%.Z): Removed.
31849 (%.gz): Removed.
31850 (%.uu): Removed.
31851 (ETAGS): Remove, it's in Makeconfig.
31852 (move-if-change): Remove, it's in Makeconfig.
31853
38686a03 318542012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31855
31856 [BZ #13970]
31857 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31858 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31859 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31860 (strtod_l, strtof_l, strtold_l): Remove __wur.
31861 It is not necessarily an error to ignore strtol's return value.
31862 One can reliably look at the stored endptr to decide whether
31863 the number had valid syntax.
31864
7c0616fa
AJ
318652012-04-21 Andreas Jaeger <aj@suse.de>
31866
803cb6b7 31867 [BZ #13739]
7c0616fa
AJ
31868 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31869
b0fe253f
JM
318702012-04-21 Joseph Myers <joseph@codesourcery.com>
31871
31872 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31873 * sysdeps/unix/sysv/Versions: Remove file.
31874
8280f22d
MT
318752012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31876
31877 [BZ #13927]
31878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31879
75ce411f 318802012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31881
31882 [BZ #7064]
31883 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31884 version from __vm86.
31885
097d59fa
JM
318862012-04-20 Joseph Myers <joseph@codesourcery.com>
31887
a90f3bcb
JM
31888 * sysdeps/unix/common/lxstat.c: Remove file.
31889 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31890
edc7ea78
JM
31891 * sysdeps/unix/sysv/Makefile: Remove file.
31892
cb78c221
JM
31893 * sysdeps/unix/sysv/direct.h: Remove file.
31894
efa6a45f
JM
31895 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31896 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31897 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31898 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31899 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31900 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31901 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31902
9c9f2d0c
JM
31903 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31904
4541c83b
JM
31905 * sysdeps/unix/xmknod.c: Remove file.
31906 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31907
f5d153a0
JM
31908 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31909
aa746595
JM
31910 * sysdeps/unix/sysv/i386/time.S: Remove file.
31911
cce5905e
JM
31912 * sysdeps/unix/fxstat.c: Remove file.
31913 * sysdeps/unix/xstat.c: Likewise.
31914 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31915
37fa3841
JM
31916 * sysdeps/unix/sysv/sigaction.c: Remove file.
31917
ff1962a3
JM
31918 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31919 (sysdep_headers): Remove variable.
31920 [termio.h not in sysdep_headers] (generated): Likewise.
31921 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31922 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31923 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31924 * sysdeps/unix/sysv/tcflow.c: Likewise.
31925 * sysdeps/unix/sysv/tcflush.c: Likewise.
31926 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31927 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31928 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31929 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31930 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31931
e7740d31
JM
31932 * sysdeps/unix/siglist.c: Remove file.
31933
ee06f18b
JM
31934 * sysdeps/unix/getppid.S: Remove file.
31935
097d59fa
JM
31936 * sysdeps/unix/mkdir.c: Remove file.
31937 * sysdeps/unix/rmdir.c: Likewise.
31938
ff3d51ec
AS
319392012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31940
31941 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31942 ERR_MAX value.
31943 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31944 errlist-compat value.
31945
50f81fd7
DM
319462012-04-18 David S. Miller <davem@davemloft.net>
31947
31948 * sysdeps/generic/memcopy.h (reg_char): Delete.
31949 * debug/strcat_chk.c: Use char, not reg_char.
31950 * debug/strcpy_chk.c: Likewise.
31951 * debug/strncat_chk.c: Likewise.
31952 * debug/strncpy_chk.c: Likewise.
31953 * string/memchr.c: Likewise.
31954 * string/memrchr.c: Likewise.
31955 * string/rawmemchr.c: Likewise.
31956 * string/strcat.c: Likewise.
31957 * string/strchr.c: Likewise.
31958 * string/strchrnul.c: Likewise.
31959 * string/strcmp.c: Likewise.
31960 * string/strcpy.c: Likewise.
31961 * string/strncat.c: Likewise.
31962 * string/strncmp.c: Likewise.
31963 * string/strncpy.c: Likewise.
31964
8ff41c46
WS
319652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31966
31967 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31968 __builtin_memcopy is called when src and dest ranges are known to not
31969 overlap.
31970
6b652f46
WS
319712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31972
31973 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31974 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31975 fwd_align_merge macro call.
31976 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31977 bwd_align_merge macro call.
31978 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31979
b282631e
WS
319802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31981
31982 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31983 bwd_align_merge macros.
31984 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31985 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31986 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31987
95aa737c
DM
319882012-04-18 David S. Miller <davem@davemloft.net>
31989
31990 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31991
7a99a614
AJ
319922012-04-18 Andreas Jaeger <aj@suse.de>
31993
31994 [BZ# 6794]
31995 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31996 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31997 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31998
31999 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32000 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32001 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32002
32003 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32004 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32005 Adjust for changed ldbl-128 files.
32006
32007 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32008 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32009 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32010
e5270c23
DM
320112012-04-17 David S. Miller <davem@davemloft.net>
32012
32013 * sysdeps/sparc/sparc32/memcopy.h: Delete.
32014
fb5e92c9
AS
320152012-04-17 Andreas Schwab <schwab@linux-m68k.org>
32016
32017 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32018 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32019 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32020 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32021 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32022 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32023
76da7265
AZ
320242012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32025
32026 [BZ #6794]
32027 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32028 * math/libm-test.inc: Add ilogb errno and exception tests.
32029 * math/w_ilogb.c: New file: ilogb wrapper.
32030 * math/w_ilogbf.c: New file: ilogbf wrapper.
32031 * math/w_ilogbl.c: New file: ilogbl wrapper.
32032 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32033 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32034 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32035 exception being thrown with 0.0 as argument.
32036 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32037 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32038 exception being thrown with 0.0 as argument.
32039 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32040 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32041 exception being thrown with 0.0 as argument.
32042 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32043 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32044 exception being thrown with 0.0 as argument.
32045 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32046 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 32047 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
32048 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32049 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32050 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32051 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32052 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
32053 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
32054
0396e69d
PB
320552012-04-17 Petr Baudis <pasky@ucw.cz>
32056
32057 * include/sys/uio.h: Change __vector to __iovec to avoid clash
32058 with altivec.
32059
750b5926
MP
320602012-04-16 Marek Polacek <polacek@redhat.com>
32061
32062 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
32063
751728a1
MP
320642012-04-16 Marek Polacek <polacek@redhat.com>
32065
32066 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
32067 operands of fdivp instruction.
32068
34a27407
L
320692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32070
32071 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
32072 * elf/tst-auditmod3b.c: Likewise.
32073 * elf/tst-auditmod4b.c: Likewise.
32074 * elf/tst-auditmod5b.c: Likewise.
32075 * elf/tst-auditmod6b.c: Likewise.
32076 * elf/tst-auditmod6c.c: Likewise.
32077 * elf/tst-auditmod7b.c: Likewise.
32078 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
32079 * sysdeps/x86_64/preconfigure.in: Likewise.
32080 * sysdeps/x86_64/preconfigure: Regenerated.
32081
7e73e17d
L
320822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
32083
32084 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
32085 __ILP32__.
32086
c7a6ab72
AB
320872012-04-13 Antoine Balestrat <merkil33@gmail.com>
32088
32089 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32090 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
32091
a9e8e0e0
CL
320922012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
32093
32094 [BZ #13973]
32095 * locale/iso-639.def: Fix gl language name. Spotted by
32096 Yaron Shahrabani.
32097
ec98af7d
RM
320982012-04-12 Roland McGrath <roland@hack.frob.com>
32099
32100 [BZ #2074]
32101 * libio/libio.h (__io_write_fn): Update comment.
32102
247c3ede
PB
321032012-04-12 Petr Baudis <pasky@ucw.cz>
32104
32105 [BZ #2074]
32106 * stdio.texi (Hook Functions): The user provided writer function
32107 is not allowed to return -1.
32108
55939d6d
DM
321092012-04-11 David S. Miller <davem@davemloft.net>
32110
32111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32112
90020f5a
MF
321132012-04-11 Mike Frysinger <vapier@gentoo.org>
32114
32115 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
32116 Add a leading slash to rtkaio.
32117
288f9098
JM
321182012-04-11 Jim Meyering <meyering@redhat.com>
32119
90020f5a
MF
32120 [BZ #11959]
32121 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
32122 It is not necessarily an error to ignore fwrite's return
32123 value. One can reliably use ferror to test for errors after
32124 the fact.
288f9098 32125
4be2b570
L
321262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32127
32128 * bits/types.h (__snseconds_t): New type.
32129 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
32130
32131 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
32132 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32133 (__SNSECONDS_T_TYPE): Likewise.
32134 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32135 (__SNSECONDS_T_TYPE): Likewise.
32136 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32137 (__SNSECONDS_T_TYPE): Likewise.
32138
288f9098 321392012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
32140
32141 [BZ #2636]
32142 * manual/time.texi (Processor Time): Return type of times is
32143 elapsed real time since an arbitrary point in the past.
32144 (CPU Time): Move CLK_TCK from here...
32145 (Processor Time): ...to here. Correct description.
32146 * manual/conf.texi (Constants for Sysconf): Correct description of
32147 _SC_CLK_TCK.
32148
d7dd4413
DM
321492012-04-10 David S. Miller <davem@davemloft.net>
32150
32151 [BZ #13967]
32152 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
32153 where the is a gap between DT_REL(A) and DT_JMPREL.
32154
b46068fc
L
321552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32156
32157 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32158 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32159 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32160
73d65cc3
SP
321612012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32162
32163 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32164 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32165 (dl_main): Handle --inhibit-cache.
32166 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32167 _dl_inhibit_cache.
32168 * elf/dl-load.c (_dl_map_object): Use it.
32169 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32170
bcc8d661
JM
321712012-04-09 Joseph Myers <joseph@codesourcery.com>
32172
8f9a2fae
JM
32173 [BZ #13872]
32174 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32175 (__ieee754_powl): Saturate large exponents rather than testing for
32176 overflow of y*log2(x).
32177 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32178 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32179 exceptions.
32180
bcc8d661
JM
32181 [BZ #11521]
32182 * math/s_ctan.c: Include <float.h>.
32183 (__ctan): Avoid internal overflow or cancellation in calculating
32184 denominator.
32185 * math/s_ctanf.c: Likewise.
32186 * math/s_ctanl.c: Likewise.
32187 * math/s_ctanh.c: Likewise.
32188 * math/s_ctanhf.c: Likewise.
32189 * math/s_ctanhl.c: Likewise.
32190 * math/libm-test.inc (ctan_test): Add more tests.
32191 (ctanh_test): Likewise.
32192 * sysdeps/i386/fpu/libm-test-ulps: Update.
32193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32194
823fbbb4
AJ
321952012-04-09 Andreas Jaeger <aj@suse.de>
32196
03879793
AJ
32197 [BZ #6894]
32198 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32199 is an optional BSD extension.
32200
823fbbb4
AJ
32201 [BZ #10254]
32202 * manual/stdio.texi (Opening Streams): Document additional fopen
32203 parameters.
32204
8de131cb
RM
322052012-04-09 Roland McGrath <roland@hack.frob.com>
32206
32207 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32208 %eax without telling the compiler.
32209
c0ed9d7d
CD
322102012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32211
32212 [BZ # 13963]
32213 * manual/install.texi: Use sourceware.org.
32214
c483f6b4
JM
322152012-04-09 Joseph Myers <joseph@codesourcery.com>
32216
d7dd9453
JM
32217 [BZ #13873]
32218 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32219 (__ieee754_pow): Generate overflow and underflow using huge*huge
32220 and tiny*tiny rather than just returning constant infinity or zero
32221 for large exponents.
32222 * math/libm-test.inc (pow_test): Require overflow exceptions for
32223 applicable cases of large exponents.
32224
c483f6b4
JM
32225 [BZ #706]
32226 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32227 (__ieee754_pow): Use iterative multiplication algorithm only for
32228 integer exponents with absolute value below 1024. Check for odd
32229 integer exponents when using algorithm for real exponents.
32230 * math/libm-test.inc (pow_test): Add more tests.
32231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32232
d2de7579
JM
322332012-04-08 Joseph Myers <joseph@codesourcery.com>
32234
32235 [BZ #13705]
32236 * math/libm-test.inc (exp_test): Do not allow overflow exception
32237 on underflow test.
32238
f77f1232
AJ
322392012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32240
32241 [BZ #13705]
32242 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32243 instead of __kernel_standard_f.
32244
3884932b
MF
322452012-04-08 Mike Frysinger <vapier@gentoo.org>
32246
32247 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32248 * sysdeps/x86_64/memset_chk.S: Likewise.
32249
54472e9c
AJ
322502012-04-08 Andreas Jaeger <aj@suse.de>
32251
6ab0fbfc
AJ
32252 [BZ #10153]
32253 * manual/startup.texi (Environment Access): Describe return value
32254 for putenv and setenv.
32255
61efba8c
AJ
32256 [BZ #6895]
32257 * manual/filesys.texi (Directory Entries): Add description for
32258 DT_LNK.
32259
95c3f29a
AJ
32260 [BZ #6890]
32261 * manual/filesys.texi (Directory Entries): Clarify that it's file
32262 system not operating system in the description of DT_UNKNOWN.
32263
54472e9c
AJ
32264 [BZ #6578]
32265 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32266
624254b1
SC
322672012-04-08 Stephen Compall <s11@member.fsf.org>
32268
32269 [BZ #6649]
32270 * manual/llio.texi (Opening and Closing Files): Add cross
32271 reference to explain mode argument.
32272
1e4920e0
MF
322732012-04-07 Mike Frysinger <vapier@gentoo.org>
32274
32275 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32276 * sysdeps/x86_64/memset_chk.S: Likewise.
32277
5ed848f3
DM
322782012-04-07 David S. Miller <davem@davemloft.net>
32279
32280 * elf/elf.h (R_SPARC_WDISP10): Define.
32281 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32282 R_SPARC_SIZE32.
32283 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32284 R_SPARC_SIZE64 and R_SPARC_H34.
32285
96154cd8
CD
322862012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32287
32288 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32289 conditions and remove no longer applicable assertion.
32290
9904dc47
L
322912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32292
32293 * bits/byteswap.h: Include <features.h>.
32294 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32295 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32296
f8887d0a
L
322972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32298
32299 * bits/byteswap.h (__bswap_16): Removed.
32300 Include <bits/byteswap-16.h> to get __bswap_16.
32301 * sysdeps/i386/bits/byteswap.h: Likewise.
32302 * sysdeps/s390/bits/byteswap.h: Likewise.
32303 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32304 * bits/byteswap-16.h: New file.
32305 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32306 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32307 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32308 * string/Makefile (headers): Add bits/byteswap-16.h.
32309
62470f60
PP
323102012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32311
32312 [BZ #13895]
32313 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32314 extra indirection.
32315 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32316 * nss/tst-nss-static.c: New.
32317
4dad7bab
RM
323182012-04-06 Robert Millan <rmh@gnu.org>
32319
32320 [BZ #6486]
32321 * manual/llio.texi (File Position Primitive): lseek
32322 refers to WHENCE when it really means OFFSET.
32323
e9142a17
AJ
323242012-04-06 Andreas Jaeger <aj@suse.de>
32325
2c040eff
AJ
32326 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32327 strncmp declarations.
32328
e9142a17
AJ
32329 * abilist/libc.abilist: Add __poll and __ppoll.
32330
ff9f1c5f
DM
323312012-04-05 David S. Miller <davem@davemloft.net>
32332
dcd2ae90
DM
32333 * scripts/check-local-headers.sh: Accept a host triplet in the
32334 path matched by the exclude regexp.
32335
993eb054
DM
32336 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32337 definition.
32338 * sysdeps/powerpc/powerpc32/dl-machine.h
32339 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32340 * sysdeps/s390/s390-32/dl-machine.h
32341 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32342 * sysdeps/sparc/sparc32/dl-machine.h
32343 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32344 * sysdeps/sparc/sparc64/dl-machine.h
32345 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32346
ff9f1c5f
DM
32347 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32348 lazy binding.
48e2e132 32349 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
32350 undefined symbol errors.
32351
48e2e132 32352 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
32353 DT_NEEDED entries.
32354
e80d6f94
MM
323552012-04-05 Michael Matz <matz@suse.de>
32356
32357 [BZ #13592]
32358 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32359
349fa79f
AJ
323602012-04-05 Andreas Jaeger <aj@suse.de>
32361
32362 [BZ #13908]
32363 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32364 comment.
32365
f402708f
KK
323662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32367
32368 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32369 which ROUND is no valid rounding mode.
32370
2ecccfc9
KK
323712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32372
32373 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32374 read again.
32375 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32376
8a53f50f
KK
323772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32378
32379 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32380 an exception using FPU order intentionally.
32381
323822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32383
32384 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32385 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32386 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32387 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32388
d653abb7
SJ
323892012-04-05 Simon Josefsson <simon@josefsson.org>
32390
32391 [BZ #12340]
32392 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32393 EINVAL when BUFLEN is too smal.
32394
c3b1bf7d
TS
323952012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32396
32397 [BZ #13553]
32398 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32399 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32400
b1aa60f3
AJ
324012012-04-03 Andreas Jaeger <aj@suse.de>
32402
c3b1bf7d 32403 [BZ #13938]
67f60a26
AJ
32404 * manual/setjmp.texi (System V contexts): Fix sentence.
32405
b1aa60f3
AJ
32406 [BZ #13926]
32407 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32408 New macro for this case.
32409 [!__GNUC__] (__bswap_64): New inline function for this case.
32410 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32411 * bits/byteswap.h: Likewise.
32412 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32413 ull, guard with __GLIBC_HAVE_LONG_LONG.
32414
32415 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32416 __GLIBC_HAVE_LONG_LONG.
32417
32418 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32419 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32420
39c59c35
TMQMF
324212012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32422
32423 [BZ #13691]
32424 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32425 inptr and inend, rather than using last_ch.
32426
135ffda8
DM
324272012-04-02 David S. Miller <davem@davemloft.net>
32428
32429 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32430 * stdio-common/printf-parse.h (read_int): Change return type to
32431 'int', return -1 on INT_MAX overflow.
32432 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32433 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32434 overflows INT_MAX. Check for overflow of in-format-string precision
32435 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32436 SIZE_MAX not INT_MAX for integer overflow test.
32437 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32438 skip the construct in the format string but do not record anything.
32439 * stdio-common/bug22.c: Adjust to test both width/prevision
32440 INT_MAX overflow as well as total length INT_MAX overflow. Check
32441 explicitly for proper errno values.
32442
228c019e
TS
324432012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32444
302cadd3
TS
32445 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32446 CHAR_MAX.
32447 * string/test-strcmp.c [! WIDE]: Likewise.
32448 * time/tst-mktime2.c: Likewise for INT_MAX.
32449 * string/test-string.h: #include <sys/param.h> for MIN.
32450
228c019e
TS
32451 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32452 * sysdeps/i386/init-first.c (init): Likewise.
32453 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32454 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32455 * sysdeps/sh/init-first.c (init): Likewise.
32456
cfa633f5
UD
324572012-04-01 Ulrich Drepper <drepper@gmail.com>
32458
32459 * po/ru.po: Update from translation team.
d1635ef8 32460 * po/vi.po: Likewise.
cfa633f5 32461
6cd0a5ea
SP
324622012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32463
32464 * resolv/nss_dns/dns-host.c: Merge copyright years.
32465
4b43400f
LD
324662012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32467
32468 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32469 Optimize memcpy with prefetch if
32470 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32471 src, dst pointers have unequal 16 byte alignments.
32472
48c41d04
SP
324732012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32474
32475 [BZ #13928]
32476 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32477 from a CNAME entry and return the minimum ttl for the query.
32478 (gaih_getanswer_slice): Likewise.
32479
b8dc394d
JL
324802012-03-30 Jeff Law <law@redhat.com>
32481
32482 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32483 due to long keys.
32484 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32485 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32486
2f5a5ed0
JL
32487 * resolv/nss_dns/dns-host.c: Update copyright year.
32488
1d39e359
UD
324892012-03-30 Ulrich Drepper <drepper@gmail.com>
32490
c030f70c 32491 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32492 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32493
1d39e359
UD
32494 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32495 comments for sendmmsg.
32496
324972012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32498
32499 [BZ #13691]
32500 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32501 with only 1 character between 0x0041 and 0x01b0.
32502 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32503 * wcsmbs/tst-mbsnrtowcs.c: New file.
32504
20fde227
DM
325052012-03-29 David S. Miller <davem@davemloft.net>
32506
32507 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32508 small copies by hand.
32509
984a4237
JL
325102012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32511
32512 [BZ #13761]
57f41c40
AS
32513 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32514 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32515 group memberships.
984a4237 32516
18c9d62b
DM
325172012-03-28 David S. Miller <davem@davemloft.net>
32518
88d85d4f
DM
32519 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32520 that branches into memcpy.
32521 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32523 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32524 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32525 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32526 bits.
32527 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32528 implementation too.
32529 * sysdeps/sparc/mempcpy.S: New file.
32530
e5aa83e1
DM
32531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32532 the IFUNC routine in the libc case.
32533 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32534
88570753
DM
32535 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32536 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32537 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32538 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32539 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32540 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32541 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32542 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32543
249d7567
DM
32544 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32545 loop to 256 bytes instead of 64 bytes and fix test signedness.
32546
18c9d62b
DM
32547 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32548 * sysdeps/sparc/sparc32/Makefile: rather than here...
32549 * sysdeps/sparc/sparc64/Makefile: and here.
32550
05f3d1f6
UD
325512012-03-28 Ulrich Drepper <drepper@gmail.com>
32552
32553 * malloc/mallocbug.c: Avoid warnings about unused variables.
32554
86ae07a8
JL
325552012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32556
32557 [BZ #13760]
32558 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32559 in the right place. Discard and retry query if response is
32560 larger than input buffer size.
32561
41bf21a1
JM
325622012-03-28 Joseph Myers <joseph@codesourcery.com>
32563
d6270972
JM
32564 [BZ #369]
32565 [BZ #2678]
32566 [BZ #3866]
32567 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32568 x for large integer exponent.
32569 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32570 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32571 sign of result as needed afterwards.
32572 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32573 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32574 result for underflowing pow the same as for overflow.
32575 (__kernel_standard_l): Handle powl overflow and underflow here
32576 rather than calling __kernel_standard.
32577 * math/libm-test.inc (pow_test): Add more tests.
32578
414fca03 32579 [BZ #3868]
41bf21a1
JM
32580 [BZ #13879]
32581 [BZ #13910]
32582 [BZ #13911]
32583 [BZ #13912]
32584 [BZ #13913]
32585 [BZ #13915]
32586 [BZ #13916]
32587 [BZ #13917]
32588 [BZ #13918]
32589 [BZ #13919]
32590 [BZ #13920]
32591 [BZ #13921]
32592 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32593 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32594 (__kernel_standard_l): New function.
32595 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32596 __kernel_standard.
32597 * math/w_acosl.c (__acosl): Likewise.
32598 * math/w_asinl.c (__asinl): Likewise.
32599 * math/w_atan2l.c (__atan2l): Likewise.
32600 * math/w_atanhl.c (__atanhl): Likewise.
32601 * math/w_coshl.c (__coshl): Likewise.
32602 * math/w_exp10l.c (__exp10l): Likewise.
32603 * math/w_exp2l.c (__exp2l): Likewise.
32604 * math/w_fmodl.c (__fmodl): Likewise.
32605 * math/w_hypotl.c (__hypotl): Likewise.
32606 * math/w_j0l.c (__j0l, __y0l): Likewise.
32607 * math/w_j1l.c (__j1l, __y1l): Likewise.
32608 * math/w_jnl.c (__jnl, __ynl): Likewise.
32609 * math/w_lgammal.c (__lgammal): Likewise.
32610 * math/w_log10l.c (__log10l): Likewise.
32611 * math/w_log2l.c (__log2l): Likewise.
32612 * math/w_logl.c (__logl): Likewise.
32613 * math/w_powl.c (__powl): Likewise.
32614 * math/w_remainderl.c (__remainderl): Likewise.
32615 * math/w_scalbl.c (sysv_scalbl): Likewise.
32616 * math/w_sinhl.c (__sinhl): Likewise.
32617 * math/w_sqrtl.c (__sqrtl): Likewise.
32618 * math/w_tgammal.c (__tgammal): Likewise.
32619 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32620 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32621 * math/libm-test.inc (acos_test): Add more tests.
32622 (acosh_test): Likewise.
32623 (asin_test): Likewise.
32624 (atanh_test): Likewise.
32625 (exp_test): Likewise.
32626 (exp10_test): Likewise.
32627 (exp2_test): Likewise.
32628 (expm1_test): Likewise.
32629 (lgamma_test): Likewise.
32630 (log_test): Likewise.
32631 (log10_test): Likewise.
32632 (log1p_test): Likewise.
32633 (log2_test): Likewise.
32634 (pow_test): Do not allow some spurious overflow exceptions.
32635 (sqrt_test): Add more tests.
32636 (tgamma_test): Likewise.
32637 (y0_test): Likewise.
32638 (y1_test): Likewise.
32639 (yn_test): Likewise.
32640
dd62fda6
AB
326412012-03-27 Anton Blanchard <anton@samba.org>
32642
32643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32644 MAP_HUGETLB.
32645 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32646 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32647 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32648
1e3cdfda
AJ
326492012-03-27 David S. Miller <davem@davemloft.net>
32650
b855ab85
DM
32651 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32652
1e3cdfda
AJ
32653 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32654 have-as-vis3 check.
32655
326562012-03-27 Andreas Jaeger <aj@suse.de>
32657
32658 * sysdeps/x86_64/elf/configure.in: Moved to ...
32659 * sysdeps/x86_64/configure.in: ... here.
32660 * sysdeps/x86_64/elf/start.S: Moved to ...
32661 * sysdeps/x86_64/start.S: ... here.
32662 * sysdeps/x86_64/elf/configure: Delete.
32663
32664 * sysdeps/x86_64/configure.in: Merge contents from
32665 sysdeps/i386/configure.in (without i686 check).
32666
32667 * sysdeps/i386/elf/Versions: Merge into ...
32668 * sysdeps/i386/Versions: ... this.
32669 * sysdeps/i386/elf/Versions: Delete file.
32670 * sysdeps/i386/elf/start.S: Moved to ...
32671 * sysdeps/i386/start.S: ...here.
32672 * sysdeps/i386/elf/configure.in: Merge into...
32673 * sysdeps/i386/configure.in: ...here.
32674 * sysdeps/i386/elf/configure.in: Delete file.
32675 * sysdeps/i386/elf/configure: Delete file.
32676
32677 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32678 * debug/backtracesyms.c: ... here.
32679 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32680 * debug/backtracesymsfd.c: ... here.
32681 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32682 * sysdeps/generic/ifunc-sel.h: ... here.
32683
32684 * sysdeps/unix/i386/start.c: Delete file.
32685 * sysdeps/unix/sparc/start.c: Delete file.
32686 * sysdeps/unix/start.c: Delete file.
32687
32688 * sysdeps/sh/elf/configure.in: Moved to ...
32689 * sysdeps/sh/configure.in: ... here.
32690 * sysdeps/sh/elf/start.S: Moved to ...
32691 * sysdeps/sh/start.S: ... here.
32692 * sysdeps/sh/elf/configure: Delete file.
32693
32694 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32695 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32696 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32697 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32698 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32699 * sysdeps/powerpc/powerpc64/start.S: here.
32700 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32701 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32702 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32703 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32704 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32705
32706 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32707 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32708 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32709 * sysdeps/powerpc/powerpc32/start.S: ... here.
32710 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32711 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32712 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32713
32714 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32715 * sysdeps/powerpc/ifunc-sel.h: ... here.
32716 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32717 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32718
32719 * sysdeps/sparc/elf/configure.in: Moved to ...
32720 * sysdeps/sparc/configure.in: ... here.
32721 * sysdeps/sparc/elf/configure: Delete file.
32722 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32723 * sysdeps/sparc/sparc32/start.S: ... here.
32724 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32725 * sysdeps/sparc/sparc64/start.S: ... here.
32726 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32727 * sysdeps/sparc/sparc32/Makefile: ... this.
32728 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32729 * sysdeps/sparc/sparc64/Makefile: ... this.
32730
32731 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32732 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32733 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32734 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32735 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32736 * sysdeps/s390/s390-32/setjmp.S: ... here.
32737 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32738 * sysdeps/s390/s390-32/configure.in: ... here.
32739 * sysdeps/s390/s390-32/elf/configure: Delete file.
32740 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32741 * sysdeps/s390/s390-32/start.S: ... here.
32742
32743 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32744 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32745 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32746 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32747 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32748 * sysdeps/s390/s390-64/setjmp.S: ... here.
32749 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32750 * sysdeps/s390/s390-64/configure.in: ... here
32751 * sysdeps/s390/s390-64/elf/configure: Delete file.
32752 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32753 * sysdeps/s390/s390-64/start.S: ... here.
32754 * sysdeps/s390/s390-64/elf/configure: Delete.
32755
32756 * configure.in: Remove support for elf directories in sysdeps.
32757
32758 * configure: Regenerated.
32759 * sysdeps/i386/configure: Regenerated.
32760 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32761 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32762 * sysdeps/s390/s390-32/configure: Regenerated.
32763 * sysdeps/s390/s390-64/configure: Regenerated.
32764 * sysdeps/sh/configure: Regenerated.
32765 * sysdeps/sparc/configure: Regenerated.
32766 * sysdeps/x86_64/configure: Regenerated.
32767
a3f61311
AS
327682012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32769
c876e002
AS
32770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32771
a3f61311
AS
32772 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32773 denormal result into account.
32774
ac4c54f0
RM
327752012-03-25 Roland McGrath <roland@hack.frob.com>
32776
32777 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32778 Reported by Allan McRae <allan@archlinux.org>.
32779
6a9b9c02
JL
327802012-03-23 Jeff Law <law@redhat.com>
32781
32782 * nss/getnssent.c (__nss_getent): Fix typo.
32783
4c42a0c1
DM
327842012-03-23 David S. Miller <davem@davemloft.net>
32785
32786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32787
1532c7ac
L
327882012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32789
32790 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32791 to pad to uint64_t for each field.
32792 (dl_tls_index): Replace unsigned long with uint64_t.
32793
3ff42526
PP
327942012-03-23 Daniel Jacobowitz <dmj@google.com>
32795 Paul Pluzhnikov <ppluzhnikov@google.com>
32796
32797 [BZ #6528]
32798 * grp/Makefile (otherlibs): Don't set it.
32799 * inet/Makefile (otherlibs): Likewise.
32800 * login/Makefile (otherlibs): Likewise.
32801 * nscd/Makefile (otherlibs): Likewise.
32802 * posix/Makefile (otherlibs): Likewise.
32803 * pwd/Makefile (otherlibs): Likewise.
32804 * rt/Makefile (otherlibs): Likewise.
32805 * sunrpc/Makefile (otherlibs): Likewise.
32806 * nss/Makefile (otherlibs): Likewise.
32807 Add libnss_files to routines and static-only-routines.
32808 ($(objpfx)getent): Remove rule.
32809 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32810 static-only-routines.
32811
7c69cd14
JM
328122012-03-22 Joseph Myers <joseph@codesourcery.com>
32813
32814 [BZ #13892]
32815 * math/s_cexp.c: Include <float.h>.
32816 (__cexp): Handle exp result overflowing not necessarily
32817 overflowing both real and imaginary parts of result.
32818 * math/s_cexpf.c: Likewise.
32819 * math/s_cexpl.c: Likewise.
32820 * math/libm-test.inc (cexp_test): Add more tests.
32821 * sysdeps/i386/fpu/libm-test-ulps: Update.
32822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32823
81b035fe
L
328242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32825
32826 * include/link.h (ELFW): New macro.
32827 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32828 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32829
1da7940c
L
328302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32831
32832 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32833 with uint64_t.
32834
b749dbb9
L
328352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32836
32837 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32838 declaration.
32839 (struct La_x32_retval): Likewise.
32840
2ff87f3f
L
328412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32842
32843 * sysdeps/x86_64/preconfigure.in: New file.
32844 * sysdeps/x86_64/preconfigure: New generated file.
32845
c0df8e69
JM
328462012-03-22 Joseph Myers <joseph@codesourcery.com>
32847
48e44791
JM
32848 [BZ #13824]
32849 * math/e_exp2l.c: Include <float.h>.
32850 (__ieee754_exp2l): Handle overflow and underflow cases
32851 separately. Only pass fractional part of argument to
32852 __ieee754_expl.
32853 * math/libm-test.inc (exp2_test): Add more tests.
32854
c0df8e69
JM
32855 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32856 negating x to take absolute value.
32857 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32858 Likewise.
32859 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32860 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32861 Likewise.
32862 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32863 computing low part if x was negated.
32864 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32865
c8e43ba7
L
328662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32867
32868 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32869 la_x32_gnu_pltexit.
32870 (pltexit): Cast int_retval to ptrdiff_t.
32871 * elf/tst-auditmod3b.c: Likewise.
32872 * elf/tst-auditmod4b.c: Likewise.
32873 * elf/tst-auditmod5b.c: Likewise.
32874 * elf/tst-auditmod6b.c: Likewise.
32875 * elf/tst-auditmod6c.c: Likewise.
32876 * elf/tst-auditmod7b.c: Likewise.
32877
32878 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32879 and x32_gnu_pltexit.
32880
32881 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32882 __ELF_NATIVE_CLASS.
32883 (La_x32_regs): New macro.
32884 (La_x32_retval): Likewise.
32885 (la_x32_gnu_pltenter): New function prototype.
32886 (la_x32_gnu_pltexit): Likewise.
32887
7998fa78
AS
328882012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32889
dcb33988
AS
32890 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32891 exponent.
32892
233fc563
AS
32893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32894
7998fa78
AS
32895 * configure.in (libc_cv_cc_nofma): Check for option to disable
32896 generation of FMA instructions.
32897 * configure: Regenerate.
32898 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32899 * sysdeps/ieee754/dbl-64/Makefile: New file.
32900 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32901 Remove brandred-fma4.
32902 (CFLAGS-brandred-fma4.c): Remove.
32903 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32904 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32905 define.
32906 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32907 define.
32908
8e95c99a
L
329092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32910
32911 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32912 LLONG_MAX != LONG_MAX.
32913 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32914 (_fitoa_word): Likewise.
32915 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32916 LLONG_MAX != LONG_MAX.
32917 * stdio-common/_itowa.h: Include <_itoa.h>.
32918 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32919 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32920 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32921 only if not defined.
32922 (_ITOA_WORD_TYPE): Likewise.
32923 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32924 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32925
6f4db457
DM
329262012-03-21 David S. Miller <davem@davemloft.net>
32927
32928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32929
7785fe5a
L
329302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32931
32932 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32933 of x86_64 when setting libc_cv_slibdir, libdir and
32934 libc_cv_localedir.
32935 * sysdeps/unix/sysv/linux/configure: Regenerated.
32936
4535cd55
JM
329372012-03-21 Joseph Myers <joseph@codesourcery.com>
32938
32939 * manual/lang.texi (Old Varargs): Remove section.
32940 (How Variadic): Update menu.
32941 (va_start): Do not mention varargs.h.
32942
17228132
TS
329432012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32944 Joseph Myers <joseph@codesourcery.com>
32945
32946 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32947 link test.
32948 * configure: Regenerated.
32949
8149f976
TS
329502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32951
05f3d1f6
UD
32952 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32953 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32954 conformtest.pl
8149f976 32955
1a4ac776
JM
329562012-03-21 Joseph Myers <joseph@codesourcery.com>
32957
be22ce65
JM
32958 * NOTES: Remove.
32959 * Makefile (files-for-dist): Remove NOTES.
32960 (NOTES): Remove rule.
32961 * README: Don't refer to NOTES.
32962 * manual/creature.texi: Don't include macros.texi.
32963 * manual/intro.texi (creature.texi): Remove comment referring to
32964 NOTES.
32965
40b601fb
JM
32966 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32967 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32968 * configure: Regenerated.
32969 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32970 LIBC_TRY_CC_OPTION.
32971 (libc_cv_as_i686): Likewise.
32972 (libc_cv_cc_avx): Likewise.
32973 (libc_cv_cc_sse2avx): Likewise.
32974 (libc_cv_cc_fma4): Likewise.
32975 (libc_cv_cc_novzeroupper): Likewise.
32976 * sysdeps/i386/configure: Regenerated.
32977
1a4ac776
JM
32978 [BZ #13883]
32979 * sysdeps/i386/fpu/s_cexp.S: Remove.
32980 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32981 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32982 * math/libm-test.inc (cexp_test): Add more tests.
32983 * sysdeps/i386/fpu/libm-test-ulps: Update.
32984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32985
a458e7fe
AM
329862012-03-21 Allan McRae <allan@archlinux.org>
32987
32988 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32989
0cb7efc5
JM
329902012-03-21 Joseph Myers <joseph@codesourcery.com>
32991
32992 [BZ #13871]
32993 * math/w_exp2.c: Do not include <float.h>.
32994 (o_threshold, u_threshold): Remove.
32995 (__exp2): Calculate result before checking finiteness and calling
32996 __kernel_standard.
32997 * math/w_exp2f.c: Likewise.
32998 * math/w_exp2l.c: Likewise.
32999 * math/libm-test.inc (exp2_test): Require overflow exception for
33000 1e6 input.
2460d3aa
JM
33001
33002 [BZ #3866]
33003 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33004 range of signed 64-bit integers before using fistpll. Remove
33005 checks for whether integers fit in mantissa bits.
33006 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33007 the range of signed 32-bit integers before using fistpl. Remove
33008 checks for whether integers fit in mantissa bits.
33009 * sysdeps/i386/fpu/e_powl.S (p64): New object.
33010 (__ieee754_powl): Test for y outside the range of signed 64-bit
33011 integers before using fistpll. Reduce 64-bit values to 63-bit
33012 ones as needed.
33013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33014 divide-by-zero is raised for zero to large negative powers.
33015 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33016 (__ieee754_powl): Test for y outside the range of signed 64-bit
33017 integers before using fistpll. Reduce 64-bit values to 63-bit
33018 ones as needed.
33019 * math/libm-test.inc (pow_test): Add more tests.
33020
eb96ffb0
L
330212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33022
33023 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33024 <stdio-common/_itoa.h>.
33025 * debug/segfault.c: Likewise.
33026 * elf/dl-cache.c: Likewise.
33027 * elf/dl-minimal.c: Likewise.
33028 * elf/dl-misc.c: Likewise.
33029 * elf/dl-sysdep.c: Likewise.
33030 * elf/dl-version.c: Likewise.
33031 * elf/rtld.c: Likewise.
33032 * hurd/hurdsock.c: Likewise.
33033 * hurd/lookup-retry.c: Likewise.
33034 * malloc/malloc.c: Likewise.
33035 * malloc/mtrace.c: Likewise.
33036 * nscd/nscd_getgr_r.c: Likewise.
33037 * nscd/nscd_getpw_r.c: Likewise.
33038 * nscd/nscd_getserv_r.c: Likewise.
33039 * posix/getopt_init.c: Likewise.
33040 * posix/wordexp.c: Likewise.
33041 * stdio-common/_itoa.c: Likewise.
33042 * stdio-common/printf_fphex.c: Likewise.
33043 * stdio-common/vfprintf.c: Likewise.
33044 * string/_strerror.c: Likewise.
33045 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33046 * sysdeps/i386/i686/hp-timing.h: Likewise.
33047 * sysdeps/mach/_strerror.c: Likewise.
33048 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33049 * sysdeps/mach/hurd/sethostid.c: Likewise.
33050 * sysdeps/mach/hurd/xmknodat.c: Likewise.
33051 * sysdeps/mach/xpg-strerror.c: Likewise.
33052 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33053 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33054 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
33055 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
33056 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33057 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
33058 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33059 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33060 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
33061 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
33062 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
33063 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33064 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
33065 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33066 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33067 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
33068 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
33069 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
33070 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33071 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33072 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
33073
33074 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
33075
33076 * stdio-common/_itoa.h: Moved to ...
33077 * sysdeps/generic/_itoa.h: Here.
33078
33079 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
33080
33081 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
33082 instead of "_itoa.h" and "_itowa.h".
33083 * stdio-common/vfprintf.: Likewise.
33084
d1af992d
L
330852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33086
33087 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
33088 <bits/wordsize.h>.
33089 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
33090 (__signbit): Likwise.
33091 (llrintf): Likwise.
33092 (llrint): Likwise.
33093
114883e0
L
330942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
33095
33096 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
33097 __WORDSIZE != 64.
33098
c135cc1b
JM
330992012-03-20 Joseph Myers <joseph@codesourcery.com>
33100
33101 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
33102 OVERFLOW_EXCEPTION_OK.
33103 * math/libm-test.inc ("Philosophy"): Update comment about
33104 exception testing.
33105 (OVERFLOW_EXCEPTION): Define.
33106 (OVERFLOW_EXCEPTION_OK): Likewise.
33107 (INVALID_EXCEPTION_OK): Renumber.
33108 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33109 (IGNORE_ZERO_INF_SIGN): Likewise.
33110 (test_exceptions): Handle FE_OVERFLOW.
33111 (exp10_test): Expect overflow exceptions.
33112 (exp2_test): Likewise.
33113 (expm1_test): Likewise.
33114 (nextafter_test): Likewise.
33115 (pow_test): Likewise.
33116 (scalbn_test): Likewise.
33117 (scalbln_test): Likewise.
33118
95443d88
L
331192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33120
33121 * sysdeps/x86_64/bits/atomic.h
33122 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
33123 64bit integer.
33124 (atomic_exchange_acq): Likewise.
33125 (__arch_exchange_and_add_body): Likewise.
33126 (__arch_add_body): Likewise.
33127 (atomic_add_negative): Likewise.
33128 (atomic_add_zero): Likewise.
33129
490df6c4
L
331302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33131
c2722551 33132 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
33133 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
33134
5e52b189
L
331352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33136
33137 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
33138 Check __x86_64__ instead of __WORDSIZE.
33139
a9879d4c
L
331402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33141
33142 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
33143
5df98260
DM
331442012-03-19 David S. Miller <davem@davemloft.net>
33145
e1497744
DM
33146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33147
5df98260
DM
33148 * sysdeps/sparc/fpu/fenv_private.h: New file.
33149 * sysdeps/sparc/fpu/math_private.h: Use it.
33150 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
33151 Remove.
57f41c40 33152 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
33153 (libc_feholdexcept_setroundl): Remove.
33154 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
33155 Remove.
33156 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33157 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33158
b4c35121
L
331592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33160
33161 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33162 int64_t instead of long int.
33163 (INSERT_WORDS64): Likwise.
33164
56965fd7
L
331652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33166
33167 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33168 _Unwind_GetCFA return to _Unwind_Ptr first.
33169
83d1aec8
JM
331702012-03-19 Joseph Myers <joseph@codesourcery.com>
33171
1897ad44
JM
33172 [BZ #13629]
33173 * math/s_clog.c: Include <float.h>.
33174 (__clog): Scale large or subnormal inputs.
33175 * math/s_clogf.c: Likewise.
33176 * math/s_clogl.c: Likewise.
33177 * math/s_clog10.c: Include <float.h>.
33178 (M_LOG10_2): Define.
33179 (__clog10): Scale large or subnormal inputs.
33180 * math/s_clog10f.c: Likewise.
33181 * math/s_clog10l.c: Likewise.
33182 * math/libm-test.inc (clog_test): Add more tests.
33183 (clog10_test): Likewise.
33184 * sysdeps/i386/fpu/libm-test-ulps: Update.
33185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33186
7726d6a9
JM
33187 [BZ #11451]
33188 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33189 x and y.
33190 * math/libm-test.inc (atan2_test): Add another test.
33191
83d1aec8
JM
33192 * Makerules (common-objdir-compile): Remove.
33193 * sysdeps/unix/Makefile (config-generated): Do not add
33194 $(unix-generated) to variable.
33195 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33196 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33197 Remove rule.
33198 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33199 Likewise.
33200 [generic bits/local_lim.h] (before-compile): Do not append to
33201 variable.
33202 [generic bits/local_lim.h] (common-generated): Likewise.
33203 [generic sys/param.h] (before-compile): Do not append to variable.
33204 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33205 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33206 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33207 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33208 include.
33209 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33210 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33211 [generic sys/param.h] ($(addprefix
33212 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33213 [generic sys/param.h] (common-generated): Do not append to
33214 variable.
33215 [generic sys/param.h] (sysdep_headers): Likewise.
33216 [generic bits/errno.h] (before-compile): Do not append to
33217 variable.
33218 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33219 rule.
33220 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33221 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33222 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33223 [generic bits/errno.h] (common-generated): Do not append to
33224 variable.
33225 [generic bits/ioctls.h] (before-compile): Do not append to
33226 variable.
33227 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33228 rule.
33229 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33230 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33231 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33232 rule.
33233 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33234 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33235 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33236 [generic bits/ioctls.h] (common-generated): Do not append to
33237 variable.
33238 [generic sys/syscall.h] (syscall.h): Remove variable.
33239 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33240 rule.
33241 [generic sys/syscall.h] (before-compile): Do not append to
33242 variable.
33243 [generic sys/syscall.h] (common-generated): Likewise.
33244 * sysdeps/unix/errnos-tmpl.c: Remove file.
33245 * sysdeps/unix/errnos.awk: Likewise.
33246 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33247 * sysdeps/unix/ioctls.awk: Likewise.
33248 * sysdeps/unix/mk-local_lim.c: Likewise.
33249 * sysdeps/unix/snarf-ioctls: Likewise.
33250
4851a949
RH
332512012-03-19 Richard Henderson <rth@twiddle.net>
33252
bd37f2ee
RH
33253 * sysdeps/i386/fpu/fenv_private.h: New file.
33254 * sysdeps/i386/fpu/math_private.h: Use it.
33255 (math_opt_barrier, math_force_eval): Remove.
33256 (libc_feholdexcept_setround_53bit): Remove.
33257 (libc_feupdateenv_53bit): Remove.
33258 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33259 (math_opt_barrier, math_force_eval): Remove.
33260 (libc_feholdexcept): Remove.
33261 (libc_feholdexcept_setround): Remove.
33262 (libc_fetestexcept, libc_fesetenv): Remove.
33263 (libc_feupdateenv_test): Remove.
33264 (libc_feupdateenv, libc_feholdsetround): Remove.
33265 (libc_feresetround): Remove.
33266
d0adc922
RH
33267 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33268 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33269
0fe0f1f8
RH
33270 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33271 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33272 (libc_feupdateenv_testl): New.
33273 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33274 (libc_feupdateenv_testf): New.
33275 (libc_feupdateenv): Use libc_feupdateenv_test.
33276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33277 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33278
eb92c487
RH
33279 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33280 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33281 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33282 (libc_feresetround_noex): New.
33283 (libc_feresetround_noexf): New.
33284 (libc_feresetround_noexl): New.
33285 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33286 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33287 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33288 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33289 SET_RESTORE_ROUND.
33290 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33292 (__cos): Likewise.
33293 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33294 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33295 SET_RESTORE_ROUND_NOEX.
33296 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33297 SET_RESTORE_ROUND_NOEXF.
33298 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33299 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33300 (libc_feholdsetroundf): New.
33301 (libc_feresetround, libc_feresetroundf): New.
33302
7d2e8012
RH
33303 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33304 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33305 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33306
b4dabbb4
RH
33307 * sysdeps/generic/math_private.h: Include <fenv.h>.
33308 (default_libc_feholdexcept): New.
33309 (default_libc_feholdexcept_setround): New.
33310 (default_libc_fesetenv, default_libc_feupdateenv): New.
33311 (libc_feholdexcept): Only define if undefined.
33312 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33313 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33314 (libc_feholdexcept_setroundl): Likewise.
33315 (libc_feholdexcept_setround_53bit): Likewise.
33316 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33317 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33318 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33319 (libc_feupdateenv_53bit): Likewise.
33320 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33321 (libc_feholdexcept): Convert from macro to inline function.
33322 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33323 (libc_fesetenv, libc_feupdateenv): Likewise.
33324
4851a949
RH
33325 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33326 not previously defined.
33327 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33328 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33329 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33330 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33331 * sysdeps/ieee754/flt-32/math_private.h: New file.
33332 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33333 math_private.h below SET_FLOAT_WORD.
33334 (__isnan, __isinf_ns, __finite): Remove.
33335 (__isnanf, __isinf_nsf, __finitef): Remove.
33336
e79d442e
AS
333372012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33338
33339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33340
90b80344
DM
333412012-03-17 David S. Miller <davem@davemloft.net>
33342
33343 [BZ #6471]
33344 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33345 for 2.16.
33346
edc21804
DM
333472012-03-16 David S. Miller <davem@davemloft.net>
33348
77e927af
DM
33349 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33350 warnings.
33351
374976dd
DM
33352 [BZ #6471]
33353 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33354 properly.
33355 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33356 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33357 sysdep_routines when subdir is sysvipc.
33358 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33359 __getshmlba helper.
33360
edc21804
DM
33361 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33362
473c3ef3
L
333632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33364
33365 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33366 [__LP64__].
33367
eb0f39b6
L
333682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33369
33370 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33371 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33372 (__lround): Renamed to ...
33373 (__llround): This. Replace long int with long long int.
33374 Define lround functions as aliases of llround functions.
33375 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33376
6b6cd74b
L
333772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33378
33379 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33380 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33381 adresses to uintptr_t. Replace "long int" and "unsigned long
33382 int" with "greg_t" on va_arg.
33383
f1a77b01
L
333842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33385
33386 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33387 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33388
33389 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33390 Move e_machine check before EI_CLASS check. Handle x32
33391 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33392 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33393 SKIP_EM_IA_64 and include
33394 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33395
33396 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33397 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33398 (add_system_dir): New macro.
33399
33400 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33401 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33402
11b90b9f
JM
334032012-03-16 Joseph Myers <joseph@codesourcery.com>
33404
c36e1d23
JM
33405 [BZ #2551]
33406 [BZ #2552]
33407 [BZ #2553]
33408 [BZ #2554]
33409 [BZ #2562]
33410 [BZ #2563]
33411 [BZ #2565]
33412 [BZ #2566]
33413 [BZ #2576]
33414 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33415 (y0): Likewise.
33416 * math/w_j0f.c (j0f): Likewise.
33417 (y0f): Likewise.
33418 * math/w_j0l.c (__j0l): Likewise.
33419 (__y0l): Likewise.
33420 * math/w_j1.c (j1): Likewise.
33421 (y1): Likewise.
33422 * math/w_j1f.c (j1f): Likewise.
33423 (y1f): Likewise.
33424 * math/w_j1l.c (__j1l): Likewise.
33425 (__y1l): Likewise.
33426 * math/w_jn.c (jn): Likewise.
33427 (yn): Likewise.
33428 * math/w_jnf.c (jnf): Likewise.
33429 (ynf): Likewise.
33430 * math/w_jnl.c (__jnl): Likewise.
33431 (__ynl): Likewise.
33432 * math/libm-test.inc (j0_test): Add more tests.
33433 (j1_test): Likewise.
33434 (jn_test): Likewise. Add trailing semicolon to existing test.
33435 (y0_test): Likewise.
33436 (y1_test): Likewise.
33437 * sysdeps/i386/fpu/libm-test-ulps: Update.
33438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33439
11b90b9f
JM
33440 [BZ #13851]
33441 [BZ #13854]
33442 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33443 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33444 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33445 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33446 (__tanl): Set errno for infinite argument.
33447 * sysdeps/i386/fpu/mptan.c: Remove.
33448 * sysdeps/i386/fpu/s_tan.S: Likewise.
33449 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33450 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33451 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33452 * math/libm-test.inc (tan_test): Add more tests and enable more
33453 tests for double and long double.
33454 * sysdeps/i386/fpu/libm-test-ulps: Update.
33455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33456
6a1bd2a1
JK
334572012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33458
33459 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33460 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33461
10a803e0
RM
334622012-03-16 Roland McGrath <roland@hack.frob.com>
33463
33464 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33465 * configure.in: Use it for both main tree and add-ons.
33466 * configure: Regenerated.
33467
f196c7f7
L
334682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33469
33470 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33471
8848d99d
JM
334722012-03-16 Joseph Myers <joseph@codesourcery.com>
33473
96cbe7f4
JM
33474 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33475 in comment.
33476
8848d99d
JM
33477 [BZ #13851]
33478 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33479 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33480 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33481 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33482 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33483 infinite argument.
33484 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33485 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33486 != 0 for prec == 2.
33487 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33488 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33489 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33490 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33491 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33492 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33493 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33494 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33495 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33496 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33497 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33498 * math/libm-test.inc (cos_test): Add more tests and enable more
33499 tests for long double.
33500 (sin_test): Likewise.
33501 (sincos_test): Likewise.
33502 * sysdeps/i386/fpu/libm-test-ulps: Update.
33503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33504
dd7f4703
DM
335052012-03-16 David S. Miller <davem@davemloft.net>
33506
33507 * sysdeps/sparc/fpu/math_private.h: New file.
33508
006f1daa
DM
335092012-03-15 David S. Miller <davem@davemloft.net>
33510
c0c83bc8
DM
33511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33512 file.
e6a62e18 33513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33515 file.
e6a62e18
DM
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33521 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33522 sysdep routines.
33523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33524
88cb87d9
DM
33525 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33526 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33527
006f1daa 33528 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33530 sparc-ifunc.h
006f1daa 33531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33533 Likewise.
33534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33535 Likewise.
006f1daa
DM
33536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33540 Likewise.
006f1daa
DM
33541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33546 Likewise.
33547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33548 Likewise.
006f1daa
DM
33549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33556 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33567 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33568 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33569 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33570 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33573
11e0098e
AS
335742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33575
33576 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33577 scaling.
33578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33579
e85b09d0
AJ
335802012-03-15 Andreas Jaeger <aj@suse.de>
33581
33582 [BZ #13852]
33583 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33584 ieee754/flt-32 implementation for sin, cos and sincos.
33585 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33586 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33587 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33588 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33589 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33590 ieee754/flt-32 implementation for tan.
33591
33592 * math/libm-test.inc (cos_test): Enable some large input tests for
33593 float as well
33594 (sin_test): Likewise.
33595 (sincos_test): Likewise.
33596 (tan_test): Add tests for large input.
33597
33598 * sysdeps/i386/fpu/libm-test-ulps: Update.
33599
81c64153
AJ
336002012-03-15 Andreas Jaeger <aj@suse.de>
33601
33602 [BZ #13658]
33603 * math/libm-test.inc (cos_test): Add more test cases.
33604 (sin_test): Likewise.
33605 (sincos_test): Likewise.
33606
7bbfa5c6
AJ
336072012-03-15 Andreas Jaeger <aj@suse.de>
33608
33609 [BZ #13837]
33610 * math/libm-test.inc (cos_test): Add a test case for large input
33611 value.
33612 (sin_test): Likewise.
33613 (sincos_test): Likewise.
33614
57f41c40
AS
336152012-03-15 Andreas Jaeger <aj@suse.de>
33616 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
33617
33618 [BZ #13658]
0671f479 33619 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33620 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33621 * sysdeps/i386/fpu/branred.c: Likewise.
33622 * sysdeps/i386/fpu/dosincos.c: Likewise.
33623 * sysdeps/i386/fpu/mpa.c: Likewise.
33624 * sysdeps/i386/fpu/s_cos.S: Likewise.
33625 * sysdeps/i386/fpu/s_sin.S: Likewise.
33626 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33627 * sysdeps/i386/fpu/sincos32.c: Likewise.
33628
33629 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33630 Define.
33631 (libc_feupdateenv_53bit): Define.
33632 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33633 Define.
33634 (libc_feupdateenv_53bit): Define.
33635
33636 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33637 53 bit (without extend i386 double precision).
33638
33639 * math/libm-test.inc (sincos_test): Add tests for large input.
33640 (sin): Likewise.
33641 (cos): Likewise.
33642
33643 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33644
9cad04ea
AS
336452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33646
33647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33648
f7062b9a
DM
336492012-03-15 David S. Miller <davem@davemloft.net>
33650
33651 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33652 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33653 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33654 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33661 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33662 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33663 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33664 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33665 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33667 file.
f7062b9a 33668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33670 file.
f7062b9a 33671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33673 file.
f7062b9a 33674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33676 file.
f7062b9a
DM
33677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33678 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33679 fmin/fmax sysdep routines.
33680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33681
7bd951ff
DM
336822012-03-14 David S. Miller <davem@davemloft.net>
33683
559398ab
DM
33684 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33685 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33686 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33687 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33688 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33689 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33690 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33691 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33693 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33699 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33706 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33707 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33710 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33711 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33712 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33713 routines.
33714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33715 file.
559398ab 33716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33718 file.
559398ab 33719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33721 file.
559398ab 33722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33724 file.
559398ab 33725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33727 file.
559398ab 33728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33730 file.
33731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33732 file.
33733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33734 file.
33735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33736 file.
33737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33738 New file.
33739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33740 file.
33741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33742 file.
559398ab 33743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33745 file.
559398ab 33746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33748 file.
559398ab 33749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33751 file.
559398ab 33752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33754 VIS3 routines.
559398ab
DM
33755
33756 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33757 New file.
33758
5a1c1e32
DM
33759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33760
eae47a36
DM
33761 * sysdeps/sparc/configure.in: New file.
33762 * sysdeps/sparc/configure: Generate.
33763 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33764 * configure: Regenerate.
33765 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33766 * config.make.in (have-as-vis3): New.
33767 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33768 available use -Av9d instead of -Av9a.
33769 * sysdeps/sparc/sparc64/Makefile: Likewise.
33770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33772 New file.
33773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33774 file.
33775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33776 New file.
33777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33778 file.
eae47a36
DM
33779 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33780 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33781 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33784
c0c83bc8
DM
33785 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33786 fzeros/fnegs to load 0x80000000 into a float register instead of
33787 using the stack.
7bd951ff
DM
33788 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33789
bd951ccb
JM
337902012-03-14 Joseph Myers <joseph@codesourcery.com>
33791
33792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33793 bits/syscall.h.
33794 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33795 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33796 ($(inst_includedir)/bits/syscall.h): Remove rule.
33797 ($(objpfx)bits/syscall.d): Include instead of
33798 $(objpfx)syscall-list.d.
33799 (generated): Change syscall-list.h and syscall-list.d to
33800 bits/syscall.h and bits/syscall.d.
33801
bb4e6db2
RM
338022012-03-14 Roland McGrath <roland@hack.frob.com>
33803
33804 [BZ #13846]
33805 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33806
aa4a2ae1
JM
338072012-03-14 Joseph Myers <joseph@codesourcery.com>
33808
e456826d
JM
33809 [BZ #13841]
33810 * math/s_csqrt.c: Include <float.h>.
33811 (__csqrt): Scale large or subnormal inputs.
33812 * math/s_csqrtf.c: Likewise.
33813 * math/s_csqrtl.c: Likewise.
33814 * math/libm-test.inc (csqrt_test): Add more tests.
33815 * sysdeps/i386/fpu/libm-test-ulps: Update.
33816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33817
aa4a2ae1
JM
33818 [BZ #13840]
33819 * math/libm-test.inc (hypot_test): Add more tests.
33820
7c10fd35
DM
338212012-03-13 David S. Miller <davem@davemloft.net>
33822
33823 [BZ #13840]
33824 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33825 double-precision for the calculation instead of scaling.
33826
f453b98b
JM
338272012-03-13 Joseph Myers <joseph@codesourcery.com>
33828
33829 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33830 manipulate bits before adding and subtracting TWO52[sx].
33831 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33832 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33833 Likewise.
33834 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33835
09a3453f
DM
338362012-03-13 David S. Miller <davem@davemloft.net>
33837
8e59da90
DM
33838 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33839 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33840 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33841 rtld-global-offsets.h
33842 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33843
2a8ab7f2
DM
33844 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33845 large parameters.
33846
10f62770
DM
33847 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33848
5f0bdb18
DM
33849 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33850 'err' in the ifdef scope in which it is actually used.
33851
09a3453f
DM
33852 * nss/nss_db/db-init.c: Include string.h
33853
b4b2eb5e
DM
338542012-03-12 David S. Miller <davem@davemloft.net>
33855
98bb2f1c
DM
33856 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33857 masking out of the most significant byte of random value used.
33858 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33859 Fix coding style in previous change.
33860
b4b2eb5e
DM
33861 * sysdeps/unix/sysv/linux/kernel-features.h
33862 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33863 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33864 expression.
33865 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33866 later.
33867
6e226b09
DM
338682012-03-11 David S. Miller <davem@davemloft.net>
33869
a1bcbd40
DM
33870 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33871 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33872 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33873 for 'resultvar' otherwise things get truncated on 64-bit.
33874
cb9d6174
DM
33875 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33876 Fix masking out of the most significant byte of random value used.
33877
6e226b09
DM
33878 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33879
058c132d
AS
338802012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33881
33882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33883
2d2cd515
DM
338842012-03-09 David S. Miller <davem@davemloft.net>
33885
33886 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33887 variables with appropriate CPP guards.
57f41c40
AS
33888 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33889 from the frame pointer, not the stack pointer. Correct layout
33890 comments. Fix test on resulting framesize and the management of
33891 the outregs buffer for pltexit. Preserve floating point return
33892 values across _dl_call_pltexit call.
2d2cd515
DM
33893 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33894 framesize and the management of the outregs buffer for pltexit.
33895 Preserve floating point return values across _dl_call_pltexit
33896 call.
57f41c40
AS
33897 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33898 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33899 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
33900 (print_exit): Fix format string for return register value.
33901
9a07f9d0
JM
339022012-03-10 Joseph Myers <joseph@codesourcery.com>
33903
33904 * sunrpc/Makefile (others): Add rpcgen.
33905 ($(objpfx)rpcgen): Remove special build rule and dependency on
33906 libc.
33907 * sunrpc/rpcgen.c: New file.
33908
547b5e30
PE
339092012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33910
c524201a
PE
33911 [BZ #13673]
33912 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33913 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33914 * sysdeps/i386/crti.S: Likewise.
33915 * sysdeps/i386/crtn.S: Likewise.
33916 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33917 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33918 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33919 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33920 * sysdeps/sh/crti.S: Likewise.
33921 * sysdeps/sh/crtn.S: Likewise.
33922 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33923
7b6235f2
PE
33924 [BZ #13673]
33925 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33926 with URL.
33927 * locale/programs/locfile-kw.gperf: Likewise.
33928 * locale/programs/charmap-kw.h: Regenerated.
33929 * locale/programs/locfile-kw.h: Likewise.
33930
547b5e30
PE
33931 [BZ #13673]
33932 * intl/plural.y: Replace FSF snail mail address with URL.
33933 * intl/plural.c: Regenerated.
33934
5f0a5dae
RH
339352012-03-09 Richard Henderson <rth@twiddle.net>
33936
33937 * include/math_private.h: Remove file.
33938 * math/math_private.h: Move file ...
33939 * sysdeps/generic/math_private.h: ... here.
33940
b8c03620
RH
33941 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33942 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33943 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33944
4e234f5d 33945 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33946 and <math_private.h>.
33947 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33948 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33949 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33950 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33951 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33952 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33953 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33954 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33955 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33956 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33958 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33959 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33960 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33961 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33962 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33963 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33964 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33965 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33966 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33967 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33968 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33969 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33970 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33971 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33972 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33973 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33974 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33975 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33976 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33977 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33978 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33979 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33980 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33981 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33982 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33983 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33984 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33985 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33986 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33987 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33988 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33989 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33990 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33991 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33992 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33993 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33994 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33995 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33996 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33997 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33998 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33999 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34000 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34001 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34002 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34003 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34004 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34005 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34006 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34007 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34008 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34011 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34012 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34013 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34014 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34015 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34016 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34017 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34018 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34019 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34020 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34021 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34022 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34024 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34025 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34026 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34027 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34028 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34029 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34030 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34031 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34034 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34035 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34036 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34037 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34038 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34039 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34040 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34041 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34042 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34043 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34044 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34045 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34046 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34047 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34048 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34049 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34050 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34051 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34052 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34053 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34054 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34055 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34056 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34057 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34058 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34059 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34060 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34061 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
34062 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34063 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34064 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34065 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34066 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34067 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34068 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34069 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34070 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
34071 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34072 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34073 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34074 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
34075 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34076 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
34077 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
34078 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34079 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34080 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
34081 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
34082 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34083 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
34084 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34085 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
34086 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
34087 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34088 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34089 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34090 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
34091 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
34092 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34093 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34094 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34095 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
34096 * sysdeps/ieee754/k_standard.c: Likewise.
34097 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34098 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34099 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34100 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34101 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34102 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34103 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34104 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34105 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34106 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34107 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34108 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34109 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34110 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34111 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34112 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34113 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34114 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34115 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34116 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
34117 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
34118 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
34119 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34120 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34121 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34122 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
34123 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34124 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34125 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34126 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34127 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34128 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34129 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34130 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34131 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34132 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34133 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34134 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
34135 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
34136 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34137 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34138 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34139 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34140 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34141 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34142 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34143 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34145 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34146 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34148 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34149 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34150 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
34151 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34152 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34153 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
34154 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
34155 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34156 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34157 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34158 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34159 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34160 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34161 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34162 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34163 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34164 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34165 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34166 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34167 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34168 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34169 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34170 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34171 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34172 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34173 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34174 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34175 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34176 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34177 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34178 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34179 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34180 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34181 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34182 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34183 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34184 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34185 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34186 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34187 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34188 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34189 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34190 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34192 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34193 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34194 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34195 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34196 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34197 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34198 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34199 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34200 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34201 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34204 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34205 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34206 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34207 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34208 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34209 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34210 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34211 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34212 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34213 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34214 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34215 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34216 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34217 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34218 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34219 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34220 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34221 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34222 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34223 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34224 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34225 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34226 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34227 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34228 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34229 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34230 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34231 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34232 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34233 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34234 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34235 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34236 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34237 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34238 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34239 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34240 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34241 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34242 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34243 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34244 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34245 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34246 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34247 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34248 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34249 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34250 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34251 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34252 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34253 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34254 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34255 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34256 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34257 * sysdeps/ieee754/s_lib_version.c: Likewise.
34258 * sysdeps/ieee754/s_matherr.c: Likewise.
34259 * sysdeps/ieee754/s_signgam.c: Likewise.
34260 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34261 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34262 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34263 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34264 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34265 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34266 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34267 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34268 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34269 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34270 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34271 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34272 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34273 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34274 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34275 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34276 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34277 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34278 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34279 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 34281
1991fa03
JM
342822012-03-09 Joseph Myers <joseph@codesourcery.com>
34283
34284 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34285 * sunrpc/rpc_main.c: Likewise.
34286 * sunrpc/rpc_svcout.c: Likewise.
34287
60d6f5a6
DM
342882012-03-09 David S. Miller <davem@davemloft.net>
34289
34290 * include/math_private.h: New file.
34291
4962050e
JM
342922012-03-09 Joseph Myers <joseph@codesourcery.com>
34293
02a6f887
JM
34294 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34295 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34296 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34297 from <bits/socket_type.h>.
34298 (enum __socket_type): Don't define here.
34299 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34301 bits/socket_type.h.
34302
c6e013c1
JM
34303 [BZ #13566]
34304 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34305 checking __USE_GNU.
34306
4962050e
JM
34307 * Makerules ($(inst_includedir)/%.h): New rule.
34308 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34309 (install-others): Remove variable setting.
34310 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34311
38842f45
RH
343122012-03-08 Richard Henderson <rth@twiddle.net>
34313
67bb6da6
RH
34314 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34315 from macro to inline function; merge with the
34316 !__LIBC_INTERNAL_MATH_INLINES version.
34317 (__ieee754_sqrtf): Likewise.
34318
15194b4b
RH
34319 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34320 to inline function.
34321 (__rintf, __floor, __floorf): Likewise.
34322
64e21ede
RH
34323 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34324 macro to inline function.
34325 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34326
38842f45
RH
34327 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34328 not <math/math_private.h>.
34329
c64bf5fe
DM
343302012-03-08 David S. Miller <davem@davemloft.net>
34331
34332 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34333 copyright year.
34334 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34335
82d86f28
TS
343362012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34337
34338 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34339 normalization.
34340 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34341 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34342
aea5d727
UD
343432012-03-08 Ulrich Drepper <drepper@gmail.com>
34344
34345 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34346 be defined individually, they must be defined as a block. Define
34347 S for printing a string instead of hidint the different by using a
34348 macro for adding the 'l'.
34349 * stdio-common/tst-fphex-wide.c: Adjust.
34350
70bca0a3
MP
343512012-03-07 Marek Polacek <polacek@redhat.com>
34352
34353 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34354
65b81130
MP
343552012-03-08 Marek Polacek <polacek@redhat.com>
34356
34357 [BZ #13806]
34358 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34359 * stdio-common/tst-fphex.c: Define a few macros to make the
34360 test reusable. Use them.
34361 * stdio-common/tst-fphex-wide.c: New file.
34362
07037eeb
JM
343632012-03-08 Joseph Myers <joseph@codesourcery.com>
34364
a7a93d50
JM
34365 [BZ #6911]
34366 * manual/macros.texi (gnusystems): New macro.
34367 (nongnusystems): Likewise.
34368 (gnulinuxhurdsystems): Likewise.
34369 (gnuhurdsystems): Likewise..
34370 (gnulinuxsystems): Likewise.
34371 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34372 variants of the GNU system, not "GNU system".
34373 * manual/conf.texi: Likewise.
34374 * manual/errno.texi: Likewise. Update example of errno macro
34375 expansion.
34376 * manual/filesys.texi: Likewise.
34377 (getumask): Document as specific to GNU/Hurd.
34378 * manual/install.texi: Likewise. Reword some references to
34379 GNU/Linux.
34380 * manual/intro.texi: Likewise.
34381 * manual/io.texi: Likewise.
34382 (File Name Portability): Detail which constraints are inapplicable
34383 to all GNU systems and which are only inapplicable to GNU/Hurd.
34384 * manual/job.texi: Likewise.
34385 * manual/llio.texi: Likewise.
34386 (O_NOCTTY): Document as present on GNU/Linux.
34387 * manual/maint.texi: Likewise.
34388 * manual/memory.texi: Likewise.
34389 * manual/pattern.texi: Likewise.
34390 * manual/pipe.texi: Likewise.
34391 * manual/process.texi: Likewise.
34392 * manual/resource.texi: Likewise.
34393 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34394 child on GNU/Hurd.
34395 * manual/setjmp.texi: Likewise.
34396 * manual/signal.texi: Likewise.
34397 * manual/startup.texi: Likewise.
34398 * manual/stdio.texi: Likewise.
34399 * manual/terminal.texi: Likewise.
34400 (ONLCR): Document as POSIX.
34401 (OXTABS): Document availability on GNU/Linux as XTABS.
34402 (ONOEOT): Document availability separately from other bits.
34403 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34404 * manual/time.texi: Likewise.
34405 * manual/users.texi: Likewise.
34406 * INSTALL: Regenerated.
34407 * sysdeps/gnu/errlist.c: Regenerated.
34408
07037eeb
JM
34409 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34410 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34411 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34412 puts.
34413 * configure: Regenerated.
34414
d1d3431a
JM
344152012-03-07 Joseph Myers <joseph@codesourcery.com>
34416
af6a1e37
JM
34417 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34418 default includes instead of AC_HEADER_CHECK.
34419 * sysdeps/i386/configure: Regenerated.
34420
d1d3431a
JM
34421 [BZ #10716]
34422 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34423 * math/s_cacoshf.c (__cacoshf): Likewise.
34424 * math/s_cacoshl.c (__cacoshl): Likewise.
34425 * math/s_casinh.c (__casinh): Set signs of result from argument.
34426 * math/s_casinhf.c (__casinhf): Likewise.
34427 * math/s_casinhl.c (__casinhl): Likewise.
34428 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34429 (casinh_test): Add more tests.
34430 * sysdeps/i386/fpu/libm-test-ulps: Update.
34431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34432
482ff4da
UD
344332012-03-07 Ulrich Drepper <drepper@gmail.com>
34434
872fda05
UD
34435 * po/zh_TW.po: Update from translation team.
34436
a4300c7a
UD
34437 * login/Makefile (distribute): Remove variable.
34438 * catgets/Makefile: Likewise.
34439 * mach/Makefile: Likewise.
34440 * malloc/Makefile: Likewise.
34441 * misc/Makefile: Likewise.
34442 * iconv/Makefile: Likewise.
34443 * nscd/Makefile: Likewise.
34444 * hurd/Makefile: Likewise.
34445 * manual/Makefile: Likewise.
34446 * locale/Makefile: Likewise.
34447 * intl/Makefile: Likewise.
34448 * conform/Makefile: Likewise.
34449 * nss/Makefile: Likewise.
34450 * time/Makefile: Likewise.
34451 * soft-fp/Makefile: Likewise.
34452 * dirent/Makefile: Likewise.
34453 * gmon/Makefile: Likewise.
34454 * po/Makefile: Likewise.
34455 * rt/Makefile: Likewise.
34456 * socket/Makefile: Likewise.
34457 * math/Makefile: Likewise.
34458 * signal/Makefile: Likewise.
34459 * debug/Makefile: Likewise.
34460 * elf/Makefile: Likewise.
34461 * timezone/Makefile: Likewise.
34462 * stdlib/Makefile: Likewise.
34463 * iconvdata/Makefile: Likewise.
34464 * sunrpc/Makefile: Likewise.
34465 * io/Makefile: Likewise.
34466 * argp/Makefile: Likewise.
34467 * inet/Makefile: Likewise.
34468 * hesiod/Makefile: Likewise.
34469 * grp/Makefile: Likewise.
34470 * csu/Makefile: Likewise.
34471 * wctype/Makefile: Likewise.
34472 * crypt/Makefile: Likewise.
34473 * libio/Makefile: Likewise.
34474 * string/Makefile: Likewise.
34475 * nis/Makefile: Likewise.
34476 * resolv/Makefile: Likewise.
34477 * stdio-common/Makefile: Likewise.
34478 * wcsmbs/Makefile: Likewise.
34479 * dlfcn/Makefile: Likewise.
34480 * posix/Makefile: Likewise.
34481
3b7c4e74 34482 [BZ #6959]
482ff4da
UD
34483 * timezone/Makefile: Don't install timezone files, just the programs
34484 and scripts.
34485
f72ed77d
UD
344862012-03-06 Ulrich Drepper <drepper@gmail.com>
34487
a000466f
UD
34488 * nss/databases.def: Add missing gshadow entry.
34489
f72ed77d
UD
34490 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34491
a53b7a4e
MP
344922012-03-06 Marek Polacek <polacek@redhat.com>
34493
34494 [BZ #13726]
34495 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34496 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34497 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34498 * stdio-common/tst-long-dbl-fphex.c: New file.
34499
e9258400
DM
345002012-03-06 David S. Miller <davem@davemloft.net>
34501
34502 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34503 (set_obp_int): New function.
34504 (get_obp_int): New function.
34505 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34506 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34507 Avoid unused variable warnings on 'val' and use builtin_expect.
34508 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34509 __builtin_expect.
e9258400
DM
34510 (INLINE_CLONE_SYSCALL): Likewise.
34511
3bd2c723
DM
345122012-03-05 David S. Miller <davem@davemloft.net>
34513
34514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34515
bbb78d03
AS
345162012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34517
884c5db4
AS
34518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34519
bbb78d03
AS
34520 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34521 only for |x| >= 40.
34522 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34523
1c9f702a 345242012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34525
34526 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34527 Replace gettimeofday with __vdso_gettimeofday.
34528
7be16f82
RM
34529 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34530 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34531 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34532
34533 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34534 time with __vdso_time.
34535
ed58a00f
JM
345362012-03-05 Joseph Myers <joseph@codesourcery.com>
34537
34538 * manual/lang.texi (size_t): Note types to which size_t may be
34539 equivalent with the GNU C Library, but do not describe when
34540 differences between them are significant.
34541
30ee4ced
AJ
345422012-03-05 Andreas Jaeger <aj@suse.de>
34543
34544 * sysdeps/i386/fpu/libm-test-ulps: Update.
34545
b7cd39e8
JM
345462012-03-05 Joseph Myers <joseph@codesourcery.com>
34547
34548 [BZ #3976]
34549 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34550 (__ieee754_pow): Save and restore rounding mode and use
34551 round-to-nearest for main computations.
34552 * math/libm-test.inc (pow_test_tonearest): New function.
34553 (pow_test_towardzero): Likewise.
34554 (pow_test_downward): Likewise.
34555 (pow_test_upward): Likewise.
34556 (main): Call the new functions.
34557 * sysdeps/i386/fpu/libm-test-ulps: Update.
34558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34559
34560 [BZ #3976]
34561 * math/libm-test.inc (cosh_test_tonearest): New function.
34562 (cosh_test_towardzero): Likewise.
34563 (cosh_test_downward): Likewise.
34564 (cosh_test_upward): Likewise.
34565 (sinh_test_tonearest): Likewise.
34566 (sinh_test_towardzero): Likewise.
34567 (sinh_test_downward): Likewise.
34568 (sinh_test_upward): Likewise.
34569 (main): Call the new functions.
34570 * sysdeps/i386/fpu/libm-test-ulps: Update.
34571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34572
6c6a98c9
TV
345732012-03-05 Tom de Vries <tom@codesourcery.com>
34574
34575 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34576 default stack guard is set in last bytes.
34577 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34578
21bb2d2e 345792012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34580
21bb2d2e 34581 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34582
21bb2d2e
AJ
34583 [BZ #13656]
34584 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34585 possibly allocate from heap instead of stack.
34586 * stdio-common/bug-vfprintf-nargs.c: New file.
34587 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34588
c6922934
AS
345892012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34590
34591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34592
bc957d53
MP
345932012-03-03 Marek Polacek <polacek@redhat.com>
34594
34595 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34596 * math/math_private.h: Likewise.
34597 * stdlib/tst-strtod.c: Likewise.
34598 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34599 * sysdeps/x86_64/bits/atomic.h: Likewise.
34600
6358490d
DM
346012012-03-02 David S. Miller <davem@davemloft.net>
34602
34603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34607 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34608 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34609 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34610 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34611
01ae168d
RM
346122012-03-02 Roland McGrath <roland@hack.frob.com>
34613
d9a17c07
RM
34614 [BZ #13792]
34615 * manual/examples/README: New file, says the example source files
34616 can be used under GPL>=2.
34617 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34618 line containing just "*/".
34619 * manual/examples/add.c: Add copyright header (GPL>=2).
34620 * manual/examples/argp-ex1.c: Likewise.
34621 * manual/examples/argp-ex2.c: Likewise.
34622 * manual/examples/argp-ex3.c: Likewise.
34623 * manual/examples/argp-ex4.c: Likewise.
34624 * manual/examples/atexit.c: Likewise.
34625 * manual/examples/db.c: Likewise.
34626 * manual/examples/dir.c: Likewise.
34627 * manual/examples/dir2.c: Likewise.
34628 * manual/examples/execinfo.c: Likewise.
34629 * manual/examples/filecli.c: Likewise.
34630 * manual/examples/filesrv.c: Likewise.
34631 * manual/examples/fmtmsgexpl.c: Likewise.
34632 * manual/examples/genpass.c: Likewise.
34633 * manual/examples/inetcli.c: Likewise.
34634 * manual/examples/inetsrv.c: Likewise.
34635 * manual/examples/isockad.c: Likewise.
34636 * manual/examples/longopt.c: Likewise.
34637 * manual/examples/memopen.c: Likewise.
34638 * manual/examples/memstrm.c: Likewise.
34639 * manual/examples/mkfsock.c: Likewise.
34640 * manual/examples/mkisock.c: Likewise.
34641 * manual/examples/mygetpass.c: Likewise.
34642 * manual/examples/pipe.c: Likewise.
34643 * manual/examples/popen.c: Likewise.
34644 * manual/examples/rprintf.c: Likewise.
34645 * manual/examples/search.c: Likewise.
34646 * manual/examples/select.c: Likewise.
34647 * manual/examples/setjmp.c: Likewise.
34648 * manual/examples/sigh1.c: Likewise.
34649 * manual/examples/sigusr.c: Likewise.
34650 * manual/examples/stpcpy.c: Likewise.
34651 * manual/examples/strdupa.c: Likewise.
34652 * manual/examples/strftim.c: Likewise.
34653 * manual/examples/strncat.c: Likewise.
34654 * manual/examples/subopt.c: Likewise.
34655 * manual/examples/swapcontext.c: Likewise.
34656 * manual/examples/termios.c: Likewise.
34657 * manual/examples/testopt.c: Likewise.
34658 * manual/examples/testpass.c: Likewise.
34659 * manual/examples/timeval_subtract.c: Likewise.
34660
01ae168d
RM
34661 [BZ #13792]
34662 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34663 function to ...
34664 * manual/timeval_subtract.c.texi: ... here, new file.
34665
49efa33d
DM
346662012-03-02 David S. Miller <davem@davemloft.net>
34667
34668 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34669
28afd92d
JM
346702012-03-02 Joseph Myers <joseph@codesourcery.com>
34671
804360ed
JM
34672 [BZ #3976]
34673 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34674 (__sin): Save and restore rounding mode and use round-to-nearest
34675 for all computations.
34676 (__cos): Save and restore rounding mode and use round-to-nearest
34677 for all computations.
34678 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34679 <fenv.h>.
34680 (tan): Save and restore rounding mode and use round-to-nearest for
34681 all computations.
34682 * math/libm-test.inc (cos_test_tonearest): New function.
34683 (cos_test_towardzero): Likewise.
34684 (cos_test_downward): Likewise.
34685 (cos_test_upward): Likewise.
34686 (sin_test_tonearest): Likewise.
34687 (sin_test_towardzero): Likewise.
34688 (sin_test_downward): Likewise.
34689 (sin_test_upward): Likewise.
34690 (tan_test_tonearest): Likewise.
34691 (tan_test_towardzero): Likewise.
34692 (tan_test_downward): Likewise.
34693 (tan_test_upward): Likewise.
34694 (main): Call the new functions.
34695 * sysdeps/i386/fpu/libm-test-ulps: Update.
34696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34697
a6d06d7b
JM
34698 [BZ #10135]
34699 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34700 small n, then large n, before computing and testing k+n.
34701 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34703 Likewise.
34704 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34705 Likewise.
34706 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34707 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34708 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34709 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34710 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34711 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34712 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34713 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34714 * math/libm-test.inc (scalbn_test): Add more tests.
34715 (scalbln_test): Likewise.
34716
07e12bb3
JM
34717 * manual/filesys.texi (mode_t): Describe constraints on size and
34718 signedness, not exact equivalence to a particular type.
34719 (ino_t): Likewise.
34720 (ino64_t): Likewise.
34721 (dev_t): Likewise.
34722 (nlink_t): Likewise.
34723 (blkcnt_t): Likewise.
34724 (blkcnt64_t): Likewise.
34725 * manual/llio.texi (off_t): Likewise.
34726
28afd92d
JM
34727 [BZ #3976]
34728 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34729 (__ieee754_exp): Save and restore rounding mode and use
34730 round-to-nearest for all computations.
34731 * math/libm-test.inc (exp_test_tonearest): New function.
34732 (exp_test_towardzero): Likewise.
34733 (exp_test_downward): Likewise.
34734 (exp_test_upward): Likewise.
34735 (main): Call the new functions.
34736 * sysdeps/i386/fpu/libm-test-ulps: Update.
34737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34738
b1eeb65d
CD
347392012-03-01 Chris Demetriou <cgd@google.com>
34740
34741 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34742 have predictable order.
34743
53362a4b
DM
347442012-03-01 David S. Miller <davem@davemloft.net>
34745
3c969083
DM
34746 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34747
759707de
DM
34748 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34749 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34750 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34751 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34752
dfdb8ff2
DM
34753 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34754 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34755 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34757 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34758 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34759 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34760 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34761 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34762
ead89f96
DM
34763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34764
7f66bd07
DM
34765 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34766 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34767 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34768
53362a4b
DM
34769 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34770 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34771 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34772 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34773 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34774 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34775 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34776 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34777 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34778 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34779 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34780 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34782 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34783 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34785 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34786 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34787 * sysdeps/sparc/elf/configure: Regenerated.
34788
7b1902cb
JM
347892012-03-01 Joseph Myers <joseph@codesourcery.com>
34790
bec039bc
JM
34791 * configure.in (AS, LD): Require binutils 2.20 or later.
34792 * configure: Regenerated.
34793 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34794 as required minimum version.
34795 * INSTALL: Regenerated.
34796
7b1902cb
JM
34797 [BZ #2541]
34798 [BZ #4108]
34799 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34800 before squaring exponent.
34801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34802 bottom long double and 27 bits of top long double before squaring
34803 exponent.
34804 * math/libm-test.inc (erfc_test): Add more tests.
34805 * sysdeps/i386/fpu/libm-test-ulps: Update.
34806 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34808
f775c276
KT
348092012-03-01 Kai Tietz <ktietz@redhat.com>
34810
34811 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34812 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34813 containing bit-fields.
34814 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34815 * soft-fp/single.h (_FP_UNION_S): Likewise.
34816 * soft-fp/double.h (_FP_UNION_D): Likewise.
34817
5b8a4d4a
JM
348182012-02-29 Joseph Myers <joseph@codesourcery.com>
34819
0bab47b6
JM
34820 [BZ #13786]
34821 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34822 not include ../strcmp.S.
34823 [USE_AS_STRNCASECMP_L]: Likewise.
34824 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34825 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34826 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34827 (__strncasecmp_l_ia32): Define as alias to
34828 __strncasecmp_l_nonascii.
34829
0fcad3e2
JM
34830 [BZ #5794]
34831 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34832 * sysdeps/i386/fpu/libm-test-ulps: Update.
34833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34834
5b8a4d4a
JM
34835 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34837
8fdceb2e
JL
348382012-02-29 Jeff Law <law@redhat.com>
34839
34840 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34841 out of bounds read.
34842
1f393a11
MP
348432012-02-29 Marek Polacek <polacek@redhat.com>
34844
34845 [BZ #13706]
34846 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34847 * elf/Makefile: Add rules to run tst-unused-dep.out.
34848
8847f037
DM
348492012-02-28 David S. Miller <davem@davemloft.net>
34850
34851 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34852 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34853 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34854 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34855 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34856 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34857
169d7f11
JM
348582012-02-29 Joseph Myers <joseph@codesourcery.com>
34859
34860 * math/libm-test.inc (llround_test): Move one test from
34861 lround_test. Use TEST_f_L in moved test.
34862 (lround_test): Move misplaced test to llround_test. Add testcase
34863 from bug 2561.
34864
39adf059
UD
348652012-02-28 Ulrich Drepper <drepper@gmail.com>
34866
34867 * sysdeps/x86_64/fpu/e_expf.S: New file.
34868 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34869
71b5d1c5
SB
348702012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34871
34872 [BZ #13637]
34873 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34874 of remain_len that may cause incomplete multi-byte character and
34875 false match.
34876 * posix/bug-regex33.c: New file.
34877 * posix/Makefile (tests): Add bug-regex33.
34878
1f77f049
JM
348792012-02-28 Joseph Myers <joseph@codesourcery.com>
34880
34881 * manual/macros.texi: New file.
34882 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34883 * manual/libc.texinfo: Include macros.texi.
34884 * manual/creatute.texi: Likewise.
34885 * manual/install.texi: Likewise.
34886 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34887 @glibcadj{} in references to the GNU C Library.
34888 * manual/charset.texi: Likewise.
34889 * manual/conf.texi: Likewise.
34890 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34891 when not using those macros.
34892 * manual/creature.texi: Likewise.
34893 * manual/crypt.texi: Likewise.
34894 * manual/errno.texi: Likewise.
34895 * manual/filesys.texi: Likewise.
34896 * manual/header.texi: Likewise.
34897 * manual/install.texi: Likewise.
34898 * manual/intro.texi: Likewise.
34899 * manual/io.texi: Likewise.
34900 * manual/job.texi: Likewise.
34901 * manual/lang.texi: Likewise.
34902 * manual/libc.texiinfo: Likewise.
34903 * manual/llio.texi: Likewise.
34904 * manual/locale.texi: Likewise.
34905 * manual/maint.texi: Likewise.
34906 * manual/math.texi: Likewise.
34907 * manual/memory.texi: Likewise.
34908 * manual/message.texi: Likewise.
34909 * manual/nss.texi: Likewise.
34910 * manual/pattern.texi: Likewise.
34911 * manual/process.texi: Likewise.
34912 * manual/resource.texi: Likewise.
34913 * manual/search.texi: Likewise.
34914 * manual/setjmp.texi: Likewise.
34915 * manual/signal.texi: Likewise.
34916 * manual/socket.texi: Likewise.
34917 * manual/startup.texi: Likewise.
34918 * manual/stdio.texi: Likewise.
34919 * manual/string.texi: Likewise.
34920 * manual/sysinfo.texi: Likewise.
34921 * manual/syslog.texi: Likewise.
34922 * manual/terminal.texi: Likewise.
34923 * manual/time.texi: Likewise.
34924 * manual/users.texi: Likewise.
34925 * INSTALL: Regenerated.
34926 * NOTES: Regenerated.
d40c5d54 34927 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34928
450bf206
AS
349292012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34930
34931 * include/dirent.h: Include <dirstream.h> before
34932 <dirent/dirent.h>.
34933
741a235b
DM
349342012-02-28 David S. Miller <davem@davemloft.net>
34935
34936 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34937 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34938 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34939 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34940
d6b5aa58
DM
349412012-02-27 David S. Miller <davem@davemloft.net>
34942
1aff59a3
DM
34943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34945 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34946 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34947
d6b5aa58
DM
34948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34949 frame pointer instead of stack pointer relative arg slot.
34950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34951 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34952 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34953
433f48bf
CD
349542012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34955
34956 [BZ #3992]
34957 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34958
d674b76d
DM
349592012-02-27 David S. Miller <davem@davemloft.net>
34960
34961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34965 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34966 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34967 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34968 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34969
0e7727f7
JM
349702012-02-27 Joseph Myers <joseph@codesourcery.com>
34971
34972 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34973 later. Allow versions 5-9.
43be4ca2 34974 * configure: Regenerated.
0e7727f7
JM
34975 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34976 required minimum version and 4.6 as recommended version. Do not
34977 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34978 * INSTALL: Regenerated.
0e7727f7 34979
a78bc654
DM
349802012-02-27 David S. Miller <davem@davemloft.net>
34981
428d5830
DM
34982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34986 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34987 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34988 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34989 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34990
a78bc654
DM
34991 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34992 manipulate bits before adding and subtracting TWO112[sx].
34993 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34994
4579f81c
RM
349952012-02-27 Roland McGrath <roland@hack.frob.com>
34996
36c8acb4
RM
34997 [BZ #13775]
34998 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34999 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35000 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35001 being in POSIX, because they are in 1003.1-2008.
35002
84ad622b
RM
35003 * rt/tst-aio.c: Include <fcntl.h>.
35004 * rt/tst-aio7.c: Likewise.
35005 * rt/tst-aio64.c: Likewise.
35006
4579f81c
RM
35007 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35008
abd923db
JM
350092012-02-27 Joseph Myers <joseph@codesourcery.com>
35010
35011 * manual/install.texi (--with-headers): Describe headers as
35012 interface headers, not private headers.
35013 (Specific advice for GNU/Linux systems): Describe use of headers
35014 from "make headers_install", not private headers from older
35015 kernels.
43be4ca2 35016 * INSTALL: Regenerated.
abd923db
JM
35017 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35018 Change to 2.6.19.
35019 * sysdeps/unix/sysv/linux/configure: Regenerated.
35020
6664049b
JM
35021 * manual/llio.texi (fclean): Remove documentation.
35022
bb8b6697
JM
35023 * manual/Makefile (libc-texi-generated): New variable. Include
35024 version.texi.
35025 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35026 $(libc-texi-generated), not duplicated list of files.
35027 (version.texi, stamp-version): New rules.
35028 (realclean): Remove $(libc-texi-generated), not individual files
35029 from that list. Do not remove dir-add.texinfo.
35030 * manual/libc.texinfo: Comment out uses of edition numbers and
35031 references to printed manual. Remove last-updated dates.
35032 (EDITION): Comment out.
35033 (ISBN): Likewise.
35034 (VERSION, UPDATED): Remove.
35035 (version.texi): Include.
35036
12e5c3b9
AS
350372012-02-27 Andreas Schwab <schwab@linux-m68k.org>
35038
35039 * sysdeps/posix/spawni.c: Include <signal.h>.
35040 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35041 * sysdeps/pthread/aio_fsync.c: Likewise.
35042
4efeffc1 350432012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 35044
ba63ba08
UD
35045 * conform/Makefile (tests): Run only when not cross-compiling and
35046 when fast-check is not defined.
35047
d94a4670
UD
35048 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35049 * conform/data/limits.h-data: Fixes for POSIX2008.
35050 * conform/run-conformtest.sh: Run all tests.
35051 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35052 headers.
35053 * include/bits/dlfcn.h: Likewise.
35054 * include/langinfo.h: Likewise.
35055 * include/monetary.h: Likewise.
35056 * include/sys/poll.h: Likewise.
35057
35058 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
35059 for __USE_GNU.
35060 * posix/spawn.h: Define __need_sigset_t.
35061 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
35062 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
35063 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
35064 to get sigevent_t only.
35065 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
35066 only for __USE_GNU.
35067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35068 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35069 process_vm_writev only for __USE_GNU.
35070 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
35071
35072 * conform/Makefile: For now ignore errors from run-conformtest.
35073 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
35074 POSIX to avoid namespace pollution. Don't prepend headers.
35075 * conform/data/aio.h-data: Fixes for POSIX testing.
35076 * conform/data/fcntl.h-data: Likewise.
35077 * conform/data/glob.h-data: Likewise.
35078 * conform/data/grp.h-data: Likewise.
35079 * conform/data/pthread.h-data: Likewise.
35080 * conform/data/pwd.h-data: Likewise.
35081 * conform/data/signal.h-data: Likewise.
35082 * conform/data/spawn.h-data: Likewise.
35083 * conform/data/stdio.h-data: Likewise.
35084 * conform/data/stdlib.h-data: Likewise.
35085 * conform/data/stropts.h-data: Likewise.
35086 * conform/data/sys/mman.h-data: Likewise.
35087 * conform/data/sys/stat.h-data: Likewise.
35088 * conform/data/sys/types.h-data: Likewise.
35089 * conform/data/sys/wait.h-data: Likewise.
35090 * conform/data/time.h-data: Likewise.
35091 * conform/data/unistd.h-data: Likewise.
35092 * conform/data/utime.h-data: Likewise.
35093
35094 * io/sys/stat.h: fchmod was always in POSIX.
35095 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
35096 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
35097 * rt/aio.h: Define __need_timespec before including <time.h>.
35098 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
35099 struct. Add forward declaration of pthread_attr_t and use it in
35100 sigevent.
35101 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35102 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35103 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
35104 always remove CLK_TCK definition.
35105
c20105c3
AS
351062012-02-26 Andreas Schwab <schwab@linux-m68k.org>
35107
35108 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
35109
7a270350
UD
351102012-02-25 Ulrich Drepper <drepper@gmail.com>
35111
31341567
UD
35112 * conform/run-conformtest.sh: New file.
35113 * conform/Makefile: Run run-conformtest for tests.
35114 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
35115 support.
35116
35117 * conform/data/uchar.h-data: New file.
35118 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
35119 * conform/data/arpa/inet.h-data: Likewise.
35120 * conform/data/assert.h-data: Likewise.
35121 * conform/data/complex.h-data: Likewise.
35122 * conform/data/cpio.h-data: Likewise.
35123 * conform/data/ctype.h-data: Likewise.
35124 * conform/data/dirent.h-data: Likewise.
35125 * conform/data/dlfcn.h-data: Likewise.
35126 * conform/data/errno.h-data: Likewise.
35127 * conform/data/fcntl.h-data: Likewise.
35128 * conform/data/float.h-data: Likewise.
35129 * conform/data/fmtmsg.h-data: Likewise.
35130 * conform/data/fnmatch.h-data: Likewise.
35131 * conform/data/ftw.h-data: Likewise.
35132 * conform/data/glob.h-data: Likewise.
35133 * conform/data/grp.h-data: Likewise.
35134 * conform/data/iconv.h-data: Likewise.
35135 * conform/data/inttypes.h-data: Likewise.
35136 * conform/data/langinfo.h-data: Likewise.
35137 * conform/data/libgen.h-data: Likewise.
35138 * conform/data/limits.h-data: Likewise.
35139 * conform/data/locale.h-data: Likewise.
35140 * conform/data/math.h-data: Likewise.
35141 * conform/data/monetary.h-data: Likewise.
35142 * conform/data/mqueue.h-data: Likewise.
35143 * conform/data/ndbm.h-data: Likewise.
35144 * conform/data/net/if.h-data: Likewise.
35145 * conform/data/netdb.h-data: Likewise.
35146 * conform/data/netinet/in.h-data: Likewise.
35147 * conform/data/nl_types.h-data: Likewise.
35148 * conform/data/poll.h-data: Likewise.
35149 * conform/data/pthread.h-data: Likewise.
35150 * conform/data/pwd.h-data: Likewise.
35151 * conform/data/regex.h-data: Likewise.
35152 * conform/data/sched.h-data: Likewise.
35153 * conform/data/search.h-data: Likewise.
35154 * conform/data/semaphore.h-data: Likewise.
35155 * conform/data/setjmp.h-data: Likewise.
35156 * conform/data/signal.h-data: Likewise.
35157 * conform/data/spawn.h-data: Likewise.
35158 * conform/data/stdarg.h-data: Likewise.
35159 * conform/data/stdio.h-data: Likewise.
35160 * conform/data/stdlib.h-data: Likewise.
35161 * conform/data/string.h-data: Likewise.
35162 * conform/data/strings.h-data: Likewise.
35163 * conform/data/stropts.h-data: Likewise.
35164 * conform/data/sys/ipc.h-data: Likewise.
35165 * conform/data/sys/mman.h-data: Likewise.
35166 * conform/data/sys/msg.h-data: Likewise.
35167 * conform/data/sys/resource.h-data: Likewise.
35168 * conform/data/sys/select.h-data: Likewise.
35169 * conform/data/sys/sem.h-data: Likewise.
35170 * conform/data/sys/shm.h-data: Likewise.
35171 * conform/data/sys/socket.h-data: Likewise.
35172 * conform/data/sys/stat.h-data: Likewise.
35173 * conform/data/sys/statvfs.h-data: Likewise.
35174 * conform/data/sys/time.h-data: Likewise.
35175 * conform/data/sys/timeb.h-data: Likewise.
35176 * conform/data/sys/times.h-data: Likewise.
35177 * conform/data/sys/types.h-data: Likewise.
35178 * conform/data/sys/uio.h-data: Likewise.
35179 * conform/data/sys/un.h-data: Likewise.
35180 * conform/data/sys/utsname.h-data: Likewise.
35181 * conform/data/sys/wait.h-data: Likewise.
35182 * conform/data/syslog.h-data: Likewise.
35183 * conform/data/tar.h-data: Likewise.
35184 * conform/data/termios.h-data: Likewise.
35185 * conform/data/utime.h-data: Likewise.
35186 * conform/data/utmpx.h-data: Likewise.
35187 * conform/data/varargs.h-data: Likewise.
35188 * conform/data/wchar.h-data: Likewise.
35189 * conform/data/wctype.h-data: Likewise.
35190 * conform/data/wordexp.h-data: Likewise.
35191
35192 * include/stropts.h: New file.
35193 * include/uchar.h: New file.
35194 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35195 * include/assert.h: Likewise.
35196 * include/ctype.h: Likewise.
35197 * include/dirent.h: Likewise.
35198 * include/dlfcn.h: Likewise.
35199 * include/fcntl.h: Likewise.
35200 * include/fnmatch.h: Likewise.
35201 * include/glob.h: Likewise.
35202 * include/grp.h: Likewise.
35203 * include/libio.h: Likewise.
35204 * include/locale.h: Likewise.
35205 * include/math.h: Likewise.
35206 * include/net/if.h: Likewise.
35207 * include/netdb.h: Likewise.
35208 * include/netinet/in.h: Likewise.
35209 * include/pthread.h: Likewise.
35210 * include/pwd.h: Likewise.
35211 * include/regex.h: Likewise.
35212 * include/sched.h: Likewise.
35213 * include/search.h: Likewise.
35214 * include/setjmp.h: Likewise.
35215 * include/signal.h: Likewise.
35216 * include/stdio.h: Likewise.
35217 * include/stdlib.h: Likewise.
35218 * include/string.h: Likewise.
35219 * include/sys/cdefs.h: Likewise.
35220 * include/sys/mman.h: Likewise.
35221 * include/sys/msg.h: Likewise.
35222 * include/sys/resource.h: Likewise.
35223 * include/sys/select.h: Likewise.
35224 * include/sys/socket.h: Likewise.
35225 * include/sys/stat.h: Likewise.
35226 * include/sys/statvfs.h: Likewise.
35227 * include/sys/time.h: Likewise.
35228 * include/sys/times.h: Likewise.
35229 * include/sys/uio.h: Likewise.
35230 * include/sys/utsname.h: Likewise.
35231 * include/sys/wait.h: Likewise.
35232 * include/termios.h: Likewise.
35233 * include/time.h: Likewise.
35234 * include/ulimit.h: Likewise.
35235 * include/unistd.h: Likewise.
35236 * include/utime.h: Likewise.
35237 * include/wchar.h: Likewise.
35238 * include/wctype.h: Likewise.
35239 * include/wordexp.h: Likewise.
35240
35241 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35242
7a270350
UD
35243 * time/time.h: TIME_UTC must be a macro.
35244 Make timespec_get available for ISO C11 only as well.
35245
7724defc
UD
352462012-02-24 Ulrich Drepper <drepper@gmail.com>
35247
35248 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35249 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35250
6b1d1d46
JM
352512012-02-24 Joseph Myers <joseph@codesourcery.com>
35252
35253 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 35254
0f8bbd69
JM
352552012-02-24 Joseph Myers <joseph@codesourcery.com>
35256
35257 * manual/texinfo.tex: Update to version 2012-01-19.16.
35258
66ab80bc
JM
352592012-02-24 Joseph Myers <joseph@codesourcery.com>
35260
35261 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35262
74981cc5
RM
352632012-02-24 Roland McGrath <roland@hack.frob.com>
35264
ee968201
RM
35265 [BZ #13738]
35266 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35267 * manual/fdl-1.3.texi: New file.
35268 * manual/fdl-1.1.texi: File removed.
35269
74981cc5
RM
35270 [BZ #13738]
35271 * manual/libc.texinfo (FDL_VERSION): New @set.
35272 Use it for mention of FDL in cover text.
35273 (Documentation License): Use it in @include file name.
35274
7bb764bc
JM
352752012-02-22 Joseph Myers <joseph@codesourcery.com>
35276 Roland McGrath <roland@hack.frob.com>
35277
35278 [BZ #5461]
57f41c40
AS
35279 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35280 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
35281 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35282 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35283 name.
35284 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35285
6cbeae47
JM
352862012-02-22 Joseph Myers <joseph@codesourcery.com>
35287
35288 [BZ #2547]
35289 [BZ #11365]
35290 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35291 manipulate bits before adding and subtracting TWO23[sx].
35292 * math/libm-test.inc (nearbyint_test): Add more tests.
35293
fe45ce09
JM
352942012-02-22 Joseph Myers <joseph@codesourcery.com>
35295
35296 [BZ #2548]
35297 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35298 bits before adding and subtracting TWO23[sx].
35299 * math/libm-test.inc (rint_test): Add more tests.
35300 (rint_test_tonearest): Likewise.
35301 (rint_test_towardzero): Likewise.
35302 (rint_test_downward): Likewise.
35303 (rint_test_upward: Likewise.
35304
ff3b3d82
JM
353052012-02-22 Joseph Myers <joseph@codesourcery.com>
35306
35307 [BZ #10110]
35308 * include/stdc-predef.h: New file. Extracted from features.h.
35309 * include/features.h: Include stdc-predef.h.
35310 * Makefile (headers): Add stdc-predef.h.
35311 * CONFORMANCE (Compiler limitations): Update.
35312
ef0aab35
JM
353132012-02-22 Joseph Myers <joseph@codesourcery.com>
35314
35315 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35316
58639409
DM
353172012-02-21 David S. Miller <davem@davemloft.net>
35318
35319 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35320 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35321
c0e70b25
DM
353222012-02-20 David S. Miller <davem@davemloft.net>
35323
35324 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35325 using a normal save/restore sequence, rather than allocating a
35326 dummy stack frame just to store a frame pointer and restore.
35327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35328
fb06851d
JM
353292012-02-21 Joseph Myers <joseph@codesourcery.com>
35330
35331 * manual/install.texi: Fix stray word in line-wrapped comment.
35332
7a8b71c3
DM
353332012-02-20 David S. Miller <davem@davemloft.net>
35334
d510c123
DM
35335 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35336 both binutils and gcc support GOTDATA.
35337
0722d7c2
DM
35338 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35339 "rd %pc" in the PIC register setup sequences.
35340
3d2b3019
DM
35341 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35342 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35343 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35344 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35345 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35347 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35348 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35350 (SYSCALL_ERROR_HANDLER): Likewise.
35351 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35352 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35353 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35354 (SYSCALL_ERROR_HANDLER): Likewise.
35355
c80098a9
DM
35356 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35357 (HAVE_GCC_GOTDATA): New.
35358 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35359 relocation support in both binutils and gcc.
35360 * sysdeps/sparc/elf/configure: Regenerate.
35361
3a2545a0
DM
35362 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35363 * sysdeps/sparc/sparc32/elf/configure: Delete.
35364 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35365 * sysdeps/sparc/sparc64/elf/configure: Delete.
35366 * sysdeps/sparc/elf/configure.in: New file.
35367 * sysdeps/sparc/elf/configure: Generate.
35368
7a8b71c3
DM
35369 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35370 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35371 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35372 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35373 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35374
f1e86fca
JM
353752012-02-21 Joseph Myers <joseph@codesourcery.com>
35376
35377 * manual/install.texi: Do not mention specific glibc version
35378 numbers.
35379 * manual/libc.texinfo (VERSION, UPDATED): Update.
35380 (@copying): Use @copyright{} and range of years.
35381
0e7dfaef
JM
353822012-02-21 Joseph Myers <joseph@codesourcery.com>
35383
35384 [BZ #13695]
35385 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35386 [crti.S not in sysdirs] (generated): Do not append.
35387 [crti.S not in sysdirs] (omit-deps): Likewise.
35388 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35389 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35390 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35391 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35392 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35393 Likewise.
35394 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35395 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35396 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35397 * csu/defs.awk: Remove file.
35398 * sysdeps/generic/initfini.c: Likewise.
35399 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35400 variable.
35401 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35402 Likewise.
35403
599af3ca
JM
354042012-02-20 Joseph Myers <joseph@codesourcery.com>
35405
35406 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35407 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35408 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35409 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35411 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35412 <bits/epoll.h>.
35413 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35414 (__EPOLL_PACKED): Define to empty if not defined by
35415 <bits/epoll.h>.
35416 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35418 bits/epoll.h.
35419
0e499750
JM
354202012-02-20 Joseph Myers <joseph@codesourcery.com>
35421
35422 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35423 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35424 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35425 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35426 <bits/timerfd.h>.
35427 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35428 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35429 bits/timerfd.h.
35430
5ad91f6e
JM
354312012-02-20 Joseph Myers <joseph@codesourcery.com>
35432
35433 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35434 in C locale.
35435 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35436 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35437 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35439
06b99b02
AJ
354402012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35441
35442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35443 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35444
7638c0fd
AS
354452012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35446
35447 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35448 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35449 defined.
35450 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35451 Likewise.
35452 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35453 entry for 2.16.
35454
92221550
AJ
354552012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35456
35457 * math/w_acos.c: Use non-signaling floating-point comparisons.
35458 * math/w_acosf.c: Likewise.
35459 * math/w_acosh.c: Likewise.
35460 * math/w_acoshf.c: Likewise.
35461 * math/w_acoshl.c: Likewise.
35462 * math/w_acosl.c: Likewise.
35463 * math/w_asin.c: Likewise.
35464 * math/w_asinf.c: Likewise.
35465 * math/w_asinl.c: Likewise.
35466 * math/w_atanh.c: Likewise.
35467 * math/w_atanhf.c: Likewise.
35468 * math/w_atanhl.c: Likewise.
35469 * math/w_exp2.c: Likewise.
35470 * math/w_exp2f.c: Likewise.
35471 * math/w_exp2l.c: Likewise.
35472 * math/w_j0.c: Likewise.
35473 * math/w_j0f.c: Likewise.
35474 * math/w_j0l.c: Likewise.
35475 * math/w_j1.c: Likewise.
35476 * math/w_j1f.c: Likewise.
35477 * math/w_j1l.c: Likewise.
35478 * math/w_jn.c: Likewise.
35479 * math/w_jnf.c: Likewise.
35480 * math/w_log.c: Likewise.
35481 * math/w_log10.c: Likewise.
35482 * math/w_log10f.c: Likewise.
35483 * math/w_log10l.c: Likewise.
35484 * math/w_log2.c: Likewise.
35485 * math/w_log2f.c: Likewise.
35486 * math/w_log2l.c: Likewise.
35487 * math/w_logf.c: Likewise.
35488 * math/w_logl.c: Likewise.
35489 * math/w_sqrt.c: Likewise.
35490 * math/w_sqrtf.c: Likewise.
35491 * math/w_sqrtl.c: Likewise.
35492 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35493 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35494 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35495 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35496 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35497
ebaf36eb
JM
354982012-02-19 Joseph Myers <joseph@codesourcery.com>
35499
35500 [BZ #9739]
35501 * manual/string.texi (strnlen): Use correct parameter name in
35502 equivalent expression.
35503
71c254a6
JM
355042012-02-19 Joseph Myers <joseph@codesourcery.com>
35505
35506 [BZ #11174]
35507 * manual/users.texi (seteuid): Consistently use neweuid for
35508 argument name.
35509
16d2c631
JM
355102012-02-19 Joseph Myers <joseph@codesourcery.com>
35511
35512 [BZ #13704]
35513 * manual/nss.texi (Services in the NSS configuration): Correct
35514 list of services in example configuration file.
35515
cd837b09
NB
355162012-02-19 Nick Bowler <nbowler@draconx.ca>
35517
35518 [BZ #11322]
35519 * manual/arith.texi: Remove statements about negative zero
35520 behaving identically to zero.
35521
02c4bbad
JM
355222012-02-18 Joseph Myers <joseph@codesourcery.com>
35523
35524 [BZ #5993]
35525 * manual/install.texi: Do not document upgrading from libc5.
35526
366842e7
JM
355272012-02-18 Joseph Myers <joseph@codesourcery.com>
35528
35529 [BZ #4596]
35530 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35531
dd54084d
DM
355322012-02-18 David S. Miller <davem@davemloft.net>
35533
35534 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35535 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35536 %o7 across the call.
35537 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35538 instead.
35539 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35540 SETUP_PIC_REG_LEAF.
35541 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35542 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35543 * sysdeps/sparc/crtn.S: Likewise.
35544
2bcc53a3
UD
355452012-02-17 Ulrich Drepper <drepper@gmail.com>
35546
35547 * aout/Makefile: Remove.
35548
09c093b5
RK
355492012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35550
35551 [BZ #13058]
35552 * manual/examples/argp-ex1.c (main): Format definition in GNU
35553 style.
35554 * manual/examples/argp-ex2.c (main): Likewise.
35555 * manual/examples/argp-ex3.c (main): Likewise.
35556 * manual/examples/argp-ex4.c (main): Likewise.
35557 * manual/examples/longopt.c (main): Use new-style prototype
35558 definition.
35559 * manual/examples/strncat.c (main): Specify return type and use
35560 (void) for arguments.
35561 * manual/examples/subopt.c (main): Use char **argv argument.
35562
2ee633a2
JM
355632012-02-17 Joseph Myers <joseph@codesourcery.com>
35564
35565 [BZ #5077]
35566 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35567 rounding modes.
35568
0520adde
FB
355692012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35570
35571 [BZ #6907]
35572 * manual/string.texi (strchr): Change when strchrnul is
35573 recommended.
35574
3f4081cd
DGM
355752012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35576
35577 [BZ #174]
35578 * manual/locale.texi (setlocale): Document LOCPATH.
35579
d1b10e78
JM
355802012-02-17 Joseph Myers <joseph@codesourcery.com>
35581
35582 [BZ #10210]
35583 * manual/process.texi (execle): Move @dots{} before last argument.
35584
79c6869c
PB
355852012-02-17 Paul Bolle <pebolle@tiscali.nl>
35586
35587 [BZ #12047]
35588 * manual/charset.texi (Generic Charset Conversion): Fix typo
35589 (LC_TYPE -> LC_CTYPE).
35590
cc6e48bc
NB
355912012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35592
35593 [BZ #5805]
35594 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35595 (scalbnf): Likewise.
35596 (scalbnl): Likewise.
35597 (scalbln): Likewise.
35598 (scalblnf): Likewise.
35599 (scalblnl): Likewise.
35600 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35601 (vwarnx): Likewise.
35602 (verr): Likewise.
35603 (verrx): Likewise.
35604 * manual/filesys.texi (telldir): Use braces around return type.
35605 * manual/llio.texi (mmap): Add space after comma.
35606 (mmap64): Likewise.
35607 * manual/math.texi (jn): Use @var{} on parameter names.
35608 (jnf): Likewise.
35609 (jnl): Likewise.
35610 (yn): Likewise.
35611 (ynf): Likewise.
35612 (ynl): Likewise.
35613 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35614 line.
35615 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35616 "...".
35617 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35618 (sched_get_priority_max): Likewise.
35619 * manual/signal.texi (sigvec): Add space after comma.
35620 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35621 names.
35622 (if_indextoname): Likewise.
35623 (if_freenameindex): Likewise.
35624 (sendto): Use ',' instead of '.' in prototype.
35625 * manual/startup.texi (syscall): Use @dots{} instead of literal
35626 "...".
35627 * manual/stdio.texi (__fpending): Separate initial words of
35628 paragraph from @deftypefun line.
35629 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35630 "...".
35631 (vsyslog): Use @var{} on parameter names.
35632 * manual/terminal.texi (stty): Use @var{} on parameter names.
35633 * manual/users.texi (getutmp): Use @var{} on parameter names.
35634 (getutmpx): Likewise.
35635
5b23062f
JM
356362012-02-17 Joseph Myers <joseph@codesourcery.com>
35637
35638 [BZ #6884]
35639 * manual/stdio.texi (fopen): Fix typos in description of
35640 ",ccs=STRING".
35641
8dee4833
AJ
356422012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35643
35644 [BZ #4026]
35645 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35646 get clock_id definition.
35647
9078ce93
TS
356482012-02-17 Thomas Schwinge <thomas@schwinge.name>
35649
35650 [BZ #4822]
35651 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35652 (madvise): Cast every argument to void on its own.
35653
3835c55f
JM
356542012-02-17 Joseph Myers <joseph@codesourcery.com>
35655
35656 [BZ #9902]
35657 * manual/startup.texi (Exit Status): Fix typo.
35658
35c47e37
JM
356592012-02-17 Joseph Myers <joseph@codesourcery.com>
35660
35661 [BZ #10140]
35662 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35663 * manual/examples/argp-ex2.c: Likewise.
35664 * manual/examples/argp-ex3.c: Likewise.
35665
e3b69ca7
RH
356662012-02-16 Richard Henderson <rth@redhat.com>
35667
35668 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35669 * sysdeps/s390/s390-32/initfini.c: Remove.
35670 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35671 * sysdeps/s390/s390-64/initfini.c: Remove.
35672
df83af67
KK
356732012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35674
35675 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35676 compiler output for sysdeps/generic/initfini.c.
35677 * sysdeps/sh/elf/initfini.c: Remove file.
35678
f63f3380
DM
356792012-02-16 David S. Miller <davem@davemloft.net>
35680
fb59b3a4
DM
35681 [BZ #11494]
35682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35683
f63f3380
DM
35684 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35685 * sysdeps/sparc/crti.S: New file.
35686 * sysdeps/sparc/crtn.S: New file.
35687 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35688 * sysdeps/sparc/sparc64/Makefile: Likewise.
35689
df6a4a4a
MF
356902012-02-15 Mike Frysinger <vapier@gentoo.org>
35691
6dd8f3dc 35692 [BZ #3335]
df6a4a4a
MF
35693 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35694
1cac7236
RM
356952012-02-15 Roland McGrath <roland@hack.frob.com>
35696
d2c736f8
RM
35697 [BZ #4822]
35698 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35699
1cac7236
RM
35700 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35701 (write, read, close): Likewise.
35702 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35703
8e475601
JM
357042012-02-15 Joseph Myers <joseph@codesourcery.com>
35705
35706 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35707 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35708 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35709 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35710 <bits/signalfd.h>.
35711 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35713 bits/signalfd.h.
35714
ed656b40
MP
357152012-02-14 Marek Polacek <polacek@redhat.com>
35716
35717 * sysdeps/x86_64/crti.S: New file.
35718 * sysdeps/x86_64/crtn.S: New file.
35719 * sysdeps/x86_64/elf/initfini.c: Remove file.
35720
2a979d3a
JM
357212012-02-13 Joseph Myers <joseph@codesourcery.com>
35722
35723 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35724 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35725 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35726 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35727 <bits/inotify.h>.
35728 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35730 bits/inotify.h.
35731
2a418ac3
JM
357322012-02-13 Joseph Myers <joseph@codesourcery.com>
35733
35734 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35735 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35736 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35737 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35738 <bits/eventfd.h>.
35739 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35740 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35741 bits/eventfd.h.
35742
fb779be7
TS
357432012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35744
e19e83c5
RM
35745 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35746 __feraiseexcept instead of feraiseexcept.
7c35ffed 35747
fb779be7
TS
35748 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35749 nanosleep invocations.
35750 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35751 strings, and add error checking for a nanosleep invocations.
35752
59ba27a6
PE
357532012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35754
35755 Replace FSF snail mail address with URLs, as per GNU coding standards.
35756 Most of the snail mail addresses were wrong anyway, and omitting
35757 them makes the source code easier to maintain. Almost all of the
35758 changes are to license notices and to locale LC_IDENTIFICATION
35759 addresses, except for this one:
35760 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35761 not its snail mail address.
35762
57b957eb
RH
357632012-02-09 Richard Henderson <rth@twiddle.net>
35764
af850b1c
RH
35765 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35766 of kernel-features.h.
35767
57b957eb
RH
35768 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35769
6b73181a
MP
357702012-02-08 Marek Polacek <polacek@redhat.com>
35771
35772 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35773 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35774 * sysdeps/gnu/_G_config.h: Likewise.
35775 * sysdeps/generic/_G_config.h: Likewise.
35776
26ecc33a
AS
357772012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35778
6c6dbc63
AS
35779 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35780 tests.
35781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35782
e216c012
AS
35783 * sysdeps/powerpc/powerpc32/crti.S: New file.
35784 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35785 * sysdeps/powerpc/powerpc64/crti.S: New file.
35786 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35787
26ecc33a
AS
35788 * Makeconfig (have-initfini): Don't set.
35789 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35790 * configure.in (nopic_initfini): Don't substitute.
35791 * config.h.in (HAVE_INITFINI): Don't #undef.
35792 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35793 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35794
3add8e13
JM
357952012-02-08 Joseph Myers <joseph@codesourcery.com>
35796
35797 Support crti.S and crtn.S provided directly by architectures.
35798 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35799 [crti.S in sysdirs] (omit-deps): Likewise.
35800 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35801 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35802 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35803 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35804 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35805 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35806 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35807 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35808 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35809 compiler output for sysdeps/generic/initfini.c.
35810 * sysdeps/i386/elf/Makefile: Remove file.
35811 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35812
a22f12b4
MP
358132012-02-07 Marek Polacek <polacek@redhat.com>
35814
35815 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35816 * sysdeps/gnu/_G_config.h: Likewise.
35817 * sysdeps/mach/hurd/_G_config.h: Likewise.
35818
148cf100
MP
358192012-02-07 Marek Polacek <polacek@redhat.com>
35820
35821 * math/Makefile (tests): Add tst-CMPLX2.
35822 * math/tst-CMPLX2.c: New file.
35823
cfdc0dd7
AS
358242012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35825
84ba42c4
AS
35826 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35827
cfdc0dd7
AS
35828 * math/libm-test.inc (jn_test): Add missing L suffix.
35829
622c86f4
MP
358302012-02-06 Marek Polacek <polacek@redhat.com>
35831
35832 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35833 * sysdeps/i386/fpu/e_powf.S: Likewise.
35834 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35835 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35836 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35837 * sysdeps/i386/fpu/e_pow.S: Likewise.
35838 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35839 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35840 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35841 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35842 * sysdeps/i386/fpu/e_log2.S: Likewise.
35843 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35844 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35845 * sysdeps/i386/fpu/e_powl.S: Likewise.
35846 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35847 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35848 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35849 * sysdeps/i386/fpu/e_logl.S: Likewise.
35850 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35851 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35852 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35853 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35854 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35855 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35856 * sysdeps/i386/fpu/e_log.S: Likewise.
35857 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35858 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35859 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35860 * sysdeps/i386/fpu/e_logf.S: Likewise.
35861 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35862 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35863 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35864 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35865 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35866 * sysdeps/i386/fpu/e_log10.S: Likewise.
35867 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35868 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35869 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35870 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35871 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35872 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35873 * sysdeps/i386/asm-syntax.h: Likewise.
35874 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35875 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35876 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35877 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35878 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35879 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35880 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35881 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35882 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35883 * sysdeps/powerpc/sysdep.h: Likewise.
35884 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35885 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35886
d4a54ac6
JM
358872012-02-06 Joseph Myers <joseph@codesourcery.com>
35888
35889 [BZ #411]
35890 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35891
314054ea
JM
358922012-02-06 Joseph Myers <joseph@codesourcery.com>
35893
35894 * sysdeps/i386/sysdep.h: Include <features.h>.
35895 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35896 version.
35897
d8e0ca50
JM
358982012-02-05 Joseph Myers <joseph@codesourcery.com>
35899
35900 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35901 Define.
35902 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35903 LOAD_PIC_REG_STR.
35904
b1da7dd9
JM
359052012-02-03 Joseph Myers <joseph@codesourcery.com>
35906
35907 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35908 (SETUP_PIC_REG): Use GET_PC_THUNK.
35909 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35910 macro.
35911
9a1d9254
JM
359122012-02-03 Joseph Myers <joseph@codesourcery.com>
35913
35914 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35915 for non-PIC compilation.
35916 (SETUP_PIC_REG): Add .p2align directive.
35917 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35918 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35919 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35920 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35921 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35922 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35923 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35924 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35925 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35926 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35927 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35928 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35929 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35930 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35931 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35932 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35933 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35934 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35935 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35936 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35937 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35938 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35939 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35940 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35941 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35943 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35944 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35945 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35946 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35947 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35948 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35949 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35950 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35951 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35952 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35953 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35954 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35955 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35956 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35957 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35958
65dc3b75
JM
359592012-02-03 Joseph Myers <joseph@codesourcery.com>
35960
35961 * math/tst-CMPLX.c: Include <stdio.h>.
35962
d55bf177
JM
359632012-01-31 Joseph Myers <joseph@codesourcery.com>
35964
35965 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35966 float.
35967 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35968 * sysdeps/sparc/bits/mathdef.h: Likewise.
35969
69db4f8f
MP
359702012-01-31 Marek Polacek <polacek@redhat.com>
35971
35972 * libio/libio.h: Don't define _PARAMS.
35973 * locale/programs/config.h: Don't define PARAMS.
35974 * stdlib/strtol_l.c: Likewise.
35975 (__strtol_l): Remove PARAMS from the prototype.
35976
41b81892
UD
359772012-01-31 Ulrich Drepper <drepper@gmail.com>
35978
3b49edc0
UD
35979 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35980 names. Just use the correct names. Remove unnecessary wrapper
35981 functions.
35982 * malloc/arena.c: Likewise.
35983 * malloc/hooks.c: Likewise.
35984
41b81892
UD
35985 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35986 ARENA_TEST says not to. Simplify test for creation of a new arena.
35987 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35988
27a25b6e
UD
359892012-01-30 Ulrich Drepper <drepper@gmail.com>
35990
35991 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35992 into tail calls.
35993 (update_get_addr): New function.
35994 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35995 GET_ADDR_MODULE parameter.
35996
c8a89e7d
JM
359972012-01-30 Joseph Myers <joseph@codesourcery.com>
35998
35999 * crypt/cert.c: Remove __STDC__ conditionals.
36000 * crypt/crypt-entry.c: Likewise.
36001 * crypt/crypt_util.c: Likewise.
36002 * libio/filedoalloc.c: Likewise.
36003 * libio/fileops.c: Likewise.
36004 * libio/genops.c: Likewise.
36005 * libio/iofclose.c: Likewise.
36006 * libio/iofdopen.c: Likewise.
36007 * libio/iofopen.c: Likewise.
36008 * libio/iofopen64.c: Likewise.
36009 * libio/iogetdelim.c: Likewise.
36010 * libio/iopopen.c: Likewise.
36011 * libio/obprintf.c: Likewise.
36012 * libio/oldfileops.c: Likewise.
36013 * libio/oldiofclose.c: Likewise.
36014 * libio/oldiofdopen.c: Likewise.
36015 * libio/oldiofopen.c: Likewise.
36016 * libio/oldiopopen.c: Likewise.
36017 * libio/wfiledoalloc.c: Likewise.
36018 * libio/wgenops.c: Likewise.
36019 * locale/programs/xmalloc.c: Likewise.
36020 * misc/syslog.c: Likewise.
36021 * stdio-common/xbug.c: Likewise.
36022 * string/memchr.c: Likewise.
36023 * string/memcmp.c: Likewise.
36024 * string/memrchr.c: Likewise.
36025 * string/rawmemchr.c: Likewise.
36026 * sysdeps/posix/getcwd.c: Likewise.
36027 * time/strftime_l.c: Likewise.
36028
3b100462
JM
360292012-01-30 Joseph Myers <joseph@codesourcery.com>
36030
36031 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
36032 * config.make.in (config-cflags-sse2avx): Define.
36033 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36034 Fix typo.
36035
607998af
CM
360362012-01-29 Chris Metcalf <cmetcalf@tilera.com>
36037
36038 * scripts/config.guess: Update from upstream config git repository.
36039 * scripts/config.sub: Likewise.
36040
3601428f
CM
360412012-01-28 Chris Metcalf <cmetcalf@tilera.com>
36042
3ac8b282
CM
36043 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36044 (EM_NUM): Update.
36045 (R_TILEPRO_*, R_TILEGX_*): New macros.
36046
e034841e
CM
36047 * scripts/firstversions.awk: Fix bug in version range handling.
36048
540d7568
CM
36049 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36050
3601428f
CM
36051 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
36052
463de862
CM
36053 * include/sys/epoll.h: New file.
36054 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
36055 libc_hidden_def.
36056
73139a76
UD
360572012-01-28 Ulrich Drepper <drepper@gmail.com>
36058
96bc5b45
UD
36059 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
36060 Avoid unnecessary __WORDSIZE == 64 test.
36061 (fmaxf): Use VEX format if possible.
36062 (fmax): Likewise.
36063 (fminf): Likewise.
36064 (fmin): Likewise.
36065
56f6f6a2
UD
36066 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
36067 * math/math_private.h: Remove libc_fegetround* and
36068 libc_fesetround*.
36069 * sysdeps/i386/configure.in: Check for -msse2avx.
36070 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
36071 also if SSE2AVX is defined.
36072 Remove libc_fegetround* and libc_fesetround*.
36073 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
36074 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
36075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
36076 of HAS_YMM_USABLE.
36077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36078 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36079 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36080 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36081 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36082
73139a76
UD
36083 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
36084
d73f93a4
AZ
360852012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36086
36087 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
36088 size is not set.
36089 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36090
6ee65ed6
UD
360912012-01-27 Ulrich Drepper <drepper@gmail.com>
36092
36093 [BZ #13618]
36094 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
36095 relocation.
36096 * Makeconfig (libm): Define.
36097 * elf/Makefile: Add rules to build and run tst-relsort1.
36098 * elf/tst-relsort1.c: New file.
36099 * elf/tst-relsort1mod1.c: New file.
36100 * elf/tst-relsort1mod2.c: New file.
36101
8db21882
JM
361022012-01-27 Joseph Myers <joseph@codesourcery.com>
36103
36104 * math/s_ldexp.c: Remove __STDC__ conditionals.
36105 * math/s_ldexpf.c: Likewise.
36106 * math/s_ldexpl.c: Likewise.
36107 * math/s_nextafter.c: Likewise.
36108 * math/s_nexttowardf.c: Likewise.
36109 * math/s_significand.c: Likewise.
36110 * math/s_significandf.c: Likewise.
36111 * math/s_significandl.c: Likewise.
36112 * math/w_jnl.c: Likewise.
36113 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36114 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36115 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36116 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36117 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36119 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
36120 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36121 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36122 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36123 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36125 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36126 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36127 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36128 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36129 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36130 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36132 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36133 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36134 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36135 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36136 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36137 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36138 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36139 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36140 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36141 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36142 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36143 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36144 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36145 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36146 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36147 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36148 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36149 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36150 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36151 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36152 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36153 * sysdeps/ieee754/k_standard.c: Likewise.
36154 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36155 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36156 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36157 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36158 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36159 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36160 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36161 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36162 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36163 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36164 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36165 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36166 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36167 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36168 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36169 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36170 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36171 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36172 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36173 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36176 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36177 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36178 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36179 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36182 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36183 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36184 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36185 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36186 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36187 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36188 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36189 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36190 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36192 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36193 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36194 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36195 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36196 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36197 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36198 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36199 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36200 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36201 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36202 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36203 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36204 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36205 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36206 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36207 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36208 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36209 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36210 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36211 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36212 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36213 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36214 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36215 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36216 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36217 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36218 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36219 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36220 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36221 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36222 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36223 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36224 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36225 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36226 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36227 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36228 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36229 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36230 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36231 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36232 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36233 * sysdeps/ieee754/s_matherr.c: Likewise.
36234 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36235 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36236 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36237 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36238
965a54a4
JM
362392012-01-26 Joseph Myers <joseph@codesourcery.com>
36240
36241 * crypt/md5.h: Remove __STDC__ conditionals.
36242 * libio/libioP.h: Likewise.
36243 * locale/programs/config.h: Likewise.
36244 * sysdeps/generic/sysdep.h: Likewise.
36245 * sysdeps/i386/asm-syntax.h: Likewise.
36246 * sysdeps/s390/asm-syntax.h: Likewise.
36247 * sysdeps/unix/sysdep.h: Likewise.
36248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36250
7071ad79
JM
362512012-01-26 Joseph Myers <joseph@codesourcery.com>
36252
36253 * libio/libio.h: Remove __STDC__ conditionals.
36254 * malloc/obstack.h: Likewise.
36255 * math/complex.h: Likewise.
36256 * math/math.h: Likewise.
36257 * sysdeps/generic/_G_config.h: Likewise.
36258 * sysdeps/gnu/_G_config.h: Likewise.
36259 * sysdeps/mach/hurd/_G_config.h: Likewise.
36260 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36261 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36262 * sysdeps/sparc/bits/mathdef.h: Likewise.
36263
afc5ed09
UD
362642012-01-26 Ulrich Drepper <drepper@gmail.com>
36265
36266 [BZ #13583]
36267 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 36268 Clean up HAS_* macros.
afc5ed09 36269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
36270 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36271 possible.
36272 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36273 HAS_AVX.
36274 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36275 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36276 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36277 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36278 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 36279
bdb6de1d
JM
362802012-01-25 Joseph Myers <joseph@codesourcery.com>
36281
36282 * elf/tst-unique3.cc (gets): Remove declaration.
36283 * elf/tst-unique3lib.cc (gets): Likewise.
36284 * elf/tst-unique3lib2.cc (gets): Likewise.
36285 * elf/tst-unique4.cc (gets): Likewise.
36286
b15549e6
UD
362872012-01-24 Ulrich Drepper <drepper@gmail.com>
36288
36289 * include/stdio.h: Add C++ protection. Add gets declarations and
36290 definitions.
36291 * debug/tst-chk1.c: Don't declare gets here.
36292 * stdio-common/tst-gets.c: Likewise.
36293
a037381f
JM
362942012-01-24 Joseph Myers <joseph@codesourcery.com>
36295
36296 * posix/glob: Remove directory.
36297
f1d4aa75
JM
362982012-01-24 Joseph Myers <joseph@codesourcery.com>
36299
36300 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36301
81c0c964
PT
363022012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36303
36304 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36305 of the non-standard EPFNOSUPPORT.
36306
0ea698ae
ST
363072011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36308
36309 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36310 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36311 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36312
d220b117
UD
363132012-01-21 Ulrich Drepper <drepper@gmail.com>
36314
36315 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36316
3e1aa84e
UD
363172012-01-20 Ulrich Drepper <drepper@gmail.com>
36318
36319 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36320 transient errors.
36321 * nscd/grpcache.c (cache_addgr): Likewise.
36322 * nscd/hstcache.c (cache_addhst): Likewise.
36323 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36324 * nscd/pwdcache.c (cache_addpw): Likewise.
36325 * nscd/servicescache.c (cache_addserv): Likewise.
36326
400aa020
UD
363272012-01-16 Ulrich Drepper <drepper@gmail.com>
36328
d77e7869
UD
36329 * malloc/malloc.c: Various cleanups.
36330 * malloc/hooks.c: Likewise.
36331
400aa020
UD
36332 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36333 * stdlib/bug-fmtmsg1.c: New file.
36334
36335 * stdlib/fmtmsg.c (init): Add missing unlock.
36336 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36337
e0a309cf
MP
363382012-01-12 Marek Polacek <polacek@redhat.com>
36339
36340 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36341 and _GNU_SOURCE.
36342
929d11c7
WS
363432012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36344
36345 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36346 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36347 macro to ensure uniqueness of label name.
36348 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36349 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36350
41d0e869
UD
363512012-01-11 Ulrich Drepper <drepper@gmail.com>
36352
0cc5ed3b
UD
36353 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36354
41d0e869
UD
36355 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36356 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36357 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36358 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36359
a47a831a
UD
363602012-01-10 Ulrich Drepper <drepper@gmail.com>
36361
daa891c0
UD
36362 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36363
36364 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36365 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36366 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36367
e58ef0f2
UD
36368 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36369
a47a831a 36370 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
36371 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36372 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 36373 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
36374
36375 * math/bits/math-finite.h: Add ldexp support.
36376
a0bfc9c7
MP
363772012-01-10 Marek Polacek <polacek@redhat.com>
36378
36379 * locale/programs/localedef.h (show_archive_content): Add noreturn
36380 attribute.
36381
d6e97a1d
UD
363822012-01-09 Ulrich Drepper <drepper@gmail.com>
36383
36384 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36385
d5835c26
UD
363862012-01-08 Ulrich Drepper <drepper@gmail.com>
36387
e5f484c6
UD
36388 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36389
d5835c26
UD
36390 * io/Makefile (headers): Add bits/poll2.h.
36391
d1f741e9
WS
363922011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36393
36394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36395 typo #include statement.
36396
ec09c1c4
UD
363972012-01-08 Ulrich Drepper <drepper@gmail.com>
36398
36399 * include/sys/cdefs.h: Define __attribute_alloc_size.
36400 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36401 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36402 * elf/pldd.c: Likewise.
36403 * iconv/iconv_charmap.c: Likewise.
36404 * iconv/iconvconfig.c: Likewise.
36405 * iconv/strtab.c: Likewise.
36406 * locale/programs/locale.c: Likewise.
36407 * locale/programs/localedef.h: Likewise.
36408 * locale/programs/simple-hash.c: Likewise.
36409 * nscd/nscd.h: Likewise.
36410 * nss/makedb.c: Likewise.
36411 * sysdeps/generic/ldconfig.h: Likewise.
36412 * locale/programs/localedef.c: Remove xmalloc prototype.
36413 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36414
20b38e03
PP
364152012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36416
36417 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36418 appropriate.
36419
a0da5fe1
UD
364202012-01-08 Ulrich Drepper <drepper@gmail.com>
36421
1d5a644a 36422 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36423 * math/tst-CMPLX.c: New file.
1d5a644a 36424
8784a6db
UD
36425 * math/complex.h (CMPLXL): Fix typo.
36426
d9a216c0
UD
36427 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36428 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36429 GLIBC_2.16.
36430 * debug/tst-chk1.c: Add poll and ppoll tests.
36431 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36432 * include/sys/poll.h: Add hidden proto for ppoll.
36433 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36434 * sysdeps/mach/hurd/ppoll.c: Likewise.
36435 * io/ppoll.c: Likewise.
36436 * debug/poll_chk.c: New file.
36437 * debug/ppoll_chk.c: New file.
36438 * include/bits/poll2.h: New file.
36439 * io/bits/poll2.h: New file.
36440
ac097f5c
UD
36441 [BZ #1350]
36442 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36443
2119dcfa
UD
36444 * configure.in: static is always set to yes. Remove.
36445 * config.make.in: Don't set build-static.
36446 * Makeconfig: Remove use of build-static.
36447 * dlfcn/Makefile: Likewise.
36448 * elf/Makefile: Likewise.
36449 * math/Makefile: Likewise.
36450 * misc/Makefile: Likewise.
36451 * nptl/Makefile: Likewise.
36452 * sysdeps/mach/hurd/Makefile: Likewise.
36453
121766a9
UD
36454 * configure.in: PWD_P is not used anymore.
36455 * config.make.in: Remove PWD_P entry.
36456
51a1d39c 36457 * configure.in: Remove last remnants of RANLIB.
8720d066 36458 No need to check for signed size_t anymore.
215f4bdc
UD
36459 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36460 and IA-64.
3857022a 36461 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36462 * aclocal.m4: Likewise.
36463
d3ed7225
UD
36464 * wcsmbs/mbrtoc16.c: Implement using towc function.
36465 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36466 * wcsmbs/wcsmbsload.c: Likewise.
36467 * iconv/gconv_simple.c: Likewise.
36468 * iconv/gconv_int.h: Likewise.
36469 * iconv/gconv_builtin.h: Likewise.
36470 * iconv/iconv_prog.c: Remove CHAR16 handling.
36471
36472 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36473
36474 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36475
a0da5fe1
UD
36476 * configure.in: Remove --with-elf and --enable-bounded options.
36477 Dont set base_machine for ia64. More non-ELF conditions removed.
36478 Remove testing and setting of leading underscore information.
36479 * config.make.in (build-bounded): Set to no.
36480 * config.h.in: Remove NO_UNDERSCORES entry.
36481 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36482 them.
36483 * csu/start.c: Remove !NO_UNDERSCORE code.
36484 * locale/localeinfo.h: Likewise.
36485 * sysdeps/generic/machine-gmon.h: Likewise.
36486 * sysdeps/generic/sysdep.h: Likewise.
36487 * sysdeps/i386/sysdep.h: Likewise.
36488 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36489 * sysdeps/mach/sysdep.h: Likewise.
36490 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36491 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36492 * sysdeps/sh/sysdep.h: Likewise.
36493 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36494 * sysdeps/unix/i386/sysdep.S: Likewise.
36495 * sysdeps/unix/sparc/start.c: Likewise.
36496 * sysdeps/unix/sparc/sysdep.S: Likewise.
36497 * sysdeps/unix/sparc/sysdep.h: Likewise.
36498 * sysdeps/unix/start.c: Likewise.
36499 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36500 * sysdeps/x86_64/sysdep.h: Likewise.
36501
df78418a
UD
365022012-01-07 Ulrich Drepper <drepper@gmail.com>
36503
a784e502
UD
36504 [BZ #13553]
36505 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36506 for non-gcc.
36507 * argp/argp-fmtstream.h: Use const instead __const.
36508 * argp/argp.h: Likewise.
36509 * assert/assert.h: Likewise.
36510 * bits/fenv.h: Likewise.
36511 * bits/sched.h: Likewise.
36512 * bits/sigset.h: Likewise.
36513 * bits/sigthread.h: Likewise.
36514 * catgets/nl_types.h: Likewise.
36515 * conform/data/pthread.h-data: Likewise.
36516 * crypt/crypt-private.h: Likewise.
36517 * crypt/crypt.h: Likewise.
36518 * crypt/crypt_util.c: Likewise.
36519 * ctype/ctype.h: Likewise.
36520 * debug/execinfo.h: Likewise.
36521 * debug/mbsnrtowcs_chk.c: Likewise.
36522 * debug/mbsrtowcs_chk.c: Likewise.
36523 * debug/wcsnrtombs_chk.c: Likewise.
36524 * debug/wcsrtombs_chk.c: Likewise.
36525 * debug/wcstombs_chk.c: Likewise.
36526 * dirent/dirent.h: Likewise.
36527 * dlfcn/dlfcn.h: Likewise.
36528 * elf/neededtest4.c: Likewise.
36529 * grp/grp.h: Likewise.
36530 * gshadow/gshadow.h: Likewise.
36531 * iconv/gconv.h: Likewise.
36532 * iconv/gconv_int.h: Likewise.
36533 * iconv/gconv_simple.c: Likewise.
36534 * iconv/iconv.h: Likewise.
36535 * iconv/loop.c: Likewise.
36536 * iconv/skeleton.c: Likewise.
36537 * include/aio.h: Likewise.
36538 * include/aliases.h: Likewise.
36539 * include/argz.h: Likewise.
36540 * include/arpa/inet.h: Likewise.
36541 * include/assert.h: Likewise.
36542 * include/dirent.h: Likewise.
36543 * include/dlfcn.h: Likewise.
36544 * include/execinfo.h: Likewise.
36545 * include/fcntl.h: Likewise.
36546 * include/fenv.h: Likewise.
36547 * include/glob.h: Likewise.
36548 * include/grp.h: Likewise.
36549 * include/libintl.h: Likewise.
36550 * include/mntent.h: Likewise.
36551 * include/netdb.h: Likewise.
36552 * include/pwd.h: Likewise.
36553 * include/rpc/netdb.h: Likewise.
36554 * include/sched.h: Likewise.
36555 * include/search.h: Likewise.
36556 * include/shadow.h: Likewise.
36557 * include/signal.h: Likewise.
36558 * include/stdio.h: Likewise.
36559 * include/stdlib.h: Likewise.
36560 * include/string.h: Likewise.
36561 * include/sys/socket.h: Likewise.
36562 * include/sys/stat.h: Likewise.
36563 * include/sys/statfs.h: Likewise.
36564 * include/sys/statvfs.h: Likewise.
36565 * include/sys/syslog.h: Likewise.
36566 * include/sys/time.h: Likewise.
36567 * include/sys/uio.h: Likewise.
36568 * include/time.h: Likewise.
36569 * include/unistd.h: Likewise.
36570 * include/utmp.h: Likewise.
36571 * include/wchar.h: Likewise.
36572 * include/wctype.h: Likewise.
36573 * inet/aliases.h: Likewise.
36574 * inet/arpa/inet.h: Likewise.
36575 * inet/netinet/ether.h: Likewise.
36576 * inet/netinet/in.h: Likewise.
36577 * intl/libintl.h: Likewise.
36578 * io/bits/fcntl2.h: Likewise.
36579 * io/fcntl.h: Likewise.
36580 * io/ftw.h: Likewise.
36581 * io/sys/poll.h: Likewise.
36582 * io/sys/stat.h: Likewise.
36583 * io/sys/statfs.h: Likewise.
36584 * io/sys/statvfs.h: Likewise.
36585 * io/utime.h: Likewise.
36586 * libio/bits/stdio.h: Likewise.
36587 * libio/bits/stdio2.h: Likewise.
36588 * libio/libio.h: Likewise.
36589 * libio/libioP.h: Likewise.
36590 * libio/stdio.h: Likewise.
36591 * locale/lc-ctype.c: Likewise.
36592 * locale/locale.h: Likewise.
36593 * login/utmp.h: Likewise.
36594 * malloc/arena.c: Likewise.
36595 * malloc/malloc.c: Likewise.
36596 * malloc/malloc.h: Likewise.
36597 * malloc/mcheck.c: Likewise.
36598 * malloc/mtrace.c: Likewise.
36599 * math/bits/mathcalls.h: Likewise.
36600 * math/fenv.h: Likewise.
36601 * math/math_private.h: Likewise.
36602 * misc/bits/error.h: Likewise.
36603 * misc/bits/syslog.h: Likewise.
36604 * misc/err.h: Likewise.
36605 * misc/error.h: Likewise.
36606 * misc/fstab.h: Likewise.
36607 * misc/mntent.h: Likewise.
36608 * misc/regexp.h: Likewise.
36609 * misc/search.h: Likewise.
36610 * misc/sgtty.h: Likewise.
36611 * misc/sys/mman.h: Likewise.
36612 * misc/sys/syslog.h: Likewise.
36613 * misc/sys/uio.h: Likewise.
36614 * misc/sys/xattr.h: Likewise.
36615 * misc/ttyent.h: Likewise.
36616 * nis/rpcsvc/ypclnt.h: Likewise.
36617 * nss/nss.h: Likewise.
36618 * posix/bits/unistd.h: Likewise.
36619 * posix/fnmatch.h: Likewise.
36620 * posix/glob.h: Likewise.
36621 * posix/sched.h: Likewise.
36622 * posix/spawn.h: Likewise.
36623 * posix/sys/wait.h: Likewise.
36624 * posix/unistd.h: Likewise.
36625 * posix/wordexp.h: Likewise.
36626 * pwd/pwd.h: Likewise.
36627 * resolv/netdb.h: Likewise.
36628 * resource/sys/resource.h: Likewise.
36629 * rt/aio.h: Likewise.
36630 * rt/bits/mqueue2.h: Likewise.
36631 * rt/mqueue.h: Likewise.
36632 * shadow/shadow.h: Likewise.
36633 * signal/signal.h: Likewise.
36634 * socket/send.c: Likewise.
36635 * socket/sendto.c: Likewise.
36636 * socket/sys/socket.h: Likewise.
36637 * stdio-common/printf.h: Likewise.
36638 * stdlib/bits/stdlib.h: Likewise.
36639 * stdlib/fmtmsg.h: Likewise.
36640 * stdlib/monetary.h: Likewise.
36641 * stdlib/stdlib.h: Likewise.
36642 * stdlib/ucontext.h: Likewise.
36643 * streams/stropts.h: Likewise.
36644 * string/argz.h: Likewise.
36645 * string/bits/string2.h: Likewise.
36646 * string/string.h: Likewise.
36647 * string/strings.h: Likewise.
36648 * sunrpc/rpc/auth.h: Likewise.
36649 * sunrpc/rpc/auth_des.h: Likewise.
36650 * sunrpc/rpc/clnt.h: Likewise.
36651 * sunrpc/rpc/netdb.h: Likewise.
36652 * sunrpc/rpc/pmap_clnt.h: Likewise.
36653 * sunrpc/rpc/xdr.h: Likewise.
36654 * sysdeps/generic/inttypes.h: Likewise.
36655 * sysdeps/generic/net/if.h: Likewise.
36656 * sysdeps/generic/sys/swap.h: Likewise.
36657 * sysdeps/gnu/net/if.h: Likewise.
36658 * sysdeps/gnu/utmpx.h: Likewise.
36659 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36660 * sysdeps/i386/i486/bits/string.h: Likewise.
36661 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36662 * sysdeps/s390/bits/string.h: Likewise.
36663 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36664 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36665 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36666 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36667 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36668 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36669 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36670 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36671 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36672 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36673 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36674 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36675 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36676 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36677 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36678 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36679 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36681 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36682 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36683 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36684 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36685 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36686 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36687 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36688 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36689 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36690 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36691 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36692 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36693 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36694 * sysvipc/sys/ipc.h: Likewise.
36695 * sysvipc/sys/msg.h: Likewise.
36696 * sysvipc/sys/sem.h: Likewise.
36697 * sysvipc/sys/shm.h: Likewise.
36698 * termios/termios.h: Likewise.
36699 * time/sys/time.h: Likewise.
36700 * time/time.h: Likewise.
36701 * wcsmbs/bits/wchar2.h: Likewise.
36702 * wcsmbs/uchar.h: Likewise.
36703 * wcsmbs/wchar.h: Likewise.
36704 * wctype/wctype.h: Likewise.
36705
0269750c
UD
36706 [BZ #13551]
36707 * Makeconfig: Remove all but ELF support including AIX support.
36708 * Makerules: Likewise.
36709 * config.h.in: Likewise.
36710 * config.make.in: Likewise.
36711 * configure: Likewise.
36712 * configure.in: Likewise.
36713 * csu/Makefile: Likewise.
36714 * csu/version.c: Likewise.
36715 * debug/Makefile: Likewise.
36716 * dlfcn/Makefile: Likewise.
36717 * elf/Makefile: Likewise.
36718 * extra-lib.mk: Likewise.
36719 * iconv/Makefile: Likewise.
36720 * include/libc-symbols.h: Likewise.
36721 * include/shlib-compat.h: Likewise.
36722 * resolv/Makefile: Likewise.
36723 * resolv/res_libc.c: Likewise.
36724 * rt/Makefile: Likewise.
36725 * sysdeps/i386/asm-syntax.h: Likewise.
36726 * sysdeps/i386/sysdep.h: Likewise.
36727 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36728 * sysdeps/mach/sysdep.h: Likewise.
36729 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36730 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36731 * sysdeps/s390/asm-syntax.h: Likewise.
36732 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36733 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36734 * sysdeps/sh/sysdep.h: Likewise.
36735 * sysdeps/unix/sparc/sysdep.h: Likewise.
36736 * sysdeps/wordsize-32/divdi3.c: Likewise.
36737 * sysdeps/x86_64/sysdep.h: Likewise.
36738
00bbd29b
UD
36739 * argp/Versions: Remove _argp_unlock_xxx.
36740
36741 [BZ #13559]
36742 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36743 * abilist/libBrokenLocale.abilist: Likewise.
36744 * abilist/libanl.abilist: Likewise.
36745 * abilist/libc.abilist: Likewise.
36746 * abilist/libcrypt.abilist: Likewise.
36747 * abilist/libdl.abilist: Likewise.
36748 * abilist/libm.abilist: Likewise.
36749 * abilist/libnsl.abilist: Likewise.
36750 * abilist/libpthread.abilist: Likewise.
36751 * abilist/libresolv.abilist: Likewise.
36752 * abilist/librt.abilist: Likewise.
36753 * abilist/libthread_db.abilist: Likewise.
36754 * abilist/libutil.abilist: Likewise.
36755 * abilist/libnss_db.abilist: New file.
36756
36757 * scripts/abilist.awk: Add support for indirect functions.
36758
a2693a0e
UD
36759 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36760
3f05895f
UD
36761 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36762
ecb6fb48
UD
36763 * shlib-versions: Remove entries for ports architectures.
36764
664f8cb9
UD
36765 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36766 files in ports.
36767 * elf/stackguard-macros.h: Remove support for IA-64.
36768 * elf/tst-auditmod1.c: Likewise.
36769 * sysdeps/generic/ldsodefs.h: Likewise.
36770
7ae81d88
UD
36771 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36772 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36773 configure files.
36774
bdeba135
UD
36775 [BZ #13552]
36776 * configure.in: Remove --enable-omitfp support.
36777 * FAQ.in: Adjust.
36778 * config.make.in: Likewise.
36779 * Makeconfig: Likewise.
36780 * manual/install.texi: Likewise.
36781
d75a0a62
UD
36782 In case anyone cares, the IA-64 architecture could move to ports.
36783 * sysdeps/ia64/*: Removed.
36784 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36785 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36786
dcc9756b
UD
36787 [BZ #13555]
36788 * configure.in: Remove entries for unsupported architectures.
36789
d3761ebc 36790 [BZ #13533]
9954432e
UD
36791 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36792 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36793 routines.
36794 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36795 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36796 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36797 fall back to using wcrtomb.
36798 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36799 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36800 renaming.
36801 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36802 * wcsmbs/tst-c16c32-1.c: New file.
36803
36804 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36805 local variable.
36806
c3a87236
UD
36807 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36808
28926a1b
UD
36809 * elf/tst-unique3.cc: Add explicit declaration of gets.
36810 * elf/tst-unique3lib.cc: Likewise.
36811 * elf/tst-unique3lib2.cc: Likewise.
36812 * elf/tst-unique4.cc: Likewise.
36813
df78418a
UD
36814 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36815
8ecd6b2a
JM
368162012-01-06 Joseph Myers <joseph@codesourcery.com>
36817
36818 [BZ #13566]
36819 * assert/assert.h (static_assert): Don't define for C++.
36820 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36821 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36822
9f115170
UD
368232012-01-03 Ulrich Drepper <drepper@gmail.com>
36824
5e0d0300
UD
36825 * iconv/loop.c (single loop): Fix assertion in storing of
36826 remaining bytes.
36827
9f115170
UD
36828 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36829
81fb02b0
UD
368302012-01-01 Ulrich Drepper <drepper@gmail.com>
36831
36832 * posix/getconf.c: Update copyright year.
36833 * nss/getent.c: Likewise.
a316c1f6 36834 * nss/makedb.c: Likewise.
81fb02b0
UD
36835 * iconv/iconvconfig.c: Likewise.
36836 * iconv/iconv_prog.c: Likewise.
36837 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36838 * elf/pldd.c: Likewise.
36839 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36840 * catgets/gencat.c: Likewise.
36841 * csu/version.c: Likewise.
36842 * elf/ldd.bash.in: Likewise.
36843 * elf/sprof.c (print_version): Likewise.
36844 * locale/programs/locale.c: Likewise.
36845 * locale/programs/localedef.c: Likewise.
a316c1f6 36846 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36847 * nscd/nscd.c (print_version): Likewise.
36848 * debug/xtrace.sh: Likewise.
36849 * malloc/memusage.sh: Likewise.
36850 * malloc/mtrace.pl: Likewise.
36851 * debug/catchsegv.sh: Likewise.
36852
2ba92745
JJ
368532011-12-30 Jakub Jelinek <jakub@redhat.com>
36854
36855 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36856 pure attribute.
36857
dadebdae
UD
368582011-12-24 Ulrich Drepper <drepper@gmail.com>
36859
d3761ebc 36860 [BZ #13533]
db6af3eb
UD
36861 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36862 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36863 transformations.
36864 * iconv/gconv_int.h: Likewise.
36865 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36866 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36867 from libc for GLIBC_2.16.
36868 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36869 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36870 * wcsmbs/uchar.h: Really define mbstate_t.
36871 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36872 * wcsmbs/c16rtomb.c: New file.
36873 * wcsmbs/mbrtoc16.c: New file.
36874 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36875 for C/POSIX locale.
36876 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36877 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36878
dadebdae
UD
36879 * wcsmbs/wchar.h: Add missing __restrict.
36880
67371b56
UD
368812011-12-23 Ulrich Drepper <drepper@gmail.com>
36882
74033a25
UD
36883 [BZ #13532]
36884 * time/Makefile (routines): Add timespec_get.
36885 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36886 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36887 timespec for ISO C11.
36888 * time/timespec_get.c: New file.
36889 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36890 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36891
380d7e87
UD
36892 [BZ #13531]
36893 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36894 * stdlib/stdlib.h: Declare aligned_alloc.
36895 * Versions.def: Add GLIBC_2.16 for libc.
36896 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36897
4e9e7a35
UD
36898 [BZ 13527]
36899 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36900 ISO C11.
36901
380d7e87 36902 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36903 code.
36904
03a71829
UD
36905 [BZ #13528]
36906 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36907
839e283e
UD
36908 [BZ #13529]
36909 * assert/assert.h (static_assert): Define.
36910
ce5294e2 36911 * version.h: Update for 2.16 development version.
90fa7312 36912
8d44e150 36913 [BZ #13526]
d7809905
UD
36914 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36915 _ISOC11_SOURCE.
36916
c0da14cd
UD
36917 * version.h (RELEASE): Bump for 2.15 release.
36918 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36919
530a3249
MP
36920 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36921 Patch by Marek Polacek <mpolacek@redhat.com>.
36922
67371b56
UD
36923 * bits/byteswap.h: Protect long long constants with __extension__.
36924 * sysdeps/i386/bits/byteswap.h: Likewise.
36925 * sysdeps/ia64/bits/byteswap.h: Likewise.
36926 * sysdeps/s390/bits/byteswap.h: Likewise.
36927 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36928
15db4de1
LD
369292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36930
36931 [BZ #13540]
bbe315ea
LD
36932 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36933 destination buffer.
15db4de1
LD
36934 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36935
2b2596b1
MP
369362011-12-23 Marek Polacek <polacek@redhat.com>
36937
36938 * elf/dl-addr.c (determine_info): Add inline keyword.
36939 * elf/tst-auditmod4b.c (check_avx): Likewise.
36940 * elf/tst-auditmod6b.c (check_avx): Likewise.
36941 * elf/tst-auditmod6c.c (check_avx): Likewise.
36942 * elf/tst-auditmod7b.c (check_avx): Likewise.
36943
70c6c246
UD
369442011-12-23 Ulrich Drepper <drepper@gmail.com>
36945
36946 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36947 !__SSE_MATH__.
36948
c044cf14
LD
369492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36950
15db4de1 36951 [BZ #13540]
c044cf14
LD
36952 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36953 processing for last bytes.
36954
6b13d9d9
BH
369552011-08-06 Bruno Haible <bruno@clisp.org>
36956
d455f537
BH
36957 [BZ #13061]
36958 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36959 U+0385, not to U+1FEE.
36960
6b13d9d9
BH
36961 [BZ #13062]
36962 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36963 entry for U+00A5 U+0301.
36964
db910efd
UD
369652011-12-22 Ulrich Drepper <drepper@gmail.com>
36966
27deeafc
UD
36967 [BZ #13166]
36968 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36969 buffer for the output is too small.
36970
aed9d171
UD
36971 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36972 optimization.
36973
db910efd
UD
36974 [BZ #13185]
36975 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36976 SSE flags if possible.
36977
2bd779ae
LD
369782011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36979
e7f9dac3 36980 [BZ #13540]
2bd779ae
LD
36981 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36982 processing for last bytes.
36983
154bfc16
JM
369842011-12-22 Joseph Myers <joseph@codesourcery.com>
36985
36986 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36987 (syscall-list-default-options, syscall-list-default-condition)
36988 (syscall-list-includes): Define.
36989 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36990 list of ABIs and options and #if conditions for each ABI. Do not
36991 handle common syscalls between ABIs specially.
36992 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36993 Remove.
36994 (syscall-list-variants, syscall-list-32bit-options)
36995 (syscall-list-32bit-condition, syscall-list-64bit-options)
36996 (syscall-list-64bit-condition): Define.
36997 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36998 (syscall-list-variants, syscall-list-32bit-options)
36999 (syscall-list-32bit-condition, syscall-list-64bit-options)
37000 (syscall-list-64bit-condition): Define.
37001 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37002 Remove.
37003 (syscall-list-variants, syscall-list-32bit-options)
37004 (syscall-list-32bit-condition, syscall-list-64bit-options)
37005 (syscall-list-64bit-condition): Define.
37006 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37007 Remove.
37008 (syscall-list-variants, syscall-list-32bit-options)
37009 (syscall-list-32bit-condition, syscall-list-64bit-options)
37010 (syscall-list-64bit-condition): Define.
37011
21eaf3a5
UD
370122011-12-22 Ulrich Drepper <drepper@gmail.com>
37013
16c6f992
UD
37014 * locale/iso-639.def: Add brx entry.
37015
41043168
UD
37016 [BZ #13328]
37017 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37018 Proposed by Mariusz_Cukr <marcukr@op.pl>.
37019
21eaf3a5
UD
37020 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37021 __feraiseexcept_renamed.
37022
e3a851a2
UD
370232011-12-21 Ulrich Drepper <drepper@gmail.com>
37024
4920765e
UD
37025 [BZ #13538]
37026 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37027 EPOLLET with unsigned values.
37028 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37029 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37030
e3a851a2
UD
37031 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37032 to large cancellation.
37033 * math/s_cacoshf.c: Likewise.
37034 * math/s_cacoshl.c: Likewise.
37035
b27e24b8
RK
370362011-11-18 Richard B. Kreckel <kreckel@ginac.de>
37037
37038 [BZ #13305]
aebefeee 37039 [BZ #12786]
b27e24b8
RK
37040 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37041 * math/s_cacoshf.c: Likewise.
37042 * math/s_cacoshl.c: Likewise.
37043
ee190f67
UD
370442011-12-21 Ulrich Drepper <drepper@gmail.com>
37045
37046 [BZ #13439]
37047 * iconv/gconv.h: Define __GCONV_SWAP.
37048 * iconvdata/unicode.c: The swap bit must be stored in __flags.
37049 * iconvdata/utf-16.c: Likewise.
37050 * iconvdata/utf-32.c: Likewise.
37051
707f25df
AS
370522011-12-21 Andreas Schwab <schwab@linux-m68k.org>
37053
37054 [BZ #13524]
37055 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
37056 numerator after shifting it by one limb.
37057
d2daaa1e
RÁE
370582011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
37059
37060 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
37061 under [__USE_EXTERN_INLINES].
37062
a4647e72
UD
370632011-12-17 Ulrich Drepper <drepper@gmail.com>
37064
37065 [BZ #13446]
37066 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
37067
f0b264f1
AZ
370682011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37069
37070 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
37071 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
37072 optimized code.
37073 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
37074 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
37075 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
37076 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
37077 for strncasecmp/strncasecmp_l compilation.
37078 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
37079 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
37080
8ef4f244
MP
370812011-12-08 Marek Polacek <mpolacek@redhat.com>
37082
37083 [BZ #13484]
37084 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
37085 of __asm__.
37086
97ac2654
UD
370872011-12-17 Ulrich Drepper <drepper@gmail.com>
37088
37089 [BZ #13506]
37090 * time/tzfile.c (__tzfile_read): Check values from file header.
37091
91d2a845
WS
370922011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37093
37094 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
37095 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
37096 * powerpc/powerpc32/dl-start.S: Likewise.
37097 * powerpc/powerpc32/elf/start.S: Likewise.
37098 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37099 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
37100 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
37101 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
37102 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
37103 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
37104 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
37105 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37106 * powerpc/powerpc32/fpu/s_round.S: Likewise.
37107 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
37108 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
37109 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
37110 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37111 * powerpc/powerpc32/memset.S: Likewise.
37112 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
37113 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37114 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37115 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37116 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37117 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37118 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37119 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37120 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
37121 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
37122 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
37123 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37124 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37125
a1267ba1
AZ
371262011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37127
37128 * math/libm-test.inc: Added more nearbyint tests.
37129 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
37130 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
37131 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
37132 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
37133
ad8ac1bd
RL
371342011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
37135
37136 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
37137 FD_CLOEXEC.
37138
1d3e4b61
UD
371392011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37140
37141 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
37142 Add wcscpy-ssse3 wcscpy-c.
37143 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
37144 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
37145 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
37146 * sysdeps/x86_64/wcschr.S: New file.
37147 * sysdeps/x86_64/wcsrchr.S: New file.
37148 * string/test-strcmp.c: Remove checking of wcscmp function for
37149 wrong alignments.
37150 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
37151 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
37152 wcsrchr-sse2 wcsrchr-c.
37153 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
37154 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
37155 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37156 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37157 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37158 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37159 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37160 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37161 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37162 * wcsmbc/wcschr.c (WCSCHR): New macro.
37163
5b330a2d
UD
371642011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37165
37166 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37167 * wcsmbs/test-wcsrchr.c: New file.
37168 * string/test-strrchr.c: Add wcsrchr support.
37169 (WIDE): New macro.
37170 * wcsmbs/test-wcscpy.c: New file.
37171 * string/test-strcpy.c: Add wcscpy support.
37172 (WIDE): New macro.
26428b7c 37173
f039c043
UD
371742011-12-10 Ulrich Drepper <drepper@gmail.com>
37175
37176 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37177 the inner loop.
37178
850fb039
AS
371792011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37180
37181 [BZ #13472]
37182 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37183
4efbd5cb
UD
371842011-12-04 Ulrich Drepper <drepper@gmail.com>
37185
52ff5dd0 37186 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 37187 Minor optimizations.
52ff5dd0 37188
4efbd5cb
UD
37189 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37190 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37191 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37192
8a426e12
UD
371932011-12-03 Ulrich Drepper <drepper@gmail.com>
37194
aff2453d
UD
37195 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37196 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37197 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37198 for gcc to avoid warnings.
37199 * inet/Makefile (tests): Add tst-checks.
37200 * inet/tst-checks.c: New file.
37201
37202 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37203 warning.
37204
37205 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37206 __wmemcmp_sse2.
37207
37208 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37209 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37210
8a426e12
UD
37211 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37212
9bea3473
UD
372132011-12-02 Ulrich Drepper <drepper@gmail.com>
37214
3a965496
UD
37215 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37216 problem.
37217
9bea3473
UD
37218 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37219
f101631b
UD
372202011-11-29 Joseph Myers <joseph@codesourcery.com>
37221
37222 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37223 conditional on GCC version.
37224 (__arch_compare_and_exchange_val_8_acq)
37225 (__arch_compare_and_exchange_val_16_acq)
37226 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37227 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37228 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37229
a98275aa
UD
372302011-12-02 Joseph Myers <joseph@codesourcery.com>
37231
37232 * sysdeps/sh/backtrace.c: New file.
37233
d4cc29a2
AS
372342011-12-02 Andreas Schwab <schwab@redhat.com>
37235
37236 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37237 parenthesis.
37238
6257af2d
AS
372392011-12-01 Andreas Schwab <schwab@redhat.com>
37240
37241 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37242 falling back to utime.
37243
b5f44c1a
AS
372442011-11-30 Andreas Schwab <schwab@redhat.com>
37245
37246 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37247 expectations for float.
37248
f3a6cc0a
AS
372492011-11-29 Andreas Schwab <schwab@redhat.com>
37250
37251 * locale/weight.h (findidx): Add parameter len.
37252 * locale/weightwc.h (findidx): Likewise.
37253 * posix/fnmatch_loop.c (FCT): Adjust caller.
37254 * posix/regcomp.c (build_equiv_class): Likewise.
37255 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37256 * posix/regexec.c (check_node_accept_bytes): Likewise.
37257 * string/strcoll_l.c (STRCOLL): Likewise.
37258 * string/strxfrm_l.c (STRXFRM): Likewise.
37259
9d65ea3a
UD
372602011-11-17 Ulrich Drepper <drepper@gmail.com>
37261
37262 * Makefile.in: Remove CVSOPT handling.
37263 * configure.in: Remove use of AC_REVISION.
37264 * iconvdata/Makefile (distribute): No need to filter out CVS.
37265 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37266 handling.
37267
5583a086
AS
372682011-11-16 Andreas Schwab <schwab@redhat.com>
37269
37270 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37271 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37272 [USE_AS_STRNCASECMP_L]: Likewise.
37273 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37274 NO_TLS_DIRECT_SEG_REFS.
37275 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37276 Fix argument offsets for non-PIC.
37277 [USE_AS_STRNCASECMP_L]: Likewise.
37278 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37279 NO_TLS_DIRECT_SEG_REFS.
37280
d62a8200
UD
372812011-11-15 Ulrich Drepper <drepper@gmail.com>
37282
9d65ea3a 37283 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
37284 O_CLOEXEC.
37285 * locale/loadlocale.c (_nl_load_locale): Likewise.
37286
09f93bd3
AS
372872011-11-15 Andreas Schwab <schwab@redhat.com>
37288
446514f9
AS
37289 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37290 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37291 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37292 (SYSCALL_GETTIME): Set errno on error.
37293
09f93bd3
AS
37294 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37295 count references to noai6ai_cached.
37296
312be3f9
UD
372972011-11-15 Ulrich Drepper <drepper@gmail.com>
37298
37299 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37300
37301 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37302 FD_CLOEXEC for /proc/self/maps.
37303
37304 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37305 FD_CLOEXEC for /proc/meminfo.
37306
37307 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37308 gai.conf.
37309
37310 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37311 FD_CLOEXEC for given file.
37312
37313 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37314
37315 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37316 FD_CLOEXEC for /etc/hosts.
37317 (_gethtent): Likewise.
37318
37319 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37320
37321 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37322 cancellation and set FD_CLOEXEC for /etc/netgroup.
37323
37324 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37325 reading /etc/publickey.
37326
37327 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37328 allow cancellation when reading /etc/group.
37329
37330 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37331 cancellation.
37332 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37333
37334 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37335 when using data file.
37336
37337 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37338
37339 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37340 (write_nis_obj): Use "c" and "e" in fopen.
37341
37342 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37343
37344 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37345
37346 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37347
37348 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37349
37350 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37351 locale.alias.
37352
37353 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37354
37355 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37356
37357 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37358
37359 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37360 file parsing and set FD_CLOEXEC.
37361
82af0fa8
UD
373622011-11-14 Ulrich Drepper <drepper@gmail.com>
37363
37364 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37365
a5fb313c
AS
373662011-11-14 Andreas Schwab <schwab@redhat.com>
37367
37368 * malloc/arena.c (arena_get2): Don't call reused_arena when
37369 _int_new_arena failed.
37370
6abf3465
UD
373712011-11-14 Ulrich Drepper <drepper@gmail.com>
37372
37373 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37374 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37375 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37376 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37377 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37378 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37379 to compile strcasecmp and strncasecmp.
37380 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37381 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37382
37383 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37384
76e3966e
UD
373852011-11-13 Ulrich Drepper <drepper@gmail.com>
37386
37387 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37388 locale-defines.sym to gen-as-const-headers.
37389 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37390 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37391 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37392 to compile strcasecmp and strncasecmp.
37393 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37394 strcasecmp_l and strncasecmp_l.
37395 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37396 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37397 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37398 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37399 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37400 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37401 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37402 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37403 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37404 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37405 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37406
ab26144e
UD
374072011-11-12 Ulrich Drepper <drepper@gmail.com>
37408
7edb22ef
UD
37409 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37410 result of SYSDEP_GETTIME_CPU to retval.
37411 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37412 parameter list to macro. Remove trailing semicolon. Adjust users.
37413
9694fc44
UD
37414 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37415 variable.
37416
8ad89ef8
UD
37417 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37418 mantissa words.
37419 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37420
0c822ef9
UD
37421 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37422 from unused variable.
37423
874e0564
UD
37424 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37425 DWARF definitions.
37426 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37427 for assembling.
37428
3a2edc79
UD
37429 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37430 over namespaces.
37431
f3c2577f
UD
37432 * sunrpc/rpc_prot.c (rejected): Fix case value.
37433
294ce126
UD
37434 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37435 unsigned long long int to avoid warnings in shift.
37436
5e2b63c6
UD
37437 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37438 of use of trans.
37439 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37440 variable tmp.
37441
e7f4b08e
UD
37442 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37443 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37444 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37445
ab26144e
UD
37446 * nis/nis_table.c (nis_list): Use variable of correct type for
37447 result of __follow_path call.
37448
8a6d5255
AZ
374492011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37450
37451 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37452 of math functions ceil, trunc, floor, round, and sqrt, when
37453 avaliable on the platform.
37454 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37455 name clash.
37456 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37457 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37458 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37459
aaddc98c
MP
374602011-10-30 Marek Polacek <mpolacek@redhat.com>
37461
37462 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37463 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37464
95b7042b
RM
374652011-11-11 Roland McGrath <roland@hack.frob.com>
37466
37467 * include/unistd.h: Fix __readlink return type.
37468 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37469
57769839
UD
374702011-11-11 Ulrich Drepper <drepper@gmail.com>
37471
37472 * stdlib/ucontext.h: Undo last change for makecontext.
37473
edc5984d
AS
374742011-11-11 Andreas Schwab <schwab@redhat.com>
37475
98591e58
AS
37476 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37477
edc5984d
AS
37478 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37479 * setjmp/setjmp.h: Mark functions as non-leaf.
37480 * setjmp/bits/setjmp2.h: Likewise.
37481 * stdlib/ucontext.h: Likewise.
37482
77cdc054
AS
374832011-11-10 Andreas Schwab <schwab@redhat.com>
37484
37485 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37486 (reused_arena): Don't check arena limit.
37487 (arena_get2): Atomically check arena limit.
37488
fe72eebd
UD
374892011-11-08 Ulrich Drepper <drepper@gmail.com>
37490
5f078c32
UD
37491 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37492 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37493
fe72eebd
UD
37494 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37495 instructions.
37496
ae1bc2fa
AS
374972011-11-07 Andreas Schwab <schwab@redhat.com>
37498
7583a88d
AS
37499 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37500 handler when locking.
37501
ae1bc2fa
AS
37502 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37503 Fix size of allocated buffer.
37504
10fb0bfa
AS
375052011-11-04 Andreas Schwab <schwab@redhat.com>
37506
998832a4
AS
37507 [BZ #10103]
37508 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37509 declarations for long double functions.
37510 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37511
10fb0bfa
AS
37512 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37513
3d7ba52b
AS
375142011-11-03 Andreas Schwab <schwab@redhat.com>
37515
a9ae54a1
AS
37516 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37517 installed.
37518
3d7ba52b
AS
37519 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37520 is disabled.
37521
bc8db248
ST
375222011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37523
37524 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37525
45b96dd6
AS
375262011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37527
647776f6
AS
37528 * include/alloca.h (stackinfo_alloca_round): Define.
37529 (extend_alloca): Use it.
37530 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37531 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37532 here.
37533
d91a8b93
AS
37534 * scripts/check-local-headers.sh: Ignore libaudit.h.
37535
45b96dd6
AS
37536 * nscd/Makefile (extra-objs): Make recursively expanded.
37537
432d41ce
UD
375382011-11-01 Ulrich Drepper <drepper@gmail.com>
37539
34372fc6
UD
37540 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37541 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37542
fadb59f8
UD
37543 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37544 * posix/tst-rfc3484-2.c: Likewise.
37545 * posix/tst-rfc3484-3.c: Likewise.
37546
78239589
UD
37547 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37548 process_vm_writev.
37549 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37550 process_vm_writev.
37551 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37552 process_vm_writev from libc using GLIBC_2.15 version.
37553
432d41ce
UD
37554 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37555
02f9c6cf
PP
375562011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37557
37558 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37559 stack usage.
37560
3a2c0242
UD
375612011-10-31 Ulrich Drepper <drepper@gmail.com>
37562
f4ec4833
UD
37563 [BZ #13367]
37564 * nss/getent.c (initgroups_keys): Show error message in case no group
37565 names are given.
37566
3a2c0242
UD
37567 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37568 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37569 __bump_nl_timestamp.
37570 * nscd/connections (nscd_init): When host database is served open
37571 netlink socket and request notification about configuration changes.
37572 (main_loop_poll): Track netlink file descriptor and bump timestamp
37573 in case data becomes available.
37574 (main_loop_epoll): Likewise.
37575 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37576 (database_pers_head): Add extra_data fileds.
37577 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37578 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37579 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37580 Adjust caller.
37581 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37582 in6ai data, call __free_in6ai.
37583 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37584 Add -DHAVE_NETLINK.
37585 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37586 interface information. Reuse previous data if netlink timestamp
37587 is not changed.
37588 (__bump_nl_timestamp): New function.
37589 (__free_in6ai): New function.
37590
636064eb
UD
375912011-10-30 Ulrich Drepper <drepper@gmail.com>
37592
37593 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37594 close_not_cancel_no_status here.
37595 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37596
9beb2334
UD
375972011-10-29 Ulrich Drepper <drepper@gmail.com>
37598
6ef76f3b
UD
37599 [BZ #13276]
37600 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37601 return value.
37602
0ffc4f3e 37603 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37604 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37605 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37606
cb95113e
UD
376072011-07-03 Andreas Jaeger <aj@suse.de>
37608
37609 [BZ #10709]
37610 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37611 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37612 * math/libm-test.inc (sin_test): Add test case.
37613
a1b560ff
UD
376142011-10-29 Ulrich Drepper <drepper@gmail.com>
37615
c9aaface
UD
37616 [BZ #13337]
37617 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37618 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37619
d272e7f1
UD
37620 * elf/chroot_canon.c (chroot_canon): Cleanups.
37621
1bc33071
UD
37622 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37623
1760874d
TJ
37624 [BZ #13335]
37625 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37626 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37627
51d91b18
UD
37628 * string/test-strchr.c: Make usable for strchrnul testing.
37629 * string/test-strchrnul.c: New file.
37630 * string/Makefile (strop-tests): Add strchrnul.
37631
a1b560ff 37632 * po/it.po: Update from translation team.
b611fb81 37633 * po/es.po: Likewise.
a1b560ff 37634
a5b81e1f
UD
376352011-10-28 Ulrich Drepper <drepper@gmail.com>
37636
fd52bc6d
UD
37637 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37638 the three constants needed as parameters. Drop the others.
37639 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37640 __m128i_strloadu_tolower.
52e4b9eb
UD
37641 Create and initialize variable zero and use it in all the places
37642 where _mm_setzero_si128 was used.
fd52bc6d 37643
a5b81e1f
UD
37644 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37645 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37646 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37647 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37648 anymore.
37649 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37650 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37651 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37652 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37653 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37654 __mpranred, __mptan.
37655 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37656 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37657 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37658 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37659 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37660 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37661 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37662 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37663 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37664
b4343346
AS
376652011-10-28 Andreas Schwab <schwab@redhat.com>
37666
0c92d8a8
AS
37667 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37668 redefine if SHARED.
37669 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37670
b4343346
AS
37671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37672 wide char related routines to wcsmbs subdir.
37673
3871f58f
AS
376742011-10-27 Andreas Schwab <schwab@redhat.com>
37675
37676 [BZ #13344]
37677 * misc/sys/cdefs.h (__THROWNL): Define.
37678 * posix/unistd.h: Use __THREADNL instead of __THREAD
37679 for memory synchronization functions.
37680
94d44d9f
RM
376812011-10-26 Roland McGrath <roland@hack.frob.com>
37682
21b64b15 37683 [BZ #13349]
94d44d9f
RM
37684 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37685 doesn't exist.
37686 * manual/stdio.texi (Obstack Streams): Node removed.
37687
f6ce9294
AS
376882011-10-26 Andreas Schwab <schwab@redhat.com>
37689
80479147
AS
37690 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37691 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37692 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37693
f6ce9294
AS
37694 * math/math_private.h (math_force_eval): Allow non-addressable
37695 arguments.
37696 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37697
618280a1
UD
376982011-10-25 Ulrich Drepper <drepper@gmail.com>
37699
e0016b11
UD
37700 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37701 file is not needed.
37702
37703 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37704 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37706 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37707 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37708 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37709 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37710 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37711 Add AVX variants.
37712 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37713 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37714 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37715 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37716 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37717 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37718 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37719 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37720 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37721 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37722 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37723 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37724 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37725 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37726 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37727 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37728 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37729 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37730 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37731
37732 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37733 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37734
618280a1
UD
37735 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37736 place. Use VEX encoding when compiling for AVX.
37737
37822576
AS
377382011-10-25 Andreas Schwab <schwab@redhat.com>
37739
1f1e1947
AS
37740 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37741 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37742
37822576
AS
37743 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37744
31ea014d
UD
377452011-10-25 Ulrich Drepper <drepper@gmail.com>
37746
d7826aa1 37747 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37748 useless if() expression.
d7826aa1
UD
37749 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37750 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37751 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37752 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37753 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37754 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37755 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37756 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37757 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37758 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37759 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37760 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37761 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37762 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37763 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37764 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37765 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37766 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37767 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37768
31ea014d
UD
37769 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37770
16437fec
AS
377712011-10-25 Andreas Schwab <schwab@redhat.com>
37772
37773 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37774 condition.
37775 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37776
31d3cc00
UD
377772011-10-25 Ulrich Drepper <drepper@gmail.com>
37778
37779 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37780 .text section. Avoid duplicate constants.
37781 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37783 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37789 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37790 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37791 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37792 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37793 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37794 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37795 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37796 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37797 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37798 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37799 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37800 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37801 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37802 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37803 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37804 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37805 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37806 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37807 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37808 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37809 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37810 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37811 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37812 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37813 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37814 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37815 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37816 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37817 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37818 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37819 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37820 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37821 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37822 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37823 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37824 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37825 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37826
58985aa9
UD
378272011-10-24 Ulrich Drepper <drepper@gmail.com>
37828
202c9deb
UD
37829 * sysdeps/x86_64/dla.h: Move to ...
37830 * sysdeps/x86_64/fpu/dla.h: ...here.
37831 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37832 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37833
af968f62
UD
37834 * config.make.in: Add have-mfma4 entry.
37835 * configure.in: Substitute libc_cv_cc_fma4.
37836 * math/Makefile (dbl-only-routines): Add sincostab.
37837 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37838 Use __sincostab not sincos.
37839 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37840 name is a macro.
37841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37842 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37843 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37844 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37845 using __copysign.
37846 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37847 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37848 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37849 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37850 and __inv.
37851 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37852 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37853 __copysign.
37854 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37855 define aliases when function name is a macro.
37856 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37857 sysdeps/ieee754/dbl-64/sincos.tbl.
37858 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37859 fma4-enabled routines.
37860 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37861 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37862 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37863 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37864 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37865 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37866 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37867 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37869 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37870 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37871 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37872 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37873 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37874 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37875 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37876 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37877 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37878 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37879 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37880 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37881 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37882 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37883 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37884 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37885 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37886 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37887 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37888 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37889 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37890
58985aa9
UD
37891 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37892 rename.
37893 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37894 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37896 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37898 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37899 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37900 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37901
a201fbcf
AS
379022011-10-24 Andreas Schwab <schwab@redhat.com>
37903
37904 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37905
fc2ee42a
LD
379062011-10-23 Ulrich Drepper <drepper@gmail.com>
37907
bb3129bd
UD
37908 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37909
0275fff8
UD
37910 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37911 prediction.
37912 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37913
2fa2ae85
UD
37914 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37915 Remove unused variable magic_bits.
37916 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37917
fc2ee42a
LD
37918 * string/strnlen.c: Define and use STRNLEN macro.
37919 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37920 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37921 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37922 * wcsmbs/wcslen.c: Define and use WCSLEN.
37923 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37924 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37925 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37926 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37927 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37928 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37929 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37930
ce7dd29f
LD
379312011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37932
37933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37934 strnlen-sse2-no-bsf.
37935 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37936 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37937 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37938 Add strnlen support.
37939 (USE_AS_STRNLEN): New macro.
37940 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37941 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37942 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37943 * sysdeps/x86_64/wcslen.S: New file.
37944
979c70a3
MZ
379452011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37946
37947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37948 XMM-moves are used for copying on small sizes.
37949
2d09f82f
LD
379502011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37951
37952 * wcsmbs/Makefile (strop-tests): Add wcschr.
37953 * wcsmbs/test-wcschr.c: New file.
37954 * string/test-strchr.c: Update.
37955 Add wcschr support.
37956 (WIDE): New macro.
37957
619fccca
LD
379582011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37959
2d09f82f 37960 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37961 * wcsmbs/test-wcslen.c: New file.
37962 * string/test-strlen.c: Update.
37963 Add wcslen support.
37964 (WIDE): New macro.
37965
09f699ea
UD
379662011-10-23 Ulrich Drepper <drepper@gmail.com>
37967
37968 * po/it.po: Update from translation team.
37969
95584d3b
LD
379702011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37971
37972 * sysdeps/x86_64/wcscmp.S: Update.
37973 Fix wrong comparison semantics.
37974 wcscmp shall use signed comparison not unsigned.
37975 Don't use substraction to avoid overflow bug.
37976 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37977 * wcsmbc/wcscmp.c: Likewise.
37978 * string/test-strcmp.c: Likewise.
37979 Add new tests to check cases with negative values.
37980
c8b3296b
UD
379812011-10-23 Ulrich Drepper <drepper@gmail.com>
37982
37983 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37984 * sysdeps/x86_64/dla.h: ...here. New file.
37985 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37990 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37992 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37993 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37994
246ad57a
AS
379952011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37996
37997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37998 __ynl_finite aliases.
37999
a1a87169
UD
380002011-10-22 Ulrich Drepper <drepper@gmail.com>
38001
0d355eb7
UD
38002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38003
a1a87169
UD
38004 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38005 define DLA_FMA.
38006 [DLA_FMA] (EMULV): Use DLA_FMA.
38007 [DLA_FMA] (MUL12): Use EMULV.
38008 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38009 that are not needed.
38010 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38012 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38013 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38017
ee2aafe0
AS
380182011-10-22 Andreas Schwab <schwab@linux-m68k.org>
38019
38020 * math/s_nan.c: Undef __nan.
38021 * math/s_nanf.c: Undef __nanf.
38022 * math/s_nanl.c: Undef __nanl.
38023 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38024 "math_private.h".
38025
bc62c2fb
UD
380262011-10-22 Ulrich Drepper <drepper@gmail.com>
38027
77425c63
UD
38028 * math/s_catan.c: Add branch predictions.
38029 * math/s_catanf.c: Likewise.
38030 * math/s_catanh.c: Likewise.
38031 * math/s_catanhf.c: Likewise.
38032 * math/s_catanhl.c: Likewise.
38033 * math/s_catanl.c: Likewise.
38034 * math/s_cexp.c: Likewise.
38035 * math/s_cexpf.c: Likewise.
38036 * math/s_cexpl.c: Likewise.
38037 * math/s_clog.c: Likewise.
38038 * math/s_clog10.c: Likewise.
38039 * math/s_clog10f.c: Likewise.
38040 * math/s_clog10l.c: Likewise.
38041 * math/s_clogf.c: Likewise.
38042 * math/s_clogl.c: Likewise.
38043 * math/s_csqrt.c: Likewise.
38044 * math/s_csqrtf.c: Likewise.
38045 * math/s_csqrtl.c: Likewise.
38046 * math/s_ctanf.c: Likewise.
38047 * math/s_ctanh.c: Likewise.
38048 * math/s_ctanhf.c: Likewise.
38049 * math/s_ctanhl.c: Likewise.
38050 * math/s_ctanl.c: Likewise.
38051
bc62c2fb
UD
38052 * math/math_private.h: Define __nan, __nanf, __nanl.
38053 * math/s_cacosh.c: Include <math_private.h>.
38054 * math/s_cacoshl.c: Likewise.
38055 * math/s_casinh.c: Likewise.
38056 * math/s_casinhf.c: Likewise.
38057 * math/s_casinhl.c: Likewise.
38058 * math/s_ccos.c: Rely entire on ccosh.
38059 * math/s_ccosf.c: Rely entire on ccoshf.
38060 * math/s_ccosl.c: Rely entirely on ccoshl.
38061 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
38062 Remove tests for FE_INVALID.
38063 * math/s_ccoshf.c: Likewise.
38064 * math/s_ccoshl.c: Likewise.
38065 * math/s_csin.c: Likewise.
38066 * math/s_csinf.c: Likewise.
38067 * math/s_csinh.c Likewise.
38068 * math/s_csinhf.c: Likewise.
38069 * math/s_csinhl.c: Likewise.
38070 * math/s_csinl.c: Likewise.
38071 * math/s_ctan.c: Likewise.
38072 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
38073 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
38074 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
38075
8ec250a4
UD
380762011-10-21 Ulrich Drepper <drepper@gmail.com>
38077
c196fed8
UD
38078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
38079 compilation problems.
38080
8ec250a4
UD
38081 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
38082 __builtin_expect.
38083
8d4f46c6
UD
380842011-10-20 Ulrich Drepper <drepper@gmail.com>
38085
ed72b654
UD
38086 * sysdeps/i386/configure.in: Test for -mfma4 option.
38087 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
38088 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
38089 COMMON_CPUID_INDEX_80000001.
38090 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
38091 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
38092 use it if FMA3 is not supported.
38093 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
38094
8d4f46c6
UD
38095 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
38096 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38097
d45c60c2
AS
380982011-10-20 Andreas Schwab <schwab@redhat.com>
38099
38100 [BZ #12892]
38101 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
38102 it would create a cycle with a link time dependency.
38103
d9a4d2ab
UD
381042011-10-19 Ulrich Drepper <drepper@gmail.com>
38105
855d1560
UD
38106 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
38107 instruction.
38108 * string/Makefile (strop-tests): Add rawmemchr.
38109 * string/test-rawmemchr.c: New file.
38110
d9a4d2ab
UD
38111 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
38112 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
38113 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
38114 when compiling str{,n}casecmp and when AVX is available. Hook up
38115 new optimized code in initializers.
38116
8f3b1ffe
AS
381172011-10-19 Andreas Schwab <schwab@redhat.com>
38118
38119 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
38120 __feraiseexcept instead of feraiseexcept.
38121
d38f1dba
UD
381222011-10-18 Ulrich Drepper <drepper@gmail.com>
38123
d9a8d0ab
UD
38124 * math/math_private.h: Define defaults for libc_fetestexcept and
38125 libc_feupdateenv.
38126 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
38127 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
38128 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38129 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38130 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38131 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38132 libc_fetestexcept and libc_feupdateenv.
38133
4855e3dd
UD
38134 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
38135 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
38136 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
38137 * sysdeps/x86_64/fpu/math_private.h: Define special version of
38138 libc_feholdexcept_setround.
38139
581d30e3
UD
38140 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
38141 Add s_nearbyint-c and s_nearbyintf-c.
38142 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
38143 nearbyintf inlines.
38144 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
38145 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
38146 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
38147 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
38148
d38f1dba
UD
38149 * math/math_private.h: Define defaults for libc_fegetround,
38150 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
38151 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
38152 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
38153 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
38154 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
38155 standard functions.
38156 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38157 Remove comments and hacks for old compiler versions.
38158 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38159 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38160 libc_feholdexceptl.
38161
caa6c9d8
AS
381622011-10-18 Andreas Schwab <schwab@redhat.com>
38163
38164 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
38165 (__feraiseexcept_renamed): Add __NTH.
38166 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
38167 namespace violations.
38168
97c066e6
UD
381692011-10-17 Ulrich Drepper <drepper@gmail.com>
38170
99ce7b04
UD
38171 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38172
1004d182
UD
38173 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38174
228a984d
UD
38175 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38176 recently added interfaces.
38177 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38178
c8553a6a
UD
38179 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38180 about macro parameter expansion.
38181
ed22dcf6
UD
38182 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38183 __NO_MATH_INLINES is defined. Cleanups.
38184
38185 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38186 and __floorf is target has SSE4.1.
38187 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38188 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38189 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38190 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38191
b171c137
UD
38192 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38193 name.
38194 (floorf): Likewise.
38195
97c066e6
UD
38196 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38197
629f62ef
AS
381982011-10-17 Andreas Schwab <schwab@redhat.com>
38199
49a43d80
AS
38200 * misc/sys/cdefs.h: Fix last change.
38201
629f62ef
AS
38202 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38203 database lookup.
38204
e453f6cd
UD
382052011-10-16 Ulrich Drepper <drepper@gmail.com>
38206
aa78043a
UD
38207 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38208
ad0f5cad
UD
38209 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38210 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38211 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38212 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38213 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38214 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38215 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38216 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38217 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38218 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38219 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38220 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38221 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38222 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38223 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38224 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38225 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38226 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38227 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38228 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38229 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38230 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38231
38232 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38233 ceil, ceilf, floor, floorf.
38234
38235 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38236 Perform IRELATIVE relocations last.
38237
e453f6cd
UD
38238 * elf/do-rel.h: Add another parameter nrelative, replacing the
38239 local variable with the same name. Change name of the function
38240 to end in Rel or Rela (uppercase).
38241 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38242 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38243 elf_dynamic_do_##reloc function.
38244
fd5bdc09
UD
382452011-10-15 Ulrich Drepper <drepper@gmail.com>
38246
79b195b5
UD
38247 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38248 is sufficient, at least on modern CPUs.
38249
d4a28569
UD
38250 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38251
b61099b5
UD
38252 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38253 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38254
bcf01e6d
UD
38255 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38256 __expl_finite.
38257 * math/bits/math-finite.h: Add entries for exp.
38258 * math/e_expl.c: Add __*_finite alias.
38259 * sysdeps/i386/fpu/e_exp.S: Likewise.
38260 * sysdeps/i386/fpu/e_expf.S: Likewise.
38261 * sysdeps/i386/fpu/e_expl.c: Likewise.
38262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38263 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38264 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38266 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38267 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38268 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38269
ba1a0d59
UD
38270 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38271 is sufficient, at least on modern CPUs.
38272
fd5bdc09
UD
38273 * ctype/ctype-info.c (__ctype_init): Define.
38274 * include/ctype.h (__ctype_init): Declare.
38275 (__ctype_b_loc): The variable is always initialized.
38276 (__ctype_toupper_loc): Likewise.
38277 (__ctype_tolower_loc): Likewise.
38278 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38279 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38280
7872cfb0
AS
382812011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38282
b468825a
AS
38283 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38284
7872cfb0
AS
38285 * configure.in: Also look in $cxxmachine/include for C++ system
38286 headers.
38287
be13f7bf
LD
382882011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38289
38290 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38291 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38292 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38293 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38294 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38295 (USE_AS_WMEMCMP): New macro.
38296 Fixing indents.
38297 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38298 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38299 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38300 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38301 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38302 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38303 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38304 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38305 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38306 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38307 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38308 (USE_AS_WMEMCMP): New macro.
38309 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38310 * sysdeps/string/test-memcmp.c: Update.
38311 Fix simple_wmemcmp.
38312 Add new tests.
38313 * wcsmbs/wmemcmp.c: Update.
38314 (WMEMCMP): New macro.
38315 Fix overflow bug.
38316
556a2007
AJ
383172011-10-12 Andreas Jaeger <aj@suse.de>
38318
38319 [BZ #13268]
38320 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38321
538faaa7
UD
383222011-10-15 Ulrich Drepper <drepper@gmail.com>
38323
ab6737ff
UD
38324 * libio/iofwide.c (do_length): Avoid warning.
38325
538faaa7
UD
38326 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38327
396a21b1
UD
383282011-10-14 Ulrich Drepper <drepper@gmail.com>
38329
cdf2901f
UD
38330 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38331
38ad40ce
UD
38332 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38333 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38334 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38335 * sysdeps/i386/i686/fpu/e_log.S: New file.
38336 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38337 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38338
396a21b1
UD
38339 * ctype/ctype.h: Add support for inlined isXXX functions when
38340 compiling C++ code.
38341
6b1f68c9
AS
383422011-10-14 Andreas Schwab <schwab@redhat.com>
38343
349290c0
AS
38344 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38345
6b1f68c9
AS
38346 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38347
f2282d42
RM
383482011-10-13 Roland McGrath <roland@hack.frob.com>
38349
38350 [BZ #13291]
38351 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38352
5298ffa8
AS
383532011-10-13 Andreas Schwab <schwab@redhat.com>
38354
714fad23
AS
38355 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38356 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38357 feraiseexcept.
38358
81dcc7fb
AS
38359 * sysdeps/x86_64/memrchr.S: Check for zero size.
38360
5298ffa8
AS
38361 * string/stratcliff.c: Add memrchr tests.
38362
951fbcec
LD
383632011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38364
38365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38366 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38367 rawmemchr-sse2 rawmemchr-sse2-bsf.
38368 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38369 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38370 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38371 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38372 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38373 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38374 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38375 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38376 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38377 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38378 * string/memrchr.c (MEMRCHR): New macro.
38379
0ac5ae23
UD
383802011-10-12 Ulrich Drepper <drepper@gmail.com>
38381
38382 Add integration with gcc's -ffinite-math-only and optimize wrapper
38383 functions in libm.
38384 * Versions.def: Define GLIBC_2.15 version for libm.
38385 * math/Makefile (headers): Add bits/math-finite.h.
38386 * math/bits/math-finite.h: New file.
38387 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38388 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38389 * math/e_acoshl.c: Add __*_finite alias.
38390 * math/e_acosl.c: Likewise.
38391 * math/e_asinl.c: Likewise.
38392 * math/e_atan2l.c: Likewise.
38393 * math/e_atanhl.c: Likewise.
38394 * math/e_coshl.c: Likewise.
38395 * math/e_exp10.c: Likewise.
38396 * math/e_exp10f.c: Likewise.
38397 * math/e_exp10l.c: Likewise.
38398 * math/e_exp2l.c: Likewise.
38399 * math/e_fmodl.c: Likewise.
38400 * math/e_gammal_r.c: Likewise.
38401 * math/e_hypotl.c: Likewise.
38402 * math/e_j0l.c: Likewise.
38403 * math/e_j1l.c: Likewise.
38404 * math/e_jnl.c: Likewise.
38405 * math/e_lgammal_r.c: Likewise.
38406 * math/e_log10l.c: Likewise.
38407 * math/e_log2l.c: Likewise.
38408 * math/e_logl.c: Likewise.
38409 * math/e_powl.c: Likewise.
38410 * math/e_sinhl.c: Likewise.
38411 * math/e_sqrtl.c: Likewise.
38412 * math/e_scalb.c: Completely rewritten and optimized.
38413 * math/e_scalbf.c: Likewise.
38414 * math/e_scalbl.c: Likewise.
38415 * math/w_acos.c: Likewise.
38416 * math/w_acosf.c: Likewise.
38417 * math/w_acosl.c: Likewise.
38418 * math/w_acosh.c: Likewise.
38419 * math/w_acoshf.c: Likewise.
38420 * math/w_acoshl.c: Likewise.
38421 * math/w_asin.c: Likewise.
38422 * math/w_asinf.c: Likewise.
38423 * math/w_asinl.c: Likewise.
38424 * math/w_atan2.c: Likewise.
38425 * math/w_atan2f.c: Likewise.
38426 * math/w_atan2l.c: Likewise.
38427 * math/w_atanh.c: Likewise.
38428 * math/w_atanhf.c: Likewise.
38429 * math/w_atanhl.c: Likewise.
38430 * math/w_exp10.c: Likewise.
38431 * math/w_exp10f.c: Likewise.
38432 * math/w_exp10l.c: Likewise.
38433 * math/w_fmod.c: Likewise.
38434 * math/w_fmodf.c: Likewise.
38435 * math/w_fmodl.c: Likewise.
38436 * math/w_j0.c: Likewise.
38437 * math/w_j0f.c: Likewise.
38438 * math/w_j0l.c: Likewise.
38439 * math/w_j1.c: Likewise.
38440 * math/w_j1f.c: Likewise.
38441 * math/w_j1l.c: Likewise.
38442 * math/w_jn.c: Likewise.
38443 * math/w_jnf.c: Likewise.
38444 * math/w_log.c: Likewise.
38445 * math/w_logf.c: Likewise.
38446 * math/w_logl.c: Likewise.
38447 * math/w_log10.c: Likewise.
38448 * math/w_log10f.c: Likewise.
38449 * math/w_log10l.c: Likewise.
38450 * math/w_log2.c: Likewise.
38451 * math/w_log2f.c: Likewise.
38452 * math/w_log2l.c: Likewise.
38453 * math/w_pow.c: Likewise.
38454 * math/w_powf.c: Likewise.
38455 * math/w_powl.c: Likewise.
38456 * math/w_remainder.c: Likewise.
38457 * math/w_remainderf.c: Likewise.
38458 * math/w_remainderl.c: Likewise.
38459 * math/w_scalb.c: Likewise.
38460 * math/w_scalbf.c: Likewise.
38461 * math/w_scalbl.c: Likewise.
38462 * math/w_sqrt.c: Likewise.
38463 * math/w_sqrtf.c: Likewise.
38464 * math/w_sqrtl.c: Likewise.
38465 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38466 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38467 used.
38468 * math/math_private.h: Declare __kernel_standard_f.
38469 * math/w_cosh.c: Remove cruft and optimize a bit.
38470 * math/w_coshf.c: Likewise.
38471 * math/w_coshl.c: Likewise.
38472 * math/w_exp2.c: Likewise.
38473 * math/w_exp2f.c: Likewise.
38474 * math/w_exp2l.c: Likewise.
38475 * math/w_hypot.c: Likewise.
38476 * math/w_hypotf.c: Likewise.
38477 * math/w_hypotl.c: Likewise.
38478 * math/w_lgamma.c: Likewise.
38479 * math/w_lgamma_r.c: Likewise.
38480 * math/w_lgammaf.c: Likewise.
38481 * math/w_lgammaf_r.c: Likewise.
38482 * math/w_lgammal.c: Likewise.
38483 * math/w_lgammal_r.c: Likewise.
38484 * math/w_sinh.c: Likewise.
38485 * math/w_sinhf.c: Likewise.
38486 * math/w_sinhl.c: Likewise.
38487 * math/w_tgamma.c: Likewise.
38488 * math/w_tgammaf.c: Likewise.
38489 * math/w_tgammal.c: Likewise.
38490 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38492 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38493 Minor optimizations. Pretty printing. Remove cruft.
38494 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38495 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38496 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38497 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38498 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38499 * sysdeps/i386/fpu/e_asin.S: Likewise.
38500 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38501 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38502 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38503 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38504 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38505 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38506 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38507 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38508 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38509 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38510 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38511 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38512 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38513 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38514 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38515 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38516 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38517 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38518 * sysdeps/i386/fpu/e_log.S: Likewise.
38519 * sysdeps/i386/fpu/e_log10.S: Likewise.
38520 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38521 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38522 * sysdeps/i386/fpu/e_log2.S: Likewise.
38523 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38524 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38525 * sysdeps/i386/fpu/e_logf.S: Likewise.
38526 * sysdeps/i386/fpu/e_logl.S: Likewise.
38527 * sysdeps/i386/fpu/e_pow.S: Likewise.
38528 * sysdeps/i386/fpu/e_powf.S: Likewise.
38529 * sysdeps/i386/fpu/e_powl.S: Likewise.
38530 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38531 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38532 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38533 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38534 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38535 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38536 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38537 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38538 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38539 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38540 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38542 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38543 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38544 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38545 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38546 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38547 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38548 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38549 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38550 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38552 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38553 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38555 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38556 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38557 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38558 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38559 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38560 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38561 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38562 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38563 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38564 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38565 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38566 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38567 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38568 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38569 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38570 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38571 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38572 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38573 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38574 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38575 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38576 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38577 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38578 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38579 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38580 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38581 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38582 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38583 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38584 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38585 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38586 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38587 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38588 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38589 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38590 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38591 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38592 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38593 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38594 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38595 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38596 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38597 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38598 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38599 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38600 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38601 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38602 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38603 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38604 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38605 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38606 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38607 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38608 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38609 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38610 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38611 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38612 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38613 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38614 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38615 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38616 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38617 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38618 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38619 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38620 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38621 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38622 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38623 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38624 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38625 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38626 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38627 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38628 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38629 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38630 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38631 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38632 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38633 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38634 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38635 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38636 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38637 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38638 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38639 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38640 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38641 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38642 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38643 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38644 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38645 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38646 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38647 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38648 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38649 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38650 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38651 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38652 (__isnanf): Likewise.
38653 (__isinf_ns): Likewise.
38654 (__isinf_nsf): Likewise.
38655 (__finite): Likewise.
38656 (__finitef): Likewise.
38657 (__ieee754_sqrt): Define as macro.
38658 (__ieee754_sqrtf): Define as macro.
38659 (__ieee754_sqrtl): Define as macro.
38660 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38661 inlined copy.
38662 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38663 __FINITE_MATH_ONLY__ consistent.
38664 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38665
12cc2fcd
AS
386662011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38667
a843a204
AS
38668 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38669 of rawmemchr.
38670
12cc2fcd
AS
38671 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38672
c853acd5
UD
386732011-10-09 Ulrich Drepper <drepper@gmail.com>
38674
38675 * po/ja.po: Update from translation team.
38676
c658d255
RM
386772011-10-08 Roland McGrath <roland@hack.frob.com>
38678
110946e4
RM
38679 * locale/programs/locarchive.c (prepare_address_space): New function.
38680 (create_archive, enlarge_archive, open_archive): Use it.
38681
50604220
RM
38682 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38683 inside [SHARED], where it is used.
38684
c658d255
RM
38685 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38686
38687 * nss/getent.c (netgroup_keys): Remove unused variable.
38688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38689
6a621eb7
UD
386902011-10-08 Ulrich Drepper <drepper@gmail.com>
38691
7edb55ce
UD
38692 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38693 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38695 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38696 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38697 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38698 * math/Makefile (libm-calls): Add s_isinf_ns.
38699 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38700 * math/multc3.c: Likewise.
38701 * math/s_casin.c: Likewise.
38702 * math/s_casinf.c: Likewise.
38703 * math/s_casinl.c: Likewise.
38704 * math/s_ccos.c: Likewise.
38705 * math/s_ccosf.c: Likewise.
38706 * math/s_ccosl.c: Likewise.
38707 * math/s_ctan.c: Likewise.
38708 * math/s_ctanf.c: Likewise.
38709 * math/s_ctanh.c: Likewise.
38710 * math/s_ctanhf.c: Likewise.
38711 * math/s_ctanhl.c: Likewise.
38712 * math/s_ctanl.c: Likewise.
38713 * math/w_fmod.c: Likewise.
38714 * math/w_fmodf.c: Likewise.
38715 * math/w_fmodl.c: Likewise.
38716 * math/w_remainder.c: Likewise.
38717 * math/w_remainderf.c: Likewise.
38718 * math/w_remainderl.c: Likewise.
38719 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38720 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38721 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38723 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38724 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38725 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38726 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38727
187da0ae
UD
38728 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38729 of the number.
38730 * stdio-common/printf_fphex.c: Likewise.
38731 * stdio-common/printf_size.c: Likewise.
38732
9277c064
UD
38733 * math/e_exp10.c: Include math_private.h using <...> not "...".
38734 * math/e_exp10f.c: Likewise.
38735 * math/e_exp10l.c: Likewise.
38736 * math/e_exp2l.c: Likewise.
38737 * math/e_j0l.c: Likewise.
38738 * math/e_j1l.c: Likewise.
38739 * math/e_jnl.c: Likewise.
38740 * math/e_lgammal_r.c: Likewise.
38741 * math/e_rem_pio2l.c: Likewise.
38742 * math/e_scalb.c: Likewise.
38743 * math/e_scalbf.c: Likewise.
38744 * math/e_scalbl.c: Likewise.
38745 * math/k_cosl.c: Likewise.
38746 * math/k_sinl.c: Likewise.
38747 * math/k_tanl.c: Likewise.
38748 * math/s_cacoshf.c: Likewise.
38749 * math/s_catan.c: Likewise.
38750 * math/s_catanf.c: Likewise.
38751 * math/s_catanh.c: Likewise.
38752 * math/s_catanhf.c: Likewise.
38753 * math/s_catanhl.c: Likewise.
38754 * math/s_catanl.c: Likewise.
38755 * math/s_ccosh.c: Likewise.
38756 * math/s_ccoshf.c: Likewise.
38757 * math/s_ccoshl.c: Likewise.
38758 * math/s_cexp.c: Likewise.
38759 * math/s_cexpf.c: Likewise.
38760 * math/s_cexpl.c: Likewise.
38761 * math/s_clog.c: Likewise.
38762 * math/s_clog10.c: Likewise.
38763 * math/s_clog10f.c: Likewise.
38764 * math/s_clog10l.c: Likewise.
38765 * math/s_clogf.c: Likewise.
38766 * math/s_clogl.c: Likewise.
38767 * math/s_csin.c: Likewise.
38768 * math/s_csinf.c: Likewise.
38769 * math/s_csinh.c: Likewise.
38770 * math/s_csinhf.c: Likewise.
38771 * math/s_csinhl.c: Likewise.
38772 * math/s_csinl.c: Likewise.
38773 * math/s_csqrt.c: Likewise.
38774 * math/s_csqrtf.c: Likewise.
38775 * math/s_csqrtl.c: Likewise.
38776 * math/s_ctan.c: Likewise.
38777 * math/s_ctanf.c: Likewise.
38778 * math/s_ctanh.c: Likewise.
38779 * math/s_ctanhf.c: Likewise.
38780 * math/s_ctanhl.c: Likewise.
38781 * math/s_ctanl.c: Likewise.
38782 * math/s_ldexp.c: Likewise.
38783 * math/s_ldexpf.c: Likewise.
38784 * math/s_ldexpl.c: Likewise.
38785 * math/s_significand.c: Likewise.
38786 * math/s_significandf.c: Likewise.
38787 * math/s_significandl.c: Likewise.
38788 * math/w_acos.c: Likewise.
38789 * math/w_acosf.c: Likewise.
38790 * math/w_acosh.c: Likewise.
38791 * math/w_acoshf.c: Likewise.
38792 * math/w_acoshl.c: Likewise.
38793 * math/w_acosl.c: Likewise.
38794 * math/w_asin.c: Likewise.
38795 * math/w_asinf.c: Likewise.
38796 * math/w_asinl.c: Likewise.
38797 * math/w_atan2.c: Likewise.
38798 * math/w_atan2f.c: Likewise.
38799 * math/w_atan2l.c: Likewise.
38800 * math/w_atanh.c: Likewise.
38801 * math/w_atanhf.c: Likewise.
38802 * math/w_atanhl.c: Likewise.
38803 * math/w_cosh.c: Likewise.
38804 * math/w_coshf.c: Likewise.
38805 * math/w_coshl.c: Likewise.
38806 * math/w_dremf.c: Likewise.
38807 * math/w_exp10.c: Likewise.
38808 * math/w_exp10f.c: Likewise.
38809 * math/w_exp10l.c: Likewise.
38810 * math/w_exp2.c: Likewise.
38811 * math/w_exp2f.c: Likewise.
38812 * math/w_fmod.c: Likewise.
38813 * math/w_fmodf.c: Likewise.
38814 * math/w_fmodl.c: Likewise.
38815 * math/w_hypot.c: Likewise.
38816 * math/w_hypotf.c: Likewise.
38817 * math/w_hypotl.c: Likewise.
38818 * math/w_j0.c: Likewise.
38819 * math/w_j0f.c: Likewise.
38820 * math/w_j0l.c: Likewise.
38821 * math/w_j1.c: Likewise.
38822 * math/w_j1f.c: Likewise.
38823 * math/w_j1l.c: Likewise.
38824 * math/w_jn.c: Likewise.
38825 * math/w_jnf.c: Likewise.
38826 * math/w_jnl.c: Likewise.
38827 * math/w_lgamma.c: Likewise.
38828 * math/w_lgamma_r.c: Likewise.
38829 * math/w_lgammaf.c: Likewise.
38830 * math/w_lgammaf_r.c: Likewise.
38831 * math/w_lgammal.c: Likewise.
38832 * math/w_lgammal_r.c: Likewise.
38833 * math/w_log.c: Likewise.
38834 * math/w_log10.c: Likewise.
38835 * math/w_log10f.c: Likewise.
38836 * math/w_log10l.c: Likewise.
38837 * math/w_log2.c: Likewise.
38838 * math/w_log2f.c: Likewise.
38839 * math/w_log2l.c: Likewise.
38840 * math/w_logf.c: Likewise.
38841 * math/w_logl.c: Likewise.
38842 * math/w_pow.c: Likewise.
38843 * math/w_powf.c: Likewise.
38844 * math/w_powl.c: Likewise.
38845 * math/w_remainder.c: Likewise.
38846 * math/w_remainderf.c: Likewise.
38847 * math/w_remainderl.c: Likewise.
38848 * math/w_scalb.c: Likewise.
38849 * math/w_scalbf.c: Likewise.
38850 * math/w_scalbl.c: Likewise.
38851 * math/w_sinh.c: Likewise.
38852 * math/w_sinhf.c: Likewise.
38853 * math/w_sinhl.c: Likewise.
38854 * math/w_sqrt.c: Likewise.
38855 * math/w_sqrtf.c: Likewise.
38856 * math/w_sqrtl.c: Likewise.
38857 * math/w_tgamma.c: Likewise.
38858 * math/w_tgammaf.c: Likewise.
38859 * math/w_tgammal.c: Likewise.
38860
6a621eb7
UD
38861 * po/ja.po: Update from translation team.
38862
bf582445
AJ
388632011-09-29 Andreas Jaeger <aj@suse.de>
38864
f9efbf3a
AJ
38865 [BZ #13179]
38866 * sunrpc/netname.c (netname2host): Fix logic.
38867
bf582445
AJ
38868 [BZ #6779]
38869 [BZ #6783]
38870 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38871 correctly.
38872 * math/w_remainder.c (__remainder): Likewise.
38873 * math/w_remainderf.c (__remainderf): Likewise.
38874 * math/libm-test.inc (remainder_test): Add test cases.
38875
48693bea
AK
388762011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38877
38878 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38879 sdiv_qrnnd.
38880
42622229
LD
388812011-10-07 Ulrich Drepper <drepper@gmail.com>
38882
38883 * string/test-memcmp.c: Avoid unncessary #defines.
38884 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38885
093ecf92
LD
388862011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38887
38888 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38889 Use new sse2 version for core i3 - i7 as it's faster
38890 than sse42 version.
38891 (bit_Prefer_PMINUB_for_stringop): New.
38892 * sysdeps/x86_64/rawmemchr.S: Update.
38893 Replace with faster SSE2 version.
38894 * sysdeps/x86_64/memrchr.S: New file.
38895 * sysdeps/x86_64/memchr.S: Update.
38896 Replace with faster SSE2 version.
38897
fde56e5c
MP
388982011-09-12 Marek Polacek <mpolacek@redhat.com>
38899
38900 * elf/dl-load.c (lose): Add cast to avoid warning.
38901
21fd49a9
UD
389022011-10-07 Ulrich Drepper <drepper@gmail.com>
38903
5a06e643
UD
38904 * po/ca.po: Update from translation team.
38905
684ae515
UD
38906 * inet/getnetgrent_r.c: Hook up nscd.
38907 * nscd/Makefile (routines): Add nscd_netgroup.
38908 (nscd-modules): Add netgroupcache.
38909 (CFLAGS-netgroupcache.c): Define.
38910 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38911 (cache_search): Add const to second parameter.
38912 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38913 INNETGR.
38914 (dbs): Add netgrdb entry.
38915 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38916 (verify_persistent_db): Handle netgrdb.
38917 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38918 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38919 GETFDNETGR.
38920 (netgroup_response_header): Define.
38921 (innetgroup_response_header): Define.
38922 (datahead): Add netgroup_response_header and innetgroup_response_header
38923 elements.
38924 * nscd/nscd.conf: Add entries for netgroup cache.
38925 * nscd/nscd.h (dbtype): Add netgrdb.
38926 (_PATH_NSCD_NETGROUP_DB): Define.
38927 (netgroup_iov_disabled): Declare.
38928 (xmalloc, xcalloc, xrealloc): Move declarations here.
38929 (cache_search): Adjust prototype.
38930 Add netgroup-related prototypes.
38931 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38932 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38933 (__nscd_innetgr): Declare.
38934 * nscd/selinux.c (perms): Use access_vector_t as element type and
38935 add netgroup-related initializers.
38936 * nscd/netgroupcache.c: New file.
38937 * nscd/nscd_netgroup.c: New file.
38938 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38939 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38940 For four parameters use innetgr.
38941 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38942 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38943 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38944 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38945
21fd49a9
UD
38946 * nscd/connections.c (register_traced_file): Don't register file
38947 for disabled databases.
38948
054c0457
UD
389492011-10-06 Ulrich Drepper <drepper@gmail.com>
38950
32b63198
UD
38951 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38952
054c0457
UD
38953 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38954 from tree and freeing node.
38955
64031225
JO
389562011-09-25 Jiri Olsa <jolsa@redhat.com>
38957
38958 * nss/nsswitch.c (__nss_database_lookup): Handle
38959 nss_parse_service_list out of memory case.
38960
0490345c
JO
389612011-09-15 Jiri Olsa <jolsa@redhat.com>
38962
38963 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38964 out of memory case.
38965
3a62d00d
AS
389662011-10-04 Andreas Schwab <schwab@redhat.com>
38967
38968 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38969 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38970 pass it down.
38971 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38972 elf_machine_rela, elf_machine_lazy_rel.
38973 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38974 (ELF_DYNAMIC_DO_REL): Likewise.
38975 (ELF_DYNAMIC_DO_RELA): Likewise.
38976 (ELF_DYNAMIC_RELOCATE): Likewise.
38977 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38978 to ELF_DYNAMIC_DO_REL.
38979 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38980 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38981 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38982 elf_machine_rela.
38983 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38984 skip_ifunc, don't call ifunc function if non-zero.
38985 (elf_machine_rela): Likewise.
38986 (elf_machine_lazy_rel): Likewise.
38987 (elf_machine_lazy_rela): Likewise.
38988 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38989 (elf_machine_lazy_rel): Likewise.
38990 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38991 Likewise.
38992 (elf_machine_lazy_rel): Likewise.
38993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38994 Likewise.
38995 (elf_machine_lazy_rel): Likewise.
38996 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38997 (elf_machine_lazy_rel): Likewise.
38998 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38999 (elf_machine_lazy_rel): Likewise.
39000 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39001 (elf_machine_lazy_rel): Likewise.
39002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39003 (elf_machine_lazy_rel): Likewise.
39004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39005 (elf_machine_lazy_rel): Likewise.
39006 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39007 (elf_machine_lazy_rel): Likewise.
39008
68577918
UD
390092011-09-28 Ulrich Drepper <drepper@gmail.com>
39010
39011 * nss/nss_files/files-init.c (_nss_files_init): Use static
39012 initialization for all the *_traced_file variables.
39013
68822d74
AS
390142011-09-28 Andreas Schwab <schwab@redhat.com>
39015
39016 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39017
2056100b
RM
390182011-09-27 Roland McGrath <roland@hack.frob.com>
39019
39020 [BZ #13226]
39021 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39022
32c76b63
AS
390232011-09-27 Andreas Schwab <schwab@redhat.com>
39024
39025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39026 Reread the line before reparsing it.
39027
bf972c9d
AS
390282011-09-26 Andreas Schwab <schwab@redhat.com>
39029
39030 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39031
e057a1b5
JM
390322011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
39033 Maxim Kuvyrkov <maxim@codesourcery.com>
39034 Joseph Myers <joseph@codesourcery.com>
39035
39036 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39037 if needed for __stack_chk_guard.
39038
bc7e1c36
RM
390392011-09-19 Roland McGrath <roland@hack.frob.com>
39040
ecb1482f
RM
39041 * sysdeps/posix/spawni.c (script_execute): Always define it.
39042 It will be optimized away if unused.
39043 (maybe_script_execute): New function.
39044 (__spawni): Call it.
39045
bc7e1c36
RM
39046 * Makerules: Don't include tls.make.
39047 (config-tls): Always set to thread.
39048 * tls.make.c: File removed.
39049
1c3b002b
MF
390502011-09-19 Mike Frysinger <vapier@gentoo.org>
39051
39052 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
39053 * config.make.in (CPPFLAGS-config): New substituted variable.
39054
2840865d
UD
390552011-09-15 Ulrich Drepper <drepper@gmail.com>
39056
88738eb6
UD
39057 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
39058
cbf645a6 39059 [BZ #13192]
2840865d
UD
39060 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
39061 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
39062
b402e91a
RM
390632011-09-15 Roland McGrath <roland@hack.frob.com>
39064
39065 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
39066 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
39067 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39068 (CALL_FAIL): Likewise.
39069 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
39070 (CALL_FAIL): Macro removed.
39071 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
39072
4c1a1f71
UD
390732011-09-15 Ulrich Drepper <drepper@gmail.com>
39074
39075 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
39076 for __FINITE_MATH_ONLY__ == 1.
39077
edc121be
AS
390782011-09-15 Andreas Schwab <schwab@redhat.com>
39079
39080 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
39081 __ieee754_sqrt instead of sqrt.
39082 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
39083 __ieee754_sqrtf instead of sqrtf.
39084 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
39085 __floorf instead of floorf.
39086 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
39087 __floorf, __truncf instead of floorf, truncf.
39088
cd205654
UD
390892011-09-14 Ulrich Drepper <drepper@gmail.com>
39090
ee4d0315
UD
39091 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
39092
cd205654
UD
39093 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
39094 __extern_always_inline.
39095 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
39096 32-bit.
39097
48b67d71
AS
390982011-09-14 Andreas Schwab <schwab@redhat.com>
39099
39100 * elf/rtld.c (dl_main): Also relocate in dependency order when
39101 doing symbol dependency testing.
39102
1ae12c75
AS
391032011-09-13 Andreas Schwab <schwab@linux-m68k.org>
39104
39105 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39106 Always define `refsym'.
39107
995a80df
AS
391082011-09-13 Andreas Schwab <schwab@redhat.com>
39109
e529793b
AS
39110 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
39111 (__FD_ELT): Renamed from __FDELT.
39112 * misc/bits/select2.h (__FD_ELT): Likewise.
39113 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
39114 __FD_MASK instead of __FDELT, __FDMASK.
39115 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39116 Likewise.
39117 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
39118 Likewise.
39119
52d4fef8
AS
39120 * elf/Makefile (gen-ldd): Fix pattern.
39121
995a80df
AS
39122 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
39123 (init_tls): Likewise.
39124
8682f8b0
UD
391252011-09-12 Ulrich Drepper <drepper@gmail.com>
39126
39127 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
39128
de82006d
AS
391292011-09-12 Andreas Schwab <schwab@redhat.com>
39130
a7c8e6a1
AS
39131 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
39132 `struct cmsghdr *' instead of `void *'.
39133 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
39134 Likewise.
39135
0f31fe77
AS
391362011-09-11 Andreas Schwab <schwab@linux-m68k.org>
39137
39138 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
39139 if non-absolute.
39140 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
39141 ldd_rewrite_script.
0f31fe77 39142
32b4c839
UD
391432011-09-11 Ulrich Drepper <drepper@gmail.com>
39144
83cd1420
UD
39145 * configure.in: Remove --with-tls option.
39146 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
39147 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
39148 out in case it is missing.
39149 * sysdeps/ia64/elf/configure.in: Likewise.
39150 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
39151 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
39152 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
39153 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
39154 * sysdeps/sh/elf/configure.in: Likewise.
39155 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39156 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39157 * sysdeps/x86_64/elf/configure.in: Likewise.
39158 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39159 * sysdeps/mach/hurd/tls.h: Likewise.
39160
633f745d
UD
39161 [BZ #13067]
39162 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39163
f318beb8
UD
39164 [BZ #13090]
39165 * configure.in: Fix use of AC_INIT.
39166
32b4c839
UD
39167 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39168
3ce1f295
UD
391692011-09-10 Ulrich Drepper <drepper@gmail.com>
39170
bb016596
UD
39171 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39172 __set_errno.
8e58439c
UD
39173 * malloc/hooks.c: Likewise.
39174
aebae053 39175 [BZ #11929]
02d46fc4
UD
39176 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39177 variables statically.
39178 (narenas): Initialize.
39179 (list_lock): Initialize.
bb016596
UD
39180 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39181 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
39182 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39183 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39184 Add initializers to main_arena and mp_.
39185 (malloc_state): Remove pagesize member. Change all users to use
39186 GLRO(dl_pagesize).
39187
39188 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39189 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39190 is always initialized.
39191
22a89187
UD
39192 * malloc/malloc.c: Removed unused configurations and dead code.
39193 * malloc/arena.c: Likewise.
39194 * malloc/hooks.c: Likewise.
02d46fc4 39195 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 39196
d063d164
UD
39197 * include/tls.h: Removed. USE___THREAD must always be defined.
39198 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39199 * elf/dl-libc.c: Likewise.
39200 * elf/dl-tsd.c: Likewise.
39201 * include/errno.h: Likewise.
39202 * include/netdb.h: Likewise.
39203 * include/resolv.h: Likewise.
39204 * inet/herrno-loc.c: Likewise.
39205 * inet/herrno.c: Likewise.
39206 * malloc/arena.c: Likewise.
39207 * malloc/hooks.c: Likewise.
39208 * malloc/malloc.c: Likewise.
39209 * resolv/res-state.c: Likewise.
39210 * resolv/res_libc.c: Likewise.
39211 * sysdeps/i386/dl-machine.h: Likewise.
39212 * sysdeps/ia64/dl-machine.h: Likewise.
39213 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39214 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39215 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39216 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39217 * sysdeps/sh/dl-machine.h: Likewise.
39218 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39219 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39220 * sysdeps/unix/i386/sysdep.S: Likewise.
39221 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39222 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39223 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39224 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39225 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39226 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39227 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39230 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39231 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39232 * sysdeps/x86_64/dl-machine.h: Likewise.
39233 * tls.make.c: Likewise.
39234
3ce1f295
UD
39235 * configure.in: Remove --with-__thread option. Make tests for
39236 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39237 tls_model attribute fail if no support is available. Remove
39238 USE_IN_LIBIO.
39239 * Makeconfig: Adjust for dropped configure option. All features are
39240 now mandatory.
39241 * Makerules: Likewise.
39242 * Versions.def: Likewise.
39243 * argp/argp-fmtstream.c: Likewise.
39244 * argp/argp-fmtstream.h: Likewise.
39245 * argp/argp-help.c: Likewise.
39246 * assert/assert.c: Likewise.
39247 * config.h.in: Likewise.
39248 * config.make.in: Likewise.
39249 * configure: Likewise.
39250 * configure.in: Likewise.
39251 * csu/Versions: Likewise.
39252 * csu/init.c: Likewise.
39253 * elf/tst-audit2.c: Likewise.
39254 * elf/tst-tls10.c: Likewise.
39255 * elf/tst-tls10.h: Likewise.
39256 * elf/tst-tls11.c: Likewise.
39257 * elf/tst-tls12.c: Likewise.
39258 * elf/tst-tls14.c: Likewise.
39259 * elf/tst-tlsmod11.c: Likewise.
39260 * elf/tst-tlsmod12.c: Likewise.
39261 * elf/tst-tlsmod13.c: Likewise.
39262 * elf/tst-tlsmod13a.c: Likewise.
39263 * elf/tst-tlsmod14a.c: Likewise.
39264 * elf/tst-tlsmod15b.c: Likewise.
39265 * elf/tst-tlsmod16a.c: Likewise.
39266 * elf/tst-tlsmod16b.c: Likewise.
39267 * elf/tst-tlsmod7.c: Likewise.
39268 * elf/tst-tlsmod8.c: Likewise.
39269 * elf/tst-tlsmod9.c: Likewise.
39270 * gmon/gmon.c: Likewise.
39271 * grp/fgetgrent_r.c: Likewise.
39272 * grp/putgrent.c: Likewise.
39273 * hurd/fopenport.c: Likewise.
39274 * include/libc-symbols.h: Likewise.
39275 * include/tls.h: Likewise.
39276 * intl/gettextP.h: Likewise.
39277 * intl/loadinfo.h: Likewise.
39278 * locale/global-locale.c: Likewise.
39279 * locale/localeinfo.h: Likewise.
39280 * mach/devstream.c: Likewise.
39281 * malloc/arena.c: Likewise.
39282 * malloc/set-freeres.c: Likewise.
39283 * misc/err.c: Likewise.
39284 * misc/getttyent.c: Likewise.
39285 * misc/mntent_r.c: Likewise.
39286 * posix/getopt.c: Likewise.
39287 * posix/wordexp.c: Likewise.
39288 * pwd/fgetpwent_r.c: Likewise.
39289 * resolv/Versions: Likewise.
39290 * resolv/res_hconf.c: Likewise.
39291 * shadow/fgetspent_r.c: Likewise.
39292 * shadow/putspent.c: Likewise.
39293 * stdio-common/printf_fphex.c: Likewise.
39294 * stdio-common/tmpfile.c: Likewise.
39295 * stdlib/abort.c: Likewise.
39296 * stdlib/fmtmsg.c: Likewise.
39297 * sunrpc/auth_unix.c: Likewise.
39298 * sunrpc/clnt_perr.c: Likewise.
39299 * sunrpc/clnt_tcp.c: Likewise.
39300 * sunrpc/clnt_udp.c: Likewise.
39301 * sunrpc/clnt_unix.c: Likewise.
39302 * sunrpc/openchild.c: Likewise.
39303 * sunrpc/svc_simple.c: Likewise.
39304 * sunrpc/svc_tcp.c: Likewise.
39305 * sunrpc/svc_udp.c: Likewise.
39306 * sunrpc/svc_unix.c: Likewise.
39307 * sunrpc/xdr.c: Likewise.
39308 * sunrpc/xdr_array.c: Likewise.
39309 * sunrpc/xdr_rec.c: Likewise.
39310 * sunrpc/xdr_ref.c: Likewise.
39311 * sunrpc/xdr_stdio.c: Likewise.
39312
1248c1c4
PB
393132011-09-09 Ulrich Drepper <drepper@gmail.com>
39314
39315 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39316
393172011-07-03 Andreas Jaeger <aj@suse.de>
39318
39319 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39320 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39321 regenerate with gen-libm-tests.pl.
39322
393232010-05-12 Petr Baudis <pasky@suse.cz>
39324
39325 [BZ #11589]
39326 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39327 around j0() zero points by switching to j1().
39328 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39329 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39330 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39331 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39332
f22e1074
UD
393332011-09-09 Ulrich Drepper <drepper@gmail.com>
39334
f19009c1
UD
39335 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39336 instead of 0.
39337 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 39338 instead of 0.
f19009c1
UD
39339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39340 Patch in part by Pavel Roskin <proski@gnu.org>.
39341
3f8cc204
UD
39342 [BZ #13138]
39343 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39344 realloc.
39345 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39346 Free memory block if necessary.
39347
f22e1074
UD
39348 [BZ #12847]
39349 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39350 be NULL. Don't lock in this case.
39351
0a2349f9
RM
393522011-09-09 Roland McGrath <roland@hack.frob.com>
39353
39354 * elf/elf.h (ELFOSABI_GNU): New macro.
39355 (ELFOSABI_LINUX): Define to that.
39356
f3cdd467
DZ
393572011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39358
39359 * string/strncat.c (strncat): Undef the symbol in case it has been
39360 defined in bits/string.h.
39361
74718d13
UD
393622011-09-09 Ulrich Drepper <drepper@gmail.com>
39363
633e9e0f
UD
39364 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39365
0a2349f9 39366 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
39367 link map.
39368
f9924780
AJ
393692011-08-17 Andreas Jaeger <aj@suse.de>
39370
39371 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39372
7f5517aa
PP
393732011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39374 Ian Lance Taylor <iant@google.com>
39375
39376 * math/libm-test.inc (lround_test): New testcase.
39377 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39378
762011fe
UD
393792011-09-08 Ulrich Drepper <drepper@gmail.com>
39380
92963737
UD
39381 * Makefile: Remove support for automatic cvs check-ins.
39382 * Makerules: Likewise.
39383 * config.make.in: Likewise.
39384 * configure.in: Likewise.
39385 * intl/Makefile: Likewise.
39386 * locale/Makefile: Likewise.
39387 * po/Makefile: Likewise.
39388 * posix/Makefile: Likewise.
39389 * sysdeps/gnu/Makefile: Likewise.
39390 * sysdeps/mach/hurd/Makefile: Likewise.
39391 * sysdeps/sparc/sparc32/Makefile: Likewise.
39392
b0727fd8
JS
39393 [BZ #13118]
39394 * posix/Makefile (bug-regex32-ENV): Define.
39395 Patch by John Stanley <jpsinthemix@verizon.net>.
39396
a0f33f99
UD
39397 * misc/Makefile (headers): Add bits/select2.h.
39398 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39399 * misc/bits/select2.h: New file.
39400 * include/bits/select2.h: New file.
39401 * debug/Makefile (routines): Add fdelt_chk.
39402 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39403 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39404 FD_ISSET.
39405 * debug/fdelt_chk.c: New file.
39406
762011fe
UD
39407 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39408 * wcsmbs/test-wmemcmp.c: Likewise.
39409 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 39410 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
39411
394122011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39413
39414 * string/Makefile (strop-tests): Add memcmp.
39415 * string/test-wmemcmp.c: New file.
39416 * string/test-memcmp.c: Add wmemcmp support.
39417
7f513ec8
RM
394182011-09-08 Roland McGrath <roland@hack.frob.com>
39419
0442afb4
RM
39420 [BZ #13153]
39421 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39422 2011-07-19 change.
39423
7f513ec8
RM
39424 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39425 garbage value in a __mach_port_mod_refs call in the cases of the
39426 task-self and thread-self ports.
39427
a12b2239
ST
394282011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39429
39430 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39431
610f9ab4
AS
394322011-09-08 Andreas Schwab <schwab@redhat.com>
39433
7f513ec8 39434 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39435
48882a1a
LD
394362011-09-07 Ulrich Drepper <drepper@gmail.com>
39437
b49865be
UD
39438 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39439
fdc86bc9
UD
39440 * elf/dl-libc.c (dlerror_run): Pass back error code from
39441 dl_catch_error.
39442
c966526a
UD
39443 [BZ #13123]
39444 * elf/dl-load.c (lose): Free l_origin if it is valid.
39445
48882a1a
LD
39446 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39447 names.
39448 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39449 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39450 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39451 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39452 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39453 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39454
77a2a8b4
AZ
394552011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39456
39457 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39458 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39459 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39460 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39461 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39462 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39463 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39464 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39465 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39466 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39467
24f579d8
AM
394682011-08-15 Alan Modra <amodra@gmail.com>
39469
39470 [BZ #13092]
39471 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39472 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39473 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39474 ppc_mcount to static-only-routines.
39475 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39476 __mcount_internal.
39477 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39478 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39479
3d4837df
UD
394802011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39481
39482 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39483 for finite and infinity parameters.
39484
22700377
WS
394852011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39486
39487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39488 and add nop instructions for throughput optimization.
39489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39490
5025581e
WS
394912011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39492
39493 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39494 aligned copy for power7 with vector-scalar instructions.
39495 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39496
08a300c9
L
394972011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39498
39499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39500 AVX check.
39501
59178ef9
AS
395022011-09-07 Andreas Schwab <schwab@redhat.com>
39503
39504 [BZ #13144]
39505 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39506 last change.
39507
e38ba7ab
UD
395082011-09-07 Ulrich Drepper <drepper@gmail.com>
39509
39510 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39511 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39512 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39513 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39514 clock_gettime.
39515
d53a73ac
UD
395162011-09-06 Ulrich Drepper <drepper@gmail.com>
39517
fc8bffcc
UD
39518 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39519 Forgot to demangle the pointer.
39520
ceaa0c5d
UD
39521 * sysdeps/i386/sysdep.h: Define atom_text_section.
39522 * sysdeps/x86_64/sysdep.h: Likewise.
39523 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39524 section with atom_text_section.
39525 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39526 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39527 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39528 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39529 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39530
a77d3c17
UD
39531 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39532 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39533 already be defined. Change to take two parameters and don't assign
39534 result to variable. Adjust all users.
39535 Define INTERNAL_GETTIME if not already defined.
39536 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39537 call.
39538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39539 HAVE_CLOCK_GETTIME_VSYSCALL.
39540 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39541
d53a73ac
UD
39542 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39543 gettimeofday vsyscall, just use time.
39544
a8f84144
AS
395452011-09-06 Andreas Schwab <schwab@redhat.com>
39546
39547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39548 <errno.h>.
39549
ef606249
UD
395502011-09-06 Ulrich Drepper <drepper@gmail.com>
39551
39552 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39553 syscall on x86-64.
39554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39555 syscall.
39556 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39557 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39558 syscall if possible.
39559
6585cb60
UD
395602011-09-05 Ulrich Drepper <drepper@gmail.com>
39561
39562 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39563 e_ident. Don't pass to find_mapsXX.
39564 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39565
a5f524e4
LD
395662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39567
39568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39569 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39570 * sysdeps/x86_64/multiarch/strchr.S: Update.
39571 Check bit_slow_BSF bit.
39572 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39573 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39574 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39575
554881ef
UD
395762011-09-05 Ulrich Drepper <drepper@gmail.com>
39577
d96de963
UD
39578 [BZ #13134]
39579 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39580 before glibc 2.15.
39581 (tryshell): Define.
39582 (__spawni): Change last parameter to be flag. Test
39583 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39584 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39585 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39586 * posix/spawni.c: Likewise.
39587 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39588 * posix/spawnp.c: Likewise. Change normal version to use
39589 SPAWN_XFLAGS_USE_PATH.
39590 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39591 SPAWN_XFLAGS_TRY_SHELL.
39592
d48e5868
UD
39593 [BZ #13150]
39594 * posix/glob.h: Remove gcc 1.x support.
39595
554881ef
UD
39596 [BZ #13068]
39597 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39598
693fb948
LD
395992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39600
39601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39602 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39603 strrchr-sse2-bsf
39604 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39605 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39606 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39607 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39608 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39609 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39610
1b48c537
UD
396112011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39612
49d42c37
UD
39613 * sysdeps/x86_64/wcscmp.S: New file.
39614
1b48c537
UD
39615 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39616 wcscmp-c wcscmp-sse2
39617 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39618 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39619 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39620 * wcsmbs/wcscmp.c: Allow renaming.
39621
15c95c5d
DM
396222011-09-05 David S. Miller <davem@davemloft.net>
39623
39624 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39625 stack slot, rather than the struct return pointer slot.
39626 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39627 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39629 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39630
2f0ad8f3
UD
396312011-09-05 Ulrich Drepper <drepper@gmail.com>
39632
d88ae418
UD
39633 * po/ja.po: Update from translation team.
39634
2f0ad8f3
UD
39635 [BZ #13144]
39636 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39637 kernel in 64-bit binaries.
39638
5f4318d1
DM
396392011-09-01 David S. Miller <davem@davemloft.net>
39640
39641 * elf/elf.h (HWCAP_SPARC_*): Move to..
39642 * sysdeps/sparc/sysdep.h: this new file and add new values.
39643 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39644 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39645 _DL_HWCAP_COUNT to 24.
39646 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39647 entries.
39648 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39649 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39650 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39652 instead of magic constants.
39653 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39654
3ba57516
DM
396552011-08-31 David S. Miller <davem@davemloft.net>
39656
39657 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39658 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39659 Reimplement to do errno handling inline.
39660 (SYSCALL_ERROR_HANDLER): New macro.
39661 (__SYSCALL_STRING): Do not do errno handling in asm.
39662 (__CLONE_SYSCALL_STRING): Delete.
39663 (__INTERNAL_SYSCALL_STRING): Delete.
39664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39665 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39666 (PSEUDO): Reimplement to do errno handling inline.
39667 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39668 (SYSCALL_ERROR_HANDLER): New macro.
39669 (__SYSCALL_STRING): Do not do errno handling in asm.
39670 (__CLONE_SYSCALL_STRING): Delete.
39671 (__INTERNAL_SYSCALL_STRING): Delete.
39672 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39673 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39674 i386.
39675 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39676 (inline_syscall*): Add 'err' argument.
39677 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39678 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39679 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39680 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39681
39682 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39683 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39684
2bc17433
AS
396852011-08-30 Andreas Schwab <schwab@redhat.com>
39686
39687 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39688
fbeb5f4d
JO
396892011-08-29 Jiri Olsa <jolsa@redhat.com>
39690
39691 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39692 directive.
39693
ad69cc26
DM
396942011-08-24 David S. Miller <davem@davemloft.net>
39695
39696 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39697
39dd69df
AS
396982011-08-24 Andreas Schwab <schwab@redhat.com>
39699
39700 * elf/Makefile: Add rules to build and run unload8 test.
39701 * elf/unload8.c: New file.
39702 * elf/unload8mod1.c: New file.
39703 * elf/unload8mod1x.c: New file.
39704 * elf/unload8mod2.c: New file.
39705 * elf/unload8mod3.c: New file.
39706
39707 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39708 it wasn't used.
39709
2c0b250a
DM
397102011-08-23 David S. Miller <davem@davemloft.net>
39711
39712 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39713 subtract stack bias.
39714 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39715 %sp not %fp in calculations.
39716 (_JMPBUF_UNWINDS_ADJ): Likewise.
39717
22044b48
DM
39718 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39719 (aio_suspend): Call it to force an exception region around the
39720 AIO_MISC_WAIT() invocation.
39721
2cae4995
AS
397222011-08-23 Andreas Schwab <schwab@redhat.com>
39723
39724 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39725 backslash.
39726
873a772e
AJ
397272011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39728
39729 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39730 protection macro.
39731 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39732 and <dl-machine.h>.
39733 (Elf64_FuncDesc): Remove.
39734
25ad0df1
DM
397352011-08-22 David S. Miller <davem@davemloft.net>
39736
39737 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39738 sigaltstack check, add missing cfi directives.
39739 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39740 missing cfi directives, and sigaltstack handling.
39741
e888bcbe
AS
397422011-08-16 Andreas Schwab <schwab@redhat.com>
39743
39744 [BZ #11724]
39745 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39746 object is seen twice.
39747 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39748
39749 * elf/Makefile (distribute): Add tst-initorder2.c.
39750 (tests): Add tst-initorder2.
39751 (modules-names): Add tst-initorder2a tst-initorder2b
39752 tst-initorder2c tst-initorder2d. Add rules to build them.
39753 ($(objpfx)tst-initorder2.out): New rule.
39754 * elf/tst-initorder2.c: New file.
39755 * elf/tst-initorder2.exp: New file.
39756
87162f46
AS
397572011-08-22 Andreas Schwab <schwab@redhat.com>
39758
70538b7f
AS
39759 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39760
f55ffe58
AS
39761 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39762 dependencies back to end of function.
39763
87162f46
AS
39764 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39765 $(elfobjdir)/ld.so.
39766
91b392a4
UD
397672011-08-21 Ulrich Drepper <drepper@gmail.com>
39768
39769 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39770 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39771 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39772 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39773 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39774 of __vdso_gettimeofday.
39775 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39776 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39777 attribute_hidden.
39778 (_libc_vdso_platform_setup): Remove initialization of
39779 __vdso_gettimeofday and __vdso_time.
39780
5c43483f
UD
397812011-08-20 Ulrich Drepper <drepper@gmail.com>
39782
775a77e7
UD
39783 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39784 and fgetc_unlocked.
39785 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39786 getc_unlocked.
89f447ed 39787
49c74ba9
UD
39788 * elf/dl-open.c (add_to_global): Report additions to the global scope
39789 for LD_DEBUG=scopes.
39790 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39791 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39792
5c43483f
UD
39793 [BZ #13114]
39794 * stdio-common/Makefile (tests): Add bug24.
39795 * stdio-common/bug24.c: New file.
39796
a101b025
AJ
397972011-08-19 Andreas Jaeger <aj@suse.de>
39798
39799 [BZ #13114]
39800 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39801 non-existant file when using close-on-exec mode.
39802
c88f1766
UD
398032011-08-20 Ulrich Drepper <drepper@gmail.com>
39804
0276a718
UD
39805 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39806 the very first instruction.
39807
c88f1766
UD
39808 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39809 the CFI state in the end.
39810 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39811 inclusion of dl-trampoline.h.
39812 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39813
51ccffa0
AS
398142011-08-19 Andreas Schwab <schwab@redhat.com>
39815
94d7165f
AS
39816 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39817 expectations for long double.
39818
51ccffa0
AS
39819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39820 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39821
fd708658 398222011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39823
39824 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39825 artificual limit depends upon the system page size.
39826
44f0a71e
UD
398272011-08-17 Ulrich Drepper <drepper@gmail.com>
39828
39829 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39830 * resolv/Makefile: Define CFLAGS-libresolv.
39831
8de79a24
AS
398322011-08-17 Andreas Schwab <schwab@redhat.com>
39833
39834 * nss/makedb.c (compute_tables): Make variables used in nested
39835 function static.
39836
27724598
UD
398372011-08-17 Ulrich Drepper <drepper@gmail.com>
39838
c5305d88
UD
39839 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39840 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39841 if buffer was too small.
39842
27724598
UD
39843 * elf/pldd.c (main): Attach to all threads in the process.
39844 Rewrite /proc handling to use *at functions.
39845
076fe015
UD
398462011-08-16 Ulrich Drepper <drepper@gmail.com>
39847
174baab3
UD
39848 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39849 specifies first scope to show.
39850 (dl_open_worker): Update callers. Move printing scope of new
39851 object to before the relocation.
44f0a71e 39852 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39853 * sysdeps/generic/ldsodefs.h: Update declaration.
39854
076fe015
UD
39855 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39856 string for the scope number.
39857
a60df2c3
UD
398582011-08-14 Ulrich Drepper <drepper@gmail.com>
39859
39860 * nscd/servicescache.c (cache_addserv): Make sure written is always
39861 initialized.
39862
5e4287d1
RM
398632011-08-14 Roland McGrath <roland@hack.frob.com>
39864
85ae0589
RM
39865 * sysdeps/i386/i486/bits/atomic.h
39866 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39867 statement expression, so as to suppress "set but not used" warning.
39868 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39869
69f63097
RM
39870 * string/strncat.c (STRNCAT): Use prototype definition.
39871
675456ef
RM
39872 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39873 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39874 -Iprograms here.
39875 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39876 (localedef-modules): Add localedef.
39877 (locale-modules): Add locale.
39878
5e4287d1
RM
39879 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39880 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39881 to avoid a warning.
39882
9c96ff23
DM
398832011-08-14 David S. Miller <davem@davemloft.net>
39884
39885 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39886 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39887
f9ddf089
UD
398882011-08-13 Ulrich Drepper <drepper@gmail.com>
39889
44f0a71e 39890 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39891 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39892 * elf/rtld.c (dl_main): Set l_name of vDSO.
39893 Call _dl_show_scope when DL_DEBUG_SCOPES.
39894 (process_dl_debug): Recognize scopes flag and also set it for all.
39895 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39896 Declare _dl_show_scope.
39897
1dc27704
UD
39898 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39899 (do_dlopen): Pass caller_dlopen to dl_open.
39900 (__libc_dlopen_mode): Initialize caller_dlopen.
39901
f9ddf089
UD
39902 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39903 of libc. Make tolower call locale-independent. Optimize a bit by
39904 using isdigit instead of isalnum.
39905 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39906
9ac533d3
UD
399072011-08-12 Ulrich Drepper <drepper@gmail.com>
39908
39909 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39910 was a dependency or dynamically loaded.
39911
89edf2e9
UD
399122011-08-11 Ulrich Drepper <drepper@gmail.com>
39913
8e999d29
UD
39914 * intl/l10nflist.c: Allow architecture-specific pop function.
39915 * sysdeps/x86_64/l10nflist.c: New file.
39916
89edf2e9
UD
39917 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39918 classification.
39919
14d96785
AS
399202011-08-10 Andreas Schwab <schwab@redhat.com>
39921
39922 * include/dirent.h: Add libc_hidden_proto for scandirat and
39923 scandirat64. Don't declare __scandirat64.
39924 * dirent/scandirat.c: Add libc_hidden_def.
39925 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39926 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39927
6761ac04
DM
399282011-08-10 David S. Miller <davem@davemloft.net>
39929
39930 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39931 enum.
39932 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39933 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39935
c55fbd1e
UD
399362011-08-09 Ulrich Drepper <drepper@gmail.com>
39937
39938 * Versions.def [libc]: Add GLIBC_2.15.
39939 * dirent/Makefile (routines): Add scandirat and scandirat64.
39940 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39941 GLIBC_2.15.
39942 * dirent/dirent.h: Declare scandirat and scandirat64.
39943 * dirent/scandirat.c: New file.
39944 * dirent/scandirat64.c: New file.
39945 * sysdeps/wordsize-64/scandirat.c: New file.
39946 * sysdeps/wordsize-64/scandirat64.c: New file.
39947 * dirent/opendir.c: Define opendirat.
39948 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39949 using scandirat.
39950 * dirent/scandir64.c: Adjust for scandir.c change.
39951 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39952 __scandirat64, and __scandir_cancel_handler.
39953 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39954 additional parameter and use openat instead of open (outside of ld.so).
39955 Add new __opendir as wrapper around __opendirat.
39956 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39957 here without requiring old scandirat implementation.
39958
879165f2
UD
399592011-08-08 Ulrich Drepper <drepper@gmail.com>
39960
39961 * dirent/scandir.c (cancel_handler): Renamed to
39962 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39963 defined. Adjust users.
39964 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39965 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39966
cb7e923b
UD
399672011-08-04 Ulrich Drepper <drepper@gmail.com>
39968
16292edd
UD
39969 * string/test-string.h (IMPL): Use __STRING to expand name and then
39970 stringify it.
39971
cb7e923b
UD
39972 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39973 of cleanups.
39974
cff82933
LD
399752011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39976
39977 * string/Makefile: Update.
39978 (strop-tests): Append strncat.
39979 * string/test-wcscmp.c: New file.
39980 New comprehensive test for wcscmp.
39981 * string/test-strcmp.c: Update.
39982 (WIDE): New define.
39983
9be9bfcc
AS
399842011-07-22 Andreas Schwab <schwab@redhat.com>
39985
39986 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39987 line.
39988
2e96f1c7
AS
399892011-07-26 Andreas Schwab <schwab@redhat.com>
39990
39991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39992 encoding to ACE if AI_IDN.
39993
85188888
JJ
399942011-08-01 Jakub Jelinek <jakub@redhat.com>
39995
39996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39997 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39998
5fa16e9b
LD
399992011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40000
40001 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40002 Fix overflow bug in strncat.
40003 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40004
40005 * string/test-strncat.c: Update.
40006 Add new tests for checking overflow bugs.
40007
400082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40009
40010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40011 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40012 * sysdeps/i386/i686/multiarch/strcat.S: New file.
40013 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40014 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40015 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40016 * sysdeps/i386/i686/multiarch/strncat.S: New file.
40017 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40018 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40019
40020 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40021 (USE_AS_STRCAT): Define.
40022 Add strcat and strncat support.
40023 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40024
8c1a459f
AS
400252011-07-25 Andreas Schwab <schwab@redhat.com>
40026
40027 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40028 __n bigger than INT_MAX+1.
40029 (__strncmp_g): Likewise.
40030
bba33c28
UD
400312011-07-23 Ulrich Drepper <drepper@gmail.com>
40032
798be72d
UD
40033 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40034 * libio/stido.h: Likewise.
40035
8accd4dc
UD
40036 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40037 (AF_NFC): Define.
40038 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40039 (AF_NFC): Define.
40040
cbff0d96
UD
40041 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40042 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40043 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40044 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40045 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40046
9191c04a
UD
40047 [BZ #13021]
40048 * scripts/test-installation.pl: Don't expect libnss_test1 to be
40049 installed.
40050
bba33c28
UD
40051 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40052 typo.
40053 (_dl_x86_64_save_sse): Likewise.
40054
90f139dd
UD
400552011-07-22 Ulrich Drepper <drepper@gmail.com>
40056
1aae088a
UD
40057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
40058 OSXSAVE.
40059 (_dl_x86_64_save_sse): Likewise.
40060
8e2045f5
UD
40061 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
40062
90f139dd
UD
40063 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
40064
1d002f25
AS
400652011-07-21 Andreas Schwab <schwab@redhat.com>
40066
40067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
40068 change.
40069 (_dl_x86_64_save_sse): Use correct AVX check.
40070
21137f89
UD
400712011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40072
40073 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
40074 bug in strncpy/strncat.
40075 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40076
a65c0b7a
UD
400772011-07-21 Ulrich Drepper <drepper@gmail.com>
40078
40079 * string/tester.c (test_strcat): Add tests for different alignments
40080 of source and destination.
40081 (test_strncat): Likewise.
40082
6986b98a
UD
400832011-07-20 Ulrich Drepper <drepper@gmail.com>
40084
90bb2039
UD
40085 [BZ #12852]
40086 * posix/glob.c (glob): Check passed in values before using them in
40087 expressions to avoid some overflows.
40088 (glob_in_dir): Likewise.
40089
5644ef54
UD
40090 [BZ #13007]
40091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
40092 check for AVX enablement so that we don't crash with old kernels and
40093 new hardware.
40094 * elf/tst-audit4.c: Add same checks here.
40095 * elf/tst-audit6.c: Likewise.
40096
40097 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 40098
bfc9dc9b
AS
400992011-07-09 Andreas Schwab <schwab@linux-m68k.org>
40100
40101 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
40102
702e64bb
UD
401032011-07-20 Ulrich Drepper <drepper@gmail.com>
40104
40105 * po/cs.po: Update from translation team.
40106 * po/bg.po: Likewise.
40107
295e904f
MP
401082011-07-12 Marek Polacek <mpolacek@redhat.com>
40109
40110 * misc/sys/cdefs.h: Add support for const attribute.
40111 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
40112 to gnu_dev_{major,minor,makedev} functions.
40113
3ff94596
MP
401142011-07-20 Marek Polacek <mpolacek@redhat.com>
40115
40116 * intl/dcigettext.c (get_output_charset): Add missing bracket.
40117
28b59fca
AS
401182011-07-20 Andreas Schwab <schwab@redhat.com>
40119
40120 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
40121 strlen results.
40122
19df733e
AK
401232011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40124
40125 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
40126 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
40127 register in order to avoid conflicts with the soft frame pointer
40128 being held in r11 when necessary.
40129 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
40130 (INTERNAL_VSYSCALL_NCS): Likewise.
40131
c8835729
MP
401322011-07-14 Marek Polacek <mpolacek@redhat.com>
40133
40134 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
40135 * elf/dl-fini.c (_dl_fini): Adjust caller.
40136 * elf/dl-close.c (_dl_close_worker): Likewise.
40137 * sysdeps/generic/ldsodefs.h: Adjust declaration.
40138
b902330c
MP
401392011-07-15 Marek Polacek <mpolacek@redhat.com>
40140
8991e135
MP
40141 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
40142 "aux_cache->nlibs < 0".
40143
b902330c
MP
40144 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
40145 in the reload-count case.
40146
99710781
LD
401472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
40148
40149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40150 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
40151 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
40152 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
40153 * sysdeps/x86_64/multiarch/strcat.S: New file.
40154 * sysdeps/x86_64/multiarch/strncat.S: New file.
40155 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40156 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40157 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40158 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40160 (USE_AS_STRCAT): Define.
40161 Add strcat and strncat support.
40162 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40163 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40164 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40165 * string/strncat.c: Update.
40166 (USE_AS_STRNCAT): Define.
40167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40168 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40169 and i7.
40170 * sysdeps/x86_64/multiarch/init-arch.h
40171 (bit_Prefer_PMINUB_for_stringop): New.
40172 (index_Prefer_PMINUB_for_stringop): Likewise.
40173 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40174 bit_Prefer_PMINUB_for_stringop.
40175
7dc6bd90
UD
401762011-07-19 Ulrich Drepper <drepper@gmail.com>
40177
40178 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40179 buffer64.
40180 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40181 of casting of buffer.
40182 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40183 buffer32 and buffer64.
40184 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40185 writes instead of casting of buffer.
40186 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40187 buffer32.
40188 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40189 casting of buffer.
40190
e0e72284
AS
401912011-07-19 Andreas Schwab <schwab@redhat.com>
40192
40193 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40194
feb1eb0b
UD
401952011-07-19 Ulrich Drepper <drepper@gmail.com>
40196
40197 * nscd/nscd.c (termination_handler): Don't do anything for a database
40198 if it has not yet been initialized.
40199
298711ff
UD
402002011-07-18 Ulrich Drepper <drepper@gmail.com>
40201
40202 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40203
402042011-07-15 Marek Polacek <mpolacek@redhat.com>
40205
40206 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40207
f9d68389
UD
402082011-07-18 Ulrich Drepper <drepper@gmail.com>
40209
40210 * po/nl.po: Update from translation team.
40211 * po/sv.po: Likewise.
40212
db290cf5
RM
402132011-07-16 Roland McGrath <roland@hack.frob.com>
40214
40215 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40216 now disallowed by GCC.
5c550700 40217
fd5e21c7
RM
40218 * configure.in (use-default-link): Default to yes if a test -shared
40219 link meets our qualifications.
40220 * configure: Regenerated.
40221
5c550700
RM
40222 * config.make.in (output-format): New variable.
40223 * configure.in: Check for ld --print-output-format support.
40224 * configure: Regenerated.
40225 * Makerules ($(common-objpfx)format.lds)
40226 [$(output-format) != unknown]: Just use $(output-format),
40227 instead of the linker-script munging.
40228
9fa2c032
RM
402292011-07-14 Roland McGrath <roland@hack.frob.com>
40230
a6928d51
RM
40231 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40232 of $(common-objpfx)shlib.lds.
40233 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40234
661607b3
RM
40235 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40236 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40237
9fa2c032
RM
40238 * configure.in (-z relro check): Adjust test code to add a large
40239 writable data section after it.
40240 * configure: Regenerated.
40241
defe9061
RM
402422011-07-11 Roland McGrath <roland@hack.frob.com>
40243
40244 * configure.in (-z relro check): Fix test code to make the variable
40245 truly const.
40246 * configure: Regenerated.
40247
319b9ad4
UD
402482011-07-11 Ulrich Drepper <drepper@gmail.com>
40249
40250 * nscd/nscd.h (struct traced_file): Define.
40251 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40252 elements. Add traced_files.
40253 (inotify_fd): Declare.
40254 (register_traced_file): Declare.
40255 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40256 (inotify_fd): Export.
40257 (resolv_conf_descr): Remove.
40258 (nscd_init): Move inotify descriptor creation to main.
40259 Don't register files for notification here.
40260 (register_traced_file): New function.
40261 (invalidate_cache): Don't use reset_res to determine whether to call
40262 res_init, go through the list of registered files.
40263 (main_loop_poll): The inotify descriptors are now stored in the
40264 structures for the traced files.
40265 (main_loop_epoll): Likewise
40266 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40267 to __nss_disable_nscd.
40268 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40269 for a database anymore. Check the records for all the registered
40270 files instead.
40271 * nss/Makefile (libnss_files-routines): Add files-init.
40272 (libnss_db-routines): Add db-init.
40273 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40274 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40275 * nss/nss_db/db-init.c: New file.
40276 * nss/nss_files/files-init.c: New file.
40277 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40278 __nss_lookup_function.
40279 (__nss_lookup_function): Call nss_load_library.
40280 (nss_load_all_libraries): New function.
40281 (__nss_disable_nscd): Take parameter with callback function for files
40282 to register. Set is_nscd. Load all the DSOs for the NSS modules
40283 used for the cached services.
40284 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40285 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40286 options for features to all the files in nscd.
40287
40288 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40289
23bee3e8
RM
402902011-07-10 Roland McGrath <roland@hack.frob.com>
40291
40292 * csu/elf-init.c (__libc_csu_init): Comment typo.
40293
46a5b7f0
UD
402942011-07-09 Ulrich Drepper <drepper@gmail.com>
40295
40296 * po/pl.po: Update from translation team.
40297 * po/ja.po: Likewise.
40298 * po/ru.po: Likewise.
40299 * po/ko.po: Likewise.
40300 * po/fr.po: Likewise.
40301
d30cf5bb
RM
403022011-07-09 Roland McGrath <roland@hack.frob.com>
40303
113ddea4
RM
40304 * configure.in (.ctors/.dtors header and trailer check):
40305 Use an empirical test on a built program.
40306 * configure: Regenerated.
40307
574920b4
RM
40308 * configure.in (-z relro check): Use an empirical test on a built DSO.
40309 Detect, but do not require, on ia64.
40310 * configure: Regenerated.
40311
d30cf5bb
RM
40312 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40313 Update tests that use readelf to use $READELF instead.
40314 * configure: Regenerated.
40315
8538fdb3
UD
403162011-07-08 Ulrich Drepper <drepper@gmail.com>
40317
40318 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40319 if the result is not used.
40320
04d08991
AJ
403212011-07-05 Andreas Jaeger <aj@suse.de>
40322
40323 [BZ#9696]
40324 * stdlib/tst-strtod.c: Add testcase.
40325
de283087
AD
403262011-07-07 Ulrich Drepper <drepper@gmail.com>
40327
4e5f31c8 40328 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 40329 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
40330 The latter has a higher limit. Take additional parameter to pass to
40331 the new function.
40332 (__pathconf): Pass file to __statfs_link_max.
40333 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40334 __statfs_link_max.
40335 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40336 __statfs_link_max.
40337
de283087
AD
40338 [BZ #12868]
40339 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40340 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40341 Handle Lustre.
40342 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40343 (__statfs_filesize_max): Likewise.
40344 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40345
c75fa153
AJ
403462011-07-05 Andreas Jaeger <aj@suse.de>
40347
40348 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40349
1a544854
UD
403502011-07-06 Marek Polacek <mpolacek@redhat.com>
40351
40352 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40353 `status' variable.
40354 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40355 Likewise.
40356
6f0eec67
UD
403572011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40358
40359 * Makefile (strop-tests): Add strncat.
40360 * string/test-strncat.c: New file.
40361
aae30307
UD
403622011-06-30 Marek Polacek <mpolacek@redhat.com>
40363
40364 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40365
c0cfb5eb
UD
403662011-06-21 Andreas Jaeger <aj@suse.de>
40367
40368 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40369 Copy rule from iconvdata/Makefile.
40370
01636b21
UD
403712011-07-06 Ulrich Drepper <drepper@gmail.com>
40372
40373 [BZ #12922]
40374 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40375 but no long options are defined, just return 'W'.
40376
9895c8bc
UD
403772011-06-22 Marek Polacek <mpolacek@redhat.com>
40378
40379 [BZ #9696]
40380 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40381
5d4cf042
UD
403822011-07-06 Ulrich Drepper <drepper@gmail.com>
40383
40384 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40385 netgroups to read.
960e5535 40386 (innetgr): Likewise.
5d4cf042 40387
751eb97e
RM
403882011-07-05 Roland McGrath <roland@hack.frob.com>
40389
40390 * config.make.in (install_root): Default to $(DESTDIR).
40391
f15f1e45
UD
403922011-07-05 Ulrich Drepper <drepper@gmail.com>
40393
40394 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40395
4e34ac6a
RM
403962011-07-02 Roland McGrath <roland@hack.frob.com>
40397
5e9b6af4
RM
40398 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40399
84f9ea0f
RM
40400 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40401 containing directory rather than embedding absolute directory names.
40402
ea5ee9f7
RM
40403 * scripts/check-local-headers.sh: Rewritten using awk.
40404 Match by word, not by line. Print error messages for matches.
40405 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40406
1b74661a
RM
40407 * Makerules [shlib-lds-flags empty]:
40408 ($(common-objpfx)libc_pic.opts): New target.
40409 ($(common-objpfx)libc_pic.os.clean): New target.
40410 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40411
40412 * config.make.in (OBJCOPY): New variable.
40413 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40414 * configure: Regenerated.
40415
f781ef40
RM
40416 * config.make.in (use-default-link): New variable.
40417 * configure.in (use_default_link): Grok --with-default-link to set it.
40418 * configure: Regenerated.
40419 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40420 (shlib-lds, shlib-lds-flags): Define to empty.
40421
2d4fa81e
RM
40422 * Makerules (shlib-lds): New variable.
40423 (shlib-lds-flags): New variable.
40424 (build-shlib, build-moduile, build-module-asneeded): Use it.
40425 ($(common-objpfx)libc.so): Use $(shlib-lds).
40426 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40427 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40428
31fffa6b
RM
40429 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40430 DT_FLAGS/DT_FLAGS_1 with zero flags.
40431
4e34ac6a
RM
40432 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40433 linker script munging.
40434
fcfc776b
UD
404352011-07-02 Ulrich Drepper <drepper@gmail.com>
40436
40437 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40438 as 128-bit value.
40439 * crypt/sha512.c (sha512_process_block): Perform total addition using
40440 128-bit if possible.
40441 (__sha512_finish_ctx): Likewise.
40442 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40443 as 64-bit value.
40444 * crypt/sha256.c (SWAP64): Define.
40445 (sha256_process_block): Perform total addition using 64-bit if
40446 possible.
40447 (__sha256_finish_ctx): Likewise.
40448
99231d9a
UD
404492011-07-01 Ulrich Drepper <drepper@gmail.com>
40450
40451 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40452 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40453 * nscd/hstcache.c (cache_addhst): Likewise.
40454 * nscd/grpcache.c (cache_addgr): Likewise.
40455 * nscd/aicache.c (addhstaiX): Likewise
40456 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40457
445b4a53
TK
404582011-07-01 Thorsten Kukuk <kukuk@suse.de>
40459
40460 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40462 * nscd/hstcache.c (cache_addhst): Likewise.
40463 * nscd/grpcache.c (cache_addgr): Likewise.
40464 * nscd/aicache.c (addhstaiX): Likewise
40465
6d4d8e8e
AS
404662011-07-01 Andreas Schwab <schwab@redhat.com>
40467
40468 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40469 domain only when needed.
40470
89f654c5
AS
404712011-06-30 Andreas Schwab <schwab@redhat.com>
40472
40473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40474 is always restored.
40475
cf3b23ff
UD
404762011-06-29 Ulrich Drepper <drepper@gmail.com>
40477
40478 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40479 are re-adding the entry.
40480 * nscd/servicescache.c (cache_addserv): Likewise.
40481
751626f9
AJ
404822011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40483
40484 * sysdeps/generic/dl-irel.h: fix protection against multiple
40485 inclusions.
40486 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40487
9113ea1f
UD
404882011-06-28 Ulrich Drepper <drepper@gmail.com>
40489
5c0b8d90
UD
40490 [BZ #12935]
40491 * malloc/memusage.sh: Fix quoting in message.
40492 * debug/xtrace.sh: Likewise.
40493
9113ea1f
UD
40494 * configure.in: Remove support for --experimental-malloc option, make
40495 it the default.
40496 * config.make.in: Likewise.
40497 * malloc/Makefile: Likewise.
40498
a4172181
AS
404992011-06-27 Andreas Schwab <schwab@redhat.com>
40500
40501 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40502 two-byte characters.
40503
78a7eee7
RM
405042011-06-27 Roland McGrath <roland@hack.frob.com>
40505
62bede13
RM
40506 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40507 AC_CACHE_CHECK invocation.
40508 * configure: Regenerated.
40509
78a7eee7
RM
40510 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40511
5ce33a62
UD
405122011-06-27 Ulrich Drepper <drepper@gmail.com>
40513
034807a9
UD
40514 [BZ #12350]
40515 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40516 bit from old_res_options.
40517
4902da17
UD
40518 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40519
5ce33a62
UD
40520 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40521 value type for setfct.
40522
c2344f56
L
405232011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40524
40525 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40526 __gettimeofday instead of gettimeofday.
40527
68468076
UD
405282011-06-26 Ulrich Drepper <drepper@gmail.com>
40529
40530 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40531
acb0d739
L
405322011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40533
40534 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40535
40536 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40537 info.
40538
8912479f
L
405392011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40540
40541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40542 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40543 strcpy-sse2-unaligned strncpy-sse2-unaligned
40544 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40545 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40546 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40547 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40548 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40549 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40550 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40551 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40552 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40553 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40554 (STRCPY): Support SSE2 and SSSE3 versions.
40555
d5495a11
UD
405562011-06-24 Ulrich Drepper <drepper@gmail.com>
40557
40558 [BZ #12874]
40559 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40560 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40561 kernels which artificially limit size of requests.
40562
0b1cbaae
L
405632011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40564
40565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40566 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40567 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40568 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40569 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40570 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40571 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40572 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40573 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40574 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40575 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40576 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40577 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40578 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40579 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40581 Enable unaligned load optimization for Intel Core i3, i5 and i7
40582 processors.
40583 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40584 Define.
40585 (index_Fast_Unaligned_Load): Define.
40586 (HAS_FAST_UNALIGNED_LOAD): Define.
40587
07f494a0
MP
405882011-06-23 Marek Polacek <mpolacek@redhat.com>
40589
40590 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40591
fa3fc0fe
UD
405922011-06-22 Ulrich Drepper <drepper@gmail.com>
40593
40594 [BZ #12907]
40595 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40596 until it is clear that the information is realy needed.
40597 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40598
e12df166
AS
405992011-06-22 Andreas Schwab <schwab@redhat.com>
40600
40601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40602
852eb34d
UD
406032011-06-22 Ulrich Drepper <drepper@gmail.com>
40604
84e2a551
UD
40605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40606 /sys/devices/system/cpu/online if it is usable.
40607
852eb34d
UD
40608 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40609 reading the information from the /proc filesystem to once a second.
40610
6e502e19
UD
406112011-06-21 Andreas Jaeger <aj@suse.de>
40612
40613 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40614 NULL after inclusion of kernel headers.
40615
75d39ff2
UD
406162011-06-21 Ulrich Drepper <drepper@gmail.com>
40617
51f9aa6a
UD
40618 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40619 calls to internal_setent.
40620
c0244a9d
UD
40621 [BZ #12885]
40622 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40623 addresses using gethostbyname4_r ignore IPv4 addresses.
40624
c5e3c2ae
UD
40625 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40626 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40627
75d39ff2
UD
40628 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40629
42675c6f
DM
406302011-06-20 David S. Miller <davem@davemloft.net>
40631
40632 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40633 inclusions.
40634 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40635
40636 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40637 (elf_irel): Use it.
40638 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40639 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40640 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40641 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40642 * sysdeps/x86_64/dl-irel.h: Likewise.
40643
40644 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40645 * elf/dl-sym.c: Likewise.
40646
57912a71
UD
406472011-06-15 Ulrich Drepper <drepper@gmail.com>
40648
40649 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40650 need to dereference resplen2.
40651
ee22793d
AS
406522011-06-14 Andreas Schwab <schwab@redhat.com>
40653
40654 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40655
a9e836b0
UD
406562011-06-15 Ulrich Drepper <drepper@gmail.com>
40657
77fb9117
UD
40658 * Makeconfig: Define vardbdir and inst_vardbdir.
40659 * nss/Makefile: Add rules to install db-Makefile.
40660
40c1b22c
UD
40661 * nss/nss_db/db-XXX.c: Cleanup.
40662
9f2da732
UD
40663 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40664 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40665 GLIBC_PRIVATE.
40666 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40667 * nss/makedb.c: Implement -g option to specify that value strings
40668 are generated and should not be added to table iterated over for
40669 get*ent calls.
40670 * nss/nss_db/db-initgroups.c: New file.
40671
82e9a1f7
UD
40672 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40673 interface.
40674
c41af17e
UD
40675 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40676 (internal_getgrouplist): Adjust to name change.
40677 Update use_initgroups_entry if this is not the first call.
40678 * nss/databases.def: Add initgroups entry.
40679
a9e836b0
UD
40680 * nss/makedb.c (compute_tables): Check result of multiple hash table
40681 sizes to minimize maximum chain length.
40682
2666d441
UD
406832011-06-14 Ulrich Drepper <drepper@gmail.com>
40684
40685 * Versions.def: Add entry for libnss_db.
40686 * shlib-versions: Likewise.
40687 * nss/Makefile: Add rules to build libnss_db.
40688 * nss/Versions: Add libnss_db information. Organize libnss_files
40689 entries better.
40690 * nss/db-Makefile: Add gshadow support. Change rules for the new
40691 makedb progra. Some minor improvements to generate smaller files.
40692 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40693 here from...
40694 * nss/makedb.c: ...here.
40695 Improve database format to be smaller and require less memory at
40696 runtime.
40697 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40698 db anymore.
40699 * nss/nss_db/db-netgrp.c: Likewise.
40700 * nss/nss_db/db-open.c: Likewise.
40701 * nss/nss_files/flies-XXX.x: Adjust comments.
40702 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40703 * nss/nss_files/files-grp.c: Likewise.
40704 * nss/nss_files/files-hosts.c: Likewise.
40705 * nss/nss_files/files-network.c: Likewise.
40706 * nss/nss_files/files-proto.c: Likewise.
40707 * nss/nss_files/files-pwd.c: Likewise.
40708 * nss/nss_files/files-rpc.c: Likewise.
40709 * nss/nss_files/files-service.c: Likewise.
40710 * nss/nss_files/files-sgrp.c: Likewise.
40711 * nss/nss_files/files-spwd.c: Likewise.
40712 * nss/nss_db/db-alias.c: Removed.
40713 * nss/nss_db/dummy-db.h: Removed.
40714
9ee76b5a
UD
407152011-06-02 Ulrich Drepper <drepper@gmail.com>
40716
40717 * nss/makedb.c: Rewritten to not use database library.
40718 * nss/Makefile: Update to build new makedb program.
40719
c71ca1f8
AJ
407202011-06-14 Andreas Jaeger <aj@suse.de>
40721
40722 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40723 memset declaration.
40724
3154bfb8
UD
407252011-06-10 Andreas Schwab <schwab@redhat.com>
40726
40727 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40728 tmpbuf.
40729
b350afab
RM
407302011-06-10 Roland McGrath <roland@hack.frob.com>
40731
decd4e50
RM
40732 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40733 * elf/Makefile ($(objpfx)ld.so): Likewise.
40734
5615eaf2
RM
40735 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40736 Don't list ld.so twice in dependencies.
40737
40738 * posix/bug-regex31.c: Include <stdlib.h>.
40739
40740 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40741
40742 * nis/nss_compat/compat-spwd.c
40743 (getspent_next_nss_netgr): Remove unused variable.
40744 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40745
40746 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40747 nonmembers" output to use the right array.
40748
40749 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40750
40751 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40752
40753 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40754 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40755 * catgets/gencat.c (read_input_file): Likewise.
40756 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40757
40758 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40759 variable definition inside #if's controlling its use.
40760
40761 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40762
40763 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40764
40765 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40766
40767 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40768 unreachable code.
40769
40770 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40771
b68e08db
RM
40772 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40773 * configure: Regenerated.
40774
b350afab
RM
40775 * Makerules: Revert last change.
40776 * elf/Makefile: Likewise.
40777
28368601
RM
407782011-06-09 Roland McGrath <roland@hack.frob.com>
40779
40780 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40781 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40782 (reloc-link): Likewise.
40783
11988f8f
UD
407842011-06-09 Ulrich Drepper <drepper@gmail.com>
40785
40786 * elf/Makefile: Add rules to build pldd.
40787 * elf/pldd.c: New file.
40788 * elf/pldd-xx.c: New file.
40789
e80fab37
UD
407902011-06-07 Ulrich Drepper <drepper@gmail.com>
40791
40792 * version.h: Update for 2.15 development version.
40793
9b849836
DM
407942011-06-07 David S. Miller <davem@davemloft.net>
40795
40796 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40797 ifuncs.
40798 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40799 elf_machine_lazy_rel): Likewise.
40800 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40801 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40802 elf_machine_lazy_rel): Likewise.
40803 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40804 dl_hwcap via passed in argument.
40805 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40806 Likewise.
40807
5a31b283
AK
408082011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40809
40810 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40811
069e52f8
RM
408122011-06-06 Roland McGrath <roland@hack.frob.com>
40813
40814 [BZ #12849]
40815 * manual/fdl-1.1.texi: New file, verbatim from:
40816 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40817 * manual/lgpl-2.1.texi: New file, verbatim from:
40818 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40819 * manual/Makefile (licenses): New variable, list those new file names.
40820 (texis): Use it.
40821 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40822
40823 * manual/fdl.texi: File removed.
40824 * manual/lesser.texi: File removed.
40825 * manual/libc.texinfo (Copying, Documentation License):
40826 Use new @include file names, put @appendix directive before @include.
40827
f16846a5
JJ
408282011-06-04 Jakub Jelinek <jakub@redhat.com>
40829
40830 [BZ #12841]
40831 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40832 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40833 (mq_open): Add __NTH.
40834
3d29045b
L
408352011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40836
40837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40838 Assume Intel Core i3/i5/i7 processor if AVX is available.
40839
8c297311
UD
408402011-05-31 Ulrich Drepper <drepper@gmail.com>
40841
40842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40843 typo.
40844
c8fc0c91
UD
408452011-05-31 Andreas Schwab <schwab@redhat.com>
40846
40847 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40848 memory. Use alloca_account. Fix memory leak when retrying.
40849
5b27a807
UD
408502011-05-31 Ulrich Drepper <drepper@gmail.com>
40851
356f8bc6
UD
40852 * version.h (RELEASE): Bump for 2.14 release.
40853 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40854
5b27a807
UD
40855 * config.make.in (RANLIB): Remove entry.
40856
01f16ab0
UD
408572011-05-30 Ulrich Drepper <drepper@gmail.com>
40858
41fce8bd
UD
40859 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40860 (libc.pot): Work around missing support for .ksh extension in xgettext.
40861
4769ae77
UD
40862 [BZ #12684]
40863 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40864 if both request failed.
40865 (send_dg): In case of server errors clear resplen or *resplen2.
40866
6b1e7d19
UD
40867 [BZ #12454]
40868 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40869 when there are multiple maps.
40870 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40871 (_dl_fini): Remove test here.
40872
01f16ab0
UD
40873 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40874
b1ebd700
UD
408752011-05-29 Ulrich Drepper <drepper@gmail.com>
40876
7ae22829
UD
40877 [BZ #12350]
40878 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40879 bit from old_res_options.
40880 (gaih_inet): Likewise.
40881
553149f6 40882 [BZ #11099]
18a84741 40883 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40884 as signed.
40885
652ffab1
UD
40886 * resolv/res_init.c (res_setoptions): Make the code more compact.
40887
16985fd0
UD
40888 [BZ #11558]
40889 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40890 set RES_USEVC.
40891
0464f746
UD
40892 [BZ #11634]
40893 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40894
7d17596c
UD
40895 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40896
cf6bbbd7
UD
40897 [BZ #11781]
40898 * malloc/malloc.h: Declare malloc hook variables as volatile.
40899
13f1ab36
UD
40900 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40901 in last patch.
40902
b1ebd700
UD
40903 [BZ #11799]
40904 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40905 raise in the comment.
80e2212d
UD
40906 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40907 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40908 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40909
ce67228d
UD
409102011-05-28 Ulrich Drepper <drepper@gmail.com>
40911
8887a920
UD
40912 [BZ #12811]
40913 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40914 grow the buffers more if it already has to be sufficient.
40915 (build_wcs_upper_buffer): Likewise.
40916 * posix/regexec.c (check_matching): Likewise.
40917 (clean_state_log_if_needed): Likewise.
40918 (extend_buffers): Don't enlarge buffers beyond size of the input
40919 buffer.
40920 Patches mostly by Emil Wojak <emil@wojak.eu>.
40921 * posix/bug-regex32.c: New file.
40922 * posix/Makefile (tests): Add bug-regex32.
40923
4f031072
UD
40924 * locale/findlocale.c (_nl_find_locale): Return right away if
40925 _nl_explode_name failed.
40926 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40927
d0478f0c
UD
40928 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40929
de81b246
UD
40930 * debug/xtrace.sh: Unify messages.
40931 * malloc/memusage.sh: Likewise.
40932
c738465a
UD
40933 [BZ #12813]
40934 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40935 time symbol from vDSO. Substitute with vsyscall if not available.
40936 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40937 __vdso_time.
40938
f1f929d7
UD
40939 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40940 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40941 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40942 Add sendmmsg and internal_sendmmsg.
40943 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40944 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40945 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40946
ce67228d
UD
40947 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40948 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40949 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40950
e57420c6
UD
409512011-05-27 Ulrich Drepper <drepper@gmail.com>
40952
a8509ca5
UD
40953 [BZ #12813]
40954 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40955 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40956 available.
40957 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40958 __vdso_getcpu.
40959
e57420c6
UD
40960 [BZ #12814]
40961 * iconvdata/Makefile (tests): Add bug-iconv9.
40962 * iconvdata/bug-iconv9.c: New file.
40963
4d07db15
AS
409642011-05-27 Andreas Schwab <schwab@redhat.com>
40965
40966 [BZ #12814]
40967 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40968
ea486f69
JJ
409692011-05-25 Jakub Jelinek <jakub@redhat.com>
40970
40971 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40972 (struct user_regs_struct): Change intcs field back to cs.
40973
6f038433
UD
409742011-05-25 Ulrich Drepper <drepper@gmail.com>
40975
40976 * po/ja.po: Update from translation team.
40977
67f86a25
UD
409782011-05-23 Ulrich Drepper <drepper@gmail.com>
40979
40980 [BZ #12795]
40981 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40982 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40983
def7fbd6
AS
409842011-05-20 Andreas Schwab <schwab@redhat.com>
40985
40986 * stdlib/longlong.h: Update from GCC.
40987
f50ef8f1
AS
409882011-05-23 Andreas Schwab <schwab@redhat.com>
40989
40990 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40991 parameter name.
40992 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40993 Add parameter name.
40994 (__sysconf): Pass it down.
40995
de7ce8f1
UD
409962011-05-22 Ulrich Drepper <drepper@gmail.com>
40997
f2962a71
UD
40998 [BZ #12671]
40999 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41000 some situations.
41001 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41002 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41003 add in in __libc_use_alloca calls. Adjust callers.
41004 (glob): Use malloc in some situations.
41005
de7ce8f1
UD
41006 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41007 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41008 pltexit.
41009
aec84f53
UD
410102011-05-21 Ulrich Drepper <drepper@gmail.com>
41011
05bb4a68
UD
41012 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41013 and CLOCK_BOOTTIME_ALARM.
41014
7ea72f99
UD
41015 [BZ #12782]
41016 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41017 is returned.
41018
7e4afad5
UD
41019 * string/_strerror.c (__strerror_r): Print negative errors as signed
41020 numbers.
41021
8e211fec
UD
41022 [BZ #12777]
41023 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41024 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41025 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41026
f7d82dc9
UD
41027 * configure.in: Fix typo in redirection and correct removal of test
41028 files in two cases.
41029
cc9e536d
UD
41030 [BZ #12788]
41031 * locale/setlocale.c (new_composite_name): Fix test to check for
41032 identical name of all categories.
41033
aec84f53
UD
41034 [BZ #12792]
41035 * libio/filedoalloc.c (local_isatty): New function.
41036 (_IO_file_doallocate): Use local_isatty.
41037 * stdio-common/perror.c (perror): In case a new stream is used
41038 forward the stream error.
41039 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41040 error flag.
41041
78e64fdc
RT
410422011-05-20 Ulrich Drepper <drepper@gmail.com>
41043
34a9094f
UD
41044 [BZ #11869]
41045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41046 alloca.
41047 * include/alloca.h (extend_alloca_account): Define.
41048
78e64fdc
RT
41049 [BZ #11857]
41050 * posix/regex.h: Fix comments with documentation of user-accessible
41051 fields after compilation and describe correct free'ing of pattern
41052 after re_compile_pattern.
41053 Patch by Reuben Thomas <rrt@sc3d.org>.
41054
457bddfc
RA
410552011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
41056
41057 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
41058 and -mno-altivec to prevent the compiler from using Altivec and/or
41059 VSX instructions when the corresponding registers are not available.
41060
a4527b51
AS
410612011-05-19 Andreas Schwab <schwab@redhat.com>
41062
41063 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
41064
ed690b2f
UD
410652011-05-19 Ulrich Drepper <drepper@gmail.com>
41066
41067 * libio/freopen.c (freopen): Use __dup2, not dup2.
41068 * libio/freopen64.c (freopen64): Likewise.
41069
8db73634
L
410702011-05-17 H.J. Lu <hongjiu.lu@intel.com>
41071
41072 [BZ #12775]
41073 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
41074 * math/Makefile (tests): Add test-powl.
41075 (CFLAGS-test-powl.c): Define.
41076 * math/test-powl.c: New file.
41077
0a197a9d
L
410782011-05-16 H.J. Lu <hongjiu.lu@intel.com>
41079
41080 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
41081
ee30c380
UD
410822011-05-17 Ulrich Drepper <drepper@gmail.com>
41083
41084 [BZ #11837]
41085 * iconvdata/gb18030.c: Update to GB18020-2005.
41086
6ce75379
UD
410872011-05-16 Ulrich Drepper <drepper@gmail.com>
41088
a4b89fd8
AR
41089 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
41090 RE_SYNTAX_POSIX_AWK): Update to match recent development.
41091 Patch by Aharon Robbins <arnold@skeeve.com>.
41092
ea389b12
UD
41093 [BZ #11892]
41094 * stdlib/putenv.c (putenv): Don't always create copy of the variable
41095 on the stack.
41096
68a3f91f
UD
41097 [BZ #11895]
41098 * misc/pselect.c (__pselect): Handle timeout value errors hidden
41099 through underflows.
41100
15cc7dd1
UD
41101 [BZ #12766]
41102 * misc/error.c (error_at_line): Ensure file_name and old_file_name
41103 point to strings before performing equality test for error_one_per_line
41104 mode.
41105
f3799213
UD
41106 [BZ #11697]
41107 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
41108
d79a9c94
UD
41109 [BZ #11820]
41110 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41111 (struct user_fpregs_struct): Avoid __uint*_t types.
41112
56e5eb46
UD
41113 [BZ #6420]
41114 * malloc/mtrace.c (tr_where): Add additional parameter to point to
41115 symbol info. Use it instead of calling _dl_addr locally.
41116 (lock_and_info): New function.
41117 (tr_freehook): Call lock_and_info and pass symbol info as additional
41118 parameter to tr_where.
41119 (tr_mallochook): Likewise.
41120 (tr_reallochook): Likewise.
41121 (tr_memalignhook): Likewise.
41122
6ce75379
UD
41123 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
41124 used and couldn't be at all thread-safe.
41125
f8a3b5bf
UD
411262011-05-15 Ulrich Drepper <drepper@gmail.com>
41127
94b7cc37
UD
41128 * libio/freopen.c (freopen): Don't close old file descriptor
41129 before the new one is opened. Instead dup the new file descriptor
41130 to the old one after the new stream is created.
41131 * libio/freopen64.c (freopen64): Likewise.
41132 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
41133 * libio/fileops.c (_IO_new_file_close_it): Handle new
41134 _IO_FLAGS2_NOCLOSE flag.
41135 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
41136 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
41137 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
41138 _IO_FLAGS2_NOCLOSE flag.
41139 * include/unistd.h: Add hidden_proto for dup3.
41140 Define __have_dup3.
41141 * io/dup3.c: Define hidden symbol.
41142 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
41143
bd25564e
UD
41144 [BZ #7101]
41145 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
41146 when an incomplete long option is used.
41147 * posix/tst-getopt_long1.c: New file.
41148 * posix/Makefile (tests): Add tst-getopt_long1.
41149
c84cfef4
UD
41150 [BZ #10138]
41151 * scripts/config.guess: Update from autoconf-2.68.
41152 * scripts/config.sub: Likewise.
41153
3b85df27
UD
41154 [BZ #10157]
41155 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41156 tests into ...
41157 (has_cpuclock): ...this. New function.
41158 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41159 macro here based on has_cpuclock code.
41160
15a856b1
UD
41161 [BZ #10149]
41162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41163 First byte (not low byte) is now always NUL.
41164 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41165
05f399e6
UD
41166 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41167 Use non-cancelable interfaces.
41168
10a52685 41169 [BZ #9809]
94ecc67d
UD
41170 * locale/iso-639.def: Add entry for Sorani.
41171
f8a3b5bf
UD
41172 [BZ #11901]
41173 * include/stdlib.h: Move include protection to the right place.
41174 Define abort_msg_s. Declare __abort_msg with it.
41175 * stdlib/abort.c (__abort_msg): Adjust type.
41176 * assert/assert.c (__assert_fail_base): New function. Majority
41177 of code from __assert_fail. Allocate memory for __abort_msg with
41178 mmap.
41179 (__assert_fail): Now call __assert_fail_base.
41180 * assert/assert-perr.c: Remove bulk of implementation. Use
41181 __assert_fail_base.
41182 * include/assert.hL Declare __assert_fail_base.
41183 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41184 mmap.
41185 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41186
1af4e298
UD
411872011-05-14 Ulrich Drepper <drepper@gmail.com>
41188
f8a3b5bf 41189 [BZ #11952]
d26dfc60
MG
41190 [BZ #12453]
41191 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41192 until all modules are registered in the DTV.
41193 * elf/Makefile: Add rules to build and run tst-tls19.
41194 * elf/tst-tls19.c: New file.
41195 * elf/tst-tls19mod1.c: New file.
41196 * elf/tst-tls19mod2.c: New file.
41197 * elf/tst-tls19mod3.c: New file.
41198 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41199
2fc54d6f
UD
41200 [BZ #12083]
41201 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41202 correctly.
41203
98d76b46
UD
41204 [BZ #12601]
41205 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41206 two-byte sequence errors.
41207 * iconvdata/Makefile (tests): Add bug-iconv8.
41208 * iconvdata/bug-iconv8.c: New file.
41209
da3c19ef
UD
41210 [BZ #12626]
41211 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41212 buf2 definition.
41213
ca408c15
UD
41214 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41215
d6f67f7d
UD
41216 [BZ #12432]
41217 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41218 (dummy_getcfa): New function.
41219 (init): Get _Unwind_GetCFA address, use dummy if not found.
41220 (backtrace_helper): In recursion check, also check whether CFA changes.
41221 (__backtrace): Completely initialize arg.
41222
1af4e298 41223 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
41224 storing incomplete byte sequence in state object. Avoid testing for
41225 guaranteed too small input if we know there is enough data available.
1af4e298 41226
da62f81b
AS
412272011-05-11 Andreas Schwab <schwab@redhat.com>
41228
41229 * Makeconfig (+link-pie): Indent.
41230 * Rules (binaries-pie): Define if $(have-fpie) and
41231 $(build-shared).
41232 (binaries-shared): Also filter out $(binaries-pie).
41233 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41234 * nscd/Makefile (others-pie): Add nscd.
41235 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41236 ($(objpfx)nscd): Remove command override.
41237 * login/Makefile (others-pie): Add pt_chown.
41238 ($(objpfx)pt_chown): Remove command override.
41239 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41240 remove command overrides.
41241
fcabc0f8
UD
412422011-05-13 Ulrich Drepper <drepper@gmail.com>
41243
20030ae6
UD
41244 * libio/tst_putwc.c: Fix error messages.
41245
fcabc0f8
UD
41246 [BZ #12724]
41247 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41248 currently writing and seek to current position when not.
41249 * libio/Makefile (tests): Add bug-fclose1.
41250 * libio/bug-fclose1.c: New file.
41251
320a5dc0
PB
412522011-05-12 Ulrich Drepper <drepper@gmail.com>
41253
41254 [BZ #12511]
41255 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41256 don't set DF_1_NODELETE here.
41257 (do_lookup_x): When entering new entry test for copy relocation
41258 and if necessary set DF_1_NODELETE flag.
41259 * elf/tst-unique4.cc: New file.
41260 * elf/tst-unique4.h: New file.
41261 * elf/tst-unique4lib.cc: New file.
41262 * elf/Makefile: Add rules to build and run tst-unique4.
41263 Patch by Piotr Bury <pbury@goahead.com>.
41264
22836f52
UD
412652011-05-11 Ulrich Drepper <drepper@gmail.com>
41266
f574184a
UD
41267 [BZ #12052]
41268 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41269
e1fb097f
UD
41270 [BZ #12625]
41271 * misc/mntent_r.c (addmntent): Flush the stream after the output
41272
22836f52
UD
41273 [BZ #12393]
41274 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41275 (is_trusted_path_normalize): Skip initial colon. Append slash
41276 to empty buffer. Duplicate is_trusted_path code but allow
41277 constructed patch to be prefix.
41278 (is_dst): Allow $ORIGIN followed by /.
41279 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41280 Correct testing of result of is_trusted_path_normalize
41281 (decompose_rpath): Fix warning.
41282
7b3b0b2a
UD
412832011-05-10 Ulrich Drepper <drepper@gmail.com>
41284
41285 [BZ #11257]
41286 * grp/initgroups.c (internal_getgrouplist): When we found the service
41287 list through the initgroups entry in nsswitch.conf do not always
41288 continue on a successful lookup. Don't always use the
eac80ce2 41289 __nss_group_database value if it is set.
7b3b0b2a
UD
41290 * nss/nsswitch.conf (initgroups): Change action for successful db
41291 lookup to continue for compatibility.
41292
2a81eaa5
UD
412932011-05-09 Ulrich Drepper <drepper@gmail.com>
41294
be97a69e
UD
41295 [BZ #11532]
41296 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41297 and CP774 modules.
41298 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41299 and CP774 modules.
41300 * iconvdata/tst-tables.sh: Likewise.
41301 * iconvdata/cp770.c: New file.
41302 * iconvdata/cp771.c: New file.
41303 * iconvdata/cp772.c: New file.
41304 * iconvdata/cp773.c: New file.
41305 * iconvdata/cp774.c: New file.
41306 * iconvdata/testdata/CP770: New file.
41307 * iconvdata/testdata/CP770..UTF8: New file.
41308 * iconvdata/testdata/CP771: New file.
41309 * iconvdata/testdata/CP771..UTF8: New file.
41310 * iconvdata/testdata/CP772: New file.
41311 * iconvdata/testdata/CP772..UTF8: New file.
41312 * iconvdata/testdata/CP773: New file.
41313 * iconvdata/testdata/CP773..UTF8: New file.
41314 * iconvdata/testdata/CP774: New file.
41315 * iconvdata/testdata/CP774..UTF8: New file.
41316
41317 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41318 END CHARMAP line.
41319 * iconvdata/gen-8bit-gap.sh: Likewise.
41320 * iconvdata/gen-8bit.sh: Likewise.
41321
c1e9e399
UD
41322 * locale/iso-639.def: Add ary entry.
41323
24c55fb3 41324 [BZ #11258]
96b4b1b0
UD
41325 * locale/C-translit.h.in: Add U20A1 transliteration.
41326
bdc2f971
KB
41327 [BZ #12178]
41328 * locale/iso-639.def: Add wae entry.
41329 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41330
2952b117
UD
41331 [BZ #12545]
41332 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41333 for n.
41334
2a81eaa5
UD
41335 [BZ #12711]
41336 * locale/C-translit.h.in: Add entry for U20B9.
41337 Patch by pravin.d.s@gmail.com.
41338
28377d1b
UD
413392011-05-08 Ulrich Drepper <drepper@gmail.com>
41340
7fb90fb8
UD
41341 [BZ #12713]
41342 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41343 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
41344 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41345 in rtld. Use *stat64.
7fb90fb8 41346 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 41347 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 41348 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
41349 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41350 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41351 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41352 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41353 __fstatat64 macros.
7fb90fb8
UD
41354 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41355 * dirent/rewinddir.c: Add libc_hidden_def.
41356 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 41357 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 41358
28377d1b
UD
41359 * include/dirent.h (__alloc_dir): Add flags parameter.
41360 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41361 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41362 __alloc_dir.
41363 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41364 from fdopendir if O_CLOEXEC is already set.
41365
66bdbaa4
AM
413662011-03-15 Alan Modra <amodra@gmail.com>
41367
41368 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41369 l_tls_firstbyte_offset non-zero. Save padding offset in
41370 l_tls_firstbyte_offset for later use.
41371 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41372 freeing static tls block.
41373
95721191
JN
413742011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41375
41376 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41377 where #ifdef was intended. The intent is to prevent ARG_MAX from
41378 being defined by the kernel headers.
41379
f87dfb1f
UD
413802011-05-07 Ulrich Drepper <drepper@gmail.com>
41381
41382 [BZ #12734]
41383 * resolv/resolv.h: Define RES_NOTLDQUERY.
41384 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41385 no-tld-query and set RES_NOTLDQUERY.
41386 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41387 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41388 modern BIND to search name as TLD unless forbidden.
41389
47c3cd7a
UD
413902011-05-07 Petr Baudis <pasky@suse.cz>
41391 Ulrich Drepper <drepper@gmail.com>
41392
41393 [BZ #12393]
41394 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41395 (is_trusted_path): ...to here.
c1e9ea35 41396 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 41397 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 41398 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 41399
8a35c912
PP
414002011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41401
41402 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41403 __BEGIN/__END_DECLS.
41404
acd41f47
UD
414052011-05-06 Ulrich Drepper <drepper@gmail.com>
41406
41407 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41408 NSS_STATUS_NOTFOUND if no record was found.
41409
597df647
AS
414102011-05-05 Andreas Schwab <schwab@redhat.com>
41411
41412 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41413 (headers-not-in-tirpc): Remove rpc/netdb.h
41414 * resolv/netdb.h: Revert last change.
41415
b9af1301
PP
414162011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41417
41418 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41419 circular dependency between libgcc.a and libc.a.
41420
4e34d5f5
AS
414212011-05-05 Andreas Schwab <schwab@redhat.com>
41422
41423 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41424 * nis/Makefile: Don't install rpcsvc/*.
41425 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41426 instead of <rpc/types.h>.
41427 (MAXHOSTNAMELEN): Define.
41428
00ee369c
AS
414292011-05-03 Andreas Schwab <schwab@redhat.com>
41430
41431 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41432
0b592a30
MB
414332011-04-28 Maciej Babinski <mbabinski@google.com>
41434
41435 [BZ #12714]
41436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41437 gethostbyname4_r when IPv6 results are possible.
41438
6e04cbbe
UD
414392011-05-02 Ulrich Drepper <drepper@gmail.com>
41440
41441 [BZ #12723]
41442 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41443 _PC_PIPE_BUF handling.
41444
e4ecafe0
BH
414452011-04-30 Bruno Haible <bruno@clisp.org>
41446
41447 [BZ #12717]
41448 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41449 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41450 to 'int'.
41451 * inet/getnameinfo.c (getnameinfo): Likewise.
41452
125ee683
UD
414532011-04-29 Ulrich Drepper <drepper@gmail.com>
41454
41455 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41456 to groups setting in database lookup.
41457 * nss/nsswitch.conf: Add initgroups entry.
41458
b722481a
EB
414592011-04-22 Ulrich Drepper <drepper@gmail.com>
41460
41461 [BZ #12685]
41462 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41463 mode string.
41464 Patch by Eric Blake <eblake@redhat.com>.
41465
4df46dbd
L
414662011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41467
41468 * sunrpc/Makefile (need-export-routines): Add svc_run.
41469 (routines): Remove svc_run.
41470 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41471 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41472 * sunrpc/svc_run.c (svc_run): Likewise.
41473 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41474
e84142d2
UD
414752011-04-21 Ulrich Drepper <drepper@gmail.com>
41476
41477 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41478 problem in reallocation in last patch.
41479
877175d8
UD
414802011-04-20 Ulrich Drepper <drepper@gmail.com>
41481
41482 * sunrpc/Makefile: Move inclusion of Rules.
41483
ab8eed78
UD
414842011-04-19 Ulrich Drepper <drepper@gmail.com>
41485
41486 * nss/nss_files/files-initgroups.c: New file.
41487 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41488 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41489 _nss_files_initgroups_dyn.
41490
e3d8f584
RS
414912011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41492
41493 * elf/elf.h (R_ARM_IRELATIVE): Define.
41494
af190f45
UD
414952011-04-19 Ulrich Drepper <drepper@gmail.com>
41496
41497 * po/ru.po: Update from translation team.
41498
53cf59ef
UD
414992011-04-17 Ulrich Drepper <drepper@gmail.com>
41500
41501 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41502 dependencies.
41503
4c559bcd
MF
415042011-02-06 Mike Frysinger <vapier@gentoo.org>
41505
41506 [BZ #12653]
41507 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41508 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41509 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41510 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41511 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41512
4420675c
AS
415132011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41514
41515 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41516 differing bytes.
41517 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41518 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41519 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41520
75ea32ab
UD
415212011-04-17 Ulrich Drepper <drepper@gmail.com>
41522
41523 [BZ #12420]
41524 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41525 storing it.
41526 * stdlib/bug-getcontext.c: New file.
41527 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41528
27390476
AK
415292011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41530
41531 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41532 instructions into .machine "z9-109".
41533 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41534 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41535
10442705
AK
415362011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41537
41538 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41539 between environment variables and auxiliary vector.
41540
7b57bfe5
UD
415412011-04-16 Ulrich Drepper <drepper@gmail.com>
41542
41543 * Makefile: Add rules to build linkobj/libc.so.
41544 * include/libc-symbols.h: Define libc_hidden_nolink.
41545 * include/rpc/auth.h: Mark functions which are to be hidden.
41546 * include/rpc/auth_des.h: Likewise.
41547 * include/rpc/auth_unix.h: Likewise.
41548 * include/rpc/clnt.h: Likewise.
41549 * include/rpc/des_crypt.h: Likewise.
41550 * include/rpc/key_prot.h: Likewise.
41551 * include/rpc/pmap_clnt.h: Likewise.
41552 * include/rpc/pmap_prot.h: Likewise.
41553 * include/rpc/pmap_rmt.h: Likewise.
41554 * include/rpc/rpc_msg.h: Likewise.
41555 * include/rpc/svc.h: Likewise.
41556 * include/rpc/svc_auth.h: Likewise.
41557 * include/rpc/xdr.h: Likewise.
41558 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41559 * nss/Makefile: Likewise.
41560 * sunrpc/Makefile: Don't install headers. Build library with normal
41561 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41562 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41563 for the compat linking library. Remove use of INTDEF/INTUSE.
41564 * sunrpc/auth_none.c: Likewise.
41565 * sunrpc/auth_unix.c: Likewise.
41566 * sunrpc/authdes_prot.c: Likewise.
41567 * sunrpc/authuxprot.c: Likewise.
41568 * sunrpc/clnt_gen.c: Likewise.
41569 * sunrpc/clnt_perr.c: Likewise.
41570 * sunrpc/clnt_raw.c: Likewise.
41571 * sunrpc/clnt_simp.c: Likewise.
41572 * sunrpc/clnt_tcp.c: Likewise.
41573 * sunrpc/clnt_udp.c: Likewise.
41574 * sunrpc/clnt_unix.c: Likewise.
41575 * sunrpc/des_crypt.c: Likewise.
41576 * sunrpc/des_soft.c: Likewise.
41577 * sunrpc/get_myaddr.c: Likewise.
41578 * sunrpc/key_call.c: Likewise.
41579 * sunrpc/key_prot.c: Likewise.
41580 * sunrpc/netname.c: Likewise.
41581 * sunrpc/pm_getmaps.c: Likewise.
41582 * sunrpc/pm_getport.c: Likewise.
41583 * sunrpc/pmap_clnt.c: Likewise.
41584 * sunrpc/pmap_prot.c: Likewise.
41585 * sunrpc/pmap_prot2.c: Likewise.
41586 * sunrpc/pmap_rmt.c: Likewise.
41587 * sunrpc/publickey.c: Likewise.
41588 * sunrpc/rpc_cmsg.c: Likewise.
41589 * sunrpc/rpc_common.c: Likewise.
41590 * sunrpc/rpc_dtable.c: Likewise.
41591 * sunrpc/rpc_prot.c: Likewise.
41592 * sunrpc/rpc_thread.c: Likewise.
41593 * sunrpc/rtime.c: Likewise.
41594 * sunrpc/svc.c: Likewise.
41595 * sunrpc/svc_auth.c: Likewise.
41596 * sunrpc/svc_authux.c: Likewise.
41597 * sunrpc/svc_raw.c: Likewise.
41598 * sunrpc/svc_run.c: Likewise.
41599 * sunrpc/svc_simple.c: Likewise.
41600 * sunrpc/svc_tcp.c: Likewise.
41601 * sunrpc/svc_udp.c: Likewise.
41602 * sunrpc/svc_unix.c: Likewise.
41603 * sunrpc/svcauth_des.c: Likewise.
41604 * sunrpc/xcrypt.c: Likewise.
41605 * sunrpc/xdr.c: Likewise.
41606 * sunrpc/xdr_array.c: Likewise.
41607 * sunrpc/xdr_float.c: Likewise.
41608 * sunrpc/xdr_intXX_t.c: Likewise.
41609 * sunrpc/xdr_mem.c: Likewise.
41610 * sunrpc/xdr_rec.c: Likewise.
41611 * sunrpc/xdr_ref.c: Likewise.
41612 * sunrpc/xdr_sizeof.c: Likewise.
41613 * sunrpc/xdr_stdio.c: Likewise.
41614
e6c61494
UD
416152011-04-10 Ulrich Drepper <drepper@gmail.com>
41616
41617 [BZ #12650]
41618 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41619 * sysdeps/ia64/dl-tls.h: Likewise.
41620 * sysdeps/powerpc/dl-tls.h: Likewise.
41621 * sysdeps/s390/dl-tls.h: Likewise.
41622 * sysdeps/sh/dl-tls.h: Likewise.
41623 * sysdeps/sparc/dl-tls.h: Likewise.
41624 * sysdeps/x86_64/dl-tls.h: Likewise.
41625 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41626
34fe483e
AS
416272011-03-14 Andreas Schwab <schwab@redhat.com>
41628
41629 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41630 rpath element also skip the following colon.
41631 (expand_dynamic_string_token): Add is_path parameter and pass
41632 down to DL_DST_REQUIRED and _dl_dst_substitute.
41633 (decompose_rpath): Call expand_dynamic_string_token with
41634 non-zero is_path. Ignore empty rpaths.
41635 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41636 with zero is_path.
41637
f12a32e6
AS
416382011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41639
41640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41641 Make cancelable.
41642
38a7d692
UD
416432011-04-09 Ulrich Drepper <drepper@gmail.com>
41644
41645 [BZ #12655]
41646 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41647 Patch by Filipe David Manana <fdmanana@apache.org>.
41648
e451d22b
AS
416492011-04-07 Andreas Schwab <schwab@redhat.com>
41650
41651 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41652 Maintain aligned stack.
41653 (CHECK_RSP): Remove unused macro.
41654
dedc7c7b
UD
416552011-04-03 Ulrich Drepper <drepper@gmail.com>
41656
41657 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41658 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41659
94521213
UD
416602011-04-02 Ulrich Drepper <drepper@gmail.com>
41661
41662 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41663
8cb700c0 41664 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41665
0354e355
L
416662011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41667
41668 [BZ #12518]
41669 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41670 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41671 * sysdeps/x86_64/memmove.c: New file.
41672 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41673 (memcpy): Renamed to ...
41674 (__new_memcpy): This.
41675 (memcpy): Provide GLIBC_2_14 memcpy.
41676 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41677 (memcpy): Provide GLIBC_2_2_5 memcpy.
41678
8593482f
UD
416792011-04-01 Ulrich Drepper <drepper@gmail.com>
41680
41681 [BZ #12631]
41682 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41683
81a5726b
AS
416842011-03-30 Andreas Schwab <schwab@redhat.com>
41685
41686 * misc/syncfs.c: New file.
41687 * misc/Makefile (routines): Add syncfs.
41688 * posix/unistd.h: Declare syncfs.
41689 * sysdeps/unix/syscalls.list: Add syncfs.
41690
00e5419f
AS
416912011-04-01 Andreas Schwab <schwab@redhat.com>
41692
41693 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41694 open_by_handle_at.
41695 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41696 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41698 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41700 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41702
748876bf
UD
417032011-04-01 Ulrich Drepper <drepper@gmail.com>
41704
658e451d
UD
41705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41706 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41707 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41708 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41709 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41710 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41711 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41712
748876bf
UD
41713 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41714 sync_file_range.c with -fexceptions.
41715 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41716 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41717 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41718 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41719 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41720 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41721 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41722 sync_file_range as cancellation point
41723 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41724 now a wrapper around __call_sync_file_range with cancellation handling.
41725 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41726 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41727 function name to __call_sync_file_range.
41728 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41729 Add call_sync_file_range.
748876bf 41730
6e63d5e1
AS
417312011-04-01 Andreas Schwab <schwab@redhat.com>
41732
41733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41734 bits/timex.h.
6e63d5e1 41735
46998f74
UD
417362011-04-01 Ulrich Drepper <drepper@gmail.com>
41737
4c1423ed
UD
41738 * iconv/iconv.h: Fix typo in comment.
41739 * io/fcntl.h: Likewise.
41740 * libio/stdio.h: Likewise.
41741 * posix/spawn.h: Likewise.
41742 * posix/unistd.h: Likewise.
41743 * stdlib/stdlib.h: Likewise.
41744 * time/time.h: Likewise.
41745 * wcsmbs/wchar.h: Likewise.
41746
158648c0
UD
41747 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41748 open_by_handle): Add.
41749 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41750 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41751 Augment a few comments.
41752 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41753 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41754 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41755 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41756 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41757 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41758 open_by_handle.
41759
46998f74
UD
41760 * io/fcntl.h (AT_EMPTY_PATH): Define.
41761
83fe108b
UD
417622011-03-30 Ulrich Drepper <drepper@gmail.com>
41763
41764 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41765 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41766 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41767 to...
41768 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41769 * Versions.def: Add GLIBC_2.14.
41770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41771 Export.
83fe108b 41772
bb242059
UD
417732011-03-22 Ulrich Drepper <drepper@gmail.com>
41774
41775 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41776 round counter.
41777 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41778
c97a1282
L
417792011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41780
41781 [BZ #12597]
41782 * string/test-strncmp.c (do_page_test): New function.
41783 (check2): Likewise.
41784 (test_main): Call check2.
41785 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41786
2a115601
UD
417872011-03-20 Ulrich Drepper <drepper@gmail.com>
41788
41789 [BZ #12587]
41790 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41791 Handle cache information in CPU leaf 4.
41792 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41793
8126d904
UD
417942011-03-18 Ulrich Drepper <drepper@gmail.com>
41795
042c49c6 41796 [BZ #12583]
8126d904
UD
41797 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41798 character representation.
41799 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41800
ccfe366e
RA
418012011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41802
41803 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41804 END(__isnan) to END(__isnanf) to match function entry point/label
41805 EALIGN(__isnanf,...).
41806
c6e13027
JJ
418072011-03-10 Jakub Jelinek <jakub@redhat.com>
41808
41809 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41810
33f85a3f
UD
418112011-03-10 Ulrich Drepper <drepper@gmail.com>
41812
028478fa
UD
41813 [BZ #12510]
41814 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41815 copy from the symbol referenced in the relocation to initialize the
41816 used variable.
41817 Patch by Piotr Bury <pbury@goahead.com>.
41818 * elf/Makefile: Add rules to build and tst-unique3.
41819 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41820 * elf/tst-unique3.cc: New file.
41821 * elf/tst-unique3.h: New file.
41822 * elf/tst-unique3lib.cc: New file.
41823 * elf/tst-unique3lib2.cc: New file.
41824
33f85a3f
UD
41825 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41826
03592fc7
MF
418272011-03-10 Mike Frysinger <vapier@gentoo.org>
41828
41829 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41830 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41831 to _start.
03592fc7 41832
6a5ee102
UD
418332011-03-06 Ulrich Drepper <drepper@gmail.com>
41834
41835 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41836 to-be-loaded object along a path to loader is ld.so.
41837
7e4ba49c
HJ
418382011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41839 Ulrich Drepper <drepper@gmail.com>
41840
41841 * sysdeps/x86_64/memset.S: After aligning destination, code
41842 branches to different locations depending on the value of
41843 misalignment, when multiarch is enabled. Fix this.
41844
418452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41846
41847 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41848 Set _x86_64_preferred_memory_instruction for AMD processsors.
41849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41850 Set bit_Prefer_SSE_for_memop for AMD processors.
41851
13a804de
UD
418522011-03-04 Ulrich Drepper <drepper@gmail.com>
41853
41854 * libio/fmemopen.c (fmemopen): Optimize a bit.
41855
9d25c392
AS
418562011-03-03 Andreas Schwab <schwab@redhat.com>
41857
41858 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41859
a5543c6a
RM
418602011-03-03 Roland McGrath <roland@redhat.com>
41861
41862 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41863
012d35f7
DM
418642011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41865
7e4ba49c 41866 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41867 __bzero_ultra1 instead of __memset_ultra1.
41868
4bff6e01
AS
418692011-02-23 Andreas Schwab <schwab@redhat.com>
41870 Ulrich Drepper <drepper@gmail.com>
41871
41872 [BZ #12509]
41873 * include/link.h (struct link_map): Add l_orig_initfini.
41874 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41875 returning unsuccessfully.
41876 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41877 close of a file loaded at startup, restore the original l_initfini
41878 list.
41879 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41880 list, store the pointer.
41881 * elf/Makefile ($(objpfx)noload-mem): New rule.
41882 (noload-ENV): Define.
41883 (tests): Add $(objpfx)noload-mem.
41884 * elf/noload.c: Include <memcheck.h>.
41885 (main): Call mtrace. Close all opened handles.
41886
f2092faf
AS
418872011-02-17 Andreas Schwab <schwab@redhat.com>
41888
41889 [BZ #12454]
41890 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41891 dependencies are missing.
41892
6c8a2e88
ST
418932011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41894
f2092faf 41895 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41896 Hurd needs munmap.
41897 * sysdeps/mach/hurd/ifreq.h: New file.
41898
84a42118
PB
418992011-01-27 Petr Baudis <pasky@suse.cz>
41900 Ulrich Drepper <drepper@gmail.com>
41901
071f805e 41902 [BZ 12445]#
84a42118
PB
41903 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41904 to extend_alloca().
41905 * stdio-common/bug23.c: New file.
41906 * stdio-common/Makefile (tests): Add bug23.
41907
e23fe25b
AS
419082010-09-28 Andreas Schwab <schwab@redhat.com>
41909 Ulrich Drepper <drepper@gmail.com>
41910
41911 [BZ #12489]
41912 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41913 before performing relro protection. At old place add assertion
41914 to make sure nothing changed.
41915
d3f02e10
NS
419162011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41917 Glauber de Oliveira Costa <glommer@gmail.com>
41918
41919 * elf/elf.h: Add new ARM TLS relocs.
41920
d55fd7a5
RA
419212011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41922
41923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41924 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41925 cast from r3.
41926 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41927 'tests' variable.
41928 * sysdeps/wordsize-64/tst-writev.c: New file.
41929
2206397e
RA
419302011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41931
41932 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41933 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41934 insns in _dl_start to prevent a TOC reference before relocs are
41935 resolved.
41936
e9433893
UD
419372011-02-15 Ulrich Drepper <drepper@gmail.com>
41938
41939 [BZ #12469]
41940 * Makeconfig: Remove RANLIB definition.
41941 * Makerules: Don't use RANLIB.
41942 * aclocal.m4: Remove ranlib test.
41943 * configure.in: No need to check for ranlib.
41944 * elf/rtld-Rules: Don't use RANLIB.
41945
f75286c6
ST
419462011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41947
8e31c82d
ST
41948 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41949 protection macro.
41950 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41951 inclusion protection macro.
41952
f75286c6
ST
41953 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41954 SIGRTMIN and SIGRTMAX and print information in that case only when
41955 SIGRTMIN is defined.
41956
c1d0e639
JJ
419572011-02-11 Jakub Jelinek <jakub@redhat.com>
41958
41959 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41960 arginfo fn returning -1.
41961
41962 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41963 and thousands string is zero terminated.
41964
edf9294e
AS
419652011-02-03 Andreas Schwab <schwab@redhat.com>
41966
41967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41968 sysdeps/unix/sysv/linux/bits/socket.h.
41969
2b7e92df
ST
419702011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41971
edf9294e
AS
41972 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41973 (__CPU_COUNT): Remove old macros.
41974 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41975 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41976 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41977 (__sched_cpualloc, __sched_cpufree): Add declarations.
41978
a4c7ea7b
UD
419792011-02-05 Ulrich Drepper <drepper@gmail.com>
41980
41981 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41982 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41983 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41984 (readdhstai): Return value of addhstaiX call.
41985 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41986 (addgrbyX): Return value returned by cache_addgr.
41987 (readdgrbyname): Return value returned by addgrbyX.
41988 (readdgrbygid): Likewise.
41989 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41990 (addpwbyX): Return value returned by cache_addpw.
41991 (readdpwbyname): Return value returned by addhstbyX.
41992 (readdpwbyuid): Likewise.
41993 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41994 (addservbyX): Return value returned by cache_addserv.
41995 (readdservbyname): Return value returned by addservbyX:
41996 (readdservbyport): Likewise.
41997 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41998 (addhstbyX): Return value returned by cache_addhst.
41999 (readdhstbyname): Return value returned by addhstbyX.
42000 (readdhstbyaddr): Likewise.
42001 (readdhstbynamev6): Likewise.
42002 (readdhstbyaddrv6): Likewise.
42003 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42004 (readdinitgroups): Return value returned by addinitgroupsX.
42005 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42006 (prune_cache): Keep track of timeout value of re-added entries.
42007 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42008 * nscd/nscd.h: Adjust prototypes of readd* functions.
42009
a0bf67cc
RM
420102011-02-04 Roland McGrath <roland@redhat.com>
42011
42012 * nis/nis_server.c (nis_servstate): Use the right name for 0.
42013 (nis_stats): Likewise.
42014 * nis/nis_modify.c (nis_modify): Likewise.
42015 * nis/nis_remove.c (nis_remove): Likewise.
42016 * nis/nis_add.c (nis_add): Likewise.
42017
42018 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42019
42020 * posix/fnmatch_loop.c: Add some consts.
42021
42022 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42023
435b95eb
L
420242011-02-02 H.J. Lu <hongjiu.lu@intel.com>
42025
42026 [BZ #12460]
42027 * config.make.in (config-cflags-novzeroupper): Define.
42028 * configure.in: Substitute libc_cv_cc_novzeroupper.
42029 * elf/Makefile (AVX-CFLAGS): Define.
42030 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42031 (CFLAGS-tst-auditmod4a.c): Likewise.
42032 (CFLAGS-tst-auditmod4b.c): Likewise.
42033 (CFLAGS-tst-auditmod6b.c): Likewise.
42034 (CFLAGS-tst-auditmod6c.c): Likewise.
42035 (CFLAGS-tst-auditmod7b.c): Likewise.
42036 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42037
8517b15e
UD
420382011-02-02 Ulrich Drepper <drepper@gmail.com>
42039
42040 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42041 function to the callback.
42042 Patch partly by Jiri Olsa <jolsa@redhat.com>.
42043
10a656fe
AS
420442011-02-02 Andreas Schwab <schwab@redhat.com>
42045
42046 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42047 of errno.
42048
968dad0a
UD
420492011-01-19 Ulrich Drepper <drepper@gmail.com>
42050
9f94d2ea 42051 [BZ #11724]
968dad0a
UD
42052 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
42053 of constructors.
42054 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
42055 of destructors.
42056 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
42057
42058 [BZ #11724]
42059 * elf/Makefile: Add rules to build and run new test.
42060 * elf/tst-initorder.c: New file.
42061 * elf/tst-initorder.exp: New file.
42062 * elf/tst-initordera1.c: New file.
42063 * elf/tst-initordera2.c: New file.
42064 * elf/tst-initordera3.c: New file.
42065 * elf/tst-initordera4.c: New file.
42066 * elf/tst-initorderb1.c: New file.
42067 * elf/tst-initorderb2.c: New file.
42068 * elf/tst-order-a1.c: New file.
42069 * elf/tst-order-a2.c: New file.
42070 * elf/tst-order-a3.c: New file.
42071 * elf/tst-order-a4.c: New file.
42072 * elf/tst-order-b1.c: New file.
42073 * elf/tst-order-b2.c: New file.
42074 * elf/tst-order-main.c: New file.
42075 New test case by George Gensure <werkt0@gmail.com>.
42076
86e92359
UD
420772010-10-01 Andreas Schwab <schwab@redhat.com>
42078
42079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42080 decoding ACE if AI_CANONIDN.
42081
5d5732b0
UD
420822011-01-18 Ulrich Drepper <drepper@gmail.com>
42083
42084 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
42085
a77e8cbc
UD
420862011-01-17 Ulrich Drepper <drepper@gmail.com>
42087
6392473f
UD
42088 * version.h (RELEASE): Bump for 2.13 release.
42089 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
42090
620a0529
UD
42091 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
42092
18ba70a5
UD
42093 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
42094 MADV_NOHUGEPAGE.
32465c3e
UD
42095 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
42096 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
42097 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42098 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42099 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42100 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42101
c0dafcf1
UD
42102 * posix/getconf.c: Update copyright year.
42103 * catgets/gencat.c: Likewise.
42104 * csu/version.c: Likewise.
42105 * debug/catchsegv.sh: Likewise.
42106 * debug/xtrace.sh: Likewise.
42107 * elf/ldconfig.c: Likewise.
42108 * elf/ldd.bash.in: Likewise.
42109 * elf/sprof.c (print_version): Likewise.
42110 * iconv/iconv_prog.c: Likewise.
42111 * iconv/iconvconfig.c: Likewise.
42112 * locale/programs/locale.c: Likewise.
42113 * locale/programs/localedef.c: Likewise.
42114 * malloc/memusage.sh: Likewise.
42115 * malloc/mtrace.pl: Likewise.
42116 * nscd/nscd.c (print_version): Likewise.
42117 * nss/getent.c: Likewise.
42118
a77e8cbc
UD
42119 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
42120 PF_CAIF, and PF_ALG.
42121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42122
77e8bddf
AS
421232011-01-16 Andreas Schwab <schwab@linux-m68k.org>
42124
1f20b93a
AS
42125 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
42126 (modules-names): Use them.
42127 (ifunc-test-modules, ifunc-pie-tests): Define.
42128 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
42129 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
42130 (test-extras): Likewise.
42131 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
42132 $(compile-command.c).
42133 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
42134 (all-built-dso): Define.
42135 (check-textrel.out, check-execstack.out): Depend on it.
42136
77e8bddf
AS
42137 * configure.in: Don't override --enable-multi-arch.
42138
bc425b33
UD
421392011-01-15 Ulrich Drepper <drepper@gmail.com>
42140
42141 [BZ #6812]
42142 * nscd/hstcache.c (tryagain): Define.
42143 (cache_addhst): Return tryagain not notfound for temporary errors.
42144 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
42145 failed.
42146
794c3ad3
UD
421472011-01-14 Ulrich Drepper <drepper@gmail.com>
42148
70181fdd
UD
42149 [BZ #10563]
42150 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
42151 to make the syscall.
42152 * sysdeps/unix/sysv/linux/setgroups.c: New file.
42153
794c3ad3
UD
42154 [BZ #12378]
42155 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42156 and fall back to matching as normal character if the string ends before
42157 the matching ']' is found. This is what POSIX requires.
42158 * posix/testfnm.c: Adjust test result.
42159 * posix/globtest.sh: Adjust test result. Add new test.
42160 * posix/tst-fnmatch.input: Likewise.
42161 * posix/tst-fnmatch2.c: Add new test.
42162
68dc9497
AS
421632010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42164
42165 * elf/Makefile (check-execstack): Revert last change. Depend on
42166 check-execstack.h.
42167 (check-execstack.h): New target.
42168 (generated): Add check-execstack.h.
42169 * elf/check-execstack.c: Include "check-execstack.h".
42170 (main): Revert last change.
42171 (handle_file): Return zero if GNU_STACK is absent and
42172 DEFAULT_STACK_PERMS doesn't include PF_X.
42173
451f001b
UD
421742011-01-13 Ulrich Drepper <drepper@gmail.com>
42175
cfa28e56
UD
42176 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42177 in child fails because the descriptor is already closed.
8cf8ce17
UD
42178 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42179 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42180 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 42181
1086d70d
UD
42182 [BZ #12397]
42183 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42184 syscall.
42185
451f001b
UD
42186 [BZ #10484]
42187 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42188 temporary buffer used to handle multi lookups locally.
a85b5cb4 42189 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 42190
08769175
UD
421912011-01-12 Ulrich Drepper <drepper@gmail.com>
42192
42193 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42194 loader is ld.so.
42195
5e49c52e
UD
421962011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42197
42198 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42199 alignment for SSE2.
42200
60522a5f
UD
422012011-01-12 Ulrich Drepper <drepper@gmail.com>
42202
42203 [BZ #12394]
42204 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42205 characters. When rounding increased number of integer digits recompute
42206 number of groups.
42207 * stdio-common/tst-grouping.c: New file.
42208 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42209
f257bbd7
UD
422102011-01-09 Ulrich Drepper <drepper@gmail.com>
42211
42212 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42213 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42214
42215 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42216 void.
42217 * bits/select.h: Likewise.
42218
fa9c15cb
UD
422192011-01-08 Ulrich Drepper <drepper@gmail.com>
42220
42221 * po/ja.po: Update from translation team.
42222
16c2895f
DM
422232011-01-04 David S. Miller <davem@sunset.davemloft.net>
42224
42225 [BZ #11155]
42226 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42227 implementation just like for lxstat, fxstatat, et al.
42228
2543fef2
JM
422292010-12-27 Jim Meyering <meyering@redhat.com>
42230
42231 [BZ #12348]
42232 * posix/regexec.c (build_trtable): Return failure indication upon
42233 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42234
98727dbe
UD
422352010-12-25 Ulrich Drepper <drepper@gmail.com>
42236
5bd6dc5c
UD
42237 [BZ #12201]
42238 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42239 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42240 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42241 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42242
97983464
UD
42243 [BZ #12207]
42244 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42245
98727dbe
UD
42246 [BZ #12204]
42247 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42248 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42249
4a531bb0
L
422502010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42251
42252 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42253 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42254 script has SORT_BY_INIT_PRIORITY.
42255 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42256 NO_CTORS_DTORS_SECTIONS is defined.
42257 * elf/soinit.c: Likewise.
42258 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42259 NO_CTORS_DTORS_SECTIONS is defined.
42260 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42261 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42262 * sysdeps/sh/init-first.c: Likewise.
42263 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42264
07eb4b71
UD
422652010-12-24 Ulrich Drepper <drepper@gmail.com>
42266
42267 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42268 always use the slow path.
42269
30950a5f
RA
422702010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42271
42272 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42273 similar rule which adds the sysdep directories to the header search in
42274 order to pick up the correct platform stackinfo.h.
42275 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42276 perform test if it is, otherwise return successfully without testing.
42277 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42278 DEFAULT_STACK_PERMS define in stackinfo.h.
42279 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42280 defined in stackinfo.h.
42281 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42282 DEFAULT_STACK_PERMS defined in stackinfo.h.
42283 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42284 * sysdeps/ia64/stackinfo.h: Likewise.
42285 * sysdeps/s390/stackinfo.h: Likewise.
42286 * sysdeps/sh/stackinfo.h: Likewise.
42287 * sysdeps/sparc/stackinfo.h: Likewise.
42288 * sysdeps/x86_64/stackinfo.h: Likewise.
42289 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42290 PF_X for powerpc64. Retain PF_X for powerpc32.
42291
db753e2c
UD
422922010-12-19 Ulrich Drepper <drepper@gmail.com>
42293
14b697f7
UD
42294 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42295 accurately.
db753e2c
UD
42296 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42297 GETDENTS_64BIT_ALIGNED.
42298
28300719
UD
422992010-12-14 Ulrich Drepper <dreper@gmail.com>
42300
14b697f7 42301 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 42302
4f197237
AS
423032010-12-10 Andreas Schwab <schwab@redhat.com>
42304
dbb0472f
AS
42305 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42306 _GNU_SOURCE.
42307
4f197237
AS
42308 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42309 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42310 Remove __restrict.
42311 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42312 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42313
fb88ac72
UD
423142010-12-09 Ulrich Drepper <drepper@gmail.com>
42315
42316 [BZ #11655]
42317 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42318 are initialized.
42319
42acbb92
JJ
423202010-12-09 Jakub Jelinek <jakub@redhat.com>
42321
42322 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42323
c038d98d
UD
423242010-12-03 Ulrich Drepper <drepper@gmail.com>
42325
42326 * po/it.po: Update from translation team.
42327
3a4a2499
L
423282010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42329
42330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42331 unused codes.
42332
1e24cf6e
UD
423332010-11-30 Ulrich Drepper <drepper@gmail.com>
42334
42335 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42336
a7690819
AS
423372010-11-24 Andreas Schwab <schwab@redhat.com>
42338
42339 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42340 specially.
42341 (gaih_getanswer_slice): Likewise.
42342
3bf8d1b1
JJ
423432010-10-20 Jakub Jelinek <jakub@redhat.com>
42344
42345 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42346
6db52fbb
PB
423472010-05-31 Petr Baudis <pasky@suse.cz>
42348
42349 [BZ #11149]
42350 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42351 silently even in the chroot mode.
42352
eaca7569
UD
423532010-11-22 Ulrich Drepper <drepper@gmail.com>
42354
42355 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42356 last patch a bit. Pretty printing
42357
3056dcdb
UD
423582010-05-31 Petr Baudis <pasky@suse.cz>
42359
42360 [BZ #10085]
42361 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42362 initialization of skip_initgroups_dyn.
42363
cf7c9078
UD
423642010-11-19 Ulrich Drepper <drepper@gmail.com>
42365
42366 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42367 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42368
a1fb5e3e
UD
423692010-11-16 Ulrich Drepper <drepper@gmail.com>
42370
42371 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42372
3540d66b
AS
423732010-11-11 Andreas Schwab <schwab@redhat.com>
42374
42375 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42376 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42377 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42378 ($(objpfx)tst-fnmatch-mem): New rule.
42379 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42380 * posix/tst-fnmatch.c (main): Call mtrace.
42381
13b69574
L
423822010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42383
42384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42385 Support Intel processor model 6 and model 0x2c.
42386
da93d214
LM
423872010-11-10 Luis Machado <luisgpm@br.ibm.com>
42388
42389 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42390 signed comparison.
42391
8ca52c6e
L
423922010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42393
42394 [BZ #12205]
42395 * string/test-strncasecmp.c (check_result): New function.
42396 (do_one_test): Use it.
42397 (check1): New function.
42398 (test_main): Use it.
42399 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42400 Support strcasecmp and strncasecmp.
42401
69da074d
UD
424022010-11-08 Ulrich Drepper <drepper@gmail.com>
42403
42404 [BZ #12194]
42405 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42406 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42407
ff02d528
L
424082010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42409
42410 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42411 IFUNC support.
42412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42413 memset-x86-64.
42414 * sysdeps/x86_64/multiarch/bzero.S: New file.
42415 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42416 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42417 * sysdeps/x86_64/multiarch/memset.S: New file.
42418 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42420 Set bit_Prefer_SSE_for_memop for Intel processors.
42421 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42422 Define.
42423 (index_Prefer_SSE_for_memop): Define.
42424 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42425
344d0b54
LM
424262010-11-04 Luis Machado <luisgpm@br.ibm.com>
42427
42428 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42429 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42430
c0dde15b
UD
424312010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42432
42433 [BZ #12191]
42434 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42435 (__x86_64_raw_data_cache_size_half): Likewise.
42436 (__x86_64_raw_shared_cache_size): Likewise.
42437 (__x86_64_raw_shared_cache_size_half): Likewise.
42438
42439 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42440 (__x86_64_raw_data_cache_size_half): Likewise.
42441 (__x86_64_raw_shared_cache_size): Likewise.
42442 (__x86_64_raw_shared_cache_size_half): Likewise.
42443 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42444 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42445 and __x86_64_raw_shared_cache_size_half. Round
42446 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42447 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42448 to multiple of 256 bytes.
42449
0e516e0e
MS
424502010-11-03 Ulrich Drepper <drepper@gmail.com>
42451
42452 [BZ #12167]
42453 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42454 of inacessible symlinks. Verify result of symlink before returning it.
42455 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42456 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42457
0e012e87
ER
424582010-10-28 Erich Ritz <erichritz@gmail.com>
42459
42460 * math/math.h (isinf): Fix typo in comment.
42461
de0ff7bc
UD
424622010-11-01 Ulrich Drepper <drepper@gmail.com>
42463
42464 * po/da.po: Update from translation team.
42465
fa41c84d
UD
424662010-10-26 Ulrich Drepper <drepper@gmail.com>
42467
42468 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42469 is added to the list.
42470
f0967738
AK
424712010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42472 Ulrich Drepper <drepper@gmail.com>
42473
42474 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42475 the global list here. Move code to...
42476 (_dl_add_to_namespace_list): ...here. New function.
42477 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42478 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42479 * elf/dl-load.c (lose): Don't remove the element from the list.
42480 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42481 (_dl_map_object): Likewise.
42482
424832010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42484
42485 [BZ #12159]
42486 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42487 into all bytes of SSE register.
42488 Patch by Richard Li <richardpku@gmail.com>.
42489
f0967738 424902010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42491
42492 [BZ #12140]
42493 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42494 perturbing.
42495
d0b9e94f
MB
424962010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42497
42498 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42499 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42500 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42501 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42503 submachine.
42504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42505
8e9f92e9
AS
425062010-10-22 Andreas Schwab <schwab@redhat.com>
42507
42508 * include/dlfcn.h (__RTLD_SECURE): Define.
42509 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42510 mode & __RTLD_SECURE instead.
42511 (open_path): Rename preloaded parameter to secure.
42512 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42513 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42514 * elf/dl-deps.c (openaux): Likewise.
42515 * elf/rtld.c (struct map_args): Remove is_preloaded.
42516 (map_doit): Don't use it.
42517 (dl_main): Likewise.
42518 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42519 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42520
bc96fbda
AS
425212010-09-09 Andreas Schwab <schwab@redhat.com>
42522
42523 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42524 (sysd-rules-targets): Remove duplicates.
42525 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42526 rtld-%.$o dependency.
42527
22cd1c9b
AS
425282010-10-18 Andreas Schwab <schwab@redhat.com>
42529
42530 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42531 _dl_map_object do it.
42532
18edac48
UD
425332010-10-19 Ulrich Drepper <drepper@gmail.com>
42534
42535 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42536 fast fma builtins, define the macros in the C99 standard.
42537 (FP_FAST_FMAF): Likewise.
42538 (FP_FAST_FMAL): Likewise.
42539 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42540
42541 * bits/mathdef.h: Update copyright year.
42542 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42543
d2050124
MM
425442010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42545
42546 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42547 builtins, define the macros in the C99 standard.
42548 (FP_FAST_FMAF): Likewise.
42549 (FP_FAST_FMAL): Likewise.
42550 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42551 multiply/add.
42552 (FP_FAST_FMAF): Likewise.
42553
475facd1
JJ
425542010-10-15 Jakub Jelinek <jakub@redhat.com>
42555
42556 [BZ #3268]
42557 * math/libm-test.inc (fma_test): Some new testcases.
42558 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42559 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42560 y and infinite z. Do multiplication by C already in long double.
42561 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42563 y and infinite z. Do bitwise or of inexact bit into u.d.
42564 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42565 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42566 * sysdeps/i386/fpu/s_fma.S: Removed.
42567 * sysdeps/i386/fpu/s_fmal.S: Removed.
42568
7c08a05c
JJ
425692010-10-16 Jakub Jelinek <jakub@redhat.com>
42570
42571 [BZ #3268]
42572 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42574 computation is not scheduled after fetestexcept. Fix value
42575 of minimum denormal long double.
42576
f3f7372d
JJ
425772010-10-14 Jakub Jelinek <jakub@redhat.com>
42578
42579 [BZ #3268]
42580 * math/libm-test.inc (fma_test): Add some more tests.
42581 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42582 correctly.
42583
14d43591
AS
425842010-10-15 Andreas Schwab <schwab@redhat.com>
42585
42586 * scripts/data/localplt-s390-linux-gnu.data: New file.
42587 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42588
5e908464
JJ
425892010-10-13 Jakub Jelinek <jakub@redhat.com>
42590
42591 [BZ #3268]
42592 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42593 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42594 instead of dbl-64.
42595 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42596 inlines.
42597 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42599 if one of x and y is very large and the other is subnormal.
42600 * sysdeps/s390/fpu/s_fmaf.c: New file.
42601 * sysdeps/s390/fpu/s_fma.c: New file.
42602 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42603 * sysdeps/powerpc/fpu/s_fma.S: New file.
42604 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42605 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42606 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42607
426082010-10-12 Jakub Jelinek <jakub@redhat.com>
42609
42610 [BZ #3268]
42611 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42612 fma tests.
42613 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42614 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42615 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42616 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42617 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42618 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42619 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42620
b833d51f
UD
426212010-10-12 Ulrich Drepper <drepper@redhat.com>
42622
42623 [BZ #12078]
42624 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42625 * posix/bug-regex31.input: Add test case.
42626
1751705d
UD
426272010-10-11 Ulrich Drepper <drepper@gmail.com>
42628
e9b9cbf5
UD
42629 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42630 * posix/bug-regex31.input: New file.
42631
42632 [BZ #12078]
42633 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42634 (parse_sub_exp): Fix last change, use postorder.
42635
ef06edbe
UD
42636 * posix/bug-regex31.c: New file.
42637 * posix/Makefile: Add rules to build and run bug-regex31.
42638
a129c80d
UD
42639 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42640
42641 [BZ #12078]
42642 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42643
b76b818e
UD
42644 [BZ #12108]
42645 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42646 to have entries in sys_siglist.
42647
1751705d
UD
42648 [BZ #12093]
42649 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42650 be NULL.
42651
9ff8d36f
JJ
426522010-10-07 Jakub Jelinek <jakub@redhat.com>
42653
42654 [BZ #3268]
42655 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42656 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42657 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42658 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42659 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42660 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42661 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42662 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42663 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42664 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42665 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42666 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42667 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42668 * math/ftestexcept.c (fetestexcept): Likewise.
42669 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42670 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42671 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42672 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42673 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42674 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42675 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42676
af325969
UD
426772010-10-11 Ulrich Drepper <drepper@gmail.com>
42678
c579b202 42679 [BZ #12107]
af325969
UD
42680 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42681 newline.
42682
67a67b95
UD
426832010-10-06 Ulrich Drepper <drepper@gmail.com>
42684
42685 * string/bug-strstr1.c: New file.
42686 * string/Makefile: Add rules to build and run bug-strstr1.
42687
5fb308bc
EB
426882010-10-05 Eric Blake <eblake@redhat.com>
42689
42690 [BZ #12092]
42691 * string/str-two-way.h (two_way_long_needle): Always clear memory
42692 when skipping input due to the shift table.
42693
45db99c7
UD
426942010-10-03 Ulrich Drepper <drepper@gmail.com>
42695
3b111893
UD
42696 [BZ #12005]
42697 * malloc/mcheck.c: Handle large requests.
42698
45db99c7
UD
42699 [BZ #12077]
42700 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42701 for strncmp and strncasecmp.
42702 * string/stratcliff.c: Add tests for strcmp and strncmp.
42703 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42704
cf7a1eb8
NI
427052010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42706
42707 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42708 __set_fpscr.
42709
6484ba5e
AJ
427102010-09-30 Andreas Jaeger <aj@suse.de>
42711
42712 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42713 (CGROUP_SUPER_MAGIC): Define.
42714 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42715 Handle btrfs and cgroup file systems.
42716 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42717 Likewise.
42718
91c42559
LM
427192010-09-27 Luis Machado <luisgpm@br.ibm.com>
42720
42721 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42722 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42723
87a97932
AK
427242010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42725
42726 [BZ #12067]
42727 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42728 trying to locate the ELF header.
42729
c21cc9bc
AS
427302010-09-27 Andreas Schwab <schwab@redhat.com>
42731
42732 [BZ #11611]
42733 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42734 Mask out sign-bit copies when constructing f_fsid.
42735
315970f6
PB
427362010-09-24 Petr Baudis <pasky@suse.cz>
42737
42738 * debug/stack_chk_fail_local.c: Add missing licence exception.
42739 * debug/warning-nop.c: Likewise.
42740
1ac7a2c7
JM
427412010-09-15 Joseph Myers <joseph@codesourcery.com>
42742
42743 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42744 implementing getdents64 using getdents syscall, set d_type if
42745 __ASSUME_GETDENTS32_D_TYPE.
42746
56801c50
AS
427472010-09-16 Andreas Schwab <schwab@redhat.com>
42748
42749 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42750 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42751
dda51327
UD
427522010-09-21 Ulrich Drepper <drepper@redhat.com>
42753
42754 [BZ #12037]
42755 * posix/unistd.h: Undo change of feature selection for ftruncate from
42756 2010-01-11.
42757
8ffcee4a
UD
427582010-09-20 Ulrich Drepper <drepper@redhat.com>
42759
a545ecd9 42760 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42761 detection.
42762
e24f0a8b
AS
427632010-09-20 Andreas Schwab <schwab@redhat.com>
42764
42765 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42766 fanotify_mark.
42767 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42768
7291c56f
AS
427692010-09-14 Andreas Schwab <schwab@redhat.com>
42770
42771 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42772 variables after CHECK_SP call.
42773 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42774
bc5fb037
AS
427752010-09-13 Andreas Schwab <schwab@redhat.com>
42776 Ulrich Drepper <drepper@redhat.com>
42777
42778 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42779 re-relocationg ld.so.
42780 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42781 _dl_init_paths call.
42782 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42783 here anymore.
42784
e66e7419
UD
427852010-09-14 Ulrich Drepper <drepper@redhat.com>
42786
42787 * resolv/res_init.c (__res_vinit): Count the default server we added.
42788
c044aa75
CLT
427892010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42790 Ulrich Drepper <drepper@redhat.com>
42791
42792 [BZ #11968]
42793 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42794 (____longjmp_chk): Use %ebx for saving value across system call.
42795 Add unwind info.
42796
32cf4069
AS
427972010-09-06 Andreas Schwab <schwab@redhat.com>
42798
42799 * manual/Makefile: Don't mix pattern rules with normal rules.
42800
817328ee
AS
428012010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42802
42803 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42804 operation.
42805 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42806 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42807 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42808 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42809 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42810 Likewise.
42811
29fddf61
UD
428122010-09-04 Ulrich Drepper <drepper@redhat.com>
42813
42814 [BZ #11979]
42815 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42816 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42817
0959ffc9
UD
428182010-09-02 Ulrich Drepper <drepper@redhat.com>
42819
42820 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42821 * sysdeps/x86_64/addmul_1.S: Likewise.
42822 * sysdeps/x86_64/lshift.S: Likewise.
42823 * sysdeps/x86_64/mul_1.S: Likewise.
42824 * sysdeps/x86_64/rshift.S: Likewise.
42825 * sysdeps/x86_64/sub_n.S: Likewise.
42826 * sysdeps/x86_64/submul_1.S: Likewise.
42827
ece29840
ST
428282010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42829
0959ffc9
UD
42830 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42831 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42832 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42833 * bits/sched.h [__need_schedparam]
ece29840 42834 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42835 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42836 (__defined_schedparam): Define to 1.
ece29840
ST
42837 (__sched_param): New structure, identical to sched_param.
42838 (__need_schedparam): Undefine.
42839
e53a31fe
MF
428402010-08-31 Mike Frysinger <vapier@gentoo.org>
42841
fdc0c10d
MF
42842 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42843 (epoll_create1): Declare.
42844
e53a31fe
MF
42845 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42846
a726d796
AS
428472010-08-31 Andreas Schwab <schwab@redhat.com>
42848
42849 [BZ #7066]
42850 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42851 shifting retval into place.
42852
2f3e3dc7
UD
428532010-09-01 Ulrich Drepper <drepper@redhat.com>
42854
f2933da9
UD
42855 * nis/rpcsvc/nis.h: Update copyright notice.
42856 * nis/rpcsvc/nis.x: Likewise.
42857 * nis/rpcsvc/nis_callback.h: Likewise.
42858 * nis/rpcsvc/nis_callback.x: Likewise.
42859 * nis/rpcsvc/nis_object.x: Likewise.
42860 * nis/rpcsvc/nis_tags.h: Likewise.
42861 * nis/rpcsvc/yp.h: Likewise.
42862 * nis/rpcsvc/yp.x: Likewise.
42863 * nis/rpcsvc/ypupd.h: Likewise.
42864 * nis/yp_xdr.c: Likewise.
42865 * nis/ypupdate_xdr.c: Likewise.
42866
2f3e3dc7
UD
42867 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42868 mainly the body of pmap_getport. Add parameters to specify timeouts.
42869 (pmap_getport): Use __libc_rpc_getport.
42870 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42871 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42872 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42873
f3dcc2f9
AS
428742010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42875
42876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42877 fanotify_mark.
42878
6d34eb5b
RM
428792010-08-27 Roland McGrath <roland@redhat.com>
42880
42881 * sysdeps/i386/i686/multiarch/Makefile
42882 (CFLAGS-varshift.c): New variable.
42883
9ea3de11
UD
428842010-08-27 Ulrich Drepper <drepper@redhat.com>
42885
c96d23fc
UD
42886 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42887 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42888
9ea3de11
UD
42889 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42890
42891 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42892
623aac7f
L
428932010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42894
42895 * sysdeps/x86_64/strlen.S: Unroll the loop.
42896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42897 strlen-sse2 strlen-sse2-bsf.
42898 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42899 __strlen_no_bsf if bit_Slow_BSF is set.
42900 (__strlen_sse42): Removed.
42901 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42902 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42903
8b2b7715
RM
429042010-08-25 Roland McGrath <roland@redhat.com>
42905
42906 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42907 * sysdeps/x86_64/multiarch/varshift.c: New file.
42908 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42909 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42910 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42911 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42912
e73015f2
L
429132010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42914
42915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42916 strlen-sse2 strlen-sse2-bsf.
42917 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42918 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42919 (__strlen_sse2): Removed.
42920 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42921 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42923 bit_Slow_BSF for Atom.
42924 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42925 (index_Slow_BSF): Define.
42926 (HAS_SLOW_BSF): Define.
42927
df24a73e
UD
429282010-08-25 Ulrich Drepper <drepper@redhat.com>
42929
42930 [BZ #10851]
42931 * resolv/res_init.c (__res_vinit): When no server address at all
42932 is given default to loopback.
42933
f2ac4868
RM
429342010-08-24 Roland McGrath <roland@redhat.com>
42935
09055553
RM
42936 * configure.in: Remove config-name.h generation.
42937 * configure: Regenerated.
42938 * config-name.in: File removed.
42939 * scripts/config-uname.sh: New file.
42940 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42941 ($(objdir)config-name.h): New target.
42942
f2ac4868
RM
42943 * sunrpc/rpc_parse.h: Avoid nested comment.
42944
73f27d5e
RH
429452010-08-24 Richard Henderson <rth@redhat.com>
42946 Ulrich Drepper <drepper@redhat.com>
42947 H.J. Lu <hongjiu.lu@intel.com>
42948
42949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42951 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42952 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42953 _mm_alignr_epi8 with _mm_loadu_si128.
42954 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42955 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42956 (__m128i_shift_right): Removed.
42957 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42958 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42959 * sysdeps/x86_64/multiarch/varshift.h: New file.
42960 * sysdeps/x86_64/multiarch/varshift.S: New file.
42961
84b9230c
MF
429622010-08-21 Mike Frysinger <vapier@gentoo.org>
42963
42964 * configure.in: Move assembler checks to before sysdep dir checking.
42965
9bbd0ddc
PB
429662010-08-20 Petr Baudis <pasky@suse.cz>
42967
42968 * LICENSES: Sync the sunrpc license.
42969
9da4bb31
UD
429702010-08-19 Ulrich Drepper <drepper@redhat.com>
42971
a7ab6ec8
UD
42972 * sunrpc/auth_des.c: Update copyright notice once again.
42973 * sunrpc/auth_none.c: Likewise.
42974 * sunrpc/auth_unix.c: Likewise.
42975 * sunrpc/authdes_prot.c: Likewise.
42976 * sunrpc/authuxprot.c: Likewise.
42977 * sunrpc/bindrsvprt.c: Likewise.
42978 * sunrpc/clnt_gen.c: Likewise.
42979 * sunrpc/clnt_perr.c: Likewise.
42980 * sunrpc/clnt_raw.c: Likewise.
42981 * sunrpc/clnt_simp.c: Likewise.
42982 * sunrpc/clnt_tcp.c: Likewise.
42983 * sunrpc/clnt_udp.c: Likewise.
42984 * sunrpc/clnt_unix.c: Likewise.
42985 * sunrpc/des_crypt.c: Likewise.
42986 * sunrpc/des_soft.c: Likewise.
42987 * sunrpc/get_myaddr.c: Likewise.
42988 * sunrpc/getrpcport.c: Likewise.
42989 * sunrpc/key_call.c: Likewise.
42990 * sunrpc/key_prot.c: Likewise.
42991 * sunrpc/openchild.c: Likewise.
42992 * sunrpc/pm_getmaps.c: Likewise.
42993 * sunrpc/pm_getport.c: Likewise.
42994 * sunrpc/pmap_clnt.c: Likewise.
42995 * sunrpc/pmap_prot.c: Likewise.
42996 * sunrpc/pmap_prot2.c: Likewise.
42997 * sunrpc/pmap_rmt.c: Likewise.
42998 * sunrpc/rpc/auth.h: Likewise.
42999 * sunrpc/rpc/auth_unix.h: Likewise.
43000 * sunrpc/rpc/clnt.h: Likewise.
43001 * sunrpc/rpc/des_crypt.h: Likewise.
43002 * sunrpc/rpc/key_prot.h: Likewise.
43003 * sunrpc/rpc/netdb.h: Likewise.
43004 * sunrpc/rpc/pmap_clnt.h: Likewise.
43005 * sunrpc/rpc/pmap_prot.h: Likewise.
43006 * sunrpc/rpc/pmap_rmt.h: Likewise.
43007 * sunrpc/rpc/rpc.h: Likewise.
43008 * sunrpc/rpc/rpc_des.h: Likewise.
43009 * sunrpc/rpc/rpc_msg.h: Likewise.
43010 * sunrpc/rpc/svc.h: Likewise.
43011 * sunrpc/rpc/svc_auth.h: Likewise.
43012 * sunrpc/rpc/types.h: Likewise.
43013 * sunrpc/rpc/xdr.h: Likewise.
43014 * sunrpc/rpc_clntout.c: Likewise.
43015 * sunrpc/rpc_cmsg.c: Likewise.
43016 * sunrpc/rpc_common.c: Likewise.
43017 * sunrpc/rpc_cout.c: Likewise.
43018 * sunrpc/rpc_dtable.c: Likewise.
43019 * sunrpc/rpc_hout.c: Likewise.
43020 * sunrpc/rpc_main.c: Likewise.
43021 * sunrpc/rpc_parse.c: Likewise.
43022 * sunrpc/rpc_parse.h: Likewise.
43023 * sunrpc/rpc_prot.c: Likewise.
43024 * sunrpc/rpc_sample.c: Likewise.
43025 * sunrpc/rpc_scan.c: Likewise.
43026 * sunrpc/rpc_scan.h: Likewise.
43027 * sunrpc/rpc_svcout.c: Likewise.
43028 * sunrpc/rpc_tblout.c: Likewise.
43029 * sunrpc/rpc_util.c: Likewise.
43030 * sunrpc/rpc_util.h: Likewise.
43031 * sunrpc/rpcinfo.c: Likewise.
43032 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43033 * sunrpc/rpcsvc/key_prot.x: Likewise.
43034 * sunrpc/rpcsvc/klm_prot.x: Likewise.
43035 * sunrpc/rpcsvc/mount.x: Likewise.
43036 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43037 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43038 * sunrpc/rpcsvc/rex.x: Likewise.
43039 * sunrpc/rpcsvc/rstat.x: Likewise.
43040 * sunrpc/rpcsvc/rusers.x: Likewise.
43041 * sunrpc/rpcsvc/sm_inter.x: Likewise.
43042 * sunrpc/rpcsvc/spray.x: Likewise.
43043 * sunrpc/rpcsvc/yppasswd.x: Likewise.
43044 * sunrpc/rtime.c: Likewise.
43045 * sunrpc/svc.c: Likewise.
43046 * sunrpc/svc_auth.c: Likewise.
43047 * sunrpc/svc_authux.c: Likewise.
43048 * sunrpc/svc_raw.c: Likewise.
43049 * sunrpc/svc_run.c: Likewise.
43050 * sunrpc/svc_simple.c: Likewise.
43051 * sunrpc/svc_tcp.c: Likewise.
43052 * sunrpc/svc_udp.c: Likewise.
43053 * sunrpc/svc_unix.c: Likewise.
43054 * sunrpc/svcauth_des.c: Likewise.
43055 * sunrpc/xcrypt.c: Likewise.
43056 * sunrpc/xdr.c: Likewise.
43057 * sunrpc/xdr_array.c: Likewise.
43058 * sunrpc/xdr_float.c: Likewise.
43059 * sunrpc/xdr_mem.c: Likewise.
43060 * sunrpc/xdr_rec.c: Likewise.
43061 * sunrpc/xdr_ref.c: Likewise.
43062 * sunrpc/xdr_sizeof.c: Likewise.
43063 * sunrpc/xdr_stdio.c: Likewise.
43064
9da4bb31
UD
43065 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
43066 handling.
43067
bdaa77bc
AS
430682010-08-19 Andreas Schwab <schwab@redhat.com>
43069
43070 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
43071
fe2f79db
LM
430722010-08-19 Luis Machado <luisgpm@br.ibm.com>
43073
43074 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
43075 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
43076 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
43077 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
43078 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
43079 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
43080 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
43081 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
43082 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
43083 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
43084 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
43085 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
43086 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
43087 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
43088
b9b42ee0
AB
430892010-07-26 Anton Blanchard <anton@samba.org>
43090
43091 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
43092 * malloc/arena.c (heap_trim): Likewise.
43093
1c06ba31
UD
430942010-08-16 Ulrich Drepper <drepper@redhat.com>
43095
43096 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
43097 here. Not...
43098 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
43099 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
43100
f8392f40
L
431012010-08-12 H.J. Lu <hongjiu.lu@intel.com>
43102
43103 * sysdeps/i386/elf/Makefile: New file.
43104
3162f12e
AS
431052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43106
43107 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
43108 from fanotify_init.
43109 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
43110 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43111
28c90b2c
UD
431122010-08-15 Ulrich Drepper <drepper@redhat.com>
43113
43114 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
43115 of strncasecmp_l.
1feccb6c 43116 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 43117
ca6bb004
UD
431182010-08-14 Ulrich Drepper <drepper@redhat.com>
43119
e9f82e0d
UD
43120 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43121 strncase_l-nonascii.
43122 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43123 Add strncase_l-ssse3.
43124 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
43125 * sysdeps/x86_64/strcmp.S: Likewise.
43126 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
43127 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
43128 * sysdeps/x86_64/strncase.S: New file.
43129 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
43130 * sysdeps/x86_64/strncase_l.S: New file.
43131 * string/Makefile (strop-tests): Add strncasecmp.
43132 * string/test-strncasecmp.c: New file.
43133
43134 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
43135 warning.
43136
ca6bb004
UD
43137 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
43138 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
43139
052fa7b3
AS
431402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
43141
43142 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
43143
962dba78
UD
431442010-08-12 Ulrich Drepper <drepper@redhat.com>
43145
43146 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
43147 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
43148 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
43149
bebff237
AM
431502010-05-01 Alan Modra <amodra@gmail.com>
43151
43152 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
43153 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
43154 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
43155 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43156 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43157 tidying. Don't tail-call __sigjmp_save for static lib.
43158 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43159 save location.
43160 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43161 (CALL_MCOUNT): Add eh info, and nop after bl.
43162 (TAIL_CALL_SYSCALL_ERROR): New macro.
43163 (PSEUDO_RET): Use it.
43164 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43165 Correct save location of integer regs and cr.
43166 (_dl_profile_resolve): Correct cr save location. Delete nops
43167 after bl when SHARED. Reduce cfi size a little by better
43168 placement of cfi directives.
43169 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43170 make a stack frame. Instead use parm save area as a temp.
43171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43172 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43174 Don't make a stack frame for parent, use parm save area.
43175 Increase child stack frame to 112 bytes. Don't save unused reg,
43176 and adjust reg usage. Set up cfi on error recovery and
43177 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43179 (__makecontext): Add dummy nop after jump to exit.
43180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43181 Use correct parm save area and cr save, reduce stack frame.
43182 Correct cfi for possible PSEUDO_RET frame setup.
43183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43184 Branch to local label emitted by PSEUDO_RET rather than
43185 __syscall_error.
43186
02637374
AS
431872010-08-12 Andreas Schwab <schwab@redhat.com>
43188
43189 [BZ #11904]
43190 * locale/programs/locale.c (print_assignment): New function.
43191 (show_locale_vars): Use it.
43192
c3e2f19b
UD
431932010-08-11 Ulrich Drepper <drepper@redhat.com>
43194
3cdaa6ad
UD
43195 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43196 field.
43197 (struct statfs64): Likewise.
43198 (_STATFS_F_FLAGS): Define.
43199 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43200 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43201 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43202 (ST_VALID): Define locally.
43203 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43204 __statvfs_getflags, use the provided value.
43205 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43206 __ASSUME_STATFS_F_FLAGS.
43207
754f7da3
UD
43208 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43209
10b3bedc
UD
43210 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43211 Add sys/fanotify.h.
43212 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43213 fanotify_mask for GLIBC_2.13.
43214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43215 fanotify_init and fanotify_mark.
43216 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43217 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43218
c08fb0d7
UD
43219 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43220 Add prlimit.
43221 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43222 prlimit64 for GLIBC_2.13.
43223 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43224 prlimit64.
43225 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43226 syscall.
43227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43228 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43229 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43230 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43231 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43232 add prlimit alias.
43233 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43234
15bac72b
UD
43235 [BZ #11903]
43236 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43237 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43238
c3e2f19b
UD
43239 * nss/Makefile: Add rules to build and run tst-nss-test1.
43240 * shlib-versions: Add entry for libnss_test1.
43241 * nss/nss_test1.c: New file.
43242 * nss/tst-nss-test1.c: New file.
43243
43244 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43245 (__nss_configure_lookup): Set appropriate entry in
43246 __nss_configure_lookup to true.
43247 * nss/nsswitch.h: Define enum with indeces of databases in
43248 databases and __nss_database_custom arrays. Declare
43249 __nss_database_custom.
43250 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43251 to avoid using nscd when custom rules are installed.
43252 * nss/getXXbyYY_r.c: Likewise.
43253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43254
43255 * nss/nss_files/files-parse.c: Whitespace fixes.
43256
f15ce4d8
UD
432572010-08-09 Ulrich Drepper <drepper@redhat.com>
43258
43259 [BZ #11883]
43260 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43261 * posix/fnmatch_loop.c: Likewise.
43262
d22e4cc9
AK
432632010-07-17 Andi Kleen <ak@linux.intel.com>
43264
43265 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43266 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43267 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43268 * Versions.def [GLIBC_2.13]: Add.
43269
805bc17d
UD
432702010-08-06 Ulrich Drepper <drepper@redhat.com>
43271
43272 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43273 Also fail if tpwd after pwuid call is NULL.
43274
5a42321d
ST
432752010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43276
43277 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43278 when converting to ms.
43279
fd3ebeda
ST
432802010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43281
43282 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43283 EOPNOTSUPP errors with ENOTTY.
43284 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43285 EOPNOTSUPP errors with ENOTTY.
43286
73507d3a
UD
432872010-07-31 Ulrich Drepper <drepper@redhat.com>
43288
43289 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43290 Add strcasecmp_l-ssse3.
43291 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43292 strcasecmp.
43293 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43294 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43295 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43296
fe36dd02
UD
432972010-07-30 Ulrich Drepper <drepper@redhat.com>
43298
66f6765a
UD
43299 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43300
42e08a54
UD
43301 * string/Makefile (strop-tests): Add strcasecmp.
43302 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43303 strcasecmp_l-nonascii.
43304 (gen-as-const-headers): Add locale-defines.sym.
43305 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43306 * sysdeps/x86_64/strcasecmp.S: New file.
43307 * sysdeps/x86_64/strcasecmp_l.S: New file.
43308 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43309 * sysdeps/x86_64/locale-defines.sym: New file.
43310 * string/test-strcasecmp.c: New file.
43311
fe36dd02
UD
43312 * string/test-strcasestr.c: Test both ends of the range of characters.
43313 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43314
48cbc0d6
RM
433152010-07-29 Roland McGrath <roland@redhat.com>
43316
76e6d6bc 43317 [BZ #11856]
48cbc0d6
RM
43318 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43319
880113d9
UD
433202010-07-27 Ulrich Drepper <drepper@redhat.com>
43321
43322 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43323 for ld.so.
43324
deb9cabb
AS
433252010-07-27 Andreas Schwab <schwab@redhat.com>
43326
43327 * manual/memory.texi (Malloc Tunable Parameters): Document
43328 M_PERTURB.
43329
1c7570ff
RM
433302010-07-26 Roland McGrath <roland@redhat.com>
43331
43332 [BZ #11840]
43333 * configure.in (-fgnu89-inline check): Set and substitute
43334 gnu89_inline, not libc_cv_gnu89_inline.
43335 * configure: Regenerated.
43336 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43337
24fb0f88
UD
433382010-07-26 Ulrich Drepper <drepper@redhat.com>
43339
43340 * string/test-strnlen.c: New file.
43341 * string/Makefile (strop-tests): Add strnlen.
43342 * string/tester.c (test_strnlen): Add a few more test cases.
43343 * string/tst-strlen.c: Better error reporting.
43344
43345 * sysdeps/x86_64/strnlen.S: New file.
43346
8e96b93a
UD
433472010-07-24 Ulrich Drepper <drepper@redhat.com>
43348
43349 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43350 lower-latency instructions.
43351
dbc676d4
UD
433522010-07-23 Ulrich Drepper <drepper@redhat.com>
43353
43354 * string/test-strcasestr.c: New file.
43355 * string/test-strstr.c: New file.
43356 * string/Makefile (strop-tests): Add strstr and strcasestr.
43357 * string/str-two-way.h: Don't undefine MAX.
43358 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43359
f6a31e0e
AS
433602010-07-21 Andreas Schwab <schwab@redhat.com>
43361
43362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43363 strcasestr-nonascii.
43364 (CFLAGS-strcasestr-nonascii.c): Define.
43365 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43366 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43367 Remove unused attribute.
43368
5dbc3b6c
RM
433692010-07-20 Roland McGrath <roland@redhat.com>
43370
43371 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43372 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43373 ld.so.cache was broken. With it, there is no way to disable dsocaps
43374 like LD_HWCAP_MASK can disable hwcaps.
43375
23d101d8
EPM
433762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43377
43378 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43379
cc9f2e47
UD
433802010-07-16 Ulrich Drepper <drepper@redhat.com>
43381
43382 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43383 call in strcasestr.
43384 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43385 __strcasestr_sse42_nonascii.
43386 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43387 strcasestr-nonascii.c.
43388 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43389
77c1b069
LM
433902010-06-15 Luis Machado <luisgpm@br.ibm.com>
43391
43392 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43393 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43394 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43395 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43396
440566c3
UD
433972010-07-09 Ulrich Drepper <drepper@redhat.com>
43398
43399 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43400 fcntl.
43401
5be9d05d
AS
434022010-07-06 Andreas Schwab <schwab@redhat.com>
43403
c30b7ee2 43404 [BZ #11577]
5be9d05d
AS
43405 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43406 dl_signal_cerror.
43407
8a492a67
UD
434082010-07-06 Ulrich Drepper <drepper@redhat.com>
43409
43410 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43411 _PC_PIPE_BUF using F_GETPIPE_SZ.
43412
713df3d5
RM
434132010-07-05 Roland McGrath <roland@redhat.com>
43414
43415 * manual/arith.texi (Rounding Functions): Fix rint description
43416 implicit in round description.
43417
702e8f14
UD
434182010-07-02 Ulrich Drepper <drepper@redhat.com>
43419
43420 * elf/Makefile: Fix linking for a few tests to make recent linker
43421 happy.
43422
52ed8be9
AS
434232010-06-30 Andreas Schwab <schwab@redhat.com>
43424
43425 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43426 $(common-objpfx)libc_nonshared.a.
43427
f47c9a11
LM
434282010-06-21 Luis Machado <luisgpm@br.ibm.com>
43429
43430 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43431 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43432 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43433 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43434 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43435 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43436 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43437 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43452 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43453 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43454 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43455 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43456 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43457 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43458 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43459 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43460 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43461 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43462 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43463 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43478
6fb8cbcb
L
434792010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43480
43481 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43482 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43483 * string/memmove.c (memmove): Renamed to ...
43484 (MEMMOVE): ...this. Default to memmove.
43485 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43486 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43487 (END_CHK): Define.
43488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43489 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43490 mempcpy-ssse3-back memmove-ssse3-back.
43491 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43492 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43493 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43494 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43495 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43496 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43497 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43498 * sysdeps/x86_64/multiarch/memmove.c: New file.
43499 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43500 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43501 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43502 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43503 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43504 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43505 Define.
43506 (index_Fast_Copy_Backward): Define.
43507 (HAS_ARCH_FEATURE): Define.
43508 (HAS_FAST_REP_STRING): Define.
43509 (HAS_FAST_COPY_BACKWARD): Define.
43510
4e733bac 435112010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43512
43513 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43514 Restore proper fallback handling.
43515
63c4ed22
UD
435162010-06-19 Ulrich Drepper <drepper@redhat.com>
43517
ac2b484c
UD
43518 [BZ #11701]
43519 * posix/group_member.c (__group_member): Correct checking loop.
43520
63c4ed22
UD
43521 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43522 OOM in getpwuid_r correctly. Return error number when the caller
43523 should return, otherwise -1.
43524 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43525 call returning > 0 value.
43526 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43527
765ade4b
AS
435282010-06-07 Andreas Schwab <schwab@redhat.com>
43529
43530 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43531 libc_nonshared.a from targets in modules-names.
43532
80da2e09
KS
435332010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43534
43535 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43536 requires it.
43537
158db122
LM
435382010-06-10 Luis Machado <luisgpm@br.ibm.com>
43539
43540 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43541 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43542 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43544
caa78cf8
AS
435452010-06-02 Andreas Schwab <schwab@redhat.com>
43546
43547 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43548
b2ef2c01
UD
435492010-06-14 Ulrich Drepper <drepper@redhat.com>
43550
43551 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43552 and F_GETPIPE_SZ.
43553 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43554 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43555 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43557 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43558 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43559
fbd643b6
RM
435602010-06-14 Roland McGrath <roland@redhat.com>
43561
43562 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43563
f32f2869
JJ
435642010-06-07 Jakub Jelinek <jakub@redhat.com>
43565
43566 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43567 __REDIRECT followed by __THROW.
43568 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43569 * posix/getopt.h (getopt): Likewise.
43570
2a50c078
EPM
435712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43572
43573 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43574 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43575 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43576 in AT_FLAGS.
43577 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43578 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43579
eb5ad2eb
LM
435802010-05-28 Luis Machado <luisgpm@br.ibm.com>
43581
43582 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43583
3c88fe1e
L
435842010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43585
43586 [BZ #11640]
43587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43588 Properly check family and model.
43589
d2f73151
TY
435902010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43591
43592 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43593
ebd2e13d
LM
435942010-05-24 Luis Machado <luisgpm@br.ibm.com>
43595
43596 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43597
b32b8b45
UD
435982010-05-21 Ulrich Drepper <drepper@redhat.com>
43599
43600 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43601 symbol reference.
43602
9acbe24d
AS
436032010-05-19 Andreas Schwab <schwab@redhat.com>
43604
43605 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43606 symbol reference.
43607
f0ccf6ea
AS
436082010-05-21 Andreas Schwab <schwab@redhat.com>
43609
3d04ff3a
AS
43610 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43611 and internal_recvmmsg.
43612 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43613 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43614 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43615 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43616
f0ccf6ea
AS
43617 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43618 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43619 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43620
5b08ac57
AS
436212010-05-20 Andreas Schwab <schwab@redhat.com>
43622
43623 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43624
4828935d
LM
436252010-05-17 Luis Machado <luisgpm@br.ibm.com>
43626
43627 POWER7 optimizations.
43628 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43629 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43630
373d545e
UD
436312010-05-19 Ulrich Drepper <drepper@redhat.com>
43632
43633 * version.h: Update for 2.13 development version.
43634
21a2b1ae
AS
436352010-05-12 Andrew Stubbs <ams@codesourcery.com>
43636
43637 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43638 exceptions. Return 0.
43639
3f7dcb2b
RM
436402010-05-07 Roland McGrath <roland@redhat.com>
43641
43642 * elf/ldconfig.c (main): Add a const.
43643
5f24d53a 436442010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43645
a160f8d8
UD
43646 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43647 (args_options): Add no-idn option.
43648 (ahosts_keys_int): Add idn_flags to ai_flags.
43649 (parse_option): Handle 'i' option to clear idn_flags.
43650
5f24d53a
UD
43651 * malloc/malloc.c (_int_free): Possible race in the most recently
43652 added check. Only act on the data if no current modification
43653 happened.
265bb1ce
UD
43654
43655See ChangeLog.17 for earlier changes.